Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local the_futureGUI = Instance.new("ScreenGui")
- local main = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- --Properties:
- the_futureGUI.Name = "the_futureGUI"
- the_futureGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- the_futureGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- main.Name = "main"
- main.Parent = the_futureGUI
- main.Active = true
- main.BackgroundColor3 = Color3.fromRGB(52, 52, 52)
- main.BackgroundTransparency = 1.000
- main.BorderSizePixel = 0
- main.Position = UDim2.new(1, -444, 1, -183)
- main.Selectable = true
- main.Size = UDim2.new(0, 444, 0, 183)
- TextLabel.Parent = main
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.Position = UDim2.new(0, 0, 0.693989038, 0)
- TextLabel.Size = UDim2.new(0, 444, 0, 35)
- TextLabel.ZIndex = 2
- TextLabel.Font = Enum.Font.SourceSansBold
- TextLabel.Text = " Press 'Z' to enable Low-Gravity"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextSize = 30.000
- TextLabel.TextStrokeTransparency = 0.000
- TextLabel.TextWrapped = true
- TextLabel.TextXAlignment = Enum.TextXAlignment.Right
- TextLabel_2.Parent = main
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.Position = UDim2.new(0, 0, 0.502732277, 0)
- TextLabel_2.Size = UDim2.new(0, 444, 0, 35)
- TextLabel_2.ZIndex = 2
- TextLabel_2.Font = Enum.Font.SourceSansBold
- TextLabel_2.Text = " Press 'X' to enable Normal-Gravity"
- TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.TextSize = 30.000
- TextLabel_2.TextStrokeTransparency = 0.000
- TextLabel_2.TextWrapped = true
- TextLabel_2.TextXAlignment = Enum.TextXAlignment.Right
- local normalgrav = Instance.new("IntValue")
- normalgrav.Parent = main
- wait(0.001)
- normalgrav.Value = workspace.Gravity
- -- Scripts:
- local function UTFL_fake_script() -- main.lowgrav
- local script = Instance.new('LocalScript', main)
- local userinputservice = game:GetService('UserInputService')
- userinputservice.InputBegan:Connect(function(key)
- if key.KeyCode == Enum.KeyCode.Z then
- workspace.Gravity = 0
- end
- end)
- end
- coroutine.wrap(UTFL_fake_script)()
- local function RIDJ_fake_script() -- main.normalgrav
- local script = Instance.new('LocalScript', main)
- local userinputservice = game:GetService('UserInputService')
- userinputservice.InputBegan:Connect(function(key)
- if key.KeyCode == Enum.KeyCode.X then
- wait(0.01)
- workspace.Gravity = normalgrav.Value
- end
- end)
- end
- coroutine.wrap(RIDJ_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement