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
 

Help please

Previous Thread :: Next Thread 
BetaWolfE is not online. BetaWolfE
Joined: 07 Mar 2011
Total Posts: 63
24 Dec 2011 08:52 AM
I have a LocalScript inside a text label inside a frame inside a screen GUI. This works with one player but not with 2 or more. Help please. Its supposed to have a loadig GUI. It works but not with 2 or more players. Its supposed to start at the beginning of the game. Help?

while true do
x = script.Parent
x.Text = "Loading"
wait(.5)
x.Text = "Loading."
wait(.5)
x.Text = "Loading.."
wait(.5)
x.Text = "Loading..."
wait(.5)
x.Text = "Loading"
wait(.5)
x.Text = "Loading."
wait(.5)
x.Text = "Loading.."
wait(.5)
x.Text = "Loading..."
wait(.1)
game.Lighting.GAME.Parent = game.Workspace
x.TextTransparency = 0
wait(.1)
x.TextTransparency = 0.1
wait(.1)
x.TextTransparency = 0.2
wait(.1)
x.TextTransparency = 0.3
wait(.1)
x.TextTransparency = 0.4
wait(.1)
x.TextTransparency = 0.5
wait(.1)
x.TextTransparency = 0.6
wait(.1)
x.TextTransparency = 0.7
wait(.1)
x.TextTransparency = 0.8
wait(.1)
x.TextTransparency = 0.9
wait(.1)
x.TextTransparency = 1
wait(.1)
x.FontSize = "Size24"
x.Text = "Programmed with ROBLOX Lua"
wait(.1)
x.TextTransparency = 0.9
wait(.1)
x.TextTransparency = 0.8
wait(.1)
x.TextTransparency = 0.7
wait(.1)
x.TextTransparency = 0.6
wait(.1)
x.TextTransparency = 0.5
wait(.1)
x.TextTransparency = 0.4
wait(.1)
x.TextTransparency = 0.3
wait(.1)
x.TextTransparency = 0.2
wait(.1)
x.TextTransparency = 0.1
wait(.1)
x.TextTransparency = 0
wait(5)
x.TextTransparency = 0.1
wait(.1)
x.TextTransparency = 0.2
wait(.1)
x.TextTransparency = 0.3
wait(.1)
x.TextTransparency = 0.4
wait(.1)
x.TextTransparency = 0.5
wait(.1)
x.TextTransparency = 0.6
wait(.1)
x.TextTransparency = 0.7
wait(.1)
x.TextTransparency = 0.8
wait(.1)
x.TextTransparency = 0.9
wait(.1)
x.TextTransparency = 1
wait(.1)
x.FontSize = "Size48"
wait(.1)
x.Text = " Welcome to..."
wait(.1)
x.TextTransparency = 0.9
wait(.1)
x.TextTransparency = 0.8
wait(.1)
x.TextTransparency = 0.7
wait(.1)
x.TextTransparency = 0.6
wait(.1)
x.TextTransparency = 0.5
wait(.1)
x.TextTransparency = 0.4
wait(.1)
x.TextTransparency = 0.3
wait(.1)
x.TextTransparency = 0.2
wait(.1)
x.TextTransparency = 0.1
wait(.1)
x.TextTransparency = 0
wait(5)
x.TextTransparency = 0.1
wait(.1)
x.TextTransparency = 0.2
wait(.1)
x.TextTransparency = 0.3
wait(.1)
x.TextTransparency = 0.4
wait(.1)
x.TextTransparency = 0.5
wait(.1)
x.TextTransparency = 0.6
wait(.1)
x.TextTransparency = 0.7
wait(.1)
x.TextTransparency = 0.8
wait(.1)
x.TextTransparency = 0.9
wait(.1)
x.TextTransparency = 1
wait(.1)
x.Text = "Black Soul"
wait(.1)
x.TextTransparency = 0.9
wait(.1)
x.TextTransparency = 0.8
wait(.1)
x.TextTransparency = 0.7
wait(.1)
x.TextTransparency = 0.6
wait(.1)
x.TextTransparency = 0.5
wait(.1)
x.TextTransparency = 0.4
wait(.1)
x.TextTransparency = 0.3
wait(.1)
x.TextTransparency = 0.2
wait(.1)
x.TextTransparency = 0.1
wait(.1)
x.TextTransparency = 0
wait(5)
x.TextTransparency = 0.1
wait(.1)
x.TextTransparency = 0.2
wait(.1)
x.TextTransparency = 0.3
wait(.1)
x.TextTransparency = 0.4
wait(.1)
x.TextTransparency = 0.5
wait(.1)
x.TextTransparency = 0.6
wait(.1)
x.TextTransparency = 0.7
wait(.1)
x.TextTransparency = 0.8
wait(.1)
x.TextTransparency = 0.9
wait(.1)
x.TextTransparency = 1
wait(.1)
f = script.Parent.Parent
wait(.1)
f.BackgroundTransparency = 0.1
wait(.1)
f.BackgroundTransparency = 0.2
wait(.1)
f.BackgroundTransparency = 0.3
wait(.1)
f.BackgroundTransparency = 0.4
wait(.1)
f.BackgroundTransparency = 0.5
wait(.1)
f.BackgroundTransparency = 0.6
wait(.1)
f.BackgroundTransparency = 0.7
wait(.1)
f.BackgroundTransparency = 0.8
wait(.1)
f.BackgroundTransparency = 0.9
wait(.1)
f.BackgroundTransparency = 1
p = script.Parent.Parent.Parent
p:remove()
end
Report Abuse
NeonBlox is not online. NeonBlox
Joined: 19 Oct 2008
Total Posts: 1462
24 Dec 2011 09:27 AM
I didn't look through it for a error, but instead of saying "x.TextTransparency = #" so many times, just do this.

for i = 0,1,.1 do
x.TextTransparency = i
end

To subtract it, use this.

for i = 0,1,-.1 do
x.TextTransparency = i
end
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