I have no idea how to do this, i put a script in the drooling zombie model and all the parts like the arms and all but it still doesn't work
I tried to make it so that it jumpscares via replicated storage and debounce is a 5 second timer, I'm just not sure why its not working
` local JumpscareEvent = game.ReplicatedStorage.JScareEvent local Debounce = false
script.Parent.Touched:Connect(function(hit)
if hit.Parent.Head:FindFirstChild("Humanoid") then
if Debounce == false then
Debounce = true
local Player = game.Players:GetPlayerFromCharacter(hit.Parent)
JumpscareEvent:FireClient(Player)
wait(5)
Debounce = false
end
end
end)`

1 comment
I dont think this works, i put the script in the zombie but its not working, it says this in output 11:11:27.175 Touched is not a valid member of Model "Workspace.LockedRoom.Zombie" - Server - Script:4