Advertisement
Guest User

Untitled

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