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: Speed changer on GUI clicked

Previous Thread :: Next Thread 
Virtuex is not online. Virtuex
Joined: 23 Mar 2011
Total Posts: 4056
05 Aug 2011 10:00 PM
function tospeedgameup(*)

reduce lag~=nil
message~=lag==nil
message~=gamespeed
message~=time
end
end

function ("game loaded")

game speed=normal
game speed=advance speed

"run" game+lag=(0.0)

findgamerunspeed()
if not runspeed then print("run speed not found!")
while false do return end nil

findgamerunspeed()
if foundrunspeed then print("runspeedfound")
while true do-
-gamespeed=speed+(16)
end

script.parent.runspeed:connect(runspeed)

Would this work?
Report Abuse
OzzyBlox is not online. OzzyBlox
Joined: 04 Nov 2009
Total Posts: 14166
05 Aug 2011 10:01 PM
Holy poo you can control the lag?
Report Abuse
Virtuex is not online. Virtuex
Joined: 23 Mar 2011
Total Posts: 4056
05 Aug 2011 10:03 PM
bump
Report Abuse
Virtuex is not online. Virtuex
Joined: 23 Mar 2011
Total Posts: 4056
05 Aug 2011 10:04 PM
bump2
Report Abuse
OzzyBlox is not online. OzzyBlox
Joined: 04 Nov 2009
Total Posts: 14166
05 Aug 2011 10:04 PM
You should test it :P
Report Abuse
Virtuex is not online. Virtuex
Joined: 23 Mar 2011
Total Posts: 4056
05 Aug 2011 10:06 PM
i did, output said ":Fri Aug 05 23:02:02 2011 - Workspace.run speed enhancer:1: [name] or '...' expected near '*'


replace [] with <>
Report Abuse
Virtuex is not online. Virtuex
Joined: 23 Mar 2011
Total Posts: 4056
05 Aug 2011 10:07 PM
bump3
Report Abuse
OzzyBlox is not online. OzzyBlox
Joined: 04 Nov 2009
Total Posts: 14166
05 Aug 2011 10:08 PM
Well I wouldn't know much about this but does it mean that you can't use an asterisk as a direct argument?
Report Abuse
Virtuex is not online. Virtuex
Joined: 23 Mar 2011
Total Posts: 4056
05 Aug 2011 10:08 PM
i dont care about the script itself, i just need a script that makes your walkspeed faster or slower when you click the GUI
Report Abuse
Virtuex is not online. Virtuex
Joined: 23 Mar 2011
Total Posts: 4056
05 Aug 2011 10:10 PM
BUMP4
Report Abuse
OzzyBlox is not online. OzzyBlox
Joined: 04 Nov 2009
Total Posts: 14166
05 Aug 2011 10:12 PM
Oh it looked like you were trying to reduce the lag.

I'm a bit too lazy to put a script together. It shouldn't be too hard for you :P
Report Abuse
Virtuex is not online. Virtuex
Joined: 23 Mar 2011
Total Posts: 4056
05 Aug 2011 10:13 PM
no, i just put a bunch of random scripting words togtether that made sence. :3
Report Abuse
Virtuex is not online. Virtuex
Joined: 23 Mar 2011
Total Posts: 4056
05 Aug 2011 10:16 PM
bump 5
Report Abuse
Spectrumw is not online. Spectrumw
Joined: 04 Aug 2009
Total Posts: 13510
05 Aug 2011 10:19 PM
"no, i just put a bunch of random scripting words togtether that made sence. :3"

That MAKES sense. Your script is totally... :/ I don't even know if I can call it a script.
Report Abuse
Virtuex is not online. Virtuex
Joined: 23 Mar 2011
Total Posts: 4056
05 Aug 2011 10:22 PM
ya, i fail, now can someone PLEASE make the script
Report Abuse
pwnedu46 is not online. pwnedu46
Joined: 23 May 2009
Total Posts: 7534
05 Aug 2011 11:00 PM
It's IMPOSSIBLE to speed up a server without upgrading its hardware. This is true for ALL computers in general. There are ways to reduce lag by reducing strain on the server (more efficient building and/or scripting, fewer users allowed on a server at one time, etc), but you can't physically speed it up with software.

The error was referring to the * character you attempted to use in the argument. '*' is a reserved operator (multiplication), and lua doesn't support operator overloading.


______________________________________
~pwnedu46~
-I lost the game.-
Report Abuse
pwnedu46 is not online. pwnedu46
Joined: 23 May 2009
Total Posts: 7534
05 Aug 2011 11:09 PM
I didn't even read the code. I counted, and I can't find a single line of code that wouldn't error. (not including the very few ends that were placed properly )


Are you trollin' us? :o



______________________________________
~pwnedu46~
-I lost the game.-
Report Abuse
Virtuex is not online. Virtuex
Joined: 23 Mar 2011
Total Posts: 4056
06 Aug 2011 01:04 AM
No, I mean a WALKSPEED changer GUI
Report Abuse
Virtuex is not online. Virtuex
Joined: 23 Mar 2011
Total Posts: 4056
06 Aug 2011 01:12 AM
bump6
Report Abuse
lemonwonder is not online. lemonwonder
Joined: 18 Jun 2009
Total Posts: 328
06 Aug 2011 01:16 AM
no, i just put a bunch of random scripting words togtether that made sence. :3
----------------
lol that's not what scripting is
Report Abuse
Kingslaya356 is not online. Kingslaya356
Joined: 09 Jul 2008
Total Posts: 178
06 Aug 2011 02:07 AM
just use a tool..
Report Abuse
msfoste is not online. msfoste
Joined: 25 Sep 2008
Total Posts: 339
06 Aug 2011 03:23 AM
Here you go a Walkspeed Changer GUI script
function onClick(mouse)
script.Parent.Parent.Parent.Parent.Character.Humanoid.WalkSpeed = 50

end
script.Parent.MouseButton1Click:connect(onClick)
Report Abuse
m00dventure is not online. m00dventure
Joined: 03 Aug 2011
Total Posts: 75
06 Aug 2011 06:41 PM
That is trolololololol?
Report Abuse
myrco1001 is not online. myrco1001
Joined: 17 Sep 2010
Total Posts: 2574
06 Aug 2011 06:49 PM
ಠ_ಠ
Report Abuse
jordan4762 is not online. jordan4762
Joined: 08 Sep 2008
Total Posts: 4116
06 Aug 2011 07:07 PM
Heres a upgraded version


function onClick(mouse)
a = script.Parent.Parent.Parent.Parent.Character.Humanoid
a:remove
script.Parent.Parent.Parent.Parent.Character.Humanoid.WalkSpeed = 70


end
script.Parent.MouseButton1Click:connect(onClick)


-ITS FREEEEEEEEEEEE
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