lua local prompt = script.Parent local loaderFrame = game.ReplicatedStorage.Main.UI.Loader:Clone() local ts = game:GetService("TweenService") prompt.Triggered:Connect(function(player) if player.leaderstats.Rebirths.Value >= 1 then loaderFrame.Parent = player.PlayerGui.LoaderUI local tween1 = ts:Create(loaderFrame, TweenInfo.new(1), {Transparency = 0}) local tween2 = ts:Create(loaderFrame, TweenInfo.new(1), {Transparency = 1}) tween1:Play() wait(3) player.Character.HumanoidRootPart.CFrame = CFrame.new(workspace.Main.Portals.DesertTeleportPart.Position) tween2:Play() wait(2) loaderFrame:Destroy() end end)
#Cant Teleport?
14 messages · Page 1 of 1 (latest)
are you attempting to teleport inside of a localscript or a normal script
@coarse marsh i tried both
** You are now Level 4! **
i first tried to use it in a server script
i then tried using a remote event to fire in a local script
but it didnt work