everytime this hits a wall, it will keep spamming the message in the title. how do i make it so it does not show all these errors? (like can i turn it off or something)
base=script.Parent
tag=base.OwnerTag
event = game:GetService("ReplicatedStorage")["KnifeDataTransferEvent"]
base.Touched:Connect(function(part)
if part:IsDescendantOf(tag.Value.Character)==false then
local enemy=part.Parent or game:GetService("Players"):GetPlayerFromCharacter(part:FindFirstAncestorWhichIsA("Model"))
if enemy==true then
event:FireClient(tag.Value,"Damage",base,enemy,nil)
end
wait(5)
base:Destroy()
end
end)

1 comment
youre a legend dude