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: Can you help with this?

Previous Thread :: Next Thread 
NICCO890 is not online. NICCO890
Joined: 04 Jun 2013
Total Posts: 339
13 Mar 2015 10:48 PM
Okay, so I wanted to make the GUI I made to say the player's name but it won't work, any help on to this:

local function touch(part)
local parent = part.Parent
if game.Players:GetPlayerFromCharacter(parent)then
script.Parent.Script.Disabled = true
print(parent)
wait(0.1)
parent.Humanoid.WalkSpeed = 0
script.Parent.TextTransparency = 1
wait(.1)
script.Parent.TextTransparency = 0.7
wait(.1)
script.Parent.TextTransparency = 0.5
wait(.1)
script.Parent.TextTransparency = 0.3
wait(.1)
script.Parent.TextTransparency = 0.1
wait(.1)
script.Parent.TextTransparency = 0
wait(1)
script.Parent.TextTransparency = 0.1
wait(.1)
script.Parent.TextTransparency = 0.3
wait(.1)
script.Parent.TextTransparency = 0.5
wait(.1)
script.Parent.TextTransparency = 0.7
wait(.1)
script.Parent.TextTransparency = 1
wait(.1)
script.Parent.Parent.TextLabel.Text = "Welcome"parent"To the game" <---[Here]
script.Parent.Parent.TextLabel.TextTransparency = 1
wait(.1)
script.Parent.Parent.TextLabel.TextTransparency = 0.7
wait(.1)
script.Parent.Parent.TextLabel.TextTransparency = 0.5
wait(.1)
script.Parent.Parent.TextLabel.TextTransparency = 0.3
wait(.1)
script.Parent.Parent.TextLabel.TextTransparency = 0.1
wait(.1)
script.Parent.Parent.TextLabel.TextTransparency = 0
wait(1)
script.Parent.Parent.TextLabel.TextTransparency = 0.1
wait(.1)
script.Parent.Parent.TextLabel.TextTransparency = 0.3
wait(.1)
script.Parent.Parent.TextLabel.TextTransparency = 0.5
wait(.1)
script.Parent.Parent.TextLabel.TextTransparency = 0.7
wait(.1)
script.Parent.Parent.TextLabel.TextTransparency = 1
parent.Humanoid.WalkSpeed = 5.5
end
end
game.Workspace.SpawnLocation.Touched:connect(touch)
Report Abuse
Laedere is online. Laedere
Joined: 17 Jun 2013
Total Posts: 23601
13 Mar 2015 10:52 PM
you need to learn about loops
Report Abuse
NICCO890 is not online. NICCO890
Joined: 04 Jun 2013
Total Posts: 339
13 Mar 2015 10:53 PM
@Laedere Why do I need loops? I just need to print the player's name.
Report Abuse
LivelyIdiot is not online. LivelyIdiot
Joined: 22 Oct 2011
Total Posts: 1
13 Mar 2015 10:56 PM
youtube
Report Abuse
RobuxLife is not online. RobuxLife
Joined: 19 Sep 2012
Total Posts: 13336
13 Mar 2015 10:56 PM
Loops are better because

1. less laggy
2. makes your script shorter
3. more efficient
Report Abuse
NICCO890 is not online. NICCO890
Joined: 04 Jun 2013
Total Posts: 339
13 Mar 2015 10:57 PM
@RobuxLife I know that but that doesn't relate to my problem. D';
Report Abuse
unwarranted is not online. unwarranted
Joined: 05 Jun 2009
Total Posts: 1087
13 Mar 2015 11:15 PM
Text = ("Welcome, "..Player.Name.." to the game!")
something like that
Report Abuse
NICCO890 is not online. NICCO890
Joined: 04 Jun 2013
Total Posts: 339
14 Mar 2015 02:19 AM
@unwarranted Thank you, it worked! :D
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