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: I need help with..More

Previous Thread :: Next Thread 
copforce is not online. copforce
Joined: 23 Sep 2010
Total Posts: 141
22 May 2014 03:54 PM
I need help with like a wall
U know you start out with 16 speed Well i need to run into that wall but its CanCollide So when u go Through it u get 60 speed.?
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
22 May 2014 03:55 PM
What

-[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::]
Report Abuse
copforce is not online. copforce
Joined: 23 Sep 2010
Total Posts: 141
22 May 2014 03:56 PM
Like when u walk through the wall u get speed 60
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
22 May 2014 03:58 PM
What do you mean "speed 60"?

-[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::]
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
22 May 2014 03:59 PM
Go through wall get more walkspeed
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
22 May 2014 04:00 PM
Use the .touched event in the wall, access the Humanoid and change their walkspeed to 60

-[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::]
Report Abuse
copforce is not online. copforce
Joined: 23 Sep 2010
Total Posts: 141
22 May 2014 04:00 PM
Yes, It will Change you Speed To 60 When you walk Through The Wall
Report Abuse
copforce is not online. copforce
Joined: 23 Sep 2010
Total Posts: 141
22 May 2014 04:01 PM
@Swim
Umm im a Beginner Scripter....
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
22 May 2014 04:05 PM
Great, then you get to learn! :D

http://wiki.roblox.com/index.php?title=Touched
http://wiki.roblox.com/index.php?title=WalkSpeed_(Property)

-[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::]
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
22 May 2014 04:06 PM
script.Parent.Touched:connect(function(hit)
if game.Players:FindFirstChild(hit.Parent.Name) then
if hit.Parent:FindFirstChild("Humanoid") then
hit.Parent.Humanoid.WalkSpeed = 60
end
end
end)
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
22 May 2014 04:06 PM
sensei how is he going to learn if you tell him what exactly to put

Report Abuse
copforce is not online. copforce
Joined: 23 Sep 2010
Total Posts: 141
22 May 2014 04:07 PM
Could you like teach me cuz i cant read i have a disorder that makes all the works puggle up
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
22 May 2014 04:09 PM
Name of it?
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
22 May 2014 04:09 PM
Well he didnt ask to learn when he first posted it.
Report Abuse
copforce is not online. copforce
Joined: 23 Sep 2010
Total Posts: 141
22 May 2014 04:11 PM
Disletsic Somthing like that, and true i didnt
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
22 May 2014 04:13 PM
Dyslexia

I'd recommend talking to a doctor/psychiatrist/someone-who-isnt-on-Roblox about it, because there's medicine you can take for it.

-[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::]
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
22 May 2014 04:13 PM
script.Parent.Touched:connect(function(hit)

^Runs something when the Parent is touched(parent should be a brick).

if game.Players:FindFirstChild(hit.Parent.Name) then

^Checks if whatever touched it is an actual player

if hit.Parent:FindFirstChild("Humanoid") then

^Checks if there is an object called Humanoid inside the object that touched the brick

hit.Parent.Humanoid.WalkSpeed = 60

^Goes into Humanoid and changes WalkSpeed to 60

end --ends if..then statement
end --ends if..then statement
end) --ends event
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