Hi, I made a Gui script, It's meant to change the text and font whenever it's clicked: If the text is ""Teleport to Bottom (Draggable)" then it should change the text to "Teleport to Top", But the text doesn't change at all and I don't know why!
local tel = script.Parent
local Tel = game.Workspace.Tel1
function Click(Mouse)
local plr = game.Players.LocalPlayer
local character = plr.Character
character:MoveTo(Tel.Position)
if (tel.Text == "Teleport to Bottom (Draggable)") and (tel.FontSize == "Size11") then
tel.Text = "Teleport to Top"
tel.FontSize = "Size12"
elseif tel.Text == "Teleport to Top" and tel.FontSize == "Size12" then
tel.Text = "Teleport to Top"
tel.FontSize = "Size12"
end
end
tel.MouseButton1Down:connect(Click)
Thanks for the help :P

2 comments
Thanks, I didn't anything about Enum, Guess that's what confused me.
No problem!