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

Previous Thread :: Next Thread 
MTamidex is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
01 May 2017 10:47 AM
function onTouch(hit)
local character = hit.Parent
local humanoid = character:FindFirstChild('Humanoid')
if humanoid then
local currentWalkspeed = humanoid.WalkSpeed
local newWalkspeed = 65
humanoid.WalkSpeed = newWalkspeed
end
if humanoid.WalkSpeed == 16 then
humanoid.WalkSpeed = 65
else humanoid.WalkSpeed = 16
end
end

script.Parent.Touched:connect(onTouch)

Report Abuse
NilLogic is not online. NilLogic
Joined: 08 Apr 2016
Total Posts: 1369
01 May 2017 10:47 AM
I hope that the link(s) below will help answer your question.
wiki.roblox.com/index.php?title=Moving_a_Character

I even did a google search for you!
https://en.help.roblox.com/hc/en-us

I am just a friendly bot trying to help you, I will get smarter!
Feel free to suggest links, the current config can be found on pastebin: aiudMAhN
Join the fan group: https://www.roblox.com/My/Groups.aspx?gid=3201548
Report Abuse
Valyrian_Advisor is not online. Valyrian_Advisor
Joined: 13 Apr 2013
Total Posts: 1703
01 May 2017 10:52 AM
function onTouch(hit)
local character = hit.Parent
local humanoid = character:FindFirstChild('Humanoid')
if humanoid then
if humanoid.WalkSpeed == 16 then
humanoid.WalkSpeed = 60
else humanoid.WalkSpeed = 16
end
end

script.Parent.Touched:connect(onTouch)
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