Skelloteer

Blob Simulator GUI 2 *NOT MINE* [ROBLOX]

Nov 12th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.72 KB | None | 0 0
  1. ------------------------Variables
  2. Player = game.Players.LocalPlayer
  3. Player:WaitForChild("PlayerGui")
  4. ------------------------Gui
  5. Gui = Instance.new("ScreenGui", Player.PlayerGui)
  6. Gui.Name = "BlobSimulatorGui2"
  7. Frame = Instance.new("Frame", Gui)
  8. Frame.Name = "Background"
  9. Frame.Size = UDim2.new(0,197,0,109)
  10. Frame.Position = UDim2.new(0.188,0,0.34,0)
  11. Frame.BackgroundColor3 = Color3.new(255,255,255)
  12. Frame.Active = true
  13. Frame.Draggable = true
  14. GuiName = Instance.new("TextLabel", Frame)
  15. GuiName.Name = "GuiName"
  16. GuiName.Text = "Blob Simulator Gui 2"
  17. GuiName.Font = 4
  18. GuiName.TextColor3 = Color3.new(255,255,255)
  19. GuiName.TextStrokeTransparency = 0
  20. GuiName.TextScaled = true
  21. GuiName.Size = UDim2.new(1,0,0.355,0)
  22. GuiName.Position = UDim2.new(-0.001,0,-0.01,0)
  23. GuiName.BackgroundColor3 = Color3.new(255,255,255)
  24. Button = Instance.new("TextButton", Frame)
  25. Button.BackgroundColor3 = Color3.new(255,255,255)
  26. Button.Size = UDim2.new(1,0,0.419,0)
  27. Button.Position = UDim2.new(-0.001,0,0.342,0)
  28. Button.Text = "Farm Script"
  29. Text = Instance.new("TextLabel", Button)
  30. Text.Size = UDim2.new(1,0,0.584,0)
  31. Text.Position = UDim2.new(0,0,0.985,0)
  32. Text.BackgroundColor3 = Color3.new(255,255,255)
  33. Text.Text = "Off"
  34. -----------------------------Variable
  35. On = false
  36. -----------------------------Function
  37. function Farm()
  38.     _G.Farm = true
  39.     while _G.Farm do
  40.         game.ReplicatedStorage.Events.DealDamage:FireServer(workspace.GameStuff.Blobs.spacezone6pet.spacezone6pet.BlobProperties,1000000000)
  41.         wait(0.1)
  42.     end
  43. end
  44. ------------------------Event
  45. Button.MouseButton1Click:Connect(function()
  46.     if On == false then
  47.         On = true
  48.         Text.Text = "On"
  49.         _G.Farm = true
  50.         spawn(Farm)
  51.     else
  52.         On = false
  53.         Text.Text = "Off"
  54.         _G.Farm = false
  55.     end
  56. end)
Add Comment
Please, Sign In to add comment