Curosity
|
  |
| Joined: 18 Aug 2010 |
| Total Posts: 1085 |
|
|
| 02 Apr 2015 06:49 PM |
Why doesnt this script work:
game.Players.PlayerAdded:connect(function(p) p.PlayerGui.Intro.IntroPart.Visible = true local a = p.PlayerGui.Intro.IntroPart p.PlayerGui.Intro.IntroPart.Visible = true wait(3.5) p.PlayerGui.Intro.IntroPart.Text = "Shedletsky: I kinda regret this update!" wait(3.5) p.PlayerGui.Intro.IntroPart.Text = "MattDusek: HA! I don't! You know how much money were making?!" wait(3.5) p.PlayerGui.Intro.IntroPart.Text = "Sorcus: Ya, I agree with matt. The ULTRA-MEGA-SUPER-DUPER Builders Club Update Was WORTH IT." wait(3.5) p.PlayerGui.Intro.IntroPart.Text = "Shedletsky: Even Worth All Our Players Hating Us?" wait(3.5) p.PlayerGui.Intro.IntroPart.Text = "Sorcus: Yup." wait(1.5) p.PlayerGui.Intro.IntroPart.Visible = false p.PlayerGui.Intro.IntroPart.BackgroundTransparency = 1 p.PlayerGui.Intro.IntroPart.TextTransparency = 1 p.PlayerGui.Intro.IntroPart.Text = " "
end)
Im to lazy to write out the problems. It just doesnt show up |
|
|
| Report Abuse |
|
|
amanda
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
| |
|
baldo46
|
  |
| Joined: 28 Jul 2008 |
| Total Posts: 1254 |
|
|
| 02 Apr 2015 06:52 PM |
I think the real problem is you set a variable and are not using it. #wasteful
|
|
|
| Report Abuse |
|
|
Curosity
|
  |
| Joined: 18 Aug 2010 |
| Total Posts: 1085 |
|
|
| 02 Apr 2015 06:53 PM |
| I don't see anything in output, so is their really nothing wrong with this script -3- |
|
|
| Report Abuse |
|
|
Curosity
|
  |
| Joined: 18 Aug 2010 |
| Total Posts: 1085 |
|
|
| 02 Apr 2015 06:54 PM |
| oh, and this script is in a textbox in a gui in startergui |
|
|
| Report Abuse |
|
|
Curosity
|
  |
| Joined: 18 Aug 2010 |
| Total Posts: 1085 |
|
| |
|
awotn
|
  |
| Joined: 01 Nov 2014 |
| Total Posts: 226 |
|
|
| 02 Apr 2015 07:01 PM |
haha
i found problem right away
they player does not have time to load the player gui using playeradded function
add a wait of like 1 second after playeradded function
easy fix |
|
|
| Report Abuse |
|
|
Curosity
|
  |
| Joined: 18 Aug 2010 |
| Total Posts: 1085 |
|
| |
|
awotn
|
  |
| Joined: 01 Nov 2014 |
| Total Posts: 226 |
|
|
| 02 Apr 2015 07:07 PM |
then you have to use more time
for exactness use player:WaitForChild('PlayerGui') |
|
|
| Report Abuse |
|
|
Curosity
|
  |
| Joined: 18 Aug 2010 |
| Total Posts: 1085 |
|
|
| 02 Apr 2015 07:11 PM |
This code is in a localscript in workspace, and this is the code
game.Players.PlayerAdded:connect(function(p) p:WaitForChild('PlayerGui') p.PlayerGui.Intro.IntroPart.Visible = true
p.PlayerGui.Intro.IntroPart.Visible = true wait(3.5) p.PlayerGui.Intro.IntroPart.Text = "Shedletsky: I kinda regret this update!" wait(3.5) p.PlayerGui.Intro.IntroPart.Text = "MattDusek: HA! I don't! You know how much money were making?!" wait(3.5) p.PlayerGui.Intro.IntroPart.Text = "Sorcus: Ya, I agree with matt. The ULTRA-MEGA-SUPER-DUPER Builders Club Update Was WORTH IT." wait(3.5) p.PlayerGui.Intro.IntroPart.Text = "Shedletsky: Even Worth All Our Players Hating Us?" wait(3.5) p.PlayerGui.Intro.IntroPart.Text = "Sorcus: Yup." wait(1.5) p.PlayerGui.Intro.IntroPart.Visible = false p.PlayerGui.Intro.IntroPart.BackgroundTransparency = 1 p.PlayerGui.Intro.IntroPart.TextTransparency = 1 p.PlayerGui.Intro.IntroPart.Text = " "
end)
STILL DOESNT WORKI!!!! |
|
|
| Report Abuse |
|
|