So this script is inside StarterGUI inside a GUI that has a text button, it is a script, not a local script, and it dosen't work anymore, can anyone help?
--[[
--]]
function Click()
script.Parent.Parent.Button.Text = "Teleporting..."
wait(0.5)
script.Parent.Parent.Button.Text = "Teleporting."
wait(0.5)
script.Parent.Parent.Button.Text = "Teleporting.."
wait(0.5)
script.Parent.Parent.Button.Text = "Teleporting..."
wait(0.5)
script.Parent.Parent.Button.Text = "Teleporting."
wait(0.5)
script.Parent.Parent.Button.Text = "Teleporting.."
wait(0.5)
script.Parent.Parent.Button.Text = "Teleporting..."
wait(0.5)
script.Parent.Parent.Button.Text = "Teleporting."
wait(0.5)
script.Parent.Parent.Button.Text = "Teleporting.."
script.Parent.Parent.Parent.Parent.Character.UpperTorso.CFrame = CFrame.new(0, 0.5, 4.7) -- Place ace location coordinates here!
script.Parent.Parent.Button.Text = "Ready."
wait(2)
script.Parent.Parent.Button.Text = "Teleport"
end
script.Parent.MouseButton1Down:connect(Click)

1 comment
I presume you've got FilteringEnabled, therefore any changes to objects should be done by scripts inside ScriptService through use of RemoteEvent, RemoteFunction