Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- @Author: Banqr/Sodium
- @Game: Universal Bypass Anticheat TP TOOL
- @Description: This script creates a teleportation tool with tweening effects to smoothly teleport the player to a clicked position.
- @Dependencies: TeleportPlayer, WritePlayer, GiveTool, RobloxPlace
- ----------------READ ME----------------
- This script provides a teleportation tool that utilizes tweening to move the player to a desired location.
- The tool is designed to blend with the player's movement speed to reduce the likelihood of detection by anti-cheat systems.
- ]]
- local TweenService = game:GetService("TweenService")
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- local function createTeleportTool()
- local tool = Instance.new("Tool")
- tool.Name = "TeleportTool"
- tool.RequiresHandle = false
- tool.Parent = LocalPlayer.Backpack
- tool.TextureId = "rbxassetid://17684874568"
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://2751122980"
- sound.Volume = 1
- sound.Looped = true
- sound.Parent = tool
- local function createGrapplingEffect(startPos, endPos)
- local part = Instance.new("Part")
- part.Size = Vector3.new(0.2, 0.2, (startPos - endPos).Magnitude)
- part.Anchored = true
- part.CanCollide = false
- part.Position = (startPos + endPos) / 2
- part.CFrame = CFrame.lookAt(startPos, endPos) * CFrame.new(0, 0, -part.Size.Z / 2)
- part.Color = Color3.new(0, 0, 0)
- part.Material = Enum.Material.Fabric
- part.Parent = workspace
- game:GetService("Debris"):AddItem(part, 1)
- end
- local function onActivated()
- local mouse = LocalPlayer:GetMouse()
- local targetPosition = mouse.Hit.Position
- local teleportPart = Instance.new("Part")
- teleportPart.Size = Vector3.new(1, 1, 1)
- teleportPart.Anchored = true
- teleportPart.CanCollide = false
- teleportPart.Position = LocalPlayer.Character.HumanoidRootPart.Position
- local mesh = Instance.new("SpecialMesh", teleportPart)
- mesh.MeshId = "rbxassetid://14070473131"
- mesh.Scale = Vector3.new(1, 1, 1)
- teleportPart.Parent = workspace
- local tweenInfo = TweenInfo.new(
- 1,
- Enum.EasingStyle.Linear,
- Enum.EasingDirection.InOut,
- 0,
- false,
- 0
- )
- local tweenGoal = {Position = targetPosition}
- local tween = TweenService:Create(teleportPart, tweenInfo, tweenGoal)
- local function followTeleportPart()
- LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(teleportPart.Position)
- end
- tween:Play()
- local connection
- connection = game:GetService("RunService").RenderStepped:Connect(function()
- if teleportPart then
- followTeleportPart()
- end
- end)
- createGrapplingEffect(LocalPlayer.Character.HumanoidRootPart.Position, targetPosition)
- sound:Play()
- tween.Completed:Connect(function()
- LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(targetPosition)
- teleportPart:Destroy()
- connection:Disconnect()
- sound:Stop()
- end)
- end
- tool.Activated:Connect(onActivated)
- end
- createTeleportTool()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement