Advertisement
Mz_TH_edit

what hahahaha

May 31st, 2018
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- [[[
  2. --000000[[====================================================================================\\
  3. --000000[[ 5MZAZATV EDIT
  4. --000000[[====================================================================================//
  5. -- [[[
  6. warn("5Mzazatv edit")
  7. warn("Another chara edit yey :I")
  8.  
  9. local p = game:GetService("Players").LocalPlayer
  10. local char = p.Character
  11. local mouse = p:GetMouse()
  12. local larm = char:WaitForChild("Left Arm")
  13. local rarm = char:WaitForChild("Right Arm")
  14. local lleg = char:WaitForChild("Left Leg")
  15. local rleg = char:WaitForChild("Right Leg")
  16. local hed = char:WaitForChild("Head")
  17. local torso = char:WaitForChild("Torso")
  18. local root = char:WaitForChild("HumanoidRootPart")
  19. local hum = char:FindFirstChildOfClass("Humanoid")
  20. local debris = game:GetService("Debris")
  21. local input = game:GetService("UserInputService")
  22. local run = game:GetService("RunService")
  23. local rs = run.RenderStepped
  24. local wingpose = "Idle"
  25. local DebrisModel = Instance.new("Model",char)
  26. DebrisModel.Name = "Debris"
  27. repeat rs:wait() until p.CharacterAppearanceLoaded
  28.  
  29. noidle = false
  30. shift = false
  31. control = false
  32. no_nosound_able = false
  33. kills = 0
  34.  
  35. lleg.Transparency = 1
  36. rleg.Transparency = 1
  37.  
  38. ----------------------------------------------------------------------------
  39.  
  40. function rswait(value)
  41. if value ~= nil and value ~= 0 then
  42. for i=1,value do
  43. rs:wait()
  44. end
  45. else
  46. rs:wait()
  47. end
  48. end
  49.  
  50. ----------------------------------------------------------------------------
  51.  
  52. local timeposition = 100
  53.  
  54. function music(id)
  55. if not torso:FindFirstChild("MusicRuin") then
  56. soundz = Instance.new("Sound",torso)
  57. end
  58. soundz.Volume = 10
  59. soundz.Name = "MusicRuin"
  60. soundz.Looped = true
  61. soundz.PlaybackSpeed = 1
  62. soundz.SoundId = "rbxassetid://"..id
  63. soundz.TimePosition = 100
  64. soundz:Stop()
  65. soundz:Play()
  66. if no_nosound_able == true then
  67. soundz.TimePosition = timeposition
  68. end
  69. end
  70.  
  71. ----------------------------------------------------------------------------
  72.  
  73. function lerp(a, b, t)
  74. return a + (b - a)*t
  75. end
  76.  
  77. ----------------------------------------------------------------------------
  78.  
  79. function Lerp(c1,c2,al)
  80. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  81. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  82. for i,v in pairs(com1) do
  83. com1[i] = v+(com2[i]-v)*al
  84. end
  85. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  86. end
  87.  
  88. ----------------------------------------------------------------------------
  89.  
  90. function slerp(a, b, t)
  91. dot = a:Dot(b)
  92. if dot > 0.99999 or dot < -0.99999 then
  93. return t <= 0.5 and a or b
  94. else
  95. r = math.acos(dot)
  96. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  97. end
  98. end
  99.  
  100. ----------------------------------------------------------------------------
  101.  
  102. function clerp(c1,c2,al)
  103.  
  104. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  105.  
  106. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  107.  
  108. for i,v in pairs(com1) do
  109.  
  110. com1[i] = lerp(v,com2[i],al)
  111.  
  112. end
  113.  
  114. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  115.  
  116. end
  117.  
  118. ----------------------------------------------------------------------------
  119.  
  120. function findAllNearestTorso(pos,dist)
  121. local list = workspace:children()
  122. local torso = {}
  123. local temp = nil
  124. local human = nil
  125. local temp2 = nil
  126. for x = 1, #list do
  127. temp2 = list[x]
  128. if (temp2.className == "Model") and (temp2 ~= char) then
  129. temp = temp2:findFirstChild("Torso")
  130. human = temp2:findFirstChildOfClass("Humanoid")
  131. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  132. if (temp.Position - pos).magnitude < dist then
  133. table.insert(torso,temp)
  134. dist = (temp.Position - pos).magnitude
  135. end
  136. end
  137. end
  138. end
  139. return torso
  140. end
  141.  
  142. ----------------------------------------------------------------------------
  143.  
  144. function checkIfNotPlayer(model)
  145. if model.CanCollide == true and model ~= char and model.Parent ~= char and model.Parent.Parent ~= char and model.Parent.Parent ~= char and model.Parent ~= DebrisModel and model.Parent.Parent ~= DebrisModel and model.Parent.Parent.Parent ~= DebrisModel and model ~= wings and model.Parent ~= wings and model.Parent.Parent ~= wings then
  146. return true
  147. else
  148. return false
  149. end
  150. end
  151.  
  152. ----------------------------------------------------------------------------
  153.  
  154. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  155.  
  156. local wld = Instance.new("Weld", wp1)
  157.  
  158. wld.Part0 = wp0
  159.  
  160. wld.Part1 = wp1
  161.  
  162. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  163.  
  164. return wld
  165.  
  166. end
  167.  
  168. function weld(model)
  169. local parts,last = {}
  170. local function scan(parent)
  171. for _,v in pairs(parent:GetChildren()) do
  172. if (v:IsA("BasePart")) then
  173. if (last) then
  174. local w = Instance.new("Weld")
  175. w.Name = ("%s_Weld"):format(v.Name)
  176. w.Part0,w.Part1 = last,v
  177. w.C0 = last.CFrame:inverse()
  178. w.C1 = v.CFrame:inverse()
  179. w.Parent = last
  180. end
  181. last = v
  182. table.insert(parts,v)
  183. end
  184. scan(v)
  185. end
  186. end
  187. scan(model)
  188. for _,v in pairs(parts) do
  189. v.Anchored = false
  190. v.Locked = true
  191. v.Anchored = false
  192. v.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  193. v.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  194. v.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  195. v.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  196. v.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  197. v.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  198. v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0)
  199. end
  200. end
  201.  
  202. ----------------------------------------------------------------------------
  203.  
  204. function calculate(part,asd)
  205. local Head = hed
  206. local RightShoulder = asd
  207. local RightArm = part
  208. local MousePosition = mouse.Hit.p
  209. local ToMouse = (MousePosition - Head.Position).unit
  210. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  211. local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (RightArm.Size.X / 2)), ((Head.Size.Y / 2) - (RightArm.Size.Z / 2)), 0)))
  212. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  213. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  214. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  215. if tostring(LateralAngle) == "-1.#IND" then
  216. LateralAngle = 0
  217. end
  218. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  219. if LateralAngle > (math.pi / 2) then
  220. LateralAngle = (math.pi / 2)
  221. local Torso = root
  222. local Point = Torso.CFrame:vectorToObjectSpace(mouse.Hit.p-Torso.CFrame.p)
  223. if Point.Z > 0 then
  224. if Point.X > -0 and RightArm == rarm then
  225. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.Hit.X,Torso.Position.Y,mouse.Hit.Z))*CFrame.Angles(0,math.rad(110),0)
  226. elseif Point.X < 0 and RightArm == rarm then
  227. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.Hit.X,Torso.Position.Y,mouse.Hit.Z))*CFrame.Angles(0,math.rad(-110),0)
  228. end
  229. end
  230. end
  231. if Cross.Y < 0 then
  232. LateralAngle = -LateralAngle
  233. end
  234. return(CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2))
  235. end
  236.  
  237. ----------------------------------------------------------------------------
  238.  
  239. function sound(id,position,vol,pitch,start,finish)
  240. coroutine.resume(coroutine.create(function()
  241.  
  242. local part = Instance.new("Part",workspace)
  243. part.Position = position
  244. part.Size = Vector3.new(0,0,0)
  245. part.CanCollide = false
  246. part.Transparency = 1
  247.  
  248. local sound = Instance.new("Sound",part)
  249.  
  250. sound.SoundId = "rbxassetid://"..id
  251.  
  252. repeat rs:wait() until sound.IsLoaded
  253.  
  254. if vol ~= nil then
  255. sound.Volume = vol
  256. end
  257.  
  258. if pitch ~= nil then
  259. sound.PlaybackSpeed = pitch
  260. end
  261.  
  262. if start ~= nil then
  263. sound.TimePosition = start
  264. end
  265.  
  266. if finish ~= nil then
  267. debris:AddItem(part,finish-start)
  268. else
  269. debris:AddItem(part,sound.TimeLength)
  270. end
  271.  
  272. sound:Play()
  273.  
  274. return sound
  275.  
  276. end))
  277. end
  278.  
  279. ----------------------------------------------------------------------------
  280.  
  281. function computeDirection(vec)
  282. local lenSquared = vec.magnitude * vec.magnitude
  283. local invSqrt = 1 / math.sqrt(lenSquared)
  284. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  285. end
  286.  
  287. ----------------------------------------------------------------------------
  288.  
  289. local shaking = 0
  290. function shake(num) if num > shaking then shaking = num end end
  291. game:GetService("RunService").RenderStepped:connect(function()
  292. hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))*(shaking/100)
  293. if shaking > 0 then shaking = shaking - 1 else shaking = 0 end
  294. end)
  295.  
  296. plr = game:GetService("Players").LocalPlayer
  297. DebrisModel = Instance.new("Model",plr.Character)
  298. DebrisModel.Name = "DebrisModel"
  299.  
  300. function Effect(mesh,size,transparency,material,color,position,rotation,sizechange,rotationchange,transparencychange,acceleration)
  301.  
  302. local part = Instance.new("Part",DebrisModel)
  303. part.Anchored = true
  304. part.CanCollide = false
  305. part.Size = Vector3.new(1,1,1)
  306. part.Transparency = transparency
  307. part.Material = material
  308. part.Color = color
  309. part.CFrame = CFrame.new(position)*CFrame.Angles(math.rad(rotation.X),math.rad(rotation.Y),math.rad(rotation.Z))
  310.  
  311. local partmesh = Instance.new("SpecialMesh",part)
  312. if tonumber(mesh) == nil then partmesh.MeshType = mesh else partmesh.MeshId = "rbxassetid://"..mesh end
  313. partmesh.Scale = size
  314.  
  315. local pvalue = Instance.new("Vector3Value",part)
  316. pvalue.Name = "Position"
  317. pvalue.Value = part.Position
  318.  
  319. local svalue = Instance.new("Vector3Value",part)
  320. svalue.Name = "Size"
  321. svalue.Value = sizechange
  322.  
  323. local rvalue = Instance.new("Vector3Value",part)
  324. rvalue.Name = "Rotation"
  325. rvalue.Value = rotationchange
  326.  
  327. local tvalue = Instance.new("NumberValue",part)
  328. tvalue.Name = "Transparency"
  329. tvalue.Value = transparencychange
  330.  
  331. local avalue = Instance.new("NumberValue",part)
  332. avalue.Name = "Acceleration"
  333. avalue.Value = acceleration
  334.  
  335. part.Name = "EFFECT"
  336.  
  337. return part
  338.  
  339. end
  340.  
  341. game:GetService("RunService").RenderStepped:connect(function()
  342.  
  343.  
  344. if not plr.Character:FindFirstChild("DebrisModel") then
  345. DebrisModel = Instance.new("Model",plr.Character)
  346. DebrisModel.Name = "DebrisModel"
  347. end
  348.  
  349. for i,v in pairs(DebrisModel:GetChildren()) do
  350. if v:IsA("BasePart") and v.Name == "EFFECT" then
  351. local pvalue = v:FindFirstChild("Position").Value
  352. local svalue = v:FindFirstChild("Size").Value
  353. local rvalue = v:FindFirstChild("Rotation").Value
  354. local tvalue = v:FindFirstChild("Transparency").Value
  355. local avalue = v:FindFirstChild("Acceleration").Value
  356. local mesh = v:FindFirstChild("Mesh")
  357. mesh.Scale = mesh.Scale + svalue
  358. v:FindFirstChild("Size").Value = v:FindFirstChild("Size").Value + (Vector3.new(1,1,1)*avalue)
  359. v.Transparency = v.Transparency + tvalue
  360. v.CFrame = v.CFrame*CFrame.Angles(math.rad(rvalue.X),math.rad(rvalue.Y),math.rad(rvalue.Z))
  361. if v.Transparency >= 1 or mesh.Scale.X < 0 or mesh.Scale.Y < 0 or mesh.Scale.Z < 0 then
  362. v:Destroy()
  363. end
  364. end
  365. end
  366.  
  367.  
  368. end)
  369.  
  370. ----------------------------------------------------------------------------
  371. skin_color = BrickColor.new("Pastel brown")
  372. --hed:WaitForChild("face"):Destroy()
  373.  
  374. ----------------------------------------------------------------------------
  375. music(530959353)
  376. equalizer = Instance.new("EqualizerSoundEffect",torso:FindFirstChild("MusicRuin"))
  377.  
  378. local size = 1
  379.  
  380. newWeld(torso, larm, -1.5*size, 0.5*size, 0)
  381. larm.Weld.C1 = CFrame.new(0, 0.5*size, 0)
  382. newWeld(torso, rarm, 1.5*size, 0.5*size, 0)
  383. rarm.Weld.C1 = CFrame.new(0, 0.5*size, 0)
  384. newWeld(torso, hed, 0, 1.5*size, 0)
  385. newWeld(torso, lleg, -0.5*size, -1, 0)
  386. lleg.Weld.C1 = CFrame.new(0, 1*size, 0)
  387. newWeld(torso, rleg, 0.5*size, -1*size, 0)
  388. rleg.Weld.C1 = CFrame.new(0, 1*size, 0)
  389. newWeld(root, torso, 0, -1*size, 0)
  390. torso.Weld.C1 = CFrame.new(0, -1*size, 0)
  391.  
  392. emitters={}
  393. for i,v in pairs(char:GetChildren()) do
  394. if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
  395. local emitter = Instance.new("ParticleEmitter",v)
  396. emitter.LightEmission = 0.2
  397. emitter.Transparency = NumberSequence.new(0.95,1)
  398. emitter.Size = NumberSequence.new(2,5)
  399. emitter.SpreadAngle = Vector2.new(360,360)
  400. emitter.Speed = NumberRange.new(2)
  401. emitter.Lifetime = NumberRange.new(0.75)
  402. emitter.Texture = "rbxassetid://133619974"
  403. emitter.Rate = 20
  404. emitter.Color = ColorSequence.new(Color3.new(0,1,1))
  405. emitter.LockedToPart = true
  406. table.insert(emitters,emitter)
  407. end
  408. end
  409.  
  410. ----------------------------------------------------------------------------
  411. HitBox = Instance.new("Part",DebrisModel)
  412. HitBox.Size = Vector3.new(0.5,0.5,3.45)
  413. HitBox.CanCollide = false
  414. HitBox:BreakJoints()
  415. HitBox.Transparency = 1
  416. newWeld(rarm,HitBox,0,-0.95,-2.2)
  417. atch0 = Instance.new("Attachment",HitBox)
  418. atch0.Position = Vector3.new(0,0,HitBox.Size.Z/2)
  419. atch1 = Instance.new("Attachment",HitBox)
  420. atch1.Position = Vector3.new(0,0,-HitBox.Size.Z/2)
  421. trail = Instance.new("Trail",HitBox)
  422. trail.Attachment0 = atch0
  423. trail.Attachment1 = atch1
  424. trail.Lifetime = 0.2
  425. trail.Enabled = true
  426. trail.LightEmission = 1
  427. trail.LightInfluence = 0
  428. trail.Color = ColorSequence.new(Color3.new(1,0,0))
  429. trail.Transparency = NumberSequence.new(0,1)
  430.  
  431. function ded(model)
  432. kills = kills + 1
  433. model.Archivable = true
  434. model.Head:ClearAllChildren()
  435. local clone = model:Clone()
  436. clone.Parent = workspace
  437. clone.Name = "DED"
  438. model:Destroy()
  439. clone:FindFirstChildOfClass("Humanoid"):Destroy()
  440. local emitters={}
  441. for i,v in pairs(clone:GetChildren()) do
  442. if v:IsA("Accoutrement") then
  443. v:Destroy()
  444. end
  445. if v:IsA("Part") then
  446. v.Anchored = true
  447. v.CanCollide = false
  448. v.Transparency = 1
  449. local emitter = Instance.new("ParticleEmitter",v)
  450. emitter.LightEmission = 1
  451. emitter.Transparency = NumberSequence.new(0,1)
  452. emitter.Size = NumberSequence.new(1.2,1.7)
  453. emitter.SpreadAngle = Vector2.new(360,360)
  454. emitter.Speed = NumberRange.new(0.5)
  455. emitter.Lifetime = NumberRange.new(0.75)
  456. emitter.Texture = "http://www.roblox.com/asset/?id=51657274"
  457. emitter.Rate = 20
  458. emitter.Color = ColorSequence.new(Color3.new(1,0,0))
  459. emitter.LockedToPart = false
  460. table.insert(emitters,emitter)
  461. end
  462. end
  463. delay(1, function()
  464. sound(427025525,clone.Head.Position,10,1)
  465. for i,v in pairs(emitters) do
  466. v.Speed = NumberRange.new(4)
  467. v.Acceleration = Vector3.new(0,10,0)
  468. delay(0.5, function()
  469. v.Enabled = false
  470. debris:AddItem(clone,0.75)
  471. end)
  472. end
  473. end)
  474. end
  475.  
  476. local alreadytouched = {}
  477. HitBox.Touched:connect(function(ht)
  478. coroutine.resume(coroutine.create(function()
  479. local hit = ht.Parent
  480. if mode == "determination" and hit.Name ~= "DED" and attacking == true and checkIfNotPlayer(ht) and hit:FindFirstChildOfClass("Humanoid") and hit:FindFirstChildOfClass("Humanoid").Health > 0 then
  481. local hurt = true
  482. for i,v in pairs(alreadytouched) do if v == hit then hurt = false end end
  483. if hurt == true then
  484. table.insert(alreadytouched,hit)
  485. sound(388826051,ht.Position,10,1)
  486. ded(hit)
  487. end
  488. end
  489. end))
  490. end)
  491.  
  492. function createknife()
  493. Model0 = Instance.new("Model")
  494. Part1 = Instance.new("Part")
  495. BlockMesh2 = Instance.new("BlockMesh")
  496. Part3 = Instance.new("Part")
  497. BlockMesh4 = Instance.new("BlockMesh")
  498. Part5 = Instance.new("Part")
  499. Part6 = Instance.new("Part")
  500. BlockMesh7 = Instance.new("BlockMesh")
  501. Part8 = Instance.new("Part")
  502. Part9 = Instance.new("Part")
  503. Part10 = Instance.new("Part")
  504. SpecialMesh11 = Instance.new("SpecialMesh")
  505. Part12 = Instance.new("Part")
  506. Model0.Parent = char
  507. Part1.Parent = Model0
  508. Part1.Anchored = true
  509. Part1.CanCollide = false
  510. Part1.Size = Vector3.new(0.280000031, 0.0500000007, 0.0500000007)
  511. Part1.CFrame = CFrame.new(49.5, 20.7350044, 52.3199997, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  512. Part1.BottomSurface = Enum.SurfaceType.Smooth
  513. Part1.TopSurface = Enum.SurfaceType.Smooth
  514. Part1.Position = Vector3.new(49.5, 20.7350044, 52.3199997)
  515. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  516. BlockMesh2.Parent = Part1
  517. BlockMesh2.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  518. BlockMesh2.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  519. Part3.Parent = Model0
  520. Part3.Anchored = true
  521. Part3.CanCollide = false
  522. Part3.Size = Vector3.new(0.220000014, 0.0500000007, 0.0500000007)
  523. Part3.CFrame = CFrame.new(49.5, 20.6250038, 53.6199989, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  524. Part3.BottomSurface = Enum.SurfaceType.Smooth
  525. Part3.TopSurface = Enum.SurfaceType.Smooth
  526. Part3.Position = Vector3.new(49.5, 20.6250038, 53.6199989)
  527. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  528. BlockMesh4.Parent = Part3
  529. BlockMesh4.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  530. BlockMesh4.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  531. Part5.Parent = Model0
  532. Part5.Anchored = true
  533. Part5.CanCollide = false
  534. Part5.Size = Vector3.new(0.159999996, 0.450000006, 3.20000005)
  535. Part5.CFrame = CFrame.new(49.5, 20.5750046, 51.4300003, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  536. Part5.BottomSurface = Enum.SurfaceType.Smooth
  537. Part5.TopSurface = Enum.SurfaceType.Smooth
  538. Part5.Position = Vector3.new(49.5, 20.5750046, 50.7300003)
  539. Part5.Color = Color3.new(1, 0, 0)
  540. Part6.Parent = Model0
  541. Part6.Anchored = true
  542. Part6.CanCollide = false
  543. Part6.Size = Vector3.new(0.280000031, 0.0500000007, 0.0500000007)
  544. Part6.CFrame = CFrame.new(49.5, 20.4150047, 52.3199997, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  545. Part6.BottomSurface = Enum.SurfaceType.Smooth
  546. Part6.TopSurface = Enum.SurfaceType.Smooth
  547. Part6.Position = Vector3.new(49.5, 20.4150047, 52.3199997)
  548. Part6.Color = Color3.new(0.972549, 0.972549, 0.972549)
  549. BlockMesh7.Parent = Part6
  550. BlockMesh7.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  551. BlockMesh7.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  552. Part8.Name = "asd"
  553. Part8.Parent = Model0
  554. Part8.Anchored = true
  555. Part8.CanCollide = false
  556. Part8.Size = Vector3.new(0.200000003, 0.200000003, 1.30000007)
  557. Part8.CFrame = CFrame.new(49.5, 20.6250038, 52.9300003, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  558. Part8.BottomSurface = Enum.SurfaceType.Smooth
  559. Part8.TopSurface = Enum.SurfaceType.Smooth
  560. Part8.Position = Vector3.new(49.5, 20.6250038, 52.9300003)
  561. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  562. Part9.Parent = Model0
  563. Part9.Anchored = true
  564. Part9.CanCollide = false
  565. Part9.Size = Vector3.new(0.200000003, 0.25999999, 0.100000039)
  566. Part9.CFrame = CFrame.new(49.5, 20.595005, 53.6199989, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  567. Part9.BottomSurface = Enum.SurfaceType.Smooth
  568. Part9.TopSurface = Enum.SurfaceType.Smooth
  569. Part9.Position = Vector3.new(49.5, 20.595005, 53.6199989)
  570. Part9.Color = Color3.new(0.105882, 0.164706, 0.207843)
  571. Part10.Parent = Model0
  572. Part10.Rotation = Vector3.new(0, 0, 180)
  573. Part10.Anchored = true
  574. Part10.CanCollide = false
  575. Part10.Size = Vector3.new(0.159999996, 0.500000006, 0.900000012)
  576. Part10.CFrame = CFrame.new(49.5, 20.5750046, 50.1800003, -0.99999994, -8.74227766e-08, 3.82137093e-15, 8.74227695e-08, -1, 3.17865059e-08, 1.04250613e-15, 3.17865059e-08, 1)
  577. Part10.BottomSurface = Enum.SurfaceType.Smooth
  578. Part10.TopSurface = Enum.SurfaceType.Smooth
  579. Part10.Position = Vector3.new(49.5, 20.5750046, 48.7300003)
  580. Part10.Color = Color3.new(1, 0, 0)
  581. SpecialMesh11.Parent = Part10
  582. SpecialMesh11.MeshType = Enum.MeshType.Wedge
  583. Part12.Parent = Model0
  584. Part12.Anchored = true
  585. Part12.CanCollide = false
  586. Part12.Size = Vector3.new(0.25999999, 0.760000008, 0.100000039)
  587. Part12.CFrame = CFrame.new(49.5, 20.5750046, 52.3199997, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  588. Part12.BottomSurface = Enum.SurfaceType.Smooth
  589. Part12.TopSurface = Enum.SurfaceType.Smooth
  590. Part12.Position = Vector3.new(49.5, 20.5750046, 52.3199997)
  591. Part12.Color = Color3.new(0.105882, 0.164706, 0.207843)
  592. weld(Model0)
  593. for i,v in pairs(Model0:GetChildren()) do
  594. if v:IsA("Part") and v.Color == Color3.new(1,0,0) then
  595. v.Material = Enum.Material.Neon
  596. end
  597. end
  598. return Model0
  599. end
  600.  
  601. knife = createknife()
  602. newWeld(rarm,knife.asd,0,-1,0)
  603.  
  604. ----------------------------------------------------------------------------------------
  605.  
  606. function createpistol()
  607. Model0 = Instance.new("Model")
  608. Part1 = Instance.new("Part")
  609. BlockMesh2 = Instance.new("BlockMesh")
  610. Part3 = Instance.new("Part")
  611. Part4 = Instance.new("Part")
  612. Part5 = Instance.new("Part")
  613. Part6 = Instance.new("Part")
  614. Part7 = Instance.new("Part")
  615. Part8 = Instance.new("Part")
  616. Part9 = Instance.new("Part")
  617. Part10 = Instance.new("Part")
  618. Part11 = Instance.new("Part")
  619. Part12 = Instance.new("Part")
  620. Part13 = Instance.new("Part")
  621. Part14 = Instance.new("Part")
  622. Part15 = Instance.new("Part")
  623. Part16 = Instance.new("Part")
  624. Part17 = Instance.new("Part")
  625. Part18 = Instance.new("Part")
  626. Part19 = Instance.new("Part")
  627. Model0.Name = "Pistol"
  628. Model0.Parent = char
  629. Part1.Name = "ShootPos"
  630. Part1.Parent = Model0
  631. Part1.BrickColor = BrickColor.new("Really black")
  632. Part1.Anchored = true
  633. Part1.CanCollide = false
  634. Part1.Size = Vector3.new(0.100000001, 0.100000001, 0.0500000007)
  635. Part1.CFrame = CFrame.new(-90, 10.5000019, 13.8957434, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  636. Part1.BottomSurface = Enum.SurfaceType.Smooth
  637. Part1.TopSurface = Enum.SurfaceType.Smooth
  638. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  639. Part1.Position = Vector3.new(-90, 10.5000019, 13.8957434)
  640. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  641. BlockMesh2.Parent = Part1
  642. BlockMesh2.Scale = Vector3.new(1, 1, 0.199999988)
  643. BlockMesh2.Scale = Vector3.new(1, 1, 0.199999988)
  644. Part3.Parent = Model0
  645. Part3.BrickColor = BrickColor.new("Pearl")
  646. Part3.Anchored = true
  647. Part3.CanCollide = false
  648. Part3.Size = Vector3.new(0.100000001, 0.550000012, 0.0500000007)
  649. Part3.CFrame = CFrame.new(-90.0999985, 10.3750019, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  650. Part3.BottomSurface = Enum.SurfaceType.Smooth
  651. Part3.TopSurface = Enum.SurfaceType.Smooth
  652. Part3.Color = Color3.new(0, 0.905882, 0.92549)
  653. Part3.Position = Vector3.new(-90.0999985, 10.3750019, 13.8757429)
  654. Part3.Color = Color3.new(0, 0.905882, 0.92549)
  655. Part4.Parent = Model0
  656. Part4.BrickColor = BrickColor.new("Pearl")
  657. Part4.Anchored = true
  658. Part4.CanCollide = false
  659. Part4.Size = Vector3.new(0.300000012, 0.349999994, 0.0500000007)
  660. Part4.CFrame = CFrame.new(-90, 10.2750025, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  661. Part4.BottomSurface = Enum.SurfaceType.Smooth
  662. Part4.TopSurface = Enum.SurfaceType.Smooth
  663. Part4.Color = Color3.new(0, 0.905882, 0.92549)
  664. Part4.Position = Vector3.new(-90, 10.2750025, 13.8757429)
  665. Part4.Color = Color3.new(0, 0.905882, 0.92549)
  666. Part5.Parent = Model0
  667. Part5.BrickColor = BrickColor.new("Pearl")
  668. Part5.Rotation = Vector3.new(15, 0, 0)
  669. Part5.Anchored = true
  670. Part5.CanCollide = false
  671. Part5.Size = Vector3.new(0.200000003, 0.25, 0.150000006)
  672. Part5.CFrame = CFrame.new(-90, 10.4379425, 15.8274469, 1, 0, 0, 0, 0.965925753, -0.258819252, 0, 0.258819252, 0.965925753)
  673. Part5.BottomSurface = Enum.SurfaceType.Smooth
  674. Part5.TopSurface = Enum.SurfaceType.Smooth
  675. Part5.Color = Color3.new(0, 0.905882, 0.92549)
  676. Part5.Position = Vector3.new(-90, 10.4379425, 15.8274469)
  677. Part5.Orientation = Vector3.new(15, 0, 0)
  678. Part5.Color = Color3.new(0, 0.905882, 0.92549)
  679. Part6.Parent = Model0
  680. Part6.BrickColor = BrickColor.new("Pearl")
  681. Part6.Anchored = true
  682. Part6.CanCollide = false
  683. Part6.Size = Vector3.new(0.300000012, 0.550000012, 1.89999998)
  684. Part6.CFrame = CFrame.new(-90, 10.3750019, 14.8507433, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  685. Part6.BottomSurface = Enum.SurfaceType.Smooth
  686. Part6.TopSurface = Enum.SurfaceType.Smooth
  687. Part6.Color = Color3.new(0, 0.905882, 0.92549)
  688. Part6.Position = Vector3.new(-90, 10.3750019, 14.8507433)
  689. Part6.Color = Color3.new(0, 0.905882, 0.92549)
  690. Part7.Parent = Model0
  691. Part7.BrickColor = BrickColor.new("Pearl")
  692. Part7.Anchored = true
  693. Part7.CanCollide = false
  694. Part7.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
  695. Part7.CFrame = CFrame.new(-90.0999985, 10.6750021, 15.6257429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  696. Part7.BottomSurface = Enum.SurfaceType.Smooth
  697. Part7.TopSurface = Enum.SurfaceType.Smooth
  698. Part7.Color = Color3.new(0, 0.905882, 0.92549)
  699. Part7.Position = Vector3.new(-90.0999985, 10.6750021, 15.6257429)
  700. Part7.Color = Color3.new(0, 0.905882, 0.92549)
  701. Part8.Parent = Model0
  702. Part8.BrickColor = BrickColor.new("Black")
  703. Part8.Rotation = Vector3.new(-15, 0, 0)
  704. Part8.Anchored = true
  705. Part8.CanCollide = false
  706. Part8.Size = Vector3.new(0.220000014, 0.5, 0.209999993)
  707. Part8.CFrame = CFrame.new(-90, 9.71499538, 15.4898481, 1, 0, 0, 0, 0.965925872, 0.258818835, 0, -0.258818835, 0.965925872)
  708. Part8.BottomSurface = Enum.SurfaceType.Smooth
  709. Part8.TopSurface = Enum.SurfaceType.Smooth
  710. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  711. Part8.Position = Vector3.new(-90, 9.71499538, 15.4898481)
  712. Part8.Orientation = Vector3.new(-15, 0, 0)
  713. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  714. Part9.Parent = Model0
  715. Part9.BrickColor = BrickColor.new("Pearl")
  716. Part9.Anchored = true
  717. Part9.CanCollide = false
  718. Part9.Size = Vector3.new(0.100000001, 0.550000012, 0.0500000007)
  719. Part9.CFrame = CFrame.new(-89.9000015, 10.3750019, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  720. Part9.BottomSurface = Enum.SurfaceType.Smooth
  721. Part9.TopSurface = Enum.SurfaceType.Smooth
  722. Part9.Color = Color3.new(0, 0.905882, 0.92549)
  723. Part9.Position = Vector3.new(-89.9000015, 10.3750019, 13.8757429)
  724. Part9.Color = Color3.new(0, 0.905882, 0.92549)
  725. Part10.Parent = Model0
  726. Part10.BrickColor = BrickColor.new("Pearl")
  727. Part10.Anchored = true
  728. Part10.CanCollide = false
  729. Part10.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
  730. Part10.CFrame = CFrame.new(-89.9000015, 10.6750021, 15.6257429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  731. Part10.BottomSurface = Enum.SurfaceType.Smooth
  732. Part10.TopSurface = Enum.SurfaceType.Smooth
  733. Part10.Color = Color3.new(0, 0.905882, 0.92549)
  734. Part10.Position = Vector3.new(-89.9000015, 10.6750021, 15.6257429)
  735. Part10.Color = Color3.new(0, 0.905882, 0.92549)
  736. Part11.Parent = Model0
  737. Part11.BrickColor = BrickColor.new("Pearl")
  738. Part11.Anchored = true
  739. Part11.CanCollide = false
  740. Part11.Size = Vector3.new(0.200000003, 0.150000006, 0.600000024)
  741. Part11.CFrame = CFrame.new(-90, 9.37500191, 15.6007433, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  742. Part11.BottomSurface = Enum.SurfaceType.Smooth
  743. Part11.TopSurface = Enum.SurfaceType.Smooth
  744. Part11.Color = Color3.new(0, 0.905882, 0.92549)
  745. Part11.Position = Vector3.new(-90, 9.37500191, 15.6007433)
  746. Part11.Color = Color3.new(0, 0.905882, 0.92549)
  747. Part12.Parent = Model0
  748. Part12.BrickColor = BrickColor.new("Pearl")
  749. Part12.Rotation = Vector3.new(-30, 0, 0)
  750. Part12.Anchored = true
  751. Part12.CanCollide = false
  752. Part12.Size = Vector3.new(0.100000001, 0.150000006, 0.0500000007)
  753. Part12.CFrame = CFrame.new(-90, 9.97165203, 15.1132431, 1, 0, 0, 0, 0.866025448, 0.5, 0, -0.5, 0.866025448)
  754. Part12.BottomSurface = Enum.SurfaceType.Smooth
  755. Part12.TopSurface = Enum.SurfaceType.Smooth
  756. Part12.Color = Color3.new(0, 0.905882, 0.92549)
  757. Part12.Position = Vector3.new(-90, 9.97165203, 15.1132431)
  758. Part12.Orientation = Vector3.new(-30, 0, 0)
  759. Part12.Color = Color3.new(0, 0.905882, 0.92549)
  760. Part13.Parent = Model0
  761. Part13.BrickColor = BrickColor.new("Pearl")
  762. Part13.Anchored = true
  763. Part13.CanCollide = false
  764. Part13.Size = Vector3.new(0.300000012, 0.100000001, 0.0500000007)
  765. Part13.CFrame = CFrame.new(-90, 10.6000023, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  766. Part13.BottomSurface = Enum.SurfaceType.Smooth
  767. Part13.TopSurface = Enum.SurfaceType.Smooth
  768. Part13.Color = Color3.new(0, 0.905882, 0.92549)
  769. Part13.Position = Vector3.new(-90, 10.6000023, 13.8757429)
  770. Part13.Color = Color3.new(0, 0.905882, 0.92549)
  771. Part14.Parent = Model0
  772. Part14.BrickColor = BrickColor.new("Pearl")
  773. Part14.Rotation = Vector3.new(-30, 0, 0)
  774. Part14.Anchored = true
  775. Part14.CanCollide = false
  776. Part14.Size = Vector3.new(0.200000003, 0.100000001, 0.25)
  777. Part14.CFrame = CFrame.new(-90, 10.5216522, 15.9065447, 1, 0, 0, 0, 0.866025329, 0.49999997, 0, -0.49999997, 0.866025329)
  778. Part14.BottomSurface = Enum.SurfaceType.Smooth
  779. Part14.TopSurface = Enum.SurfaceType.Smooth
  780. Part14.Color = Color3.new(0, 0.905882, 0.92549)
  781. Part14.Position = Vector3.new(-90, 10.5216522, 15.9065447)
  782. Part14.Orientation = Vector3.new(-30, 0, 0)
  783. Part14.Color = Color3.new(0, 0.905882, 0.92549)
  784. Part15.Parent = Model0
  785. Part15.BrickColor = BrickColor.new("White")
  786. Part15.Rotation = Vector3.new(-105, 0, 0)
  787. Part15.Anchored = true
  788. Part15.CanCollide = false
  789. Part15.Size = Vector3.new(0.100000001, 0.200000003, 0.0500000007)
  790. Part15.CFrame = CFrame.new(-90, 9.92812252, 15.2373915, 1, 0, 0, 0, -0.258819371, 0.965925813, 0, -0.965925813, -0.258819371)
  791. Part15.BottomSurface = Enum.SurfaceType.Smooth
  792. Part15.TopSurface = Enum.SurfaceType.Smooth
  793. Part15.Color = Color3.new(0.94902, 0.952941, 0.952941)
  794. Part15.Position = Vector3.new(-90, 9.92812252, 15.2373915)
  795. Part15.Orientation = Vector3.new(-75, 180, 180)
  796. Part15.Color = Color3.new(0.94902, 0.952941, 0.952941)
  797. Part16.Name = "asd"
  798. Part16.Parent = Model0
  799. Part16.BrickColor = BrickColor.new("Pearl")
  800. Part16.Rotation = Vector3.new(-15, 0, 0)
  801. Part16.Anchored = true
  802. Part16.CanCollide = false
  803. Part16.Size = Vector3.new(0.200000003, 1.14999998, 0.400000006)
  804. Part16.CFrame = CFrame.new(-90, 9.93709087, 15.5425692, 1, 0, 0, 0, 0.965925872, 0.258818835, 0, -0.258818835, 0.965925872)
  805. Part16.BottomSurface = Enum.SurfaceType.Smooth
  806. Part16.TopSurface = Enum.SurfaceType.Smooth
  807. Part16.Color = Color3.new(0, 0.905882, 0.92549)
  808. Part16.Position = Vector3.new(-90, 9.93709087, 15.5425692)
  809. Part16.Orientation = Vector3.new(-15, 0, 0)
  810. Part16.Color = Color3.new(0, 0.905882, 0.92549)
  811. Part17.Parent = Model0
  812. Part17.BrickColor = BrickColor.new("Pearl")
  813. Part17.Anchored = true
  814. Part17.CanCollide = false
  815. Part17.Size = Vector3.new(0.100000001, 0.100000001, 0.0500000007)
  816. Part17.CFrame = CFrame.new(-90, 10.0500021, 15.0757437, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  817. Part17.BottomSurface = Enum.SurfaceType.Smooth
  818. Part17.TopSurface = Enum.SurfaceType.Smooth
  819. Part17.Color = Color3.new(0, 0.905882, 0.92549)
  820. Part17.Position = Vector3.new(-90, 10.0500021, 15.0757437)
  821. Part17.Color = Color3.new(0, 0.905882, 0.92549)
  822. Part18.Parent = Model0
  823. Part18.BrickColor = BrickColor.new("Pearl")
  824. Part18.Anchored = true
  825. Part18.CanCollide = false
  826. Part18.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
  827. Part18.CFrame = CFrame.new(-90, 10.6750021, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  828. Part18.BottomSurface = Enum.SurfaceType.Smooth
  829. Part18.TopSurface = Enum.SurfaceType.Smooth
  830. Part18.Color = Color3.new(0, 0.905882, 0.92549)
  831. Part18.Position = Vector3.new(-90, 10.6750021, 13.8757429)
  832. Part18.Color = Color3.new(0, 0.905882, 0.92549)
  833. Part19.Parent = Model0
  834. Part19.BrickColor = BrickColor.new("Pearl")
  835. Part19.Anchored = true
  836. Part19.CanCollide = false
  837. Part19.Size = Vector3.new(0.400000006, 0.200000003, 1.05000007)
  838. Part19.CFrame = CFrame.new(-90, 10.1500015, 14.4757433, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  839. Part19.BottomSurface = Enum.SurfaceType.Smooth
  840. Part19.TopSurface = Enum.SurfaceType.Smooth
  841. Part19.Color = Color3.new(0, 0.905882, 0.92549)
  842. Part19.Position = Vector3.new(-90, 10.1500015, 14.4757433)
  843. Part19.Color = Color3.new(0, 0.905882, 0.92549)
  844. for i,v in pairs(Model0:GetChildren()) do
  845. if v:IsA("Part") then
  846. v.Material = Enum.Material.Glass
  847. v.Transparency = 0.1
  848. v.CanCollide = false
  849. end
  850. local Aura = Instance.new('ParticleEmitter')
  851. Aura.Name = "Aura"
  852. Aura.Texture = "rbxassetid://141116476"
  853. Aura.Parent = Part1
  854. Aura.LightEmission = 1
  855. Aura.Transparency = NumberSequence.new(0,0.6,1)
  856. Aura.Color = ColorSequence.new(Color3.new(0/255, 255/255, 255/255),Color3.new(255/255, 0/255, 0/255))
  857. Aura.Size = NumberSequence.new(0.4,0.2,0)
  858. Aura.LockedToPart = false
  859. Aura.Lifetime = NumberRange.new(1)
  860. Aura.Rate = 90
  861. Aura.Speed = NumberRange.new(0.2)
  862. Aura.EmissionDirection = "Front"
  863. Aura.VelocitySpread = 90
  864. Aura.Rotation = NumberRange.new(-80,80)
  865. Aura.RotSpeed = NumberRange.new(-80,80)
  866. end
  867. weld(Model0)
  868. return Model0
  869. end
  870.  
  871. mode = "determination"
  872. function justice()
  873. mode = "justice"
  874. for i=1,5 do rs:wait()
  875. local asd = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,math.random(-10000,10000)/10000)
  876. Effect(Enum.MeshType.Brick,Vector3.new(1,1,1),0,Enum.Material.Neon,Color3.new(0,0,0),rarm.RightGripAttachment.WorldPosition+(asd*1),asd*360,Vector3.new(0.5,0.5,0.5),asd*1,0.1,0.0005)
  877. end
  878. knife:Destroy()
  879. pistol = createpistol()
  880. newWeld(rarm,pistol.asd,0,-1,0)
  881. pistol.asd.Weld.C1 = CFrame.Angles(math.rad(110),0,0)
  882. end
  883.  
  884. function determination()
  885. mode = "determination"
  886. for i=1,5 do rs:wait()
  887. local asd = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,math.random(-10000,10000)/10000)
  888. Effect(Enum.MeshType.Brick,Vector3.new(1,1,1),0,Enum.Material.Neon,Color3.new(1,0,0),rarm.RightGripAttachment.WorldPosition+(asd*1),asd*360,Vector3.new(0.5,0.5,0.5),asd*1,0.1,0.0005)
  889. end
  890. pistol:Destroy()
  891. knife = createknife()
  892. newWeld(rarm,knife.asd,0,-1,0)
  893. end
  894.  
  895. debounce = false
  896. mouse.KeyDown:connect(function(key)
  897. if debounce == false then
  898. debounce = true
  899. if key == "q" then
  900. if mode == "determination" then
  901. justice()
  902. sound(131164874,root.Position,19,1)
  903. elseif mode == "justice" then
  904. determination()
  905. sound(769464514,root.Position,19,1)
  906. end
  907. end
  908. delay(0.3,function() debounce = false end)
  909. end
  910. if key == "e" then
  911. sound(char,654422659,1,90) root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position) end
  912. end)
  913.  
  914. ----------------------------------------------------------------------------------------
  915.  
  916. function slash()
  917. local spd = 0.2
  918. for i=1,15 do rs:wait()
  919. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  920. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(-30),math.rad(0)), spd)
  921. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), spd)
  922. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0) *CFrame.Angles(math.rad(160),math.rad(0),math.rad(10)), spd)
  923. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(0),math.rad(-50),math.rad(10)), spd)
  924. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(-10)), spd)
  925. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  926. end
  927. sound(1379707345,root.Position,10,1)
  928. attacking = true
  929. local spd = 0.4
  930. for i=1,5 do rs:wait()
  931. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  932. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(80),math.rad(0)), spd)
  933. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), spd)
  934. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0) *CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), spd)
  935. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(0),math.rad(80),math.rad(-20)), spd)
  936. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  937. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(-80),math.rad(20)), spd)
  938. end
  939. end
  940.  
  941. mouse.Button1Down:connect(function()
  942. if debounce == false and mode == "determination" then
  943. alreadytouched = {}
  944. noidle = true
  945. debounce = true
  946. slash()
  947. attacking = false
  948. noidle = false
  949. delay(0.05,function() debounce = false end)
  950. end
  951. end)
  952.  
  953. -----------------------------
  954. local jumped = false
  955. function boom()
  956. freeze = true
  957. sound(139331212,root.Position,4,1)
  958. local bg = Instance.new("BodyGyro",root)
  959. bg.Name = "lolnochara"
  960. bg.P = 10000
  961. bg.D = 100
  962. bg.MaxTorque = Vector3.new(9e9,9e9,9e9)
  963. if jumped == false then
  964. root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  965. bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  966. else
  967. root.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  968. bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  969. end
  970.  
  971. local spd = 0.2
  972. for i=1,20 do rs:wait()
  973. if jumped == false then
  974. bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  975. else
  976. bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  977. end
  978. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  979. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  980. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  981. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0) *CFrame.Angles(math.rad(45),math.rad(0),math.rad(90)), spd)
  982. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  983. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(0),math.rad(-5),math.rad(0)), spd)
  984. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(-20),math.rad(0)), spd)
  985. end
  986.  
  987. bg:Destroy()
  988.  
  989. sound(470245800,root.Position,10,1)
  990.  
  991. local Part0 = Instance.new("Part",DebrisModel)
  992. Part0.Name = "Bullet"
  993. Part0.Material = Enum.Material.Neon
  994. Part0.Color = Color3.new(0,0,0)
  995. Part0.Anchored = true
  996. local mesh = Instance.new("SpecialMesh",Part0)
  997. mesh.MeshType = Enum.MeshType.Brick
  998. Part0.CanCollide = false
  999. local Position = rarm.Position
  1000. local Target = mouse.Hit.p
  1001. local direction = Target - Position
  1002. local direction = computeDirection(direction)
  1003. local ray = Ray.new(Position, (Target-Position).unit*1048)
  1004. local part, endPoint = workspace:FindPartOnRay(ray, char)
  1005. Part0.Size = Vector3.new(5,1,5)
  1006. mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude+5,1)
  1007. local pos = Position + (direction * (mesh.Scale.Y/2))
  1008. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  1009. local loop = nil
  1010. local i = 0
  1011. rs:connect(function()
  1012. local lole = (i/10)
  1013. mesh.Scale = Vector3.new(lole,mesh.Scale.Y,lole)
  1014. Part0.Transparency = Part0.Transparency + 0.1
  1015. i = i + 1
  1016. if Part0.Transparency >= 1 then
  1017. Part0:Destroy()
  1018. end
  1019. end)
  1020.  
  1021. if part and part.Parent:FindFirstChildOfClass("Humanoid") and checkIfNotPlayer(part) == true then
  1022. coroutine.resume(coroutine.create(function()
  1023. sound(388826051,part.Position,10,1)
  1024. ded(part.Parent)
  1025. end))
  1026. end
  1027.  
  1028. local spd = 0.5
  1029. for i=1,10 do rs:wait()
  1030. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  1031. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  1032. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), spd)
  1033. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0) *CFrame.Angles(math.rad(45),math.rad(40),math.rad(90)), spd)
  1034. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  1035. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.95,0)*CFrame.Angles(math.rad(0),math.rad(-5),math.rad(0)), spd)
  1036. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.95,0) *CFrame.Angles(math.rad(0),math.rad(-20),math.rad(0)), spd)
  1037. end
  1038.  
  1039. freeze = false
  1040.  
  1041. end
  1042.  
  1043. mouse.Button1Down:connect(function()
  1044. if debounce == false and mode == "justice" then
  1045. alreadytouched = {}
  1046. noidle = true
  1047. debounce = true
  1048. boom()
  1049. attacking = false
  1050. noidle = false
  1051. delay(0.05,function() debounce = false end)
  1052. end
  1053. end)
  1054.  
  1055. ----------------------------------------------------------------------------------------
  1056. velocityYFall=0
  1057. velocityYFall2=0
  1058. velocityYFall3=0
  1059. velocityYFall4=0
  1060. neckrotY=0
  1061. neckrotY2=0
  1062. torsorotY=0
  1063. torsorotY2=0
  1064. torsoY=0
  1065. torsoY2=0
  1066. colored = 0
  1067. sine = 0
  1068. change=0.4
  1069. movement=5
  1070. timeranim=0
  1071. running = false
  1072. glitched = false
  1073. backup = hed.Weld.C1
  1074. glitchedC1 = hed.Weld.C1
  1075.  
  1076. mouse.KeyDown:connect(function(key)
  1077. key = string.lower(key)
  1078. if string.byte(key) == 48 then
  1079. running = true
  1080. local keyup = mouse.KeyUp:connect(function(key)
  1081. if string.byte(key) == 48 then
  1082. running = false
  1083. end
  1084. end)
  1085. repeat rs:wait() until running == false
  1086. keyup:disconnect()
  1087. end
  1088. end)
  1089.  
  1090. icolor=1
  1091. imode=false
  1092.  
  1093. didjump = false
  1094. jumppower = 0
  1095. freeze = false
  1096. debounceimpact = false
  1097.  
  1098. function jumpimpact()
  1099. if debounceimpact == false then
  1100. debounceimpact = true
  1101. if jumppower < -150 then jumppower = -150 end
  1102. shake(-jumppower/5)
  1103. for i=1,-jumppower/20 do rs:wait()
  1104. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0), 0.05)
  1105. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, (jumppower/20)*size-hum.HipHeight, 0) * CFrame.Angles(math.rad(0),math.rad(0), math.rad(0)), 0.05)
  1106. end
  1107. debounceimpact = false
  1108. end
  1109. end
  1110.  
  1111. local sond = nil
  1112. rs:connect(function()
  1113.  
  1114. if not torso:FindFirstChild("STATICSOUND") then
  1115. sond=Instance.new("Sound",torso)
  1116. sond.Name = "STATICSOUND"
  1117. sond.SoundId = "rbxassetid://223103466"
  1118. sond.Looped = true
  1119. sond:Play()
  1120. end
  1121.  
  1122. if icolor > 1 then
  1123. imode = false
  1124. elseif icolor < 0 then
  1125. imode = true
  1126. end
  1127.  
  1128. if imode == true then
  1129. icolor = icolor + 0.01
  1130. else
  1131. icolor = icolor - 0.01
  1132. end
  1133.  
  1134. for i,v in pairs(emitters) do
  1135. v.Acceleration = root.CFrame.upVector*(666/100)
  1136. end
  1137.  
  1138. if p.Character.Parent == nil then
  1139. local model = Instance.new("Model")
  1140. model.Name = p.Name
  1141. p.Character = model
  1142. for i,v in pairs(char:GetChildren()) do
  1143. v.Parent = p.Character
  1144. end
  1145. end
  1146.  
  1147. char = p.Character
  1148. if p.Character.Parent ~= workspace then
  1149. p.Character.Parent = workspace
  1150. end
  1151. for i,v in pairs(char:GetChildren()) do
  1152. if v:IsA("Accoutrement") then
  1153. if v.Handle:FindFirstChild("Mesh") then
  1154. v.Handle:FindFirstChild("Mesh").Offset = Vector3.new()
  1155. v.Handle.Transparency = 0
  1156. end
  1157. elseif v:IsA("BasePart") then
  1158. v.Anchored = false
  1159. if v:FindFirstChildOfClass("BodyPosition") then
  1160. v:FindFirstChildOfClass("BodyPosition"):Destroy()
  1161. end
  1162. if v:FindFirstChildOfClass("BodyVelocity") then
  1163. v:FindFirstChildOfClass("BodyVelocity"):Destroy()
  1164. end
  1165. if v:FindFirstChildOfClass("BodyGyro") and v:FindFirstChildOfClass("BodyGyro").Name ~= "lolnochara" then
  1166. v:FindFirstChildOfClass("BodyGyro"):Destroy()
  1167. end
  1168. if v:FindFirstChild("Mesh") then
  1169. v:FindFirstChild("Mesh").Offset = Vector3.new()
  1170. end
  1171. if not DebrisModel:FindFirstChild(v.Name.."FORCEFIELD") then
  1172. local force = Instance.new("Part",DebrisModel)
  1173. force.Name = v.Name.."FORCEFIELD"
  1174. force.Size = v.Size+(Vector3.new(1,1,1)*0.2)
  1175. force.CanCollide = false
  1176. force.Transparency = 1
  1177. newWeld(v,force,0,0,0)
  1178. else
  1179. if not DebrisModel:FindFirstChild(v.Name.."FORCEFIELD"):FindFirstChildOfClass("Weld") then
  1180. newWeld(v,DebrisModel:FindFirstChild(v.Name.."FORCEFIELD"),0,0,0)
  1181. end
  1182. end
  1183. if v.Name ~= "HumanoidRootPart" then
  1184. v.Transparency = 0
  1185. else
  1186. v.Transparency = 1
  1187. end
  1188. end
  1189. end
  1190.  
  1191. if mode == "determination" then
  1192. trail.Enabled = true
  1193. else
  1194. trail.Enabled = false
  1195. end
  1196.  
  1197. if freeze == false then
  1198. if running == false then
  1199. hum.WalkSpeed = 12*size
  1200. change=0.4
  1201. movement=5
  1202. else
  1203. hum.WalkSpeed = (666/10)*size
  1204. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5*size then
  1205. change=1
  1206. else
  1207. change=0.4
  1208. end
  1209. movement=15
  1210. end
  1211. else
  1212. hum.WalkSpeed = 1
  1213. change=0.4
  1214. movement=5
  1215. end
  1216.  
  1217. if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 150 then
  1218. velocityYFall = root.Velocity.Y/1.5
  1219. else
  1220. if -root.Velocity.Y/1.5 < -5 then
  1221. velocityYFall = 5
  1222. elseif -root.Velocity.Y/1.5 > 150 then
  1223. velocityYFall = -150
  1224. end
  1225. end
  1226.  
  1227. if -root.Velocity.Y/180 > 0 and -root.Velocity.Y/180 < 1.2 then
  1228. velocityYFall2 = root.Velocity.Y/180
  1229. else
  1230. if -root.Velocity.Y/180 < 0 then
  1231. velocityYFall2 = 0
  1232. elseif -root.Velocity.Y/180 > 1.2 then
  1233. velocityYFall2 = -1.2
  1234. end
  1235. end
  1236.  
  1237. if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 50 then
  1238. velocityYFall3 = root.Velocity.Y/1.5
  1239. else
  1240. if -root.Velocity.Y/1.5 < -5 then
  1241. velocityYFall3 = 5
  1242. elseif -root.Velocity.Y/1.5 > 50 then
  1243. velocityYFall3 = -50
  1244. end
  1245. end
  1246.  
  1247. if -root.Velocity.Y/1.5 > -50 and -root.Velocity.Y/1.5 < 20 then
  1248. velocityYFall4 = root.Velocity.Y/1.5
  1249. else
  1250. if -root.Velocity.Y/180 < -5 then
  1251. velocityYFall4 = 5
  1252. elseif -root.Velocity.Y/180 > 50 then
  1253. velocityYFall4 = -50
  1254. end
  1255. end
  1256.  
  1257. if root.RotVelocity.Y/6 < 1 and root.RotVelocity.Y/6 > -1 then
  1258. neckrotY = root.RotVelocity.Y/6
  1259. else
  1260. if root.RotVelocity.Y/6 < -1 then
  1261. neckrotY = -1
  1262. elseif root.RotVelocity.Y/6 > 1 then
  1263. neckrotY = 1
  1264. end
  1265. end
  1266.  
  1267. if root.RotVelocity.Y/8 < 0.6 and root.RotVelocity.Y/8 > -0.6 then
  1268. neckrotY2 = root.RotVelocity.Y/8
  1269. else
  1270. if root.RotVelocity.Y/8 < -0.6 then
  1271. neckrotY2 = -0.6
  1272. elseif root.RotVelocity.Y/8 > 0.6 then
  1273. neckrotY2 = 0.6
  1274. end
  1275. end
  1276.  
  1277. if root.RotVelocity.Y/6 < 0.2 and root.RotVelocity.Y/6 > -0.2 then
  1278. torsorotY = root.RotVelocity.Y/6
  1279. else
  1280. if root.RotVelocity.Y/6 < -0.2 then
  1281. torsorotY = -0.2
  1282. elseif root.RotVelocity.Y/6 > 0.2 then
  1283. torsorotY = 0.2
  1284. end
  1285. end
  1286.  
  1287. if root.RotVelocity.Y/8 < 0.2 and root.RotVelocity.Y/8 > -0.2 then
  1288. torsorotY2 = root.RotVelocity.Y/8
  1289. else
  1290. if root.RotVelocity.Y/8 < -0.2 then
  1291. torsorotY2 = -0.2
  1292. elseif root.RotVelocity.Y/8 > 0.2 then
  1293. torsorotY2 = 0.2
  1294. end
  1295. end
  1296.  
  1297. torsoY = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/20
  1298. torsoY2 = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/36
  1299.  
  1300. local ray1 = Ray.new(root.Position+Vector3.new(size,0,0),Vector3.new(0, -4*size, 0))
  1301. local part1, endPoint = workspace:FindPartOnRay(ray1, char)
  1302. local ray2 = Ray.new(root.Position-Vector3.new(size,0,0),Vector3.new(0, -4*size, 0))
  1303. local part2, endPoint = workspace:FindPartOnRay(ray2, char)
  1304. local ray3 = Ray.new(root.Position+Vector3.new(0,0,size/2),Vector3.new(0, -4*size, 0))
  1305. local part3, endPoint = workspace:FindPartOnRay(ray3, char)
  1306. local ray4 = Ray.new(root.Position-Vector3.new(0,0,size/2),Vector3.new(0, -4*size, 0))
  1307. local part4, endPoint = workspace:FindPartOnRay(ray4, char)
  1308. local ray = Ray.new(root.Position,Vector3.new(0, -6, 0))
  1309. local part, endPoint = workspace:FindPartOnRay(ray, char)
  1310.  
  1311. if part1 or part2 or part3 or part4 then jumped = false else endPoint = 0 jumped = true end
  1312.  
  1313. local rlegray = Ray.new(rleg.Position+Vector3.new(0,size/2,0),Vector3.new(0, -1.75*size, 0))
  1314. local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
  1315.  
  1316. local llegray = Ray.new(lleg.Position+Vector3.new(0,size/2,0),Vector3.new(0, -1.75*size, 0))
  1317. local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
  1318.  
  1319. if hum.Health > 0 and noidle == false then
  1320. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 and jumped == false then
  1321. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new((change/5)*math.sin(sine/4), 1.5, -.2) * CFrame.Angles(math.rad((torso.Velocity*Vector3.new(1, 0, 1)).magnitude/35),torsorotY, math.rad(0)+torsorotY), 0.4)
  1322. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles((change/10)*math.cos(sine/2)+0.1,-(change/10)*math.cos(sine/4)-(torsorotY/5),(change/2)*math.sin(sine/4)), 0.1)
  1323. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62-(movement/40)*math.cos(sine/4)/3,(movement/150)+(movement/40)*math.cos(sine/4))*CFrame.Angles(math.rad(-5-(movement*2)*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  1324. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+(movement/40)*math.cos(sine/4)/3,(movement/150)-(movement/40)*math.cos(sine/4))*CFrame.Angles(math.rad(-5+(movement*2)*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  1325. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.05+(change/2)*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-(change*20)-(movement/20)*math.cos(sine/2)), torsorotY2+math.rad(0-4*math.cos(sine/4)), torsorotY2+math.rad(0-1*math.cos(sine/4))), 0.1)
  1326. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,(-0.85-(movement/15)*math.cos(sine/4)/2),-0.1+(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)-movement*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  1327. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,(-0.85+(movement/15)*math.cos(sine/4)/2),-0.1-(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)+movement*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
  1328. elseif jumped == true then
  1329. didjump = true
  1330. jumppower = root.Velocity.Y
  1331. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.1) * CFrame.Angles(0,0,0), 0.4)
  1332. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-velocityYFall3/5),0,0), 0.1)
  1333. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55-velocityYFall3/70,0)*CFrame.Angles(math.rad(-velocityYFall3/10),math.rad(0),math.rad(velocityYFall)), 0.2)
  1334. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55-velocityYFall3/70,0)*CFrame.Angles(math.rad(-velocityYFall3/10),math.rad(0),math.rad(-velocityYFall)), 0.2)
  1335. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(velocityYFall3/10),math.rad(0), math.rad(0)), 0.1)
  1336. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.925,0)*CFrame.Angles(math.rad(-35),math.rad(0),math.rad(-2)), 0.2)
  1337. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,0,-0.8)*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(2)), 0.2)
  1338. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5*size then
  1339. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5*size, -.1*size) * CFrame.Angles(math.rad((torso.Velocity*Vector3.new(1, 0, 1)).magnitude/35),0, 0), 0.4)
  1340. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0.05*math.cos(sine/16)+0.15,0.05*math.cos(sine/32),0.01*math.cos(sine/32)), 0.1)
  1341. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5*size,0.55*size-(0.1*size)*math.cos(sine/16)/3,-0.05-0.1*size*math.cos(sine/16))*CFrame.Angles(math.rad(-2+4*math.cos(sine/16)),math.rad(-5-5*math.cos(sine/16)),math.rad(-6+2*math.cos(sine/16))), 0.2)
  1342. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5*size,0.55*size-(0.1*size)*math.cos(sine/16)/3,-0.05-0.1*size*math.cos(sine/16))*CFrame.Angles(math.rad(-2+4*math.cos(sine/16)),math.rad(5+5*math.cos(sine/16)),math.rad(6-2*math.cos(sine/16))), 0.2)
  1343. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1*size-(0.1*size)*math.cos(sine/16)-hum.HipHeight, 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
  1344. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0,llegendPoint.Y-lleg.Position.Y,0)*CFrame.new(-0.5*size,0*size+(0.1*size)*math.cos(sine/16),0)*CFrame.Angles(math.rad(0+2*math.cos(sine/16)),math.rad(10+2*math.cos(sine/16)),math.rad(-5+1*math.cos(sine/32))), 0.2)
  1345. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0,rlegendPoint.Y-rleg.Position.Y,0)*CFrame.new(0.5*size,0*size+(0.1*size)*math.cos(sine/16),0)*CFrame.Angles(math.rad(0+2*math.cos(sine/16)),math.rad(-10-2*math.cos(sine/16)),math.rad(5+1*math.cos(sine/32))), 0.2)
  1346. end
  1347. end
  1348. if didjump == true and jumped == false and jumppower < 0 then
  1349. didjump = false
  1350. jumpimpact()
  1351. end
  1352.  
  1353. local chance = math.random(0,10000)/100
  1354. if chance <= 5 + (kills/2) then
  1355. if glitched == false then
  1356. backup = hed.Weld.C1
  1357. end
  1358. if torso:FindFirstChild("MusicRuin") then
  1359. equalizer.HighGain = 0
  1360. equalizer.MidGain = -20
  1361. equalizer.LowGain = -80
  1362. end
  1363. hed.Weld.C1 = glitchedC1
  1364. local glitch_color = Color3.fromHSV(0,0,0)
  1365. hed.Color = glitch_color
  1366. torso.Color = glitch_color
  1367. rarm.Color = glitch_color
  1368. larm.Color = glitch_color
  1369. rleg.Color = glitch_color
  1370. lleg.Color = glitch_color
  1371. shake(5)
  1372. glitched = true
  1373. hed.face.Texture = ""
  1374. sond:Resume()
  1375. else
  1376. if glitched == true then
  1377. glitched = false
  1378. hed.Weld.C1 = backup
  1379. glitchedC1 = backup*CFrame.Angles(math.rad(math.random(-40,40)),math.rad(math.random(-40,40)),math.rad(math.random(-20,20)))
  1380. end
  1381. if torso:FindFirstChild("MusicRuin") then
  1382. equalizer.HighGain = 0
  1383. equalizer.MidGain = 0
  1384. equalizer.LowGain = 0
  1385. end
  1386. hed.BrickColor = skin_color
  1387. torso.BrickColor = skin_color
  1388. rarm.BrickColor = skin_color
  1389. larm.BrickColor = skin_color
  1390. rleg.BrickColor = skin_color
  1391. lleg.BrickColor = skin_color
  1392. hed.face.Texture = "rbxassetid://900134257"
  1393. sond:Pause()
  1394. end
  1395.  
  1396. timeposition = soundz.TimePosition
  1397. sine = sine + change
  1398. hum.Health = math.huge
  1399. hum.MaxHealth = math.huge
  1400. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement