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: Simple problem.

Previous Thread :: Next Thread 
FootBa11 is not online. FootBa11
Joined: 16 Sep 2008
Total Posts: 11501
09 Jul 2012 08:58 PM
This small script is parented to every player in the game. I want the script to activate, but it does not.

Is there anything wrong here?


wait(1)
if script.Parent.Character.Humanoid.WalkSpeed == 0 then
game.Workspace.Regen.Value = true
end
Report Abuse
bounty88 is not online. bounty88
Joined: 23 Sep 2008
Total Posts: 454
09 Jul 2012 09:05 PM
Is the Value being manipulated the correct value? By which I mean are you positive that it is a true/false value? or is it actually a number value?
Report Abuse
FootBa11 is not online. FootBa11
Joined: 16 Sep 2008
Total Posts: 11501
09 Jul 2012 09:06 PM
It is a bool value...
Report Abuse
bounty88 is not online. bounty88
Joined: 23 Sep 2008
Total Posts: 454
09 Jul 2012 09:08 PM
Since when is character part of a player? And what does the output say?
Report Abuse
FootBa11 is not online. FootBa11
Joined: 16 Sep 2008
Total Posts: 11501
09 Jul 2012 09:17 PM
Character has ALWAYS been linked to the player in that way.


IDK how to read output :P
Report Abuse
WhiteRain is not online. WhiteRain
Joined: 24 Apr 2010
Total Posts: 2723
09 Jul 2012 09:19 PM
View>Output
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