
1.9k Views
1.9k Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Lets you fly in the air using a tool/gear using Tweened movement!
local plr = game:GetService("Players").LocalPlayer
local char = plr.Character or plr.CharacterAdded
local root = char.HumanoidRootPart
local humanoid = char.Humanoid
local run = game:GetService("RunService")
local cam = workspace.CurrentCamera
local tool = Instance.new("Tool")
local pos
local gyro
local cf
local dir
local direction
local event
tool.Name = "Noclip"
tool.RequiresHandle = false
tool.Parent = plr.Backpack
local speed = 1
tool.Equipped:Connect(function()
pos = Instance.new("BodyPosition")
gyro = Instance.new("BodyGyro")
pos.Position = root.Position
pos.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
pos.P = 100000
pos.D = 1750
pos.Parent = root
gyro.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
gyro.P = 100000
gyro.D = 2200
gyro.Parent = root
humanoid.PlatformStand = true
event = run.Heartbeat:Connect(function()
cf = cam.CFrame.Rotation
dir = cf:VectorToObjectSpace(humanoid.MoveDirection * speed)
if dir.Magnitude == 0 then
direction = Vector3.new(0,0,0)
else
direction = cf:VectorToWorldSpace(Vector3.new(dir.X, 0, dir.Z).Unit * dir.Magnitude)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!








