Advertisement
SpiritualDonut

Untitled

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