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 » Scripters
Home Search
 

Re: ScreenGUI

Previous Thread :: Next Thread 
Cryllus is not online. Cryllus
Joined: 14 Nov 2010
Total Posts: 223
11 Aug 2016 03:50 AM
So I have this screen gui set up so that when a part hits a transparency, it goes to a transparency of 1. However, it doesn't happen.

It's an extremely simple script, I just don't understand why.

while true do
wait(0.2)
if script.Parent.Transparency == 1
then
game.StarterGui.ScreenGui.TextLabel.TextTransparency = 1
else
game.StarterGui.ScreenGui.TextLabel.TextTransparency = 0
end
end

Note: The transparency only changes after I reset - which I would not like to happen.
Report Abuse
RoyStanford is not online. RoyStanford
Joined: 21 Oct 2008
Total Posts: 2222
11 Aug 2016 03:54 AM
Changing the StarterGui only changes what players will see when they respawn. You have to edit that particular players PlayerGui

game.Players["PLAYERNAME"].PlayerGui.ScreenGui.TextLabel.TextTransparency = 1
Report Abuse
Cryllus is not online. Cryllus
Joined: 14 Nov 2010
Total Posts: 223
11 Aug 2016 04:17 AM
@Ray Thanks mate :)
Report Abuse
Happywalker is not online. Happywalker
Joined: 05 Mar 2010
Total Posts: 3672
11 Aug 2016 04:57 AM
You wouldn't access a player's GUI from the server anyways
Report Abuse
Cryllus is not online. Cryllus
Joined: 14 Nov 2010
Total Posts: 223
11 Aug 2016 02:10 PM
Which is why I switched over to a local script in starter Pack.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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