Advertisement
GodOfDuckz

powerful chara

May 23rd, 2018
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.02 KB | None | 0 0
  1. print([[
  2. ___________________________________
  3. Edit by boss_kiddos
  4. wonder why?
  5. because i love to edit.
  6. (Name: PowerFul Chara)
  7. Update V2!
  8. ((Added Trail.))
  9. ___________________________________
  10. ]])
  11.  
  12. CV="White"
  13.  
  14. p = game.Players.LocalPlayer
  15. char = p.Character
  16. local txt = Instance.new("BillboardGui", char)
  17. txt.Adornee = char .Head
  18. txt.Name = "_status"
  19. txt.Size = UDim2.new(2, 0, 1.2, 0)
  20. txt.StudsOffset = Vector3.new(-9, 8, 0)
  21. local text = Instance.new("TextLabel", txt)
  22. text.Size = UDim2.new(10, 0, 7, 0)
  23. text.FontSize = "Size24"
  24. text.TextScaled = true
  25. text.TextTransparency = 0
  26. text.BackgroundTransparency = 1
  27. text.TextTransparency = 0
  28. text.TextStrokeTransparency = 0
  29. text.Font = "Arcade"
  30. text.TextStrokeColor3 = Color3.fromRGB(255,255,255)
  31.  
  32. v=Instance.new("Part")
  33. v.Name = "ColorBrick"
  34. v.Parent=p.Character
  35. v.FormFactor="Symmetric"
  36. v.Anchored=true
  37. v.CanCollide=false
  38. v.BottomSurface="Smooth"
  39. v.TopSurface="Smooth"
  40. v.Size=Vector3.new(10,5,3)
  41. v.Transparency=1
  42. v.CFrame=char.Torso.CFrame
  43. v.BrickColor=BrickColor.new(CV)
  44. v.Transparency=1
  45. text.TextColor3 = Color3.fromRGB(255, 0, 0)
  46. v.Shape="Block"
  47. text.Text = "Edit by boss_kiddos"
  48. coroutine.wrap(function()
  49. while wait() do
  50. wait(1)
  51. text.Text = "PowerFul Chara"
  52. end
  53. end)()
  54. p = game.Players.LocalPlayer
  55.  
  56.  
  57. local Player = game:GetService("Players").LocalPlayer
  58. repeat
  59. wait()
  60. until Player.Character
  61. local Character = Player.Character
  62. TrailSettings = {
  63. Lifetime = 2,
  64. Texture = "http://www.roblox.com/asset/?id=650148892",
  65. Color1 = ColorSequence.new(BrickColor.new("Really red").Color, BrickColor.new("Institutional white").Color),
  66. Color2 = ColorSequence.new(BrickColor.new("Dark grey").Color, BrickColor.new("Institutional white").Color),
  67. AllBody = true,
  68. UpperBodyOnly = false,
  69. LowerBodyOnly = false,
  70. Accessories = false,
  71. Extras = true,
  72. R15 = false,
  73. R15Parts = {"UpperTorso", "LowerTorso"}
  74. }
  75. local Trail
  76. function UpperBody()
  77. if TrailSettings.R15 == false then
  78. A0 = Instance.new("Attachment", Character.Torso)
  79. A1 = Instance.new("Attachment", Character.Head)
  80. A2 = Instance.new("Attachment", Character["Right Arm"])
  81. A3 = Instance.new("Attachment", Character["Left Arm"])
  82. Trail = Instance.new("Trail", Character)
  83. Trail.Attachment0 = A0
  84. Trail.Attachment1 = A1
  85. Trail.Texture = TrailSettings.Texture
  86. Trail.Color = TrailSettings.Color1
  87. Trail.Lifetime = TrailSettings.Lifetime
  88. local Trail2 = Trail:Clone()
  89. Trail2.Parent = Character
  90. Trail2.Attachment1 = A2
  91. local Trail3 = Trail:Clone()
  92. Trail3.Parent = Character
  93. Trail3.Attachment1 = A3
  94. local Trail6 = Trail:Clone()
  95. Trail6.Parent = Character
  96. Trail6.Attachment0 = A1
  97. Trail6.Attachment1 = A2
  98. local Trail7 = Trail:Clone()
  99. Trail7.Parent = Character
  100. Trail7.Attachment0 = A1
  101. Trail7.Attachment1 = A3
  102. else
  103. A0 = Instance.new("Attachment", Character[TrailSettings.R15Parts[1]])
  104. A0R = Instance.new("Attachment", Character[TrailSettings.R15Parts[2]])
  105. A1 = Instance.new("Attachment", Character.Head)
  106. A2 = Instance.new("Attachment", Character.RightUpperArm)
  107. A2R = Instance.new("Attachment", Character.RightLowerArm)
  108. A3 = Instance.new("Attachment", Character.LeftUpperArm)
  109. A3R = Instance.new("Attachment", Character.LeftLowerArm)
  110. Trail = Instance.new("Trail", Character)
  111. Trail.Attachment0 = A0
  112. Trail.Attachment1 = A1
  113. Trail.Texture = TrailSettings.Texture
  114. Trail.Color = TrailSettings.Color1
  115. Trail.Lifetime = TrailSettings.Lifetime
  116. local Trail2 = Trail:Clone()
  117. Trail2.Parent = Character
  118. Trail2.Attachment1 = A2
  119. local Trail3 = Trail:Clone()
  120. Trail3.Parent = Character
  121. Trail3.Attachment1 = A3
  122. local Trail6 = Trail:Clone()
  123. Trail6.Parent = Character
  124. Trail6.Attachment0 = A1
  125. Trail6.Attachment1 = A2
  126. local Trail7 = Trail:Clone()
  127. Trail7.Parent = Character
  128. Trail7.Attachment0 = A1
  129. Trail7.Attachment1 = A3
  130. local Trail1R = Trail:Clone()
  131. Trail1R.Parent = Character
  132. Trail1R.Attachment1 = A2R
  133. local Trail2R = Trail:Clone()
  134. Trail2R.Parent = Character
  135. Trail2R.Attachment1 = A3R
  136. local Trail6R = Trail:Clone()
  137. Trail6.Parent = Character
  138. Trail6.Attachment0 = A1
  139. Trail6.Attachment1 = A2R
  140. local Trail7R = Trail:Clone()
  141. Trail7.Parent = Character
  142. Trail7.Attachment0 = A1
  143. Trail7.Attachment1 = A3R
  144. end
  145. end
  146. function LowerBody()
  147. if TrailSettings.R15 == false then
  148. A4 = Instance.new("Attachment", Character["Right Leg"])
  149. A5 = Instance.new("Attachment", Character["Left Leg"])
  150. local Trail4 = Trail:Clone()
  151. Trail4.Parent = Character
  152. Trail4.Attachment1 = A4
  153. local Trail5 = Trail:Clone()
  154. Trail5.Parent = Character
  155. Trail5.Attachment1 = A5
  156. local Trail8 = Trail:Clone()
  157. Trail8.Parent = Character
  158. Trail8.Attachment0 = A2
  159. Trail8.Attachment1 = A4
  160. Trail8.Color = TrailSettings.Color2
  161. local Trail9 = Trail:Clone()
  162. Trail9.Parent = Character
  163. Trail9.Attachment0 = A3
  164. Trail9.Attachment1 = A5
  165. Trail9.Color = TrailSettings.Color2
  166. local FT = Trail:Clone()
  167. FT.Parent = Character
  168. FT.Attachment0 = A4
  169. FT.Attachment1 = A5
  170. FT.Color = TrailSettings.Color2
  171. else
  172. A4 = Instance.new("Attachment", Character.RightLowerLeg)
  173. A4R = Instance.new("Attachment", Character.RightUpperLeg)
  174. A5 = Instance.new("Attachment", Character.LeftLowerLeg)
  175. A5R = Instance.new("Attachment", Character.LeftUpperLeg)
  176. local Trail4 = Trail:Clone()
  177. Trail4.Parent = Character
  178. Trail4.Attachment1 = A4
  179. local Trail5 = Trail:Clone()
  180. Trail5.Parent = Character
  181. Trail5.Attachment1 = A5
  182. local Trail8 = Trail:Clone()
  183. Trail8.Parent = Character
  184. Trail8.Attachment0 = A2
  185. Trail8.Attachment1 = A4
  186. Trail8.Color = TrailSettings.Color2
  187. local Trail9 = Trail:Clone()
  188. Trail9.Parent = Character
  189. Trail9.Attachment0 = A3
  190. Trail9.Attachment1 = A5
  191. Trail9.Color = TrailSettings.Color2
  192. local FT = Trail:Clone()
  193. FT.Parent = Character
  194. FT.Attachment0 = A4
  195. FT.Attachment1 = A5
  196. FT.Color = TrailSettings.Color2
  197. local Trail3R = Trail:Clone()
  198. Trail3R.Parent = Character
  199. Trail3R.Attachment1 = A4R
  200. local Trail4R = Trail:Clone()
  201. Trail4R.Parent = Character
  202. Trail4R.Attachment1 = A5R
  203. local Trail8 = Trail:Clone()
  204. Trail8.Parent = Character
  205. Trail8.Attachment0 = A2R
  206. Trail8.Attachment1 = A4R
  207. Trail8.Color = TrailSettings.Color2
  208. local Trail9 = Trail:Clone()
  209. Trail9.Parent = Character
  210. Trail9.Attachment0 = A3R
  211. Trail9.Attachment1 = A5R
  212. Trail9.Color = TrailSettings.Color2
  213. local FT2R = Trail:Clone()
  214. FT2R.Parent = Character
  215. FT2R.Attachment0 = A4R
  216. FT2R.Attachment1 = A5R
  217. FT2R.Color = TrailSettings.Color2
  218. end
  219. end
  220. function AllBody()
  221. UpperBody()
  222. LowerBody()
  223. end
  224. if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  225. TrailSettings.UpperBodyOnly = false
  226. TrailSettings.LowerBodyOnly = false
  227. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
  228. TrailSettings.UpperBodyOnly = false
  229. TrailSettings.LowerBodyOnly = false
  230. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
  231. TrailSettings.UpperBodyOnly = false
  232. TrailSettings.LowerBodyOnly = false
  233. elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  234. TrailSettings.AllBody = true
  235. TrailSettings.UpperBodyOnly = false
  236. TrailSettings.LowerBodyOnly = false
  237. end
  238. if TrailSettings.UpperBodyOnly == true then
  239. UpperBody()
  240. print("Called Upper Body Trail")
  241. elseif TrailSettings.LowerBodyOnly == true then
  242. LowerBody()
  243. print("Called Lower Body Trail")
  244. elseif TrailSettings.AllBody == true then
  245. AllBody()
  246. print("Called Full Body Trail")
  247. end
  248. if TrailSettings.Accessories == true then
  249. for Index, Item in pairs(Character:GetChildren()) do
  250. if Item:IsA("Accessory") then
  251. local AA = Instance.new("Attachment", Item.Handle)
  252. local ATrail = Trail:Clone()
  253. ATrail.Parent = Character
  254. ATrail.Attachment1 = AA
  255. end
  256. end
  257. end
  258. if TrailSettings.Extras == true then
  259. spawn(function()
  260. repeat
  261. wait()
  262. until Trail
  263. local AB = Instance.new("Attachment", a)
  264. local ABT = Trail:Clone()
  265. ABT.Parent = Character
  266. ABT.Attachment0 = A4
  267. ABT.Attachment1 = AB
  268. ABT.Color = TrailSettings.Color2
  269. local ABT2 = Trail:Clone()
  270. ABT2.Parent = Character
  271. ABT2.Attachment0 = A5
  272. ABT2.Attachment1 = AB
  273. ABT2.Color = TrailSettings.Color2
  274. end)
  275. end
  276.  
  277.  
  278.  
  279. char = p.Character
  280. torso = char.Torso
  281. neck = char.Torso.Neck
  282.  
  283.  
  284. print("The User is: "..game:GetService("Players").LocalPlayer.Name.." :)")
  285.  
  286. local p = game:GetService("Players").LocalPlayer
  287. local char = p.Character
  288. local mouse = p:GetMouse()
  289. local larm = char:WaitForChild("Left Arm")
  290. local rarm = char:WaitForChild("Right Arm")
  291. local lleg = char:WaitForChild("Left Leg")
  292. local rleg = char:WaitForChild("Right Leg")
  293. local hed = char:WaitForChild("Head")
  294. local torso = char:WaitForChild("Torso")
  295. local root = char:WaitForChild("HumanoidRootPart")
  296. local hum = char:FindFirstChildOfClass("Humanoid")
  297. local debris = game:GetService("Debris")
  298. local input = game:GetService("UserInputService")
  299. local run = game:GetService("RunService")
  300. local rs = run.RenderStepped
  301. local wingpose = "Idle"
  302. local DebrisModel = Instance.new("Model",char)
  303. DebrisModel.Name = "Debris"
  304. repeat rs:wait() until p.CharacterAppearanceLoaded
  305.  
  306. noidle = false
  307. shift = false
  308. control = false
  309. no_nosound_able = false
  310. kills = 0
  311.  
  312. ----------------------------------------------------------------------------
  313.  
  314. function rswait(value)
  315. if value ~= nil and value ~= 0 then
  316. for i=1,value do
  317. rs:wait()
  318. end
  319. else
  320. rs:wait()
  321. end
  322. end
  323.  
  324. ----------------------------------------------------------------------------
  325.  
  326. local timeposition = 0
  327.  
  328. function music(id)
  329. if not torso:FindFirstChild("MusicRuin") then
  330. soundz = Instance.new("Sound",torso)
  331. end
  332. soundz.Volume = 10
  333. soundz.Name = "MusicRuin"
  334. soundz.Looped = true
  335. soundz.PlaybackSpeed = 1
  336. soundz.SoundId = "rbxassetid://"..id
  337. soundz:Stop()
  338. soundz:Play()
  339. if no_nosound_able == true then
  340. soundz.TimePosition = timeposition
  341. end
  342. end
  343.  
  344. ----------------------------------------------------------------------------
  345.  
  346. function lerp(a, b, t)
  347. return a + (b - a)*t
  348. end
  349.  
  350. ----------------------------------------------------------------------------
  351.  
  352. function Lerp(c1,c2,al)
  353. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  354. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  355. for i,v in pairs(com1) do
  356. com1[i] = v+(com2[i]-v)*al
  357. end
  358. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  359. end
  360.  
  361. ----------------------------------------------------------------------------
  362.  
  363. function slerp(a, b, t)
  364. dot = a:Dot(b)
  365. if dot > 0.99999 or dot < -0.99999 then
  366. return t <= 0.5 and a or b
  367. else
  368. r = math.acos(dot)
  369. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  370. end
  371. end
  372.  
  373. ----------------------------------------------------------------------------
  374.  
  375. function clerp(c1,c2,al)
  376.  
  377. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  378.  
  379. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  380.  
  381. for i,v in pairs(com1) do
  382.  
  383. com1[i] = lerp(v,com2[i],al)
  384.  
  385. end
  386.  
  387. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  388.  
  389. end
  390.  
  391. ----------------------------------------------------------------------------
  392.  
  393. function findAllNearestTorso(pos,dist)
  394. local list = workspace:children()
  395. local torso = {}
  396. local temp = nil
  397. local human = nil
  398. local temp2 = nil
  399. for x = 1, #list do
  400. temp2 = list[x]
  401. if (temp2.className == "Model") and (temp2 ~= char) then
  402. temp = temp2:findFirstChild("Torso")
  403. human = temp2:findFirstChildOfClass("Humanoid")
  404. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  405. if (temp.Position - pos).magnitude < dist then
  406. table.insert(torso,temp)
  407. dist = (temp.Position - pos).magnitude
  408. end
  409. end
  410. end
  411. end
  412. return torso
  413. end
  414.  
  415. ----------------------------------------------------------------------------
  416.  
  417. function checkIfNotPlayer(model)
  418. 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
  419. return true
  420. else
  421. return false
  422. end
  423. end
  424.  
  425. ----------------------------------------------------------------------------
  426.  
  427. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  428.  
  429. local wld = Instance.new("Weld", wp1)
  430.  
  431. wld.Part0 = wp0
  432.  
  433. wld.Part1 = wp1
  434.  
  435. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  436.  
  437. return wld
  438.  
  439. end
  440.  
  441. function weld(model)
  442. local parts,last = {}
  443. local function scan(parent)
  444. for _,v in pairs(parent:GetChildren()) do
  445. if (v:IsA("BasePart")) then
  446. if (last) then
  447. local w = Instance.new("Weld")
  448. w.Name = ("%s_Weld"):format(v.Name)
  449. w.Part0,w.Part1 = last,v
  450. w.C0 = last.CFrame:inverse()
  451. w.C1 = v.CFrame:inverse()
  452. w.Parent = last
  453. end
  454. last = v
  455. table.insert(parts,v)
  456. end
  457. scan(v)
  458. end
  459. end
  460. scan(model)
  461. for _,v in pairs(parts) do
  462. v.Anchored = false
  463. v.Locked = true
  464. v.Anchored = false
  465. v.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  466. v.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  467. v.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  468. v.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  469. v.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  470. v.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  471. v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0)
  472. end
  473. end
  474.  
  475. ----------------------------------------------------------------------------
  476.  
  477. function calculate(part,asd)
  478. local Head = hed
  479. local RightShoulder = asd
  480. local RightArm = part
  481. local MousePosition = mouse.Hit.p
  482. local ToMouse = (MousePosition - Head.Position).unit
  483. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  484. 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)))
  485. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  486. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  487. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  488. if tostring(LateralAngle) == "-1.#IND" then
  489. LateralAngle = 0
  490. end
  491. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  492. if LateralAngle > (math.pi / 2) then
  493. LateralAngle = (math.pi / 2)
  494. local Torso = root
  495. local Point = Torso.CFrame:vectorToObjectSpace(mouse.Hit.p-Torso.CFrame.p)
  496. if Point.Z > 0 then
  497. if Point.X > -0 and RightArm == rarm then
  498. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.Hit.X,Torso.Position.Y,mouse.Hit.Z))*CFrame.Angles(0,math.rad(110),0)
  499. elseif Point.X < 0 and RightArm == rarm then
  500. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.Hit.X,Torso.Position.Y,mouse.Hit.Z))*CFrame.Angles(0,math.rad(-110),0)
  501. end
  502. end
  503. end
  504. if Cross.Y < 0 then
  505. LateralAngle = -LateralAngle
  506. end
  507. return(CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2))
  508. end
  509.  
  510. ----------------------------------------------------------------------------
  511.  
  512. function sound(id,position,vol,pitch,start,finish)
  513. coroutine.resume(coroutine.create(function()
  514.  
  515. local part = Instance.new("Part",workspace)
  516. part.Position = position
  517. part.Size = Vector3.new(0,0,0)
  518. part.CanCollide = false
  519. part.Transparency = 1
  520.  
  521. local sound = Instance.new("Sound",part)
  522.  
  523. sound.SoundId = "rbxassetid://"..id
  524.  
  525. repeat rs:wait() until sound.IsLoaded
  526.  
  527. if vol ~= nil then
  528. sound.Volume = vol
  529. end
  530.  
  531. if pitch ~= nil then
  532. sound.PlaybackSpeed = pitch
  533. end
  534.  
  535. if start ~= nil then
  536. sound.TimePosition = start
  537. end
  538.  
  539. if finish ~= nil then
  540. debris:AddItem(part,finish-start)
  541. else
  542. debris:AddItem(part,sound.TimeLength)
  543. end
  544.  
  545. sound:Play()
  546.  
  547. return sound
  548.  
  549. end))
  550. end
  551.  
  552. ----------------------------------------------------------------------------
  553.  
  554. function computeDirection(vec)
  555. local lenSquared = vec.magnitude * vec.magnitude
  556. local invSqrt = 1 / math.sqrt(lenSquared)
  557. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  558. end
  559.  
  560. ----------------------------------------------------------------------------
  561.  
  562. local shaking = 0
  563. function shake(num) if num > shaking then shaking = num end end
  564. game:GetService("RunService").RenderStepped:connect(function()
  565. hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))*(shaking/100)
  566. if shaking > 0 then shaking = shaking - 1 else shaking = 0 end
  567. end)
  568.  
  569. plr = game:GetService("Players").LocalPlayer
  570. DebrisModel = Instance.new("Model",plr.Character)
  571. DebrisModel.Name = "DebrisModel"
  572.  
  573. function Effect(mesh,size,transparency,material,color,position,rotation,sizechange,rotationchange,transparencychange,acceleration)
  574.  
  575. local part = Instance.new("Part",DebrisModel)
  576. part.Anchored = true
  577. part.CanCollide = false
  578. part.Size = Vector3.new(1,1,1)
  579. part.Transparency = transparency
  580. part.Material = material
  581. part.Color = color
  582. part.CFrame = CFrame.new(position)*CFrame.Angles(math.rad(rotation.X),math.rad(rotation.Y),math.rad(rotation.Z))
  583.  
  584. local partmesh = Instance.new("SpecialMesh",part)
  585. if tonumber(mesh) == nil then partmesh.MeshType = mesh else partmesh.MeshId = "rbxassetid://"..mesh end
  586. partmesh.Scale = size
  587.  
  588. local pvalue = Instance.new("Vector3Value",part)
  589. pvalue.Name = "Position"
  590. pvalue.Value = part.Position
  591.  
  592. local svalue = Instance.new("Vector3Value",part)
  593. svalue.Name = "Size"
  594. svalue.Value = sizechange
  595.  
  596. local rvalue = Instance.new("Vector3Value",part)
  597. rvalue.Name = "Rotation"
  598. rvalue.Value = rotationchange
  599.  
  600. local tvalue = Instance.new("NumberValue",part)
  601. tvalue.Name = "Transparency"
  602. tvalue.Value = transparencychange
  603.  
  604. local avalue = Instance.new("NumberValue",part)
  605. avalue.Name = "Acceleration"
  606. avalue.Value = acceleration
  607.  
  608. part.Name = "EFFECT"
  609.  
  610. return part
  611.  
  612. end
  613.  
  614. game:GetService("RunService").RenderStepped:connect(function()
  615.  
  616.  
  617. if not plr.Character:FindFirstChild("DebrisModel") then
  618. DebrisModel = Instance.new("Model",plr.Character)
  619. DebrisModel.Name = "DebrisModel"
  620. end
  621.  
  622. for i,v in pairs(DebrisModel:GetChildren()) do
  623. if v:IsA("BasePart") and v.Name == "EFFECT" then
  624. local pvalue = v:FindFirstChild("Position").Value
  625. local svalue = v:FindFirstChild("Size").Value
  626. local rvalue = v:FindFirstChild("Rotation").Value
  627. local tvalue = v:FindFirstChild("Transparency").Value
  628. local avalue = v:FindFirstChild("Acceleration").Value
  629. local mesh = v:FindFirstChild("Mesh")
  630. mesh.Scale = mesh.Scale + svalue
  631. v:FindFirstChild("Size").Value = v:FindFirstChild("Size").Value + (Vector3.new(1,1,1)*avalue)
  632. v.Transparency = v.Transparency + tvalue
  633. v.CFrame = v.CFrame*CFrame.Angles(math.rad(rvalue.X),math.rad(rvalue.Y),math.rad(rvalue.Z))
  634. if v.Transparency >= 1 or mesh.Scale.X < 0 or mesh.Scale.Y < 0 or mesh.Scale.Z < 0 then
  635. v:Destroy()
  636. end
  637. end
  638. end
  639.  
  640.  
  641. end)
  642.  
  643. ----------------------------------------------------------------------------
  644. skin_color = BrickColor.new("Light orange")
  645. p:ClearCharacterAppearance()
  646. --hed:WaitForChild("face"):Destroy()
  647.  
  648. ----------------------------------------------------------------------------
  649. music(943961217)
  650. equalizer = Instance.new("EqualizerSoundEffect",torso:FindFirstChild("MusicRuin"))
  651.  
  652. local size = 1
  653.  
  654. newWeld(torso, larm, -1.5*size, 0.5*size, 0)
  655. larm.Weld.C1 = CFrame.new(0, 0.5*size, 0)
  656. newWeld(torso, rarm, 1.5*size, 0.5*size, 0)
  657. rarm.Weld.C1 = CFrame.new(0, 0.5*size, 0)
  658. newWeld(torso, hed, 0, 1.5*size, 0)
  659. newWeld(torso, lleg, -0.5*size, -1, 0)
  660. lleg.Weld.C1 = CFrame.new(0, 1*size, 0)
  661. newWeld(torso, rleg, 0.5*size, -1*size, 0)
  662. rleg.Weld.C1 = CFrame.new(0, 1*size, 0)
  663. newWeld(root, torso, 0, -1*size, 0)
  664. torso.Weld.C1 = CFrame.new(0, -1*size, 0)
  665.  
  666. emitters={}
  667. for i,v in pairs(char:GetChildren()) do
  668. if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
  669. local emitter = Instance.new("ParticleEmitter",v)
  670. emitter.LightEmission = 1
  671. emitter.Transparency = NumberSequence.new(0.95,1)
  672. emitter.Size = NumberSequence.new(2,5)
  673. emitter.SpreadAngle = Vector2.new(360,360)
  674. emitter.Speed = NumberRange.new(1)
  675. emitter.Lifetime = NumberRange.new(0.75)
  676. emitter.Texture = "rbxassetid://650148888"
  677. emitter.Rate = 20
  678. emitter.Color = ColorSequence.new(Color3.new(133,0,0))
  679. emitter.LockedToPart = true
  680. table.insert(emitters,emitter)
  681. end
  682. end
  683. ----------------------------------------------------------------------------------------
  684. hair = Instance.new("Part",char)
  685. hair.Color = Color3.fromRGB(255,0,0)
  686. hair.CanCollide = false
  687. meshhair = Instance.new("SpecialMesh",hair)
  688. meshhair.MeshId = "rbxassetid://431809364"
  689. meshhair.Scale = Vector3.new(1,1,1)*1.1
  690. newWeld(hed,hair,0,0.22,0)
  691.  
  692. Model0 = Instance.new("Model")
  693. Part1 = Instance.new("Part")
  694. Part2 = Instance.new("Part")
  695. Part3 = Instance.new("Part")
  696. Part4 = Instance.new("Part")
  697. Part5 = Instance.new("Part")
  698. Part6 = Instance.new("Part")
  699. Part7 = Instance.new("Part")
  700. Model0.Parent = char
  701. Part1.Parent = Model0
  702. Part1.Anchored = true
  703. Part1.CanCollide = false
  704. Part1.Size = Vector3.new(2.02000022, 0.370000094, 1.01999998)
  705. Part1.CFrame = CFrame.new(87.5, 17.1749992, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  706. Part1.BottomSurface = Enum.SurfaceType.Smooth
  707. Part1.TopSurface = Enum.SurfaceType.Smooth
  708. Part1.Position = Vector3.new(87.5, 17.1749992, 83.5)
  709. Part1.Color = Color3.new(0, 1, 0)
  710. Part2.Parent = Model0
  711. Part2.Anchored = true
  712. Part2.CanCollide = false
  713. Part2.Size = Vector3.new(0.920000076, 0.110000037, 0.579999983)
  714. Part2.CFrame = CFrame.new(88.0500031, 18.9549999, 83.2799988, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  715. Part2.BottomSurface = Enum.SurfaceType.Smooth
  716. Part2.TopSurface = Enum.SurfaceType.Smooth
  717. Part2.Position = Vector3.new(88.0500031, 18.9549999, 83.2799988)
  718. Part2.Color = Color3.new(0, 1, 0)
  719. Part3.Parent = Model0
  720. Part3.Anchored = true
  721. Part3.CanCollide = false
  722. Part3.Size = Vector3.new(2.02000022, 0.590000093, 1.01999998)
  723. Part3.CFrame = CFrame.new(87.5, 17.6550007, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  724. Part3.BottomSurface = Enum.SurfaceType.Smooth
  725. Part3.TopSurface = Enum.SurfaceType.Smooth
  726. Part3.Position = Vector3.new(87.5, 17.6550007, 83.5)
  727. Part3.Color = Color3.new(0.992157, 0.917647, 0.552941)
  728. Part4.Parent = Model0
  729. Part4.Anchored = true
  730. Part4.CanCollide = false
  731. Part4.Size = Vector3.new(2.02000022, 0.110000037, 0.439999968)
  732. Part4.CFrame = CFrame.new(87.5, 18.9549999, 83.7900009, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  733. Part4.BottomSurface = Enum.SurfaceType.Smooth
  734. Part4.TopSurface = Enum.SurfaceType.Smooth
  735. Part4.Position = Vector3.new(87.5, 18.9549999, 83.7900009)
  736. Part4.Color = Color3.new(0, 1, 0)
  737. Part5.Parent = Model0
  738. Part5.Anchored = true
  739. Part5.CanCollide = false
  740. Part5.Size = Vector3.new(0.920000076, 0.110000037, 0.579999983)
  741. Part5.CFrame = CFrame.new(86.9499969, 18.9549999, 83.2799988, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  742. Part5.BottomSurface = Enum.SurfaceType.Smooth
  743. Part5.TopSurface = Enum.SurfaceType.Smooth
  744. Part5.Position = Vector3.new(86.9499969, 18.9549999, 83.2799988)
  745. Part5.Color = Color3.new(0, 1, 0)
  746. Part6.Name = "asd"
  747. Part6.Parent = Model0
  748. Part6.Transparency = 1
  749. Part6.Anchored = true
  750. Part6.CanCollide = false
  751. Part6.Size = Vector3.new(2, 2, 1)
  752. Part6.CFrame = CFrame.new(87.5, 18, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  753. Part6.BottomSurface = Enum.SurfaceType.Smooth
  754. Part6.TopSurface = Enum.SurfaceType.Smooth
  755. Part6.Position = Vector3.new(87.5, 18, 83.5)
  756. Part7.Parent = Model0
  757. Part7.Anchored = true
  758. Part7.CanCollide = false
  759. Part7.Size = Vector3.new(2.02000022, 0.949999988, 1.01999998)
  760. Part7.CFrame = CFrame.new(87.5, 18.4249992, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  761. Part7.BottomSurface = Enum.SurfaceType.Smooth
  762. Part7.TopSurface = Enum.SurfaceType.Smooth
  763. Part7.Position = Vector3.new(87.5, 18.4249992, 83.5)
  764. Part7.Color = Color3.new(0, 1, 0)
  765. weld(Model0)
  766. newWeld(torso,Model0.asd)
  767.  
  768. Model0 = Instance.new("Model")
  769. Part1 = Instance.new("Part")
  770. Part2 = Instance.new("Part")
  771. Model0.Parent = char
  772. Part1.Parent = Model0
  773. Part1.Anchored = true
  774. Part1.CanCollide = false
  775. Part1.Size = Vector3.new(1.01999998, 1.91000009, 1.01999998)
  776. Part1.CFrame = CFrame.new(49.5, 18.0999985, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  777. Part1.BottomSurface = Enum.SurfaceType.Smooth
  778. Part1.TopSurface = Enum.SurfaceType.Smooth
  779. Part1.Position = Vector3.new(49.5, 18.0999985, 83.5)
  780. Part1.Color = Color3.new(0, 1, 0)
  781. Part2.Name = "asd"
  782. Part2.Parent = Model0
  783. Part2.Transparency = 1
  784. Part2.Anchored = true
  785. Part2.CanCollide = false
  786. Part2.Size = Vector3.new(1, 2, 1)
  787. Part2.CFrame = CFrame.new(49.5, 18.0450001, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  788. Part2.BottomSurface = Enum.SurfaceType.Smooth
  789. Part2.TopSurface = Enum.SurfaceType.Smooth
  790. Part2.Position = Vector3.new(49.5, 18.0450001, 83.5)
  791. weld(Model0)
  792. Model1=Model0:Clone()
  793. Model1.Parent=char
  794. newWeld(larm,Model0.asd,0,0,0)
  795. newWeld(rarm,Model1.asd,0,0,0)
  796.  
  797. Model0 = Instance.new("Model")
  798. Part1 = Instance.new("Part")
  799. Part2 = Instance.new("Part")
  800. Part3 = Instance.new("Part")
  801. Model0.Parent = char
  802. Part1.Parent = Model0
  803. Part1.Anchored = true
  804. Part1.CanCollide = false
  805. Part1.Size = Vector3.new(1.03999996, 0.27000007, 1.03999996)
  806. Part1.CFrame = CFrame.new(28, 17.125, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  807. Part1.BottomSurface = Enum.SurfaceType.Smooth
  808. Part1.TopSurface = Enum.SurfaceType.Smooth
  809. Part1.Position = Vector3.new(28, 17.125, 83.5)
  810. Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  811. Part2.Parent = Model0
  812. Part2.Anchored = true
  813. Part2.CanCollide = false
  814. Part2.Size = Vector3.new(1.01999998, 1.91000009, 1.01999998)
  815. Part2.CFrame = CFrame.new(28, 18.0550003, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  816. Part2.BottomSurface = Enum.SurfaceType.Smooth
  817. Part2.TopSurface = Enum.SurfaceType.Smooth
  818. Part2.Position = Vector3.new(28, 18.0550003, 83.5)
  819. Part2.Color = Color3.new(0.411765, 0.25098, 0.156863)
  820. Part3.Name = "asd"
  821. Part3.Parent = Model0
  822. Part3.Transparency = 1
  823. Part3.Anchored = true
  824. Part3.CanCollide = false
  825. Part3.Size = Vector3.new(1, 2, 1)
  826. Part3.CFrame = CFrame.new(28, 18, 83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  827. Part3.BottomSurface = Enum.SurfaceType.Smooth
  828. Part3.TopSurface = Enum.SurfaceType.Smooth
  829. Part3.Position = Vector3.new(28, 18, 83.5)
  830. weld(Model0)
  831. Model1=Model0:Clone()
  832. Model1.Parent=char
  833. newWeld(lleg,Model0.asd,0,0,0)
  834. newWeld(rleg,Model1.asd,0,0,0)
  835.  
  836. ----------------------------------------------------------------------------
  837. HitBox = Instance.new("Part",DebrisModel)
  838. HitBox.Size = Vector3.new(0.5,0.5,2.45)
  839. HitBox.CanCollide = false
  840. HitBox:BreakJoints()
  841. HitBox.Transparency = 1
  842. newWeld(rarm,HitBox,0,-0.95,-1.9)
  843. atch0 = Instance.new("Attachment",HitBox)
  844. atch0.Position = Vector3.new(0,0,HitBox.Size.Z/2)
  845. atch1 = Instance.new("Attachment",HitBox)
  846. atch1.Position = Vector3.new(0,0,-HitBox.Size.Z/2)
  847. trail = Instance.new("Trail",HitBox)
  848. trail.Attachment0 = atch0
  849. trail.Attachment1 = atch1
  850. trail.Lifetime = 0.2
  851. trail.Enabled = true
  852. trail.LightEmission = 1
  853. trail.LightInfluence = 0
  854. trail.Color = ColorSequence.new(Color3.new(1,0,0))
  855. trail.Transparency = NumberSequence.new(0,1)
  856.  
  857. function ded(model)
  858. kills = kills + 1
  859. model.Archivable = true
  860. model.Head:ClearAllChildren()
  861. local clone = model:Clone()
  862. clone.Parent = workspace
  863. clone.Name = "DED"
  864. model:Destroy()
  865. clone:FindFirstChildOfClass("Humanoid"):Destroy()
  866. local emitters={}
  867. for i,v in pairs(clone:GetChildren()) do
  868. if v:IsA("Accoutrement") then
  869. v:Destroy()
  870. end
  871. if v:IsA("Part") then
  872. v.Anchored = true
  873. v.CanCollide = false
  874. v.Transparency = 1
  875. local emitter = Instance.new("ParticleEmitter",v)
  876. emitter.LightEmission = 1
  877. emitter.Transparency = NumberSequence.new(0,1)
  878. emitter.Size = NumberSequence.new(0,0.8)
  879. emitter.SpreadAngle = Vector2.new(360,360)
  880. emitter.Speed = NumberRange.new(0.5)
  881. emitter.Lifetime = NumberRange.new(0.75)
  882. emitter.Texture = "rbxassetid://650148888"
  883. emitter.Rate = 20
  884. emitter.Color = ColorSequence.new(Color3.new(1,1,1))
  885. emitter.LockedToPart = false
  886. table.insert(emitters,emitter)
  887. end
  888. end
  889. delay(1, function()
  890. sound(427025525,clone.Head.Position,10,1)
  891. for i,v in pairs(emitters) do
  892. v.Speed = NumberRange.new(4)
  893. v.Acceleration = Vector3.new(0,10,0)
  894. delay(0.5, function()
  895. v.Enabled = false
  896. debris:AddItem(clone,0.75)
  897. end)
  898. end
  899. end)
  900. end
  901.  
  902. local alreadytouched = {}
  903. HitBox.Touched:connect(function(ht)
  904. coroutine.resume(coroutine.create(function()
  905. local hit = ht.Parent
  906. if mode == "determination" and hit.Name ~= "DED" and attacking == true and checkIfNotPlayer(ht) and hit:FindFirstChildOfClass("Humanoid") and hit:FindFirstChildOfClass("Humanoid").Health > 0 then
  907. local hurt = true
  908. for i,v in pairs(alreadytouched) do if v == hit then hurt = false end end
  909. if hurt == true then
  910. table.insert(alreadytouched,hit)
  911. sound(388826051,ht.Position,10,1)
  912. ded(hit)
  913. end
  914. end
  915. end))
  916. end)
  917.  
  918. function createknife()
  919. Model0 = Instance.new("Model")
  920. Part1 = Instance.new("Part")
  921. BlockMesh2 = Instance.new("BlockMesh")
  922. Part3 = Instance.new("Part")
  923. BlockMesh4 = Instance.new("BlockMesh")
  924. Part5 = Instance.new("Part")
  925. Part6 = Instance.new("Part")
  926. BlockMesh7 = Instance.new("BlockMesh")
  927. Part8 = Instance.new("Part")
  928. Part9 = Instance.new("Part")
  929. Part10 = Instance.new("Part")
  930. SpecialMesh11 = Instance.new("SpecialMesh")
  931. Part12 = Instance.new("Part")
  932. Model0.Parent = char
  933. Part1.Parent = Model0
  934. Part1.Anchored = true
  935. Part1.CanCollide = false
  936. Part1.Size = Vector3.new(0.280000031, 0.0500000007, 0.0500000007)
  937. Part1.CFrame = CFrame.new(49.5, 20.7350044, 52.3199997, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  938. Part1.BottomSurface = Enum.SurfaceType.Smooth
  939. Part1.TopSurface = Enum.SurfaceType.Smooth
  940. Part1.Position = Vector3.new(49.5, 20.7350044, 52.3199997)
  941. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  942. BlockMesh2.Parent = Part1
  943. BlockMesh2.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  944. BlockMesh2.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  945. Part3.Parent = Model0
  946. Part3.Anchored = true
  947. Part3.CanCollide = false
  948. Part3.Size = Vector3.new(0.220000014, 0.0500000007, 0.0500000007)
  949. Part3.CFrame = CFrame.new(49.5, 20.6250038, 53.6199989, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  950. Part3.BottomSurface = Enum.SurfaceType.Smooth
  951. Part3.TopSurface = Enum.SurfaceType.Smooth
  952. Part3.Position = Vector3.new(49.5, 20.6250038, 53.6199989)
  953. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  954. BlockMesh4.Parent = Part3
  955. BlockMesh4.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  956. BlockMesh4.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  957. Part5.Parent = Model0
  958. Part5.Anchored = true
  959. Part5.CanCollide = false
  960. Part5.Size = Vector3.new(0.159999996, 0.400000006, 1.70000005)
  961. Part5.CFrame = CFrame.new(49.5, 20.5750046, 51.4300003, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  962. Part5.BottomSurface = Enum.SurfaceType.Smooth
  963. Part5.TopSurface = Enum.SurfaceType.Smooth
  964. Part5.Position = Vector3.new(49.5, 20.5750046, 51.4300003)
  965. Part5.Color = Color3.new(1, 0, 0)
  966. Part6.Parent = Model0
  967. Part6.Anchored = true
  968. Part6.CanCollide = false
  969. Part6.Size = Vector3.new(0.280000031, 0.0500000007, 0.0500000007)
  970. Part6.CFrame = CFrame.new(49.5, 20.4150047, 52.3199997, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  971. Part6.BottomSurface = Enum.SurfaceType.Smooth
  972. Part6.TopSurface = Enum.SurfaceType.Smooth
  973. Part6.Position = Vector3.new(49.5, 20.4150047, 52.3199997)
  974. Part6.Color = Color3.new(0.972549, 0.972549, 0.972549)
  975. BlockMesh7.Parent = Part6
  976. BlockMesh7.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  977. BlockMesh7.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  978. Part8.Name = "asd"
  979. Part8.Parent = Model0
  980. Part8.Anchored = true
  981. Part8.CanCollide = false
  982. Part8.Size = Vector3.new(0.200000003, 0.200000003, 1.30000007)
  983. Part8.CFrame = CFrame.new(49.5, 20.6250038, 52.9300003, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  984. Part8.BottomSurface = Enum.SurfaceType.Smooth
  985. Part8.TopSurface = Enum.SurfaceType.Smooth
  986. Part8.Position = Vector3.new(49.5, 20.6250038, 52.9300003)
  987. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  988. Part9.Parent = Model0
  989. Part9.Anchored = true
  990. Part9.CanCollide = false
  991. Part9.Size = Vector3.new(0.200000003, 0.25999999, 0.100000039)
  992. Part9.CFrame = CFrame.new(49.5, 20.595005, 53.6199989, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  993. Part9.BottomSurface = Enum.SurfaceType.Smooth
  994. Part9.TopSurface = Enum.SurfaceType.Smooth
  995. Part9.Position = Vector3.new(49.5, 20.595005, 53.6199989)
  996. Part9.Color = Color3.new(0.105882, 0.164706, 0.207843)
  997. Part10.Parent = Model0
  998. Part10.Rotation = Vector3.new(0, 0, 180)
  999. Part10.Anchored = true
  1000. Part10.CanCollide = false
  1001. Part10.Size = Vector3.new(0.159999996, 0.400000006, 0.800000012)
  1002. 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)
  1003. Part10.BottomSurface = Enum.SurfaceType.Smooth
  1004. Part10.TopSurface = Enum.SurfaceType.Smooth
  1005. Part10.Position = Vector3.new(49.5, 20.5750046, 50.1800003)
  1006. Part10.Color = Color3.new(1, 0, 0)
  1007. SpecialMesh11.Parent = Part10
  1008. SpecialMesh11.MeshType = Enum.MeshType.Wedge
  1009. Part12.Parent = Model0
  1010. Part12.Anchored = true
  1011. Part12.CanCollide = false
  1012. Part12.Size = Vector3.new(0.25999999, 0.460000008, 0.100000039)
  1013. Part12.CFrame = CFrame.new(49.5, 20.5750046, 52.3199997, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  1014. Part12.BottomSurface = Enum.SurfaceType.Smooth
  1015. Part12.TopSurface = Enum.SurfaceType.Smooth
  1016. Part12.Position = Vector3.new(49.5, 20.5750046, 52.3199997)
  1017. Part12.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1018. weld(Model0)
  1019. for i,v in pairs(Model0:GetChildren()) do
  1020. if v:IsA("Part") and v.Color == Color3.new(0,255,0) then
  1021. v.Material = Enum.Material.DiamondPlate
  1022. end
  1023. end
  1024. return Model0
  1025. end
  1026.  
  1027. knife = createknife()
  1028. newWeld(rarm,knife.asd,0,-1,0)
  1029.  
  1030. ----------------------------------------------------------------------------------------
  1031.  
  1032. function createpistol()
  1033. Model0 = Instance.new("Model")
  1034. Part1 = Instance.new("Part")
  1035. BlockMesh2 = Instance.new("BlockMesh")
  1036. Part3 = Instance.new("Part")
  1037. Part4 = Instance.new("Part")
  1038. Part5 = Instance.new("Part")
  1039. Part6 = Instance.new("Part")
  1040. Part7 = Instance.new("Part")
  1041. Part8 = Instance.new("Part")
  1042. Part9 = Instance.new("Part")
  1043. Part10 = Instance.new("Part")
  1044. Part11 = Instance.new("Part")
  1045. Part12 = Instance.new("Part")
  1046. Part13 = Instance.new("Part")
  1047. Part14 = Instance.new("Part")
  1048. Part15 = Instance.new("Part")
  1049. Part16 = Instance.new("Part")
  1050. Part17 = Instance.new("Part")
  1051. Part18 = Instance.new("Part")
  1052. Part19 = Instance.new("Part")
  1053. Model0.Name = "Pistol"
  1054. Model0.Parent = char
  1055. Part1.Name = "ShootPos"
  1056. Part1.Parent = Model0
  1057. Part1.BrickColor = BrickColor.new("Gold")
  1058. Part1.Anchored = true
  1059. Part1.CanCollide = false
  1060. Part1.Size = Vector3.new(0.100000001, 0.100000001, 0.0500000007)
  1061. Part1.CFrame = CFrame.new(-90, 10.5000019, 13.8957434, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1062. Part1.BottomSurface = Enum.SurfaceType.Smooth
  1063. Part1.TopSurface = Enum.SurfaceType.Smooth
  1064. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1065. Part1.Position = Vector3.new(-90, 10.5000019, 13.8957434)
  1066. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1067. BlockMesh2.Parent = Part1
  1068. BlockMesh2.Scale = Vector3.new(1, 1, 0.199999988)
  1069. BlockMesh2.Scale = Vector3.new(1, 1, 0.199999988)
  1070. Part3.Parent = Model0
  1071. Part3.BrickColor = BrickColor.new("White")
  1072. Part3.Anchored = true
  1073. Part3.CanCollide = false
  1074. Part3.Size = Vector3.new(0.100000001, 0.550000012, 0.0500000007)
  1075. Part3.CFrame = CFrame.new(-90.0999985, 10.3750019, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1076. Part3.BottomSurface = Enum.SurfaceType.Smooth
  1077. Part3.TopSurface = Enum.SurfaceType.Smooth
  1078. Part3.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1079. Part3.Position = Vector3.new(-90.0999985, 10.3750019, 13.8757429)
  1080. Part3.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1081. Part4.Parent = Model0
  1082. Part4.BrickColor = BrickColor.new("White")
  1083. Part4.Anchored = true
  1084. Part4.CanCollide = false
  1085. Part4.Size = Vector3.new(0.300000012, 0.349999994, 0.0500000007)
  1086. Part4.CFrame = CFrame.new(-90, 10.2750025, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1087. Part4.BottomSurface = Enum.SurfaceType.Smooth
  1088. Part4.TopSurface = Enum.SurfaceType.Smooth
  1089. Part4.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1090. Part4.Position = Vector3.new(-90, 10.2750025, 13.8757429)
  1091. Part4.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1092. Part5.Parent = Model0
  1093. Part5.BrickColor = BrickColor.new("White")
  1094. Part5.Rotation = Vector3.new(15, 0, 0)
  1095. Part5.Anchored = true
  1096. Part5.CanCollide = false
  1097. Part5.Size = Vector3.new(0.200000003, 0.25, 0.150000006)
  1098. Part5.CFrame = CFrame.new(-90, 10.4379425, 15.8274469, 1, 0, 0, 0, 0.965925753, -0.258819252, 0, 0.258819252, 0.965925753)
  1099. Part5.BottomSurface = Enum.SurfaceType.Smooth
  1100. Part5.TopSurface = Enum.SurfaceType.Smooth
  1101. Part5.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1102. Part5.Position = Vector3.new(-90, 10.4379425, 15.8274469)
  1103. Part5.Orientation = Vector3.new(15, 0, 0)
  1104. Part5.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1105. Part6.Parent = Model0
  1106. Part6.BrickColor = BrickColor.new("White")
  1107. Part6.Anchored = true
  1108. Part6.CanCollide = false
  1109. Part6.Size = Vector3.new(0.300000012, 0.550000012, 1.89999998)
  1110. Part6.CFrame = CFrame.new(-90, 10.3750019, 14.8507433, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1111. Part6.BottomSurface = Enum.SurfaceType.Smooth
  1112. Part6.TopSurface = Enum.SurfaceType.Smooth
  1113. Part6.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1114. Part6.Position = Vector3.new(-90, 10.3750019, 14.8507433)
  1115. Part6.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1116. Part7.Parent = Model0
  1117. Part7.BrickColor = BrickColor.new("White")
  1118. Part7.Anchored = true
  1119. Part7.CanCollide = false
  1120. Part7.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
  1121. Part7.CFrame = CFrame.new(-90.0999985, 10.6750021, 15.6257429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1122. Part7.BottomSurface = Enum.SurfaceType.Smooth
  1123. Part7.TopSurface = Enum.SurfaceType.Smooth
  1124. Part7.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1125. Part7.Position = Vector3.new(-90.0999985, 10.6750021, 15.6257429)
  1126. Part7.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1127. Part8.Parent = Model0
  1128. Part8.BrickColor = BrickColor.new("Black")
  1129. Part8.Rotation = Vector3.new(-15, 0, 0)
  1130. Part8.Anchored = true
  1131. Part8.CanCollide = false
  1132. Part8.Size = Vector3.new(0.220000014, 0.5, 0.209999993)
  1133. Part8.CFrame = CFrame.new(-90, 9.71499538, 15.4898481, 1, 0, 0, 0, 0.965925872, 0.258818835, 0, -0.258818835, 0.965925872)
  1134. Part8.BottomSurface = Enum.SurfaceType.Smooth
  1135. Part8.TopSurface = Enum.SurfaceType.Smooth
  1136. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1137. Part8.Position = Vector3.new(-90, 9.71499538, 15.4898481)
  1138. Part8.Orientation = Vector3.new(-15, 0, 0)
  1139. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1140. Part9.Parent = Model0
  1141. Part9.BrickColor = BrickColor.new("White")
  1142. Part9.Anchored = true
  1143. Part9.CanCollide = false
  1144. Part9.Size = Vector3.new(0.100000001, 0.550000012, 0.0500000007)
  1145. Part9.CFrame = CFrame.new(-89.9000015, 10.3750019, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1146. Part9.BottomSurface = Enum.SurfaceType.Smooth
  1147. Part9.TopSurface = Enum.SurfaceType.Smooth
  1148. Part9.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1149. Part9.Position = Vector3.new(-89.9000015, 10.3750019, 13.8757429)
  1150. Part9.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1151. Part10.Parent = Model0
  1152. Part10.BrickColor = BrickColor.new("White")
  1153. Part10.Anchored = true
  1154. Part10.CanCollide = false
  1155. Part10.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
  1156. Part10.CFrame = CFrame.new(-89.9000015, 10.6750021, 15.6257429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1157. Part10.BottomSurface = Enum.SurfaceType.Smooth
  1158. Part10.TopSurface = Enum.SurfaceType.Smooth
  1159. Part10.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1160. Part10.Position = Vector3.new(-89.9000015, 10.6750021, 15.6257429)
  1161. Part10.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1162. Part11.Parent = Model0
  1163. Part11.BrickColor = BrickColor.new("White")
  1164. Part11.Anchored = true
  1165. Part11.CanCollide = false
  1166. Part11.Size = Vector3.new(0.200000003, 0.150000006, 0.600000024)
  1167. Part11.CFrame = CFrame.new(-90, 9.37500191, 15.6007433, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1168. Part11.BottomSurface = Enum.SurfaceType.Smooth
  1169. Part11.TopSurface = Enum.SurfaceType.Smooth
  1170. Part11.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1171. Part11.Position = Vector3.new(-90, 9.37500191, 15.6007433)
  1172. Part11.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1173. Part12.Parent = Model0
  1174. Part12.BrickColor = BrickColor.new("White")
  1175. Part12.Rotation = Vector3.new(-30, 0, 0)
  1176. Part12.Anchored = true
  1177. Part12.CanCollide = false
  1178. Part12.Size = Vector3.new(0.100000001, 0.150000006, 0.0500000007)
  1179. Part12.CFrame = CFrame.new(-90, 9.97165203, 15.1132431, 1, 0, 0, 0, 0.866025448, 0.5, 0, -0.5, 0.866025448)
  1180. Part12.BottomSurface = Enum.SurfaceType.Smooth
  1181. Part12.TopSurface = Enum.SurfaceType.Smooth
  1182. Part12.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1183. Part12.Position = Vector3.new(-90, 9.97165203, 15.1132431)
  1184. Part12.Orientation = Vector3.new(-30, 0, 0)
  1185. Part12.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1186. Part13.Parent = Model0
  1187. Part13.BrickColor = BrickColor.new("White")
  1188. Part13.Anchored = true
  1189. Part13.CanCollide = false
  1190. Part13.Size = Vector3.new(0.300000012, 0.100000001, 0.0500000007)
  1191. Part13.CFrame = CFrame.new(-90, 10.6000023, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1192. Part13.BottomSurface = Enum.SurfaceType.Smooth
  1193. Part13.TopSurface = Enum.SurfaceType.Smooth
  1194. Part13.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1195. Part13.Position = Vector3.new(-90, 10.6000023, 13.8757429)
  1196. Part13.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1197. Part14.Parent = Model0
  1198. Part14.BrickColor = BrickColor.new("White")
  1199. Part14.Rotation = Vector3.new(-30, 0, 0)
  1200. Part14.Anchored = true
  1201. Part14.CanCollide = false
  1202. Part14.Size = Vector3.new(0.200000003, 0.100000001, 0.25)
  1203. Part14.CFrame = CFrame.new(-90, 10.5216522, 15.9065447, 1, 0, 0, 0, 0.866025329, 0.49999997, 0, -0.49999997, 0.866025329)
  1204. Part14.BottomSurface = Enum.SurfaceType.Smooth
  1205. Part14.TopSurface = Enum.SurfaceType.Smooth
  1206. Part14.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1207. Part14.Position = Vector3.new(-90, 10.5216522, 15.9065447)
  1208. Part14.Orientation = Vector3.new(-30, 0, 0)
  1209. Part14.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1210. Part15.Parent = Model0
  1211. Part15.BrickColor = BrickColor.new("White")
  1212. Part15.Rotation = Vector3.new(-105, 0, 0)
  1213. Part15.Anchored = true
  1214. Part15.CanCollide = false
  1215. Part15.Size = Vector3.new(0.100000001, 0.200000003, 0.0500000007)
  1216. Part15.CFrame = CFrame.new(-90, 9.92812252, 15.2373915, 1, 0, 0, 0, -0.258819371, 0.965925813, 0, -0.965925813, -0.258819371)
  1217. Part15.BottomSurface = Enum.SurfaceType.Smooth
  1218. Part15.TopSurface = Enum.SurfaceType.Smooth
  1219. Part15.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1220. Part15.Position = Vector3.new(-90, 9.92812252, 15.2373915)
  1221. Part15.Orientation = Vector3.new(-75, 180, 180)
  1222. Part15.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1223. Part16.Name = "asd"
  1224. Part16.Parent = Model0
  1225. Part16.BrickColor = BrickColor.new("White")
  1226. Part16.Rotation = Vector3.new(-15, 0, 0)
  1227. Part16.Anchored = true
  1228. Part16.CanCollide = false
  1229. Part16.Size = Vector3.new(0.200000003, 1.14999998, 0.400000006)
  1230. Part16.CFrame = CFrame.new(-90, 9.93709087, 15.5425692, 1, 0, 0, 0, 0.965925872, 0.258818835, 0, -0.258818835, 0.965925872)
  1231. Part16.BottomSurface = Enum.SurfaceType.Smooth
  1232. Part16.TopSurface = Enum.SurfaceType.Smooth
  1233. Part16.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1234. Part16.Position = Vector3.new(-90, 9.93709087, 15.5425692)
  1235. Part16.Orientation = Vector3.new(-15, 0, 0)
  1236. Part16.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1237. Part17.Parent = Model0
  1238. Part17.BrickColor = BrickColor.new("White")
  1239. Part17.Anchored = true
  1240. Part17.CanCollide = false
  1241. Part17.Size = Vector3.new(0.100000001, 0.100000001, 0.0500000007)
  1242. Part17.CFrame = CFrame.new(-90, 10.0500021, 15.0757437, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1243. Part17.BottomSurface = Enum.SurfaceType.Smooth
  1244. Part17.TopSurface = Enum.SurfaceType.Smooth
  1245. Part17.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1246. Part17.Position = Vector3.new(-90, 10.0500021, 15.0757437)
  1247. Part17.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1248. Part18.Parent = Model0
  1249. Part18.BrickColor = BrickColor.new("Pearl")
  1250. Part18.Anchored = true
  1251. Part18.CanCollide = false
  1252. Part18.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
  1253. Part18.CFrame = CFrame.new(-90, 10.6750021, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1254. Part18.BottomSurface = Enum.SurfaceType.Smooth
  1255. Part18.TopSurface = Enum.SurfaceType.Smooth
  1256. Part18.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1257. Part18.Position = Vector3.new(-90, 10.6750021, 13.8757429)
  1258. Part18.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1259. Part19.Parent = Model0
  1260. Part19.BrickColor = BrickColor.new("Pearl")
  1261. Part19.Anchored = true
  1262. Part19.CanCollide = false
  1263. Part19.Size = Vector3.new(0.400000006, 0.200000003, 1.05000007)
  1264. Part19.CFrame = CFrame.new(-90, 10.1500015, 14.4757433, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1265. Part19.BottomSurface = Enum.SurfaceType.Smooth
  1266. Part19.TopSurface = Enum.SurfaceType.Smooth
  1267. Part19.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1268. Part19.Position = Vector3.new(-90, 10.1500015, 14.4757433)
  1269. Part19.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1270. for i,v in pairs(Model0:GetChildren()) do
  1271. if v:IsA("Part") then
  1272. v.Color = Color3.new(1,1,0)
  1273. v.Material = Enum.Material.Slate
  1274. v.Transparency = 0
  1275. v.CanCollide = false
  1276. end
  1277. end
  1278. weld(Model0)
  1279. return Model0
  1280. end
  1281.  
  1282. mode = "determination"
  1283. function justice()
  1284. mode = "justice"
  1285. for i=1,5 do rs:wait()
  1286. local asd = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,math.random(-10000,10000)/10000)
  1287. Effect(Enum.MeshType.Brick,Vector3.new(1,1,1),0,Enum.Material.Slate,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)
  1288. end
  1289. knife:Destroy()
  1290. pistol = createpistol()
  1291. newWeld(rarm,pistol.asd,0,-1,0)
  1292. pistol.asd.Weld.C1 = CFrame.Angles(math.rad(110),0,0)
  1293. end
  1294.  
  1295. function determination()
  1296. mode = "determination"
  1297. for i=1,5 do rs:wait()
  1298. local asd = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,math.random(-10000,10000)/10000)
  1299. Effect(Enum.MeshType.Brick,Vector3.new(1,1,1),0,Enum.Material.DiamondPlate,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)
  1300. end
  1301. pistol:Destroy()
  1302. knife = createknife()
  1303. newWeld(rarm,knife.asd,0,-1,0)
  1304. end
  1305.  
  1306. debounce = false
  1307. mouse.KeyDown:connect(function(key)
  1308. if debounce == false then
  1309. debounce = true
  1310. if key == "e" then
  1311. sound(462606062,root.Position,10,1)
  1312. if mode == "determination" then
  1313. justice()
  1314. elseif mode == "justice" then
  1315. determination()
  1316. end
  1317. end
  1318. delay(0.3,function() debounce = false end)
  1319. end
  1320. end)
  1321.  
  1322. ----------------------------------------------------------------------------------------
  1323.  
  1324. function slash()
  1325. local spd = 0.2
  1326. for i=1,15 do rs:wait()
  1327. 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)
  1328. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(-30),math.rad(0)), spd)
  1329. 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)
  1330. 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)
  1331. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(0),math.rad(-50),math.rad(10)), spd)
  1332. 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)
  1333. 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)
  1334. end
  1335. sound(357417055,root.Position,10,1)
  1336. attacking = true
  1337. local spd = 0.4
  1338. for i=1,5 do rs:wait()
  1339. 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)
  1340. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(80),math.rad(0)), spd)
  1341. 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)
  1342. 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)
  1343. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(0),math.rad(80),math.rad(-20)), spd)
  1344. 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)
  1345. 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)
  1346. end
  1347. end
  1348.  
  1349. mouse.Button1Down:connect(function()
  1350. if debounce == false and mode == "determination" then
  1351. alreadytouched = {}
  1352. noidle = true
  1353. debounce = true
  1354. slash()
  1355. attacking = false
  1356. noidle = false
  1357. delay(0.05,function() debounce = false end)
  1358. end
  1359. end)
  1360.  
  1361. -----------------------------
  1362. local jumped = false
  1363. function boom()
  1364. freeze = true
  1365. sound(446961725,root.Position,10,1)
  1366. local bg = Instance.new("BodyGyro",root)
  1367. bg.Name = "noh"
  1368. bg.P = 10000
  1369. bg.D = 100
  1370. bg.MaxTorque = Vector3.new(9e9,9e9,9e9)
  1371. if jumped == false then
  1372. root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  1373. bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  1374. else
  1375. root.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  1376. bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  1377. end
  1378.  
  1379. local spd = 0.2
  1380. for i=1,20 do rs:wait()
  1381. if jumped == false then
  1382. bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  1383. else
  1384. bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  1385. end
  1386. 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)
  1387. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  1388. 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)
  1389. 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)
  1390. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  1391. 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)
  1392. 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)
  1393. end
  1394.  
  1395. bg:Destroy()
  1396.  
  1397. sound(470245800,root.Position,10,1)
  1398.  
  1399. local Part0 = Instance.new("Part",DebrisModel)
  1400. Part0.Name = "Bullet"
  1401. Part0.Material = Enum.Material.Slate
  1402. Part0.Color = Color3.new(1,1,0)
  1403. Part0.Anchored = true
  1404. local mesh = Instance.new("SpecialMesh",Part0)
  1405. mesh.MeshType = Enum.MeshType.Brick
  1406. Part0.CanCollide = false
  1407. local Position = rarm.Position
  1408. local Target = mouse.Hit.p
  1409. local direction = Target - Position
  1410. local direction = computeDirection(direction)
  1411. local ray = Ray.new(Position, (Target-Position).unit*1048)
  1412. local part, endPoint = workspace:FindPartOnRay(ray, char)
  1413. Part0.Size = Vector3.new(5,1,5)
  1414. mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude+5,1)
  1415. local pos = Position + (direction * (mesh.Scale.Y/2))
  1416. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  1417. local loop = nil
  1418. local i = 0
  1419. rs:connect(function()
  1420. local lole = (i/10)
  1421. mesh.Scale = Vector3.new(lole,mesh.Scale.Y,lole)
  1422. Part0.Transparency = Part0.Transparency + 0.1
  1423. i = i + 1
  1424. if Part0.Transparency >= 1 then
  1425. Part0:Destroy()
  1426. end
  1427. end)
  1428.  
  1429. if part and part.Parent:FindFirstChildOfClass("Humanoid") and checkIfNotPlayer(part) == true then
  1430. coroutine.resume(coroutine.create(function()
  1431. sound(388826051,part.Position,10,1)
  1432. ded(part.Parent)
  1433. end))
  1434. end
  1435.  
  1436. local spd = 0.5
  1437. for i=1,10 do rs:wait()
  1438. 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)
  1439. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  1440. 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)
  1441. 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)
  1442. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  1443. 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)
  1444. 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)
  1445. end
  1446.  
  1447. freeze = false
  1448.  
  1449. end
  1450.  
  1451. mouse.Button1Down:connect(function()
  1452. if debounce == false and mode == "justice" then
  1453. alreadytouched = {}
  1454. noidle = true
  1455. debounce = true
  1456. boom()
  1457. attacking = false
  1458. noidle = false
  1459. delay(0.05,function() debounce = false end)
  1460. end
  1461. end)
  1462.  
  1463. ----------------------------------------------------------------------------------------
  1464. velocityYFall=0
  1465. velocityYFall2=0
  1466. velocityYFall3=0
  1467. velocityYFall4=0
  1468. neckrotY=0
  1469. neckrotY2=0
  1470. torsorotY=0
  1471. torsorotY2=0
  1472. torsoY=0
  1473. torsoY2=0
  1474. colored = 0
  1475. sine = 0
  1476. change=0.4
  1477. movement=5
  1478. timeranim=0
  1479. running = false
  1480. glitched = false
  1481. backup = hed.Weld.C1
  1482. glitchedC1 = hed.Weld.C1
  1483.  
  1484. mouse.KeyDown:connect(function(key)
  1485. key = string.lower(key)
  1486. if string.byte(key) == 48 then
  1487. running = true
  1488. local keyup = mouse.KeyUp:connect(function(key)
  1489. if string.byte(key) == 48 then
  1490. running = false
  1491. end
  1492. end)
  1493. repeat rs:wait() until running == false
  1494. keyup:disconnect()
  1495. end
  1496. end)
  1497.  
  1498. icolor=1
  1499. imode=false
  1500.  
  1501. didjump = false
  1502. jumppower = 0
  1503. freeze = false
  1504. debounceimpact = false
  1505.  
  1506. function jumpimpact()
  1507. if debounceimpact == false then
  1508. debounceimpact = true
  1509. if jumppower < -150 then jumppower = -150 end
  1510. shake(-jumppower/5)
  1511. for i=1,-jumppower/20 do rs:wait()
  1512. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0), 0.05)
  1513. 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)
  1514. end
  1515. debounceimpact = false
  1516. end
  1517. end
  1518.  
  1519. local sond = nil
  1520. rs:connect(function()
  1521.  
  1522. if not torso:FindFirstChild("STATICSOUND") then
  1523. sond=Instance.new("Sound",torso)
  1524. sond.Name = "STATICSOUND"
  1525. sond.SoundId = "rbxassetid://333430981"
  1526. sond.Looped = true
  1527. sond:Play()
  1528. end
  1529.  
  1530. if icolor > 1 then
  1531. imode = false
  1532. elseif icolor < 0 then
  1533. imode = true
  1534. end
  1535.  
  1536. if imode == true then
  1537. icolor = icolor + 0.01
  1538. else
  1539. icolor = icolor - 0.01
  1540. end
  1541.  
  1542. for i,v in pairs(emitters) do
  1543. v.Acceleration = root.CFrame.upVector*(666/100)
  1544. end
  1545.  
  1546. if p.Character.Parent == nil then
  1547. local model = Instance.new("Model")
  1548. model.Name = p.Name
  1549. p.Character = model
  1550. for i,v in pairs(char:GetChildren()) do
  1551. v.Parent = p.Character
  1552. end
  1553. end
  1554.  
  1555. char = p.Character
  1556. if p.Character.Parent ~= workspace then
  1557. p.Character.Parent = workspace
  1558. end
  1559. for i,v in pairs(char:GetChildren()) do
  1560. if v:IsA("Accoutrement") then
  1561. if v.Handle:FindFirstChild("Mesh") then
  1562. v.Handle:FindFirstChild("Mesh").Offset = Vector3.new()
  1563. v.Handle.Transparency = 0
  1564. end
  1565. elseif v:IsA("BasePart") then
  1566. v.Anchored = false
  1567. if v:FindFirstChildOfClass("BodyPosition") then
  1568. v:FindFirstChildOfClass("BodyPosition"):Destroy()
  1569. end
  1570. if v:FindFirstChildOfClass("BodyVelocity") then
  1571. v:FindFirstChildOfClass("BodyVelocity"):Destroy()
  1572. end
  1573. if v:FindFirstChildOfClass("BodyGyro") and v:FindFirstChildOfClass("BodyGyro").Name ~= "lolnochara" then
  1574. v:FindFirstChildOfClass("BodyGyro"):Destroy()
  1575. end
  1576. if v:FindFirstChild("Mesh") then
  1577. v:FindFirstChild("Mesh").Offset = Vector3.new()
  1578. end
  1579. if not DebrisModel:FindFirstChild(v.Name.."FORCEFIELD") then
  1580. local force = Instance.new("Part",DebrisModel)
  1581. force.Name = v.Name.."FORCEFIELD"
  1582. force.Size = v.Size+(Vector3.new(1,1,1)*0.2)
  1583. force.CanCollide = false
  1584. force.Transparency = 1
  1585. newWeld(v,force,0,0,0)
  1586. else
  1587. if not DebrisModel:FindFirstChild(v.Name.."FORCEFIELD"):FindFirstChildOfClass("Weld") then
  1588. newWeld(v,DebrisModel:FindFirstChild(v.Name.."FORCEFIELD"),0,0,0)
  1589. end
  1590. end
  1591. if v.Name ~= "HumanoidRootPart" then
  1592. v.Transparency = 0
  1593. else
  1594. v.Transparency = 1
  1595. end
  1596. end
  1597. end
  1598.  
  1599. if mode == "determination" then
  1600. trail.Enabled = true
  1601. else
  1602. trail.Enabled = false
  1603. end
  1604.  
  1605. if freeze == false then
  1606. if running == false then
  1607. hum.WalkSpeed = 12*size
  1608. change=0.4
  1609. movement=5
  1610. else
  1611. hum.WalkSpeed = (666/10)*size
  1612. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5*size then
  1613. change=1
  1614. else
  1615. change=0.4
  1616. end
  1617. movement=15
  1618. end
  1619. else
  1620. hum.WalkSpeed = 1
  1621. change=0.4
  1622. movement=5
  1623. end
  1624.  
  1625. if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 150 then
  1626. velocityYFall = root.Velocity.Y/1.5
  1627. else
  1628. if -root.Velocity.Y/1.5 < -5 then
  1629. velocityYFall = 5
  1630. elseif -root.Velocity.Y/1.5 > 150 then
  1631. velocityYFall = -150
  1632. end
  1633. end
  1634.  
  1635. if -root.Velocity.Y/180 > 0 and -root.Velocity.Y/180 < 1.2 then
  1636. velocityYFall2 = root.Velocity.Y/180
  1637. else
  1638. if -root.Velocity.Y/180 < 0 then
  1639. velocityYFall2 = 0
  1640. elseif -root.Velocity.Y/180 > 1.2 then
  1641. velocityYFall2 = -1.2
  1642. end
  1643. end
  1644.  
  1645. if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 50 then
  1646. velocityYFall3 = root.Velocity.Y/1.5
  1647. else
  1648. if -root.Velocity.Y/1.5 < -5 then
  1649. velocityYFall3 = 5
  1650. elseif -root.Velocity.Y/1.5 > 50 then
  1651. velocityYFall3 = -50
  1652. end
  1653. end
  1654.  
  1655. if -root.Velocity.Y/1.5 > -50 and -root.Velocity.Y/1.5 < 20 then
  1656. velocityYFall4 = root.Velocity.Y/1.5
  1657. else
  1658. if -root.Velocity.Y/180 < -5 then
  1659. velocityYFall4 = 5
  1660. elseif -root.Velocity.Y/180 > 50 then
  1661. velocityYFall4 = -50
  1662. end
  1663. end
  1664.  
  1665. if root.RotVelocity.Y/6 < 1 and root.RotVelocity.Y/6 > -1 then
  1666. neckrotY = root.RotVelocity.Y/6
  1667. else
  1668. if root.RotVelocity.Y/6 < -1 then
  1669. neckrotY = -1
  1670. elseif root.RotVelocity.Y/6 > 1 then
  1671. neckrotY = 1
  1672. end
  1673. end
  1674.  
  1675. if root.RotVelocity.Y/8 < 0.6 and root.RotVelocity.Y/8 > -0.6 then
  1676. neckrotY2 = root.RotVelocity.Y/8
  1677. else
  1678. if root.RotVelocity.Y/8 < -0.6 then
  1679. neckrotY2 = -0.6
  1680. elseif root.RotVelocity.Y/8 > 0.6 then
  1681. neckrotY2 = 0.6
  1682. end
  1683. end
  1684.  
  1685. if root.RotVelocity.Y/6 < 0.2 and root.RotVelocity.Y/6 > -0.2 then
  1686. torsorotY = root.RotVelocity.Y/6
  1687. else
  1688. if root.RotVelocity.Y/6 < -0.2 then
  1689. torsorotY = -0.2
  1690. elseif root.RotVelocity.Y/6 > 0.2 then
  1691. torsorotY = 0.2
  1692. end
  1693. end
  1694.  
  1695. if root.RotVelocity.Y/8 < 0.2 and root.RotVelocity.Y/8 > -0.2 then
  1696. torsorotY2 = root.RotVelocity.Y/8
  1697. else
  1698. if root.RotVelocity.Y/8 < -0.2 then
  1699. torsorotY2 = -0.2
  1700. elseif root.RotVelocity.Y/8 > 0.2 then
  1701. torsorotY2 = 0.2
  1702. end
  1703. end
  1704.  
  1705. torsoY = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/20
  1706. torsoY2 = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/36
  1707.  
  1708. local ray1 = Ray.new(root.Position+Vector3.new(size,0,0),Vector3.new(0, -4*size, 0))
  1709. local part1, endPoint = workspace:FindPartOnRay(ray1, char)
  1710. local ray2 = Ray.new(root.Position-Vector3.new(size,0,0),Vector3.new(0, -4*size, 0))
  1711. local part2, endPoint = workspace:FindPartOnRay(ray2, char)
  1712. local ray3 = Ray.new(root.Position+Vector3.new(0,0,size/2),Vector3.new(0, -4*size, 0))
  1713. local part3, endPoint = workspace:FindPartOnRay(ray3, char)
  1714. local ray4 = Ray.new(root.Position-Vector3.new(0,0,size/2),Vector3.new(0, -4*size, 0))
  1715. local part4, endPoint = workspace:FindPartOnRay(ray4, char)
  1716. local ray = Ray.new(root.Position,Vector3.new(0, -6, 0))
  1717. local part, endPoint = workspace:FindPartOnRay(ray, char)
  1718.  
  1719. if part1 or part2 or part3 or part4 then jumped = false else endPoint = 0 jumped = true end
  1720.  
  1721. local rlegray = Ray.new(rleg.Position+Vector3.new(0,size/2,0),Vector3.new(0, -1.75*size, 0))
  1722. local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
  1723.  
  1724. local llegray = Ray.new(lleg.Position+Vector3.new(0,size/2,0),Vector3.new(0, -1.75*size, 0))
  1725. local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
  1726.  
  1727. if hum.Health > 0 and noidle == false then
  1728. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 and jumped == false then
  1729. 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)
  1730. 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)
  1731. 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)
  1732. 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)
  1733. 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)
  1734. 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)
  1735. 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)
  1736. elseif jumped == true then
  1737. didjump = true
  1738. jumppower = root.Velocity.Y
  1739. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.1) * CFrame.Angles(0,0,0), 0.4)
  1740. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-velocityYFall3/5),0,0), 0.1)
  1741. 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)
  1742. 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)
  1743. 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)
  1744. 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)
  1745. 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)
  1746. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5*size then
  1747. 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)
  1748. 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)
  1749. 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)
  1750. 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)
  1751. 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)
  1752. 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)
  1753. 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)
  1754. end
  1755. end
  1756. if didjump == true and jumped == false and jumppower < 0 then
  1757. didjump = false
  1758. jumpimpact()
  1759. end
  1760.  
  1761. local chance = math.random(0,10000)/100
  1762. if chance <= 5 + (kills/2) then
  1763. if glitched == false then
  1764. backup = hed.Weld.C1
  1765. end
  1766. if torso:FindFirstChild("MusicRuin") then
  1767. equalizer.HighGain = 0
  1768. equalizer.MidGain = -20
  1769. equalizer.LowGain = -80
  1770. end
  1771. hed.Weld.C1 = glitchedC1
  1772. local glitch_color = Color3.fromHSV(math.random(0,1000)/1000,1,1)
  1773. hed.Color = glitch_color
  1774. torso.Color = glitch_color
  1775. rarm.Color = glitch_color
  1776. larm.Color = glitch_color
  1777. rleg.Color = glitch_color
  1778. lleg.Color = glitch_color
  1779. shake(5)
  1780. glitched = true
  1781. hed.face.Texture = "rbxassetid://1471407701"
  1782. sond:Resume()
  1783. else
  1784. if glitched == true then
  1785. glitched = false
  1786. hed.Weld.C1 = backup
  1787. glitchedC1 = backup*CFrame.Angles(math.rad(math.random(-40,40)),math.rad(math.random(-40,40)),math.rad(math.random(-20,20)))
  1788. end
  1789. if torso:FindFirstChild("MusicRuin") then
  1790. equalizer.HighGain = 0
  1791. equalizer.MidGain = 0
  1792. equalizer.LowGain = 0
  1793. end
  1794. hed.BrickColor = skin_color
  1795. torso.BrickColor = skin_color
  1796. rarm.BrickColor = skin_color
  1797. larm.BrickColor = skin_color
  1798. rleg.BrickColor = skin_color
  1799. lleg.BrickColor = skin_color
  1800. hed.face.Texture = "rbxassetid://422627909"
  1801. sond:Pause()
  1802. end
  1803.  
  1804. timeposition = soundz.TimePosition
  1805. sine = sine + change
  1806. hum.Health = math.huge
  1807. hum.MaxHealth = math.huge
  1808. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement