|
| 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 |
|
|
|
| 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 |
|
|
|
| 13 Jul 2013 05:38 AM |
I think you need to put a space like this.
wait (5)
Did it work? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
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 |
|
|
| |
|
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 |
|
|