How do I clone a text button to a specific position on the screen? Thanks! This is my code:
local purchases = game.Players.LocalPlayer.leaderstats.Purchases
local cloned = game.ReplicatedStorage.Tools.Desert:Clone()
purchases.Changed:Connect(function()
if purchases.Value == 1 then
print("Hi")
script.Parent.Visible = true
cloned.Parent = game.Startergui.ScreenGui.Frame1
cloned.Position - ("0.415, 0,0.116, 0")
else
print("Bye")
script.Parent.Visible = false
end
end)

1 comment
Vector3 is for the worldspace...UDim is for GUI's