Advertisement
NoHackJustStevePlayz

Untitled

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