Advertisement
Anonymouse10101

Vacuum Simulator Script (Speed,Range)

May 21st, 2019
2,734
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.05 KB | None | 0 0
  1. -- Made By Frefen (bs ks)
  2.  
  3.  
  4.  
  5. -- Instances:
  6. local poofsimulator = Instance.new("ScreenGui")
  7. local OpenFrame = Instance.new("Frame")
  8. local Open = Instance.new("TextButton")
  9. local Main = Instance.new("Frame")
  10. local BeautyA = Instance.new("Frame")
  11. local Name = Instance.new("TextLabel")
  12. local BeautyB = Instance.new("Frame")
  13. local Credit = Instance.new("TextLabel")
  14. local Range = Instance.new("TextButton")
  15. local Close = Instance.new("TextButton")
  16. local WalkSpeed = Instance.new("TextButton")
  17. local AmountA = Instance.new("TextBox")
  18. local AmountB = Instance.new("TextBox")
  19. --Properties:
  20. poofsimulator.Name = "poof simulator"
  21. poofsimulator.Parent = game.CoreGui
  22. poofsimulator.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  23.  
  24. OpenFrame.Name = "OpenFrame"
  25. OpenFrame.Parent = poofsimulator
  26. OpenFrame.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
  27. OpenFrame.BorderColor3 = Color3.new(0.666667, 0, 0.498039)
  28. OpenFrame.Position = UDim2.new(0, 0, 0.624761934, 0)
  29. OpenFrame.Size = UDim2.new(0, 68, 0, 24)
  30. Open.MouseButton1Down:connect(function()
  31. Main.Visible = true
  32. OpenFrame.Visible = false
  33. end)
  34.  
  35. Open.Name = "Open"
  36. Open.Parent = OpenFrame
  37. Open.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
  38. Open.BorderColor3 = Color3.new(0.666667, 0, 0.498039)
  39. Open.Size = UDim2.new(0, 68, 0, 24)
  40. Open.Font = Enum.Font.Cartoon
  41. Open.Text = "Open"
  42. Open.TextColor3 = Color3.new(1, 1, 1)
  43. Open.TextSize = 30
  44.  
  45. Main.Name = "Main"
  46. Main.Parent = poofsimulator
  47. Main.Active = true
  48. Main.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  49. Main.BorderSizePixel = 0
  50. Main.Position = UDim2.new(0.376574308, 0, 0.178571433, 0)
  51. Main.Size = UDim2.new(0, 369, 0, 187)
  52. Main.Visible = false
  53. Main.Draggable = true
  54.  
  55. BeautyA.Name = "BeautyA"
  56. BeautyA.Parent = Main
  57. BeautyA.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  58. BeautyA.BorderColor3 = Color3.new(0.0627451, 0.0627451, 0.0627451)
  59. BeautyA.BorderSizePixel = 0
  60. BeautyA.Size = UDim2.new(0, 369, 0, 25)
  61.  
  62. Name.Name = "Name"
  63. Name.Parent = BeautyA
  64. Name.BackgroundColor3 = Color3.new(1, 1, 1)
  65. Name.BackgroundTransparency = 1
  66. Name.BorderSizePixel = 0
  67. Name.Position = UDim2.new(0.316628695, 0, 0, 0)
  68. Name.Size = UDim2.new(0, 154, 0, 25)
  69. Name.Font = Enum.Font.Cartoon
  70. Name.Text = "Българи Юнаци!"
  71. Name.TextColor3 = Color3.new(1, 1, 1)
  72. Name.TextSize = 20
  73.  
  74. BeautyB.Name = "BeautyB"
  75. BeautyB.Parent = Main
  76. BeautyB.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  77. BeautyB.BorderColor3 = Color3.new(0.0627451, 0.0627451, 0.0627451)
  78. BeautyB.BorderSizePixel = 0
  79. BeautyB.Position = UDim2.new(0, 0, 0.91366905, 0)
  80. BeautyB.Size = UDim2.new(0, 369, 0, 24)
  81.  
  82. Credit.Name = "Credit"
  83. Credit.Parent = BeautyB
  84. Credit.BackgroundColor3 = Color3.new(1, 1, 1)
  85. Credit.BackgroundTransparency = 1
  86. Credit.BorderSizePixel = 0
  87. Credit.Size = UDim2.new(0, 369, 0, 24)
  88. Credit.Font = Enum.Font.Cartoon
  89. Credit.Text = "Gui Made By DukyBG , Scripts Made By DukyBG"
  90. Credit.TextColor3 = Color3.new(1, 1, 1)
  91. Credit.TextSize = 16
  92.  
  93. Range.Name = "Range"
  94. Range.Parent = Main
  95. Range.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  96. Range.BorderSizePixel = 0
  97. Range.Position = UDim2.new(0.0294061545, 0, 0.192163438, 0)
  98. Range.Size = UDim2.new(0, 69, 0, 28)
  99. Range.Font = Enum.Font.Cartoon
  100. Range.Text = "Range"
  101. Range.TextColor3 = Color3.new(1, 1, 1)
  102. Range.TextSize = 25
  103.  
  104. Close.Name = "Close"
  105. Close.Parent = Main
  106. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  107. Close.BackgroundTransparency = 1
  108. Close.BorderSizePixel = 0
  109. Close.Position = UDim2.new(0.935208917, 0, -0.00128471851, 0)
  110. Close.Size = UDim2.new(0, 28, 0, 25)
  111. Close.Font = Enum.Font.SourceSans
  112. Close.Text = "X"
  113. Close.TextColor3 = Color3.new(1, 1, 1)
  114. Close.TextSize = 30
  115. Close.MouseButton1Down:connect(function()
  116. OpenFrame.Visible = true
  117. Main.Visible = false
  118. end)
  119.  
  120. WalkSpeed.Name = "WalkSpeed"
  121. WalkSpeed.Parent = Main
  122. WalkSpeed.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  123. WalkSpeed.BorderSizePixel = 0
  124. WalkSpeed.Position = UDim2.new(0.0294061545, 0, 0.539930165, 0)
  125. WalkSpeed.Size = UDim2.new(0, 69, 0, 28)
  126. WalkSpeed.Font = Enum.Font.Cartoon
  127. WalkSpeed.Text = "Speed"
  128. WalkSpeed.TextColor3 = Color3.new(1, 1, 1)
  129. WalkSpeed.TextSize = 25
  130.  
  131. AmountA.Name = "AmountA"
  132. AmountA.Parent = Main
  133. AmountA.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  134. AmountA.BorderSizePixel = 0
  135. AmountA.Position = UDim2.new(0.336768925, 0, 0.187165767, 0)
  136. AmountA.Size = UDim2.new(0, 119, 0, 28)
  137. AmountA.Font = Enum.Font.Cartoon
  138. AmountA.Text = "Amount"
  139. AmountA.TextColor3 = Color3.new(1, 1, 1)
  140. AmountA.TextSize = 25
  141.  
  142. AmountB.Name = "AmountB"
  143. AmountB.Parent = Main
  144. AmountB.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  145. AmountB.BorderSizePixel = 0
  146. AmountB.Position = UDim2.new(0.336768925, 0, 0.534759343, 0)
  147. AmountB.Size = UDim2.new(0, 119, 0, 28)
  148. AmountB.Font = Enum.Font.Cartoon
  149. AmountB.Text = "Amount"
  150. AmountB.TextColor3 = Color3.new(1, 1, 1)
  151. AmountB.TextSize = 25
  152. -- Scripts:
  153.  
  154. Range.MouseButton1Down:connect(function()
  155. game.Players.LocalPlayer.PlayerStats.Range.Value = AmountA.Text
  156. end)
  157.  
  158. WalkSpeed.MouseButton1Down:connect(function()
  159. game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = AmountB.Text
  160. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement