Advertisement
Qu4nRBLX

Rebirth Champions X Coconut Farm

Jul 4th, 2022
1,305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.90 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local main = Instance.new("Frame")
  3. local turnon = Instance.new("TextButton")
  4. local turnoff = Instance.new("TextButton")
  5. local title = Instance.new("TextLabel")
  6.  
  7. --Properties:
  8.  
  9. ScreenGui.Parent = game.CoreGui
  10. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  11.  
  12. main.Name = "main"
  13. main.Parent = ScreenGui
  14. main.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
  15. main.BorderColor3 = Color3.fromRGB(53, 53, 53)
  16. main.Position = UDim2.new(0.74303031, 0, 0.125154898, 0)
  17. main.Size = UDim2.new(0, 330, 0, 163)
  18. main.Active = true
  19. main.Draggable = true
  20.  
  21. turnon.Name = "turnon"
  22. turnon.Parent = main
  23. turnon.BackgroundColor3 = Color3.fromRGB(98, 98, 98)
  24. turnon.BorderColor3 = Color3.fromRGB(98, 98, 98)
  25. turnon.Position = UDim2.new(0, 0, 0.261986256, 0)
  26. turnon.Size = UDim2.new(0, 329, 0, 50)
  27. turnon.Font = Enum.Font.SourceSans
  28. turnon.Text = "Turn on"
  29. turnon.TextColor3 = Color3.fromRGB(0, 0, 0)
  30. turnon.TextScaled = true
  31. turnon.TextSize = 14.000
  32. turnon.TextWrapped = true
  33. turnon.MouseButton1Down:connect(function()
  34.     _G.Toggle = true -- true it collects false it doesnt, re-execute every time you change
  35.  
  36.     local playerr = game.Players.LocalPlayer.Character.HumanoidRootPart
  37.  
  38.     function dothis()
  39.         while wait(0.1) and _G.Toggle do
  40.             for _,v in pairs(game:GetService("Workspace").Scripts.CoconutsFolder.Storage:GetDescendants()) do
  41.                 if v.Name == "TouchInterest" then
  42.                     firetouchinterest(playerr, v.Parent, 0)
  43.                     firetouchinterest(playerr, v.Parent, 1)
  44.                 end
  45.             end
  46.         end
  47.     end
  48.  
  49.     dothis()
  50. end)
  51.  
  52. turnoff.Name = "turnoff"
  53. turnoff.Parent = main
  54. turnoff.BackgroundColor3 = Color3.fromRGB(98, 98, 98)
  55. turnoff.BorderColor3 = Color3.fromRGB(98, 98, 98)
  56. turnoff.Position = UDim2.new(0, 0, 0.631807923, 0)
  57. turnoff.Size = UDim2.new(0, 329, 0, 50)
  58. turnoff.Font = Enum.Font.SourceSans
  59. turnoff.Text = "Turn off"
  60. turnoff.TextColor3 = Color3.fromRGB(0, 0, 0)
  61. turnoff.TextScaled = true
  62. turnoff.TextSize = 14.000
  63. turnoff.TextWrapped = true
  64. turnoff.MouseButton1Down:connect(function()
  65.     _G.Toggle = false -- true it collects false it doesnt, re-execute every time you change
  66.  
  67.     local playerr = game.Players.LocalPlayer.Character.HumanoidRootPart
  68.  
  69.     function dothis()
  70.         while wait(0.1) and _G.Toggle do
  71.             for _,v in pairs(game:GetService("Workspace").Scripts.CoconutsFolder.Storage:GetDescendants()) do
  72.                 if v.Name == "TouchInterest" then
  73.                     firetouchinterest(playerr, v.Parent, 0)
  74.                     firetouchinterest(playerr, v.Parent, 1)
  75.                 end
  76.             end
  77.         end
  78.     end
  79.  
  80.     dothis()
  81. end)
  82.  
  83. title.Name = "title"
  84. title.Parent = main
  85. title.BackgroundColor3 = Color3.fromRGB(98, 98, 98)
  86. title.BorderColor3 = Color3.fromRGB(98, 98, 98)
  87. title.Size = UDim2.new(0, 329, 0, 32)
  88. title.Font = Enum.Font.SourceSans
  89. title.Text = "Rebirth Champions X Coconut Farm | made by mxllard"
  90. title.TextColor3 = Color3.fromRGB(0, 0, 0)
  91. title.TextScaled = true
  92. title.TextSize = 14.000
  93. title.TextWrapped = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement