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: Help with script will pay

Previous Thread :: Next Thread 
iReIix is not online. iReIix
Joined: 31 Aug 2010
Total Posts: 5175
11 Mar 2017 03:14 PM
_G.FREE_FOR_ALL = true

How do I make it so when i press "e" on my keyboard it turns _G.FREE_FOR_ALL = true into false and when i press e again it makes it true.


Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
11 Mar 2017 03:14 PM
http://wiki.roblox.com/index.php?title=API:Class/UserInputService/InputBegan


Report Abuse
QuantumNexsus is not online. QuantumNexsus
Joined: 09 Nov 2014
Total Posts: 2451
11 Mar 2017 03:14 PM
http://wiki.roblox.com/?title=API:Class/UserInputService
Report Abuse
iReIix is not online. iReIix
Joined: 31 Aug 2010
Total Posts: 5175
11 Mar 2017 03:15 PM
can someone just help me pls


Report Abuse
iReIix is not online. iReIix
Joined: 31 Aug 2010
Total Posts: 5175
11 Mar 2017 03:19 PM
anyone?


Report Abuse
C_Sharper is online. C_Sharper
Joined: 03 Oct 2011
Total Posts: 6405
11 Mar 2017 03:20 PM
Assuming this is in a localscript

local uis = game:GetService("UserInputService")

uis.InputBegan:connect(function(input,g)
if not g and input.KeyCode == Enum.KeyCode.E then
_G.FREEFORALL = not _G.FREEFORALL
end
end)
Report Abuse
iReIix is not online. iReIix
Joined: 31 Aug 2010
Total Posts: 5175
11 Mar 2017 03:23 PM
I cant post the whole script here for some reason.. but that didn't work


Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
11 Mar 2017 03:23 PM
and that's exactly why you're not getting help lol


Report Abuse
iReIix is not online. iReIix
Joined: 31 Aug 2010
Total Posts: 5175
11 Mar 2017 03:25 PM
lol discord Relix#1441 pl0x


Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
11 Mar 2017 03:26 PM
No need. It's "not working" most likely because of the difference of the shared tables among the server and each client.


Report Abuse
C_Sharper is online. C_Sharper
Joined: 03 Oct 2011
Total Posts: 6405
11 Mar 2017 03:27 PM
Why not have a boolvalue in workspace and change that from the client's code i just gave you?
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
11 Mar 2017 03:27 PM
No need for objects either. Just use a remote.


Report Abuse
iReIix is not online. iReIix
Joined: 31 Aug 2010
Total Posts: 5175
11 Mar 2017 03:28 PM
Idk anything about scripting so idk what u just said


Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
11 Mar 2017 03:28 PM
Well, my last reply was contradictory. I meant there's no need to have more objects that you need to, because if the client updates the BoolValue then the change will only take place on the respective client.


Report Abuse
iReIix is not online. iReIix
Joined: 31 Aug 2010
Total Posts: 5175
11 Mar 2017 03:30 PM
um w0t


Report Abuse
iReIix is not online. iReIix
Joined: 31 Aug 2010
Total Posts: 5175
11 Mar 2017 03:31 PM
can someone add me so i can explain what i mean


Report Abuse
iReIix is not online. iReIix
Joined: 31 Aug 2010
Total Posts: 5175
11 Mar 2017 03:33 PM
https://www.roblox.com/library/340856112/something-exe

this is the script


Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
11 Mar 2017 03:34 PM
Sorry, my computer can't run .exe files.


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