Advertisement
imsoepiclol123

1312312314125125dsfsdf

Aug 15th, 2023
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.10 KB | None | 0 0
  1. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4. Name = "fun game",
  5. LoadingTitle = "fun game",
  6. LoadingSubtitle = "by Vah",
  7. ConfigurationSaving = {
  8. Enabled = true,
  9. FolderName = nil, -- Create a custom folder for your hub/game
  10. FileName = "wwwwwwwwwwwwwwwwwwwwwwwwwwwW"
  11. },
  12. Discord = {
  13. Enabled = false,
  14. Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
  15. RememberJoins = true -- Set this to false to make them join the discord every time they load it up
  16. },
  17. KeySystem = false, -- Set this to true to use our key system
  18. KeySettings = {
  19. Title = "Untitled",
  20. Subtitle = "Key System",
  21. Note = "No method of obtaining the key is provided",
  22. FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
  23. SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
  24. GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
  25. Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
  26. }
  27. })
  28.  
  29. local MainTab = Window:CreateTab("Main", nil) -- Title, Image
  30.  
  31. local Section = MainTab:CreateSection("Test")
  32.  
  33. local Button = MainTab:CreateButton({
  34. Name = "AutoBoostGen",
  35. Callback = function()
  36. while wait() do
  37. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("GenerateFaster"):FireServer()
  38. end
  39. end,
  40. })
  41.  
  42. local Button = MainTab:CreateButton({
  43. Name = "AutoCollectGems",
  44. Callback = function()
  45. while wait() do
  46. local args = {
  47. [1] = 1,
  48. [2] = false
  49. }
  50.  
  51. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("CollectGem"):FireServer(unpack(args))
  52. end
  53. end,
  54. })
  55.  
  56. local Button = MainTab:CreateButton({
  57. Name = "AutoUpgGen1",
  58. Callback = function()
  59. while wait() do
  60. local args = {
  61. [1] = 1,
  62. [2] = 1,
  63. [3] = false
  64. }
  65.  
  66. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("UpgradeMachine"):FireServer(unpack(args))
  67. end
  68. end,
  69. })
  70.  
  71. local Button = MainTab:CreateButton({
  72. Name = "AutoUpgGen2",
  73. Callback = function()
  74. while wait() do
  75. local args = {
  76. [1] = 2,
  77. [2] = 1,
  78. [3] = false
  79. }
  80.  
  81. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("UpgradeMachine"):FireServer(unpack(args))
  82. end
  83. end,
  84. })
  85.  
  86. local Button = MainTab:CreateButton({
  87. Name = "AutoUpgGen3",
  88. Callback = function()
  89. while wait() do
  90. local args = {
  91. [1] = 3,
  92. [2] = 1,
  93. [3] = false
  94. }
  95.  
  96. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("UpgradeMachine"):FireServer(unpack(args))
  97. end
  98. end,
  99. })
  100.  
  101. local Button = MainTab:CreateButton({
  102. Name = "AutoUpgradeWalls",
  103. Callback = function()
  104. while wait() do
  105. local args = {
  106. [1] = 1,
  107. [2] = false
  108. }
  109.  
  110. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("FactoryUpgrade"):FireServer(unpack(args))
  111. end
  112. end,
  113. })
  114.  
  115. local Button = MainTab:CreateButton({
  116. Name = "AutoBuyLength",
  117. Callback = function()
  118. while wait() do
  119. local args = {
  120. [1] = 2,
  121. [2] = false
  122. }
  123.  
  124. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("FactoryUpgrade"):FireServer(unpack(args))
  125. end
  126. end,
  127. })
  128.  
  129. local Button = MainTab:CreateButton({
  130. Name = "AutoBuySurface (Gems)",
  131. Callback = function()
  132. while wait() do
  133. local args = {
  134. [1] = 3,
  135. [2] = false
  136. }
  137.  
  138. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("FactoryUpgrade"):FireServer(unpack(args))
  139. end
  140. end,
  141. })
  142.  
  143. local Button = MainTab:CreateButton({
  144. Name = "AutoBuyFloors (expensive)",
  145. Callback = function()
  146. while wait() do
  147. local args = {
  148. [1] = 4,
  149. [2] = false
  150. }
  151.  
  152. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("FactoryUpgrade"):FireServer(unpack(args))
  153. end
  154. end,
  155. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement