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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: How do I make a script were a decal pops up

Previous Thread :: Next Thread 
MacsAndCheese is not online. MacsAndCheese
Joined: 04 Feb 2012
Total Posts: 3913
26 Nov 2012 10:27 PM
Like at the beggening with a local script
a decal shows up :P
covering the whole screen
Report Abuse
Solotaire is not online. Solotaire
Joined: 30 Jul 2009
Total Posts: 30356
26 Nov 2012 10:36 PM
game.Players.PlayerAdded:connect(function(player)
game.Lighting["guiname"]:clone().Parent = player.PlayerGui
end)
Report Abuse
MacsAndCheese is not online. MacsAndCheese
Joined: 04 Feb 2012
Total Posts: 3913
26 Nov 2012 10:40 PM
uhmm im lost explain how i do it .-.
Report Abuse
Solotaire is not online. Solotaire
Joined: 30 Jul 2009
Total Posts: 30356
26 Nov 2012 10:45 PM
You are going to want to create a GUI. Inside of the GUI, place a Frame, and then an ImageLabel. Set the size of the Frame to (1,0,1,0) and do the same to the ImageLabel. Fill in the ImageLabel with a decal. (note: you may want to adjust the size of the ImageLabel and also include an exit button along the bottom). Place this GUI inside of Lighting. When a player enters the game, simply clone that GUI into the player's PlayerGui, so that they will see it. Because it is located in Lighting and not the StarterGui, this will only show up the first time-- when they enter the game.
Report Abuse
MacsAndCheese is not online. MacsAndCheese
Joined: 04 Feb 2012
Total Posts: 3913
26 Nov 2012 10:56 PM
I put the local script in workspace.. .-. and still not working here ill give u an explanation

Workspace > Local script

then


Lighting > ScreenGui > Frame > Image Label


:U and still not working
Report Abuse
Solotaire is not online. Solotaire
Joined: 30 Jul 2009
Total Posts: 30356
26 Nov 2012 10:57 PM
Oh, use a regular script, not a LocalScript.
Report Abuse
MacsAndCheese is not online. MacsAndCheese
Joined: 04 Feb 2012
Total Posts: 3913
26 Nov 2012 11:02 PM
Still not working D:

Ok this is what i did exactly


Workspace>Script

Lighting>ScreenGui>Frame>ImageLabel



Script:

game.Players.PlayerAdded:connect(function(player)
game.Lighting["ScreenGui"]:clone().Parent = player.PlayerGui
end)
Report Abuse
MacsAndCheese is not online. MacsAndCheese
Joined: 04 Feb 2012
Total Posts: 3913
26 Nov 2012 11:10 PM
help?
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
26 Nov 2012 11:28 PM
game.Players.PlayerAdded:connect(function(player)
repeat wait() until player.PlayerGui
game.Lighting["ScreenGui"]:clone().Parent = player.PlayerGui
end)

You were cloning it before the PlayerGui was created.
Report Abuse
MacsAndCheese is not online. MacsAndCheese
Joined: 04 Feb 2012
Total Posts: 3913
26 Nov 2012 11:31 PM
for some reason the image is just grey e.e
the image wont show up and i added the link wthhh
Report Abuse
GhostSailor is not online. GhostSailor
Joined: 02 Jul 2010
Total Posts: 1913
27 Nov 2012 05:41 PM
Is the link in asset form?
Is the ID correct?
Has it been approved?

-~Obly of C&G~-
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