of     1   

Wowgnomes
#96136974Sunday, April 28, 2013 2:07 PM GMT

It doesn't work putting the script in startergui, as it runs everytime. This script isn't working either game.Players.playerAdded:connect(function(player) Clone.Parent = player.StarterGui Clone.Disabled = false
Wowgnomes
#96137117Sunday, April 28, 2013 2:09 PM GMT

that script should clone the script and move it into their starterpack once they join the server
Prizful
#96137503Sunday, April 28, 2013 2:15 PM GMT

I'm not an Expert but I'm pretty sure, the game.Players.PlayerAdded:connect(function(Forget what you said here,) Should be at the end, this script will probably not work but heres and example, function s(OnTouched) game.Workspace.ThatBrick.Touched.findFirst("Humanoid") More coding..... more..... end game.Workspace.Thatbrick.Touched:connect(OnTouched) I believe that's how it works.
Wowgnomes
#96137550Sunday, April 28, 2013 2:15 PM GMT

Isn't that just a shorthand if you're using the same function many times?
Prizful
#96137673Sunday, April 28, 2013 2:17 PM GMT

I'm not sure. That's how I learned it. After end you add the connecting line. But, I'm only a beginner so I could be wrong. Just thought I could help :/ ~Lua Learner~
As8D
#96137793Sunday, April 28, 2013 2:19 PM GMT

Dunno what the rest of your script is, but I see the "Clone" variable as nil. I assume you have local Clone = script somewhere before in the script. But I just think "You're cloning the script without any checks or so..." Uh, bad explanation ^ But yeah, you're missing something that will stop it from cloning itself when located in the PlayerGui or so. I won't help you at that point. - As, CustomEventReceiverwhaaat?
Wowgnomes
#96137949Sunday, April 28, 2013 2:21 PM GMT

sorry its this: Clone = script.welcomescript:clone() it isn't cloning itself but another script named welcomescript
As8D
#96138104Sunday, April 28, 2013 2:23 PM GMT

Okay... Hold on a second! StarterGui... ahem *cough*... Try PlayerGui c:! - As, hm, didn't knew about Players having StarterGuis in them.
UnBuild
#96139619Sunday, April 28, 2013 2:44 PM GMT

Im lazy so I always just put a object (Normally a model) in the player from the welcome gui and name it something and have the welcome gui check if its there, if it is remove the gui
btft
#96140038Sunday, April 28, 2013 2:48 PM GMT

--define clone pls game.Players.PlayerAdded:connect(function(player) Clone.Parent = player.StarterGui Clone.Disabled = false end)
btft
#96140110Sunday, April 28, 2013 2:49 PM GMT

game.Players.PlayerAdded:connect(function(player) --define clone pls Clone.Parent = player.StarterGui Clone.Disabled = false end) srry
Wowgnomes
#96204793Monday, April 29, 2013 1:07 AM GMT

this script game.Players.PlayerAdded:connect(function(player) Clone = script.Parent.welcomescript:Clone() Clone.Parent = player.StarterGui Clone.Disabled = false end) didn't work, any suggestions
KnightmareXD
#96205635Monday, April 29, 2013 1:14 AM GMT

    Game.Players.PlayerAdded:connect(function(player)     local Clone = script.Parent.welcomescript:Clone()     Clone.Parent = player:WaitForChild("PlayerGui")     Clone.Disabled = false     end) (╯°д°)> KMXD
Wowgnomes
#96206891Monday, April 29, 2013 1:25 AM GMT

That isn't working and there is no output, he doesn't have it in startergui though
Wowgnomes
#96209904Monday, April 29, 2013 1:51 AM GMT

thanks for trying to help though guys
Wowgnomes
#96213743Monday, April 29, 2013 2:29 AM GMT

i messed around with the code a bit and the correct thing is function touch(player) while player:FindFirstChild("PlayerGui") == nil do wait(.1) end p = game.Lighting.special:clone() p.Parent = player.PlayerGui end game.Players.PlayerAdded:connect(touch)
jonesj627
#96213969Monday, April 29, 2013 2:32 AM GMT

yo You only run once thats lua, scripts yoro
UnBuild
#96219885Monday, April 29, 2013 3:39 AM GMT

@Wow Player:WaitForChild("PlayerGui")
gullet
#139270128Saturday, July 05, 2014 1:45 AM GMT

Super late but THANKS<3

    of     1