Lets say I had this:
function Random(plr)
How would I add "plr" like this:
script.Parent.Touched:connect(function()
Lets say I had this:
function Random(plr)
How would I add "plr" like this:
script.Parent.Touched:connect(function()
script.Parent.Touched:connect(function(plr)
Thank you (P.S. I thought that is where you put a function name :c
You don't need a function name unless you define the function after like 1)function onPlayerEntered(nP) 2)--nil 3)end 4)game.Players.PlayerAdded:connect(onPlayerEntered)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
http://wiki.roblox.com/index.php?title=Anonymous_function: This may be helpful.