Advertisement
Cute_Sylveon

Untitled

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