local HitT = true
function OnTouched(part)
local humanoid = part.Parent:FindFirstChild("Humanoid")
script.Parent.Hit:Play()
if (humanoid ~= nil) then
if HitT then
HitT = false
humanoid.PlatformStand = true
print("he touched me")
wait(2)
humanoid.PlatformStand = false
HitT = true
end
end
end
script.Parent.Touched:connect(OnTouched)
no error btw.
