local tool = Instance.new("Tool") tool.Name = "⭐️ Click Teleport" tool.RequiresHandle = false tool.CanBeDropped = false tool.Parent = game.Players.LocalPlayer.Backpack local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local mouse = player:GetMouse() local equipped = false local cooldown = false local cooldownTime = 0.1 local marker = Instance.new("Part") marker.Name = "TPMarker" marker.Size = Vector3.new(4, 0.5, 4) marker.Anchored = true marker.CanCollide = false marker.BrickColor = BrickColor.new("Cyan") marker.Material = Enum.Material.Neon marker.Transparency = 0.3 marker.Shape = Enum.PartType.Cylinder marker.Parent = game.Workspace local markerGlow = Instance.new("SurfaceLight") markerGlow.Brightness = 2 markerGlow.Range = 15 markerGlow.Color = Color3.fromRGB(0, 255, 255) markerGlow.Parent = marker marker.CFrame = CFrame.new(0, -1000, 0) local function createEffect(position) local effect = Instance.new("Part") effect.Size = Vector3.new(1, 1, 1) effect.Position = position effect.Anchored = true effect.CanCollide = false effect.BrickColor = BrickColor.new("Electric blue") effect.Material = Enum.Material.Neon effect.Transparency = 0 effect.Shape = Enum.PartType.Ball effect.Parent = workspace local tweenInfo = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local goal = {Size = Vector3.new(8, 8, 8), Transparency = 1} local tween = TweenService:Create(effect, tweenInfo, goal) tween:Play() game:GetService("Debris"):AddItem(effect, 0.5) end local function createParticles(position) for i = 1, 10 do local particle = Instance.new("Part") particle.Size = Vector3.new(0.3, 0.3, 0.3) particle.Position = position + Vector3.new(math.random(-3, 3), math.random(0, 2), math.random(-3, 3)) particle.Anchored = false particle.CanCollide = false particle.BrickColor = BrickColor.new("Bright blue") particle.Material = Enum.Material.Neon particle.Parent = workspace local bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.Velocity = Vector3.new(math.random(-10, 10), math.random(10, 20), math.random(-10, 10)) bodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge) bodyVelocity.Parent = particle game:GetService("Debris"):AddItem(particle, 1) end end local function teleportPlayer(position) if cooldown then return end local character = player.Character if not character or not character:FindFirstChild("HumanoidRootPart") then return end cooldown = true local startPos = character.HumanoidRootPart.Position createEffect(startPos) createParticles(startPos) character.HumanoidRootPart.CFrame = CFrame.new(position) createEffect(position) createParticles(position) local sound = Instance.new("Sound") sound.SoundId = "rbxassetid://3398620867" sound.Volume = 0.5 sound.Parent = character.HumanoidRootPart sound:Play() game:GetService("Debris"):AddItem(sound, 2) wait(cooldownTime) cooldown = false end tool.Equipped:Connect(function() equipped = true marker.Transparency = 0.3 end) tool.Unequipped:Connect(function() equipped = false marker.CFrame = CFrame.new(0, -1000, 0) end) mouse.Move:Connect(function() if equipped and mouse.Target then local targetPos = mouse.Hit.Position marker.CFrame = CFrame.new(targetPos.X, targetPos.Y + 0.25, targetPos.Z) * CFrame.Angles(0, 0, math.rad(90)) end end) mouse.Button1Down:Connect(function() if equipped and mouse.Target then local targetPos = mouse.Hit.Position teleportPlayer(targetPos) end end) UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if equipped and input.KeyCode == Enum.KeyCode.E then local character = player.Character if character and character:FindFirstChild("HumanoidRootPart") then local lookVector = character.HumanoidRootPart.CFrame.LookVector local targetPos = character.HumanoidRootPart.Position + (lookVector * 20) teleportPlayer(targetPos) end end end) RunService.Heartbeat:Connect(function() if equipped then marker.Orientation = marker.Orientation + Vector3.new(0, 2, 0) end end) print("Click to TP Tool loaded!") print("Equip tool, click untuk teleport") print("Tekan E untuk teleport ke depan")