Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Use This Script To TP To A Player:
- local pl = game.Players.LocalPlayer.Character.HumanoidRootPart
- local pl2 = "Name Of The Player You Wanna TP To Here"
- local humanoid = game.Players.LocalPlayer.Character.Humanoid
- humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
- wait(0.1)
- pl.CFrame = game.Players[pl2].Character.HumanoidRootPart.CFrame
- --Use This Script To Get Your Current CFrame (Will Be Shown In The Dev Console (F9) ):
- local pl = game.Players.LocalPlayer.Character.HumanoidRootPart
- setclipboard(tostring(pl.CFrame))
- local pl = game.Players.LocalPlayer.Character.HumanoidRootPart
- setclipboard(tostring(pl.CFrame))
- --Use This Script To TP To A CFrame Location:
- local pl = game.Players.LocalPlayer.Character.HumanoidRootPart
- local location = CFrame.new(Put Your CFrame Inside Of Here)
- local humanoid = game.Players.LocalPlayer.Character.Humanoid
- humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
- wait(0.1)
- pl.CFrame = location
- --Use This Script To TP [TWEEN] To A CFrame Location:
- local CFrameEnd = CFrame.new(0, 0, 0)
- local Time = 5
- local tween = game:GetService("TweenService"):Create(game.Players.LocalPlayer.Character.HumanoidRootPart, TweenInfo.new(Time), {CFrame = CFrameEnd})
- tween:Play()
- tween.Completed:Wait()
- --- local info = TweenInfo.new(5 (Put as any number desired)
- ---- Lower the number faster the teleport is
- local plr = game:service"Players".LocalPlayer;
- local tween_s = game:service"TweenService";
- local info = TweenInfo.new(5,Enum.EasingStyle.Quad);
- function tp(...)
- local tic_k = tick();
- local params = {...};
- local cframe = CFrame.new(params[1],params[2],params[3]);
- local tween,err = pcall(function()
- local tween = tween_s:Create(plr.Character["HumanoidRootPart"],info,{CFrame=cframe});
- tween:Play();
- end)
- if not tween then return err end
- end
- tp(cords here);
- --tp to placeid
- placeid = 5552815761 --change this to the place id you want
- tp = game:GetService('TeleportService')
- for i,v in pairs (game.Players:GetChildren()) do
- tp:Teleport(placeid, v)
- end
- --tp part to me
- for _,v next, game.Workspace.Coins:GetDescendants() do
- if v.Name == "Coin" then
- game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
- end
- end
- --tp to part
- local LP = game:GetService("Players").LocalPlayer;
- for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
- if v:IsA("Folder") and string.match(v.Name, "NAME") then
- for i2,v2 in pairs(v:GetChildren()) do
- LP.Character.HumanoidRootPart.CFrame = v2.CFrame;
- wait(0.2);
- end
- end
- end
- -- tp random player
- local randomPlayer = game.Players:GetPlayers()
- [math.random(1,#game.Players:GetPlayers())]
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(randomPlayer.Character.Head.Position.X, randomPlayer.Character.Head.Position.Y, randomPlayer.Character.Head.Position.Z))
Add Comment
Please, Sign In to add comment