Advertisement
Silver_cole

tennozene u fat

Dec 1st, 2019
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. plr = owner
  2. char = plr.Character
  3. hum = char.Humanoid
  4. hp = hum.Health
  5. tors = char.Torso
  6. ra = char["Right Arm"]
  7. la = char["Left Arm"]
  8. rs = tors["Right Shoulder"]
  9. ls = tors["Left Shoulder"]
  10. rsnor = rs.C0
  11. rsnor2 = rs.C1
  12. lsnor = ls.C0
  13. lsnor2 = ls.C1
  14.  
  15. SKM = "rbxassetid://448822064"
  16. SKT = "rbxassetid://448822109"
  17. SNM = "rbxassetid://442476524"
  18. SNT = "rbxassetid://442476528"
  19.  
  20. function ragdoll(model, ragdolltime)
  21. local torso = model:FindFirstChild("Torso") or model:FindFirstChild("UpperTorso")
  22. for i,v in pairs (model:GetDescendants()) do
  23. if v:IsA("Motor") and not model:FindFirstChild("ragged") or v:IsA("Motor6D") and not model:FindFirstChild("ragged") then
  24. if v.Name == "Right Shoulder" then
  25. old = v.Parent
  26. local glue = Instance.new("Glue",old)
  27. glue.Part0 = v.Part0
  28. glue.Part1 = v.Part1
  29. glue.C0 = v.C0
  30. glue.C1 = v.C1
  31. v.Parent = nil
  32. game.Debris:AddItem(glue, ragdolltime)
  33. if model:FindFirstChild("Right Arm") then
  34. local ack = model["Right Arm"]
  35. local hitbox = ack:Clone()
  36. hitbox.Parent = ack
  37. hitbox.Size = ack.Size
  38. hitbox.Transparency = 1
  39. hitbox.CanCollide = true
  40. hitbox.Anchored = false
  41. ezweld(hitbox, hitbox, ack, CFrame.new())
  42. game.Debris:AddItem(hitbox, ragdolltime)
  43. end
  44. coroutine.resume(coroutine.create(function()
  45. wait(ragdolltime)
  46. v.Parent = old
  47. end))
  48. end
  49. if v.Name == "Left Shoulder" then
  50. old = v.Parent
  51. local glue = Instance.new("Glue",old)
  52. glue.Part0 = v.Part0
  53. glue.Part1 = v.Part1
  54. glue.C0 = v.C0
  55. glue.C1 = v.C1
  56. v.Parent = nil
  57. game.Debris:AddItem(glue, ragdolltime)
  58. if model:FindFirstChild("Left Arm") then
  59. local ack = model["Left Arm"]
  60. local hitbox = ack:Clone()
  61. hitbox.Parent = ack
  62. hitbox.Size = ack.Size
  63. hitbox.Transparency = 1
  64. hitbox.CanCollide = true
  65. hitbox.Anchored = false
  66. ezweld(hitbox, hitbox, ack, CFrame.new())
  67. game.Debris:AddItem(hitbox, ragdolltime)
  68. end
  69. coroutine.resume(coroutine.create(function()
  70. wait(ragdolltime)
  71. v.Parent = old
  72. end))
  73. end
  74. if v.Name == "Right Hip" then
  75. old = v.Parent
  76. local glue = Instance.new("Glue",old)
  77. glue.Part0 = v.Part0
  78. glue.Part1 = v.Part1
  79. glue.C0 = v.C0
  80. glue.C1 = v.C1
  81. v.Parent = nil
  82. game.Debris:AddItem(glue, ragdolltime)
  83. if model:FindFirstChild("Right Leg") then
  84. local ack = model["Right Leg"]
  85. local hitbox = ack:Clone()
  86. hitbox.Parent = ack
  87. hitbox.Size = ack.Size
  88. hitbox.Transparency = 1
  89. hitbox.CanCollide = true
  90. hitbox.Anchored = false
  91. ezweld(hitbox, hitbox, ack, CFrame.new())
  92. game.Debris:AddItem(hitbox, ragdolltime)
  93. end
  94. coroutine.resume(coroutine.create(function()
  95. wait(ragdolltime)
  96. v.Parent = old
  97. end))
  98. end
  99. if v.Name == "Left Hip" then
  100. old = v.Parent
  101. local glue = Instance.new("Glue",old)
  102. glue.Part0 = v.Part0
  103. glue.Part1 = v.Part1
  104. glue.C0 = v.C0
  105. glue.C1 = v.C1
  106. v.Parent = nil
  107. game.Debris:AddItem(glue, ragdolltime)
  108. if model:FindFirstChild("Left Leg") then
  109. local ack = model["Left Leg"]
  110. local hitbox = ack:Clone()
  111. hitbox.Parent = ack
  112. hitbox.Size = ack.Size
  113. hitbox.Transparency = 1
  114. hitbox.CanCollide = true
  115. hitbox.Anchored = false
  116. ezweld(hitbox, hitbox, ack, CFrame.new())
  117. game.Debris:AddItem(hitbox, ragdolltime)
  118. end
  119. coroutine.resume(coroutine.create(function()
  120. wait(ragdolltime)
  121. v.Parent = old
  122. end))
  123. end
  124. end
  125. if v:IsA("Humanoid") and not model:FindFirstChild("ragged") then
  126. v.PlatformStand = true
  127. coroutine.resume(coroutine.create(function()
  128. wait(ragdolltime)
  129. v.PlatformStand = false
  130. end))
  131. end
  132. if v:IsA("Part") and v.Name == "Torso" and not model:FindFirstChild("ragged") then
  133. local a = 120
  134. local bv = Instance.new("BodyVelocity",v)
  135. bv.Velocity = Vector3.new(math.random(-a, a), math.random(-a, a), math.random(-a, a))
  136. --bv.Velocity = v.CFrame.lookVector * 400
  137. game.Debris:AddItem(bv, .1)
  138. end
  139. end
  140. local ragged = Instance.new("NumberValue",model)
  141. ragged.Name = "ragged"
  142. game.Debris:AddItem(ragged, ragdolltime)
  143. end
  144.  
  145. function checkifback(nTorso)
  146. local offSet=nTorso.CFrame:toObjectSpace(tors.CFrame)
  147. if offSet.z>0 then
  148. if nTorso.Parent:FindFirstChildOfClass("Humanoid") then
  149. local hum = nTorso.Parent:FindFirstChildOfClass("Humanoid")
  150. hum.BreakJointsOnDeath = false
  151. Swait()
  152. end
  153. if nTorso.Parent.ClassName == "Model" then
  154. nTorso.Parent:BreakJoints()
  155. end
  156. ragdoll(nTorso.Parent, 999999999999999999999999999999999)
  157. local ch = Instance.new("Sound",tors) ch.SoundId = "rbxassetid://296102734" ch.Volume = 3 ch:Play()
  158. end
  159. end
  160.  
  161. function critkill(nTorso)
  162. if nTorso.Parent:FindFirstChildOfClass("Humanoid") then
  163. local hum = nTorso.Parent:FindFirstChildOfClass("Humanoid")
  164. hum.BreakJointsOnDeath = false
  165. Swait()
  166. end
  167. if nTorso.Parent.ClassName == "Model" then
  168. nTorso.Parent:BreakJoints()
  169. end
  170. ragdoll(nTorso.Parent, 999999999999999999999999999999999)
  171. local ch = Instance.new("Sound",tors) ch.SoundId = "rbxassetid://296102734" ch.Volume = 3 ch:Play()
  172. end
  173.  
  174. ezweld = function(p, a, b, cf)
  175. local weld = Instance.new("Weld",p)
  176. weld.Part0 = a
  177. weld.Part1 = b
  178. weld.C0 = cf
  179. return weld
  180. end
  181.  
  182. Swait = function(number)
  183. if number == 0 or number == nil then
  184. game:GetService("RunService").Heartbeat:Wait()
  185. else
  186. for i = 1,number do
  187. game:GetService("RunService").Heartbeat:Wait()
  188. end
  189. end
  190. end
  191.  
  192. local MouseLoc = Instance.new("RemoteFunction",char)
  193. MouseLoc.Name = "MouseLoc"
  194.  
  195. local Client = NLS([[
  196.  
  197. local char = script.Parent
  198. script.Name = "Client"
  199.  
  200. local MouseLoc = char:WaitForChild("MouseLoc",10)
  201.  
  202. function MouseLoc.OnClientInvoke()
  203. return game:GetService("Players").LocalPlayer:GetMouse().Hit.p
  204. end
  205.  
  206. ]],char)
  207.  
  208. local Target = Instance.new("RemoteFunction",char)
  209. Target.Name = "Target"
  210.  
  211. local Client2 = NLS([[
  212.  
  213. local char = script.Parent
  214. script.Name = "Client2"
  215.  
  216. local MouseLoc = char:WaitForChild("Target",10)
  217.  
  218. function MouseLoc.OnClientInvoke()
  219. return game:GetService("Players").LocalPlayer:GetMouse().Target
  220. end
  221.  
  222. ]],char)
  223.  
  224. local spyk = Instance.new("Tool",plr.Backpack)
  225. spyk.Name = "spy's knife"
  226. spyk.GripForward = Vector3.new(-0, -0.094, 0.996)
  227. spyk.GripPos = Vector3.new(-0.139, -0.462, -0.398)
  228. spyk.GripRight = Vector3.new(-1, 0, -0)
  229. spyk.GripUp = Vector3.new(0, 0.996, 0.094)
  230. local khandle = Instance.new("Part",spyk)
  231. khandle.Name = "Handle"
  232. khandle.Size = Vector3.new(0.25, 2.75, 1.75)
  233. khandle.CanCollide = false
  234. local kmesh = Instance.new("SpecialMesh",khandle)
  235. kmesh.MeshId = SKM
  236. kmesh.TextureId = SKT
  237. kmesh.Scale = Vector3.new(0.0025, 0.0025, 0.0025)
  238. local kraw = ezweld(nil, tors, ra, rsnor * CFrame.Angles(0, 0, 0))
  239. kraw.C1 = rsnor2
  240.  
  241. if char:FindFirstChild("Animate") then
  242. local ranim = char.Animate
  243. if ranim:FindFirstChild("toolnone") then
  244. ranim.toolnone:remove()
  245. end
  246. end
  247.  
  248. spyk.Equipped:connect(function()
  249. kraw.Parent = char
  250. for i = 1,9 do
  251. Swait()
  252. kraw.C0 = kraw.C0:Lerp(rsnor * CFrame.Angles(0, 0, math.rad(65)), 0.3)
  253. end
  254. end)
  255.  
  256. spyk.Unequipped:connect(function()
  257. kanim = 0
  258. kraw.Parent = char
  259. for i = 1,9 do
  260. Swait()
  261. kraw.C0 = kraw.C0:Lerp(rsnor, 0.3)
  262. end
  263. kraw.Parent = nil
  264. end)
  265.  
  266. local sniper = Instance.new("Tool",plr.Backpack)
  267. sniper.Name = "sniper's sniper"
  268. sniper.GripForward = Vector3.new(0.996, 0.025, 0.91)
  269. sniper.GripPos = Vector3.new(-0.189, -0.379, -0.18)
  270. sniper.GripRight = Vector3.new(-0.09, -0.018, 0.996)
  271. sniper.GripUp = Vector3.new(-0.026, 1, 0.016)
  272. local shandle = Instance.new("Part",sniper)
  273. shandle.Name = "Handle"
  274. shandle.Size = Vector3.new(0.25, 2.75, 1.75)
  275. shandle.CanCollide = false
  276. local smesh = Instance.new("SpecialMesh",shandle)
  277. smesh.MeshId = SNM
  278. smesh.TextureId = SNT
  279. smesh.Scale = Vector3.new(5, 5, 5)
  280. smesh.Offset = Vector3.new(0.25, 0.25, 0)
  281. local sraw = ezweld(nil, tors, ra, rsnor * CFrame.Angles(0, 0, 0))
  282. sraw.C1 = rsnor2
  283. local slaw = ezweld(nil, tors, la, lsnor * CFrame.Angles(0, 0, 0))
  284. slaw.C1 = lsnor2
  285.  
  286. sniper.Equipped:connect(function()
  287. sraw.Parent = char
  288. slaw.Parent = char
  289. for i = 1,9 do
  290. Swait()
  291. sraw.C0 = sraw.C0:Lerp(rsnor * CFrame.Angles(0, 0, math.rad(90)), 0.3)
  292. slaw.C0 = slaw.C0:Lerp(lsnor * CFrame.new(0, 0, -0.5) * CFrame.Angles(0, math.rad(-65), math.rad(-90)), 0.3)
  293. end
  294. end)
  295.  
  296. sniper.Unequipped:connect(function()
  297. sraw.Parent = char
  298. slaw.Parent = char
  299. for i = 1,9 do
  300. Swait()
  301. sraw.C0 = sraw.C0:Lerp(rsnor, 0.3)
  302. slaw.C0 = slaw.C0:Lerp(lsnor, 0.3)
  303. end
  304. slaw.Parent = nil
  305. sraw.Parent = nil
  306. end)
  307.  
  308. function AttachmentCFrame(A)
  309. return A.Parent.CFrame*CFrame.new(A.Position)
  310. end
  311.  
  312. local snipen = Instance.new("Attachment",shandle)
  313. snipen.Position = Vector3.new(2.5, -0.5, 0)
  314. snipen.Name = "Nuzzle"
  315.  
  316. sniper.Activated:connect(function()
  317. local targetPos = MouseLoc:InvokeClient(plr)
  318. local DIST = (shandle.Position - targetPos).Magnitude
  319. local bullet = Instance.new("Part",hum)
  320. bullet.Anchored = true
  321. bullet.CanCollide = false
  322. bullet.BrickColor = BrickColor.new("Bright yellow")
  323. bullet.Transparency = 0.25
  324. bullet.Material = "Neon"
  325. bullet.CFrame = CFrame.new(AttachmentCFrame(shandle.Nuzzle).p, targetPos) * CFrame.new(0, 0, -DIST/2)
  326. bullet.Size = Vector3.new(0.1, 0.1, DIST)
  327. local target = Target:InvokeClient(plr).Parent
  328. if target and target ~= workspace and target ~= char then
  329. for i,v in pairs (target:children()) do
  330. if v:IsA("Humanoid") then
  331. v.Health = v.Health - 35
  332. ragdoll(target, 3)
  333. end
  334. end
  335. if Target:InvokeClient(plr).Name == "Head" then
  336. critkill(Target:InvokeClient(plr))
  337. end
  338. end
  339. for i = 1,5 do
  340. Swait()
  341. bullet.CFrame = CFrame.new(AttachmentCFrame(shandle.Nuzzle).p, targetPos) * CFrame.new(0, 0, -DIST/2)
  342. bullet.Size = Vector3.new(0.1, 0.1, DIST)
  343. bullet.Transparency = bullet.Transparency + 0.2
  344. sraw.C0 = sraw.C0:Lerp(rsnor * CFrame.Angles(0, 0, math.rad(120)), 0.3)
  345. slaw.C0 = slaw.C0:Lerp(lsnor * CFrame.new(0, 0, -0.5) * CFrame.Angles(0, math.rad(-65), math.rad(-120)), 0.6)
  346. end
  347. for i = 1,9 do
  348. Swait()
  349. bullet.CFrame = CFrame.new(AttachmentCFrame(shandle.Nuzzle).p, targetPos) * CFrame.new(0, 0, -DIST/2)
  350. bullet.Size = Vector3.new(0.1, 0.1, DIST)
  351. bullet.Transparency = bullet.Transparency + 0.2
  352. sraw.C0 = sraw.C0:Lerp(rsnor * CFrame.Angles(0, 0, math.rad(90)), 0.3)
  353. slaw.C0 = slaw.C0:Lerp(lsnor * CFrame.new(0, 0, -0.5) * CFrame.Angles(0, math.rad(-65), math.rad(-90)), 0.3)
  354. end
  355. bullet:remove()
  356. end)
  357.  
  358. kanim = 0
  359. cloakedyes = false
  360.  
  361. local SpareHats = Instance.new("Model",nil)
  362. hed = char.Head
  363. urfacexd = hed:FindFirstChildOfClass("Decal")
  364. function lecloakguy()
  365. if cloakedyes then
  366. cloakedyes = false
  367. urfacexd.Parent = hed
  368. local cloaks = Instance.new("Sound",hed) cloaks.SoundId = "rbxassetid://195575792" cloaks.Volume = 2.5 cloaks:Play()
  369. game.Debris:AddItem(cloaks,1.5)
  370. for i = 1,15 do
  371. Swait()
  372. for _,v in pairs (char:children()) do
  373. if v:IsA("Part") then
  374. v.Transparency = v.Transparency - 0.1
  375. end
  376. end
  377. khandle.Transparency = 0
  378. for i,v in pairs (SpareHats:children()) do
  379. if v:IsA("Hat") or v:IsA("Accessory") then
  380. v.Parent = char
  381. end
  382. end
  383. end
  384. else
  385. cloakedyes = true
  386. urfacexd.Parent = nil
  387. local cloaks = Instance.new("Sound",hed) cloaks.SoundId = "rbxassetid://195575792" cloaks.Volume = 2.5 cloaks:Play()
  388. game.Debris:AddItem(cloaks,1.5)
  389. for i = 1,15 do
  390. Swait()
  391. for _,v in pairs (char:children()) do
  392. if v:IsA("Part") then
  393. v.Transparency = v.Transparency + 0.1
  394. end
  395. end
  396. khandle.Transparency = 1
  397. for i,v in pairs (char:children()) do
  398. if v:IsA("Hat") or v:IsA("Accessory") then
  399. v.Parent = SpareHats
  400. end
  401. end
  402. end
  403. end
  404. end
  405.  
  406. local remote = Instance.new("RemoteEvent",char)
  407. remote.Name = "KeysRemote"
  408.  
  409. function SelectKey(Key)
  410. if Key == "SpyCloak" then
  411. lecloakguy()
  412. end
  413. end
  414.  
  415. NLS([[
  416.  
  417. plr = owner
  418. char = plr.Character
  419. mouse = plr:GetMouse()
  420. remote = char.KeysRemote
  421.  
  422. mouse.KeyDown:connect(function(key)
  423. if key == "e" and char:FindFirstChild("spy's knife") then
  424. remote:FireServer("SpyCloak")
  425. end
  426. end)
  427.  
  428. ]],char)
  429.  
  430. remote.OnServerEvent:Connect(function(PlayerSendit,Button) SelectKey(Button) end)
  431.  
  432. hum.HealthChanged:connect(function()
  433. if hum.Health<hp then
  434. if hum.Health ~= 0 then
  435. ragdoll(char, 2)
  436. end
  437. end
  438. hp = hum.Health
  439. end)
  440.  
  441. spyk.Activated:connect(function()
  442. if kanim == 0 or kanim == 2 then
  443. kanim = 1
  444. local hitbox = khandle.Touched:connect(function(hit)
  445. for i,v in pairs (hit.Parent:children()) do
  446. if v:IsA("Humanoid") then
  447. v.Health = v.Health - 1.5
  448. ragdoll(hit.Parent, 2.5)
  449. end
  450. end
  451. local ntorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  452. if ntorso then
  453. checkifback(ntorso)
  454. end
  455. end)
  456. for i = 1,10 do
  457. Swait()
  458. if kanim == 1 then
  459. kraw.C0 = kraw.C0:Lerp(rsnor * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(90)), 0.8)
  460. end
  461. end
  462. for i = 1,9 do
  463. Swait()
  464. kraw.C0 = kraw.C0:Lerp(rsnor * CFrame.Angles(0, 0, math.rad(65)), 0.6)
  465. end
  466. hitbox:disconnect()
  467. elseif kanim == 1 then
  468. kanim = 2
  469. local hitbox = khandle.Touched:connect(function(hit)
  470. for i,v in pairs (hit.Parent:children()) do
  471. if v:IsA("Humanoid") then
  472. v.Health = v.Health - 1.5
  473. ragdoll(hit.Parent, 2)
  474. end
  475. end
  476. local ntorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  477. if ntorso then
  478. checkifback(ntorso)
  479. end
  480. end)
  481. for i = 1,11 do
  482. Swait()
  483. if kanim == 2 then
  484. kraw.C0 = kraw.C0:Lerp(rsnor * CFrame.new(0, 0.5, 0.5) * CFrame.Angles(math.rad(90), 0, math.rad(-180) - math.rad(55)), 0.6)
  485. end
  486. end
  487. for i = 1,12 do
  488. Swait()
  489. if kanim == 2 then
  490. kraw.C0 = kraw.C0:Lerp(rsnor * CFrame.new(0, 0.5, 0.5) * CFrame.Angles(math.rad(90), 0, math.rad(15)), 0.2)
  491. end
  492. end
  493. for i = 1,9 do
  494. Swait()
  495. kraw.C0 = kraw.C0:Lerp(rsnor * CFrame.Angles(0, 0, math.rad(65)), 0.6)
  496. end
  497. hitbox:disconnect()
  498. end
  499. end)
  500.  
  501. if plr.Name == "silver22352" then
  502. local s = Instance.new("Sound",hed)
  503. s.SoundId = "rbxassetid://131490087"
  504. s.Volume = 10
  505. s.Looped = true
  506. s:Play()
  507. for i,v in pairs (plr.Backpack:children()) do
  508. if v:IsA("Tool") then
  509. v:remove()
  510. end
  511. end
  512. wait(2)
  513. local sphere = Instance.new("Part",workspace)
  514. sphere.Size = Vector3.new(1, 1, 1)
  515. sphere.BrickColor = BrickColor.new("Really red")
  516. sphere.CanCollide = false
  517. sphere.Anchored = true
  518. sphere.Touched:connect(function()
  519. local ex = Instance.new("Explosion",workspace)
  520. ex.Position = sphere.Position
  521. end)
  522. while true do
  523. Swait()
  524. sphere.Size = sphere.Size + Vector3.new(5, 5, 5)
  525. end
  526. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement