|
| 15 May 2014 09:45 PM |
game.Players.PlayerAdded:connect(function(player) Player = sys.Players[player.Name] player.CharacterAdded:connect(function(character) getPlayer = Player:GetChildren() print("PLAYER: '" .. player.Name .. "' Successfully Loaded!") for i = 1,#getCPlugins do repeat wait() until player:findFirstChild("PlayerGui") getCPlugins[i]:Clone().Parent = Player["PlayerGui"] Player["PlayerGui"][getCPlugins[i].Name].Disabled = false end end) end)
Am I missing some event or something? I don't understand why it does not fire when I respawn but only when I just enter. |
|
|
| Report Abuse |
|
|
|
| 15 May 2014 09:58 PM |
| Please, anyone? Someone... |
|
|
| Report Abuse |
|
|
|
| 15 May 2014 10:18 PM |
Blame ROBLOX. Force First Person Lock doesn't work either on PlayerAdded |
|
|
| Report Abuse |
|
|
|
| 15 May 2014 10:31 PM |
Don't blame roblox, this is entirely an issue with the code, because first off, 'Players' is a child of DataModel, or as accessed from scripts, 'game', so replace 'sys' with 'game. The thing is, you can access the player from your playeradded event, so you really don't need to have 'Player'.
this is a signature: pcall(function() print([[apparently this is a string]]) end) |
|
|
| Report Abuse |
|
|
| |
|