Advertisement
Scriptorz5

🍸Soda Simulator🍸

Sep 28th, 2018
688
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. local screen = Instance.new("ScreenGui")
  2. screen.Parent = game.CoreGui
  3. local gui = Instance.new("TextButton")
  4. gui.Parent = screen
  5. gui.TextColor3 = Color3.new(0, 255, 0)
  6. gui.Draggable = true
  7. gui.Size = UDim2.new(.1, 0, .1, 0)
  8. local boolean = true
  9. local breaked = false
  10.  
  11. gui.MouseButton1Click:Connect(function()
  12. if boolean then
  13. gui.TextColor3 = Color3.new(255, 0, 0)
  14. boolean = false
  15. else
  16. gui.TextColor3 = Color3.new(0, 255, 0)
  17. boolean = true
  18. end
  19. end)
  20.  
  21. while wait() do
  22. game.Workspace.Remoter.Rebirth:FireServer()
  23. if boolean then
  24. for i,v in pairs(workspace:GetChildren()) do
  25. if v.Name == "MapBackground" then
  26. for a,b in pairs(v.DrinksFolder.DrinkSips:GetChildren()) do
  27. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=b.CFrame
  28. wait(.01)
  29. if not boolean then
  30. breaked = true
  31. break
  32. end
  33. end
  34. if breaked then
  35. break
  36. end
  37. for a,b in pairs(v.DrinksFolder.DrinkXP:GetChildren()) do
  38. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=b.CFrame
  39. wait(.01)
  40. if not boolean then
  41. breaked = true
  42. break
  43. end
  44. end
  45. if breaked then
  46. break
  47. end
  48. end
  49. end
  50. breaked = false
  51. end
  52. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement