Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local Gravity0gui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local close = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- --Properties:
- Gravity0gui.Name = "Gravity0gui"
- Gravity0gui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Gravity0gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Gravity0gui.ResetOnSpawn = false
- Frame.Parent = Gravity0gui
- Frame.BackgroundColor3 = Color3.fromRGB(17, 17, 17)
- Frame.BackgroundTransparency = 0.800
- Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.416666687, 0, 0.324275374, 0)
- Frame.Size = UDim2.new(0, 140, 0, 64)
- Frame.Active = true
- Frame.Draggable = true
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.BackgroundTransparency = 1.020
- TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0, 0, 0.203125, 0)
- TextButton.Size = UDim2.new(0, 140, 0, 51)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextSize = 14.000
- close.Name = "close"
- close.Parent = Frame
- close.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- close.BorderColor3 = Color3.fromRGB(0, 0, 0)
- close.Position = UDim2.new(1.08571434, 0, -0.268075943, 0)
- close.Size = UDim2.new(0, 17, 0, 17)
- close.Font = Enum.Font.SourceSans
- close.Text = "X"
- close.TextColor3 = Color3.fromRGB(255, 255, 255)
- close.TextScaled = true
- close.TextSize = 14.000
- close.TextWrapped = true
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
- TextLabel.BackgroundTransparency = 0.300
- TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.BorderSizePixel = 0
- TextLabel.Size = UDim2.new(0, 140, 0, 13)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = ""
- TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.TextSize = 14.000
- -- Scripts:
- local function AQYMHHH_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- local button = script.Parent
- local gravityOn = false
- button.Text = "0 Gravity: Off"
- button.TextColor3 = Color3.new(1, 0, 0) -- Kırmızı yazı rengi
- button.MouseButton1Click:Connect(function()
- gravityOn = not gravityOn
- if gravityOn then
- game.Workspace.Gravity = 0
- button.Text = "0 Gravity: On"
- button.TextColor3 = Color3.new(0, 1, 0) -- Yeşil yazı rengi
- else
- game.Workspace.Gravity = 196.2 -- Varsayılan yerçekimi
- button.Text = "0 Gravity: Off"
- button.TextColor3 = Color3.new(1, 0, 0) -- Kırmızı yazı rengi
- end
- end)
- end
- coroutine.wrap(AQYMHHH_fake_script)()
- local function OELZOKV_fake_script() -- close.LocalScript
- local script = Instance.new('LocalScript', close)
- local button = script.Parent
- local gui = button.Parent.Parent -- Gravity0gui'yi alır
- button.MouseButton1Click:Connect(function()
- gui.Enabled = false -- GUI'yi kapat
- end)
- end
- coroutine.wrap(OELZOKV_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment