|
| 26 Aug 2011 09:25 AM |
I need help with something A brick that when touched, makes the screen go black. I then need it to remove itself after a few seconds.
Don't worry how long the wait() is. I can change that.
Can anyone help me? |
|
|
| Report Abuse |
|
|
|
| 26 Aug 2011 09:26 AM |
print(wait())
-The naked old man |
|
|
| Report Abuse |
|
|
superior
|
  |
| Joined: 13 Apr 2008 |
| Total Posts: 1662 |
|
|
| 26 Aug 2011 09:26 AM |
| Make it, then post your errors. We help with scripts, hence "Scripting Helpers". Not "Script Makers". |
|
|
| Report Abuse |
|
|
UFAIL2
|
  |
| Joined: 14 Aug 2010 |
| Total Posts: 6905 |
|
|
| 26 Aug 2011 09:26 AM |
^Title fix^
Go learn the basics of Lua from the Roblox wiki, and then you can do this. |
|
|
| Report Abuse |
|
|
bloob827
|
  |
| Joined: 01 Aug 2010 |
| Total Posts: 6867 |
|
|
| 26 Aug 2011 09:28 AM |
function touch(p) game.Lighting.GUINAMEHERE.Parent = game.Players:playerFromCharacter(p.Parent).PlayerGui end
script.Parent.Touched:connect(touch)
Make a gui and insert it's name where it says GUINAMEHERE. |
|
|
| Report Abuse |
|
|
|
| 26 Aug 2011 09:48 AM |
@Bloob
Just made a scripts that can do that.
Now here's the remover that won't work.
while true do wait(4) game.Workspace.Players.Player.PlayerGui.BlackScreenGUI:remove() end |
|
|
| Report Abuse |
|
|
|
| 26 Aug 2011 09:58 AM |
fireblast, Use this "LinkedSource" script:
while true do print("Loading LinkedSource Asset=168390") end |
|
|
| Report Abuse |
|
|
verpy12
|
  |
| Joined: 13 May 2010 |
| Total Posts: 1737 |
|
| |
|
|
| 26 Aug 2011 12:26 PM |
@Mario
Is that suppsoed to also remove the GUI?
I just need a script that removes the GUI |
|
|
| Report Abuse |
|
|
UFAIL2
|
  |
| Joined: 14 Aug 2010 |
| Total Posts: 6905 |
|
|
| 26 Aug 2011 03:33 PM |
Player = game.Players.LocalPlayer while true do wait(4) Player.PlayerGui.BlackScreenGUI:remove() end |
|
|
| Report Abuse |
|
|