Hello, my problem is : my zombie grab script works in solo mode, but not in online mode. Also, there's no error output. Here is the script :
wait (1) local Debounce = true script.Parent.Touched:connect(function(Dude) wait (1) if Debounce == false then return end if Dude.Parent:FindFirstChild("Humanoid")~= nil and Dude.Parent:FindFirstChild("Human") ~= nil and Dude.Name == "Front" then if Dude.Parent.Human.FrontGrabbed.Value == false then Dude.Parent.Human.FrontGrabbed.Value = true Dude.Parent.Human.HMZ.Value = Dude.Parent.Human.HMZ.Value + 1 Debounce = false game.Lighting.ZombieFrontGrab:Clone().Parent = Dude.Parent local Victim = Dude.Parent script.Parent.Parent.Pathfinding.Disabled = true script.Parent.Parent.Zombie.WalkSpeed = 0 local Animation = script.Parent.Parent.Zombie:LoadAnimation(script.Parent.Parent.Zombie.BiteFront) Animation:Play() wait (1) script.Parent.Parent.Torso.Bite:Play() wait (1.46) script.Parent.Parent.Torso.Bite:Play() wait (1) script.Parent.Parent.Pathfinding.Disabled = false script.Parent.Parent.Zombie.WalkSpeed = 6 Dude.Parent.Human.HMZ.Value = Dude.Parent.Human.HMZ.Value - 1 wait (2.3) Debounce = true Dude.Parent.Human.FrontGrabbed.Value = false Debounce = true end end end)
Thank you for helping me !