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
 

Re: PlayerGUI Help

Previous Thread :: Next Thread 
choccobitz is not online. choccobitz
Joined: 19 Nov 2011
Total Posts: 30
13 Jul 2013 05:21 AM
I'm a beginning scripter, basically I don't know how to access the player gui once i insert the gui. the error is on line 4.

function onTouched(hit)
local intro = game.Lighting.Msg1:clone()
intro.Parent = plr.PlayerGui
wait(5)
plr.PlayerGui.Msg1:destroy() <-- This is the wrong part
end

script.Parent.Touched:connect(onTouched)
Report Abuse
choccobitz is not online. choccobitz
Joined: 19 Nov 2011
Total Posts: 30
13 Jul 2013 05:26 AM
Please help I know I am a nooby scripter but I need another scripter to help me
Report Abuse
GingerChipmunk is not online. GingerChipmunk
Joined: 04 Aug 2012
Total Posts: 120
13 Jul 2013 05:38 AM
I think you need to put a space like this.

wait (5)

Did it work?
Report Abuse
choccobitz is not online. choccobitz
Joined: 19 Nov 2011
Total Posts: 30
13 Jul 2013 05:58 AM
no :(
Report Abuse
TalentGoesBy is not online. TalentGoesBy
Joined: 08 Jun 2013
Total Posts: 4775
13 Jul 2013 05:59 AM
Define "Plr"
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
13 Jul 2013 06:05 AM
Ginger, what are you talking about?



function onTouched(hit)
local intro = game.Lighting.Msg1:clone()
local user = game.Players:GetPlayerFromCharacter(hit.Parent)
if user then intro.Parent = user.PlayerGui
wait(5)
user.PlayerGui.Msg1:remove()
end

script.Parent.Touched:connect(onTouched)




Scripting Tutorials: youtube.com/user/smiley599roblox
Report Abuse
choccobitz is not online. choccobitz
Joined: 19 Nov 2011
Total Posts: 30
13 Jul 2013 06:16 AM
thanks smiley
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
13 Jul 2013 06:36 AM
Anytime pal...did it work?

Scripting Tutorials: youtube.com/user/smiley599roblox
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