Advertisement
BladeMasterNarfh

DEr

Oct 26th, 2015
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.64 KB | None | 0 0
  1. ----Sherrif gun Version 8.1 A very OP weapon made by narfh---
  2.  
  3.  
  4. [[-- Updates:
  5.  
  6. New raycasting effects
  7. Fire effect is now realistic
  8. More OP
  9. Ragdoll on death
  10. Music sounds
  11. Ammo!
  12. Awesome fade
  13. --]]
  14.  
  15.  
  16. local maxammo = 60
  17. local ammo = 60
  18. player = game.Players.LocalPlayer
  19. Character = player.Character
  20. Head = Character.Head
  21. Torso = Character.Torso
  22. RightArm = Character["Right Arm"]
  23.  
  24. local Sounds = {
  25. Bang = Instance.new("Sound"),
  26. Hit = Instance.new("Sound"),
  27. click = Instance.new("Sound"),
  28. Dead = Instance.new("Sound")
  29. }
  30.  
  31.  
  32. Sounds["Dead"].SoundId = "rbxassetid://1089403"
  33. Sounds["Dead"].Volume = 10
  34. Sounds["Bang"].SoundId = "rbxassetid://31173863"
  35. Sounds["Bang"].Volume = 10
  36. Sounds["Hit"].SoundId = "rbxassetid://31173771"
  37. Sounds["Hit"].Volume = 0.5
  38. Sounds["click"].SoundId = "rbxassetid://156286438"
  39. Sounds["click"].Volume = 5
  40.  
  41. function PlaySound(soundname, pitch)
  42. Sounds[soundname].Parent = Character.Torso
  43. Sounds[soundname].Pitch = pitch
  44. Sounds[soundname]:Play()
  45. local oldsound = Sounds[soundname]
  46. coroutine.resume(coroutine.create(function()
  47. wait(4)
  48. oldsound:Destroy()
  49. end))
  50. Sounds[soundname] = Sounds[soundname]:clone()
  51. end
  52.  
  53. it=Instance.new
  54. function weld(parent,part0,part1,c0)
  55. local weld = it("Weld")
  56. weld.Parent = parent
  57. weld.Part0 = part0
  58. weld.Part1 = part1
  59. weld.C0 = c0
  60. return weld
  61. end
  62.  
  63. function ragJoint(hit,r,d)
  64. d = d or 0
  65. local rpar,r0,r1 = r.Parent,r.Part0,r.Part1
  66. if d > 0 then wait(d) end
  67. local p = hit:Clone()
  68. p:BreakJoints()
  69. p:ClearAllChildren()
  70. p.FormFactor = "Custom"
  71. p.Size = p.Size/2
  72. p.Transparency = 1
  73. p.CanCollide = true
  74. p.Name = "Colliduh"
  75. p.Parent = hit
  76. local w = Instance.new("Weld",p)
  77. w.Part0 = hit
  78. w.Part1 = p
  79. w.C0 = CFrame.new(0,-p.Size.Y/2,0)
  80. local rot = Instance.new("Rotate",rpar)
  81. rot.Name = r.Name
  82. rot.Part0 = r0
  83. rot.Part1 = r1
  84. rot.C0 = r.C0
  85. rot.C1 = r.C1
  86. r0.Velocity = Vector3.new()
  87. r1.Velocity = Vector3.new()
  88. r:Destroy()
  89. end
  90.  
  91.  
  92.  
  93. local tool2 = game:GetService("InsertService"):LoadAsset(97885508):GetChildren()[1]
  94. tool2.Parent = player.Backpack
  95. tool2.Firescript:Remove()
  96. tool2.Script:Remove()
  97. tool2.LocalScript:Remove()
  98. tool2.Name = "Bang"
  99. tool2.ToolTip = "1 shot KO'd"
  100. local collided = false
  101. Handle = tool2.Handle
  102. local gui = Instance.new("BillboardGui",player.PlayerGui)
  103. gui.Size = UDim2.new(0,25,0,25)
  104. gui.AlwaysOnTop = true
  105. local mid = {"http://www.roblox.com/asset/?id=85561125","http://www.roblox.com/asset/?id=85561640","http://www.roblox.com/asset/?id=85561157","http://www.roblox.com/asset/?id=85643448","http://www.roblox.com/asset/?id=49092825","http://www.roblox.com/asset/?id=36527138"}
  106. Handle = tool2.Handle
  107.  
  108. function wrongP()
  109.  
  110. vDebounce = false
  111.  
  112. end
  113.  
  114.  
  115.  
  116.  
  117.  
  118. GuiMain=Instance.new("ScreenGui")
  119. Radar=Instance.new("Frame")
  120. GuiMain.Parent=player.PlayerGui
  121. Radar.Parent=GuiMain
  122. Radar.Size=UDim2.new(3,0,3,0)
  123. Radar.Position=UDim2.new(0,0,-0.1,0)
  124. Radar.BackgroundTransparency=1
  125. Radar.BackgroundColor=BrickColor.new("Institutional white")
  126. Radar.Name="HealthScreen"
  127.  
  128. function FadeIn()
  129. for i=1,0,-0.05 do
  130. Radar.BackgroundTransparency=i
  131. wait(0.15)
  132. end
  133. end
  134.  
  135.  
  136. tool2.Equipped:connect(function(mouse)
  137. --store the character of the person using the tool
  138. player = tool2
  139.  
  140. mouse.Button1Down:connect(function()
  141. --make and do a hit test along the ray
  142. local ray = Ray.new(tool2.Handle.CFrame.p, (mouse.Hit.p - tool2.Handle.CFrame.p).unit*1000)
  143. local hit, position = game.Workspace:FindPartOnRay(ray, player)
  144.  
  145. if Character == nil then return end
  146.  
  147. if ammo == 0 then PlaySound("click", 1) print'press r!' vDebounce = false return end
  148.  
  149. PlaySound("Bang", math.random(75,125)/100 )
  150. ammo = ammo - 1
  151. wait(0.4)
  152.  
  153. local animation2 = Instance.new("Animation")
  154.  
  155. animation2.Name = "reloading"
  156.  
  157. animation2.AnimationId = "http://www.roblox.com/asset/?id=97884303"
  158.  
  159. local animTrack2 = Character.Humanoid:LoadAnimation(animation2)
  160. animTrack2:Play()
  161.  
  162. local wa = Instance.new("Part",player)
  163.  
  164. wa.Transparency = 1
  165.  
  166. wa.CanCollide = false
  167.  
  168. wa.Size = Vector3.new(1, 1, 1)
  169.  
  170. wa:BreakJoints()
  171.  
  172. local Weld3 = Instance.new("Weld",wa)
  173.  
  174. Weld3.Part0 = Handle
  175.  
  176. Weld3.Part1 = wa
  177.  
  178. Weld3.C0 = CFrame.new(0, 0, -2) * CFrame.Angles(0, 0, 0)
  179. local light1=Instance.new("PointLight")
  180. light1.Brightness=50
  181. light1.Color=Color3.new(255,255,0)
  182. light1.Range=10
  183. light1.Parent=Handle
  184.  
  185. vDebounce = false
  186.  
  187.  
  188. for i = 1,3 do wait()
  189.  
  190.  
  191. local p = Instance.new("Part",workspace)
  192.  
  193. p.FormFactor="Custom"
  194.  
  195. p.Size=Vector3.new(1,1,1)
  196.  
  197. p.TopSurface = 0
  198.  
  199. p.BottomSurface = 0
  200.  
  201. local colorc = {"Bright yellow","Deep orange","Gold","New Yeller"}
  202.  
  203. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  204.  
  205. p.BrickColor = Fire
  206.  
  207. p.CanCollide=false
  208.  
  209. p.Anchored=true
  210.  
  211. p.CFrame =(Handle.CFrame*CFrame.new(0,0.5,-1.3))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  212.  
  213. light1:remove()
  214.  
  215. game.Debris:AddItem(p,.1)
  216. end
  217. wait(0.165)
  218.  
  219.  
  220.  
  221.  
  222.  
  223. local ray = Ray.new(tool2.Handle.CFrame.p, (mouse.Hit.p - tool2.Handle.CFrame.p).unit*1000)
  224. hit, position = game.Workspace:FindPartOnRay(ray, player)
  225.  
  226.  
  227.  
  228.  
  229. local ray = Ray.new(Handle.CFrame.p, (mouse.Hit.p - Handle.CFrame.p).unit*300)
  230. local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus)
  231. local distance = (position - Handle.CFrame.p).magnitude
  232. rp=Instance.new("Part",workspace)
  233. rp.Anchored=true
  234. rp.TopSurface="Smooth"
  235. rp.BottomSurface="Smooth"
  236. rp.Transparency=0.45
  237. local colors = {"Dark stone grey","Medium stone grey","Mid gray","Institutional white","Pearl","Ghost grey","Fosil","Smoky grey"}
  238. local Pew = BrickColor.new(colors[math.random(1, #colors)])
  239. rp.BrickColor= Pew
  240. rp.FormFactor="Custom"
  241. rp.CanCollide=false
  242. rp.Size=Vector3.new(0.1,0.1,distance)
  243. rp.Material = "Neon"
  244. rp.CFrame=CFrame.new(position, Handle.CFrame.p) * CFrame.new(0, 0, -distance/2)
  245. local cy=Instance.new("BlockMesh",rp)
  246.  
  247. rp.Touched:connect(function(hit)
  248. if hit.Parent.Name == Character.Name then return wrongP() end
  249.  
  250. local Char = hit.Parent
  251.  
  252. if hit.Name:match("Torso") then
  253. PlaySound("Hit", 1 )
  254. for i,v in pairs(Char:GetChildren()) do
  255. local r = Char.Torso:FindFirstChild(v.Name:gsub("Arm","Shoulder"):gsub("Leg","Hip"))
  256. if v:IsA("BasePart") and r then
  257. ragJoint(v,r,.1)
  258. elseif v:IsA("Humanoid") then
  259. v.PlatformStand = true
  260. v.Changed:connect(function()
  261. v.PlatformStand = true
  262. end)
  263. end
  264. end
  265. Delay(10,function()
  266. Char:BreakJoints()
  267. end)
  268. end
  269.  
  270.  
  271.  
  272. if hit.Name:match("Head") then
  273. PlaySound("Hit", 1 )
  274. for i,v in pairs(Char:GetChildren()) do
  275. local r = Char.Torso:FindFirstChild(v.Name:gsub("Arm","Shoulder"):gsub("Leg","Hip"))
  276. if v:IsA("BasePart") and r then
  277. ragJoint(v,r,.1)
  278. elseif v:IsA("Humanoid") then
  279. v.PlatformStand = true
  280. v.Changed:connect(function()
  281. v.PlatformStand = true
  282. end)
  283. end
  284. end
  285. Delay(3,function()
  286. Char:BreakJoints()
  287. end)
  288. end
  289.  
  290.  
  291. if hit.Name:match("Left Arm") then
  292. PlaySound("Hit", 1 )
  293. for i,v in pairs(Char:GetChildren()) do
  294. local r = Char.Torso:FindFirstChild(v.Name:gsub("Arm","Shoulder"):gsub("Leg","Hip"))
  295. if v:IsA("BasePart") and r then
  296. ragJoint(v,r,.1)
  297. elseif v:IsA("Humanoid") then
  298. v.PlatformStand = true
  299. v.Changed:connect(function()
  300. v.PlatformStand = true
  301. end)
  302. end
  303. end
  304. Delay(20,function()
  305. Char:BreakJoints()
  306. end)
  307. end
  308.  
  309. if hit.Name:match("Right Arm") then
  310. PlaySound("Hit", 1 )
  311. for i,v in pairs(Char:GetChildren()) do
  312. local r = Char.Torso:FindFirstChild(v.Name:gsub("Arm","Shoulder"):gsub("Leg","Hip"))
  313. if v:IsA("BasePart") and r then
  314. ragJoint(v,r,.1)
  315. elseif v:IsA("Humanoid") then
  316. v.PlatformStand = true
  317. v.Changed:connect(function()
  318. v.PlatformStand = true
  319. end)
  320. end
  321. end
  322. Delay(20,function()
  323. Char:BreakJoints()
  324. end)
  325. end
  326.  
  327. if hit.Name:match("Left Leg") then
  328. PlaySound("Hit", 1 )
  329. for i,v in pairs(Char:GetChildren()) do
  330. local r = Char.Torso:FindFirstChild(v.Name:gsub("Arm","Shoulder"):gsub("Leg","Hip"))
  331. if v:IsA("BasePart") and r then
  332. ragJoint(v,r,.1)
  333. elseif v:IsA("Humanoid") then
  334. v.PlatformStand = true
  335. v.Changed:connect(function()
  336. v.PlatformStand = true
  337. end)
  338. end
  339. end
  340. Delay(15,function()
  341. Char:BreakJoints()
  342. end)
  343. end
  344.  
  345. if hit.Name:match("Right leg") then
  346. PlaySound("Hit", 1 )
  347. for i,v in pairs(Char:GetChildren()) do
  348. local r = Char.Torso:FindFirstChild(v.Name:gsub("Arm","Shoulder"):gsub("Leg","Hip"))
  349. if v:IsA("BasePart") and r then
  350. ragJoint(v,r,.1)
  351. elseif v:IsA("Humanoid") then
  352. v.PlatformStand = true
  353. v.Changed:connect(function()
  354. v.PlatformStand = true
  355. end)
  356. end
  357. end
  358. Delay(15,function()
  359. Char:BreakJoints()
  360. end)
  361. end
  362.  
  363. end)
  364.  
  365. for i=1,10 do
  366. wait()
  367. cy.Scale=cy.Scale-Vector3.new(0.1,0.1,0)
  368. end
  369. rp:Destroy()
  370. print'Ammo consumed'
  371.  
  372.  
  373.  
  374.  
  375. end)
  376. end)
  377.  
  378.  
  379. function reload()
  380.  
  381. if (not vDebounce) then
  382.  
  383. vDebounce = true
  384.  
  385. local wa = Instance.new("Part",player)
  386.  
  387. wa.Transparency = 1
  388.  
  389. wa.CanCollide = false
  390.  
  391. wa.Size = Vector3.new(1, 1, 1)
  392.  
  393. wa:BreakJoints()
  394.  
  395. local Weld3 = Instance.new("Weld",wa)
  396.  
  397. Weld3.Part0 = Handle
  398.  
  399. Weld3.Part1 = wa
  400.  
  401. Weld3.C0 = CFrame.new(0, 0, -2) * CFrame.Angles(0, 0, 0)
  402.  
  403. local animation = Instance.new("Animation")
  404.  
  405. animation.Name = "reloading"
  406.  
  407. animation.AnimationId = "http://www.roblox.com/asset/?id=97885754"
  408.  
  409. local animTrack = Character.Humanoid:LoadAnimation(animation)
  410. animTrack:Play()
  411.  
  412. for i = 1,60 do wait()
  413.  
  414. local p = Instance.new("Part",workspace)
  415.  
  416. p.FormFactor="Custom"
  417.  
  418. p.Size=Vector3.new(0.5,0.5,0.5)
  419.  
  420. p.TopSurface = 0
  421.  
  422. p.BottomSurface = 0
  423.  
  424. local colors = {"Dark stone grey","Medium stone grey","Mid gray","Institutional white","Pearl","Ghost grey","Fosil","Smoky grey"}
  425.  
  426. local SmokeEffect = BrickColor.new(colors[math.random(1, #colors)])
  427.  
  428. p.BrickColor = SmokeEffect
  429.  
  430.  
  431. p.Transparency=.3
  432.  
  433. p.CanCollide=false
  434.  
  435. p.Anchored=true
  436.  
  437. p.CFrame =(Handle.CFrame*CFrame.new(0,0.5,-1.3))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  438.  
  439. game.Debris:AddItem(p,.1)
  440.  
  441.  
  442.  
  443. vDebounce = true
  444. ammo = maxammo
  445. end
  446.  
  447. end
  448.  
  449. end
  450.  
  451.  
  452. local Sounds = {
  453. Dead = Instance.new("Sound")
  454. }
  455. Sounds["Dead"].SoundId = "http://www.roblox.com/asset/?id=1353080451"
  456. Sounds["Dead"].Volume = 1
  457.  
  458. function PliySound(soundname, pitch)
  459. Sounds[soundname].Parent = Character.Torso
  460. Sounds[soundname].Pitch = pitch
  461. Sounds[soundname]:Play()
  462. local oldsound = Sounds[soundname]
  463. coroutine.resume(coroutine.create(function()
  464. wait(4)
  465. oldsound:Destroy()
  466. end))
  467. Sounds[soundname] = Sounds[soundname]:clone()
  468. end
  469.  
  470. local Humanoid = player.Character.Humanoid
  471.  
  472. function OnDeath()
  473.  
  474. print("x_x dead")
  475. PliySound("Dead", 1)
  476.  
  477. end
  478. Humanoid.Died:connect(OnDeath)
  479.  
  480. function use()
  481.  
  482. PlaySound("Dead", 1)
  483.  
  484. local animation = Instance.new("Animation")
  485.  
  486. animation.Name = "reloading"
  487.  
  488. animation.AnimationId = "http://www.roblox.com/asset/?id=97884040"
  489.  
  490. pew = Character.Humanoid:LoadAnimation(animation)
  491. pew:Play()
  492.  
  493. end
  494.  
  495.  
  496. function unuse()
  497.  
  498. pew:Stop()
  499. end
  500. tool2.Equipped:connect(use)
  501. tool2.Unequipped:connect(unuse)
  502.  
  503. Humanoid = Character.Humanoid
  504. Torso = Character.Torso
  505.  
  506. function OnDeath()
  507. print("Death")
  508. mode = Instance.new("Model")
  509. mode.Name = ""
  510. mode.Parent = Workspace
  511. wait(0.005)
  512. Humanoid.Parent = nil
  513. if Torso then
  514. zam=Torso:Clone()
  515. zam.Parent=mode
  516. zam.Elasticity = 0
  517. zam.Friction = 1
  518. x=Character:GetChildren()
  519. for i=1,#x do
  520. if ((x[i].Name=="Shirt") or (x[i].Name=="Pants") or (x[i].className=="CharacterMesh") or (x[i].className=="Hat") or (x[i].className=="Decal") or (x[i].className=="ShirtGraphic") or (x[i].className=="Model")) then
  521. local zor=x[i]:Clone()
  522. zor.Parent=mode
  523. end
  524. if x[i].Name=="Head" then
  525. local zem=x[i]:Clone()
  526. zem.Parent=mode
  527. zem.Name="Head"
  528. zem.Elasticity = 0
  529. zem.Friction = 1
  530. local Neck = Instance.new("Weld")
  531. Neck.Name = "Neck"
  532. Neck.Part0 = zam
  533. Neck.Part1 = zem
  534. Neck.C0 = CFrame.new(0, 1.5, 0)
  535. Neck.C1 = CFrame.new()
  536. Neck.Parent = zam
  537. end
  538. if x[i].Name=="Right Arm" then
  539. local Limb=x[i]:Clone()
  540. Limb.Parent=mode
  541. Limb.CFrame = zam.CFrame * CFrame.new(1.5, 0, 0)
  542. Limb.Elasticity = 0
  543. Limb.Friction = 1
  544. local Joint = Instance.new("Rotate")
  545. Joint.Name = "RightShoulder"
  546. Joint.Part0 = zam
  547. Joint.Part1 = Limb
  548. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  549. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  550. Joint.Parent = zam
  551.  
  552. local B = Instance.new("Part")
  553. B.TopSurface = 0
  554. B.BottomSurface = 0
  555. B.Elasticity = 0
  556. B.Friction = 1
  557. B.formFactor = "Symmetric"
  558. B.Size = Vector3.new(1, 1, 1)
  559. B.Transparency = 1
  560. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  561. B.Parent = mode
  562. local W = Instance.new("Weld")
  563. W.Part0 = Limb
  564. W.Part1 = B
  565. W.C0 = CFrame.new(0, -0.5, 0)
  566. W.Parent = Limb
  567.  
  568. end
  569. if x[i].Name=="Left Arm" then
  570. local Limb=x[i]:Clone()
  571. Limb.Parent=mode
  572. Limb.CFrame = zam.CFrame * CFrame.new(-1.5, 0, 0)
  573. Limb.Elasticity = 0
  574. Limb.Friction = 1
  575. local Joint = Instance.new("Rotate")
  576. Joint.Name = "LeftShoulder"
  577. Joint.Part0 = zam
  578. Joint.Part1 = Limb
  579. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  580. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  581. Joint.Parent = zam
  582.  
  583. local B = Instance.new("Part")
  584. B.TopSurface = 0
  585. B.BottomSurface = 0
  586. B.Elasticity = 0
  587. B.Friction = 1
  588. B.formFactor = "Symmetric"
  589. B.Size = Vector3.new(1, 1, 1)
  590. B.Transparency = 1
  591. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  592. B.Parent = mode
  593. local W = Instance.new("Weld")
  594. W.Part0 = Limb
  595. W.Part1 = B
  596. W.C0 = CFrame.new(0, -0.5, 0)
  597. W.Parent = Limb
  598.  
  599. end
  600. if x[i].Name=="Right Leg" then
  601. local Limb=x[i]:Clone()
  602. Limb.Parent=mode
  603. Limb.CFrame = zam.CFrame * CFrame.new(0.5, -2, 0)
  604. Limb.Elasticity = 0
  605. Limb.Friction = 1
  606. local Joint = Instance.new("Rotate")
  607. Joint.Name = "RightHip"
  608. Joint.Part0 = zam
  609. Joint.Part1 = Limb
  610. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  611. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  612. Joint.Parent = zam
  613.  
  614. local B = Instance.new("Part")
  615. B.TopSurface = 0
  616. B.BottomSurface = 0
  617. B.Elasticity = 0
  618. B.Friction = 1
  619. B.formFactor = "Symmetric"
  620. B.Size = Vector3.new(1, 1, 1)
  621. B.Transparency = 1
  622. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  623. B.Parent = mode
  624. local W = Instance.new("Weld")
  625. W.Part0 = Limb
  626. W.Part1 = B
  627. W.C0 = CFrame.new(0, -0.5, 0)
  628. W.Parent = Limb
  629.  
  630. end
  631. if x[i].Name=="Left Leg" then
  632. local Limb=x[i]:Clone()
  633. Limb.Parent=mode
  634. Limb.CFrame = zam.CFrame * CFrame.new(-0.5, -2, 0)
  635. Limb.Elasticity = 0
  636. Limb.Friction = 1
  637. local Joint = Instance.new("Rotate")
  638. Joint.Name = "LeftHip"
  639. Joint.Part0 = zam
  640. Joint.Part1 = Limb
  641. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  642. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  643. Joint.Parent = zam
  644.  
  645. local B = Instance.new("Part")
  646. B.TopSurface = 0
  647. B.BottomSurface = 0
  648. B.Elasticity = 0
  649. B.Friction = 1
  650. B.formFactor = "Symmetric"
  651. B.Size = Vector3.new(1, 1, 1)
  652. B.Transparency = 1
  653. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  654. B.Parent = mode
  655. local W = Instance.new("Weld")
  656. W.Part0 = Limb
  657. W.Part1 = B
  658. W.C0 = CFrame.new(0, -0.5, 0)
  659. W.Parent = Limb
  660.  
  661. end
  662. bland=Instance.new("Humanoid")
  663. bland.Health=0
  664. bland.MaxHealth = 0
  665. bland.Parent=mode
  666. bland.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=145952218"
  667. if ((x[i].Name=="Shirt") or (x[i].Name=="Pants") or (x[i].className=="CharacterMesh")or (x[i].className=="Hat")or (x[i].className=="Decal")or (x[i].className=="ShirtGraphic")) then
  668. local zor=x[i]:Clone()
  669. zor.Parent=mode
  670. end
  671. --[
  672. local Bar = Instance.new("Part")
  673. Bar.TopSurface = 0
  674. Bar.BottomSurface = 0
  675. Bar.Elasticity = 0
  676. Bar.Friction = 1
  677. Bar.formFactor = "Symmetric"
  678. Bar.Size = Vector3.new(1, 1, 1)
  679. Bar.Transparency = 1
  680. Bar.CFrame = zam.CFrame * CFrame.new(0, 0.5, 0)
  681. Bar.Parent = mode
  682. local Weld = Instance.new("Weld")
  683. Weld.Part0 = zam
  684. Weld.Part1 = Bar
  685. Weld.C0 = CFrame.new(0, 0.5, 0)
  686. Weld.Parent = zam
  687. --]]
  688. end
  689. end
  690. wait()
  691. Character:remove()
  692. wait(5)
  693. mode:FindFirstChild("Head").Anchored = false
  694. mode:FindFirstChild("Left Arm").Anchored = false
  695. mode:FindFirstChild("Left Leg").Anchored = false
  696. mode:FindFirstChild("Right Arm").Anchored = false
  697. mode:FindFirstChild("Right Leg").Anchored = false
  698. mode:FindFirstChild("Torso").Anchored = false
  699. mode:FindFirstChild("Head").Velocity = Vector3.new(0,0,0)
  700. mode:FindFirstChild("Left Arm").Velocity = Vector3.new(0,0,0)
  701. mode:FindFirstChild("Left Leg").Velocity = Vector3.new(0,0,0)
  702. mode:FindFirstChild("Right Arm").Velocity = Vector3.new(0,0,0)
  703. mode:FindFirstChild("Right Leg").Velocity = Vector3.new(0,0,0)
  704. mode:FindFirstChild("Torso").Velocity = Vector3.new(0,0,0)
  705. wait(10)
  706. mode:remove()
  707.  
  708. FadeIn()
  709.  
  710. end
  711.  
  712. Humanoid.Died:connect(OnDeath)
  713.  
  714. tool2.Equipped:connect(function(mouse)
  715. mouse.KeyDown:connect(function(key)
  716.  
  717. if key == "r" then
  718.  
  719. reload()
  720.  
  721. end
  722.  
  723.  
  724. end)
  725. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement