codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 27 Aug 2011 08:32 PM |
ok so I put this script in a brick and what it does is when you touch the brick it activates the GUI
Brick script: GUI = game.Lighting.Rules script.Parent.Touched:connect(function (hit) if hit.Parent and game.Players:FindFirstChild(hit.Parent.Name) then Play = game.Players[hit.Parent.Name] if Play:FindFirstChild("PlayerGui") and not Play.PlayerGui:FindFirstChild(GUI.Name) then GUI:Clone().Parent = Play.PlayerGui end end end)
That Brick should activate this Script: print("Intro GUI by CodylO") M = script.Parent
Player = script repeat wait(); Player = Player.Parent; until Player:IsA("Player") Step = (Player:FindFirstChild("IntroGUIStep") and Player.IntroGUIStep:IsA("IntValue")) or Instance.new("IntValue", Player) Step.Name = "IntroGUIStep"
while true do M.Text = "" wait(0.1) for I = 1, 0, -0.1 do script.Parent.Transparency = I wait(0.03) end wait(1) for I = 0, 1, 0.1 do script.Parent.TextTransparency = I wait(0.03) end end wait(0.5) M.Text = "Your now in a hole" wait(0.5) for I = 1, 0, -0.1 do script.Parent.TextTransparency = I wait(0.03) end wait(4) for I = 0, 1, 0.1 do script.Parent.TextTransparency = I wait(0.03) end end wait(0.5) M.Text = "There's 3 ways out of here" wait(0.5) for I = 1, 0, -0.1 do script.Parent.TextTransparency = I wait(0.03) end wait(4) for I = 0, 1, 0.1 do script.Parent.TextTransparency = I wait(0.03) end end wait(0.5) M.Text = "First way:" wait(0.5) for I = 1, 0, -0.1 do script.Parent.TextTransparency = I wait(0.03) end wait(4) for I = 0, 1, 0.1 do script.Parent.TextTransparency = I wait(0.03) end end wait(0.5) M.Text = "try to jump to the top of the hole" wait(0.5) for I = 1, 0, -0.1 do script.Parent.TextTransparency = I wait(0.03) end wait(4) for I = 0, 1, 0.1 do script.Parent.TextTransparency = I wait(0.03) end end wait(0.5) M.Text = "Second way" wait(0.5) for I = 1, 0, -0.1 do script.Parent.TextTransparency = I wait(0.03) end wait(4) for I = 0, 1, 0.1 do script.Parent.TextTransparency = I wait(0.03) end Step.Value = 6 end wait(0.5) M.Text = "Find a secret passage" wait(0.5) for I = 1, 0, -0.1 do script.Parent.TextTransparency = I wait(0.03) end wait(4) for I = 0, 1, 0.1 do script.Parent.TextTransparency = I wait(0.03) end end wait(0.5) M.Text = "Third way" wait(0.5) for I = 1, 0, -0.1 do script.Parent.TextTransparency = I wait(0.03) end wait(4) for I = 0, 1, 0.1 do script.Parent.TextTransparency = I wait(0.03) end end wait(0.5) M.Text = "Freak out" wait(0.5) for I = 1, 0, -0.1 do script.Parent.TextTransparency = I wait(0.05) end wait(4) for I = 0, 1, 0.1 do script.Parent.TextTransparency = I wait(0.05) end end wait(0.5) M.Text = "One of those ways will work and the other will not" wait(0.5) for I = 1, 0, -0.1 do script.Parent.TextTransparency = I wait(0.05) end wait(4) for I = 0, 1, 0.1 do script.Parent.Transparency = I wait(0.05) end Step.Value = 10 end wait(1) script.Parent:Remove() end
Now why doesn't that GUI activate? Can someone ask me |
|
|
| Report Abuse |
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 27 Aug 2011 09:23 PM |
| does anyone know what to do |
|
|
| Report Abuse |
|
tik800
|
  |
| Joined: 04 Feb 2010 |
| Total Posts: 104 |
|
| |
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 27 Aug 2011 10:47 PM |
| doesn't say the scripts loaded |
|
|
| Report Abuse |
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 27 Aug 2011 11:22 PM |
| no output. Is there anyone out there that knows how to fix this |
|
|
| Report Abuse |
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
| |
GiverLol
|
  |
| Joined: 20 Dec 2010 |
| Total Posts: 810 |
|
|
| 28 Aug 2011 02:08 AM |
script.Parent.TextTransparency = I?
Why? |
|
|
| Report Abuse |
|
codylO
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 439 |
|
|
| 28 Aug 2011 02:12 AM |
| why not. Look I've seen this work before can someone just tell me why its not working. |
|
|
| Report Abuse |
|