Advertisement
Animescapetower

Ragdoll gun - Edited

Jan 24th, 2018
586
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.57 KB | None | 0 0
  1. --By Rufus14
  2.  
  3.  
  4. mouse = game.Players.LocalPlayer:GetMouse()
  5. gun = Instance.new("Part", game.Players.LocalPlayer.Character)
  6. gun.BrickColor = BrickColor.Random(math.random())
  7. gun.BrickColor = BrickColor.Random(math.random())
  8. gun.BrickColor = BrickColor.Random(math.random())
  9. gun.Size = Vector3.new(0.5, 1, 2)
  10. gun.CanCollide = false
  11. gun:BreakJoints()
  12.  
  13.  
  14. swooshing = Instance.new("Sound", gun)
  15. swooshing.SoundId = "rbxassetid://301184111"
  16. swooshing.EmitterSize = 1
  17. swooshing.PlaybackSpeed = 0.9
  18. swooshing.Volume = 10
  19. pumpedupkickz = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  20. pumpedupkickz.SoundId = "rbxassetid://142534278"
  21. pumpedupkickz.Volume = 10
  22. pumpedupkickz.Looped = true
  23. pumpedupkickz:Play()
  24. weld = Instance.new("Weld", gun)
  25. weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  26. weld.Part1 = gun
  27. weld.C0 = weld.C0 * CFrame.new(-0.2,-1.7,-0.25) * CFrame.Angles(0,1.6,-1.53)
  28. mesh = Instance.new("SpecialMesh", gun)
  29. mesh.MeshId = "rbxassetid://623102664"
  30. mesh.Scale = Vector3.new(0.01,0.01,0.01)
  31. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  32. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  33. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  34. rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  35. rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  36. shooting = false
  37.  
  38. for i = 1,2 do
  39. wait()
  40. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.03)
  41. end
  42. for i = 1,2 do
  43. wait()
  44. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.07)
  45. end
  46. swooshing:Play()
  47. for i = 1,7 do
  48. wait()
  49. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.17)
  50. end
  51. for i = 1,2 do
  52. wait()
  53. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.07)
  54. end
  55. for i = 1,2 do
  56. wait()
  57. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.03)
  58. end
  59. function shoot()
  60. if not shooting then
  61. shooting = true
  62. local shotsound = Instance.new("Sound", gun)
  63. shotsound.EmitterSize = 1
  64. shotsound.SoundId = "rbxassetid://301184111"
  65. shotsound.Volume = 10
  66. shotsound:Play()
  67. local missle = Instance.new("Part", workspace)
  68. missle.Size = Vector3.new(1,1,1)
  69. missle.CanCollide = false
  70. missle.Material = "Neon"
  71. missle.Shape = "Ball"
  72. missle.BrickColor = BrickColor.Random(math.random())
  73. missle.CFrame = gun.CFrame * CFrame.new(0,5.5,0)
  74. missle:BreakJoints()
  75. local velo = Instance.new("BodyVelocity", missle)
  76. velo.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  77. velo.Velocity = mouse.Hit.lookVector * 180
  78. local ligh = Instance.new("PointLight", gun)
  79. local blast = Instance.new("Part", gun)
  80. blast.Size = Vector3.new(1,1.6,1.6)
  81. blast.BrickColor = BrickColor.Random(math.random())
  82. blast.Material = "Neon"
  83. blast:BreakJoints()
  84. local weld1 = Instance.new("Weld", gun)
  85. weld1.Part0 = gun
  86. weld1.Part1 = blast
  87. weld1.C0 = weld1.C0 * CFrame.new(1.5,-1,0) * CFrame.Angles(0,0,-0.5)
  88. for i = 1,2 do
  89. weld.C0 = weld.C0 * CFrame.Angles(0,0,0.14)
  90. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.14)
  91. end
  92. for i = 1,1 do
  93. wait()
  94. weld.C0 = weld.C0 * CFrame.Angles(0,0,-0.07)
  95. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.07)
  96. end
  97. blast:destroy()
  98. ligh:destroy()
  99. for i = 1,1 do
  100. wait()
  101. weld.C0 = weld.C0 * CFrame.Angles(0,0,-0.07)
  102. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.07)
  103. end
  104. local function kill(part)
  105. local hum = part.Parent:findFirstChild("Humanoid")
  106. local torso = part.Parent:findFirstChild("Torso")
  107. local larm = part.Parent:findFirstChild("Left Arm")
  108. local rarm = part.Parent:findFirstChild("Right Arm")
  109. local lleg = part.Parent:findFirstChild("Left Leg")
  110. local rleg = part.Parent:findFirstChild("Right Leg")
  111. missle:destroy()
  112. if hum ~= nil then
  113. if torso then
  114. hum.Health = 0
  115. local shotsound1 = Instance.new("Sound", torso)
  116. shotsound1:Play()
  117. shotsound1.EmitterSize = 2
  118. shotsound1.SoundId = "rbxassetid://301184111"
  119. shotsound1.Volume = 8
  120. shotsound1:Play()
  121. local shotsound1 = Instance.new("Sound", torso)
  122. shotsound1:Play()
  123. shotsound1.EmitterSize = 2
  124. shotsound1.SoundId = "rbxassetid://301184111"
  125. shotsound1.Volume = 8
  126. shotsound1:Play()
  127. using = false
  128. hit = Instance.new("Sound", torso)
  129. hit.SoundId = "rbxassetid://173137001"
  130. hit.Volume = 5
  131. hit1 = Instance.new("Sound", torso)
  132. hit1.SoundId = "rbxassetid://132236830"
  133. hit1.Volume = 5
  134. hit2 = Instance.new("Sound", torso)
  135. hit2.SoundId = "rbxassetid://899623922"
  136. hit2.Volume = 5
  137. hit3 = Instance.new("Sound", torso)
  138. hit3.SoundId = "rbxassetid://278062209"
  139. hit3.Volume = 5
  140. hit3.TimePosition = 0.33
  141. print("You killed "..hum.Parent.Name)
  142. hum.PlatformStand = true
  143. ----------
  144. local lhip = torso:findFirstChild("Left Hip")
  145. if lhip then
  146. ---
  147. torso["Left Hip"]:destroy()
  148. local head = game.Players.LocalPlayer.Character.Head
  149. local glue = Instance.new("Glue", torso)
  150. glue.Part0 = torso
  151. glue.Part1 = torso.Parent["Left Leg"]
  152. glue.Name = "Left leg"
  153. local collider = Instance.new("Part", torso.Parent["Left Leg"])
  154. collider.Position = Vector3.new(0,999,0)
  155. collider.Size = Vector3.new(1.7, 1, 1)
  156. collider.Shape = "Cylinder"
  157. local weld = Instance.new("Weld", collider)
  158. weld.Part0 = torso.Parent["Left Leg"]
  159. weld.Part1 = collider
  160. weld.C0 = CFrame.Angles(0, 0, 80)
  161. collider.TopSurface = "Smooth"
  162. collider.BottomSurface = "Smooth"
  163. collider.formFactor = "Symmetric"
  164. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  165. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  166. collider.Transparency = 1
  167. end
  168. local rhip = torso:findFirstChild("Right Hip")
  169. if rhip then
  170. ------------
  171. torso["Right Hip"]:destroy()
  172. local glue1 = Instance.new("Glue", torso)
  173. glue1.Part0 = torso
  174. glue1.Part1 = torso.Parent["Right Leg"]
  175. glue1.Name = "Right leg"
  176. local collider1 = Instance.new("Part", torso.Parent["Right Leg"])
  177. collider1.Position = Vector3.new(0,9999,0)
  178. collider1.Size = Vector3.new(1.7, 1, 1)
  179. collider1.Shape = "Cylinder"
  180. local weld1 = Instance.new("Weld", collider1)
  181. weld1.Part0 = torso.Parent["Right Leg"]
  182. weld1.Part1 = collider1
  183. weld1.C0 = CFrame.Angles(0, 0, 80)
  184. collider1.TopSurface = "Smooth"
  185. collider1.BottomSurface = "Smooth"
  186. collider1.formFactor = "Symmetric"
  187. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  188. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  189. collider1.Transparency = 1
  190. end
  191. ------------
  192. local rshoulder = torso:findFirstChild("Right Shoulder")
  193. if rshoulder then
  194. torso["Right Shoulder"]:destroy()
  195. local glue11 = Instance.new("Glue", torso)
  196. glue11.Part0 = torso
  197. glue11.Part1 = torso.Parent["Right Arm"]
  198. glue11.Name = "Right shoulder"
  199. local collider11 = Instance.new("Part", torso.Parent["Right Arm"])
  200. collider11.Position = Vector3.new(0,9999,0)
  201. collider11.Size = Vector3.new(1.8,1,1)
  202. collider11.Shape = "Cylinder"
  203. local weld11 = Instance.new("Weld", collider11)
  204. weld11.Part0 = torso.Parent["Right Arm"]
  205. weld11.Part1 = collider11
  206. weld11.C0 = CFrame.Angles(0, 0, 80)
  207. collider11.TopSurface = "Smooth"
  208. collider11.BottomSurface = "Smooth"
  209. collider11.formFactor = "Symmetric"
  210. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  211. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  212. collider11.Transparency = 1
  213. end
  214. ------------
  215. local lshoulder = torso:findFirstChild("Left Shoulder")
  216. if lshoulder then
  217. torso["Left Shoulder"]:destroy()
  218. local glue111 = Instance.new("Glue", torso)
  219. glue111.Part0 = torso
  220. glue111.Part1 = torso.Parent["Left Arm"]
  221. glue111.Name = "Left shoulder"
  222. local collider111 = Instance.new("Part", torso.Parent["Left Arm"])
  223. collider111.Position = Vector3.new(0,9999,0)
  224. collider111.Size = Vector3.new(1.8,1,1)
  225. collider111.Shape = "Cylinder"
  226. local weld111 = Instance.new("Weld", collider111)
  227. weld111.Part0 = torso.Parent["Left Arm"]
  228. weld111.Part1 = collider111
  229. weld111.C0 = CFrame.Angles(0, 0, 80)
  230. collider111.TopSurface = "Smooth"
  231. collider111.BottomSurface = "Smooth"
  232. collider111.formFactor = "Symmetric"
  233. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  234. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  235. collider111.Transparency = 1
  236. end
  237. -----------------
  238. local sensoring = Instance.new("Part", torso)
  239. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  240. sensoring.CanCollide = false
  241. sensoring.Position = torso.Position
  242. local welder = Instance.new("Weld", sensoring)
  243. welder.Part0 = torso
  244. welder.Part1 = sensoring
  245. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  246. sensoring.Transparency = 1
  247. -----------------
  248. local sensoring1 = Instance.new("Part", torso)
  249. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  250. sensoring1.CanCollide = false
  251. sensoring1.Position = torso.Position
  252. local welder1 = Instance.new("Weld", sensoring)
  253. welder1.Part0 = torso
  254. welder1.Part1 = sensoring1
  255. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  256. sensoring1.Transparency = 1
  257. local function touch()
  258. if not using then
  259. using = true
  260. local Math = math.random(1,4)
  261. if Math == 1 then
  262. hit:Play()
  263. end
  264. if Math == 2 then
  265. hit1:Play()
  266. end
  267. if Math == 3 then
  268. hit2:Play()
  269. end
  270. if Math == 4 then
  271. hit3:Play()
  272. end
  273. wait(0.1)
  274. using = false
  275. end
  276. end
  277. sensoring.Touched:connect(touch)
  278. sensoring1.Touched:connect(touch)
  279. if part.Name == "Head" then
  280. local hed = Instance.new("Sound", torso)
  281. hed.SoundId = "rbxassetid://147936251"
  282. hed.Volume = 5
  283. hed:Play()
  284. hum.Health = 555
  285. local UUUHUUH = Instance.new("Sound", torso)
  286. UUUHUUH.SoundId = "rbxassetid://666800317"
  287. UUUHUUH.Volume = 5
  288. UUUHUUH:Play()
  289. for i,v in pairs(torso.Parent:GetChildren()) do
  290. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  291. v:destroy()
  292. end
  293. end
  294. for i,v in pairs(torso.Parent.Head:GetChildren()) do
  295. if v.ClassName == "Decal" then
  296. v:destroy()
  297. end
  298. end
  299. torso.Parent.Head.Transparency = 1
  300. wait(4)
  301. hum.Health = 0
  302. end
  303. while true do
  304. wait(0.3)
  305. hum.PlatformStand = true
  306. end
  307.  
  308. --di ent
  309. end
  310. end
  311. end
  312. missle.Touched:connect(kill)
  313. for i = 1,2 do
  314. wait()
  315. weld.C0 = weld.C0 * CFrame.Angles(0,0,-0.07)
  316. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.07)
  317. end
  318. shooting = false
  319. wait(3)
  320. shotsound:destroy()
  321. end
  322. end
  323. mouse.Button1Down:connect(shoot)
  324. --0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0
  325. --0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0
  326. --[[
  327. local vel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
  328. vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -5
  329. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  330. --]]
  331. --By Rufus14 (FINALLY I KNOW HOW TO MAKE A RAGDOLL :D)
  332. --die plz
  333. mouse = game.Players.LocalPlayer:GetMouse()
  334. function ragdoll()
  335. pumpedupkickz:Stop()
  336. game.Players.LocalPlayer.Character.Archivable = true
  337. clone = game.Players.LocalPlayer.Character:Clone()
  338. clone.Parent = workspace
  339. for i,v in pairs(clone:GetChildren()) do
  340. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  341. v:destroy()
  342. end
  343. for i,p in pairs(v:GetChildren()) do
  344. if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  345. p:destroy()
  346. end
  347. end
  348. end
  349. for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  350. if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  351. t:destroy()
  352. end
  353. end
  354. vel = Instance.new("BodyVelocity", clone.Torso)
  355. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  356. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  357. clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608"
  358. using = false
  359. hit = Instance.new("Sound", clone.Torso)
  360. hit.SoundId = "rbxassetid://260430060"
  361. hit.Volume = 5
  362. hit1 = Instance.new("Sound", clone.Torso)
  363. hit1.SoundId = "rbxassetid://138087186"
  364. hit1.Volume = 5
  365. hit2 = Instance.new("Sound", clone.Torso)
  366. hit2.SoundId = "rbxassetid://131237241"
  367. hit2.Volume = 5
  368. hit3 = Instance.new("Sound", clone.Torso)
  369. hit3.SoundId = "rbxassetid://278062209"
  370. hit3.Volume = 5
  371. hit3.TimePosition = 0.33
  372. ded = Instance.new("Sound", clone.Torso)
  373. ded.SoundId = "rbxassetid://418892870"
  374. ded.Volume = 5
  375. local leftarm = clone:findFirstChild("Left Arm")
  376. local rightrm = clone:findFirstChild("Right Arm")
  377. local leftleg = clone:findFirstChild("Left Leg")
  378. local rightleg = clone:findFirstChild("Right Leg")
  379. local head = clone:findFirstChild("Head")
  380. for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  381. if g.ClassName == "Part" then
  382. g:destroy()
  383. end
  384. end
  385. for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  386. if h.ClassName == "Accesory" then
  387. h:destroy()
  388. end
  389. end
  390. game.Workspace.CurrentCamera.CameraSubject = head
  391. if head ~= nil then
  392. local glue13 = Instance.new("Glue", clone.Torso)
  393. glue13.Part0 = clone.Torso
  394. glue13.Part1 = head
  395. glue13.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  396. glue13.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  397. local collider13 = Instance.new("Part", head)
  398. collider13.Position = Vector3.new(0,999,0)
  399. collider13.Size = Vector3.new(0.5, 0.9, 0.9)
  400. collider13.Shape = "Cylinder"
  401. collider13.Transparency = 1
  402. local weld = Instance.new("Weld", collider13)
  403. weld.Part0 = head
  404. weld.Part1 = collider13
  405. weld.C0 = weld.C0 * CFrame.new(0,0.2,0) * CFrame.Angles(0, 0, 80)
  406. collider13.TopSurface = "Smooth"
  407. collider13.BottomSurface = "Smooth"
  408. collider13.formFactor = "Symmetric"
  409. end
  410. if leftleg ~= nil then
  411. local glue = Instance.new("Glue", clone.Torso)
  412. glue.Part0 = clone.Torso
  413. glue.Part1 = leftleg
  414. glue.Name = "Left leg"
  415. local collider = Instance.new("Part", leftleg)
  416. collider.Position = Vector3.new(0,999,0)
  417. collider.Size = Vector3.new(1.7, 1, 1)
  418. collider.Shape = "Cylinder"
  419. local weld = Instance.new("Weld", collider)
  420. weld.Part0 = leftleg
  421. weld.Part1 = collider
  422. weld.C0 = CFrame.Angles(0, 0, 80)
  423. collider.TopSurface = "Smooth"
  424. collider.BottomSurface = "Smooth"
  425. collider.formFactor = "Symmetric"
  426. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  427. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  428. collider.Transparency = 1
  429. end
  430. ------------
  431. if rightleg ~= nil then
  432. local glue1 = Instance.new("Glue", clone.Torso)
  433. glue1.Part0 = clone.Torso
  434. glue1.Part1 = rightleg
  435. glue1.Name = "Right leg"
  436. local collider1 = Instance.new("Part", rightleg)
  437. collider1.Position = Vector3.new(0,999,0)
  438. collider1.Size = Vector3.new(1.7, 1, 1)
  439. collider1.Shape = "Cylinder"
  440. local weld1 = Instance.new("Weld", collider1)
  441. weld1.Part0 = rightleg
  442. weld1.Part1 = collider1
  443. weld1.C0 = CFrame.Angles(0, 0, 80)
  444. collider1.TopSurface = "Smooth"
  445. collider1.BottomSurface = "Smooth"
  446. collider1.formFactor = "Symmetric"
  447. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  448. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  449. collider1.Transparency = 1
  450. end
  451. ------------
  452. if rightrm ~= nil then
  453. local glue11 = Instance.new("Glue", clone.Torso)
  454. glue11.Part0 = clone.Torso
  455. glue11.Part1 = rightrm
  456. glue11.Name = "Right shoulder"
  457. local collider11 = Instance.new("Part", rightrm)
  458. collider11.Position = Vector3.new(0,9999,0)
  459. collider11.Size = Vector3.new(1.8,1,1)
  460. collider11.Shape = "Cylinder"
  461. local weld11 = Instance.new("Weld", collider11)
  462. weld11.Part0 = rightrm
  463. weld11.Part1 = collider11
  464. weld11.C0 = CFrame.Angles(0, 0, 80)
  465. collider11.TopSurface = "Smooth"
  466. collider11.BottomSurface = "Smooth"
  467. collider11.formFactor = "Symmetric"
  468. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  469. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  470. collider11.Transparency = 1
  471. end
  472. ------------
  473. if leftarm ~= nil then
  474. local glue111 = Instance.new("Glue", clone.Torso)
  475. glue111.Part0 = clone.Torso
  476. glue111.Part1 = leftarm
  477. glue111.Name = "Left shoulder"
  478. local collider111 = Instance.new("Part", leftarm)
  479. collider111.Position = Vector3.new(0,9999,0)
  480. collider111.Size = Vector3.new(1.8,1,1)
  481. collider111.Shape = "Cylinder"
  482. local weld111 = Instance.new("Weld", collider111)
  483. weld111.Part0 = leftarm
  484. weld111.Part1 = collider111
  485. weld111.C0 = CFrame.Angles(0, 0, 80)
  486. collider111.TopSurface = "Smooth"
  487. collider111.BottomSurface = "Smooth"
  488. collider111.formFactor = "Symmetric"
  489. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  490. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  491. collider111.Transparency = 1
  492. ----------------
  493. sensoring = Instance.new("Part", clone.Torso)
  494. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  495. sensoring.CanCollide = false
  496. sensoring.Position = clone.Torso.Position
  497. local welder = Instance.new("Weld", sensoring)
  498. welder.Part0 = clone.Torso
  499. welder.Part1 = sensoring
  500. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  501. sensoring.Transparency = 1
  502. -----------------
  503. sensoring1 = Instance.new("Part", clone.Torso)
  504. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  505. sensoring1.CanCollide = false
  506. sensoring1.Position = clone.Torso.Position
  507. local welder1 = Instance.new("Weld", sensoring)
  508. welder1.Part0 = clone.Torso
  509. welder1.Part1 = sensoring1
  510. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  511. sensoring1.Transparency = 1
  512. end
  513.  
  514.  
  515. clone.Name = game.Players.LocalPlayer.Character.Name.."Got Dominated","Got Killed","Got Memed","Got Ded","Got RIPPED apart","Got OOFED Apart ","Got Trolled","Got? Who died","Got destroyed "
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523. ded:Play()
  524. vel:destroy()
  525. wait(0.5)
  526. local function touch()
  527. if not using then
  528. using = true
  529. local Math = math.random(1,4)
  530. if Math == 1 then
  531. hit:Play()
  532. end
  533. if Math == 2 then
  534. hit1:Play()
  535. end
  536. if Math == 3 then
  537. hit2:Play()
  538. end
  539. if Math == 4 then
  540. hit3:Play()
  541. end
  542. wait(0.1)
  543. using = false
  544. end
  545. end
  546. sensoring.Touched:connect(touch)
  547. sensoring1.Touched:connect(touch)
  548. wait(4.47)
  549. hit1.Volume = 0
  550. hit2.Volume = 0
  551. hit3.Volume = 0
  552. hit.Volume = 0
  553. end
  554.  
  555. game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll)
  556. while true do
  557. wait(0.1)
  558. gun.BrickColor = BrickColor.Random(math.random())
  559.  
  560. end
  561.  
  562. --di ent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement