Advertisement
Robert666121

Glitch

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