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 » Scripting Helpers
Home Search
 

Gui Script Help

Previous Thread :: Next Thread 
Cizox is not online. 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 is not online. 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 is not online. Cizox
Joined: 25 Dec 2009
Total Posts: 42220
22 Dec 2013 04:35 PM
Still doesn't work.
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