generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Failed attempt to connect? Passed value not a function?!

Previous Thread :: Next Thread 
InedibleGames is not online. InedibleGames
Joined: 27 Apr 2014
Total Posts: 1140
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
MajikkuSoul is not online. MajikkuSoul
Joined: 15 Feb 2014
Total Posts: 196
18 Apr 2015 10:14 AM
(playerEntered()) should be (playerEntered) No?


~ All you need to know is that I'm an otaku
Report Abuse
InedibleGames is not online. InedibleGames
Joined: 27 Apr 2014
Total Posts: 1140
18 Apr 2015 10:15 AM
Oh god I feel so stupid now. Thanks :) I'm use to Java that's all
Report Abuse
InedibleGames is not online. InedibleGames
Joined: 27 Apr 2014
Total Posts: 1140
18 Apr 2015 10:18 AM
The script doesn't work now :/
Report Abuse
MajikkuSoul is not online. MajikkuSoul
Joined: 15 Feb 2014
Total Posts: 196
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
InedibleGames is not online. InedibleGames
Joined: 27 Apr 2014
Total Posts: 1140
18 Apr 2015 10:28 AM
It disables the playerlist because I have a custom leaderboard that you use with tab
Report Abuse
MajikkuSoul is not online. MajikkuSoul
Joined: 15 Feb 2014
Total Posts: 196
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image