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
 

Looking for the error..

Previous Thread :: Next Thread 
333333333 is not online. 333333333
Joined: 28 Jul 2008
Total Posts: 12039
02 Feb 2012 05:20 PM
When you spawn it's supposed to give you RocketLauncher (In lighting) the script is in starter GUI.



if
script.Parent.Parent.Character.Torso:findFirstChild("roblox")
.Texture = "http://www.roblox.com/asset/?id=70747579" then
script.Parent.Parent.Character.Humanoid.MaxHealth = 150
wait()
script.Parent.Parent.Character.Humanoid.Health = 150
wait()
game.Lighting["RocketLauncher"]:clone().Parent =
script.Parent.Parent.Backpack

end


I got the script from a friend and it's not working.. Help?
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
02 Feb 2012 05:31 PM
if script.Parent.Parent.Character.Torso:findFirstChild("roblox").Texture == "http://www.roblox.com/asset/?id=70747579" then
script.Parent.Parent.Character.Humanoid.MaxHealth = 150
wait()
script.Parent.Parent.Character.Humanoid.Health = 150
wait()
game.Lighting["RocketLauncher"]:Clone().Parent = script.Parent.Parent.Backpack
end

† KMXD †
Report Abuse
333333333 is not online. 333333333
Joined: 28 Jul 2008
Total Posts: 12039
02 Feb 2012 05:34 PM
Thank you so much :)



Btw, is there anyway to make it appear already in your toolbar and not in your backpack? Is it possible to do like game.Lighting["RocketLauncher"]:Clone().Parent = script.Parent.Parent.Toolbar ?
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
02 Feb 2012 05:35 PM
Your welcome. And to my knowledge, no. Believe me I would love that too.

† KMXD †
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
02 Feb 2012 05:36 PM
You're*
Grammar fail, ftw.~

† KMXD †
Report Abuse
333333333 is not online. 333333333
Joined: 28 Jul 2008
Total Posts: 12039
02 Feb 2012 05:37 PM
Alright thinks :).
Report Abuse
333333333 is not online. 333333333
Joined: 28 Jul 2008
Total Posts: 12039
02 Feb 2012 05:37 PM
thanks*

Both of us making errors, eh?
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