Advertisement
roblox_exploit

snacksimulator

Nov 3rd, 2019
1,403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.25 KB | None | 0 0
  1. --reav
  2. local ok = false
  3. local player = game.Players.LocalPlayer
  4. local VirtualUser=game:service'VirtualUser'
  5. game:service'Players'.LocalPlayer.Idled:connect(function()
  6. print("reav")
  7. VirtualUser:CaptureController()
  8. VirtualUser:ClickButton2(Vector2.new())
  9. end)
  10. -- Objects
  11. local ScreenGui = Instance.new("ScreenGui")
  12. local Frame = Instance.new("Frame")
  13. local TextButton = Instance.new("TextButton")
  14. local TextLabel = Instance.new("TextLabel")
  15. local TextLabel_2 = Instance.new("TextLabel")
  16. -- Properties
  17.  
  18. ScreenGui.Parent = game:GetService("CoreGui")
  19.  
  20. Frame.Parent = ScreenGui
  21. Frame.BackgroundColor3 = Color3.new(0.301961, 0.301961, 0.301961)
  22. Frame.BorderColor3 = Color3.new(0, 0, 0)
  23. Frame.Position = UDim2.new(0.172302201, 0, 0.29214862, 0)
  24. Frame.Selectable = true
  25. Frame.Size = UDim2.new(0, 199, 0, 130)
  26. Frame.Active = true
  27. Frame.Draggable = true
  28.  
  29. TextButton.Parent = Frame
  30. TextButton.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  31. TextButton.Position = UDim2.new(0.0327655859, 0, 0.337103128, 0)
  32. TextButton.Size = UDim2.new(0, 189, 0, 50)
  33. TextButton.Font = Enum.Font.SciFi
  34. TextButton.Text = "FARM = OFF"
  35. TextButton.TextColor3 = Color3.new(0.541176, 0, 0)
  36. TextButton.TextSize = 40
  37.  
  38. TextLabel.Parent = Frame
  39. TextLabel.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  40. TextLabel.BorderSizePixel = 0
  41. TextLabel.Position = UDim2.new(-0.00161084533, 0, -0.00398874283, 0)
  42. TextLabel.Size = UDim2.new(0, 201, 0, 25)
  43. TextLabel.Font = Enum.Font.SciFi
  44. TextLabel.Text = "SnackSimulator - by reav"
  45. TextLabel.TextColor3 = Color3.new(0.439216, 0.709804, 0)
  46. TextLabel.TextSize = 14
  47.  
  48. TextLabel_2.Parent = Frame
  49. TextLabel_2.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  50. TextLabel_2.BackgroundTransparency = 100
  51. TextLabel_2.BorderColor3 = Color3.new(0, 0, 0)
  52. TextLabel_2.Position = UDim2.new(-0.00572396815, 0, 0.843203187, 0)
  53. TextLabel_2.Size = UDim2.new(0, 200, 0, 5)
  54. TextLabel_2.Font = Enum.Font.SciFi
  55. TextLabel_2.Text = "Just Another Simulator"
  56. TextLabel_2.TextColor3 = Color3.new(1, 1, 0)
  57. TextLabel_2.TextSize = 15
  58.  
  59. TextButton.MouseButton1Down:connect(function()
  60. if ok then
  61. TextButton.Text = "FARM = OFF"
  62. TextButton.TextColor3 = Color3.new(0.541176, 0, 0)
  63. else
  64. TextButton.Text = "FARM = ON"
  65. TextButton.TextColor3 = Color3.fromRGB(0, 134, 0)
  66. end
  67. ok = not ok
  68. end)
  69. local runService = game:GetService('RunService')
  70. local RenderStepped
  71. RenderStepped = runService.Stepped:Connect(function()
  72. if ok then
  73. player.Character.Humanoid:ChangeState(11)
  74. for i,v in pairs(workspace["Game Tokens"]:GetChildren()) do
  75. if v.Name == "Coin" then
  76. v.Anchored=false
  77. player.Character.HumanoidRootPart.Position=v.Position
  78. end
  79. end
  80. for i,v in pairs(player.Character:GetChildren()) do
  81. if v.ClassName == "Tool" then
  82. v:Activate()
  83. end
  84. end
  85. for i,v in pairs(workspace:GetChildren()) do
  86. if v.Name == "Sell Part" then
  87. v.Position=player.Character.HumanoidRootPart.Position
  88. end
  89. end
  90.  
  91. for i,v in pairs(game.ReplicatedStorage.ItemModels.Food:GetChildren()) do
  92. if v.ClassName == "Tool" then
  93. game.ReplicatedStorage.Aero.AeroRemoteServices.ActionService.BuyFood:FireServer(v.Name)
  94. end
  95. end
  96. if ok == false then
  97. RenderStepped:Disconnect()
  98. end
  99. end
  100. end)
  101. -- reav
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement