Advertisement
qiell

inf jump

Aug 2nd, 2024
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. -- Create a UI for the script
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local Frame = Instance.new("Frame")
  4. local TextLabel = Instance.new("TextLabel")
  5. local LowGravityButton = Instance.new("TextButton")
  6. local CreditsLabel = Instance.new("TextLabel")
  7.  
  8. ScreenGui.Name = "LowGravityUI"
  9. ScreenGui.Parent = game.CoreGui
  10.  
  11. Frame.Parent = ScreenGui
  12. Frame.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  13. Frame.Position = UDim2.new(0.3, 0, 0.3, 0)
  14. Frame.Size = UDim2.new(0.4, 0, 0.4, 0)
  15.  
  16. TextLabel.Parent = Frame
  17. TextLabel.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  18. TextLabel.Size = UDim2.new(1, 0, 0.2, 0)
  19. TextLabel.Font = Enum.Font.SourceSans
  20. TextLabel.Text = "Low Gravity Script"
  21. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  22. TextLabel.TextScaled = true
  23.  
  24. LowGravityButton.Parent = Frame
  25. LowGravityButton.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3)
  26. LowGravityButton.Position = UDim2.new(0.25, 0, 0.4, 0)
  27. LowGravityButton.Size = UDim2.new(0.5, 0, 0.2, 0)
  28. LowGravityButton.Font = Enum.Font.SourceSans
  29. LowGravityButton.Text = "Enable Low Gravity"
  30. LowGravityButton.TextColor3 = Color3.new(1, 1, 1)
  31. LowGravityButton.TextScaled = true
  32.  
  33. CreditsLabel.Parent = Frame
  34. CreditsLabel.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  35. CreditsLabel.Position = UDim2.new(0, 0, 0.8, 0)
  36. CreditsLabel.Size = UDim2.new(1, 0, 0.2, 0)
  37. CreditsLabel.Font = Enum.Font.SourceSans
  38. CreditsLabel.Text = "Credits to ChatGPT"
  39. CreditsLabel.TextColor3 = Color3.new(1, 1, 1)
  40. CreditsLabel.TextScaled = true
  41.  
  42. -- Function to enable low gravity
  43. LowGravityButton.MouseButton1Click:Connect(function()
  44. game.Workspace.Gravity = 50
  45. local Players = game:GetService("Players")
  46. for _, player in pairs(Players:GetPlayers()) do
  47. player:SendNotification({
  48. Title = "Low Gravity Activated",
  49. Text = "Credits to ChatGPT",
  50. Duration = 5
  51. })
  52. end
  53. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement