
656 Views
533 Executions
Telekenises
Universal Script 📌
pooschristian99First script
10 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
R to bring closer T to bring farther and Y to throw
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local lp = Players.LocalPlayer
local mouse = lp:GetMouse()
local camera = workspace.CurrentCamera
-- 1. Create the Tool
local tool = Instance.new("Tool")
tool.Name = "Telekinesis"
tool.RequiresHandle = false
tool.Parent = lp.Backpack
-- 2. Settings
local targetPart = nil
local att0, att1, ap, ao = nil, nil, nil, nil
local currentDistance = 20
local throwPower = 1000
-- 3. Cleanup Function
local function release()
if att0 then att0:Destroy() att0 = nil end
if att1 then att1:Destroy() att1 = nil end
if ap then ap:Destroy() ap = nil end
if ao then ao:Destroy() ao = nil end
targetPart = nil
end
tool.Deactivated:Connect(release)
tool.Activated:Connect(function()
local target = mouse.Target
if target and not target.Anchored and not target:IsDescendantOf(lp.Character) then
targetPart = target
-- Calculate initial distance based on where the part is right now
currentDistance = (camera.CFrame.Position - target.Position).Magnitude
-- Create Modern Physics Constraints
att0 = Instance.new("Attachment", targetPart)
att1 = Instance.new("Attachment", workspace.Terrain)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!



