Universal Script 📌
4.0k Views
774 Executions

Gravity gui

Universal Script 📌
Block_talesguy
Block_talesguyFirst script
1 year 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

Makes you feel like your in space

View Raw
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local normalGravity = workspace.Gravity
local zeroGravity = false

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "GravityToggleGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")

local button = Instance.new("TextButton")
button.Size = UDim2.new(0, 200, 0, 50)
button.Position = UDim2.new(0.5, -100, 0.8, 0)
button.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
button.Text = "Flyyyee"
button.TextScaled = true
button.TextColor3 = Color3.fromRGB(255, 255, 255)
button.Parent = screenGui

local uiStroke = Instance.new("UIStroke")
uiStroke.Color = Color3.fromRGB(255, 0, 0)
uiStroke.Thickness = 3
uiStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
uiStroke.Parent = button

button.MouseButton1Click:Connect(function()
	if zeroGravity then
		workspace.Gravity = normalGravity
		button.Text = "Gravity: ON"
	else
		workspace.Gravity = 0
		button.Text = "Gravity: OFF"
	end
	zeroGravity = not zeroGravity
end)


Comments

1
Log in to join the conversation. Login
nubbynoobster's profile picture
nubbynoobster4 months ago

ai

1

More universal scripts

See all
Universal Script 📌
15.0k
53.3k
Bumped 2 hours ago
Key System
Universal Script 📌
1.6k
5.2k
Bumped 5 hours ago
Script hub
161.2k
1.5M
Bumped 12 hours ago
Key System

Script hub

#12 this week

Verified script badgeAirflow HUB

Universal Script 📌
2.6k
1.0k
Bumped 12 hours ago
Script hub
1.6M
1.9M
Bumped 12 hours ago
Key System
Universal Script 📌
41.3k
818.6k
Bumped 14 hours ago