|
| 18 Apr 2015 10:12 AM |
16:11:47.956 - Attempt to connect failed: Passed value is not a function 16:11:47.957 - Script 'Players.Player.PlayerGui.LocalScript', Line 5 16:11:47.957 - Stack End
That's the error and my script is:
function playerEntered() game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList,false) end
game.Players.PlayerAdded:connect(playerEntered()) |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2015 10:14 AM |
(playerEntered()) should be (playerEntered) No?
~ All you need to know is that I'm an otaku |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2015 10:15 AM |
| Oh god I feel so stupid now. Thanks :) I'm use to Java that's all |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2015 10:18 AM |
| The script doesn't work now :/ |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2015 10:27 AM |
Why do you even need playerEntered in the first place?
~ All you need to know is that I'm an otaku |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2015 10:28 AM |
| It disables the playerlist because I have a custom leaderboard that you use with tab |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2015 10:28 AM |
Localscript
game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList,false)
~ All you need to know is that I'm an otaku |
|
|
| Report Abuse |
|
|