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 » Scripters
Home Search
 

Re: Could someone please help me?

Previous Thread :: Next Thread 
jte890 is not online. jte890
Joined: 26 Jul 2013
Total Posts: 525
11 Jun 2017 07:29 PM
Hello. I know that first thing in mind is if you will get paid. I am sorry to say this, but I have no robux on me and I am trying my best to create a game with the lowest amount possible.

Now for the request.

I am trying to figure how I can make a script that will do this: Once a specific NPC is killed a GUI will pop up covering the screen.
I don't know how hard this is since Im not that good at scripting. But if anyone could please help me out with this. Even by linking me to a wiki would be useful.

Thanks





Jte890 -- Goodbye
Report Abuse
00doggie is not online. 00doggie
Joined: 30 Jul 2009
Total Posts: 337
11 Jun 2017 08:17 PM
to easily make this you need to do these steps: 1. create event for when npc dies ## ###### ### #### to go through players 3. access a gui in each player and set visible to true to use all these steps together, I will create the pseudo code (NOT REAL) repeat wait until script.Parent.Humanoid.Health <= 0 then local children = game.Players:GetChildren() for i = 1, #children do children[i].StarterGui.ScreenGui.Frame.Visible = true --or whereever the gui is end end just edit that ^^ just fix incorrect capitalization, and other small errors and it might work 0_0
Report Abuse
00doggie is not online. 00doggie
Joined: 30 Jul 2009
Total Posts: 337
11 Jun 2017 08:18 PM
dang, sorry about the bad formatting, that happens to me all the time
Report Abuse
PhantomVisual is not online. PhantomVisual
Joined: 08 Apr 2011
Total Posts: 2025
11 Jun 2017 08:20 PM
wiki.roblox.com/index.php?title=API:Class/Humanoid/Died
wiki.roblox.com/index.php?title=The_Fundamentals_of_Scripting_with_GUIs
wiki.roblox.com/index.php?title=API:Class/Instance/Clone


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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