local db = false
game.Workspace.Part.Touched:Connect(function()
if not db then
db = true
print("I was stepped on :(")
wait(10)
db = false
end
end)
#PROBLEM
It's going to print that everytime i step on it and wait 10 seconds before it fires again.
Now if a make a server where atleast 2 players are in; if i step on the part it waits 10 seconds, if i go to the other client and press on the part it waits???
I don't understand because it's in a local script???

1 comment
OH GREAT NOW IT LOOKS LIKE IM A BEGINNER IN SCRIPTING DAMNIT! xD. All jokes aside great answer.