Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- original https://www.youtube.com/watch?v=dxVuEE3WErI
- -- when you execute, whatever thing you unanchored goes 0 grav
- speed = 10
- spawn(function()
- while true do
- game.Players.LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)*math.huge
- game.Players.LocalPlayer.SimulationRadius = math.pow(math.huge,math.huge)*math.huge
- game:GetService("RunService").Stepped:wait()
- end
- end)
- while wait(speed) do
- local function zeroGrav(part)
- if part:FindFirstChild("BodyForce") then return end
- local temp = Instance.new("BodyForce")
- temp.Force = part:GetMass() * Vector3.new(0,workspace.Gravity,0)
- temp.Parent = part
- end
- for i,v in ipairs(workspace:GetDescendants()) do
- if v:IsA("Part") and v.Anchored == false then
- if not (v:IsDescendantOf(game.Players.LocalPlayer.Character)) then
- zeroGrav(v)
- end
- end
- end
- workspace.DescendantAdded:Connect(function(part)
- if part:IsA("Part") and v.Anchored == false then
- if not (part:IsDescendantOf(game.Players.LocalPlayer.Character)) then
- zeroGrav(part)
- end
- end
- end)
- end
- print()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement