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
 

Script problem. Idk why it doesn't work.

Previous Thread :: Next Thread 
EcIiptic is not online. EcIiptic
Joined: 12 Aug 2009
Total Posts: 13737
03 Dec 2013 07:44 AM
function onTouched(hit)
local Person = hit.Parent:FindFirstChild("Humanoid")
if (Person ~= nil) then
script.Parent.Transparency = 0.5
script.Parent.CanCollide = false
Person.Walkspeed = 8
wait(0.2)
script.Parent.Transparency = 0
script.Parent.CanCollide = true
Person.Walkspeed = 16
end
end

script.Parent.Touched:connect(onTouched)

-Ecliptic
Report Abuse
CrniOrao is not online. CrniOrao
Joined: 12 Oct 2008
Total Posts: 2274
03 Dec 2013 07:49 AM
Walkspeed is case sensitive I believe. Not sure.

Try using it as "WalkSpeed" instead of "Walkspeed"
Report Abuse
GalaxyMaster99 is not online. GalaxyMaster99
Joined: 11 Jan 2011
Total Posts: 156
03 Dec 2013 10:23 AM
Should be WalkSpeed, not Walkspeed.
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