Hi, I made a script which gives you a Gui, and when you click it you start game and another Gui should appear, but it doesn't, I drag the Gui from Lighting to StarterGui and it appears, But when I use the script to clone it, It won't work, and I don't know why. Here's the script:
local i = script.Parent
local map = workspace.sa
local gui = script.Parent.Parent.Parent
local tele = game.Lighting.Tele
function onButtonClicked()
local plr = game.Players.LocalPlayer
local character = plr.Character
character:MoveTo(map.Position)
tele:Clone().Parent = game.StarterGui
script.Parent.Parent.Parent:Destroy()
end
i.MouseButton1Down:connect(onButtonClicked)

2 comments
Thanks man, Cheers!
No prob, glad to help :P