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 a script.

Previous Thread :: Next Thread 
Jules627 is not online. Jules627
Joined: 06 Feb 2009
Total Posts: 4940
25 Oct 2012 03:18 PM
[ Content Deleted ]
Report Abuse
hacktesterthethird is not online. hacktesterthethird
Joined: 12 Sep 2012
Total Posts: 11
25 Oct 2012 03:29 PM
try this

a = game.Workspace.NAMEOFPART.Humanoid.Health

b = game.Workspace.NAMEOFPART

while true do

b.Name= a

wait(.1)

end

you need a wait and an end
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
25 Oct 2012 03:30 PM
Why do you have random else statement? You never used an if statement.

There's no end for the while loop.

Didn't even seem like you tried.
Report Abuse
weakboi414 is not online. weakboi414
Joined: 20 Dec 2011
Total Posts: 185
25 Oct 2012 03:44 PM
I know the script. Its this: a =
game.Workspace.NAMEOFPART.Humanoid.Health

b = game.Workspace.NAMEOFPART

while true do

b.Name= a

wait(.1)

end

you need a wait and an end
Report Abuse
BumpyAdmin is not online. BumpyAdmin
Joined: 28 Aug 2012
Total Posts: 56
25 Oct 2012 04:01 PM
The problem:

You added :( at the end of the script which makes it sensor to fo nothing.

fixed:

a = game.Workspace.NAMEOFPART.Humanoid.Health

b = game.Workspace.NAMEOFPART

while true do

b.Name = a

else

print("Script is not working."
Report Abuse
BumpyAdmin is not online. BumpyAdmin
Joined: 28 Aug 2012
Total Posts: 56
25 Oct 2012 04:07 PM
oops forgot the ) at end
Report Abuse
Xnite515 is not online. Xnite515
Joined: 18 Feb 2011
Total Posts: 22763
25 Oct 2012 04:11 PM
@Bumpy

Wrong.

It's still in the string.
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