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: weird stuff

Previous Thread :: Next Thread 
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
08 Mar 2015 08:17 PM
game.Players.PlayerAdded:connect(function(plr)
local val=Instance.new("NumberValue", plr)
val.Value=325
local vall=Instance.new("BoolValue",plr)
vall.Value=false
vall.Name="test"
end)


so for some reason this only adds values for me when I join my game, i don't really understand but it doesn't add it for every person who joins my game and I can't figure out why.
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
08 Mar 2015 08:18 PM
plz space out your equal signs thx.

and have you tested it

Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
08 Mar 2015 08:18 PM
what do ya think give me your best guess
Report Abuse
protectiveEBob is not online. protectiveEBob
Joined: 09 Jul 2012
Total Posts: 1297
08 Mar 2015 08:19 PM
Is there an error in the dev console?
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
08 Mar 2015 08:19 PM
no
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
08 Mar 2015 08:19 PM
it looks perfectly fine... are you sure it doesn't add it for everyone?
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
08 Mar 2015 08:20 PM
yes
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
08 Mar 2015 08:20 PM
I see no problems with the code (it's ugly but that's different).

Could be another script disabling this?

Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
08 Mar 2015 08:21 PM
in fact cntkillme can you follow me since I think i fixed it
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
08 Mar 2015 08:22 PM
Start Server -> Start 2 Players :)
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
08 Mar 2015 08:22 PM
Or it could be the script that is accessing the values that is the problem. If that is the case, then no, you are not sure.

Maybe the script trying to access it is sandboxed, but the sandbox doesn't set up properly until the second player joins. :D I mean, this is obviously the problem.
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
08 Mar 2015 08:23 PM
the script that accesses it is a localscript and it says that vall or val is not a valid member of player so pretty sure jarod.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
08 Mar 2015 08:26 PM
give code or I report u to my brother (my brother is an admin on his game with kohl's admin and he will ban u)
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
08 Mar 2015 08:26 PM
That's a whole different issue. What you're supposed to do is check yourself to see if these values are created.
Report Abuse
protectiveEBob is not online. protectiveEBob
Joined: 09 Jul 2012
Total Posts: 1297
08 Mar 2015 08:27 PM
You never set the name of the first object geez.
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
08 Mar 2015 08:27 PM
good thing i have anti koel xdxd
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