I have a script, and it only works if I put it inside the player. isn't it this?
local player = game.Players.LocalPlayer
script.Parent=player
I'm not very sure. Are does it need a script?
I have a script, and it only works if I put it inside the player. isn't it this?
local player = game.Players.LocalPlayer
script.Parent=player
I'm not very sure. Are does it need a script?
A neat trick the majority of scripters I know placed their LocalScripts inside StarterGui so when the character spawns, they spawn with that script.
Well, if you want it to go to all players, put this:
player = game.Players.LocalPlayer
game.Players.PlayerAdded:connect(function()
script.Parent:Clone().Parent = player
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Yes.
Edited my post.