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: halp?

Previous Thread :: Next Thread 
Curosity is not online. 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 is not online. amanda
Joined: 21 Nov 2006
Total Posts: 5925
02 Apr 2015 06:50 PM
output
Report Abuse
baldo46 is not online. 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 is not online. 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 is not online. 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 is not online. Curosity
Joined: 18 Aug 2010
Total Posts: 1085
02 Apr 2015 06:59 PM
-3-
Report Abuse
awotn is not online. 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 is not online. Curosity
Joined: 18 Aug 2010
Total Posts: 1085
02 Apr 2015 07:06 PM
^^^
Doesnt work
Report Abuse
awotn is not online. 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 is not online. 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
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