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: magnitude crap and stuff

Previous Thread :: Next Thread 
Gladii is not online. Gladii
Joined: 10 Mar 2012
Total Posts: 1713
08 Dec 2014 08:04 PM
doesn't work
please fix
the table '_G.bombs' is positions of bombs

while true do
wait()
for i, v in pairs(_G.bombs) do
if (game.Players.LocalPlayer.Character.Torso.Position - v).magnitude < 50 then
script.Parent.Main.Blindness.Visible = true
end
end
end
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
08 Dec 2014 08:07 PM
The _G.bombs table was set on that same client, correct?
If you set it from the sever (non-local script) then only the server has access to it.
Report Abuse
Gladii is not online. Gladii
Joined: 10 Mar 2012
Total Posts: 1713
08 Dec 2014 08:09 PM
how can I set it by the client.

when everybody is placing bombs
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
08 Dec 2014 08:10 PM
Just put all the bombs in some model like workspace.Bombs and read from that.
Report Abuse
Cauz is not online. Cauz
Joined: 28 Oct 2014
Total Posts: 85
08 Dec 2014 08:11 PM
GlobalSettings.clientAdded:connect(function(client)
client:AddToTheTableWhereStuffIs(table)
end))
Report Abuse
Gladii is not online. Gladii
Joined: 10 Mar 2012
Total Posts: 1713
08 Dec 2014 08:12 PM
Is that a local script?
Report Abuse
Cauz is not online. Cauz
Joined: 28 Oct 2014
Total Posts: 85
08 Dec 2014 08:13 PM
yeas 'mam
Report Abuse
Gladii is not online. Gladii
Joined: 10 Mar 2012
Total Posts: 1713
08 Dec 2014 08:15 PM
unknown global 'globalsettings'
Report Abuse
Cauz is not online. Cauz
Joined: 28 Oct 2014
Total Posts: 85
08 Dec 2014 08:16 PM
make it GlobalSettings not globalsettings
Report Abuse
Gladii is not online. Gladii
Joined: 10 Mar 2012
Total Posts: 1713
08 Dec 2014 08:16 PM
what does 'AddToTheTableWhereStuffIs' do.
Do i put the table here

I have never worked with global settings
Report Abuse
Gladii is not online. Gladii
Joined: 10 Mar 2012
Total Posts: 1713
08 Dec 2014 08:17 PM
It's been 'GlobalSettings'
I should probably use proper grammar.
Report Abuse
Cauz is not online. Cauz
Joined: 28 Oct 2014
Total Posts: 85
08 Dec 2014 08:18 PM
globalsettings is for advanced personal only it advanced k ad script

GlobalSettings:Load()

then the other one i say
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
08 Dec 2014 08:18 PM
He's trolling you...
Report Abuse
Cauz is not online. Cauz
Joined: 28 Oct 2014
Total Posts: 85
08 Dec 2014 08:19 PM
i dont even live under bridge and not green u green noob
Report Abuse
Gladii is not online. Gladii
Joined: 10 Mar 2012
Total Posts: 1713
08 Dec 2014 08:19 PM
I figured.
Two non-existent in one script.
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