This script is supposed to teleport you back and forth and it works until you die.
script.Parent.Lobby.MouseEnter:connect(function() for i = 1,25 do game:GetService("RunService").RenderStepped:wait() script.Parent.Lobby.TextColor3 = Color3.new(script.Parent.Lobby.TextColor3.r - .04,script.Parent.Lobby.TextColor3.g - .04,script.Parent.Lobby.TextColor3.b - .04) script.Parent.Lobby.BackgroundColor3 = Color3.new(script.Parent.Lobby.BackgroundColor3.r + .04,script.Parent.Lobby.BackgroundColor3.g + .04,script.Parent.Lobby.BackgroundColor3.b + .04) script.Parent.Lobby.BorderColor3 = Color3.new(script.Parent.Lobby.BorderColor3.r - .04,script.Parent.Lobby.BorderColor3.g - .04,script.Parent.Lobby.BorderColor3.b - .04) end end) script.Parent.Lobby.MouseLeave:connect(function() for i = 1,25 do game:GetService("RunService").RenderStepped:wait() script.Parent.Lobby.TextColor3 = Color3.new(script.Parent.Lobby.TextColor3.r + .04,script.Parent.Lobby.TextColor3.g + .04,script.Parent.Lobby.TextColor3.b + .04) script.Parent.Lobby.BackgroundColor3 = Color3.new(script.Parent.Lobby.BackgroundColor3.r - .04,script.Parent.Lobby.BackgroundColor3.g - .04,script.Parent.Lobby.BackgroundColor3.b - .04) script.Parent.Lobby.BorderColor3 = Color3.new(script.Parent.Lobby.BorderColor3.r + .04,script.Parent.Lobby.BorderColor3.g + .04,script.Parent.Lobby.BorderColor3.b + .04) end end) script.Parent.Lobby.MouseButton1Down:connect(function() for i = 1,25 do game:GetService("RunService").RenderStepped:wait() script.Parent.Lobby.TextColor3 = Color3.new(script.Parent.Lobby.TextColor3.r + .04,script.Parent.Lobby.TextColor3.g + .04,script.Parent.Lobby.TextColor3.b + .04) script.Parent.Lobby.BackgroundColor3 = Color3.new(script.Parent.Lobby.BackgroundColor3.r - .04,script.Parent.Lobby.BackgroundColor3.g - .04,script.Parent.Lobby.BackgroundColor3.b - .04) script.Parent.Lobby.BorderColor3 = Color3.new(script.Parent.Lobby.BorderColor3.r + .04,script.Parent.Lobby.BorderColor3.g + .04,script.Parent.Lobby.BorderColor3.b + .04) end local gui = Instance.new("ScreenGui",plr.PlayerGui) local frame = Instance.new("Frame",gui) frame.Size = UDim2.new(1,100,1,100) frame.BackgroundTransparency = 1 frame.BackgroundColor3 = Color3.new(0,0,0) for i = 1,0,-.1 do game:GetService("RunService").RenderStepped:wait() frame.BackgroundTransparency = i end if script.Parent.Lobby.Playing.Value == false then chr.Torso.CFrame = CFrame.new(232, 3, 10) script.Parent.Lobby.Playing.Value = true script.Parent.TValue.Value = true else script.Parent.Lobby.Playing.Value = false script.Parent.TValue.Value = false chr.Torso.CFrame = CFrame.new(68, -142, -56) end for i = 0,1,.1 do game:GetService("RunService").RenderStepped:wait() frame.BackgroundTransparency = i end gui:Destroy() end)
No errors either.