part.Touched:Connect(function(part)
local incase = false
local humanoid = part.Parent:FindFirstChild("Humanoid")
local rot = part.Parent:FindFirstChild("HumanoidRootPart")
if part.Name == char.Name then
incase = true
end
if (humanoid ~= nil) and incase == false then
humanoid.Health = humanoid.Health -1.2
humanoid.WalkSpeed = humanoid.WalkSpeed -.3
--
end
-------------
end)
COMMUNITY QUESTION
idk how to fix this it kill the player who made it how do i fix?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
