mmk so I just started learning how to script. I wanted to make a part named Brick, clone you when you step on it. I made this little script but it keeps saying there's an error and want a name near it or something. Any help?
bool = true
ping = game.Workspace.Player
function
if bool == false then return end
bool = false
ping:clone().parent = Workspace
wait(4)
bool = true
end
ping.Touched:connect(clonePlayer)

2 comments
I was going off the myBool thing of true or false. Bool meaning if the script was false it would go straight to the end. If it was true it would keep going. But I didn't know about the case sensitive stuff, thanks! :)
You want your variable names to have meaning. Yes, it's a boolean, but that doesn't tell you anything about what it's for.