Please Help!
local telebutton = script.Parent:WaitForChild("Background")
local background = script.Parent:FindFirstChild("Background")
local player = game.Players.LocalPlayer
local countdown = script.Parent:FindFirstChild("Background1")
local cvalue = script.Parent:FindFirstChild("Countdown")
telebutton.TeleButton.MouseButton1Click:connect(function()
background.Visible = false
player.Character.UpperTorso.CFrame = CFrame.new(workspace.Teleport.Position)
player.Character.Humanoid.WalkSpeed = 0
countdown.Visible = true
countdown.TextLabel.Text = cvalue.Value
repeat wait(1)
cvalue.Value = cvalue.Value - 1
countdown.TextLabel.Text = cvalue.Value
until cvalue.Value == 0
countdown.Visible = false
cvalue.Value = 5
player.Character.Humanoid.WalkSpeed = 25
player.Character.Humanoid.JumpPower = 50
end)

7 comments
Any errors?
No, its really weird
wait is the title backwards or
https://scriptinghelpers.org/blog/it-works-in-studio-but-not-online
What do you mean by is the title backwards?
i fixed this issue but now nothing else in the server script I have isnt working..
If the script is working in game, there is nothing to worry about!