Advertisement
SomthingNewFromThing

TpTool with cool vfx (Roblox Exploit)

Aug 3rd, 2024 (edited)
1,358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.39 KB | None | 0 0
  1. --[[
  2.     @Author: Banqr/Sodium
  3.     @Game: Universal Bypass Anticheat TP TOOL
  4.     @Description: This script creates a teleportation tool with tweening effects to smoothly teleport the player to a clicked position.
  5.     @Dependencies: TeleportPlayer, WritePlayer, GiveTool, RobloxPlace
  6.     ----------------READ ME----------------
  7.     This script provides a teleportation tool that utilizes tweening to move the player to a desired location.
  8.     The tool is designed to blend with the player's movement speed to reduce the likelihood of detection by anti-cheat systems.
  9. ]]
  10.  
  11. local TweenService = game:GetService("TweenService")
  12. local Players = game:GetService("Players")
  13. local LocalPlayer = Players.LocalPlayer
  14.  
  15. local function createTeleportTool()
  16.     local tool = Instance.new("Tool")
  17.     tool.Name = "TeleportTool"
  18.     tool.RequiresHandle = false
  19.     tool.Parent = LocalPlayer.Backpack
  20.     tool.TextureId = "rbxassetid://17684874568"
  21.  
  22.     local sound = Instance.new("Sound")
  23.     sound.SoundId = "rbxassetid://2751122980"
  24.     sound.Volume = 1
  25.     sound.Looped = true
  26.     sound.Parent = tool
  27.  
  28.     local function createGrapplingEffect(startPos, endPos)
  29.         local part = Instance.new("Part")
  30.         part.Size = Vector3.new(0.2, 0.2, (startPos - endPos).Magnitude)
  31.         part.Anchored = true
  32.         part.CanCollide = false
  33.         part.Position = (startPos + endPos) / 2
  34.         part.CFrame = CFrame.lookAt(startPos, endPos) * CFrame.new(0, 0, -part.Size.Z / 2)
  35.         part.Color = Color3.new(0, 0, 0)
  36.         part.Material = Enum.Material.Fabric
  37.         part.Parent = workspace
  38.  
  39.         game:GetService("Debris"):AddItem(part, 1)
  40.     end
  41.  
  42.     local function onActivated()
  43.         local mouse = LocalPlayer:GetMouse()
  44.         local targetPosition = mouse.Hit.Position
  45.  
  46.         local teleportPart = Instance.new("Part")
  47.         teleportPart.Size = Vector3.new(1, 1, 1)
  48.         teleportPart.Anchored = true
  49.         teleportPart.CanCollide = false
  50.         teleportPart.Position = LocalPlayer.Character.HumanoidRootPart.Position
  51.  
  52.         local mesh = Instance.new("SpecialMesh", teleportPart)
  53.         mesh.MeshId = "rbxassetid://14070473131"
  54.         mesh.Scale = Vector3.new(1, 1, 1)
  55.        
  56.         teleportPart.Parent = workspace
  57.  
  58.         local tweenInfo = TweenInfo.new(
  59.             1,
  60.             Enum.EasingStyle.Linear,
  61.             Enum.EasingDirection.InOut,
  62.             0,
  63.             false,
  64.             0
  65.         )
  66.  
  67.         local tweenGoal = {Position = targetPosition}
  68.         local tween = TweenService:Create(teleportPart, tweenInfo, tweenGoal)
  69.  
  70.         local function followTeleportPart()
  71.             LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(teleportPart.Position)
  72.         end
  73.  
  74.         tween:Play()
  75.  
  76.         local connection
  77.         connection = game:GetService("RunService").RenderStepped:Connect(function()
  78.             if teleportPart then
  79.                 followTeleportPart()
  80.             end
  81.         end)
  82.  
  83.         createGrapplingEffect(LocalPlayer.Character.HumanoidRootPart.Position, targetPosition)
  84.         sound:Play()
  85.  
  86.         tween.Completed:Connect(function()
  87.             LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(targetPosition)
  88.             teleportPart:Destroy()
  89.             connection:Disconnect()
  90.             sound:Stop()
  91.         end)
  92.     end
  93.  
  94.     tool.Activated:Connect(onActivated)
  95. end
  96.  
  97. createTeleportTool()
  98.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement