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
 

need help with walkspeed gui

Previous Thread :: Next Thread 
57M is not online. 57M
Joined: 20 Jun 2014
Total Posts: 188
26 Sep 2017 04:09 AM
hi there i was wondering why this script doesn't work, its in a
screengui > frame > txtbutton > script

heres the script :

function Click()
script.Parent.Parent.Parent.Parent.Character.Humanoid.WalkSpeed = 24
end

script.Parent.MouseButton1Down:connect(Click)
Report Abuse
57M is not online. 57M
Joined: 20 Jun 2014
Total Posts: 188
26 Sep 2017 04:11 AM
b1
Report Abuse
57M is not online. 57M
Joined: 20 Jun 2014
Total Posts: 188
26 Sep 2017 04:14 AM
b2
Report Abuse
57M is not online. 57M
Joined: 20 Jun 2014
Total Posts: 188
26 Sep 2017 04:17 AM
## #### to b10000000
Report Abuse
57M is not online. 57M
Joined: 20 Jun 2014
Total Posts: 188
26 Sep 2017 04:18 AM
bump bump bump need your heeelp
Report Abuse
57M is not online. 57M
Joined: 20 Jun 2014
Total Posts: 188
26 Sep 2017 04:22 AM
this is rude
Report Abuse
szkiller_dev is not online. szkiller_dev
Joined: 07 Oct 2016
Total Posts: 3572
26 Sep 2017 04:36 AM
That's the most inefficient way!



use game.Players.LocalPlayer instead


Java is my coffee 😎😎😎
Report Abuse
nextgenplatform is not online. nextgenplatform
Joined: 27 Feb 2017
Total Posts: 797
26 Sep 2017 05:14 AM
Create a LocalScript in StarterPlayer > StarterCharacterScripts


char = game.Players.LocalPlayer.Character
button = game.Players.LocalPlayer.PlayerGui.screengui.frame.txtbutton -- path

function speed(x)
if char then
char.Humanoid.WalkSpeed = x
end
end

button.MouseButton1Click:connect(speed(30)) -- value
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