| |
|
»
»
|
|
| |
Gui Script Help
|
|
|
Cizox
|
  |
| Joined: 25 Dec 2009 |
| Total Posts: 42220 |
|
|
| 22 Dec 2013 12:51 AM |
Supposed to run when a player enters. Doesn't start. Local Script. no output:
local Gui = game.Players.LocalPlayer.PlayerGui.StartMenu
local TextOne = Gui.TitleFrame.TextOne local TextTwo = Gui.TitleFrame.TextTwo local Gradient = Gui.Gradient
function Introduction() repeat Wait() until script.Parent == game.Players.LocalPlayer.PlayerGui wait(1.5) for i = 1, 0, -0.1 do wait(0.05) TextOne.TextTransparency = i end wait(0.55) for i = 1, 0, -0.1 do wait(0.05) TextTwo.TextTransparency = i end wait(0.8) for i = 0, 1, 0.1 do wait(0.05) Gradient.BackgroundTransparency = i end wait(0.51) Gradient.Visible = false wait(2) Exit:TweenPosition(UDim2.new(0, 0, 0, 120), "Out", "Linear", 0.3) wait(0.35) UpdateLog:TweenPosition(UDim2.new(0, 0, 0, 80), "Out", "Linear", 0.3) wait(0.35) About:TweenPosition(UDim2.new(0, 0, 0, 40), "Out", "Linear", 0.3) wait(0.35) Enter:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Linear", 0.3) wait(0.5) script.Disabled = true end
Introduction()
Any help? |
|
|
| Report Abuse |
|
|
masta789
|
  |
| Joined: 13 Mar 2012 |
| Total Posts: 181 |
|
|
| 22 Dec 2013 01:35 AM |
local Gui = game.Players.LocalPlayer.PlayerGui.StartMenu
local TextOne = Gui.TitleFrame.TextOne local TextTwo = Gui.TitleFrame.TextTwo local Gradient = Gui.Gradient
function Introduction() repeat Wait() until script.Parent == game.Players.LocalPlayer.PlayerGui wait(1.5) for i = 1, 0, -0.1 do wait(0.05) TextOne.TextTransparency = i end wait(0.55) for i = 1, 0, -0.1 do wait(0.05) TextTwo.TextTransparency = i end wait(0.8) for i = 0, 1, 0.1 do wait(0.05) Gradient.BackgroundTransparency = i end wait(0.51) Gradient.Visible = false wait(2) Exit:TweenPosition(UDim2.new(0, 0, 0, 120), "Out", "Linear", 0.3) wait(0.35) UpdateLog:TweenPosition(UDim2.new(0, 0, 0, 80), "Out", "Linear", 0.3) wait(0.35) About:TweenPosition(UDim2.new(0, 0, 0, 40), "Out", "Linear", 0.3) wait(0.35) Enter:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Linear", 0.3) wait(0.5) script.Disabled = true end
if 1==1 then Introduction() -- This should do it, end |
|
|
| Report Abuse |
|
|
Cizox
|
  |
| Joined: 25 Dec 2009 |
| Total Posts: 42220 |
|
| |
|
|
| |
|
|
| |
|
»
»
|
|
|
|
|