Advertisement
memberhero

Chainsaw Psycho FE

Aug 8th, 2018
1,110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.33 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY PSYCHO SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole");InternalData = {}InternalData.RealOwner = owner;InternalData.Version = "v1.0.0"
  6. do
  7. script.Parent = InternalData.RealOwner.Character
  8. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  9. local function createObject (connections, index)
  10. local proxy = newproxy (true);local meta = getmetatable (proxy);
  11. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  12. while (#connections > 0) do connections [table.remove (connections, 1)] = Instance.new ('BindableEvent');end;
  13. meta.__index = function (self, i)
  14. if (i == 'TriggerEvent') then return runbind end;
  15. return connections[i] and connections[i].Event or index[i];
  16. end;
  17. meta.__newindex = index;meta.__metatable = false;return proxy
  18. end;
  19. local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  20. local UserInputService = createObject({"InputBegan","InputEnded"},{})
  21. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  22. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  23. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  24. Event.OnServerEvent:Connect(function(FiredBy,Input)
  25. if FiredBy.Name ~= InternalData.RealOwner.Name then return end
  26. if Input.MouseEvent then
  27. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  28. else
  29. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  30. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  31. for _,Action in pairs(ContextActionService.Actions) do
  32. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  33. end
  34. Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  35. end
  36. end)
  37. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  38. Event.Parent = NLS([[
  39. local Player = owner;
  40. local Event = script:WaitForChild("UserInput");
  41. local UserInputService = game:GetService("UserInputService");
  42. local Mouse = Player:GetMouse();
  43. local Input = function(Input,gameProcessedEvent)
  44. if gameProcessedEvent then return end
  45. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  46. end
  47. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  48. local Hit,Target
  49. while wait(1/60) do
  50. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  51. Hit = Mouse.Hit;Target = Mouse.Target;
  52. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  53. end
  54. end
  55. ]],InternalData.RealOwner.Character)
  56. end
  57. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  58. __index = function (self,Index)
  59. if Index:lower() == 'new' then
  60. return function (Type, Parent)
  61. local Real = InternalData.RealInstance.new(Type,Parent)
  62. if not Type then return end
  63. if Type == "BillboardGui" then
  64. return setmetatable({},{
  65. __index = function (self,Index)
  66. return Real[Index]
  67. end;
  68. __newindex = function (self,Index,Value)
  69. if Index:lower() == "playertohidefrom" then
  70. if Value.Name == owner.Name then Real[Index] = InternalData.RealOwner else Real[Index] = Value end
  71. else
  72. Real[Index] = Value
  73. end
  74. end;
  75. __tostring = function(self) return tostring(Real) end;
  76. })
  77. end
  78. return Real
  79. end
  80. end
  81. return InternalData.RealInstance[Index]
  82. end;
  83. __tostring = function(self) return tostring(InternalData.RealInstance) end;
  84. });
  85. InternalData.RealGame = game;game = setmetatable({},{
  86. __index = function (self,Index)
  87. local Sandbox = function (Thing)
  88. if Thing:IsA("Player") then
  89. local RealPlayer = Thing
  90. return setmetatable({},{
  91. __index = function (self,Index)
  92. local Type = type(RealPlayer[Index])
  93. if Type == "function" then
  94. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  95. return function (self)return InternalData["Mouse"] end
  96. end
  97. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  98. elseif Index == "FakePlayer" then
  99. return true
  100. end
  101. return RealPlayer[Index]
  102. end;
  103. __tostring = function(self) return tostring(RealPlayer) end
  104. })
  105. end
  106. end
  107. if InternalData.RealGame[Index] then
  108. local Type = type(InternalData.RealGame[Index])
  109. if Type == "function" then
  110. if Index:lower() == "getservice" or Index:lower() == "service" then
  111. return function (self,Service)
  112. local FakeServices = {
  113. ["players"] = function()
  114. return setmetatable({},{
  115. __index = function (self2,Index2)
  116. local RealService = InternalData.RealGame:GetService(Service)
  117. local Type2 = type(Index2)
  118. if Type2 == "function" then
  119. return function (self,...) return RealService[Index2](RealService,...)end
  120. else
  121. if Index2:lower() == "localplayer" then return Sandbox(InternalData.RealOwner) end
  122. return RealService[Index2]
  123. end
  124. end;
  125. __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  126. })
  127. end;
  128. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  129. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  130. ["runservice"] = function()
  131. return setmetatable({},{
  132. __index = function(self2,Index2)
  133. local RealService = InternalData.RealGame:GetService(Service)
  134. local Type2 = type(Index2)
  135. if Type2 == "function" then
  136. return function (self,...) return RealService[Index2](RealService,...) end
  137. else
  138. local RunServices = {
  139. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  140. ["renderstepped"] = function() return RealService["Stepped"] end
  141. }
  142. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  143. return RealService[Index2]
  144. end
  145. end;
  146. __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  147. })
  148. end
  149. }
  150. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  151. return InternalData.RealGame:GetService(Service)
  152. end
  153. end
  154. return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  155. else
  156. if game:GetService(Index) then return game:GetService(Index) end
  157. return InternalData.RealGame[Index]
  158. end
  159. end
  160. return nil
  161. end;
  162. __tostring = function(self) return tostring(InternalData.game) end
  163. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  164.  
  165. --//Paste script below this line.
  166.  
  167.  
  168. wait(1)
  169.  
  170.  
  171.  
  172. Player = game:GetService("Players").LocalPlayer
  173. PlayerGui = Player.PlayerGui
  174. Cam = workspace.CurrentCamera
  175. Backpack = Player.Backpack
  176. Character = Player.Character
  177. Humanoid = Character.Humanoid
  178. Mouse = Player:GetMouse()
  179. RootPart = Character["HumanoidRootPart"]
  180. Torso = Character["Torso"]
  181. Head = Character["Head"]
  182. RightArm = Character["Right Arm"]
  183. LeftArm = Character["Left Arm"]
  184. RightLeg = Character["Right Leg"]
  185. LeftLeg = Character["Left Leg"]
  186. RootJoint = RootPart["RootJoint"]
  187. Neck = Torso["Neck"]
  188. RightShoulder = Torso["Right Shoulder"]
  189. LeftShoulder = Torso["Left Shoulder"]
  190. RightHip = Torso["Right Hip"]
  191. LeftHip = Torso["Left Hip"]
  192. hasdied = false
  193. demon = false
  194.  
  195. IT = Instance.new
  196. CF = CFrame.new
  197. VT = Vector3.new
  198. RAD = math.rad
  199. C3 = Color3.new
  200. UD2 = UDim2.new
  201. BRICKC = BrickColor.new
  202. ANGLES = CFrame.Angles
  203. EULER = CFrame.fromEulerAnglesXYZ
  204. COS = math.cos
  205. ACOS = math.acos
  206. SIN = math.sin
  207. ASIN = math.asin
  208. ABS = math.abs
  209. MRANDOM = math.random
  210. FLOOR = math.floor
  211.  
  212. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  213. local NEWMESH = IT(MESH)
  214. if MESH == "SpecialMesh" then
  215. NEWMESH.MeshType = MESHTYPE
  216. if MESHID ~= "nil" and MESHID ~= "" then
  217. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  218. end
  219. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  220. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  221. end
  222. end
  223. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  224. NEWMESH.Scale = SCALE
  225. NEWMESH.Parent = PARENT
  226. return NEWMESH
  227. end
  228.  
  229. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  230. local NEWPART = IT("Part")
  231. NEWPART.formFactor = FORMFACTOR
  232. NEWPART.Reflectance = REFLECTANCE
  233. NEWPART.Transparency = TRANSPARENCY
  234. NEWPART.CanCollide = false
  235. NEWPART.Locked = true
  236. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  237. NEWPART.Name = NAME
  238. NEWPART.Size = SIZE
  239. NEWPART.Position = Torso.Position
  240. NEWPART.Material = MATERIAL
  241. NEWPART:BreakJoints()
  242. NEWPART.Parent = PARENT
  243. return NEWPART
  244. end
  245.  
  246.  
  247. --//=================================\\
  248. --|| CUSTOMIZATION
  249. --\\=================================//
  250.  
  251. Class_Name = "Chainiac"
  252. Weapon_Name = "Chainiac"
  253.  
  254. Custom_Colors = {
  255. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  256. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  257.  
  258. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  259. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  260. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  261. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  262. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  263.  
  264. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  265. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  266. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  267. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  268. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  269. }
  270.  
  271. Mana_Bar_Background_Transparency = 0 --Transparency for the background of the mana bar.
  272. Secondary_Mana_Bar_Background_Transparency = 0 --Transparency for the background of the secondary mana bar.
  273. Health_Bar_Background_Transparency = 0 --Transparency for the background of the health bar.
  274. Stun_Bar_Background_Transparency = 0 --Transparency for the background of the stun bar.
  275. Ability_Background_Transparency = 0 --Transparency for the background of the abilities.
  276. Stat_Background_Transparency = 0 --Transparency for the background of the stats.
  277.  
  278. Player_Size = 1 --Size of the player.
  279. Animation_Speed = 5.2
  280. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  281.  
  282. Enable_Gui = false --Enables or disables the Weapon Gui. Also functions as hiding or showing the Gui.
  283. Enable_Stats = false --Enables or disables stats.
  284. Put_Stats_In_Character = false --Places stats in Character.
  285. Enable_Stagger_Hit = false --Enables or disables staggering when hitting a hitbox of some sort.
  286. Play_Hitbox_Hit_Sound = true --Plays a hit sound when hitting a hitbox of some sort.
  287. Enable_Stagger = false --Enables or disables staggering.
  288. Enable_Stun = false --Enables or disables the stun mechanic.
  289. Enable_Abilities = false --Enables abilites with cooldowns and mana costs.
  290. Enable_Secondary_Bar = false --Enables the secondary mana bar, if true.
  291.  
  292. Start_Equipped = false --Starts the player equipped with their weapon.
  293. Start_Equipped_With_Equipped_Animation = false --Used in conjunction with the above option. Starts your equip animation.
  294. Can_Equip_Or_Unequip = false --Enables or disables the ability to unequip or equip your weapon.
  295. Disable_Animator = false --Disables the Animator in the humanoid.
  296. Disable_Animate = true --Disables the Animate script in the character.
  297. Disable_Moving_Arms = false --Keeps the arms from moving around.
  298. Use_Motors_Instead_Of_Welds = false --Uses motors instead of welds to disable moving arms.
  299. Walkspeed_Depends_On_Movement_Value = false --Walkspeed depends on movement value. Self-explanatory.
  300. Disable_Jump = false --Disables jumping.
  301. Use_HopperBin = false --Uses a hopperbin to do things.
  302.  
  303. Cooldown_1 = 0 --Cooldowns for abilites.
  304. Cooldown_2 = 0
  305. Cooldown_3 = 0
  306. Cooldown_4 = 0
  307. Skill_1_Mana_Cost = 0 --How much mana is required to use the skill.
  308. Skill_2_Mana_Cost = 0
  309. Skill_3_Mana_Cost = 0
  310. Skill_4_Mana_Cost = 0
  311. Max_Mana = 0 --Maximum amount of mana you can have.
  312. Max_Secondary_Mana = 0 --Maximum amount of secondary mana you can have.
  313. Mana_Name = "Mana" --Name for the mana bar.
  314. Secondary_Mana_Name = "Block" --Name for the secondary mana bar.
  315. Max_Stun = 1 --Maximum amount of stun you can have.
  316. Recover_Mana = 0 --How much mana you gain.
  317. Mana_Regen_Mode = "1" --Basically switches from one mana regen system to another.
  318. Secondary_Mana_Regen_Mode = "1" --Basically switches from one secondary mana regen system to another.
  319. Stun_Lose_Mode = "1" --Basically switches from one secondary stun loss system to another.
  320. Recover_Secondary_Mana = 0 --How much secondary mana you gain.
  321. Lose_Stun = 0 --How much stun you lose.
  322. Stun_Wait = 0 --Delay between losing stun.
  323. Mana_Wait = 0 --Delay between gaining mana.
  324. Secondary_Mana_Wait = 0 --Delay between gaining secondary mana.
  325. Menu_Update_Speed = 0 --How fast the Weapon Gui will update.
  326. Constant_Update = false --Removes the delay between updating the Weapon GUI.
  327. Show_Stats = false --Hides or shows stats.
  328. Stat_Offset = 0.74 --For cosmetic purposes. {0.74, 0.78}
  329.  
  330. --//=================================\\
  331. --|| END OF CUSTOMIZATION
  332. --\\=================================//
  333.  
  334. local function weldBetween(a, b)
  335. local weldd = Instance.new("ManualWeld")
  336. weldd.Part0 = a
  337. weldd.Part1 = b
  338. weldd.C0 = CFrame.new()
  339. weldd.C1 = b.CFrame:inverse() * a.CFrame
  340. weldd.Parent = a
  341. return weldd
  342. end
  343.  
  344. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  345. local acs = Instance.new("Part")
  346. acs.CanCollide = false
  347. acs.Anchored = false
  348. acs.Size = Vector3.new(0,0,0)
  349. acs.CFrame = attachmentpart.CFrame
  350. acs.Parent = Character
  351. acs.BrickColor = color
  352. local meshs = Instance.new("SpecialMesh")
  353. meshs.MeshId = mesh
  354. meshs.TextureId = texture
  355. meshs.Parent = acs
  356. meshs.Scale = scale
  357. meshs.Offset = offset
  358. weldBetween(attachmentpart,acs)
  359. end
  360.  
  361. local accessories = Instance.new("Folder",Character)
  362. accessories.Name = "Add-ons"
  363.  
  364. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  365. if TYPE == "Gem" then
  366. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  367. acs.Anchored = false
  368. acs.CanCollide = false
  369. acs.CFrame = PART.CFrame
  370. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  371. weldBetween(PART,acs)
  372. elseif TYPE == "Skull" then
  373. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  374. acs.Anchored = false
  375. acs.CanCollide = false
  376. acs.CFrame = PART.CFrame
  377. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  378. weldBetween(PART,acs)
  379. elseif TYPE == "Eye" then
  380. local acs = CreatePart(3, accessories, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  381. acs.Anchored = false
  382. acs.CanCollide = false
  383. acs.CFrame = PART.CFrame
  384. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  385. weldBetween(PART,acs)
  386. end
  387. end
  388.  
  389. --//=================================\\
  390. --|| USEFUL VALUES
  391. --\\=================================//
  392.  
  393. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  394. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  395. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  396. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  397. local CO1 = 0
  398. local CO2 = 0
  399. local CO3 = 0
  400. local CO4 = 0
  401. local KEYHOLD = false
  402. local CHANGEDEFENSE = 0
  403. local CHANGEDAMAGE = 0
  404. local CHANGEMOVEMENT = 0
  405. local ANIM = "Idle"
  406. local ATTACK = false
  407. local EQUIPPED = false
  408. local HOLD = false
  409. local COMBO = 1
  410. local LASTPOINT = nil
  411. local BLCF = nil
  412. local SCFR = nil
  413. local STAGGERHITANIM = false
  414. local STAGGERANIM = false
  415. local STUNANIM = false
  416. local CRITCHANCENUMBER = 0
  417. local IDLENUMBER = 0
  418. local DONUMBER = 0
  419. local HANDIDLE = false
  420. local SINE = 0
  421. local CHANGE = 2 / Animation_Speed
  422. local WALKINGANIM = false
  423. local WALK = 0
  424. local DISABLEJUMPING = false
  425. local HASBEENBLOCKED = false
  426. local INTRODONE = false
  427. local STUNDELAYNUMBER = 0
  428. local MANADELAYNUMBER = 0
  429. local SECONDARYMANADELAYNUMBER = 0
  430. local ROBLOXIDLEANIMATION = IT("Animation")
  431. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  432. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  433. --ROBLOXIDLEANIMATION.Parent = Humanoid
  434. local WEAPONGUI = IT("ScreenGui", nil)
  435. WEAPONGUI.Name = "Weapon GUI"
  436. local WEAPONTOOL = IT("HopperBin", nil)
  437. WEAPONTOOL.Name = Weapon_Name
  438. local Weapon = IT("Model")
  439. Weapon.Name = Weapon_Name
  440. local Effects = IT("Folder", Weapon)
  441. Effects.Name = "Effects"
  442. local ANIMATOR = Humanoid.Animator
  443. local ANIMATE = Character.Animate
  444. local HITPLAYERSOUNDS = {"703633905","264486467","356551938"}
  445. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  446. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  447. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  448. local CHAINSAWIDLE = Instance.new("Sound",Torso)
  449. CHAINSAWIDLE.SoundId = "rbxassetid://1165167610"
  450. CHAINSAWIDLE.Volume = 3
  451. CHAINSAWIDLE.Looped = true
  452. local REV = Instance.new("Sound",Torso)
  453. REV.SoundId = "rbxassetid://1165167936"
  454. REV.Looped = true
  455. REV.Volume = 1.6
  456. local CHAINSAWSTRIKE = Instance.new("Sound",Torso)
  457. CHAINSAWSTRIKE.Playing = false
  458. CHAINSAWSTRIKE.SoundId = "rbxassetid://862701802"
  459. local Taunt1 = Instance.new("Sound",Torso)
  460. Taunt1.Volume = 3
  461. Taunt1.SoundId = "rbxassetid://834001699"
  462. local Taunt2 = Instance.new("Sound",Torso)
  463. Taunt2.Volume = 3
  464. Taunt2.SoundId = "rbxassetid://834001752"
  465. local Taunt3 = Instance.new("Sound",Torso)
  466. Taunt3.Volume = 3
  467. Taunt3.SoundId = "rbxassetid://834001797"
  468. local Taunt4 = Instance.new("Sound",Torso)
  469. Taunt4.Volume = 3
  470. Taunt4.SoundId = "rbxassetid://834001828"
  471. local TAUNTS = {Taunt1,Taunt2,Taunt3,Taunt4}
  472. local FRESHMEAT = Instance.new("Sound",Torso)
  473. FRESHMEAT.Playing = false
  474. FRESHMEAT.Volume = 5
  475. FRESHMEAT.SoundId = "rbxassetid://2767085"
  476. local sick = Instance.new("Sound",Character)
  477. sick.SoundId = "rbxassetid://1120185600"
  478. sick.Looped = true
  479. sick.Pitch = 0.6
  480. sick.Volume = 1
  481. --//=================================\\
  482. --\\=================================//
  483.  
  484. --//=================================\\
  485. --|| STATS
  486. --\\=================================//
  487.  
  488. if Character:FindFirstChild("Stats") ~= nil then
  489. Character:FindFirstChild("Stats").Parent = nil
  490. end
  491.  
  492. local Stats = IT("Folder", nil)
  493. Stats.Name = "Stats"
  494. local ChangeStat = IT("Folder", Stats)
  495. ChangeStat.Name = "ChangeStat"
  496. local Defense = IT("NumberValue", Stats)
  497. Defense.Name = "Defense"
  498. Defense.Value = 1
  499. local Movement = IT("NumberValue", Stats)
  500. Movement.Name = "Movement"
  501. Movement.Value = 1
  502. local Damage = IT("NumberValue", Stats)
  503. Damage.Name = "Damage"
  504. Damage.Value = 1
  505. local Mana = IT("NumberValue", Stats)
  506. Mana.Name = "Mana"
  507. Mana.Value = 0
  508. local SecondaryMana = IT("NumberValue", Stats)
  509. SecondaryMana.Name = "SecondaryMana"
  510. SecondaryMana.Value = 0
  511. local CanCrit = IT("BoolValue", Stats)
  512. CanCrit.Name = "CanCrit"
  513. CanCrit.Value = false
  514. local CritChance = IT("NumberValue", Stats)
  515. CritChance.Name = "CritChance"
  516. CritChance.Value = 20
  517. local CanPenetrateArmor = IT("BoolValue", Stats)
  518. CanPenetrateArmor.Name = "CanPenetrateArmor"
  519. CanPenetrateArmor.Value = false
  520. local AntiTeamKill = IT("BoolValue", Stats)
  521. AntiTeamKill.Name = "AntiTeamKill"
  522. AntiTeamKill.Value = false
  523. local Rooted = IT("BoolValue", Stats)
  524. Rooted.Name = "Rooted"
  525. Rooted.Value = false
  526. local Block = IT("BoolValue", Stats)
  527. Block.Name = "Block"
  528. Block.Value = false
  529. local RecentEnemy = IT("ObjectValue", Stats)
  530. RecentEnemy.Name = "RecentEnemy"
  531. RecentEnemy.Value = nil
  532. local StaggerHit = IT("BoolValue", Stats)
  533. StaggerHit.Name = "StaggerHit"
  534. StaggerHit.Value = false
  535. local Stagger = IT("BoolValue", Stats)
  536. Stagger.Name = "Stagger"
  537. Stagger.Value = false
  538. local Stun = IT("BoolValue", Stats)
  539. Stun.Name = "Stun"
  540. Stun.Value = false
  541. local StunValue = IT("NumberValue", Stats)
  542. StunValue.Name = "StunValue"
  543. StunValue.Value = 0
  544.  
  545. if Enable_Stats == true and Put_Stats_In_Character == true then
  546. Stats.Parent = Character
  547. end
  548.  
  549. --//=================================\\
  550. --\\=================================//
  551.  
  552.  
  553.  
  554.  
  555.  
  556. --//=================================\\
  557. --|| DEBUFFS / BUFFS
  558. --\\=================================//
  559.  
  560. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  561. DEFENSECHANGE1.Name = "ChangeDefense"
  562. DEFENSECHANGE1.Value = 0
  563.  
  564. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  565. MOVEMENTCHANGE1.Name = "ChangeMovement"
  566. MOVEMENTCHANGE1.Value = 0
  567.  
  568. --//=================================\\
  569. --\\=================================//
  570.  
  571.  
  572.  
  573.  
  574.  
  575. --//=================================\\
  576. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  577. --\\=================================//
  578.  
  579. ArtificialHB = Instance.new("BindableEvent", script)
  580. ArtificialHB.Name = "ArtificialHB"
  581.  
  582. script:WaitForChild("ArtificialHB")
  583.  
  584. frame = Frame_Speed
  585. tf = 0
  586. allowframeloss = false
  587. tossremainder = false
  588. lastframe = tick()
  589. script.ArtificialHB:Fire()
  590.  
  591. game:GetService("RunService").Heartbeat:connect(function(s, p)
  592. tf = tf + s
  593. if tf >= frame then
  594. if allowframeloss then
  595. script.ArtificialHB:Fire()
  596. lastframe = tick()
  597. else
  598. for i = 1, math.floor(tf / frame) do
  599. script.ArtificialHB:Fire()
  600. end
  601. lastframe = tick()
  602. end
  603. if tossremainder then
  604. tf = 0
  605. else
  606. tf = tf - frame * math.floor(tf / frame)
  607. end
  608. end
  609. end)
  610.  
  611. --//=================================\\
  612. --\\=================================//
  613.  
  614.  
  615.  
  616.  
  617.  
  618. --//=================================\\
  619. --|| SOME FUNCTIONS
  620. --\\=================================//
  621.  
  622. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  623. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  624. end
  625.  
  626. function PositiveAngle(NUMBER)
  627. if NUMBER >= 0 then
  628. NUMBER = 0
  629. end
  630. return NUMBER
  631. end
  632.  
  633. function NegativeAngle(NUMBER)
  634. if NUMBER <= 0 then
  635. NUMBER = 0
  636. end
  637. return NUMBER
  638. end
  639.  
  640. function Swait(NUMBER)
  641. if NUMBER == 0 or NUMBER == nil then
  642. ArtificialHB.Event:wait()
  643. else
  644. for i = 1, NUMBER do
  645. ArtificialHB.Event:wait()
  646. end
  647. end
  648. end
  649.  
  650. function QuaternionFromCFrame(cf)
  651. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  652. local trace = m00 + m11 + m22
  653. if trace > 0 then
  654. local s = math.sqrt(1 + trace)
  655. local recip = 0.5 / s
  656. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  657. else
  658. local i = 0
  659. if m11 > m00 then
  660. i = 1
  661. end
  662. if m22 > (i == 0 and m00 or m11) then
  663. i = 2
  664. end
  665. if i == 0 then
  666. local s = math.sqrt(m00 - m11 - m22 + 1)
  667. local recip = 0.5 / s
  668. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  669. elseif i == 1 then
  670. local s = math.sqrt(m11 - m22 - m00 + 1)
  671. local recip = 0.5 / s
  672. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  673. elseif i == 2 then
  674. local s = math.sqrt(m22 - m00 - m11 + 1)
  675. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  676. end
  677. end
  678. end
  679.  
  680. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  681. local xs, ys, zs = x + x, y + y, z + z
  682. local wx, wy, wz = w * xs, w * ys, w * zs
  683. local xx = x * xs
  684. local xy = x * ys
  685. local xz = x * zs
  686. local yy = y * ys
  687. local yz = y * zs
  688. local zz = z * zs
  689. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  690. end
  691.  
  692. function QuaternionSlerp(a, b, t)
  693. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  694. local startInterp, finishInterp;
  695. if cosTheta >= 0.0001 then
  696. if (1 - cosTheta) > 0.0001 then
  697. local theta = ACOS(cosTheta)
  698. local invSinTheta = 1 / SIN(theta)
  699. startInterp = SIN((1 - t) * theta) * invSinTheta
  700. finishInterp = SIN(t * theta) * invSinTheta
  701. else
  702. startInterp = 1 - t
  703. finishInterp = t
  704. end
  705. else
  706. if (1 + cosTheta) > 0.0001 then
  707. local theta = ACOS(-cosTheta)
  708. local invSinTheta = 1 / SIN(theta)
  709. startInterp = SIN((t - 1) * theta) * invSinTheta
  710. finishInterp = SIN(t * theta) * invSinTheta
  711. else
  712. startInterp = t - 1
  713. finishInterp = t
  714. end
  715. end
  716. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  717. end
  718.  
  719. function Clerp(a, b, t)
  720. local qa = {QuaternionFromCFrame(a)}
  721. local qb = {QuaternionFromCFrame(b)}
  722. local ax, ay, az = a.x, a.y, a.z
  723. local bx, by, bz = b.x, b.y, b.z
  724. local _t = 1 - t
  725. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  726. end
  727.  
  728. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  729. local frame = IT("Frame")
  730. frame.BackgroundTransparency = TRANSPARENCY
  731. frame.BorderSizePixel = BORDERSIZEPIXEL
  732. frame.Position = POSITION
  733. frame.Size = SIZE
  734. frame.BackgroundColor3 = COLOR
  735. frame.BorderColor3 = BORDERCOLOR
  736. frame.Name = NAME
  737. frame.Parent = PARENT
  738. return frame
  739. end
  740.  
  741. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  742. local label = IT("TextLabel")
  743. label.BackgroundTransparency = 1
  744. label.Size = UD2(1, 0, 1, 0)
  745. label.Position = UD2(0, 0, 0, 0)
  746. label.TextColor3 = C3(255, 255, 255)
  747. label.TextStrokeTransparency = STROKETRANSPARENCY
  748. label.TextTransparency = TRANSPARENCY
  749. label.FontSize = TEXTFONTSIZE
  750. label.Font = TEXTFONT
  751. label.BorderSizePixel = BORDERSIZEPIXEL
  752. label.TextScaled = true
  753. label.Text = TEXT
  754. label.Name = NAME
  755. label.Parent = PARENT
  756. return label
  757. end
  758.  
  759. function NoOutlines(PART)
  760. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  761. end
  762.  
  763.  
  764. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  765. local NEWWELD = IT(TYPE)
  766. NEWWELD.Part0 = PART0
  767. NEWWELD.Part1 = PART1
  768. NEWWELD.C0 = C0
  769. NEWWELD.C1 = C1
  770. NEWWELD.Parent = PARENT
  771. return NEWWELD
  772. end
  773.  
  774. function CreateSound(ID, PARENT, VOLUME, PITCH)
  775. coroutine.resume(coroutine.create(function()
  776. local NEWSOUND = IT("Sound", PARENT)
  777. NEWSOUND.Volume = VOLUME
  778. NEWSOUND.Pitch = PITCH
  779. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  780. Swait()
  781. NEWSOUND:play()
  782. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  783. end))
  784. end
  785.  
  786. function CFrameFromTopBack(at, top, back)
  787. local right = top:Cross(back)
  788. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  789. end
  790.  
  791. function Lightning(POSITION1, POSITION2, MULTIPLIERTIME, LIGHTNINGDELAY, OFFSET, BRICKCOLOR, MATERIAL, SIZE, TRANSPARENCY, LASTINGTIME)
  792. local MAGNITUDE = (POSITION1 - POSITION2).magnitude
  793. local CURRENTPOSITION = POSITION1
  794. local LIGHTNINGOFFSET = {-OFFSET, OFFSET}
  795. coroutine.resume(coroutine.create(function()
  796. for i = 1, MULTIPLIERTIME do
  797. local LIGHTNINGPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR,"Effect", VT(SIZE * Player_Size, SIZE * Player_Size, MAGNITUDE / MULTIPLIERTIME))
  798. LIGHTNINGPART.Anchored = true
  799. local LIGHTNINGOFFSET2 = VT(LIGHTNINGOFFSET[MRANDOM(1, 2)], LIGHTNINGOFFSET[MRANDOM(1, 2)], LIGHTNINGOFFSET[MRANDOM(1, 2)])
  800. local LIGHTNINGPOSITION1 = CF(CURRENTPOSITION, POSITION2) * CF(0, 0, MAGNITUDE / MULTIPLIERTIME).p + LIGHTNINGOFFSET2
  801. if MULTIPLIERTIME == i then
  802. local LIGHTNINGMAGNITUDE1 = (CURRENTPOSITION - POSITION2).magnitude
  803. LIGHTNINGPART.Size = VT(SIZE * Player_Size, SIZE * Player_Size, LIGHTNINGMAGNITUDE1)
  804. LIGHTNINGPART.CFrame = CF(CURRENTPOSITION, POSITION2) * CF(0, 0, -LIGHTNINGMAGNITUDE1 / 2)
  805. else
  806. LIGHTNINGPART.CFrame = CF(CURRENTPOSITION, LIGHTNINGPOSITION1) * CF(0, 0, MAGNITUDE / MULTIPLIERTIME / 2)
  807. end
  808. CURRENTPOSITION=LIGHTNINGPART.CFrame * CF(0, 0, MAGNITUDE / MULTIPLIERTIME / 2).p
  809. game.Debris:AddItem(LIGHTNINGPART, LASTINGTIME)
  810. coroutine.resume(coroutine.create(function()
  811. while LIGHTNINGPART.Transparency ~= 1 do
  812. --local StartTransparency = tra
  813. for i=0, 1, LASTINGTIME do
  814. Swait()
  815. LIGHTNINGPART.Transparency = LIGHTNINGPART.Transparency + (0.1 / LASTINGTIME)
  816. end
  817. end
  818. end))
  819. Swait(LIGHTNINGDELAY / Animation_Speed)
  820. end
  821. end))
  822. end
  823.  
  824. --[[Usage:
  825. local Pos = Part
  826. local Offset = Part.CFrame * CF(0, 0, 0)
  827. local Color = "Institutional white"
  828. local Material = "Neon"
  829. local TheDelay = 0.01
  830. local Height = 4
  831. BLCF = Offset
  832. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  833. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  834. if a then game:GetService("Debris"):AddItem(a, 1) end
  835. if b then game:GetService("Debris"):AddItem(b, 1) end
  836. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  837. if a then game:GetService("Debris"):AddItem(a, 1) end
  838. if b then game:GetService("Debris"):AddItem(b, 1) end
  839. SCFR = BLCF
  840. elseif not SCFR then
  841. SCFR = BLCF
  842. end
  843. --
  844. BLCF = nil
  845. SCFR = nil
  846. --]]
  847.  
  848. --//=================================\\
  849. --\\=================================//
  850.  
  851.  
  852.  
  853.  
  854.  
  855. --//=================================\\
  856. --|| RESIZE PLAYER
  857. --\\=================================//
  858.  
  859. if Player_Size ~= 1 then
  860. RootPart.Size = RootPart.Size * Player_Size
  861. Torso.Size = Torso.Size * Player_Size
  862. Head.Size = Head.Size * Player_Size
  863. RightArm.Size = RightArm.Size * Player_Size
  864. LeftArm.Size = LeftArm.Size * Player_Size
  865. RightLeg.Size = RightLeg.Size * Player_Size
  866. LeftLeg.Size = LeftLeg.Size * Player_Size
  867. RootJoint.Parent = RootPart
  868. Neck.Parent = Torso
  869. RightShoulder.Parent = Torso
  870. LeftShoulder.Parent = Torso
  871. RightHip.Parent = Torso
  872. LeftHip.Parent = Torso
  873.  
  874. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  875. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  876. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  877. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  878. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  879. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  880. if Disable_Moving_Arms == false then
  881. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  882. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  883. else
  884. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  885. LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  886. end
  887. RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  888. LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  889. RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  890. LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  891. --------------------
  892. end
  893.  
  894.  
  895. --//=================================\\
  896. --\\=================================//
  897.  
  898.  
  899.  
  900.  
  901. --//=================================\\
  902. --|| WEAPON CREATION
  903. --\\=================================//
  904.  
  905. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really black", "Handle", VT(0.25*Player_Size,0.25*Player_Size,1.5*Player_Size))
  906. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  907. local chainsaw = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Reddish brown", "Handle", VT(1.2*Player_Size,1.2*Player_Size,5*Player_Size))
  908. local axeweld = CreateWeldOrSnapOrMotor("Weld", HandlePart, chainsaw, HandlePart, CF(0 * Player_Size, 0 * Player_Size, 1.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  909. local HandleMesh = CreateMesh("SpecialMesh", chainsaw, "FileMesh", "2766469", "184182370", VT(1.3, 1.3, 1.3), VT(0, 0 * Player_Size, 0))
  910. local chainsawoverlay = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really red", "Handle", VT(1.2*Player_Size,1.2*Player_Size,5*Player_Size))
  911. local axeweld = CreateWeldOrSnapOrMotor("Weld", HandlePart, chainsawoverlay, HandlePart, CF(0 * Player_Size, 0 * Player_Size, 1.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  912. local HandleMesh = CreateMesh("SpecialMesh", chainsawoverlay, "FileMesh", "2766469", "", VT(1.4, 1.6, 1.35), VT(0, 0 * Player_Size, 0))
  913.  
  914. if Player_Size ~= 1 then
  915. for _, v in pairs (Weapon:GetChildren()) do
  916. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  917. local p1 = v.Part1
  918. v.Part1 = nil
  919. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  920. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  921. v.Part1 = p1
  922. elseif v.ClassName == "Part" then
  923. for _, b in pairs (v:GetChildren()) do
  924. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  925. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  926. end
  927. end
  928. end
  929. end
  930. end
  931.  
  932. for _, c in pairs(Weapon:GetChildren()) do
  933. if c.ClassName == "Part" then
  934. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  935. end
  936. end
  937.  
  938. Weapon.Parent = Character
  939.  
  940. Humanoid.Died:connect(function()
  941. ATTACK = true
  942. end)
  943.  
  944. print(Class_Name.." loaded.")
  945.  
  946. --//=================================\\
  947. --\\=================================//
  948.  
  949.  
  950. --//=================================\\
  951. --|| WEAPON GUI
  952. --\\=================================//
  953.  
  954.  
  955.  
  956. --//=================================\\
  957. --\\=================================//
  958.  
  959.  
  960.  
  961.  
  962.  
  963. --//=================================\\
  964. --|| SKILL FUNCTIONS
  965. --\\=================================//
  966.  
  967. function UpdateSkillsAndStuff()
  968. if Mana_Regen_Mode == "1" then
  969. if Mana.Value >= Max_Mana then
  970. Mana.Value = Max_Mana
  971. elseif Mana.Value < 0 then
  972. Mana.Value = 0
  973. else
  974. if MANADELAYNUMBER <= Mana_Wait then
  975. MANADELAYNUMBER = MANADELAYNUMBER + 1
  976. else
  977. MANADELAYNUMBER = 0
  978. Mana.Value = Mana.Value + Recover_Mana
  979. end
  980. end
  981. elseif Mana_Regen_Mode == "2" then
  982. if Mana.Value <= Max_Mana then
  983. Mana.Value = Mana.Value + (Recover_Mana / 30) / Animation_Speed
  984. elseif Mana.Value >= Max_Mana then
  985. Mana.Value = Max_Mana
  986. elseif Mana.Value < 0 then
  987. Mana.Value = 0
  988. end
  989. end
  990. if Enable_Secondary_Bar == true then
  991. if Secondary_Mana_Regen_Mode == "1" then
  992. if SecondaryMana.Value >= Max_Secondary_Mana then
  993. SecondaryMana.Value = Max_Secondary_Mana
  994. elseif SecondaryMana.Value < 0 then
  995. SecondaryMana.Value = 0
  996. else
  997. if SECONDARYMANADELAYNUMBER <= Secondary_Mana_Wait then
  998. SECONDARYMANADELAYNUMBER = SECONDARYMANADELAYNUMBER + 1
  999. else
  1000. SECONDARYMANADELAYNUMBER = 0
  1001. SecondaryMana.Value = SecondaryMana.Value + Recover_Secondary_Mana
  1002. end
  1003. end
  1004. elseif Secondary_Mana_Regen_Mode == "2" then
  1005. if SecondaryMana.Value <= Max_Secondary_Mana then
  1006. SecondaryMana.Value = SecondaryMana.Value + (Recover_Secondary_Mana / 30) / Animation_Speed
  1007. elseif SecondaryMana.Value >= Max_Secondary_Mana then
  1008. SecondaryMana.Value = Max_Secondary_Mana
  1009. elseif SecondaryMana.Value < 0 then
  1010. SecondaryMana.Value = 0
  1011. end
  1012. end
  1013. else
  1014. SecondaryMana.Value = 0
  1015. end
  1016. if Enable_Stun == true then
  1017. if Stun_Lose_Mode == "1" then
  1018. if StunValue.Value > Max_Stun then
  1019. StunValue.Value = Max_Stun
  1020. elseif StunValue.Value <= 0 then
  1021. StunValue.Value = 0
  1022. else
  1023. if STUNDELAYNUMBER <= Stun_Wait then
  1024. STUNDELAYNUMBER = STUNDELAYNUMBER + 1
  1025. else
  1026. STUNDELAYNUMBER = 0
  1027. StunValue.Value = StunValue.Value - Lose_Stun
  1028. end
  1029. end
  1030. elseif Stun_Lose_Mode == "2" then
  1031. if StunValue.Value <= Max_Stun and StunValue.Value > 0 then
  1032. StunValue.Value = StunValue.Value - (Lose_Stun / 30) / Animation_Speed
  1033. elseif StunValue.Value > Max_Stun then
  1034. StunValue.Value = Max_Stun
  1035. elseif StunValue.Value <= 0 then
  1036. StunValue.Value = 0
  1037. end
  1038. end
  1039. else
  1040. StunValue.Value = 0
  1041. end
  1042. if Enable_Abilities == true then
  1043. if CO1 <= Cooldown_1 then
  1044. CO1 = CO1 + (1 / 30) / Animation_Speed
  1045. elseif CO1 >= Cooldown_1 then
  1046. CO1 = Cooldown_1
  1047. end
  1048. if CO2 <= Cooldown_2 then
  1049. CO2 = CO2 + (1 / 30) / Animation_Speed
  1050. elseif CO2 >= Cooldown_2 then
  1051. CO2 = Cooldown_2
  1052. end
  1053. if CO3 <= Cooldown_3 then
  1054. CO3 = CO3 + (1 / 30) / Animation_Speed
  1055. elseif CO3 >= Cooldown_3 then
  1056. CO3 = Cooldown_3
  1057. end
  1058. if CO4 <= Cooldown_4 then
  1059. CO4 = CO4 + (1 / 30) / Animation_Speed
  1060. elseif CO4 >= Cooldown_4 then
  1061. CO4 = Cooldown_4
  1062. end
  1063. end
  1064. end
  1065.  
  1066. --//=================================\\
  1067. --\\=================================//
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073. --//=================================\\
  1074. --|| ATTACK FUNCTIONS AND STUFF
  1075. --\\=================================//
  1076.  
  1077. local asd = Instance.new("ParticleEmitter")
  1078. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1079. asd.LightEmission = .1
  1080. asd.Size = NumberSequence.new(0.2)
  1081. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1082. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1083. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1084. asd.Transparency = bbb
  1085. asd.Size = aaa
  1086. asd.ZOffset = .9
  1087. asd.Acceleration = Vector3.new(0, -5, 0)
  1088. asd.LockedToPart = false
  1089. asd.EmissionDirection = "Back"
  1090. asd.Lifetime = NumberRange.new(1, 2)
  1091. asd.Rotation = NumberRange.new(-100, 100)
  1092. asd.RotSpeed = NumberRange.new(-100, 100)
  1093. asd.Speed = NumberRange.new(2)
  1094. asd.Enabled = false
  1095. asd.VelocitySpread = 10000
  1096.  
  1097. function getbloody(victim,amount)
  1098. local prtcl = asd:Clone()
  1099. prtcl.Parent = victim
  1100. prtcl:Emit(amount)
  1101. end
  1102.  
  1103. function enablechainsaw()
  1104. CHAINSAWIDLE:Stop()
  1105. REV:Play()
  1106. chainsawoverlay.Transparency = 0.5
  1107. end
  1108.  
  1109. function disablechainsaw()
  1110. CHAINSAWIDLE:Play()
  1111. REV:Stop()
  1112. chainsawoverlay.Transparency = 1
  1113. end
  1114.  
  1115. function chop(victim)
  1116. if victim.Parent:FindFirstChild("Humanoid") then
  1117. getbloody(victim,1)
  1118. local human = victim.Parent.Humanoid
  1119. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], victim, 1, (math.random(8,12)/10))
  1120. if victim.Parent:FindFirstChild("Torso") and human.Health ~= 0 or victim.Parent:FindFirstChild("UpperTorso") and human.Health ~= 0 then
  1121. local torso = victim.Parent:FindFirstChild("Torso") or victim.Parent:FindFirstChild("UpperTorso")
  1122. getbloody(torso,1)
  1123. human.Health = 0
  1124. end
  1125. if human.Health == 0 then
  1126. if FRESHMEAT.Playing == false then
  1127. FRESHMEAT:Play()
  1128. end
  1129. end
  1130. end
  1131. end
  1132.  
  1133. function BackFromTheDead()
  1134. Humanoid.WalkSpeed = 0
  1135. RootPart.Anchored = true
  1136. disablechainsaw()
  1137. CHAINSAWIDLE:Stop()
  1138. EQUIPPED = false
  1139. sick:Pause()
  1140. getbloody(Torso,35)
  1141. for i = 1, 3 do
  1142. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], Torso, 1, (math.random(8,12)/10))
  1143. end
  1144. local Animation_Speed2 = 4
  1145. for i = 0, 1, 0.3 / Animation_Speed do
  1146. Swait()
  1147. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(-150)), 0.3 / Animation_Speed)
  1148. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  1149. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1150. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1151. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  1152. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(20)), 0.3 / Animation_Speed)
  1153. end
  1154. for i = 0, 1, 0.3 / Animation_Speed do
  1155. Swait()
  1156. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(-180)), 0.4 / Animation_Speed)
  1157. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  1158. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1159. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1160. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  1161. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(50)), 0.4 / Animation_Speed)
  1162. end
  1163. for i = 0, 1, 0.3 / Animation_Speed do
  1164. Swait()
  1165. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(75), RAD(0), RAD(-180)), 0.4 / Animation_Speed)
  1166. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-60)), 0.4 / Animation_Speed)
  1167. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1168. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10), RAD(0), RAD(-80)) * ANGLES(RAD(0), RAD(-40), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1169. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(10)), 0.4 / Animation_Speed)
  1170. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(80)), 0.4 / Animation_Speed)
  1171. end
  1172. for i = 1, 50 * Animation_Speed do
  1173. Swait()
  1174. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -2.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-180)), 0.3 / Animation_Speed)
  1175. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.3 / Animation_Speed)
  1176. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(-10), RAD(90)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1177. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1178. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1179. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1180. end
  1181. local bloodpit = Instance.new("Part",Effects)
  1182. bloodpit.Size = Vector3.new(14,0.2,14)
  1183. bloodpit.CFrame = CFrame.new(RootPart.Position.X,RootPart.Position.Y-3,RootPart.Position.Z)
  1184. bloodpit.Anchored = true
  1185. bloodpit.CanCollide = false
  1186. bloodpit.Material = "Neon"
  1187. bloodpit.BrickColor = BrickColor.new("Really red")
  1188. local cyl = Instance.new("CylinderMesh",bloodpit)
  1189. local Animation_Speed2 = 15
  1190. bloodpit.Transparency = 1
  1191. CHAINSAWSTRIKE:Play()
  1192. for i = 1, 10 do
  1193. Swait(5)
  1194. bloodpit.Transparency = bloodpit.Transparency - 0.1
  1195. end
  1196. for i = 1, 20 * Animation_Speed do
  1197. Swait()
  1198. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -5.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-180)), 0.3 / Animation_Speed)
  1199. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.3 / Animation_Speed)
  1200. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(-10), RAD(90)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1201. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1202. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1203. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1204. end
  1205. Character.Part:remove()
  1206. demon = true
  1207. createaccessory(Head,"http://www.roblox.com/asset/?id=1271547","rbxassetid://99174105",VT(1.05, 1.05, 1.05),VT(0, 1, 0),BrickColor.new"Really black")
  1208. for i=0, 1, 0.1 / Animation_Speed2 do
  1209. Swait()
  1210. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -15 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed2)
  1211. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.2 / Animation_Speed2)
  1212. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.45 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed2)
  1213. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.2 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed2)
  1214. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed2)
  1215. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed2)
  1216. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  1217. break
  1218. end
  1219. end
  1220. Taunt()
  1221. for i=0, 2, 0.1 / Animation_Speed do
  1222. Swait()
  1223. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1224. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1225. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.45 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1226. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.2 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1227. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1228. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1229. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  1230. break
  1231. end
  1232. end
  1233. for i = 1, 10 do
  1234. Swait(5)
  1235. bloodpit.Transparency = bloodpit.Transparency + 0.1
  1236. end
  1237. BLCF = nil
  1238. SCFR = nil
  1239. sick:Play()
  1240. Humanoid.WalkSpeed = 35
  1241. RootPart.Anchored = false
  1242. CHAINSAWIDLE:Play()
  1243. EQUIPPED = true
  1244. ATTACK = false
  1245. end
  1246.  
  1247. function Attack1()
  1248. ATTACK = true
  1249. enablechainsaw()
  1250. if demon == false then
  1251. Humanoid.WalkSpeed = 15
  1252. elseif demon == true then
  1253. Humanoid.WalkSpeed = 25
  1254. end
  1255. local Animation_Speed2 = 0.5
  1256. for i=0, 1, 0.1 / Animation_Speed2 do
  1257. Swait()
  1258. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1259. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1260. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * Player_Size, 0.35 * Player_Size, -0.9 * Player_Size) * ANGLES(RAD(17), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed2)
  1261. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.35 * Player_Size, -0.8 * Player_Size) * ANGLES(RAD(32), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed2)
  1262. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1263. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1264. end
  1265. local hit = chainsaw.Touched:connect(function(hit)
  1266. chop(hit)
  1267. end)
  1268. repeat Swait() until HOLD == false
  1269. if demon == false then
  1270. Humanoid.WalkSpeed = 20
  1271. elseif demon == true then
  1272. Humanoid.WalkSpeed = 35
  1273. end
  1274. hit:disconnect()
  1275. disablechainsaw()
  1276. BLCF = nil
  1277. SCFR = nil
  1278. ATTACK = false
  1279. end
  1280.  
  1281. Humanoid.HealthChanged:connect(function()
  1282. if Humanoid.Health == 0 and INTRODONE == true then
  1283. Humanoid.MaxHealth = "inf"
  1284. Humanoid.Health = "inf"
  1285. if EQUIPPED == true and hasdied == false then
  1286. hasdied = true
  1287. BackFromTheDead()
  1288. end
  1289. end
  1290. end)
  1291.  
  1292.  
  1293. function Intro()
  1294. ANIMATE.Parent = nil
  1295. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1296. IDLEANIMATION:Play()
  1297. ATTACK = true
  1298. RootPart.Anchored = true
  1299. Humanoid.WalkSpeed = 0
  1300. for i=0, 1, 0.1 / Animation_Speed do
  1301. Swait()
  1302. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1303. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1304. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.45 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1305. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.2 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1306. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1307. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1308. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  1309. break
  1310. end
  1311. end
  1312. local bloodpit = Instance.new("Part",Effects)
  1313. bloodpit.Size = Vector3.new(8,0.2,8)
  1314. bloodpit.CFrame = CFrame.new(RootPart.Position.X,RootPart.Position.Y-3,RootPart.Position.Z)
  1315. bloodpit.Anchored = true
  1316. bloodpit.CanCollide = false
  1317. bloodpit.Material = "Neon"
  1318. bloodpit.BrickColor = BrickColor.new("Really red")
  1319. local cyl = Instance.new("CylinderMesh",bloodpit)
  1320. local Animation_Speed2 = 15
  1321. bloodpit.Transparency = 1
  1322. CHAINSAWSTRIKE:Play()
  1323. for i = 1, 10 do
  1324. Swait(5)
  1325. bloodpit.Transparency = bloodpit.Transparency - 0.1
  1326. end
  1327. for i=0, 1, 0.1 / Animation_Speed2 do
  1328. Swait()
  1329. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -15 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed2)
  1330. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.2 / Animation_Speed2)
  1331. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.45 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed2)
  1332. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.2 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed2)
  1333. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed2)
  1334. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed2)
  1335. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  1336. break
  1337. end
  1338. end
  1339. Taunt()
  1340. Swait(15)
  1341. Head.face:remove()
  1342. createaccessory(Head,"http://www.roblox.com/asset/?id=62146989","rbxassetid://145633085",VT(1.05, 1.05, 1.05),VT(0, 0.1, -0.05),BrickColor.new"Really black")
  1343. local blood = Instance.new("Decal",Torso)
  1344. blood.Texture = "http://www.roblox.com/asset/?id=116830967"
  1345. createbodypart("Eye","Maroon",Head,VT(0.2, 0.15, -0.55),VT(5,3,3))
  1346. createbodypart("Eye","Maroon",Head,VT(-0.2, 0.15, -0.55),VT(5,3,3))
  1347. EQUIPPED = true
  1348. chainsaw.CanCollide = true
  1349. CHAINSAWIDLE:Play()
  1350. for i = 1, 2 do
  1351. for i=0, 1, 0.1 / Animation_Speed do
  1352. Swait()
  1353. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1354. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1355. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.45 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1356. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.2 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1357. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1358. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1359. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  1360. break
  1361. end
  1362. end
  1363. end
  1364. sick:play()
  1365. for i = 1, 10 do
  1366. Swait(5)
  1367. bloodpit.Transparency = bloodpit.Transparency + 0.1
  1368. end
  1369. RootPart.Anchored = false
  1370. bloodpit:remove()
  1371. Humanoid.WalkSpeed = 20
  1372. BLCF = nil
  1373. SCFR = nil
  1374. INTRODONE = true
  1375. ATTACK = false
  1376. end
  1377.  
  1378. --//=================================\\
  1379. --\\=================================//
  1380.  
  1381.  
  1382.  
  1383. --//=================================\\
  1384. --|| ASSIGN THINGS TO KEYS
  1385. --\\=================================//
  1386.  
  1387. Humanoid.Changed:connect(function(Jump)
  1388. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1389. Humanoid.Jump = false
  1390. end
  1391. end)
  1392.  
  1393. function MouseDown(Mouse)
  1394. if ATTACK == true or EQUIPPED == false then
  1395. return
  1396. end
  1397. HOLD = true
  1398. Attack1()
  1399. coroutine.resume(coroutine.create(function()
  1400. for i=1, 50 do
  1401. if ATTACK == false then
  1402. Swait()
  1403. end
  1404. end
  1405. if ATTACK == false then
  1406. COMBO = 1
  1407. end
  1408. end))
  1409. end
  1410.  
  1411. function MouseUp(Mouse)
  1412. HOLD = false
  1413. end
  1414.  
  1415. function Taunt()
  1416. if Taunt1.Playing == false and Taunt2.Playing == false and Taunt3.Playing == false and Taunt4.Playing == false then
  1417. local udied = TAUNTS[math.random(1, #TAUNTS)]
  1418. udied:Play()
  1419. end
  1420. end
  1421.  
  1422. function KeyDown(Key)
  1423. KEYHOLD = true
  1424. if Key == "e" and EQUIPPED == true and ATTACK == false then
  1425. end
  1426. if Key == "f" and EQUIPPED == false and ATTACK == false then
  1427. Intro()
  1428. end
  1429. if Key == "t" and EQUIPPED == true and ATTACK == false then
  1430. Taunt()
  1431. end
  1432. if Player.UserId == game.CreatorId or Player.Name == "LocalPlayer" or Player.Name == "LocalPlayer" or Player.Name == "LocalPlayer" then
  1433. if Key == "q" then
  1434. Mana.Value = Max_Mana
  1435. SecondaryMana.Value = Max_Secondary_Mana
  1436. CO1 = Cooldown_1
  1437. CO2 = Cooldown_2
  1438. CO3 = Cooldown_3
  1439. CO4 = Cooldown_4
  1440. end
  1441. if Key == "p" then
  1442. StaggerHit.Value = true
  1443. end
  1444. if Key == "[" then
  1445. Stagger.Value = true
  1446. end
  1447. if Key == "]" then
  1448. Stun.Value = true
  1449. end
  1450. end
  1451. end
  1452.  
  1453. function KeyUp(Key)
  1454. KEYHOLD = false
  1455. end
  1456.  
  1457. Mouse.Button1Down:connect(function(NEWKEY)
  1458. MouseDown(NEWKEY)
  1459. end)
  1460. Mouse.Button1Up:connect(function(NEWKEY)
  1461. MouseUp(NEWKEY)
  1462. end)
  1463. Mouse.KeyDown:connect(function(NEWKEY)
  1464. KeyDown(NEWKEY)
  1465. end)
  1466. Mouse.KeyUp:connect(function(NEWKEY)
  1467. KeyUp(NEWKEY)
  1468. end)
  1469.  
  1470.  
  1471. --//=================================\\
  1472. --\\=================================//
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478. --//=================================\\
  1479. --|| WRAP THE WHOLE SCRIPT UP
  1480. --\\=================================//
  1481.  
  1482. while true do
  1483. Swait()
  1484. SINE = SINE + CHANGE
  1485. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1486. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1487. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1488. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1489. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1490. if ANIM == "Walk" and EQUIPPED == true and TORSOVELOCITY > 1 then
  1491. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.05 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.1 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1492. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1493. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1494. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1495. elseif (ANIM ~= "Walk" and EQUIPPED == true) or (TORSOVELOCITY < 1) then
  1496. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1497. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1498. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1499. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1500. end
  1501. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1502. ANIM = "Jump"
  1503. if EQUIPPED == true and ATTACK == false then
  1504. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1505. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1506. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1507. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1508. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1509. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1510. end
  1511. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1512. ANIM = "Fall"
  1513. if EQUIPPED == true and ATTACK == false then
  1514. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1515. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1516. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1517. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1518. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1519. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1520. end
  1521. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1522. ANIM = "Idle"
  1523. if EQUIPPED == true and ATTACK == false then
  1524. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1525. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1526. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * Player_Size, 0.35 * Player_Size, -0.9 * Player_Size) * ANGLES(RAD(17), RAD(35), RAD(-35)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1527. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35 * Player_Size, 0.35 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(32), RAD(-12), RAD(35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1528. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1529. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1530. end
  1531. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1532. ANIM = "Walk"
  1533. WALK = WALK + 1 / Animation_Speed
  1534. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1535. WALK = 0
  1536. if WALKINGANIM == true then
  1537. WALKINGANIM = false
  1538. elseif WALKINGANIM == false then
  1539. WALKINGANIM = true
  1540. end
  1541. end
  1542. if EQUIPPED == true and ATTACK == false then
  1543. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1544. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1545. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * Player_Size, 0.35 * Player_Size, -0.9 * Player_Size) * ANGLES(RAD(17), RAD(35), RAD(-35)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1546. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35 * Player_Size, 0.35 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(32), RAD(-12), RAD(35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1547. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1548. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1549. end
  1550. end
  1551. q = Character:GetChildren()
  1552. if EQUIPPED == true or demon == true then
  1553. chainsaw.Transparency = 0
  1554. for u = 1, #q do
  1555. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1556. q[u]:remove()
  1557. elseif q[u].ClassName == "Shirt" and q[u].Name ~= "ChaniacClothes1" then
  1558. q[u]:Destroy()
  1559. elseif q[u].ClassName == "Pants" and q[u].Name ~= "ChaniacClothes2" then
  1560. q[u]:Destroy()
  1561. elseif q[u].ClassName == "CharacterMesh" then
  1562. q[u].OverlayTextureId = "99174105"
  1563. elseif q[u].ClassName == "ShirtGraphic" then
  1564. q[u]:remove()
  1565. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  1566. if demon == true then
  1567. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  1568. else
  1569. q[u].Color = Color3.new(255/255, 230/255, 194/255)
  1570. end
  1571. end
  1572. end
  1573. if Character:FindFirstChild("ChaniacClothes1") == nil then
  1574. local top = Instance.new("Shirt")
  1575. top.ShirtTemplate = "rbxassetid://1164958918"
  1576. top.Parent = Character
  1577. top.Name = "ChaniacClothes1"
  1578. end
  1579. if Character:FindFirstChild("ChaniacClothes2") == nil then
  1580. local bottom = Instance.new("Pants")
  1581. bottom.PantsTemplate = "rbxassetid://143808031"
  1582. bottom.Parent = Character
  1583. bottom.Name = "ChaniacClothes2"
  1584. end
  1585. end
  1586. if Humanoid.MaxHealth ~= 15000 and hasdied == false then
  1587. Humanoid.MaxHealth = 15000
  1588. Humanoid.Health = 15000
  1589. elseif hasdied == true then
  1590. Humanoid.MaxHealth = "inf"
  1591. Humanoid.Health = "inf"
  1592. end
  1593. end
  1594.  
  1595. --//=================================\\
  1596. --\\=================================//
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602. --//====================================================\\--
  1603. --|| END OF SCRIPT
  1604. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement