Advertisement
Roblox_Xploits

test123

Mar 22nd, 2017
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.64 KB | None | 0 0
  1. me = game.Players.arceus3270
  2. cha = me.Character
  3.  
  4. tool = Instance.new("Tool")
  5. tool.Parent = me.Backpack
  6. tool.Name = "Pistol"
  7. tool.GripPos = Vector3.new(0.3,0,0)
  8.  
  9. we = Instance.new("Weld")
  10. we.Parent = cha.Torso
  11. we.Part0 = nil
  12. we.Part1 = nil
  13. we.C1 = CFrame.fromEulerAnglesXYZ(-1.6,-0.5,0.1) * CFrame.new(-0.8,-0.5,0.7)
  14. we1 = Instance.new("Weld")
  15. we1.Parent = cha.Torso
  16. we1.Part0 = nil
  17. we1.Part1 = nil
  18. we1.C1 = CFrame.fromEulerAnglesXYZ(-1.6,0.7,0.1) * CFrame.new(0.7,-0.5,0.7)
  19.  
  20. h = Instance.new("Part")
  21. h.Parent = tool
  22. h.Name = "Handle"
  23. h.Size = Vector3.new(1,1,1)
  24. h.TopSurface = 0
  25. h.BottomSurface = 0
  26. h.BrickColor = BrickColor.new("Really black")
  27. h.Reflectance = 0.07
  28. h.CanCollide = false
  29.  
  30. m = Instance.new("BlockMesh")
  31. m.Parent = h
  32. m.Scale = Vector3.new(0.38, 1.05, 0.48)
  33. m.Name = "oo"
  34.  
  35. sound = Instance.new("Sound")
  36. sound.Parent = tool
  37. sound.Name = "Music"
  38. sound.Playing = true
  39. sound.SoundId = "rbxassetid://201407631"
  40. sound.Volume = 0.6
  41.  
  42. h1 = Instance.new("Part")
  43. h1.Parent = tool
  44. h1.Name = "Handle1"
  45. h1.Size = Vector3.new(1,1,1)
  46. h1.TopSurface = 0
  47. h1.BottomSurface = 0
  48. h1.BrickColor = BrickColor.new("Dark grey")
  49. h1.Reflectance = 0.07
  50. h1.CanCollide = false
  51.  
  52. m1 = Instance.new("BlockMesh")
  53. m1.Parent = h1
  54. m1.Scale = Vector3.new(0.45, 0.45, 1.8)
  55.  
  56. h4 = Instance.new("Part")
  57. h4.Parent = tool
  58. h4.Name = "Handle4"
  59. h4.Size = Vector3.new(1,1,1)
  60. h4.TopSurface = 0
  61. h4.BottomSurface = 0
  62. h4.BrickColor = BrickColor.new("Dark grey")
  63. h4.Reflectance = 0.01
  64. h4.CanCollide = false
  65.  
  66. m4 = Instance.new("BlockMesh")
  67. m4.Parent = h4
  68. m4.Scale = Vector3.new(0.1, 0.2, 0.03)
  69.  
  70. h6 = Instance.new("Part")
  71. h6.Parent = tool
  72. h6.Name = "Handle6"
  73. h6.Size = Vector3.new(1,1,1)
  74. h6.TopSurface = 0
  75. h6.BottomSurface = 0
  76. h6.BrickColor = BrickColor.new("Really black")
  77. h6.CanCollide = false
  78.  
  79. m6 = Instance.new("CylinderMesh")
  80. m6.Parent = h6
  81. m6.Scale = Vector3.new(0.2, 0.2, 0.2)
  82.  
  83. firf = Instance.new("Fire")
  84. firf.Size = 0
  85. firf.Heat = 40
  86. firf.Parent = h6
  87. firf.Enabled = false
  88.  
  89. h7 = Instance.new("Part")
  90. h7.Parent = tool
  91. h7.Name = "Handle7"
  92. h7.Size = Vector3.new(1,1,1)
  93. h7.TopSurface = 0
  94. h7.BottomSurface = 0
  95. h7.BrickColor = BrickColor.new("Dark grey")
  96. h7.CanCollide = false
  97.  
  98. m7 = Instance.new("BlockMesh")
  99. m7.Parent = h7
  100. m7.Scale = Vector3.new(0.025, 0.08, 0.05)
  101.  
  102. h8 = h7:clone()
  103. h8.Parent = tool
  104. h8.Name = "Handle8"
  105.  
  106. h9 = h7:clone()
  107. h9.Parent = tool
  108. h9.Name = "Handle9"
  109. h9.CanCollide = false
  110.  
  111. h10 = h:clone()
  112. h10.Parent = tool
  113. h10.Name = "Handle10"
  114. h10.oo.Scale = Vector3.new(0.16, 0.8, 0.34)
  115. h10.BrickColor = BrickColor.new("Dark grey")
  116.  
  117. smo = Instance.new("Smoke")
  118. smo.Color = Color3.new(100/255, 100/255, 100/255)
  119. smo.Parent = h7
  120. smo.Size = 2
  121. smo.RiseVelocity = 5
  122. smo.Enabled = false
  123.  
  124. gui = Instance.new("ScreenGui")
  125. gui.Parent = me.PlayerGui
  126. gui.Name = "PistolAmmo"
  127.  
  128. value = Instance.new("NumberValue")
  129. value.Parent = gui
  130. value.Value = 8
  131. value.Name = "ammoo"
  132.  
  133. clips = Instance.new("NumberValue")
  134. clips.Parent = gui
  135. clips.Value = 5
  136. clips.Name = "claps"
  137.  
  138. blaa = Instance.new("Frame")
  139. blaa.Parent = gui
  140. blaa.Size = UDim2.new(0,80,0,40)
  141. blaa.Position = UDim2.new(0,50,0,100)
  142. blaa.Visible = false
  143. blaa.BackgroundColor = BrickColor.new("Really black")
  144. blaa.BorderColor = BrickColor.new("Crimson")
  145.  
  146. text = Instance.new("TextLabel")
  147. text.Parent = gui
  148. text.Name = "Ammo"
  149. text.Text = value.Value.."/"..clips.Value
  150. text.Size = UDim2.new(0, 80, 0, 0)
  151. text.Position = UDim2.new(0, 50, 0, 125)
  152. text.Visible = false
  153. text.BackgroundTransparency = 1
  154. text.TextColor = BrickColor.new("Crimson")
  155.  
  156. durp = Instance.new("TextLabel")
  157. durp.Parent = gui
  158. durp.Name = "txt"
  159. durp.Text = " "
  160. durp.Size = UDim2.new(0, 80, 0, 0)
  161. durp.Position = UDim2.new(0, 50, 0, 115)
  162. durp.Visible = false
  163. durp.BackgroundTransparency = 1
  164. durp.TextColor = BrickColor.new("Crimson")
  165.  
  166. local sound = Instance.new("Sound")
  167. sound.Parent = h1
  168. sound.Volume = 1
  169. sound.Pitch = 1
  170. sound.SoundId = "http://www.roblox.com/asset/?id=2760979"
  171. sound.archivable = false
  172.  
  173. local soun = Instance.new("Sound")
  174. soun.Parent = h1
  175. soun.Volume = 1
  176. soun.Pitch = 1
  177. soun.SoundId = "http://www.roblox.com/asset/?id=2691591"
  178. soun.archivable = false
  179.  
  180. local hed = Instance.new("Sound")
  181. hed.Parent = game.Workspace
  182. hed.Volume = 0.7
  183. hed.Pitch = 1
  184. hed.SoundId = "http://www.roblox.com/asset/?id=1876552"
  185. hed.archivable = false
  186.  
  187. enabled = false
  188.  
  189. function shot()
  190. local p = Instance.new("Part")
  191. p.Parent = game.Workspace
  192. p.Size = Vector3.new(1,1,1)
  193. p.TopSurface = 0
  194. p.BottomSurface = 0
  195. p.CFrame = h1.CFrame * CFrame.new(0,0,0)
  196. p:breakJoints()
  197. p.Anchored = false
  198. p.CanCollide = false
  199. local m = Instance.new("SpecialMesh")
  200. m.Parent = p
  201. m.MeshType = "FileMesh"
  202. m.Scale = Vector3.new(0.35,0.35,0.22)
  203. m.MeshId = "http://www.roblox.com/asset/?id=2697549"
  204. m.TextureId = "http://www.roblox.com/asset/?id=2697544"
  205. local bv = Instance.new("BodyForce")
  206. bv.Parent = p
  207. bv.force = h1.CFrame.lookVector * 2500
  208. bv.force = bv.force + Vector3.new(0, 220, 0)
  209. sound.Pitch = math.random(0.8,1.2)
  210. sound.Volume = math.random(0.8,1.0)
  211. sound:play()
  212. firf.Enabled = true
  213. smo.Enabled = true
  214. wait(0.04)
  215. firf.Enabled = false
  216. smo.Enabled = false
  217. p.Touched:connect(function(hit)
  218. if hit.Parent.Name == me.Name then return end
  219. if hit.Name == "Base" then return end
  220. hit.Velocity = p.CFrame.lookVector * 30
  221. local hum = hit.Parent:GetChildren()
  222. for i=1, #hum do
  223. if hum[i].className == "Humanoid" then
  224. hum[i].Health = hum[i].Health - 20
  225. if hit.Name == "Head" then
  226. hed:play()
  227. hum[i].Health = 0
  228. end
  229. for i=1, math.random(4,10) do
  230. local blood = Instance.new("Part")
  231. blood.Parent = game.Workspace
  232. blood.BrickColor = BrickColor.new(21)
  233. blood.formFactor = "Plate"
  234. blood.Size = Vector3.new(1,0.4,1)
  235. blood.TopSurface = 0
  236. blood.BottomSurface = 0
  237. blood.CFrame = hit.CFrame
  238. blood.Velocity = Vector3.new(math.random(-40,40),math.random(-10,25),math.random(-40,40))
  239. blood.RotVelocity = Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
  240. blood.CanCollide = false
  241. blood.Anchored = false
  242. blood:BreakJoints()
  243. end
  244. end
  245. end
  246. p:remove()
  247. end)
  248. end
  249.  
  250. function Main(mouse)
  251. if enabled == true then return end
  252. enabled = true
  253. value.Value = value.Value - 1
  254. text.Text = value.Value.."/"..clips.Value
  255.  
  256. if value.Value == -1 then
  257. durp.Text = "You're out!"
  258. text.Text = "0/"..clips.Value
  259. if clips.Value <= 0 then return end
  260. durp.Text = "Reloading.."
  261. soun:play()
  262. wait(0.5)
  263. local fv = h10:clone()
  264. fv.Parent = workspace
  265. fv.CanCollide = true
  266. fv.Velocity = Vector3.new(math.random(-20,20),math.random(-5,5),math.random(-20,20))
  267. fv.RotVelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  268. h10.Transparency = 1
  269. wait(1.7)
  270. h10.Transparency = 0
  271. wait(0.5)
  272. clips.Value = clips.Value - 1
  273. value.Value = 8
  274. text.Text = value.Value.."/"..clips.Value
  275. durp.Text = " "
  276. end
  277. shot()
  278.  
  279. for i=1, 2 do
  280. wait()
  281. w2.C1 = w2.C1 * CFrame.fromEulerAnglesXYZ(0.23,0,0) * CFrame.new(0,-0.08,-0.2)
  282. end
  283. for i=1, 2 do
  284. wait()
  285. w2.C1 = w2.C1 * CFrame.fromEulerAnglesXYZ(-0.23,0,0) * CFrame.new(0,0.08,0.2)
  286. end
  287. w2.C1 = CFrame.fromEulerAnglesXYZ(-0.1, 0, 0) * CFrame.new(0,-0.43,0.35)
  288. wait(0.1)
  289. for i = 1, 6 do
  290. w4.C1 = w4.C1 * CFrame.new(0,0,-0.08)
  291. w7.C1 = w7.C1 * CFrame.new(0,0,-0.08)
  292. w8.C1 = w8.C1 * CFrame.new(0,0,-0.08)
  293. wait()
  294. end
  295. for i = 1, 2 do
  296. w4.C1 = w4.C1 * CFrame.new(0,0,0.24)
  297. w7.C1 = w7.C1 * CFrame.new(0,0,0.24)
  298. w8.C1 = w8.C1 * CFrame.new(0,0,0.24)
  299. wait()
  300. end
  301. w5.C1 = CFrame.fromEulerAnglesXYZ(1.571, 0, 0) * CFrame.new(0,-0.8,1.39)
  302. w7.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0.03,-1.11,-0.25)
  303. w8.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(-0.03,-1.11,-0.25)
  304. wait(0.03)
  305. enabled = false
  306. wait(2)
  307. p:remove()
  308. end
  309. tool.Activated:connect(Main)
  310.  
  311. num = 1
  312. function Init(mouse)
  313. text.Visible = true
  314. blaa.Visible = true
  315. durp.Visible = true
  316. we.Part0 = we.Parent
  317. we.Part1 = cha["Right Arm"]
  318. we1.Part0 = we1.Parent
  319. we1.Part1 = cha["Left Arm"]
  320. we2 = Instance.new("Weld")
  321. we2.Parent = tool.Parent.Torso
  322. we2.Part0 = we2.Parent
  323. we2.Part1 = h
  324. we2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.5,1.6)
  325. w = Instance.new("Weld")
  326. w.Parent = h
  327. w.Part0 = w.Parent
  328. w.Part1 = h1
  329. w.C1 = CFrame.new(0, -0.8, 0.6)
  330. w1 = Instance.new("Weld")
  331. w1.Parent = h
  332. w1.Part0 = w.Parent
  333. w1.Part1 = h2
  334. w1.C1 = CFrame.fromEulerAnglesXYZ(0.3, 0, 0) * CFrame.new(0,-0.4,0.55)
  335. w3 = Instance.new("Weld")
  336. w3.Parent = h
  337. w3.Part0 = w.Parent
  338. w3.Part1 = h3
  339. w3.C1 = CFrame.fromEulerAnglesXYZ(1.3, 0, 0) * CFrame.new(0,-0.2,0.35)
  340. w2 = Instance.new("Weld")
  341. w2.Parent = h
  342. w2.Part0 = w.Parent
  343. w2.Part1 = h4
  344. w2.C1 = CFrame.fromEulerAnglesXYZ(-0.1, 0, 0) * CFrame.new(0,-0.43,0.35)
  345. w4 = Instance.new("Weld")
  346. w4.Parent = h
  347. w4.Part0 = w.Parent
  348. w4.Part1 = h5
  349. w4.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0,-0.9,0.435)
  350. w5 = Instance.new("Weld")
  351. w5.Parent = h
  352. w5.Part0 = w.Parent
  353. w5.Part1 = h6
  354. w5.C1 = CFrame.fromEulerAnglesXYZ(1.571, 0, 0) * CFrame.new(0,-0.8,1.39)
  355. w6 = Instance.new("Weld")
  356. w6.Parent = h
  357. w6.Part0 = w.Parent
  358. w6.Part1 = h7
  359. w6.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0,-1.1,1.4)
  360. w7 = Instance.new("Weld")
  361. w7.Parent = h5
  362. w7.Part0 = w.Parent
  363. w7.Part1 = h8
  364. w7.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0.03,-1.11,-0.25)
  365. w8 = Instance.new("Weld")
  366. w8.Parent = h5
  367. w8.Part0 = w.Parent
  368. w8.Part1 = h9
  369. w8.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(-0.03,-1.11,-0.25)
  370. w9 = Instance.new("Weld")
  371. w9.Parent = h
  372. w9.Part0 = w.Parent
  373. w9.Part1 = h10
  374. w9.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0,0.2,0)
  375. end
  376.  
  377. tool.Equipped:connect(Init)
  378.  
  379. function unq()
  380. we.Part0 = nil
  381. we.Part1 = nil
  382. we1.Part0 = nil
  383. we1.Part1 = nil
  384. we2:remove()
  385. text.Visible = false
  386. durp.Visible = false
  387. blaa.Visible = false
  388. end
  389.  
  390. tool.Unequipped:connect(unq)
  391.  
  392.  
  393. --lego
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement