Pozu2

Weapon Simulator Script

Oct 31st, 2018
13,995
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.31 KB | None | 0 0
  1. -- Objects
  2.  
  3. local uc = Instance.new("ScreenGui")
  4. local main = Instance.new("Frame")
  5. local sellall = Instance.new("TextButton")
  6. local hearts = Instance.new("TextButton")
  7. local attk = Instance.new("TextButton")
  8. local unlockall = Instance.new("TextButton")
  9. local TextLabel = Instance.new("TextLabel")
  10. local farm = Instance.new("TextButton")
  11.  
  12. -- Properties
  13.  
  14. uc.Name = "uc"
  15. uc.Parent = game.CoreGui
  16.  
  17. main.Name = "main"
  18. main.Parent = uc
  19. main.Active = true
  20. main.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
  21. main.BackgroundTransparency = 0.69999998807907
  22. main.BorderSizePixel = 0
  23. main.Position = UDim2.new(0.48157084, 0, 0.258426964, 0)
  24. main.Size = UDim2.new(0, 12, 0, 134)
  25. main.Draggable = true
  26.  
  27. sellall.Name = "sellall"
  28. sellall.Parent = main
  29. sellall.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
  30. sellall.BackgroundTransparency = 0.20000000298023
  31. sellall.BorderSizePixel = 0
  32. sellall.Position = UDim2.new(1.66666663, 0, 0.0399999991, 0)
  33. sellall.Size = UDim2.new(0, 92, 0, 15)
  34. sellall.Font = Enum.Font.Fantasy
  35. sellall.Text = "Sell"
  36. sellall.TextColor3 = Color3.new(1, 1, 1)
  37. sellall.TextSize = 14
  38. sellall.MouseButton1Down:connect(function()
  39. sellall.BackgroundColor3 = Color3.new(0.227451, 0.596078, 0)
  40. local plr = game.Workspace[game.Players.LocalPlayer.Name].HumanoidRootPart
  41. for i,v in pairs(game.Workspace:GetDescendants()) do
  42. if v.Name == "Sell" then
  43. plr.CFrame = v.CFrame
  44. wait()
  45. end
  46. end
  47. end)
  48.  
  49. hearts.Name = "hearts"
  50. hearts.Parent = main
  51. hearts.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
  52. hearts.BackgroundTransparency = 0.20000000298023
  53. hearts.BorderSizePixel = 0
  54. hearts.Position = UDim2.new(1.66666663, 0, 0.763665199, 0)
  55. hearts.Size = UDim2.new(0, 92, 0, 15)
  56. hearts.Font = Enum.Font.Fantasy
  57. hearts.Text = "Collect Hearts"
  58. hearts.TextColor3 = Color3.new(1, 1, 1)
  59. hearts.TextSize = 14
  60. hearts.MouseButton1Down:connect(function()
  61. hearts.BackgroundColor3 = Color3.new(0.227451, 0.596078, 0)
  62. while wait() do
  63. local plr = game.Workspace[game.Players.LocalPlayer.Name].HumanoidRootPart
  64. for i,v in pairs(game.Workspace:GetDescendants()) do
  65. if v.Name == "Heart" then
  66. v.CFrame = plr.CFrame
  67. wait()
  68. end
  69. end
  70. end
  71. end)
  72.  
  73. attk.Name = "attk"
  74. attk.Parent = main
  75. attk.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
  76. attk.BackgroundTransparency = 0.20000000298023
  77. attk.BorderSizePixel = 0
  78. attk.Position = UDim2.new(1.66666663, 0, 0.397778153, 0)
  79. attk.Size = UDim2.new(0, 92, 0, 15)
  80. attk.Font = Enum.Font.Fantasy
  81. attk.Text = "Auto Attack"
  82. attk.TextColor3 = Color3.new(1, 1, 1)
  83. attk.TextSize = 14
  84. attk.MouseButton1Down:connect(function()
  85. attk.BackgroundColor3 = Color3.new(0.227451, 0.596078, 0)
  86. while true do
  87. wait()
  88. local A_1 = Vector3.new(59.3279877, 0.100000001, 56.6135178)
  89. local Event = game:GetService("Workspace")[game.Players.LocalPlayer.Name].Weapons.Remote
  90. Event:FireServer(A_1)
  91. end
  92. end)
  93.  
  94. unlockall.Name = "unlockall"
  95. unlockall.Parent = main
  96. unlockall.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
  97. unlockall.BackgroundTransparency = 0.20000000298023
  98. unlockall.BorderSizePixel = 0
  99. unlockall.Position = UDim2.new(1.66666663, 0, 0.575339675, 0)
  100. unlockall.Size = UDim2.new(0, 92, 0, 15)
  101. unlockall.Font = Enum.Font.Fantasy
  102. unlockall.Text = "Unlock All "
  103. unlockall.TextColor3 = Color3.new(1, 1, 1)
  104. unlockall.TextSize = 14
  105. unlockall.MouseButton1Down:connect(function()
  106. unlockall.BackgroundColor3 = Color3.new(0.227451, 0.596078, 0)
  107. game.Workspace.Areas["2"].Door:Destroy()
  108. game.Workspace.Areas["3"].Door:Destroy()
  109. game.Workspace.Areas["4"].Door:Destroy()
  110. game.Workspace.Areas["5"].Door:Destroy()
  111. game.Workspace.Areas["6"].Door:Destroy()
  112. game.Workspace.Areas["7"].Door:Destroy()
  113. game.Workspace.Areas["8"].Door:Destroy()
  114. game.Workspace.Areas["9"].Door:Destroy()
  115. end)
  116.  
  117. TextLabel.Parent = main
  118. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  119. TextLabel.BackgroundTransparency = 1
  120. TextLabel.Position = UDim2.new(1.66666663, 0, 0.942857146, 0)
  121. TextLabel.Size = UDim2.new(0, 92, 0, 10)
  122. TextLabel.Font = Enum.Font.Fantasy
  123. TextLabel.Text = "DarkDevs.Ga"
  124. TextLabel.TextColor3 = Color3.new(1, 0, 0.0156863)
  125. TextLabel.TextSize = 14
  126.  
  127. farm.Name = "farm"
  128. farm.Parent = main
  129. farm.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
  130. farm.BackgroundTransparency = 0.20000000298023
  131. farm.BorderSizePixel = 0
  132. farm.Position = UDim2.new(1.66666663, 0, 0.226351738, 0)
  133. farm.Size = UDim2.new(0, 92, 0, 15)
  134. farm.Font = Enum.Font.Fantasy
  135. farm.Text = "Auto Farm"
  136. farm.TextColor3 = Color3.new(1, 1, 1)
  137. farm.TextSize = 14
  138. farm.MouseButton1Down:connect(function()
  139. farm.BackgroundColor3 = Color3.new(0.227451, 0.596078, 0)
  140. while true do
  141. wait(2)
  142. local plr = game.Workspace[game.Players.LocalPlayer.Name].HumanoidRootPart
  143. for i,v in pairs(game.Workspace.Areas:GetDescendants()) do
  144. if v.Name == "HumanoidRootPart" then
  145. plr.CFrame = v.CFrame + Vector3.new(math.random(-2,2),0,math.random(-1,1))
  146. wait()
  147. end
  148. end
  149. end
  150. while true do
  151. wait()
  152. local A_1 = Vector3.new(59.3279877, 0.100000001, 56.6135178)
  153. local Event = game:GetService("Workspace")[game.Players.LocalPlayer.Name].Weapons.Remote
  154. Event:FireServer(A_1)
  155. end
  156. while true do
  157. wait(5)
  158. local plr = game.Workspace[game.Players.LocalPlayer.Name].HumanoidRootPart
  159. for i,v in pairs(game.Workspace:GetDescendants()) do
  160. if v.Name == "Sell" then
  161. plr.CFrame = v.CFrame
  162. wait()
  163. end
  164. end
  165. end
  166. end)
Add Comment
Please, Sign In to add comment