Advertisement
DerpzDeNugget

Ree r e e ee e e er

Aug 10th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 85.22 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
  2. print("FE Compatibility: by WaverlyCole & Mokiros")
  3. InternalData = {}
  4. do
  5. script.Parent = owner.Character
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput"
  8. local function NewFakeEvent()
  9. local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  10. return Fake
  11. end
  12. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  13. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  14. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  15. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  16. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  17. local function TriggerEvent(self,Event,...)
  18. local Trigger = Mouse[Event]
  19. if Trigger and Trigger.fakeEvent and Trigger.Function then
  20. Trigger.Function(...)
  21. end
  22. end
  23. Mouse.TrigEvent = TriggerEvent
  24. UserInputService.TrigEvent = TriggerEvent
  25. Event.OnServerEvent:Connect(function(FiredBy,Input)
  26. if FiredBy.Name ~= owner.Name then end
  27. if Input.MouseEvent then
  28. Mouse.Target = Input.Target
  29. Mouse.Hit = Input.Hit
  30. else
  31. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  32. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  33. return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  34. end
  35. for _,Action in pairs(ContextActionService.Actions) do
  36. for _,Key in pairs(Action.Keys) do
  37. if Key==Input.KeyCode then
  38. Action.Function(Action.Name,Input.UserInputState,Input)
  39. end
  40. end
  41. end
  42. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  43. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  44. end
  45. end)
  46. InternalData["Mouse"] = Mouse
  47. InternalData["ContextActionService"] = ContextActionService
  48. InternalData["UserInputService"] = UserInputService
  49. Event.Parent = NLS([[
  50. local Player = owner
  51. local Event = script:WaitForChild("UserInput")
  52. local UserInputService = game:GetService("UserInputService")
  53. local Mouse = Player:GetMouse()
  54. local Input = function(Input,gameProcessedEvent)
  55. if gameProcessedEvent then return end
  56. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  57. end
  58. UserInputService.InputBegan:Connect(Input)
  59. UserInputService.InputEnded:Connect(Input)
  60. local Hit,Target
  61. while wait(1/30) do
  62. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63. Hit,Target = Mouse.Hit,Mouse.Target
  64. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  65. end
  66. end
  67. ]],owner.Character)
  68. end
  69. RealGame = game;game = setmetatable({},{
  70. __index = function (self,Index)
  71. local Sandbox = function (Thing)
  72. if Thing:IsA("Player") then
  73. local RealPlayer = Thing
  74. return setmetatable({},{
  75. __index = function (self,Index)
  76. local Type = type(RealPlayer[Index])
  77. if Type == "function" then
  78. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  79. return function (self)
  80. return InternalData["Mouse"]
  81. end
  82. end
  83. return function (self,...)
  84. return RealPlayer[Index](RealPlayer,...)
  85. end
  86. else
  87. if Index == "PlrObj" then
  88. return RealPlayer
  89. end
  90. return RealPlayer[Index]
  91. end
  92. end;
  93. __tostring = function(self)
  94. return RealPlayer.Name
  95. end
  96. })
  97. end
  98. end
  99. if RealGame[Index] then
  100. local Type = type(RealGame[Index])
  101. if Type == "function" then
  102. if Index:lower() == "getservice" or Index:lower() == "service" then
  103. return function (self,Service)
  104. if Service:lower() == "players" then
  105. return setmetatable({},{
  106. __index = function (self2,Index2)
  107. local RealService = RealGame:GetService(Service)
  108. local Type2 = type(Index2)
  109. if Type2 == "function" then
  110. return function (self,...)
  111. return RealService[Index2](RealService,...)
  112. end
  113. else
  114. if Index2:lower() == "localplayer" then
  115. return Sandbox(owner)
  116. end
  117. return RealService[Index2]
  118. end
  119. end;
  120. __tostring = function(self)
  121. return RealGame:GetService(Service).Name
  122. end
  123. })
  124. elseif Service:lower() == "contextactionservice" then
  125. return InternalData["ContextActionService"]
  126. elseif Service:lower() == "contextactionservice" then
  127. return InternalData["UserInputService"]
  128. elseif Service:lower() == "runservice" then
  129. return setmetatable({},{
  130. __index = function(self2,Index2)
  131. local RealService = RealGame:GetService(Service)
  132. local Type2 = type(Index2)
  133. if Type2 == "function" then
  134. return function (self,...)
  135. return RealService[Index2](RealService,...)
  136. end
  137. else
  138. if Index2:lower() == "bindtorenderstep" then
  139. return function (self,Name,Priority,Function)
  140. return RealGame:GetService("RunService").Stepped:Connect(Function)
  141. end
  142. end
  143. if Index2:lower() == "renderstepped" then
  144. return RealService["Stepped"]
  145. end
  146. return RealService[Index2]
  147. end
  148. end
  149. })
  150. else
  151. return RealGame:GetService(Service)
  152. end
  153. end
  154. end
  155. return function (self,...)
  156. return RealGame[Index](RealGame,...)
  157. end
  158. else
  159. if game:GetService(Index) then
  160. return game:GetService(Index)
  161. end
  162. return RealGame[Index]
  163. end
  164. else
  165. return nil
  166. end
  167. end
  168. });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
  169. print("Complete! Running...")
  170.  
  171.  
  172. --//Paste script below this line.
  173.  
  174. --// Created by 1x1x1x1IAMbck \\--
  175. --// Remake from chara \\--
  176.  
  177. --// Whitelist \\--
  178.  
  179.  
  180. -- friend list
  181. print([[
  182. ___________________________________
  183.  
  184. your CHARActer by 1x1x1x1IAMbck
  185. Build 0001
  186. Working whitelist
  187. __________________________________
  188.  
  189. Since i give it to VengefulProgram,then it will be leaked.
  190. Why?
  191. Someone log it and he start trading it and stealing.
  192. But i have another ver that looks like real character.
  193. Help by Sugarie Saffron. Sad for him :(
  194. ]])
  195.  
  196.  
  197. --// Main \\--
  198.  
  199. local p = game:service'Players'.LocalPlayer
  200. local char = p.Character
  201. local plr = game.Players.LocalPlayer
  202. local character = plr.Character
  203. player = game:GetService("Players").LocalPlayer
  204. chara = player.Character
  205. local humanoid = character.Humanoid
  206. chara.Humanoid.MaxHealth = math.huge
  207. chara.Humanoid.Health = math.huge
  208.  
  209. humanoid.Changed:connect(function()
  210. if chara.Humanoid.Health > math.huge then
  211. chara.Humanoid.Health = math.huge
  212. end
  213. end)
  214. mouse = game.Players.LocalPlayer:GetMouse()
  215. player = game.Players.LocalPlayer
  216. local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new(0/0,0/255,0/255)),ColorSequenceKeypoint.new(1, Color3.new(0/0,0/0,0/0))}
  217. local Player = game.Players.LocalPlayer
  218. local Character = Player.Character
  219. local torso = Character.Torso
  220. local hed = Character.Head
  221. local p = game.Players.LocalPlayer
  222. local char = p.Character
  223. RArm = Character["Right Arm"]
  224. LArm = Character["Left Arm"]
  225. RLeg = Character["Right Leg"]
  226. LLeg = Character["Left Leg"]
  227. local p = game:GetService("Players").LocalPlayer
  228. local char = p.Character
  229. local mouse = p:GetMouse()
  230. local larm = char:WaitForChild("Left Arm")
  231. local rarm = char:WaitForChild("Right Arm")
  232. local lleg = char:WaitForChild("Left Leg")
  233. local rleg = char:WaitForChild("Right Leg")
  234. local hed = char:WaitForChild("Head")
  235. local torso = char:WaitForChild("Torso")
  236. local root = char:WaitForChild("HumanoidRootPart")
  237. local hum = char:FindFirstChildOfClass("Humanoid")
  238. local debris = game:GetService("Debris")
  239. local input = game:GetService("UserInputService")
  240. local run = game:GetService("RunService")
  241. local rs = run.RenderStepped
  242. local wingpose = "Idle"
  243. local DebrisModel = Instance.new("Model",char)
  244. DebrisModel.Name = "Debris"
  245. repeat rs:wait() until p.CharacterAppearanceLoaded
  246. local slashsound1 = Instance.new("Sound", hed)
  247. slashsound1.SoundId = "rbxassetid://315170694"
  248. slashsound1.Volume = 1.2
  249. slashsound1.Pitch = 1
  250. slashsound1.Looped = true
  251. local slashsound2 = Instance.new("Sound", hed)
  252. slashsound2.SoundId = "rbxassetid://323578832"
  253. slashsound2.Volume = 5
  254. local slashsound3 = Instance.new("Sound", hed)
  255. slashsound3.SoundId = "rbxassetid://1818153677"
  256. slashsound3.Volume = 1000
  257. local slashsound4 = Instance.new("Sound", hed)
  258. slashsound4.SoundId = "rbxassetid://184605339"
  259. slashsound4.Volume = 500
  260. local slashsoundglobal = Instance.new("Sound", hed)
  261. slashsoundglobal.SoundId = "rbxassetid://289556450" --323578832
  262. slashsoundglobal.Volume = 500
  263. slashsoundglobal.MaxDistance = 10000
  264. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  265. local Plrs = S.Players
  266. local Plr = Plrs.LocalPlayer
  267. local Char = Plr.Character
  268. local Hum = Char:FindFirstChildOfClass'Humanoid'
  269. local RArm = Char["Right Arm"]
  270. local LArm = Char["Left Arm"]
  271. local RLeg = Char["Right Leg"]
  272. local LLeg = Char["Left Leg"]
  273. local Root = Char:FindFirstChild'HumanoidRootPart'
  274. local Torso = Char.Torso
  275. local Head = Char.Head
  276. local NeutralAnims = true
  277. local Attack = false
  278. local BloodPuddles = {}
  279. local Effects = {}
  280. local Debounces = {Debounces={}}
  281. local Mouse = Plr:GetMouse()
  282. local Hit = {}
  283. local Sine = 0
  284. local Change = 1
  285. local Souls = 0
  286. mouse = game.Players.LocalPlayer:GetMouse()
  287. player = game.Players.LocalPlayer
  288. local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new(0/0,0/255,0/255)),ColorSequenceKeypoint.new(1, Color3.new(0/0,0/0,0/0))}
  289. local Player = game.Players.LocalPlayer
  290. local Character = Player.Character
  291. local torso = Character.Torso
  292. local hed = Character.Head
  293. local p = game.Players.LocalPlayer
  294. local char = p.Character
  295. RArm = Character["Right Arm"]
  296. LArm = Character["Left Arm"]
  297. RLeg = Character["Right Leg"]
  298. LLeg = Character["Left Leg"]
  299.  
  300. noidle = false
  301. shift = false
  302. control = false
  303. no_nosound_able = false
  304. kills = -20
  305.  
  306. --// Shortcut Variables \\--
  307. ------------------------------------------
  308. --[[
  309. local vel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
  310. vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -5
  311. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  312. --]]
  313. --Credit To Rufus14
  314. --I just edit it a bit ^_^
  315. mouse = game.Players.LocalPlayer:GetMouse()
  316. function ragdoll()
  317. game.Players.LocalPlayer.Character.Archivable = true
  318. clone = game.Players.LocalPlayer.Character:Clone()
  319. clone.Parent = workspace
  320. for i,v in pairs(clone:GetChildren()) do
  321. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  322. v:destroy()
  323. end
  324. for i,p in pairs(v:GetChildren()) do
  325. if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  326. p:destroy()
  327. end
  328. end
  329. end
  330. for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  331. if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  332. t:destroy()
  333. end
  334. end
  335. vel = Instance.new("BodyVelocity", clone.Torso)
  336. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  337. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  338. clone.Head.face.Texture = "http://www.roblox.com/asset/?id=176777497"
  339. using = false
  340. hit = Instance.new("Sound", clone.Torso)
  341. hit.SoundId = "rbxassetid://260430060"
  342. hit.Volume = 5
  343. hit1 = Instance.new("Sound", clone.Torso)
  344. hit1.SoundId = "rbxassetid://138087186"
  345. hit1.Volume = 5
  346. hit2 = Instance.new("Sound", clone.Torso)
  347. hit2.SoundId = "rbxassetid://131237241"
  348. hit2.Volume = 5
  349. hit3 = Instance.new("Sound", clone.Torso)
  350. hit3.SoundId = "rbxassetid://278062209"
  351. hit3.Volume = 5
  352. hit3.TimePosition = 0.33
  353. ded = Instance.new("Sound", clone.Torso)
  354. ded.SoundId = "rbxassetid://163154423"
  355. ded.Volume = 5
  356. local leftarm = clone:findFirstChild("Left Arm")
  357. local rightrm = clone:findFirstChild("Right Arm")
  358. local leftleg = clone:findFirstChild("Left Leg")
  359. local rightleg = clone:findFirstChild("Right Leg")
  360. local head = clone:findFirstChild("Head")
  361. local welding = Instance.new("Weld", clone.Torso)
  362. welding.Part0 = clone.Torso
  363. welding.Part1 = head
  364. welding.C0 = welding.C0 * CFrame.new(0,1.5,0)
  365. for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  366. if g.ClassName == "Part" then
  367. g:destroy()
  368. end
  369. end
  370. for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  371. if h.ClassName == "Accesory" then
  372. h:destroy()
  373. end
  374. end
  375. game.Workspace.CurrentCamera.CameraSubject = head
  376. if leftleg ~= nil then
  377. local glue = Instance.new("Glue", clone.Torso)
  378. glue.Part0 = clone.Torso
  379. glue.Part1 = leftleg
  380. glue.Name = "Left leg"
  381. local collider = Instance.new("Part", leftleg)
  382. collider.Position = Vector3.new(0,999,0)
  383. collider.Size = Vector3.new(1.7, 1, 1)
  384. collider.Shape = "Cylinder"
  385. local weld = Instance.new("Weld", collider)
  386. weld.Part0 = leftleg
  387. weld.Part1 = collider
  388. weld.C0 = CFrame.Angles(0, 0, 80)
  389. collider.TopSurface = "Smooth"
  390. collider.BottomSurface = "Smooth"
  391. collider.formFactor = "Symmetric"
  392. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  393. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  394. collider.Transparency = 1
  395. end
  396. ------------
  397. if rightleg ~= nil then
  398. local glue1 = Instance.new("Glue", clone.Torso)
  399. glue1.Part0 = clone.Torso
  400. glue1.Part1 = rightleg
  401. glue1.Name = "Right leg"
  402. local collider1 = Instance.new("Part", rightleg)
  403. collider1.Position = Vector3.new(0,999,0)
  404. collider1.Size = Vector3.new(1.7, 1, 1)
  405. collider1.Shape = "Cylinder"
  406. local weld1 = Instance.new("Weld", collider1)
  407. weld1.Part0 = rightleg
  408. weld1.Part1 = collider1
  409. weld1.C0 = CFrame.Angles(0, 0, 80)
  410. collider1.TopSurface = "Smooth"
  411. collider1.BottomSurface = "Smooth"
  412. collider1.formFactor = "Symmetric"
  413. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  414. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  415. collider1.Transparency = 1
  416. end
  417. ------------
  418. if rightrm ~= nil then
  419. local glue11 = Instance.new("Glue", clone.Torso)
  420. glue11.Part0 = clone.Torso
  421. glue11.Part1 = rightrm
  422. glue11.Name = "Right shoulder"
  423. local collider11 = Instance.new("Part", rightrm)
  424. collider11.Position = Vector3.new(0,9999,0)
  425. collider11.Size = Vector3.new(1.8,1,1)
  426. collider11.Shape = "Cylinder"
  427. local weld11 = Instance.new("Weld", collider11)
  428. weld11.Part0 = rightrm
  429. weld11.Part1 = collider11
  430. weld11.C0 = CFrame.Angles(0, 0, 80)
  431. collider11.TopSurface = "Smooth"
  432. collider11.BottomSurface = "Smooth"
  433. collider11.formFactor = "Symmetric"
  434. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  435. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  436. collider11.Transparency = 1
  437. end
  438. ------------
  439. if leftarm ~= nil then
  440. local glue111 = Instance.new("Glue", clone.Torso)
  441. glue111.Part0 = clone.Torso
  442. glue111.Part1 = leftarm
  443. glue111.Name = "Left shoulder"
  444. local collider111 = Instance.new("Part", leftarm)
  445. collider111.Position = Vector3.new(0,9999,0)
  446. collider111.Size = Vector3.new(1.8,1,1)
  447. collider111.Shape = "Cylinder"
  448. local weld111 = Instance.new("Weld", collider111)
  449. weld111.Part0 = leftarm
  450. weld111.Part1 = collider111
  451. weld111.C0 = CFrame.Angles(0, 0, 80)
  452. collider111.TopSurface = "Smooth"
  453. collider111.BottomSurface = "Smooth"
  454. collider111.formFactor = "Symmetric"
  455. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  456. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  457. collider111.Transparency = 1
  458. ----------------
  459. sensoring = Instance.new("Part", clone.Torso)
  460. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  461. sensoring.CanCollide = false
  462. sensoring.Position = clone.Torso.Position
  463. local welder = Instance.new("Weld", sensoring)
  464. welder.Part0 = clone.Torso
  465. welder.Part1 = sensoring
  466. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  467. sensoring.Transparency = 1
  468. -----------------
  469. sensoring1 = Instance.new("Part", clone.Torso)
  470. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  471. sensoring1.CanCollide = false
  472. sensoring1.Position = clone.Torso.Position
  473. local welder1 = Instance.new("Weld", sensoring)
  474. welder1.Part0 = clone.Torso
  475. welder1.Part1 = sensoring1
  476. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  477. sensoring1.Transparency = 1
  478. end
  479. clone.Name = game.Players.LocalPlayer.Character.Name.." (DEAD)"
  480. ded:Play()
  481. vel:destroy()
  482. wait(0.5)
  483. local function touch()
  484. if not using then
  485. using = true
  486. local Math = math.random(1,4)
  487. if Math == 1 then
  488. hit:Play()
  489. end
  490. if Math == 2 then
  491. hit1:Play()
  492. end
  493. if Math == 3 then
  494. hit2:Play()
  495. end
  496. if Math == 4 then
  497. hit3:Play()
  498. end
  499. wait(0.1)
  500. using = false
  501. end
  502. end
  503. sensoring.Touched:connect(touch)
  504. sensoring1.Touched:connect(touch)
  505. wait(4.47)
  506. hit1.Volume = 0
  507. hit2.Volume = 0
  508. hit3.Volume = 0
  509. hit.Volume = 0
  510. end
  511.  
  512. game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll)
  513.  
  514. --di ent
  515. ------------------------------------------
  516. local Hair = Instance.new("Part", char)
  517. Hair.Name = "Hair"
  518. Hair.CanCollide = false
  519. Hair.BrickColor = BrickColor.new("Institutional white")
  520. Hair.Transparency = 0
  521. Hair.Material = "Plastic"
  522. Hair.Size = Vector3.new(1, 1, 2)
  523. Hair.TopSurface = Enum.SurfaceType.Smooth
  524. Hair.BottomSurface = Enum.SurfaceType.Smooth
  525.  
  526. local Weld = Instance.new("Weld", Hair)
  527. Weld.Part0 = hed
  528. Weld.Part1 = Hair
  529. Weld.C1 = CFrame.new(0, -.6, 0)
  530. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  531.  
  532. local M2 = Instance.new("SpecialMesh")
  533. M2.Parent = Hair
  534. M2.MeshId = "http://www.roblox.com/asset/?id=13640868"
  535. M2.TextureId = "http://www.roblox.com/asset/?id=18987684"
  536. M2.Scale = Vector3.new(1, 1, 1)
  537. -------------------------------------------------------
  538. for i,v in pairs(char:children()) do
  539. if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
  540. v:Remove()
  541. end
  542. end
  543. shirt = Instance.new("Shirt", char)
  544. shirt.Name = "Shirt"
  545. pants = Instance.new("Pants", char)
  546. pants.Name = "Pants"
  547. char.Shirt.ShirtTemplate = "rbxassetid://676428254"
  548. char.Pants.PantsTemplate = "rbxassetid://676428351"
  549. -------------------------------------------------------
  550. local music = Instance.new("Sound", game.Players.LocalPlayer.Character)
  551. music.SoundId = "rbxassetid://315170694"
  552. music.Volume = 9
  553. music:Play()
  554. music.Looped = true
  555. -------------------------------------------------------
  556. CV="Maroon"
  557. Player = game.Players.LocalPlayer
  558. Character = Player.Character
  559. local txt = Instance.new("BillboardGui", Character)
  560. txt.Adornee = Character .Head
  561. txt.Name = "_status"
  562. txt.Size = UDim2.new(2, 0, 1.2, 0)
  563. txt.StudsOffset = Vector3.new(-9, 8, 0)
  564. local text = Instance.new("TextLabel", txt)
  565. text.Size = UDim2.new(10, 0, 7, 0)
  566. text.FontSize = "Size24"
  567. text.TextScaled = true
  568. text.TextTransparency = 0
  569. text.BackgroundTransparency = 1
  570. text.TextTransparency = 0
  571. text.TextStrokeTransparency = 0
  572. text.Font = "Bodoni"
  573. text.TextStrokeColor3 = Color3.new(255,0,0)
  574.  
  575. v=Instance.new("Part")
  576. v.Name = "ColorBrick"
  577. v.Parent=Player.Character
  578. v.FormFactor="Symmetric"
  579. v.Anchored=true
  580. v.CanCollide=false
  581. v.BottomSurface="Smooth"
  582. v.TopSurface="Smooth"
  583. v.Size=Vector3.new(3,3,3)
  584. v.Transparency=1
  585. v.CFrame=Character.Torso.CFrame
  586. v.BrickColor=BrickColor.new(CV)
  587. v.Transparency=1
  588. text.TextColor3 = Color3.new(0,0,0)
  589. v.Shape="Block"
  590. text.Text = "Maniac Agent"
  591. --------------------------------------------------
  592.  
  593. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  594. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  595. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  596. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  597. local R3 = {N=Region3.new}
  598. local De = S.Debris
  599. local WS = workspace
  600. local Lght = S.Lighting
  601. local RepS = S.ReplicatedStorage
  602. local IN = Instance.new
  603. local CSK = ColorSequenceKeypoint.new
  604. local CS = ColorSequence.new
  605. IT = Instance.new
  606. CF = CFrame.new
  607. VT = Vector3.new
  608. RAD = math.rad
  609. UD2 = UDim2.new
  610. BRICKC = BrickColor.new
  611. ANGLES = CFrame.Angles
  612. EULER = CFrame.fromEulerAnglesXYZ
  613. COS = math.cos
  614. ACOS = math.acos
  615. SIN = math.sin
  616. ASIN = math.asin
  617. ABS = math.abs
  618. MRANDOM = math.random
  619. FLOOR = math.floor
  620.  
  621. --// Controls \\--
  622.  
  623. if 1 then
  624. local MovesGui=Instance.new("ScreenGui",p:FindFirstChildOfClass("PlayerGui"))
  625. local Frm=Instance.new("Frame",MovesGui)Frm.BackgroundColor3=Color3.new()Frm.BorderSizePixel=0
  626. Frm.BackgroundTransparency=.5 Frm.Size=UDim2.new(.3,0,.5,0)local Show=true Frm.Position=UDim2.new(.7,0,.5,0)
  627. local idk=Instance.new("TextButton",Frm)idk.Size=UDim2.new(.5,0,.1,0)idk.Position=UDim2.new(-.5,0,.8,0)
  628. idk.Text="Hide"idk.TextStrokeTransparency=0 idk.BackgroundTransparency=.5 idk.BackgroundColor3=Color3.new()
  629. idk.BorderSizePixel=0 idk.TextColor3=Color3.new(1,1,1)
  630. idk.MouseButton1Click:connect(function()Show=not Show idk.Text=Show and "Hide"or"Show"end)
  631. local normal=Instance.new("TextLabel",Frm)normal.Size=UDim2.new(1,0,1,0)normal.TextStrokeTransparency=0
  632. normal.BackgroundTransparency=1 normal.TextColor3=Color3.new(1,1,1)
  633. normal.TextXAlignment="Left"normal.TextYAlignment="Top"
  634. normal.Text=[[THX For using it my friend
  635. ----------------------------------
  636. *Q : WIP
  637. *E : Switch weapons
  638. *F : Teleport
  639. *T : Scary tount 1
  640. *Y : Scary tount 2
  641. edit by saba1520
  642. Enjoy!
  643. Shift : Sprint
  644.  
  645. Created By 1x1x1x1IAMbck
  646. Inspirated by CKbackups Chara
  647. ]]
  648. spawn(function()
  649. while game:service'RunService'.RenderStepped:wait()do
  650. Frm.Position=Frm.Position:lerp(UDim2.new(not Show and 1 or .7,0,.5,0),.1)
  651. end end)
  652. end
  653. --------------------------------------------------------
  654.  
  655. --// Debounce System \\--
  656.  
  657.  
  658. function Debounces:New(name,cooldown)
  659. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  660. setmetatable(aaaaa,{__index = Debounces})
  661. Debounces.Debounces[name] = aaaaa
  662. return aaaaa
  663. end
  664.  
  665. function Debounces:Use(overrideUsable)
  666. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  667. if(self.Usable or overrideUsable)then
  668. self.Usable = false
  669. self.CoolingDown = true
  670. local LastUse = time()
  671. self.LastUse = LastUse
  672. delay(self.Cooldown or 2,function()
  673. if(self.LastUse == LastUse)then
  674. self.CoolingDown = false
  675. self.Usable = true
  676. end
  677. end)
  678. end
  679. end
  680.  
  681. function Debounces:Get(name)
  682. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  683. for i,v in next, Debounces.Debounces do
  684. if(i == name)then
  685. return v;
  686. end
  687. end
  688. end
  689.  
  690. function Debounces:GetProgressPercentage()
  691. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  692. if(self.CoolingDown and not self.Usable)then
  693. return math.max(
  694. math.floor(
  695. (
  696. (time()-self.LastUse)/self.Cooldown or 2
  697. )*100
  698. )
  699. )
  700. else
  701. return 100
  702. end
  703. end
  704.  
  705. --// Create instance roblox \\--
  706.  
  707. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  708. local Sound = IN("Sound")
  709. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  710. Sound.Pitch = pitch or 1
  711. Sound.Volume = volume or 1
  712. Sound.Looped = looped or false
  713. if(autoPlay)then
  714. coroutine.wrap(function()
  715. repeat wait() until Sound.IsLoaded
  716. Sound.Playing = autoPlay or false
  717. end)()
  718. end
  719. if(not looped and effect)then
  720. Sound.Stopped:connect(function()
  721. Sound.Volume = 0
  722. Sound:destroy()
  723. end)
  724. elseif(effect)then
  725. warn("Sound can't be looped and a sound effect!")
  726. end
  727. Sound.Parent =parent or Torso
  728. return Sound
  729. end
  730.  
  731. function Part(parent,color,material,size,cframe,anchored,cancollide)
  732. local part = IN("Part")
  733. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  734. part.Material = (material or Enum.Material.SmoothPlastic)
  735. part.TopSurface,part.BottomSurface=10,10
  736. part.Size = (size or V3.N(1,1,1))
  737. part.CFrame = (cframe or CF.N(0,0,0))
  738. part.Anchored = (anchored or false)
  739. part.CanCollide = (cancollide or false)
  740. part.Parent = (parent or Char)
  741. return part
  742. end
  743. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  744. local part = IN("SpecialMesh")
  745. part.MeshId = meshid or ""
  746. part.TextureId = textid or ""
  747. part.Scale = scale or V3.N(1,1,1)
  748. part.Offset = offset or V3.N(0,0,0)
  749. part.MeshType = meshtype or Enum.MeshType.Sphere
  750. part.Parent = parent
  751. return part
  752. end
  753.  
  754. NewInstance = function(instance,parent,properties)
  755. local inst = Instance.new(instance,parent)
  756. if(properties)then
  757. for i,v in next, properties do
  758. pcall(function() inst[i] = v end)
  759. end
  760. end
  761. return inst;
  762. end
  763.  
  764. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  765. local NEWMESH = IT(MESH)
  766. if MESH == "SpecialMesh" then
  767. NEWMESH.MeshType = MESHTYPE
  768. if MESHID ~= "nil" and MESHID ~= "" then
  769. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  770. end
  771. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  772. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  773. end
  774. end
  775. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  776. NEWMESH.Scale = SCALE
  777. NEWMESH.Parent = PARENT
  778. return NEWMESH
  779. end
  780.  
  781. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  782. local NEWPART = IT("Part")
  783. NEWPART.formFactor = FORMFACTOR
  784. NEWPART.Reflectance = REFLECTANCE
  785. NEWPART.Transparency = TRANSPARENCY
  786. NEWPART.CanCollide = false
  787. NEWPART.Locked = true
  788. NEWPART.Anchored = true
  789. if ANCHOR == false then
  790. NEWPART.Anchored = false
  791. end
  792. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  793. NEWPART.Name = NAME
  794. NEWPART.Size = SIZE
  795. NEWPART.Position = Torso.Position
  796. NEWPART.Material = MATERIAL
  797. NEWPART:BreakJoints()
  798. NEWPART.Parent = PARENT
  799. return NEWPART
  800. end
  801.  
  802. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  803. local NEWWELD = IT(TYPE)
  804. NEWWELD.Part0 = PART0
  805. NEWWELD.Part1 = PART1
  806. NEWWELD.C0 = C0
  807. NEWWELD.C1 = C1
  808. NEWWELD.Parent = PARENT
  809. return NEWWELD
  810. end
  811.  
  812. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  813.  
  814.  
  815.  
  816.  
  817. --// RSwait \\--
  818.  
  819. function rswait(value)
  820. if value ~= nil and value ~= 0 then
  821. for i=1,value do
  822. rs:wait()
  823. end
  824. else
  825. rs:wait()
  826. end
  827. end
  828.  
  829. --// Timestop \\--
  830.  
  831. local timeposition = 0
  832.  
  833. function music(id)
  834. if not torso:FindFirstChild("MusicRuin") then
  835. soundz = Instance.new("Sound",torso)
  836. end
  837. soundz.Volume = 10
  838. soundz.Name = "MusicRuin"
  839. soundz.Looped = true
  840. soundz.PlaybackSpeed = 1
  841. soundz.SoundId = "rbxassetid://"..id
  842. soundz:Stop()
  843. soundz:Play()
  844. if no_nosound_able == true then
  845. soundz.TimePosition = timeposition
  846. end
  847. end
  848.  
  849. --// Lerp \\--
  850.  
  851. function lerp(a, b, t)
  852. return a + (b - a)*t
  853. end
  854.  
  855. function Lerp(c1,c2,al)
  856. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  857. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  858. for i,v in pairs(com1) do
  859. com1[i] = v+(com2[i]-v)*al
  860. end
  861. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  862. end
  863.  
  864. --// SLerp \\--
  865.  
  866. function slerp(a, b, t)
  867. dot = a:Dot(b)
  868. if dot > 0.99999 or dot < -0.99999 then
  869. return t <= 0.5 and a or b
  870. else
  871. r = math.acos(dot)
  872. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  873. end
  874. end
  875.  
  876. --// CLerp \\--
  877.  
  878. function clerp(c1,c2,al)
  879.  
  880. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  881.  
  882. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  883.  
  884. for i,v in pairs(com1) do
  885.  
  886. com1[i] = lerp(v,com2[i],al)
  887.  
  888. end
  889.  
  890. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  891.  
  892. end
  893.  
  894. --// Find torso \\--
  895.  
  896. function findAllNearestTorso(pos,dist)
  897. local list = workspace:children()
  898. local torso = {}
  899. local temp = nil
  900. local human = nil
  901. local temp2 = nil
  902. for x = 1, #list do
  903. temp2 = list[x]
  904. if (temp2.className == "Model") and (temp2 ~= char) then
  905. temp = temp2:findFirstChild("Torso")
  906. human = temp2:findFirstChildOfClass("Humanoid")
  907. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  908. if (temp.Position - pos).magnitude < dist then
  909. table.insert(torso,temp)
  910. dist = (temp.Position - pos).magnitude
  911. end
  912. end
  913. end
  914. end
  915. return torso
  916. end
  917.  
  918. --// Player Check \\--
  919.  
  920. function checkIfNotPlayer(model)
  921. 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
  922. return true
  923. else
  924. return false
  925. end
  926. end
  927.  
  928. --// Weld \\--
  929.  
  930. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  931.  
  932. local wld = Instance.new("Weld", wp1)
  933.  
  934. wld.Part0 = wp0
  935.  
  936. wld.Part1 = wp1
  937.  
  938. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  939.  
  940. return wld
  941.  
  942. end
  943.  
  944. function weld(model)
  945. local parts,last = {}
  946. local function scan(parent)
  947. for _,v in pairs(parent:GetChildren()) do
  948. if (v:IsA("BasePart")) then
  949. if (last) then
  950. local w = Instance.new("Weld")
  951. w.Name = ("%s_Weld"):format(v.Name)
  952. w.Part0,w.Part1 = last,v
  953. w.C0 = last.CFrame:inverse()
  954. w.C1 = v.CFrame:inverse()
  955. w.Parent = last
  956. end
  957. last = v
  958. table.insert(parts,v)
  959. end
  960. scan(v)
  961. end
  962. end
  963. scan(model)
  964. for _,v in pairs(parts) do
  965. v.Anchored = false
  966. v.Locked = true
  967. v.Anchored = false
  968. v.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  969. v.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  970. v.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  971. v.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  972. v.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  973. v.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  974. v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0)
  975. end
  976. end
  977.  
  978. --// Weapon Creation \\--
  979.  
  980. function calculate(part,asd)
  981. local Head = hed
  982. local RightShoulder = asd
  983. local RightArm = part
  984. local MousePosition = mouse.Hit.p
  985. local ToMouse = (MousePosition - Head.Position).unit
  986. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  987. 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)))
  988. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  989. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  990. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  991. if tostring(LateralAngle) == "-1.#IND" then
  992. LateralAngle = 0
  993. end
  994. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  995. if LateralAngle > (math.pi / 2) then
  996. LateralAngle = (math.pi / 2)
  997. local Torso = root
  998. local Point = Torso.CFrame:vectorToObjectSpace(mouse.Hit.p-Torso.CFrame.p)
  999. if Point.Z > 0 then
  1000. if Point.X > -0 and RightArm == rarm then
  1001. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.Hit.X,Torso.Position.Y,mouse.Hit.Z))*CFrame.Angles(0,math.rad(110),0)
  1002. elseif Point.X < 0 and RightArm == rarm then
  1003. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.Hit.X,Torso.Position.Y,mouse.Hit.Z))*CFrame.Angles(0,math.rad(-110),0)
  1004. end
  1005. end
  1006. end
  1007. if Cross.Y < 0 then
  1008. LateralAngle = -LateralAngle
  1009. end
  1010. return(CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2))
  1011. end
  1012.  
  1013. --// Sound \\--
  1014.  
  1015. function sound(id,position,vol,pitch,start,finish)
  1016. coroutine.resume(coroutine.create(function()
  1017.  
  1018. local part = Instance.new("Part",workspace)
  1019. part.Position = position
  1020. part.Size = Vector3.new(0,0,0)
  1021. part.CanCollide = false
  1022. part.Transparency = 1
  1023.  
  1024. local sound = Instance.new("Sound",part)
  1025.  
  1026. sound.SoundId = "rbxassetid://"..id
  1027.  
  1028. repeat rs:wait() until sound.IsLoaded
  1029.  
  1030. if vol ~= nil then
  1031. sound.Volume = vol
  1032. end
  1033.  
  1034. if pitch ~= nil then
  1035. sound.PlaybackSpeed = pitch
  1036. end
  1037.  
  1038. if start ~= nil then
  1039. sound.TimePosition = start
  1040. end
  1041.  
  1042. if finish ~= nil then
  1043. debris:AddItem(part,finish-start)
  1044. else
  1045. debris:AddItem(part,sound.TimeLength)
  1046. end
  1047.  
  1048. sound:Play()
  1049.  
  1050. return sound
  1051.  
  1052. end))
  1053. end
  1054.  
  1055. --// Computedirection \\--
  1056.  
  1057. function computeDirection(vec)
  1058. local lenSquared = vec.magnitude * vec.magnitude
  1059. local invSqrt = 1 / math.sqrt(lenSquared)
  1060. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  1061. end
  1062.  
  1063. --// Shake \\--
  1064.  
  1065. local shaking = 0
  1066. function shake(num) if num > shaking then shaking = num end end
  1067. game:GetService("RunService").RenderStepped:connect(function()
  1068. hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))*(shaking/100)
  1069. if shaking > 0 then shaking = shaking - 1 else shaking = 0 end
  1070. end)
  1071.  
  1072. plr = game:GetService("Players").LocalPlayer
  1073. DebrisModel = Instance.new("Model",plr.Character)
  1074. DebrisModel.Name = "DebrisModel"
  1075.  
  1076. function Effect(mesh,size,transparency,material,color,position,rotation,sizechange,rotationchange,transparencychange,acceleration)
  1077.  
  1078. local part = Instance.new("Part",DebrisModel)
  1079. part.Anchored = true
  1080. part.CanCollide = false
  1081. part.Size = Vector3.new(1,1,1)
  1082. part.Transparency = transparency
  1083. part.Material = material
  1084. part.Color = color
  1085. part.CFrame = CFrame.new(position)*CFrame.Angles(math.rad(rotation.X),math.rad(rotation.Y),math.rad(rotation.Z))
  1086.  
  1087. local partmesh = Instance.new("SpecialMesh",part)
  1088. if tonumber(mesh) == nil then partmesh.MeshType = mesh else partmesh.MeshId = "rbxassetid://"..mesh end
  1089. partmesh.Scale = size
  1090.  
  1091. local pvalue = Instance.new("Vector3Value",part)
  1092. pvalue.Name = "Position"
  1093. pvalue.Value = part.Position
  1094.  
  1095. local svalue = Instance.new("Vector3Value",part)
  1096. svalue.Name = "Size"
  1097. svalue.Value = sizechange
  1098.  
  1099. local rvalue = Instance.new("Vector3Value",part)
  1100. rvalue.Name = "Rotation"
  1101. rvalue.Value = rotationchange
  1102.  
  1103. local tvalue = Instance.new("NumberValue",part)
  1104. tvalue.Name = "Transparency"
  1105. tvalue.Value = transparencychange
  1106.  
  1107. local avalue = Instance.new("NumberValue",part)
  1108. avalue.Name = "Acceleration"
  1109. avalue.Value = acceleration
  1110.  
  1111. part.Name = "EFFECT"
  1112.  
  1113. return part
  1114.  
  1115. end
  1116.  
  1117. game:GetService("RunService").RenderStepped:connect(function()
  1118.  
  1119.  
  1120. if not plr.Character:FindFirstChild("DebrisModel") then
  1121. DebrisModel = Instance.new("Model",plr.Character)
  1122. DebrisModel.Name = "DebrisModel"
  1123. end
  1124.  
  1125. for i,v in pairs(DebrisModel:GetChildren()) do
  1126. if v:IsA("BasePart") and v.Name == "EFFECT" then
  1127. local pvalue = v:FindFirstChild("Position").Value
  1128. local svalue = v:FindFirstChild("Size").Value
  1129. local rvalue = v:FindFirstChild("Rotation").Value
  1130. local tvalue = v:FindFirstChild("Transparency").Value
  1131. local avalue = v:FindFirstChild("Acceleration").Value
  1132. local mesh = v:FindFirstChild("Mesh")
  1133. mesh.Scale = mesh.Scale + svalue
  1134. v:FindFirstChild("Size").Value = v:FindFirstChild("Size").Value + (Vector3.new(1,1,1)*avalue)
  1135. v.Transparency = v.Transparency + tvalue
  1136. v.CFrame = v.CFrame*CFrame.Angles(math.rad(rvalue.X),math.rad(rvalue.Y),math.rad(rvalue.Z))
  1137. if v.Transparency >= 1 or mesh.Scale.X < 0 or mesh.Scale.Y < 0 or mesh.Scale.Z < 0 then
  1138. v:Destroy()
  1139. end
  1140. end
  1141. end
  1142.  
  1143.  
  1144. end)
  1145.  
  1146. --// Main 2# \\--
  1147.  
  1148. player = game.Players.LocalPlayer
  1149. chara = player.Character
  1150. plr = game.Players.LocalPlayer
  1151. char = plr.Character
  1152. mouse = plr:GetMouse()
  1153. whitecolor = Color3.new(1,1,1)
  1154. mouse = game.Players.LocalPlayer:GetMouse()
  1155. player = game.Players.LocalPlayer
  1156. local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new(0/0,0/255,0/255)),ColorSequenceKeypoint.new(1, Color3.new(0/0,0/0,0/0))}
  1157. local Player = game.Players.LocalPlayer
  1158. local Character = Player.Character
  1159. local torso = Character.Torso
  1160. local hed = Character.Head
  1161. local p = game.Players.LocalPlayer
  1162. local char = p.Character
  1163.  
  1164. --// Short keys \\--
  1165.  
  1166. RArm = Character["Right Arm"]
  1167. LArm = Character["Left Arm"]
  1168. RLeg = Character["Right Leg"]
  1169. LLeg = Character["Left Leg"]
  1170.  
  1171. --// Clothes \\--
  1172.  
  1173. hed.face.Texture = "http://www.roblox.com/asset/?id=176777497"
  1174.  
  1175. --// Chat \\--
  1176.  
  1177. local talksound = Instance.new("Sound",char.Torso)
  1178. talksound.SoundId = "rbxassetid://455601633"talksound.Volume = 1
  1179. function swait(num)
  1180. if num==0 or num==nil then
  1181. game:service'RunService'.Stepped:wait(0)
  1182. else
  1183. for i=0,num do
  1184. game:service'RunService'.Stepped:wait(0)
  1185. end
  1186. end
  1187. end
  1188.  
  1189. function chatfunc(text)
  1190. local chat = coroutine.wrap(function()
  1191. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  1192. char:FindFirstChild("TalkingBillBoard"):Destroy()
  1193. end
  1194. local naeeym2 = Instance.new("BillboardGui",char)
  1195. naeeym2.Size = UDim2.new(0,100,0,40)
  1196. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1197. naeeym2.Adornee = char.Head
  1198. naeeym2.Name = "TalkingBillBoard"
  1199. local tecks2 = Instance.new("TextLabel",naeeym2)
  1200. tecks2.BackgroundTransparency = 1
  1201. tecks2.BorderSizePixel = 0
  1202. tecks2.Text = ""
  1203. tecks2.Font = "Fantasy"
  1204. tecks2.TextSize = 30
  1205. tecks2.TextStrokeTransparency = 0
  1206. tecks2.TextColor3 = Color3.new(200,0,0)
  1207. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1208. tecks2.Size = UDim2.new(1,0,0.5,0)
  1209. local tecks3 = Instance.new("TextLabel",naeeym2)
  1210. tecks3.BackgroundTransparency = 1
  1211. tecks3.BorderSizePixel = 0
  1212. tecks3.Text = ""
  1213. tecks3.Font = "Fantasy"
  1214. tecks3.TextSize = 30
  1215. tecks3.TextStrokeTransparency = 0
  1216. tecks3.TextColor3 = Color3.new(200,0,0)
  1217. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  1218. tecks3.Size = UDim2.new(1,0,0.5,0)
  1219. for i = 1,string.len(text),1 do
  1220. tecks2.Text = string.sub(text,1,i)
  1221. tecks3.Text = string.sub(text,1,i)
  1222. talksound:Play()
  1223. wait(0.01)
  1224. end
  1225. wait(2)
  1226. for i = 1, 50 do
  1227. swait()
  1228. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1229. tecks2.Rotation = tecks2.Rotation - .8
  1230. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1231. tecks2.TextTransparency = tecks2.TextTransparency + .04
  1232. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1233. tecks3.Rotation = tecks2.Rotation + .8
  1234. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1235. tecks3.TextTransparency = tecks2.TextTransparency + .04
  1236. end
  1237. naeeym2:Destroy()
  1238. end)
  1239. chat()
  1240. end
  1241. function onChatted(msg)
  1242. chatfunc(msg)
  1243. end
  1244.  
  1245. LeyeColor = BrickColor.new("Really red")
  1246. local eyemodel = Instance.new("Model",char)
  1247. eyemodel.Name = "Eyes"
  1248. local reye = Instance.new("Part",eyemodel)
  1249. reye.Name = "BurningEff"
  1250. reye.Color = Color3.new(1,1,1)
  1251. reye.Material = "Neon"
  1252. reye.Transparency = 1
  1253. local reyemesh = Instance.new("SpecialMesh",reye)
  1254. reyemesh.MeshType = "Sphere"
  1255. reye.Size = Vector3.new(0.7,1.1,0.7)
  1256. local reyeweld = Instance.new("Weld",reye)
  1257. reyeweld.Part0 = reye
  1258. reyeweld.Part1 = char.Head
  1259. reyeweld.C0 = CFrame.new(-0.551300049, -0.19681406, -0.198293686, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1260. local leye = Instance.new("Part",eyemodel)
  1261. leye.Name = "LeftEye"
  1262. leye.BrickColor = LeyeColor
  1263. leye.Material = "Neon"
  1264. leye.Size = Vector3.new(0.2,0.2,0.2)
  1265. local leyemesh = Instance.new("SpecialMesh",leye)
  1266. leyemesh.MeshType = "Sphere"
  1267. leyemesh.Scale = Vector3.new(0.7,1.1,0.7)
  1268. local leyeweld = Instance.new("Weld",leye)
  1269. leyeweld.Part0 = leye
  1270. leyeweld.Part1 = char.Head
  1271. leyeweld.C0 = CFrame.new(-0.551300049, -0.19681406, -0.198293686, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1272. local leyeclone = leye:Clone()
  1273. leyeclone.Transparency = 0
  1274. leyeclone.Name = "RightEye"
  1275. leyeclone.Parent = eyemodel
  1276. for i,v in pairs(leyeclone:GetChildren()) do
  1277. if v.ClassName == "Weld" then
  1278. v:Destroy()
  1279. end
  1280. end
  1281. local leyeweld2 = Instance.new("Weld",leyeclone)
  1282. leyeweld2.Part0 = leyeclone
  1283. leyeweld2.Part1 = char.Head
  1284. leyeweld2.C0 = CFrame.new(0.0864697844, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1285.  
  1286. local p = game.Players.LocalPlayer --Get the localplayer
  1287. local char = p.Character
  1288. local tor = char.Torso
  1289. local cam = workspace.CurrentCamera
  1290. local terst = true
  1291. local used = false
  1292. p.Chatted:connect(function(msg) --When a player chats..
  1293. if msg == "ssj" then
  1294. game:GetService("Chat"):Chat(char.Head, string.upper("grr..."), 2)
  1295. used = true
  1296. local part = Instance.new("Part", workspace)
  1297. part.CanCollide = false
  1298. part.Anchored = true
  1299. part.Position = p.Character.Torso.Position
  1300. part.BrickColor = BrickColor.new("Really red")
  1301. part.Shape = "Ball"
  1302. part.formFactor = 'Symmetric'
  1303. part.Size = Vector3.new(10, 10, 10)
  1304. spawn(function()
  1305. wait(1)
  1306. game:GetService("Chat"):Chat(char.Head, string.upper("im going to destroy you!"), 2)
  1307. end)
  1308. for i= 1, 50 do
  1309. part.Size = part.Size + Vector3.new(.2,.2,.2)
  1310. part.Transparency = part.Transparency + .01
  1311. wait(.01)
  1312. end
  1313. part:Destroy()
  1314. terst = false
  1315. end
  1316. if msg == "off" and used == true then
  1317. game:GetService("Chat"):Chat(char.Head, string.upper("Hmph!"), 2)
  1318. local part = Instance.new("Part", workspace)
  1319. part.CanCollide = false
  1320. part.Anchored = true
  1321. part.Transparency = 1
  1322. part.Position = p.Character.Torso.Position
  1323. part.BrickColor = BrickColor.new("Really black")
  1324. part.Shape = "Ball"
  1325. part.formFactor = 'Symmetric'
  1326. part.Size = Vector3.new(20, 20, 20)
  1327. for i= 1, 100 do
  1328. part.Size = part.Size - Vector3.new(.2,.2,.2)
  1329. part.Transparency = part.Transparency - .01
  1330. wait(.01)
  1331. end
  1332. used = false
  1333. end
  1334. end)
  1335. plr.Chatted:connect(onChatted)
  1336. hed.face.Texture = "http://www.roblox.com/asset/?id=176777497"
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344. --// Head func \\--
  1345.  
  1346. New = function(Object, Parent, Name, Data)
  1347. local Object = Instance.new(Object)
  1348. for Index, Value in pairs(Data or {}) do
  1349. Object[Index] = Value
  1350. end
  1351. Object.Parent = Parent
  1352. Object.Name = Name
  1353. return Object
  1354. end
  1355.  
  1356.  
  1357. FakeHead = New("Model",chara,"FakeHead",{})
  1358. MainPart = New("Part",FakeHead,"MainPart",{BrickColor = BrickColor.new("Institutional white"),Transparency = 1,Size = Vector3.new(2, 1, 1),CFrame = CFrame.new(18, 4.50000381, -6.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1359. Mesh = New("SpecialMesh",MainPart,"Mesh",{Scale = Vector3.new(1.25, 1.25, 1.25),})
  1360. Decal = New("Decal",MainPart,"Decal",{Texture = "http://www.roblox.com/asset/?id=0",})
  1361. Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara.Head,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 3.81469727e-006, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  1362. OutfitPart = New("Part",FakeHead,"OutfitPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(2, 0.399999976, 1),CFrame = CFrame.new(18, 4.80000114, -6.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1363. Mesh = New("CylinderMesh",OutfitPart,"Mesh",{Scale = Vector3.new(1.25999999, 1, 1.25999999),})
  1364. Weld = New("ManualWeld",OutfitPart,"Weld",{Part0 = OutfitPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.29999733, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  1365. OutfitPart = New("Part",FakeHead,"OutfitPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 0.5,Transparency = 0.5,Size = Vector3.new(2, 0.399999976, 1),CFrame = CFrame.new(18, 4.79999971, -6.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1366. Mesh = New("CylinderMesh",OutfitPart,"Mesh",{Scale = Vector3.new(1.25, 1.5, 1.25),})
  1367. Weld = New("ManualWeld",OutfitPart,"Weld",{Part0 = OutfitPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.299995899, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  1368. OutfitPart = New("Part",FakeHead,"OutfitPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 0.25,Transparency = 0.25,Size = Vector3.new(2, 0.399999976, 1),CFrame = CFrame.new(18, 4.79999924, -6.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1369. Mesh = New("CylinderMesh",OutfitPart,"Mesh",{Scale = Vector3.new(1.25, 1.25, 1.25),})
  1370. Weld = New("ManualWeld",OutfitPart,"Weld",{Part0 = OutfitPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.299995422, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  1371.  
  1372.  
  1373.  
  1374.  
  1375. --// Another attacks \\--
  1376.  
  1377. local root = char.HumanoidRootPart
  1378. function teleport(key)
  1379. key = key:lower()
  1380. if key == "f" and not teleportlimit then
  1381. slashsoundglobal:Play()
  1382. teleportlimit = true
  1383. root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  1384. wait(5)
  1385. wait(0)
  1386. teleportlimit = false
  1387. end
  1388. end
  1389. mouse.KeyDown:connect(teleport)
  1390.  
  1391. local root = char.HumanoidRootPart
  1392. function laugh(key)
  1393. key = key:lower()
  1394. if key == "t" then
  1395. slashsound3:Play()
  1396. end
  1397. end
  1398. mouse.KeyDown:connect(laugh)
  1399.  
  1400.  
  1401.  
  1402. local root = char.HumanoidRootPart
  1403. function haha(key)
  1404. key = key:lower()
  1405. if key == "y" then
  1406. slashsound4:Play()
  1407. end
  1408. end
  1409. mouse.KeyDown:connect(haha)
  1410.  
  1411.  
  1412.  
  1413. function musicoff(key)
  1414. key = key:lower()
  1415. if key == "l" then
  1416. slashsound1:Stop()
  1417. end
  1418. end
  1419. mouse.KeyDown:connect(musicoff)
  1420.  
  1421. function musicon(key)
  1422. key = key:lower()
  1423. if key == "k" then
  1424. slashsound1:Play()
  1425. end
  1426. end
  1427. mouse.KeyDown:connect(musicon)
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434. --// Smoke and Body functions \\--
  1435.  
  1436. music(0)
  1437. equalizer = Instance.new("EqualizerSoundEffect",torso:FindFirstChild("MusicRuin"))
  1438.  
  1439. local size = 1
  1440.  
  1441. newWeld(torso, larm, -1.5*size, 0.5*size, 0)
  1442. larm.Weld.C1 = CFrame.new(0, 0.5*size, 0)
  1443. newWeld(torso, rarm, 1.5*size, 0.5*size, 0)
  1444. rarm.Weld.C1 = CFrame.new(0, 0.5*size, 0)
  1445. newWeld(torso, hed, 0, 1.5*size, 0)
  1446. newWeld(torso, lleg, -0.5*size, -1, 0)
  1447. lleg.Weld.C1 = CFrame.new(0, 1*size, 0)
  1448. newWeld(torso, rleg, 0.5*size, -1*size, 0)
  1449. rleg.Weld.C1 = CFrame.new(0, 1*size, 0)
  1450. newWeld(root, torso, 0, -1*size, 0)
  1451. torso.Weld.C1 = CFrame.new(0, -1*size, 0)
  1452.  
  1453. --// Knife \\--
  1454.  
  1455. HitBox = Instance.new("Part",DebrisModel)
  1456. HitBox.Size = Vector3.new(0.5,0.5,2.45)
  1457. HitBox.CanCollide = false
  1458. HitBox:BreakJoints()
  1459. HitBox.Transparency = 1
  1460. newWeld(rarm,HitBox,-0.1,-0.95,-1.2)
  1461. atch0 = Instance.new("Attachment",HitBox)
  1462. atch0.Position = Vector3.new(0,0,HitBox.Size.Z/2)
  1463. atch1 = Instance.new("Attachment",HitBox)
  1464. atch1.Position = Vector3.new(0,0,-HitBox.Size.Z/2)
  1465. trail = Instance.new("Trail",HitBox)
  1466. trail.Attachment0 = atch0
  1467. trail.Attachment1 = atch1
  1468. trail.Lifetime = 0.25
  1469. trail.Enabled = true
  1470. trail.LightEmission = 1
  1471. trail.LightInfluence = 0
  1472. trail.Color = ColorSequence.new(Color3.new(1,0,0))
  1473. trail.Transparency = NumberSequence.new(0,1)
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480. function ded(model)
  1481. kills = kills + 0
  1482. model.Archivable = true
  1483. model.Head:ClearAllChildren()
  1484. local clone = model:Clone()
  1485. clone.Parent = workspace
  1486. clone.Name = "DED"
  1487. model:Destroy()
  1488. clone:FindFirstChildOfClass("Humanoid"):Destroy()
  1489. local emitters={}
  1490. for i,v in pairs(clone:GetChildren()) do
  1491. if v:IsA("Accoutrement") then
  1492. v:Destroy()
  1493. end
  1494. if v:IsA("Part") then
  1495. v.Anchored = true
  1496. v.CanCollide = false
  1497. v.Transparency = 0.7
  1498. v.BrickColor = BrickColor.new'Really red'
  1499. local emitter = Instance.new("ParticleEmitter",v)
  1500. emitter.LightEmission = 1
  1501. emitter.Transparency = NumberSequence.new(0,1)
  1502. emitter.Size = NumberSequence.new(0,0.5)
  1503. emitter.SpreadAngle = Vector2.new(360,360)
  1504. emitter.Speed = NumberRange.new(0.5)
  1505. emitter.Lifetime = NumberRange.new(0.75)
  1506. emitter.Texture = "rbxassetid://771221224"
  1507. emitter.Rate = 300
  1508. emitter.Color = ColorSequence.new(Color3.new(255,0,0))
  1509. emitter.LockedToPart = false
  1510. table.insert(emitters,emitter)
  1511. end
  1512. end
  1513. delay(1, function()
  1514. sound(337800380,clone.Torso.Position,10,1)
  1515. for i,v in pairs(emitters) do
  1516. v.Speed = NumberRange.new(4)
  1517. v.Acceleration = Vector3.new(0,10,0)
  1518. delay(0.5, function()
  1519. v.Enabled = false
  1520. debris:AddItem(clone,0.75)
  1521. end)
  1522. end
  1523. end)
  1524. end
  1525.  
  1526. local alreadytouched = {}
  1527. HitBox.Touched:connect(function(ht)
  1528. coroutine.resume(coroutine.create(function()
  1529. local hit = ht.Parent
  1530. if mode == "determination" and hit.Name ~= "DED" and attacking == true and checkIfNotPlayer(ht) and hit:FindFirstChildOfClass("Humanoid") and hit:FindFirstChildOfClass("Humanoid").Health > 0 then
  1531. local hurt = true
  1532. for i,v in pairs(alreadytouched) do if v == hit then hurt = false end end
  1533. if hurt == true then
  1534. table.insert(alreadytouched,hit)
  1535. sound(337800380,ht.Position,10,1)
  1536. ded(hit)
  1537. end
  1538. end
  1539. end))
  1540. end)
  1541.  
  1542.  
  1543.  
  1544. handle = Instance.new("Part", char)
  1545. handle.TopSurface = "Smooth"
  1546. handle.BottomSurface = "Smooth"
  1547. handle.Material = "Neon"
  1548.  
  1549. handle.Size = Vector3.new(0.2, 0.5, 0.5)
  1550. handle.CanCollide = false
  1551.  
  1552. handle.FormFactor = "Custom"
  1553. local Weldb = Instance.new("Weld", char)
  1554. Weldb.Part0 = char["Right Arm"]
  1555. Weldb.Part1 = handle
  1556. Weldb.C1 = CFrame.new(0.1, -1, 1) * CFrame.fromEulerAnglesXYZ(-4.7, 0, 0)
  1557. local KnifeMesh = Instance.new("SpecialMesh", handle)
  1558. KnifeMesh.MeshType = "FileMesh"
  1559. KnifeMesh.MeshId = "http://www.roblox.com/asset/?id=1245215297"
  1560. KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=1245215354"
  1561.  
  1562.  
  1563. function createknife()
  1564. Model0 = Instance.new("Model")
  1565. Part1 = Instance.new("Part")
  1566. BlockMesh2 = Instance.new("BlockMesh")
  1567. Part3 = Instance.new("Part")
  1568. BlockMesh4 = Instance.new("BlockMesh")
  1569. Part5 = Instance.new("Part")
  1570. Part6 = Instance.new("Part")
  1571. BlockMesh7 = Instance.new("BlockMesh")
  1572. Part8 = Instance.new("Part")
  1573. Part9 = Instance.new("Part")
  1574. Part10 = Instance.new("Part")
  1575. SpecialMesh11 = Instance.new("SpecialMesh")
  1576. Part12 = Instance.new("Part")
  1577. Part13 = Instance.new("Part")
  1578. Model0.Parent = char
  1579. Part1.Parent = Model0
  1580. Part1.Anchored = true
  1581. Part1.Transparency =1
  1582. Part1.CanCollide = false
  1583. Part1.Size = Vector3.new(0.280000031, 0.0500000007, 0.0500000007)
  1584. Part1.CFrame = CFrame.new(49.5, 20.7350044, 52.3199997, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  1585. Part1.BottomSurface = Enum.SurfaceType.Smooth
  1586. Part1.TopSurface = Enum.SurfaceType.Smooth
  1587. Part1.Position = Vector3.new(49.5, 20.7350044, 52.3199997)
  1588. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1589. BlockMesh2.Parent = Part1
  1590. BlockMesh2.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  1591. BlockMesh2.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  1592. Part3.Parent = Model0
  1593. Part3.Anchored = true
  1594. Part3.Transparency =1
  1595. Part3.CanCollide = false
  1596. Part3.Size = Vector3.new(0.220000014, 0.0500000007, 0.0500000007)
  1597. Part3.CFrame = CFrame.new(49.5, 20.6250038, 53.6199989, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  1598. Part3.BottomSurface = Enum.SurfaceType.Smooth
  1599. Part3.TopSurface = Enum.SurfaceType.Smooth
  1600. Part3.Position = Vector3.new(49.5, 20.6250038, 53.6199989)
  1601. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1602. BlockMesh4.Parent = Part3
  1603. BlockMesh4.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  1604. BlockMesh4.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  1605. Part5.Parent = Model0
  1606. Part5.Anchored = true
  1607. Part5.Transparency =1
  1608. Part5.CanCollide = false
  1609. Part5.Size = Vector3.new(0.159999996, 0.400000006, 1.70000005)
  1610. Part5.CFrame = CFrame.new(49.5, 20.5750046, 51.4300003, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  1611. Part5.BottomSurface = Enum.SurfaceType.Smooth
  1612. Part5.TopSurface = Enum.SurfaceType.Smooth
  1613. Part5.Position = Vector3.new(49.5, 20.5750046, 51.4300003)
  1614. Part5.Color = Color3.new(1, 0, 0)
  1615. Part6.Parent = Model0
  1616. Part6.Anchored = true
  1617. Part6.Transparency =1
  1618. Part6.CanCollide = false
  1619. Part6.Size = Vector3.new(0.280000031, 0.0500000007, 0.0500000007)
  1620. Part6.CFrame = CFrame.new(49.5, 20.4150047, 52.3199997, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  1621. Part6.BottomSurface = Enum.SurfaceType.Smooth
  1622. Part6.TopSurface = Enum.SurfaceType.Smooth
  1623. Part6.Position = Vector3.new(49.5, 20.4150047, 52.3199997)
  1624. Part6.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1625. BlockMesh7.Parent = Part6
  1626. BlockMesh7.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  1627. BlockMesh7.Scale = Vector3.new(1, 0.399999797, 0.400000781)
  1628. Part8.Name = "asd"
  1629. Part8.Parent = Model0
  1630. Part8.Anchored = true
  1631. Part8.Transparency =1
  1632. Part8.CanCollide = false
  1633. Part8.Size = Vector3.new(0.200000003, 0.100000009, 1.30000007)
  1634. Part8.CFrame = CFrame.new(49.5, 20.6250038, 52.9300003, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  1635. Part8.BottomSurface = Enum.SurfaceType.Smooth
  1636. Part8.TopSurface = Enum.SurfaceType.Smooth
  1637. Part8.Position = Vector3.new(49.5, 20.6250038, 52.9300003)
  1638. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1639. Part9.Parent = Model0
  1640. Part9.Anchored = true
  1641. Part9.Transparency =1
  1642. Part9.CanCollide = false
  1643. Part9.Size = Vector3.new(0.200000003, 0.25999999, 0.100000039)
  1644. Part9.CFrame = CFrame.new(49.5, 20.595005, 53.6199989, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  1645. Part9.BottomSurface = Enum.SurfaceType.Smooth
  1646. Part9.TopSurface = Enum.SurfaceType.Smooth
  1647. Part9.Position = Vector3.new(49.5, 20.595005, 53.6199989)
  1648. Part9.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1649. Part10.Parent = Model0
  1650. Part10.Rotation = Vector3.new(0, 0, 180)
  1651. Part10.Anchored = true
  1652. Part10.Transparency =1
  1653. Part10.CanCollide = false
  1654. Part10.Size = Vector3.new(4.7, 0, 0)
  1655. 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)
  1656. Part10.BottomSurface = Enum.SurfaceType.Smooth
  1657. Part10.TopSurface = Enum.SurfaceType.Smooth
  1658. Part10.Position = Vector3.new(0.2, -1, 1)
  1659. Part10.Color = Color3.new(1, 0, 0)
  1660. SpecialMesh11.Parent = Part10
  1661. SpecialMesh11.MeshType = Enum.MeshType.Wedge
  1662. Part12.Parent = Model0
  1663. Part12.Anchored = true
  1664. Part12.Transparency =1
  1665. Part12.CanCollide = false
  1666. Part12.Size = Vector3.new(0.25999999, 0.460000008, 0.100000039)
  1667. Part12.CFrame = CFrame.new(49.5, 20.5750046, 52.3199997, 0.99999994, 0, 0, 0, 1, -5.56362707e-08, 0, 5.56362707e-08, 1)
  1668. Part12.BottomSurface = Enum.SurfaceType.Smooth
  1669. Part12.TopSurface = Enum.SurfaceType.Smooth
  1670. Part12.Position = Vector3.new(49.5, 20.5750046, 52.3199997)
  1671. Part12.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1672. weld(Model0)
  1673. for i,v in pairs(Model0:GetChildren()) do
  1674. if v:IsA("Part") and v.Color == Color3.new(1,0,0) then
  1675. v.Material = Enum.Material.Neon
  1676. end
  1677. end
  1678. return Model0
  1679. end
  1680.  
  1681. knife = createknife()
  1682. newWeld(rarm,knife.asd,0,-1,0)
  1683.  
  1684. --// Pistol \\--
  1685.  
  1686. function createpistol()
  1687. Model0 = Instance.new("Model")
  1688. Part1 = Instance.new("Part")
  1689. BlockMesh2 = Instance.new("BlockMesh")
  1690. Part3 = Instance.new("Part")
  1691. Part4 = Instance.new("Part")
  1692. Part5 = Instance.new("Part")
  1693. Part6 = Instance.new("Part")
  1694. Part7 = Instance.new("Part")
  1695. Part8 = Instance.new("Part")
  1696. Part9 = Instance.new("Part")
  1697. Part10 = Instance.new("Part")
  1698. Part11 = Instance.new("Part")
  1699. Part12 = Instance.new("Part")
  1700. Part13 = Instance.new("Part")
  1701. Part14 = Instance.new("Part")
  1702. Part15 = Instance.new("Part")
  1703. Part16 = Instance.new("Part")
  1704. Part17 = Instance.new("Part")
  1705. Part18 = Instance.new("Part")
  1706. Part19 = Instance.new("Part")
  1707. Model0.Name = "Pistol"
  1708. Model0.Parent = char
  1709. Part1.Name = "ShootPos"
  1710. Part1.Parent = Model0
  1711. Part1.BrickColor = BrickColor.new("Really black")
  1712. Part1.Anchored = true
  1713. Part1.CanCollide = false
  1714. Part1.Size = Vector3.new(0.100000001, 0.100000001, 0.0500000007)
  1715. Part1.CFrame = CFrame.new(-90, 10.5000019, 13.8957434, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1716. Part1.BottomSurface = Enum.SurfaceType.Smooth
  1717. Part1.TopSurface = Enum.SurfaceType.Smooth
  1718. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1719. Part1.Position = Vector3.new(-90, 10.5000019, 13.8957434)
  1720. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1721. BlockMesh2.Parent = Part1
  1722. BlockMesh2.Scale = Vector3.new(1, 1, 0.199999988)
  1723. BlockMesh2.Scale = Vector3.new(1, 1, 0.199999988)
  1724. Part3.Parent = Model0
  1725. Part3.BrickColor = BrickColor.new("Pearl")
  1726. Part3.Anchored = true
  1727. Part3.CanCollide = false
  1728. Part3.Size = Vector3.new(0.100000001, 0.550000012, 0.0500000007)
  1729. Part3.CFrame = CFrame.new(-90.0999985, 10.3750019, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1730. Part3.BottomSurface = Enum.SurfaceType.Smooth
  1731. Part3.TopSurface = Enum.SurfaceType.Smooth
  1732. Part3.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1733. Part3.Position = Vector3.new(-90.0999985, 10.3750019, 13.8757429)
  1734. Part3.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1735. Part4.Parent = Model0
  1736. Part4.BrickColor = BrickColor.new("Pearl")
  1737. Part4.Anchored = true
  1738. Part4.CanCollide = false
  1739. Part4.Size = Vector3.new(0.300000012, 0.349999994, 0.0500000007)
  1740. Part4.CFrame = CFrame.new(-90, 10.2750025, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1741. Part4.BottomSurface = Enum.SurfaceType.Smooth
  1742. Part4.TopSurface = Enum.SurfaceType.Smooth
  1743. Part4.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1744. Part4.Position = Vector3.new(-90, 10.2750025, 13.8757429)
  1745. Part4.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1746. Part5.Parent = Model0
  1747. Part5.BrickColor = BrickColor.new("Pearl")
  1748. Part5.Rotation = Vector3.new(15, 0, 0)
  1749. Part5.Anchored = true
  1750. Part5.CanCollide = false
  1751. Part5.Size = Vector3.new(0.200000003, 0.25, 0.150000006)
  1752. Part5.CFrame = CFrame.new(-90, 10.4379425, 15.8274469, 1, 0, 0, 0, 0.965925753, -0.258819252, 0, 0.258819252, 0.965925753)
  1753. Part5.BottomSurface = Enum.SurfaceType.Smooth
  1754. Part5.TopSurface = Enum.SurfaceType.Smooth
  1755. Part5.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1756. Part5.Position = Vector3.new(-90, 10.4379425, 15.8274469)
  1757. Part5.Orientation = Vector3.new(15, 0, 0)
  1758. Part5.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1759. Part6.Parent = Model0
  1760. Part6.BrickColor = BrickColor.new("Pearl")
  1761. Part6.Anchored = true
  1762. Part6.CanCollide = false
  1763. Part6.Size = Vector3.new(0.300000012, 0.550000012, 1.89999998)
  1764. Part6.CFrame = CFrame.new(-90, 10.3750019, 14.8507433, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1765. Part6.BottomSurface = Enum.SurfaceType.Smooth
  1766. Part6.TopSurface = Enum.SurfaceType.Smooth
  1767. Part6.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1768. Part6.Position = Vector3.new(-90, 10.3750019, 14.8507433)
  1769. Part6.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1770. Part7.Parent = Model0
  1771. Part7.BrickColor = BrickColor.new("Pearl")
  1772. Part7.Anchored = true
  1773. Part7.CanCollide = false
  1774. Part7.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
  1775. Part7.CFrame = CFrame.new(-90.0999985, 10.6750021, 15.6257429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1776. Part7.BottomSurface = Enum.SurfaceType.Smooth
  1777. Part7.TopSurface = Enum.SurfaceType.Smooth
  1778. Part7.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1779. Part7.Position = Vector3.new(-90.0999985, 10.6750021, 15.6257429)
  1780. Part7.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1781. Part8.Parent = Model0
  1782. Part8.BrickColor = BrickColor.new("Black")
  1783. Part8.Rotation = Vector3.new(-15, 0, 0)
  1784. Part8.Anchored = true
  1785. Part8.CanCollide = false
  1786. Part8.Size = Vector3.new(0.220000014, 0.5, 0.209999993)
  1787. Part8.CFrame = CFrame.new(-90, 9.71499538, 15.4898481, 1, 0, 0, 0, 0.965925872, 0.258818835, 0, -0.258818835, 0.965925872)
  1788. Part8.BottomSurface = Enum.SurfaceType.Smooth
  1789. Part8.TopSurface = Enum.SurfaceType.Smooth
  1790. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1791. Part8.Position = Vector3.new(-90, 9.71499538, 15.4898481)
  1792. Part8.Orientation = Vector3.new(-15, 0, 0)
  1793. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1794. Part9.Parent = Model0
  1795. Part9.BrickColor = BrickColor.new("Pearl")
  1796. Part9.Anchored = true
  1797. Part9.CanCollide = false
  1798. Part9.Size = Vector3.new(0.100000001, 0.550000012, 0.0500000007)
  1799. Part9.CFrame = CFrame.new(-89.9000015, 10.3750019, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1800. Part9.BottomSurface = Enum.SurfaceType.Smooth
  1801. Part9.TopSurface = Enum.SurfaceType.Smooth
  1802. Part9.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1803. Part9.Position = Vector3.new(-89.9000015, 10.3750019, 13.8757429)
  1804. Part9.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1805. Part10.Parent = Model0
  1806. Part10.BrickColor = BrickColor.new("Pearl")
  1807. Part10.Anchored = true
  1808. Part10.CanCollide = false
  1809. Part10.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
  1810. Part10.CFrame = CFrame.new(-89.9000015, 10.6750021, 15.6257429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1811. Part10.BottomSurface = Enum.SurfaceType.Smooth
  1812. Part10.TopSurface = Enum.SurfaceType.Smooth
  1813. Part10.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1814. Part10.Position = Vector3.new(-89.9000015, 10.6750021, 15.6257429)
  1815. Part10.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1816. Part11.Parent = Model0
  1817. Part11.BrickColor = BrickColor.new("Pearl")
  1818. Part11.Anchored = true
  1819. Part11.CanCollide = false
  1820. Part11.Size = Vector3.new(0.200000003, 0.150000006, 0.600000024)
  1821. Part11.CFrame = CFrame.new(-90, 9.37500191, 15.6007433, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1822. Part11.BottomSurface = Enum.SurfaceType.Smooth
  1823. Part11.TopSurface = Enum.SurfaceType.Smooth
  1824. Part11.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1825. Part11.Position = Vector3.new(-90, 9.37500191, 15.6007433)
  1826. Part11.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1827. Part12.Parent = Model0
  1828. Part12.BrickColor = BrickColor.new("Pearl")
  1829. Part12.Rotation = Vector3.new(-30, 0, 0)
  1830. Part12.Anchored = true
  1831. Part12.CanCollide = false
  1832. Part12.Size = Vector3.new(0.100000001, 0.150000006, 0.0500000007)
  1833. Part12.CFrame = CFrame.new(-90, 9.97165203, 15.1132431, 1, 0, 0, 0, 0.866025448, 0.5, 0, -0.5, 0.866025448)
  1834. Part12.BottomSurface = Enum.SurfaceType.Smooth
  1835. Part12.TopSurface = Enum.SurfaceType.Smooth
  1836. Part12.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1837. Part12.Position = Vector3.new(-90, 9.97165203, 15.1132431)
  1838. Part12.Orientation = Vector3.new(-30, 0, 0)
  1839. Part12.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1840. Part13.Parent = Model0
  1841. Part13.BrickColor = BrickColor.new("Pearl")
  1842. Part13.Anchored = true
  1843. Part13.CanCollide = false
  1844. Part13.Size = Vector3.new(0.300000012, 0.100000001, 0.0500000007)
  1845. Part13.CFrame = CFrame.new(-90, 10.6000023, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1846. Part13.BottomSurface = Enum.SurfaceType.Smooth
  1847. Part13.TopSurface = Enum.SurfaceType.Smooth
  1848. Part13.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1849. Part13.Position = Vector3.new(-90, 10.6000023, 13.8757429)
  1850. Part13.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1851. Part14.Parent = Model0
  1852. Part14.BrickColor = BrickColor.new("Pearl")
  1853. Part14.Rotation = Vector3.new(-30, 0, 0)
  1854. Part14.Anchored = true
  1855. Part14.CanCollide = false
  1856. Part14.Size = Vector3.new(0.200000003, 0.100000001, 0.25)
  1857. Part14.CFrame = CFrame.new(-90, 10.5216522, 15.9065447, 1, 0, 0, 0, 0.866025329, 0.49999997, 0, -0.49999997, 0.866025329)
  1858. Part14.BottomSurface = Enum.SurfaceType.Smooth
  1859. Part14.TopSurface = Enum.SurfaceType.Smooth
  1860. Part14.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1861. Part14.Position = Vector3.new(-90, 10.5216522, 15.9065447)
  1862. Part14.Orientation = Vector3.new(-30, 0, 0)
  1863. Part14.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1864. Part15.Parent = Model0
  1865. Part15.BrickColor = BrickColor.new("White")
  1866. Part15.Rotation = Vector3.new(-105, 0, 0)
  1867. Part15.Anchored = true
  1868. Part15.CanCollide = false
  1869. Part15.Size = Vector3.new(0.100000001, 0.200000003, 0.0500000007)
  1870. Part15.CFrame = CFrame.new(-90, 9.92812252, 15.2373915, 1, 0, 0, 0, -0.258819371, 0.965925813, 0, -0.965925813, -0.258819371)
  1871. Part15.BottomSurface = Enum.SurfaceType.Smooth
  1872. Part15.TopSurface = Enum.SurfaceType.Smooth
  1873. Part15.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1874. Part15.Position = Vector3.new(-90, 9.92812252, 15.2373915)
  1875. Part15.Orientation = Vector3.new(-75, 180, 180)
  1876. Part15.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1877. Part16.Name = "asd"
  1878. Part16.Parent = Model0
  1879. Part16.BrickColor = BrickColor.new("Pearl")
  1880. Part16.Rotation = Vector3.new(-15, 0, 0)
  1881. Part16.Anchored = true
  1882. Part16.CanCollide = false
  1883. Part16.Size = Vector3.new(0.200000003, 1.14999998, 0.400000006)
  1884. Part16.CFrame = CFrame.new(-90, 9.93709087, 15.5425692, 1, 0, 0, 0, 0.965925872, 0.258818835, 0, -0.258818835, 0.965925872)
  1885. Part16.BottomSurface = Enum.SurfaceType.Smooth
  1886. Part16.TopSurface = Enum.SurfaceType.Smooth
  1887. Part16.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1888. Part16.Position = Vector3.new(-90, 9.93709087, 15.5425692)
  1889. Part16.Orientation = Vector3.new(-15, 0, 0)
  1890. Part16.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1891. Part17.Parent = Model0
  1892. Part17.BrickColor = BrickColor.new("Pearl")
  1893. Part17.Anchored = true
  1894. Part17.CanCollide = false
  1895. Part17.Size = Vector3.new(0.100000001, 0.100000001, 0.0500000007)
  1896. Part17.CFrame = CFrame.new(-90, 10.0500021, 15.0757437, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1897. Part17.BottomSurface = Enum.SurfaceType.Smooth
  1898. Part17.TopSurface = Enum.SurfaceType.Smooth
  1899. Part17.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1900. Part17.Position = Vector3.new(-90, 10.0500021, 15.0757437)
  1901. Part17.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1902. Part18.Parent = Model0
  1903. Part18.BrickColor = BrickColor.new("Pearl")
  1904. Part18.Anchored = true
  1905. Part18.CanCollide = false
  1906. Part18.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
  1907. Part18.CFrame = CFrame.new(-90, 10.6750021, 13.8757429, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1908. Part18.BottomSurface = Enum.SurfaceType.Smooth
  1909. Part18.TopSurface = Enum.SurfaceType.Smooth
  1910. Part18.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1911. Part18.Position = Vector3.new(-90, 10.6750021, 13.8757429)
  1912. Part18.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1913. Part19.Parent = Model0
  1914. Part19.BrickColor = BrickColor.new("Pearl")
  1915. Part19.Anchored = true
  1916. Part19.CanCollide = false
  1917. Part19.Size = Vector3.new(0.400000006, 0.200000003, 1.05000007)
  1918. Part19.CFrame = CFrame.new(-90, 10.1500015, 14.4757433, 1, 0, 0, 0, 1, -2.08616257e-07, 0, 2.08616257e-07, 1)
  1919. Part19.BottomSurface = Enum.SurfaceType.Smooth
  1920. Part19.TopSurface = Enum.SurfaceType.Smooth
  1921. Part19.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1922. Part19.Position = Vector3.new(-90, 10.1500015, 14.4757433)
  1923. Part19.Color = Color3.new(0.905882, 0.905882, 0.92549)
  1924. for i,v in pairs(Model0:GetChildren()) do
  1925. if v:IsA("Part") then
  1926. v.Color = Color3.new(1,1,0)
  1927. v.Material = Enum.Material.Neon
  1928. v.Transparency = 0
  1929. v.CanCollide = false
  1930. end
  1931. end
  1932. weld(Model0)
  1933. return Model0
  1934. end
  1935.  
  1936. mode = "determination"
  1937. function justice()
  1938. mode = "justice"
  1939. for i=1,5 do rs:wait()
  1940. local asd = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,math.random(-10000,10000)/10000)
  1941. 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)
  1942. end
  1943. knife:Destroy()
  1944. pistol = createpistol()
  1945. newWeld(rarm,pistol.asd,0,-1,0)
  1946. pistol.asd.Weld.C1 = CFrame.Angles(math.rad(110),0,0)
  1947. end
  1948.  
  1949. function determination()
  1950. mode = "determination"
  1951. for i=1,5 do rs:wait()
  1952. local asd = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,math.random(-10000,10000)/10000)
  1953. 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)
  1954. end
  1955. pistol:Destroy()
  1956. knife = createknife()
  1957. newWeld(rarm,knife.asd,0,-1,0)
  1958. end
  1959.  
  1960. debounce = false
  1961. mouse.KeyDown:connect(function(key)
  1962. if debounce == false then
  1963. debounce = true
  1964. if key == "e" then
  1965. sound(160212892,root.Position,10,1)
  1966. if mode == "determination" then
  1967. justice()
  1968. elseif mode == "justice" then
  1969. determination()
  1970. end
  1971. end
  1972. delay(0,function() debounce = false end)
  1973. end
  1974. end)
  1975.  
  1976.  
  1977. --// Slash \\--
  1978.  
  1979. function slash()
  1980. local spd = 0.2
  1981. for i=1,15 do rs:wait()
  1982. 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)
  1983. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(-30),math.rad(0)), spd)
  1984. 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)
  1985. 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)
  1986. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(0),math.rad(-50),math.rad(10)), spd)
  1987. 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)
  1988. 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)
  1989. end
  1990. sound(12222208,root.Position,10,1)
  1991. attacking = true
  1992. local spd = 0.4
  1993. for i=1,5 do rs:wait()
  1994. 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)
  1995. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(80),math.rad(0)), spd)
  1996. 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)
  1997. 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)
  1998. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(0),math.rad(80),math.rad(-20)), spd)
  1999. 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)
  2000. 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)
  2001. end
  2002. end
  2003.  
  2004. mouse.Button1Down:connect(function()
  2005. if debounce == false and mode == "determination" then
  2006. alreadytouched = {}
  2007. noidle = true
  2008. debounce = true
  2009. slash()
  2010. attacking = false
  2011. noidle = false
  2012. delay(0,function() debounce = false end)
  2013. end
  2014. end)
  2015.  
  2016. --// Shooting gun \\--
  2017.  
  2018. local jumped = false
  2019. function boom()
  2020. freeze = true
  2021. sound(160212892,root.Position,10,1)
  2022. local bg = Instance.new("BodyGyro",root)
  2023. bg.Name = "lolnochara"
  2024. bg.P = 10000
  2025. bg.D = 100
  2026. bg.MaxTorque = Vector3.new(9e9,9e9,9e9)
  2027. if jumped == false then
  2028. root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  2029. bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  2030. else
  2031. root.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  2032. bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  2033. end
  2034.  
  2035. local spd = 0.2
  2036. for i=1,20 do rs:wait()
  2037. if jumped == false then
  2038. bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
  2039. else
  2040. bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  2041. end
  2042. 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)
  2043. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  2044. 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)
  2045. 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)
  2046. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  2047. 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)
  2048. 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)
  2049. end
  2050.  
  2051. bg:Destroy()
  2052.  
  2053. sound(470245800,root.Position,10,1)
  2054.  
  2055. local Part0 = Instance.new("Part",DebrisModel)
  2056. Part0.Name = "Bullet"
  2057. Part0.Material = Enum.Material.Neon
  2058. Part0.Color = Color3.new(1,1,0)
  2059. Part0.Anchored = true
  2060. local mesh = Instance.new("SpecialMesh",Part0)
  2061. mesh.MeshType = Enum.MeshType.Brick
  2062. Part0.CanCollide = false
  2063. local Position = rarm.Position
  2064. local Target = mouse.Hit.p
  2065. local direction = Target - Position
  2066. local direction = computeDirection(direction)
  2067. local ray = Ray.new(Position, (Target-Position).unit*1048)
  2068. local part, endPoint = workspace:FindPartOnRay(ray, char)
  2069. Part0.Size = Vector3.new(5,1,5)
  2070. mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude+5,1)
  2071. local pos = Position + (direction * (mesh.Scale.Y/2))
  2072. Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
  2073. local loop = nil
  2074. local i = 0
  2075. rs:connect(function()
  2076. local lole = (i/10)
  2077. mesh.Scale = Vector3.new(lole,mesh.Scale.Y,lole)
  2078. Part0.Transparency = Part0.Transparency + 0.1
  2079. i = i + 1
  2080. if Part0.Transparency >= 1 then
  2081. Part0:Destroy()
  2082. end
  2083. end)
  2084.  
  2085. if part and part.Parent:FindFirstChildOfClass("Humanoid") and checkIfNotPlayer(part) == true then
  2086. coroutine.resume(coroutine.create(function()
  2087. sound(337800380,part.Position,10,1)
  2088. ded(part.Parent)
  2089. end))
  2090. end
  2091.  
  2092. local spd = 0.5
  2093. for i=1,10 do rs:wait()
  2094. 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)
  2095. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0) *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  2096. 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)
  2097. 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)
  2098. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), spd)
  2099. 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)
  2100. 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)
  2101. end
  2102.  
  2103. freeze = false
  2104.  
  2105. end
  2106.  
  2107. mouse.Button1Down:connect(function()
  2108. if debounce == false and mode == "justice" then
  2109. alreadytouched = {}
  2110. noidle = true
  2111. debounce = true
  2112. boom()
  2113. attacking = false
  2114. noidle = false
  2115. delay(0,function() debounce = false end)
  2116. end
  2117. end)
  2118.  
  2119. --// Animation and others . . . \\--
  2120.  
  2121. velocityYFall=0
  2122. velocityYFall2=0
  2123. velocityYFall3=0
  2124. velocityYFall4=0
  2125. neckrotY=0
  2126. neckrotY2=0
  2127. torsorotY=0
  2128. torsorotY2=0
  2129. torsoY=0
  2130. torsoY2=0
  2131. colored = 0
  2132. sine = 0
  2133. change=0.4
  2134. movement=5
  2135. timeranim=0
  2136. running = false
  2137. glitched = false
  2138. backup = hed.Weld.C1
  2139. glitchedC1 = hed.Weld.C1
  2140.  
  2141. mouse.KeyDown:connect(function(key)
  2142. key = string.lower(key)
  2143. if string.byte(key) == 48 then
  2144. running = true
  2145. local keyup = mouse.KeyUp:connect(function(key)
  2146. if string.byte(key) == 48 then
  2147. running = false
  2148. end
  2149. end)
  2150. repeat rs:wait() until running == false
  2151. keyup:disconnect()
  2152. end
  2153. end)
  2154.  
  2155. icolor=1
  2156. imode=false
  2157.  
  2158. didjump = false
  2159. jumppower = 0
  2160. freeze = false
  2161. debounceimpact = false
  2162.  
  2163. function jumpimpact()
  2164. if debounceimpact == false then
  2165. debounceimpact = true
  2166. if jumppower < -150 then jumppower = -150 end
  2167. shake(-jumppower/5)
  2168. for i=1,-jumppower/20 do rs:wait()
  2169. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0), 0.05)
  2170. 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)
  2171. end
  2172. debounceimpact = false
  2173. end
  2174. end
  2175.  
  2176. local sond = nil
  2177. rs:connect(function()
  2178.  
  2179. if not torso:FindFirstChild("STATICSOUND") then
  2180. sond=Instance.new("Sound",torso)
  2181. sond.Name = "STATICSOUND"
  2182. sond.SoundId = "rbxassetid://223103466"
  2183. sond.Looped = true
  2184. sond:Play()
  2185. end
  2186.  
  2187. if icolor > 1 then
  2188. imode = false
  2189. elseif icolor < 0 then
  2190. imode = true
  2191. end
  2192.  
  2193. if imode == true then
  2194. icolor = icolor + 0.01
  2195. else
  2196. icolor = icolor - 0.01
  2197. end
  2198.  
  2199. if p.Character.Parent == nil then
  2200. local model = Instance.new("Model")
  2201. model.Name = p.Name
  2202. p.Character = model
  2203. for i,v in pairs(char:GetChildren()) do
  2204. v.Parent = p.Character
  2205. end
  2206. end
  2207.  
  2208. char = p.Character
  2209. if p.Character.Parent ~= workspace then
  2210. p.Character.Parent = workspace
  2211. end
  2212. for i,v in pairs(char:GetChildren()) do
  2213. if v:IsA("Accoutrement") then
  2214. if v.Handle:FindFirstChild("Mesh") then
  2215. v.Handle:FindFirstChild("Mesh").Offset = Vector3.new()
  2216. v.Handle.Transparency = 0
  2217. end
  2218. elseif v:IsA("BasePart") then
  2219. v.Anchored = false
  2220. if v:FindFirstChildOfClass("BodyPosition") then
  2221. v:FindFirstChildOfClass("BodyPosition"):Destroy()
  2222. end
  2223. if v:FindFirstChildOfClass("BodyVelocity") then
  2224. v:FindFirstChildOfClass("BodyVelocity"):Destroy()
  2225. end
  2226. if v:FindFirstChildOfClass("BodyGyro") and v:FindFirstChildOfClass("BodyGyro").Name ~= "lolnochara" then
  2227. v:FindFirstChildOfClass("BodyGyro"):Destroy()
  2228. end
  2229. if v:FindFirstChild("Mesh") then
  2230. v:FindFirstChild("Mesh").Offset = Vector3.new()
  2231. end
  2232. if not DebrisModel:FindFirstChild(v.Name.."FORCEFIELD") then
  2233. local force = Instance.new("Part",DebrisModel)
  2234. force.Name = v.Name.."FORCEFIELD"
  2235. force.Size = v.Size+(Vector3.new(1,1,1)*0.2)
  2236. force.CanCollide = false
  2237. force.Transparency = 1
  2238. newWeld(v,force,0,0,0)
  2239. else
  2240. if not DebrisModel:FindFirstChild(v.Name.."FORCEFIELD"):FindFirstChildOfClass("Weld") then
  2241. newWeld(v,DebrisModel:FindFirstChild(v.Name.."FORCEFIELD"),0,0,0)
  2242. end
  2243. end
  2244. if v.Name ~= "HumanoidRootPart" then
  2245. v.Transparency = 0
  2246. else
  2247. v.Transparency = 1
  2248. end
  2249. end
  2250. end
  2251.  
  2252. if mode == "determination" then
  2253. trail.Enabled = true
  2254. else
  2255. trail.Enabled = false
  2256. end
  2257.  
  2258. if freeze == false then
  2259. if running == false then
  2260. hum.WalkSpeed = 12*size
  2261. change=0.4
  2262. movement=5
  2263. else
  2264. hum.WalkSpeed = (666/10)*size
  2265. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5*size then
  2266. change=1
  2267. else
  2268. change=0.4
  2269. end
  2270. movement=15
  2271. end
  2272. else
  2273. hum.WalkSpeed = 1
  2274. change=0.4
  2275. movement=5
  2276. end
  2277.  
  2278. if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 150 then
  2279. velocityYFall = root.Velocity.Y/1.5
  2280. else
  2281. if -root.Velocity.Y/1.5 < -5 then
  2282. velocityYFall = 5
  2283. elseif -root.Velocity.Y/1.5 > 150 then
  2284. velocityYFall = -150
  2285. end
  2286. end
  2287.  
  2288. if -root.Velocity.Y/180 > 0 and -root.Velocity.Y/180 < 1.2 then
  2289. velocityYFall2 = root.Velocity.Y/180
  2290. else
  2291. if -root.Velocity.Y/180 < 0 then
  2292. velocityYFall2 = 0
  2293. elseif -root.Velocity.Y/180 > 1.2 then
  2294. velocityYFall2 = -1.2
  2295. end
  2296. end
  2297.  
  2298. if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 50 then
  2299. velocityYFall3 = root.Velocity.Y/1.5
  2300. else
  2301. if -root.Velocity.Y/1.5 < -5 then
  2302. velocityYFall3 = 5
  2303. elseif -root.Velocity.Y/1.5 > 50 then
  2304. velocityYFall3 = -50
  2305. end
  2306. end
  2307.  
  2308. if -root.Velocity.Y/1.5 > -50 and -root.Velocity.Y/1.5 < 20 then
  2309. velocityYFall4 = root.Velocity.Y/1.5
  2310. else
  2311. if -root.Velocity.Y/180 < -5 then
  2312. velocityYFall4 = 5
  2313. elseif -root.Velocity.Y/180 > 50 then
  2314. velocityYFall4 = -50
  2315. end
  2316. end
  2317.  
  2318. if root.RotVelocity.Y/6 < 1 and root.RotVelocity.Y/6 > -1 then
  2319. neckrotY = root.RotVelocity.Y/6
  2320. else
  2321. if root.RotVelocity.Y/6 < -1 then
  2322. neckrotY = -1
  2323. elseif root.RotVelocity.Y/6 > 1 then
  2324. neckrotY = 1
  2325. end
  2326. end
  2327.  
  2328. if root.RotVelocity.Y/8 < 0.6 and root.RotVelocity.Y/8 > -0.6 then
  2329. neckrotY2 = root.RotVelocity.Y/8
  2330. else
  2331. if root.RotVelocity.Y/8 < -0.6 then
  2332. neckrotY2 = -0.6
  2333. elseif root.RotVelocity.Y/8 > 0.6 then
  2334. neckrotY2 = 0.6
  2335. end
  2336. end
  2337.  
  2338. if root.RotVelocity.Y/6 < 0.2 and root.RotVelocity.Y/6 > -0.2 then
  2339. torsorotY = root.RotVelocity.Y/6
  2340. else
  2341. if root.RotVelocity.Y/6 < -0.2 then
  2342. torsorotY = -0.2
  2343. elseif root.RotVelocity.Y/6 > 0.2 then
  2344. torsorotY = 0.2
  2345. end
  2346. end
  2347.  
  2348. if root.RotVelocity.Y/8 < 0.2 and root.RotVelocity.Y/8 > -0.2 then
  2349. torsorotY2 = root.RotVelocity.Y/8
  2350. else
  2351. if root.RotVelocity.Y/8 < -0.2 then
  2352. torsorotY2 = -0.2
  2353. elseif root.RotVelocity.Y/8 > 0.2 then
  2354. torsorotY2 = 0.2
  2355. end
  2356. end
  2357.  
  2358. torsoY = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/20
  2359. torsoY2 = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/36
  2360.  
  2361. local ray1 = Ray.new(root.Position+Vector3.new(size,0,0),Vector3.new(0, -4*size, 0))
  2362. local part1, endPoint = workspace:FindPartOnRay(ray1, char)
  2363. local ray2 = Ray.new(root.Position-Vector3.new(size,0,0),Vector3.new(0, -4*size, 0))
  2364. local part2, endPoint = workspace:FindPartOnRay(ray2, char)
  2365. local ray3 = Ray.new(root.Position+Vector3.new(0,0,size/2),Vector3.new(0, -4*size, 0))
  2366. local part3, endPoint = workspace:FindPartOnRay(ray3, char)
  2367. local ray4 = Ray.new(root.Position-Vector3.new(0,0,size/2),Vector3.new(0, -4*size, 0))
  2368. local part4, endPoint = workspace:FindPartOnRay(ray4, char)
  2369. local ray = Ray.new(root.Position,Vector3.new(0, -6, 0))
  2370. local part, endPoint = workspace:FindPartOnRay(ray, char)
  2371.  
  2372. if part1 or part2 or part3 or part4 then jumped = false else endPoint = 0 jumped = true end
  2373.  
  2374. local rlegray = Ray.new(rleg.Position+Vector3.new(0,size/2,0),Vector3.new(0, -1.75*size, 0))
  2375. local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
  2376.  
  2377. local llegray = Ray.new(lleg.Position+Vector3.new(0,size/2,0),Vector3.new(0, -1.75*size, 0))
  2378. local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
  2379.  
  2380. if hum.Health > 0 and noidle == false then
  2381. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 and jumped == false then
  2382. 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)
  2383. 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)
  2384. 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)
  2385. 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)
  2386. 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)
  2387. 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)
  2388. 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)
  2389. elseif jumped == true then
  2390. didjump = true
  2391. jumppower = root.Velocity.Y
  2392. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.1) * CFrame.Angles(0,0,0), 0.4)
  2393. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-velocityYFall3/5),0,0), 0.1)
  2394. 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)
  2395. 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)
  2396. 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)
  2397. 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)
  2398. 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)
  2399. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5*size then
  2400. 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)
  2401. 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)
  2402. 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)
  2403. 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)
  2404. 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)
  2405. 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)
  2406. 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)
  2407. end
  2408. end
  2409. if didjump == true and jumped == false and jumppower < 0 then
  2410. didjump = false
  2411. jumpimpact()
  2412. end
  2413.  
  2414. local chance = math.random(0,10000)/100
  2415. if chance <= 5 + (kills/2) then
  2416. if glitched == false then
  2417. backup = hed.Weld.C1
  2418. end
  2419. if torso:FindFirstChild("MusicRuin") then
  2420. equalizer.HighGain = 0
  2421. equalizer.MidGain = -20
  2422. equalizer.LowGain = -80
  2423. end
  2424. hed.Weld.C1 = glitchedC1
  2425. local glitch_color = Color3.fromHSV(math.random(0,1000)/1000,1,1)
  2426. glitched = true
  2427. sond:Resume()
  2428. else
  2429. if glitched == true then
  2430. glitched = false
  2431. hed.Weld.C1 = backup
  2432. glitchedC1 = backup*CFrame.Angles(math.rad(math.random(-40,40)),math.rad(math.random(-40,40)),math.rad(math.random(-20,20)))
  2433. end
  2434. if torso:FindFirstChild("MusicRuin") then
  2435. equalizer.HighGain = 0
  2436. equalizer.MidGain = 0
  2437. equalizer.LowGain = 0
  2438. end
  2439. sond:Pause()
  2440. end
  2441.  
  2442.  
  2443. timeposition = soundz.TimePosition
  2444. sine = sine + change
  2445. hum.Health = math.huge
  2446. hum.MaxHealth = math.huge
  2447. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement