Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to clone a gui to PlayerGui from a Dialog?

Asked by 10 years ago
function onClick(clicker) --Parameter there just incase
    x = game.ServerScriptService.["Quest1"]:clone()
    x.Parent =  ??????

end

I can't find a way to trace the character that accepted the from the script... I want to clone a gui from ServerScriptService into the players PlayerGui.

1 answer

Log in to vote
1
Answered by 10 years ago

Instead of clicker, it might be better to do something like plr player, then do x.Parent = plr (or player)

Ad

Answer this question