Advertisement
getmods_net

Untitled

Sep 25th, 2022
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. loadstring(game:HttpGet(('https://pastebin.com/raw/5LtLLSFE')))()
  2.  
  3. ====================================================================
  4.  
  5. if _G.SENDER_CONNECTIONS then
  6. for _, Connection in pairs(_G.SENDER_CONNECTIONS) do
  7. Connection:Disconnect()
  8. end
  9. end
  10. _G.SENDER_CONNECTIONS = {}
  11.  
  12. _G.SENDER_DEBUG = false -- set this to true if you want to debug the script (also setting to true stop bot from saying anything)
  13. _G.SENDER_ACTIVE = true -- set this to false to stop the bot from saying anything
  14. _G.SENDER_STARTERS = {
  15. "I think its gonna be",
  16. "I predict its",
  17. "The next one is",
  18. "Next is",
  19. "Simon says:",
  20. "Its gonna be",
  21. "Next one is",
  22. "Next will be",
  23. "The next thing is",
  24. "The answer is",
  25. "The spin is",
  26. }
  27.  
  28. local ReplicatedStorage = game:GetService('ReplicatedStorage')
  29. local SayMessageRequest = ReplicatedStorage:WaitForChild('DefaultChatSystemChatEvents'):WaitForChild('SayMessageRequest')
  30. local function SayMessage(Message)
  31. if _G.SENDER_DEBUG then
  32. print('Say', Message)
  33. else
  34. SayMessageRequest:FireServer(Message, 'All')
  35. end
  36. end
  37.  
  38. local function GetSpinFromName(Name)
  39. local Spin
  40. for _,v in pairs(workspace:WaitForChild('Spinner'):WaitForChild('Spin'):WaitForChild('Model2'):GetChildren()) do
  41. if tonumber(v.Name) == Name then
  42. Spin = v.SurfaceGui.TextLabel.Text
  43. end
  44. end
  45.  
  46. return Spin
  47. end
  48.  
  49. local ScreenSpin = ReplicatedStorage:WaitForChild('Remotes'):WaitForChild('ScreenSpin')
  50. table.insert(_G.SENDER_CONNECTIONS, ScreenSpin.Event:Connect(function(Type, Name, Timeout)
  51. local Spin = GetSpinFromName(Name)
  52. if Spin and _G.SENDER_ACTIVE then
  53. local Starter = _G.SENDER_STARTERS[math.random(1, #_G.SENDER_STARTERS)] .. ' ' .. Spin
  54. if math.random(1, 3) == 1 then Starter = Starter .. ', trust' end
  55. if math.random(1, 2) == 1 then Starter = Starter:lower() end
  56.  
  57. task.wait((((math.random() + 1) / 2) * Timeout) / 10)
  58. SayMessage(Starter)
  59. end
  60. end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement