Universal Script 📌
11.5k Views
6.8k Executions

Zero Gravity

Universal Script 📌
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Zero gravity

View Raw
-- Create the ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

-- Create the Frame (Draggable GUI)
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 250, 0, 120)
frame.Position = UDim2.new(0.35, 0, 0.35, 0)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
frame.BorderSizePixel = 2
frame.BorderColor3 = Color3.fromRGB(255, 255, 255)
frame.Active = true
frame.Draggable = true -- Makes it draggable
frame.Parent = screenGui

-- Create the Button
local button = Instance.new("TextButton")
button.Size = UDim2.new(0.8, 0, 0.5, 0)
button.Position = UDim2.new(0.1, 0, 0.25, 0)
button.Text = "Toggle Zero Gravity"
button.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
button.TextColor3 = Color3.fromRGB(255, 255, 255)
button.Font = Enum.Font.GothamBold
button.TextSize = 16
button.Parent = frame

local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
local zeroGravity = false
local normalGravity = 196.2
local userInputService = game:GetService("UserInputService")

-- Function to toggle zero gravity with ragdoll
button.MouseButton1Click:Connect(function()
    if not zeroGravity then
        zeroGravity = true
        game.Workspace.Gravity = 0 -- Zero gravity effect
        humanoid.Sit = true


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
7.5k
23.3k
Bumped 9 hours ago
Script hub
38.3k
166.2k
Bumped 9 hours ago

Script hub

Sp3arParvus

Script hub
143
7
Bumped 10 hours ago
Key System

Script hub

Zhonya Hub

Script hub
31.8k
7.5k
Bumped 12 hours ago
Key System
Paid
Universal Script 📌
237
16
Approved 13 hours ago