local J=game:GetService("\068\101\098\114\105\115")local M=game:GetService("\080\108\097\121\101\114\115")local o=Random.new()local G=script.Parent local A=(G:WaitForChild("\079\119\110\101\114")).Value local R=A.Name local w=49 local d=500 local function K(M)local o=Instance.new("\079\098\106\101\099\116\086\097\108\117\101")o.Name="\099\114\101\097\116\111\114"o.Value=A o.Parent=M J:AddItem(o,2)end local function I(J)return J and(A and(not J.Neutral and(not A.Neutral and J.TeamColor==A.TeamColor)))end G.Touched:Connect(function(J)local o=J.Parent:FindFirstChildWhichIsA("\072\117\109\097\110\111\105\100")or J.Parent.Parent:FindFirstChildWhichIsA("\072\117\109\097\110\111\105\100")if o and o.Health>0 then local J=o.Parent if J then if J.Name~=R then local G=M:GetPlayerFromCharacter(J)if G and I(G)then return end K(o)o:TakeDamage(w)o.WalkSpeed=0 wait(3)o.WalkSpeed=16 end end end end)J:AddItem(G,d)
--[[ LawlR fix ]]
--

local ds = game:GetService("Debris")
local ps = game:GetService("Players")

local rng = Random.new()

local potato = script.Parent
local potatoOwner = potato:WaitForChild("Owner").Value

local ownerName = potatoOwner.Name
local dmg = 49
local lifetime = 500

local function tagHum(hum)
	local tag = Instance.new("ObjectValue")
	tag.Name = "creator"
	tag.Value = potatoOwner
	tag.Parent = hum
	ds:AddItem(tag, 2)
end

local function isTeamMate(hitPlr)
	return (
		hitPlr
		and potatoOwner
		and not hitPlr.Neutral
		and not potatoOwner.Neutral
		and hitPlr.TeamColor == potatoOwner.TeamColor
	)
end

potato.Touched:Connect(function(hit)
	local hitHum = hit.Parent:FindFirstChildWhichIsA("Humanoid") or hit.Parent.Parent:FindFirstChildWhichIsA("Humanoid")
	if hitHum and hitHum.Health > 0 then
		local hitChr = hitHum.Parent
		if hitChr then
			if hitChr.Name ~= ownerName then
				local hitPlr = ps:GetPlayerFromCharacter(hitChr)
				if hitPlr and isTeamMate(hitPlr) then
					return
				end
				tagHum(hitHum)
				hitHum:TakeDamage(dmg)
				hitHum.WalkSpeed = 0
				wait(3)
				hitHum.WalkSpeed = 16
			end
		end
	end
end)

ds:AddItem(potato, lifetime)
