Advertisement
FreshGamer430

Gibberish Helper

Feb 3rd, 2025 (edited)
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.92 KB | Source Code | 0 0
  1. local Players = game:GetService("Players")
  2. local UserInputService = game:GetService("UserInputService")
  3.  
  4. local player = Players.LocalPlayer
  5. local leaderstats = player:FindFirstChild("leaderstats")
  6. if not leaderstats then return end
  7. local stageValue = leaderstats:FindFirstChild("Stage")
  8. if not stageValue then return end
  9.  
  10. local gui = Instance.new("ScreenGui")
  11. gui.Name = "MonkeyGUI"
  12. gui.Parent = game:GetService("CoreGui")
  13.  
  14. local frame = Instance.new("Frame")
  15. frame.Size = UDim2.new(0, 300, 0, 150)
  16. frame.Position = UDim2.new(0.5, -150, 0.2, 0)
  17. frame.BackgroundColor3 = Color3.fromRGB(165, 42, 42) -- Brown
  18. frame.BorderSizePixel = 4
  19. frame.BorderColor3 = Color3.fromRGB(255, 223, 0) -- Yellow
  20. frame.Active = true
  21. frame.Draggable = true
  22. frame.Parent = gui
  23.  
  24. local title = Instance.new("TextLabel")
  25. title.Size = UDim2.new(1, 0, 0.2, 0)
  26. title.BackgroundColor3 = Color3.fromRGB(255, 223, 0) -- Yellow
  27. title.Text = "Gibberish Helper"
  28. title.Font = Enum.Font.Cartoon
  29. title.TextSize = 20
  30. title.TextColor3 = Color3.fromRGB(0, 0, 0)
  31. title.Parent = frame
  32.  
  33. local answerLabel = Instance.new("TextLabel")
  34. answerLabel.Size = UDim2.new(1, -10, 0.4, 0)
  35. answerLabel.Position = UDim2.new(0, 5, 0.25, 0)
  36. answerLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 153)
  37. answerLabel.Text = "Waiting for stage..."
  38. answerLabel.Font = Enum.Font.SourceSansBold
  39. answerLabel.TextSize = 18
  40. answerLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  41. answerLabel.Parent = frame
  42.  
  43. local closeButton = Instance.new("TextButton")
  44. closeButton.Size = UDim2.new(0.2, 0, 0.2, 0)
  45. closeButton.Position = UDim2.new(0.8, 0, 0, 0)
  46. closeButton.BackgroundColor3 = Color3.fromRGB(255, 69, 0)
  47. closeButton.Text = "X"
  48. closeButton.Font = Enum.Font.SourceSansBold
  49. closeButton.TextSize = 20
  50. closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  51. closeButton.Parent = frame
  52.  
  53. local toggleButton = Instance.new("TextButton")
  54. toggleButton.Size = UDim2.new(0, 50, 0, 50)
  55. toggleButton.Position = UDim2.new(0.9, -60, 0.05, 0)
  56. toggleButton.BackgroundColor3 = Color3.fromRGB(139, 69, 19) -- Dark brown
  57. toggleButton.Text = "🐵"
  58. toggleButton.Font = Enum.Font.SourceSansBold
  59. toggleButton.TextSize = 24
  60. toggleButton.TextColor3 = Color3.fromRGB(255, 255, 0)
  61. toggleButton.Parent = gui
  62. toggleButton.Visible = false
  63. toggleButton.Active = true
  64. toggleButton.Draggable = true
  65.  
  66. closeButton.MouseButton1Click:Connect(function()
  67.     frame.Visible = false
  68.     toggleButton.Visible = true
  69. end)
  70.  
  71. toggleButton.MouseButton1Click:Connect(function()
  72.     frame.Visible = true
  73.     toggleButton.Visible = false
  74. end)
  75.  
  76. local function updateAnswer()
  77.     local stage = stageValue.Value
  78.     local door = workspace:FindFirstChild("Doors") and workspace.Doors:FindFirstChild(tostring(stage))
  79.     if door and door:FindFirstChild("Answer") then
  80.         answerLabel.Text = "Answer: " .. door.Answer.Value
  81.     else
  82.         answerLabel.Text = "No answer found."
  83.     end
  84. end
  85.  
  86. stageValue:GetPropertyChangedSignal("Value"):Connect(updateAnswer)
  87. updateAnswer()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement