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 » Scripting Helpers
Home Search
 

Re: conecting

Previous Thread :: Next Thread 
addicto111222333 is not online. addicto111222333
Joined: 18 Dec 2008
Total Posts: 19
15 Jan 2012 05:04 PM
ok i been try to do a key down event and i trying to do like:

press and hold f to buy shotgun,, like a wall gun

so i was wondering do you need a global script to connect the local script inside hopperbin to the brick thats not local.
Report Abuse
addicto111222333 is not online. addicto111222333
Joined: 18 Dec 2008
Total Posts: 19
15 Jan 2012 05:34 PM
hello anyone goin to help
Report Abuse
addicto111222333 is not online. addicto111222333
Joined: 18 Dec 2008
Total Posts: 19
15 Jan 2012 05:41 PM
bump
Report Abuse
Penguine236 is not online. Penguine236
Joined: 13 Apr 2011
Total Posts: 1303
15 Jan 2012 06:14 PM
post the script here.
Report Abuse
jode6543 is not online. jode6543
Joined: 16 Jun 2009
Total Posts: 5363
15 Jan 2012 06:28 PM
I don't believe you need to connect local-side to server-side for Instances.

"Be nice to nerds. Chances are you'll end up working for one. -Bill Gates"
Report Abuse
roundzombie4 is not online. roundzombie4
Joined: 10 Dec 2011
Total Posts: 153
15 Jan 2012 11:45 PM
well i will work on script but i just wanted to know know before i jump into this
Report Abuse
roundzombie4 is not online. roundzombie4
Joined: 10 Dec 2011
Total Posts: 153
15 Jan 2012 11:46 PM
and ya i will need to use something to connect the local script with the brick because local script is inside the gun and the player and the script run on out side of the client with the server
Report Abuse
roundzombie4 is not online. roundzombie4
Joined: 10 Dec 2011
Total Posts: 153
16 Jan 2012 09:47 AM
bump
Report Abuse
BobGeorgenworn909 is not online. BobGeorgenworn909
Joined: 03 Apr 2008
Total Posts: 1161
16 Jan 2012 09:49 AM
script.Parent.Selected:connect(function(t)
t.KeyDown:connect(function(key)
if (script.Parent.Parent.Character.Torso.Position - game.Workspace.gun.Position).magnitude < 6 and key == "f" then
--script here
end
end)
end)
Report Abuse
roundzombie4 is not online. roundzombie4
Joined: 10 Dec 2011
Total Posts: 153
16 Jan 2012 10:16 AM
well i did'nt ask for a script but thankyou anyways i try it later
Report Abuse
roundzombie4 is not online. roundzombie4
Joined: 10 Dec 2011
Total Posts: 153
16 Jan 2012 11:06 AM
bump
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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