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
 

Anyone Know How to Make Reset GUIs?

Previous Thread :: Next Thread 
Venenoso is online. Venenoso
Joined: 27 Jul 2008
Total Posts: 2169
07 Sep 2011 12:44 PM
Just asking here.
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
07 Sep 2011 12:45 PM
easy:
function onButtonClicked()
script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Character.Humanoid.Health = 0
end

script.Parent.MouseButton1Click:connect(onButtonClicked)

Remove the parents according to the ammount of parents of the script and Gui that holds the script.
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
07 Sep 2011 01:13 PM
(LocalScript)


script.Parent.MouseButton1Click:connect(function()
game.Players.LocalPlayer.Character:BreakJoints()
end)
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
07 Sep 2011 01:15 PM
Su, no need, I already solved.
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
07 Sep 2011 02:16 PM
[ Content Deleted ]
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
07 Sep 2011 03:32 PM
@myrco

do you know how to change the humanoid's name? (Player)
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