Advertisement
Elvisfofo_rblx

GOD Mode GUI

Jun 28th, 2025
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local TextLabel = Instance.new("TextLabel")
  4. local TextButton = Instance.new("TextButton")
  5.  
  6. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  7. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  8. ScreenGui.ResetOnSpawn = false
  9.  
  10. Frame.Parent = ScreenGui
  11. Frame.BackgroundColor3 = Color3.fromRGB(42, 42, 42)
  12. Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  13. Frame.BorderSizePixel = 0
  14. Frame.Position = UDim2.new(0.390366644, 0, 0.301782697, 0)
  15. Frame.Size = UDim2.new(0, 163, 0, 82)
  16. Frame.Active = true
  17. Frame.Draggable = true
  18.  
  19. TextLabel.Parent = Frame
  20. TextLabel.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  21. TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
  22. TextLabel.BorderSizePixel = 0
  23. TextLabel.Size = UDim2.new(0, 163, 0, 23)
  24. TextLabel.Font = Enum.Font.SourceSansBold
  25. TextLabel.Text = "GOD Mode"
  26. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  27. TextLabel.TextSize = 18.000
  28.  
  29. TextButton.Parent = Frame
  30. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  31. TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
  32. TextButton.BorderSizePixel = 0
  33. TextButton.Position = UDim2.new(0.175683141, 0, 0.408666462, 0)
  34. TextButton.Size = UDim2.new(0, 104, 0, 31)
  35. TextButton.Font = Enum.Font.SourceSansItalic
  36. TextButton.Text = "OFF"
  37. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  38. TextButton.TextSize = 15.000
  39.  
  40. local function LILMOQ_fake_script() -- TextButton.LocalScript
  41. local script = Instance.new('LocalScript', TextButton)
  42.  
  43. local player = game:GetService("Players").LocalPlayer
  44. local nega = true
  45.  
  46. local toggleButton = script.Parent
  47.  
  48. local function updateButtonText()
  49. if nega then
  50. toggleButton.Text = "OFF"
  51. else
  52. toggleButton.Text = "ON"
  53. end
  54. end
  55.  
  56. local function toggleFeature()
  57. nega = not nega
  58. updateButtonText()
  59. end
  60.  
  61. toggleButton.MouseButton1Click:Connect(function()
  62. toggleFeature()
  63. end)
  64.  
  65. local function applyToggleEffect()
  66. while task.wait() do
  67. local character = player.Character or player.CharacterAdded:Wait()
  68. local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
  69. local parts = workspace:GetPartBoundsInRadius(humanoidRootPart.Position, 10)
  70. for _, part in ipairs(parts) do
  71. part.CanTouch = nega
  72. end
  73. end
  74. end
  75.  
  76. player.CharacterAdded:Connect(function()
  77. applyToggleEffect()
  78. updateButtonText()
  79. end)
  80.  
  81. applyToggleEffect()
  82. updateButtonText()
  83.  
  84. end
  85. coroutine.wrap(LILMOQ_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement