Its inside a button...
1 | function onHit(hit) |
2 | if (hit.Parent:FindFirstChild( "Humanoid" ) ~ = nil ) and enabled then |
3 | Workspace.Zombie.CFrame = Workspace.Zombie.CFrame + Vector 3. new( 0.35 , 0 , 0 ) |
4 |
5 | end |
6 | end |
7 | script.Parent.Touched:connect(onHit) |