Advertisement
NukeVsCity

Auto arcade for yba

Jun 12th, 2021
7,159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1.  
  2. _G.autoarcade = true -- change to false to disable it
  3. local function start()
  4. fireproximityprompt(workspace.Dialogues["ShiftPlox, The Travelling Merchant"].ProximityPrompt, 0)
  5. wait()
  6. end
  7.  
  8. local function spin()
  9. local A_1 = "DialogueInteracted"
  10. local A_2 =
  11. {
  12. ["DialogueName"] = "Item Machine",
  13. ["Speaker"] = "Item Machine"
  14. }
  15. local Event = game:GetService("Players").LocalPlayer.Character.RemoteEvent
  16. Event:FireServer(A_1, A_2)
  17.  
  18. local A_1 = "EndDialogue"
  19. local A_2 =
  20. {
  21. ["NPC"] = "Item Machine",
  22. ["Option"] = "Option1",
  23. ["Dialogue"] = "Dialogue1"
  24. }
  25. local Event = game:GetService("Players").LocalPlayer.Character.RemoteEvent
  26. Event:FireServer(A_1, A_2)
  27. end
  28.  
  29. while _G.autoarcade do wait(1) pcall(function()
  30. if _G.autoarcade == false then return end
  31. for i ,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
  32. if string.match(v.Name , "Gold") and game:GetService("Players").LocalPlayer.PlayerStats.Money.Value >= 1500 then
  33. start()
  34. spin()
  35. end
  36. end
  37. end)
  38. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement