memberhero

Test2

Aug 1st, 2018
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 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 = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. --//Paste script below this line.
  143.  
  144.  
  145.  
  146.  
  147. Player = game:GetService("Players").LocalPlayer
  148. PlayerGui = Player.PlayerGui
  149. Cam = workspace.CurrentCamera
  150. Backpack = Player.Backpack
  151. Character = Player.Character
  152. Humanoid = Character.Humanoid
  153. Mouse = Player:GetMouse()
  154. RootPart = Character["HumanoidRootPart"]
  155. Torso = Character["Torso"]
  156. Head = Character["Head"]
  157. RightArm = Character["Right Arm"]
  158. LeftArm = Character["Left Arm"]
  159. RightLeg = Character["Right Leg"]
  160. LeftLeg = Character["Left Leg"]
  161. RootJoint = RootPart["RootJoint"]
  162. Neck = Torso["Neck"]
  163. RightShoulder = Torso["Right Shoulder"]
  164. LeftShoulder = Torso["Left Shoulder"]
  165. RightHip = Torso["Right Hip"]
  166. LeftHip = Torso["Left Hip"]
  167. local sick = Instance.new("Sound",Character)
  168. sick.SoundId = "rbxassetid://321467240"
  169. sick.Looped = true
  170. sick.Pitch = 1
  171. sick.Volume = 1
  172. sick:Play()
  173. local sick2 = Instance.new("Sound",Character)
  174. sick2.SoundId = "rbxassetid://264754048"
  175. sick2.Looped = true
  176. sick2.Pitch = 1
  177. sick2.Volume = 3
  178. Humanoid.DisplayDistanceType = "None"
  179.  
  180. IT = Instance.new
  181. CF = CFrame.new
  182. VT = Vector3.new
  183. RAD = math.rad
  184. C3 = Color3.new
  185. UD2 = UDim2.new
  186. BRICKC = BrickColor.new
  187. ANGLES = CFrame.Angles
  188. EULER = CFrame.fromEulerAnglesXYZ
  189. COS = math.cos
  190. ACOS = math.acos
  191. SIN = math.sin
  192. ASIN = math.asin
  193. ABS = math.abs
  194. MRANDOM = math.random
  195. FLOOR = math.floor
  196.  
  197. local naeeym2 = Instance.new("BillboardGui",Character)
  198. naeeym2.AlwaysOnTop = true
  199. naeeym2.Size = UDim2.new(5,35,2,35)
  200. naeeym2.StudsOffset = Vector3.new(0,3,0)
  201. naeeym2.Adornee = Character.Head
  202. naeeym2.Name = "Name"
  203. naeeym2.PlayerToHideFrom = Player
  204. local tecks2 = Instance.new("TextLabel",naeeym2)
  205. tecks2.BackgroundTransparency = 1
  206. tecks2.TextScaled = true
  207. tecks2.BorderSizePixel = 0
  208. tecks2.Text = Player.Name
  209. tecks2.Font = "Fantasy"
  210. tecks2.TextSize = 20
  211. tecks2.TextStrokeTransparency = 1
  212. tecks2.TextColor3 = Color3.new(0,0,0)
  213. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  214. tecks2.Size = UDim2.new(1,0,0.5,0)
  215. tecks2.Parent = naeeym2
  216.  
  217. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  218. local NEWMESH = IT(MESH)
  219. if MESH == "SpecialMesh" then
  220. NEWMESH.MeshType = MESHTYPE
  221. if MESHID ~= "nil" and MESHID ~= "" then
  222. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  223. end
  224. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  225. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  226. end
  227. end
  228. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  229. NEWMESH.Scale = SCALE
  230. NEWMESH.Parent = PARENT
  231. return NEWMESH
  232. end
  233.  
  234. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  235. local NEWPART = IT("Part")
  236. NEWPART.formFactor = FORMFACTOR
  237. NEWPART.Reflectance = REFLECTANCE
  238. NEWPART.Transparency = TRANSPARENCY
  239. NEWPART.CanCollide = false
  240. NEWPART.Locked = true
  241. NEWPART.Anchored = true
  242. if ANCHOR == false then
  243. NEWPART.Anchored = false
  244. end
  245. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  246. NEWPART.Name = NAME
  247. NEWPART.Size = SIZE
  248. NEWPART.Position = Torso.Position
  249. NEWPART.Material = MATERIAL
  250. NEWPART:BreakJoints()
  251. NEWPART.Parent = PARENT
  252. return NEWPART
  253. end
  254.  
  255. --//=================================\\
  256. --|| CUSTOMIZATION
  257. --\\=================================//
  258.  
  259. Player_Size = 1 --Size of the player.
  260. Animation_Speed = 3
  261. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  262.  
  263. local Speed = 16
  264. local Effects2 = {}
  265.  
  266. --//=================================\\
  267. --|| END OF CUSTOMIZATION
  268. --\\=================================//
  269.  
  270. local function weldBetween(a, b)
  271. local weldd = Instance.new("ManualWeld")
  272. weldd.Part0 = a
  273. weldd.Part1 = b
  274. weldd.C0 = CFrame.new()
  275. weldd.C1 = b.CFrame:inverse() * a.CFrame
  276. weldd.Parent = a
  277. return weldd
  278. end
  279.  
  280. --//=================================\\
  281. --|| USEFUL VALUES
  282. --\\=================================//
  283.  
  284. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  285. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  286. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  287. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  288. local CHANGEDEFENSE = 0
  289. local CHANGEDAMAGE = 0
  290. local CHANGEMOVEMENT = 0
  291. local ANIM = "Idle"
  292. local ATTACK = false
  293. local EQUIPPED = false
  294. local HOLD = false
  295. local COMBO = 1
  296. local Rooted = false
  297. local SINE = 0
  298. local KEYHOLD = false
  299. local CHANGE = 2 / Animation_Speed
  300. local WALKINGANIM = false
  301. local WALK = 0
  302. local VALUE1 = false
  303. local VALUE2 = "Normal"
  304. local ROBLOXIDLEANIMATION = IT("Animation")
  305. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  306. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  307. --ROBLOXIDLEANIMATION.Parent = Humanoid
  308. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  309. WEAPONGUI.Name = "Weapon GUI"
  310. local Weapon = IT("Model")
  311. Weapon.Name = "Adds"
  312. local Effects = IT("Folder", Weapon)
  313. Effects.Name = "Effects"
  314. local ANIMATOR = Humanoid.Animator
  315. local ANIMATE = Character.Animate
  316. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  317. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  318. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  319. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  320. local UNANCHOR = true
  321.  
  322. local SKILLTEXTCOLOR = C3(125,0,0)
  323.  
  324.  
  325. --//=================================\\
  326. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  327. --\\=================================//
  328.  
  329. ArtificialHB = Instance.new("BindableEvent", script)
  330. ArtificialHB.Name = "ArtificialHB"
  331.  
  332. script:WaitForChild("ArtificialHB")
  333.  
  334. frame = Frame_Speed
  335. tf = 0
  336. allowframeloss = false
  337. tossremainder = false
  338. lastframe = tick()
  339. script.ArtificialHB:Fire()
  340.  
  341. game:GetService("RunService").Heartbeat:connect(function(s, p)
  342. tf = tf + s
  343. if tf >= frame then
  344. if allowframeloss then
  345. script.ArtificialHB:Fire()
  346. lastframe = tick()
  347. else
  348. for i = 1, math.floor(tf / frame) do
  349. script.ArtificialHB:Fire()
  350. end
  351. lastframe = tick()
  352. end
  353. if tossremainder then
  354. tf = 0
  355. else
  356. tf = tf - frame * math.floor(tf / frame)
  357. end
  358. end
  359. end)
  360.  
  361. --//=================================\\
  362. --\\=================================//
  363.  
  364.  
  365.  
  366.  
  367.  
  368. --//=================================\\
  369. --|| SOME FUNCTIONS
  370. --\\=================================//
  371.  
  372. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  373. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  374. end
  375.  
  376. function PositiveAngle(NUMBER)
  377. if NUMBER >= 0 then
  378. NUMBER = 0
  379. end
  380. return NUMBER
  381. end
  382.  
  383. function NegativeAngle(NUMBER)
  384. if NUMBER <= 0 then
  385. NUMBER = 0
  386. end
  387. return NUMBER
  388. end
  389.  
  390. function Swait(NUMBER)
  391. if NUMBER == 0 or NUMBER == nil then
  392. ArtificialHB.Event:wait()
  393. else
  394. for i = 1, NUMBER do
  395. ArtificialHB.Event:wait()
  396. end
  397. end
  398. end
  399.  
  400. function QuaternionFromCFrame(cf)
  401. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  402. local trace = m00 + m11 + m22
  403. if trace > 0 then
  404. local s = math.sqrt(1 + trace)
  405. local recip = 0.5 / s
  406. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  407. else
  408. local i = 0
  409. if m11 > m00 then
  410. i = 1
  411. end
  412. if m22 > (i == 0 and m00 or m11) then
  413. i = 2
  414. end
  415. if i == 0 then
  416. local s = math.sqrt(m00 - m11 - m22 + 1)
  417. local recip = 0.5 / s
  418. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  419. elseif i == 1 then
  420. local s = math.sqrt(m11 - m22 - m00 + 1)
  421. local recip = 0.5 / s
  422. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  423. elseif i == 2 then
  424. local s = math.sqrt(m22 - m00 - m11 + 1)
  425. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  426. end
  427. end
  428. end
  429.  
  430. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  431. local xs, ys, zs = x + x, y + y, z + z
  432. local wx, wy, wz = w * xs, w * ys, w * zs
  433. local xx = x * xs
  434. local xy = x * ys
  435. local xz = x * zs
  436. local yy = y * ys
  437. local yz = y * zs
  438. local zz = z * zs
  439. 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))
  440. end
  441.  
  442. function QuaternionSlerp(a, b, t)
  443. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  444. local startInterp, finishInterp;
  445. if cosTheta >= 0.0001 then
  446. if (1 - cosTheta) > 0.0001 then
  447. local theta = ACOS(cosTheta)
  448. local invSinTheta = 1 / SIN(theta)
  449. startInterp = SIN((1 - t) * theta) * invSinTheta
  450. finishInterp = SIN(t * theta) * invSinTheta
  451. else
  452. startInterp = 1 - t
  453. finishInterp = t
  454. end
  455. else
  456. if (1 + cosTheta) > 0.0001 then
  457. local theta = ACOS(-cosTheta)
  458. local invSinTheta = 1 / SIN(theta)
  459. startInterp = SIN((t - 1) * theta) * invSinTheta
  460. finishInterp = SIN(t * theta) * invSinTheta
  461. else
  462. startInterp = t - 1
  463. finishInterp = t
  464. end
  465. end
  466. 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
  467. end
  468.  
  469. function Clerp(a, b, t)
  470. local qa = {QuaternionFromCFrame(a)}
  471. local qb = {QuaternionFromCFrame(b)}
  472. local ax, ay, az = a.x, a.y, a.z
  473. local bx, by, bz = b.x, b.y, b.z
  474. local _t = 1 - t
  475. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  476. end
  477.  
  478. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  479. local frame = IT("Frame")
  480. frame.BackgroundTransparency = TRANSPARENCY
  481. frame.BorderSizePixel = BORDERSIZEPIXEL
  482. frame.Position = POSITION
  483. frame.Size = SIZE
  484. frame.BackgroundColor3 = COLOR
  485. frame.BorderColor3 = BORDERCOLOR
  486. frame.Name = NAME
  487. frame.Parent = PARENT
  488. return frame
  489. end
  490.  
  491. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  492. local label = IT("TextLabel")
  493. label.BackgroundTransparency = 1
  494. label.Size = UD2(1, 0, 1, 0)
  495. label.Position = UD2(0, 0, 0, 0)
  496. label.TextColor3 = TEXTCOLOR
  497. label.TextStrokeTransparency = STROKETRANSPARENCY
  498. label.TextTransparency = TRANSPARENCY
  499. label.FontSize = TEXTFONTSIZE
  500. label.Font = TEXTFONT
  501. label.BorderSizePixel = BORDERSIZEPIXEL
  502. label.TextScaled = false
  503. label.Text = TEXT
  504. label.Name = NAME
  505. label.Parent = PARENT
  506. return label
  507. end
  508.  
  509. function NoOutlines(PART)
  510. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  511. end
  512.  
  513.  
  514. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  515. local NEWWELD = IT(TYPE)
  516. NEWWELD.Part0 = PART0
  517. NEWWELD.Part1 = PART1
  518. NEWWELD.C0 = C0
  519. NEWWELD.C1 = C1
  520. NEWWELD.Parent = PARENT
  521. return NEWWELD
  522. end
  523.  
  524. local SOUND = IT("Sound",nil)
  525.  
  526. function CreateSound(ID, PARENT, VOLUME, PITCH)
  527. local NEWSOUND = nil
  528. coroutine.resume(coroutine.create(function()
  529. NEWSOUND = SOUND:Clone()
  530. NEWSOUND.Parent = PARENT
  531. NEWSOUND.Volume = VOLUME
  532. NEWSOUND.Pitch = PITCH
  533. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  534. Swait()
  535. NEWSOUND:play()
  536. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  537. end))
  538. return NEWSOUND
  539. end
  540.  
  541. function CFrameFromTopBack(at, top, back)
  542. local right = top:Cross(back)
  543. 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)
  544. end
  545.  
  546. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  547. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  548. local mesh = IT("SpecialMesh",wave)
  549. mesh.MeshType = "FileMesh"
  550. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  551. mesh.Scale = SIZE
  552. mesh.Offset = VT(0,0,-SIZE.X/8)
  553. wave.CFrame = CFRAME
  554. coroutine.resume(coroutine.create(function(PART)
  555. for i = 1, WAIT do
  556. Swait()
  557. mesh.Scale = mesh.Scale + GROW
  558. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  559. if DOESROT == true then
  560. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  561. end
  562. wave.Transparency = wave.Transparency + (0.5/WAIT)
  563. if wave.Transparency > 0.99 then
  564. wave:remove()
  565. end
  566. end
  567. end))
  568. end
  569.  
  570. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,DOESTRAIL)
  571. local wave = CreatePart(3, Effects, "Neon", 0, 0.8, BRICKC(COLOR), "Effect", VT(0,0,0))
  572. local mesh = IT("SpecialMesh",wave)
  573. mesh.MeshType = "FileMesh"
  574. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  575. mesh.Scale = SIZE
  576. wave.CFrame = CFRAME
  577. coroutine.resume(coroutine.create(function(PART)
  578. for i = 1, WAIT do
  579. Swait()
  580. if DOESTRAIL == true then
  581. Trail(wave)
  582. end
  583. mesh.Scale = mesh.Scale + GROW
  584. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  585. if DOESROT == true then
  586. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  587. end
  588. wave.Transparency = wave.Transparency + (0.2/WAIT)
  589. if wave.Transparency > 0.99 then
  590. wave:remove()
  591. end
  592. end
  593. end))
  594. end
  595.  
  596. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  597. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  598. local mesh = IT("SpecialMesh",wave)
  599. mesh.MeshType = "Sphere"
  600. mesh.Scale = SIZE
  601. mesh.Offset = VT(0,0,0)
  602. wave.CFrame = CFRAME
  603. coroutine.resume(coroutine.create(function(PART)
  604. for i = 1, WAIT do
  605. Swait()
  606. mesh.Scale = mesh.Scale + GROW
  607. wave.Transparency = wave.Transparency + (1/WAIT)
  608. if wave.Transparency > 0.99 then
  609. wave:remove()
  610. end
  611. end
  612. end))
  613. end
  614.  
  615. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  616. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  617. local mesh = IT("BlockMesh",wave)
  618. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  619. coroutine.resume(coroutine.create(function(PART)
  620. for i = 1, WAIT do
  621. Swait()
  622. mesh.Scale = mesh.Scale + GROW
  623. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  624. wave.Transparency = wave.Transparency + (0.5/WAIT)
  625. if wave.Transparency > 0.99 then
  626. wave:remove()
  627. end
  628. end
  629. end))
  630. end
  631.  
  632. function MakeForm(PART,TYPE)
  633. if TYPE == "Cyl" then
  634. local MSH = IT("CylinderMesh",PART)
  635. elseif TYPE == "Ball" then
  636. local MSH = IT("SpecialMesh",PART)
  637. MSH.MeshType = "Sphere"
  638. elseif TYPE == "Wedge" then
  639. local MSH = IT("SpecialMesh",PART)
  640. MSH.MeshType = "Wedge"
  641. end
  642. end
  643.  
  644. function CheckTableForString(Table, String)
  645. for i, v in pairs(Table) do
  646. if string.find(string.lower(String), string.lower(v)) then
  647. return true
  648. end
  649. end
  650. return false
  651. end
  652.  
  653. function CheckIntangible(Hit)
  654. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  655. if Hit and Hit.Parent then
  656. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  657. return true
  658. end
  659. end
  660. return false
  661. end
  662.  
  663. Debris = game:GetService("Debris")
  664.  
  665. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  666. local Direction = CFrame.new(StartPos, Vec).lookVector
  667. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  668. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  669. if RayHit and CheckIntangible(RayHit) then
  670. if DelayIfHit then
  671. wait()
  672. end
  673. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  674. end
  675. return RayHit, RayPos, RayNormal
  676. end
  677.  
  678. function turnto(position)
  679. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  680. end
  681.  
  682. --//=================================\\
  683. --|| WEAPON CREATION
  684. --\\=================================//
  685.  
  686. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Crimson", "Wistband part", VT(1.015,0.15,1.015),false)
  687. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  688. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Wistband part", VT(1.035,0.1,1.035),false)
  689. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0, -0.35, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  690. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Wistband part", VT(1.035,0.1,1.035),false)
  691. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0, -0.45, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  692. MakeForm(part,"Wedge")
  693. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Wistband part", VT(1.025,0.05,1.025),false)
  694. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0, -0.22, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  695. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Wistband part", VT(1.025,0.1,1.025),false)
  696. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0, -0.15, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  697. MakeForm(part,"Wedge")
  698. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Wistband part", VT(0.8,0.05,0.8),false)
  699. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.5, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  700. MakeForm(part,"Cyl")
  701. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Crimson", "Wistband part", VT(0.81,0.05,0.81),false)
  702. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.49, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  703. MakeForm(part,"Cyl")
  704. local part = CreatePart(3, Weapon, "Marble", 0, 0, "Pearl", "Wistband part", VT(0.5,0.05,0.5),false)
  705. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.51, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  706. MakeForm(part,"Cyl")
  707. local blade = CreatePart(3, Weapon, "Marble", 0, 0, "Black", "Wistband part", VT(0.5,0.05,0.5),false)
  708. local armweld = CreateWeldOrSnapOrMotor("Weld", blade, RightArm, blade, CF(0.52, -0.306, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  709. CreateMesh("SpecialMesh", blade, "FileMesh", "340607397", "", VT(0.35,0.35,0.35), VT(-0.015, 0, -0.05))
  710. local part = CreatePart(3, Weapon, "Marble", 0, 0, "Pearl", "Wistband part", VT(0.2,0.05,0.2),false)
  711. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.52, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  712. MakeForm(part,"Ball")
  713. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Wistband part", VT(0.15,0.06,0.15),false)
  714. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.52, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  715. MakeForm(part,"Ball")
  716. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Crimson", "Wistband part", VT(0.1,0.07,0.1),false)
  717. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.52, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  718. MakeForm(part,"Ball")
  719.  
  720. for _, c in pairs(Weapon:GetChildren()) do
  721. if c.ClassName == "Part" then
  722. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  723. end
  724. end
  725.  
  726. Weapon.Parent = Character
  727.  
  728. Humanoid.Died:connect(function()
  729. ATTACK = true
  730. end)
  731.  
  732. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  733. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  734. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  735. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  736.  
  737. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Demonic Shurikens", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 1")
  738. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Demonic Surge", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 2")
  739. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Shadow Sneak", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 3")
  740. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Rage of Demons", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 4")
  741.  
  742. --//=================================\\
  743. --|| DAMAGE FUNCTIONS
  744. --\\=================================//
  745.  
  746. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  747. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Black", "Effect", VT())
  748. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  749. local BODYGYRO = IT("BodyGyro", STATPART)
  750. local BODYPOSITION = IT("BodyPosition", STATPART)
  751. BODYPOSITION.P = 2000
  752. BODYPOSITION.D = 100
  753. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  754. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  755. game:GetService("Debris"):AddItem(STATPART ,5)
  756. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  757. BILLBOARDGUI.Adornee = STATPART
  758. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  759. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  760. BILLBOARDGUI.AlwaysOnTop = false
  761. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  762. TEXTLABEL.BackgroundTransparency = 1
  763. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  764. TEXTLABEL.Text = TEXT
  765. TEXTLABEL.Font = "Fantasy"
  766. TEXTLABEL.FontSize="Size42"
  767. TEXTLABEL.TextColor3 = COLOR
  768. TEXTLABEL.TextStrokeTransparency = 1
  769. TEXTLABEL.TextScaled = true
  770. TEXTLABEL.TextWrapped = true
  771. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  772. if LABELTYPE == "Normal" then
  773. for i = 1, 30 do
  774. Swait()
  775. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  776. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  777. end
  778. elseif LABELTYPE == "Debuff" then
  779. for i = 1, 30 do
  780. Swait()
  781. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  782. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  783. end
  784. elseif LABELTYPE == "Shock" then
  785. local ORIGIN = STATPART.Position
  786. for i = 1, 30 do
  787. Swait()
  788. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  789. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  790. end
  791. end
  792. THEPART.Parent = nil
  793. end),STATPART, BODYPOSITION, TEXTLABEL)
  794. end
  795.  
  796. --//=================================\\
  797. --|| DAMAGING
  798. --\\=================================//
  799.  
  800. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  801. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  802. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  803. local dmg = math.random(min,max)
  804. if humanoid.Health > 0 then
  805. if beserk == true then
  806. humanoid.Health = 0
  807. else
  808. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  809. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  810. if math.random(1,100) < critrate+1 then
  811. humanoid.Health = humanoid.Health - dmg*critmultiplier
  812. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  813. else
  814. humanoid.Health = humanoid.Health - dmg
  815. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  816. end
  817. local defence = Instance.new("BoolValue",hit.Parent)
  818. defence.Name = ("HitBy"..Player.Name)
  819. game:GetService("Debris"):AddItem(defence, 0.5)
  820. end
  821. end
  822. end
  823. end
  824.  
  825. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  826. local dmg = math.random(min,max)
  827. for i,v in ipairs(workspace:GetChildren()) do
  828. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  829. local body = v:GetChildren()
  830. for part = 1, #body do
  831. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  832. if(body[part].Position - position).Magnitude < radius then
  833. if v.ClassName == "Model" then
  834. if v:FindFirstChild("Humanoid") then
  835. if v.Humanoid.Health ~= 0 then
  836. if CanBeDodgedByJumping == true then
  837. if body[part].Position.Y < position.Y+5 then
  838. if math.random(1,100) < critrate+1 then
  839. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  840. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  841. else
  842. v.Humanoid.Health = v.Humanoid.Health - dmg
  843. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  844. end
  845. local defence = Instance.new("BoolValue",v)
  846. defence.Name = ("HitBy"..Player.Name)
  847. end
  848. else
  849. if beserk == true then
  850. v.Humanoid.Health = 0
  851. end
  852. if math.random(1,100) < critrate+1 then
  853. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  854. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  855. else
  856. v.Humanoid.Health = v.Humanoid.Health - dmg
  857. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  858. end
  859. local defence = Instance.new("BoolValue",v)
  860. defence.Name = ("HitBy"..Player.Name)
  861. end
  862. end
  863. end
  864. end
  865. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  866. end
  867. end
  868. end
  869. end
  870. if v:FindFirstChild("HitBy"..Player.Name) then
  871. v:FindFirstChild("HitBy"..Player.Name):remove()
  872. end
  873. end
  874. end
  875.  
  876. --//=================================\\
  877. --|| ATTACK FUNCTIONS AND STUFF
  878. --\\=================================//
  879.  
  880. local asd = Instance.new("ParticleEmitter")
  881. asd.Color = ColorSequence.new(Color3.new(0, 0, 0))
  882. asd.LightEmission = .1
  883. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  884. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 4),NumberSequenceKeypoint.new(1, 8)})
  885. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  886. asd.Transparency = bbb
  887. asd.Size = aaa
  888. asd.ZOffset = .9
  889. asd.Acceleration = Vector3.new(0, 0, 0)
  890. asd.LockedToPart = false
  891. asd.EmissionDirection = "Back"
  892. asd.Lifetime = NumberRange.new(1, 2)
  893. asd.Rotation = NumberRange.new(-100, 100)
  894. asd.RotSpeed = NumberRange.new(-100, 100)
  895. asd.Speed = NumberRange.new(6)
  896. asd.Enabled = false
  897. asd.Drag = 3
  898. asd.VelocitySpread = 10000
  899.  
  900. function poofcloud(pos,amount)
  901. local prt = CreatePart(3, Effects, "Neon", 0, 1, "Crimson", "Poof", VT(0,0,0))
  902. prt.Anchored = true
  903. prt.CFrame = CF(pos)
  904. local prtcl = asd:Clone()
  905. prtcl.Parent = prt
  906. prtcl:Emit(amount)
  907. CreateSound("966888080", prt, 6, (math.random(12,16)/10))
  908. coroutine.resume(coroutine.create(function()
  909. wait(3)
  910. prt:remove()
  911. end))
  912. end
  913.  
  914. function Vanish()
  915. tecks2.TextTransparency = 1
  916. poofcloud(Torso.Position,50)
  917. g = Character:GetChildren()
  918. for i = 1, #g do
  919. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  920. g[i].Transparency = 1
  921. Head.face.Transparency = 1
  922. elseif g[i].ClassName == "Accessory" then
  923. g[i].Handle.Transparency = 1
  924. end
  925. end
  926. g = Weapon:GetChildren()
  927. for i = 1, #g do
  928. if g[i].ClassName == "Part" then
  929. g[i].Transparency = 1
  930. end
  931. end
  932. end
  933.  
  934. function Trail(Part)
  935. local TRAIL = Part:Clone()
  936. TRAIL.CanCollide = false
  937. TRAIL.Anchored = true
  938. TRAIL.Parent = Effects
  939. TRAIL.Name = "Trail"
  940. local TRANS = Part.Transparency
  941. coroutine.resume(coroutine.create(function()
  942. for i = 1, 20 do
  943. Swait()
  944. TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20)
  945. end
  946. TRAIL:remove()
  947. end))
  948. end
  949.  
  950. function Appear()
  951. tecks2.TextTransparency = 0
  952. poofcloud(Torso.Position,50)
  953. g = Character:GetChildren()
  954. for i = 1, #g do
  955. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  956. g[i].Transparency = 0
  957. Head.face.Transparency = 0
  958. elseif g[i].ClassName == "Accessory" then
  959. g[i].Handle.Transparency = 0
  960. end
  961. end
  962. g = Weapon:GetChildren()
  963. for i = 1, #g do
  964. if g[i].ClassName == "Part" then
  965. g[i].Transparency = 0
  966. end
  967. end
  968. end
  969.  
  970. function AttackTemplate()
  971. ATTACK = true
  972. Rooted = false
  973. for i=0, 1, 0.1 / Animation_Speed do
  974. Swait()
  975. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  976. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  977. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  978. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  979. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  980. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.15 / Animation_Speed)
  981. end
  982. ATTACK = false
  983. Rooted = false
  984. end
  985.  
  986. function DemonicShuriken()
  987. ATTACK = true
  988. Rooted = false
  989. for i=0, 1, 0.1 / Animation_Speed do
  990. Swait()
  991. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  992. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  993. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  994. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  995. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.25 / Animation_Speed)
  996. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.25 / Animation_Speed)
  997. end
  998. for i=0, 1.5, 0.1 / Animation_Speed do
  999. Swait()
  1000. MagicBlock(3,10,blade.CFrame,"Crimson",VT(-0.1,-0.1,-0.1))
  1001. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1002. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1003. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1004. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1005. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.25 / Animation_Speed)
  1006. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.25 / Animation_Speed)
  1007. end
  1008. local ANGLE = 15
  1009. for i = 1, 3 do
  1010. local SHURIKEN = CreatePart(3, Effects, "Marble", 0, 0.3, "Crimson", "Shuriken", VT(0.5,0.05,0.5),false)
  1011. local MESH = CreateMesh("SpecialMesh", SHURIKEN, "FileMesh", "340607397", "", VT(0.35,0.35,0.35), VT(-0.015, 0, -0.05))
  1012. SHURIKEN.CFrame = CF(RootPart.Position,Mouse.Hit.p) * CF(0,0,-4) * ANGLES(RAD(0),RAD(ANGLE),RAD(0))
  1013. ANGLE = ANGLE - 15
  1014. SHURIKEN.Anchored = true
  1015. SHURIKEN.Parent = Effects
  1016. SHURIKEN.CanCollide = true
  1017. MESH.Scale = MESH.Scale * 5
  1018. MESH.Offset = MESH.Offset * 5
  1019. SHURIKEN.Size = SHURIKEN.Size * 5
  1020. coroutine.resume(coroutine.create(function()
  1021. local TOUCHED = false
  1022. local CFRAME = SHURIKEN.CFrame
  1023. local LOOP = 1
  1024. local HIT = SHURIKEN.Touched:Connect(function(hit)
  1025. if hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= Effects then
  1026. TOUCHED = true
  1027. end
  1028. end)
  1029. repeat
  1030. Swait()
  1031. Trail(SHURIKEN)
  1032. LOOP = LOOP + 1
  1033. SHURIKEN.CFrame = CFRAME * CF(0,0,-LOOP) * ANGLES(RAD(0),RAD(LOOP*15),RAD(0))
  1034. MESH.Scale = MESH.Scale * 1.01
  1035. MESH.Offset = MESH.Offset * 1.01
  1036. SHURIKEN.Size = SHURIKEN.Size * 1.01
  1037. until TOUCHED == true or LOOP >= 250
  1038. SHURIKEN.CanCollide = false
  1039. HIT:disconnect()
  1040. if LOOP >= 250 and TOUCHED == false then
  1041. for i = 1, 50 do
  1042. Swait()
  1043. MESH.Scale = MESH.Scale * 0.9
  1044. MESH.Offset = MESH.Offset * 0.9
  1045. SHURIKEN.Size = SHURIKEN.Size * 0.9
  1046. end
  1047. elseif TOUCHED == true then
  1048. AoEDamage(SHURIKEN.Position,SHURIKEN.Size.X,35,45,7,false,3,1.2,false)
  1049. CreateSound("444667859", SHURIKEN, 3, (math.random(12,16)/10))
  1050. for i = 1, 10 do
  1051. Swait()
  1052. MagicBlock(SHURIKEN.Size.Y*5,5,SHURIKEN.CFrame,"Crimson",VT(SHURIKEN.Size.Y/15,SHURIKEN.Size.Y/15,SHURIKEN.Size.Y/15))
  1053. SHURIKEN.CFrame = SHURIKEN.CFrame * ANGLES(RAD(0),RAD(15),RAD(0))
  1054. MESH.Scale = MESH.Scale * 1.03
  1055. MESH.Offset = MESH.Offset * 1.03
  1056. SHURIKEN.Size = SHURIKEN.Size * 1.03
  1057. SHURIKEN.Transparency = SHURIKEN.Transparency + 0.1
  1058. end
  1059. end
  1060. wait(5)
  1061. SHURIKEN:remove()
  1062. end))
  1063. end
  1064. for i=0, 0.4, 0.1 / Animation_Speed do
  1065. Swait()
  1066. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  1067. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1068. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1069. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1070. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1071. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.5 / Animation_Speed)
  1072. end
  1073. ATTACK = false
  1074. Rooted = false
  1075. end
  1076.  
  1077. function DemonicStorm()
  1078. ATTACK = true
  1079. Rooted = false
  1080. for i=0, 1, 0.1 / Animation_Speed do
  1081. Swait()
  1082. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1083. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1084. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1085. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1086. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.25 / Animation_Speed)
  1087. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.25 / Animation_Speed)
  1088. end
  1089. for i=0, 1.5, 0.1 / Animation_Speed do
  1090. Swait()
  1091. CreateSwirl(VT(1,1,1),15,blade.CFrame,true,4,"Crimson",VT(0.5,0.5,0.5))
  1092. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Crimson",VT(0.001,0.001,1),0)
  1093. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Crimson",VT(0.001,0.001,0.6),0)
  1094. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Black",VT(0.001,0.001,1),0)
  1095. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1096. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1097. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1098. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1099. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.25 / Animation_Speed)
  1100. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.25 / Animation_Speed)
  1101. end
  1102. CreateSound("444667859", blade, 3, (math.random(6,8)/10))
  1103. coroutine.resume(coroutine.create(function()
  1104. local FRAME = CF(RootPart.Position,Mouse.Hit.p)
  1105. for i = 1, 75 do
  1106. Swait(5)
  1107. FRAME = FRAME * CF(0,0,-6)
  1108. CreateSwirl(VT(i,i,i),15,FRAME*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),true,1,"Black",VT(-0.1,-0.1,-0.1),true)
  1109. CreateSwirl(VT(i,i,i),15,FRAME*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),true,1,"Crimson",VT(-0.1,-0.1,-0.1),true)
  1110. AoEDamage(FRAME.p,i*1.5,4,10,0,false,0,1.2,false)
  1111. end
  1112. end))
  1113. for i=0, 0.4, 0.1 / Animation_Speed do
  1114. Swait()
  1115. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  1116. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1117. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1118. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1119. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1120. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.5 / Animation_Speed)
  1121. end
  1122. ATTACK = false
  1123. Rooted = false
  1124. end
  1125.  
  1126. function DemonicSurge()
  1127. ATTACK = true
  1128. Rooted = true
  1129. for i=0, 1, 0.1 / Animation_Speed do
  1130. Swait()
  1131. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1132. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1133. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1134. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1135. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1136. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.5 / Animation_Speed)
  1137. end
  1138. for i=0, 3, 0.1 / Animation_Speed do
  1139. Swait()
  1140. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Crimson",VT(0.001,0.001,1),0)
  1141. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1142. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1143. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1144. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1145. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1146. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.5 / Animation_Speed)
  1147. end
  1148. coroutine.resume(coroutine.create(function()
  1149. local SHURIKEN = CreatePart(3, Effects, "Marble", 0, 0.8, "Crimson", "Shuriken", VT(0.5,0.05,0.5))
  1150. local MESH = CreateMesh("SpecialMesh", SHURIKEN, "FileMesh", "340607397", "", VT(0.35,0.35,0.35), VT(-0.015, 0, -0.05))
  1151. SHURIKEN.CFrame = RootPart.CFrame*CF(0,-5,0)
  1152. SHURIKEN.Parent = Effects
  1153. MESH.Scale = MESH.Scale * 50
  1154. MESH.Offset = MESH.Offset * 50
  1155. SHURIKEN.Size = SHURIKEN.Size * 50
  1156. CreateSound("971126018", SHURIKEN, 7, 0.6)
  1157. for i = 1, 85 do
  1158. Swait()
  1159. AoEDamage(SHURIKEN.Position,SHURIKEN.Size.X/1.5,1,1,0,false,3,1.2,false)
  1160. local FRAME = CF(VT(SHURIKEN.Position.X+MRANDOM(-SHURIKEN.Size.X/2,SHURIKEN.Size.X/2),SHURIKEN.Position.Y,SHURIKEN.Position.Z+MRANDOM(-SHURIKEN.Size.X/2,SHURIKEN.Size.X/2)))
  1161. MagicSphere(VT(0.6,0.6,0.6),15,FRAME,"Crimson",VT(SHURIKEN.Size.Y/4,SHURIKEN.Size.Y,SHURIKEN.Size.Y/4),0)
  1162. MagicSphere(VT(0.2,0.2,0.2),15,FRAME,"Black",VT(SHURIKEN.Size.Y/4,SHURIKEN.Size.Y,SHURIKEN.Size.Y/4),0)
  1163. MagicSphere(VT(0.6,0.6,0.6),15,CF(SHURIKEN.Position),"Crimson",VT(SHURIKEN.Size.Y/4,SHURIKEN.Size.Y*2,SHURIKEN.Size.Y/4),0)
  1164. MagicSphere(VT(0.2,0.2,0.2),15,CF(SHURIKEN.Position),"Black",VT(SHURIKEN.Size.Y/4,SHURIKEN.Size.Y*2,SHURIKEN.Size.Y/4),0)
  1165. MESH.Scale = MESH.Scale * 1.01
  1166. MESH.Offset = MESH.Offset * 1.01
  1167. SHURIKEN.Size = SHURIKEN.Size * 1.01
  1168. Trail(SHURIKEN)
  1169. SHURIKEN.CFrame = SHURIKEN.CFrame * ANGLES(RAD(0),RAD(i),RAD(0))
  1170. end
  1171. for i = 1, 50 do
  1172. Swait()
  1173. MESH.Scale = MESH.Scale * 0.9
  1174. MESH.Offset = MESH.Offset * 0.9
  1175. SHURIKEN.Size = SHURIKEN.Size * 0.9
  1176. end
  1177. SHURIKEN:remove()
  1178. end))
  1179. ATTACK = false
  1180. Rooted = false
  1181. end
  1182.  
  1183. function DemonicBlades()
  1184. ATTACK = true
  1185. Rooted = true
  1186. local MESHID = "86297695"
  1187. local TEXTURE = "86290910"
  1188. for i=0, 1, 0.1 / Animation_Speed do
  1189. Swait()
  1190. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1191. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1192. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1193. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1194. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1195. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.5 / Animation_Speed)
  1196. end
  1197. local BLADEHOLDER = IT("Folder",Effects)
  1198. BLADEHOLDER.Name = "Blades"
  1199. local BLADE1 = CreatePart(3, BLADEHOLDER, "Marble", 0, 1, "Crimson", "Katana", VT(0.5,4,0.5))
  1200. local MESH = CreateMesh("SpecialMesh", BLADE1, "FileMesh", MESHID, TEXTURE, VT(1,1,1), VT(0,0,0))
  1201. BLADE1.CanCollide = true
  1202. BLADE1.CFrame = RootPart.CFrame * CF(-5,3,0)*ANGLES(RAD(180),RAD(0),RAD(0))
  1203. local BLADE2 = CreatePart(3, BLADEHOLDER, "Marble", 0, 1, "Crimson", "Katana", VT(0.5,4,0.5))
  1204. local MESH = CreateMesh("SpecialMesh", BLADE2, "FileMesh", MESHID, TEXTURE, VT(1,1,1), VT(0,0,0))
  1205. BLADE2.CanCollide = true
  1206. BLADE2.CFrame = RootPart.CFrame * CF(5,0,0)*ANGLES(RAD(180),RAD(0),RAD(180))
  1207. local BLADE3 = CreatePart(3, BLADEHOLDER, "Marble", 0, 1, "Crimson", "Katana", VT(0.5,4,0.5))
  1208. local MESH = CreateMesh("SpecialMesh", BLADE3, "FileMesh", MESHID, TEXTURE, VT(1,1,1), VT(0,0,0))
  1209. BLADE3.CanCollide = true
  1210. BLADE3.CFrame = RootPart.CFrame * CF(-5,-3,0)*ANGLES(RAD(180),RAD(0),RAD(0))
  1211. coroutine.resume(coroutine.create(function()
  1212. for i = 1, 100 do
  1213. Swait()
  1214. BLADE1.Transparency = BLADE1.Transparency - 0.01
  1215. BLADE2.Transparency = BLADE1.Transparency
  1216. BLADE3.Transparency = BLADE1.Transparency
  1217. end
  1218. end))
  1219. for i=0, 3, 0.1 / Animation_Speed do
  1220. Swait()
  1221. BLADE1.CFrame = RootPart.CFrame * CF(-5,3,0)*ANGLES(RAD(180),RAD(0),RAD(0))
  1222. BLADE2.CFrame = RootPart.CFrame * CF(5,0,0)*ANGLES(RAD(180),RAD(0),RAD(180))
  1223. BLADE3.CFrame = RootPart.CFrame * CF(-5,-3,0)*ANGLES(RAD(180),RAD(0),RAD(0))
  1224. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Crimson",VT(0.001,0.001,1),0)
  1225. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1226. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1227. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1228. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1229. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1230. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.5 / Animation_Speed)
  1231. end
  1232. for i= 1, 15 do
  1233. Swait()
  1234. Trail(BLADE1)
  1235. Trail(BLADE2)
  1236. Trail(BLADE3)
  1237. BLADE1.CFrame = BLADE1.CFrame * CF(0,0,2)*ANGLES(RAD(0),RAD(-0.4),RAD(0))
  1238. BLADE2.CFrame = BLADE2.CFrame * CF(0,0,2)*ANGLES(RAD(0),RAD(-0.4),RAD(0))
  1239. BLADE3.CFrame = BLADE3.CFrame * CF(0,0,2)*ANGLES(RAD(0),RAD(-0.4),RAD(0))
  1240. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1241. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1242. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1243. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1244. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1245. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.5 / Animation_Speed)
  1246. end
  1247. coroutine.resume(coroutine.create(function()
  1248. for i = 1, 25 do
  1249. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE1, 2, MRANDOM(8,12)/10)
  1250. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE2, 2, MRANDOM(8,12)/10)
  1251. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE3, 2, MRANDOM(8,12)/10)
  1252. AoEDamage(BLADE1.Position,15,15,25,2,false,3,1.2,false)
  1253. AoEDamage(BLADE2.Position,15,15,25,2,false,3,1.2,false)
  1254. AoEDamage(BLADE3.Position,15,15,25,2,false,3,1.2,false)
  1255. CreateSwirl(VT(10,10,10),15,BLADE1.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),true,1,"Pearl",VT(-0.1,-0.1,-0.1),false)
  1256. CreateSwirl(VT(10,10,10),15,BLADE2.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),true,1,"Pearl",VT(-0.1,-0.1,-0.1),false)
  1257. CreateSwirl(VT(10,10,10),15,BLADE3.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),true,1,"Pearl",VT(-0.1,-0.1,-0.1),false)
  1258. for i= 1, 5 do
  1259. BLADE1.CFrame = BLADE1.CFrame * ANGLES(RAD(MRANDOM(-150,150)),RAD(MRANDOM(-150,150)),RAD(MRANDOM(-150,150)))
  1260. BLADE2.CFrame = BLADE2.CFrame * ANGLES(RAD(MRANDOM(-150,150)),RAD(MRANDOM(-150,150)),RAD(MRANDOM(-150,150)))
  1261. BLADE3.CFrame = BLADE3.CFrame * ANGLES(RAD(MRANDOM(-150,150)),RAD(MRANDOM(-150,150)),RAD(MRANDOM(-150,150)))
  1262. end
  1263. Swait()
  1264. end
  1265. coroutine.resume(coroutine.create(function()
  1266. for i = 1, 100 do
  1267. Swait()
  1268. BLADE1.Transparency = BLADE1.Transparency + 0.01
  1269. BLADE2.Transparency = BLADE1.Transparency
  1270. BLADE3.Transparency = BLADE1.Transparency
  1271. end
  1272. end))
  1273. end))
  1274. for i=0, 0.4, 0.1 / Animation_Speed do
  1275. Swait()
  1276. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  1277. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1278. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1279. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1280. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1281. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.5 / Animation_Speed)
  1282. end
  1283. ATTACK = false
  1284. Rooted = false
  1285. end
  1286.  
  1287. function RageOfDemonic()
  1288. ATTACK = true
  1289. Rooted = true
  1290. for i=0, 4, 0.1 / Animation_Speed do
  1291. Swait()
  1292. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Crimson",VT(0.001,0.001,1),0)
  1293. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Crimson",VT(0.001,0.001,0.6),0)
  1294. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Black",VT(0.001,0.001,1),0)
  1295. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1296. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1297. --PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1298. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(45), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1299. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(-45), RAD(25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1300. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1301. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1302. end
  1303. CreateSound("971126018", Torso, 7, 0.6)
  1304. sick:Stop()
  1305. MagicSphere(VT(0.6,0.6,0.6),155,CF(Torso.Position),"Crimson",VT(0.4,0.4,0.4),0)
  1306. MagicSphere(VT(0.2,0.2,0.2),155,CF(Torso.Position),"Black",VT(0.4,0.4,0.4),0)
  1307. for i=0, 4, 0.1 / Animation_Speed do
  1308. Swait()
  1309. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1310. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1311. --PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.27,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1312. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1313. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1314. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1315. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1316. end
  1317. tecks2.Text = Player.Name..", the Enraged Demon"
  1318. VALUE2 = "Rage"
  1319. SKILL1TEXT.Text = "[Z] Demonic Storm"
  1320. SKILL2TEXT.Text = "[B] Demonic Blades"
  1321. SKILL4TEXT.Text = "[V] Cool down"
  1322. sick2:Play()
  1323. ATTACK = false
  1324. Rooted = false
  1325. end
  1326.  
  1327. --//=================================\\
  1328. --|| ASSIGN THINGS TO KEYS
  1329. --\\=================================//
  1330.  
  1331. function MouseDown(Mouse)
  1332. if ATTACK == false then
  1333. end
  1334. end
  1335.  
  1336. function MouseUp(Mouse)
  1337. HOLD = false
  1338. end
  1339.  
  1340. function KeyDown(Key)
  1341. KEYHOLD = true
  1342. if Key == "z" and ATTACK == false then
  1343. if VALUE2 == "Normal" then
  1344. DemonicShuriken()
  1345. elseif VALUE2 == "Rage" then
  1346. DemonicStorm()
  1347. end
  1348. end
  1349.  
  1350. if Key == "b" and ATTACK == false then
  1351. if VALUE2 == "Normal" then
  1352. DemonicSurge()
  1353. elseif VALUE2 == "Rage" then
  1354. DemonicBlades()
  1355. end
  1356. end
  1357.  
  1358. if Key == "c" and ATTACK == false then
  1359. if VALUE1 == false then
  1360. Vanish()
  1361. VALUE1 = true
  1362. elseif VALUE1 == true then
  1363. Appear()
  1364. VALUE1 = false
  1365. end
  1366. end
  1367.  
  1368. if Key == "v" and ATTACK == false and VALUE1 == false then
  1369. if VALUE2 == "Normal" then
  1370. RageOfDemonic()
  1371. elseif VALUE2 == "Rage" then
  1372. VALUE2 = "Normal"
  1373. sick:Play()
  1374. sick2:Stop()
  1375. tecks2.Text = Player.Name
  1376. SKILL1TEXT.Text = "[Z] Demonic Shurikens"
  1377. SKILL2TEXT.Text = "[B] Demonic Surge"
  1378. SKILL4TEXT.Text = "[V] Rage of Demons"
  1379. end
  1380. end
  1381.  
  1382. if Key == "x" and ATTACK == false then
  1383. end
  1384. end
  1385.  
  1386. function KeyUp(Key)
  1387. KEYHOLD = false
  1388. end
  1389.  
  1390. Mouse.Button1Down:connect(function(NEWKEY)
  1391. MouseDown(NEWKEY)
  1392. end)
  1393. Mouse.Button1Up:connect(function(NEWKEY)
  1394. MouseUp(NEWKEY)
  1395. end)
  1396. Mouse.KeyDown:connect(function(NEWKEY)
  1397. KeyDown(NEWKEY)
  1398. end)
  1399. Mouse.KeyUp:connect(function(NEWKEY)
  1400. KeyUp(NEWKEY)
  1401. end)
  1402.  
  1403. --//=================================\\
  1404. --\\=================================//
  1405.  
  1406.  
  1407. function unanchor()
  1408. if UNANCHOR == true then
  1409. g = Character:GetChildren()
  1410. for i = 1, #g do
  1411. if g[i].ClassName == "Part" then
  1412. g[i].Anchored = false
  1413. end
  1414. end
  1415. end
  1416. end
  1417.  
  1418.  
  1419. --//=================================\\
  1420. --|| WRAP THE WHOLE SCRIPT UP
  1421. --\\=================================//
  1422.  
  1423. Humanoid.Changed:connect(function(Jump)
  1424. if Jump == "Jump" and (Disable_Jump == true) then
  1425. Humanoid.Jump = false
  1426. end
  1427. end)
  1428.  
  1429. Humanoid.HipHeight = 2
  1430. Speed = 45
  1431. local FF = IT("ForceField",Character)
  1432. FF.Visible = false
  1433.  
  1434. while true do
  1435. Swait()
  1436. ANIMATE.Parent = nil
  1437. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1438. IDLEANIMATION:Play()
  1439. SINE = SINE + CHANGE
  1440. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1441. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1442. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1443. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -3, 0))).lookVector, 7 * Player_Size, Character)
  1444. local WALKSPEEDVALUE = 3
  1445. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1446. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1447. --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)
  1448. --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)
  1449. --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)
  1450. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1451. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1452. 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)
  1453. --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)
  1454. --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)
  1455. end
  1456. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1457. ANIM = "Jump"
  1458. if ATTACK == false then
  1459. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1460. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1461. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1462. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1463. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1464. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1465. end
  1466. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1467. ANIM = "Fall"
  1468. if ATTACK == false then
  1469. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1470. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1471. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1472. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1473. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1474. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1475. end
  1476. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1477. ANIM = "Idle"
  1478. if ATTACK == false then
  1479. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1480. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  1481. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1482. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1483. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1484. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.15 / Animation_Speed)
  1485. end
  1486. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1487. ANIM = "Walk"
  1488. WALK = WALK + 1 / Animation_Speed
  1489. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1490. WALK = 0
  1491. if WALKINGANIM == true then
  1492. WALKINGANIM = false
  1493. elseif WALKINGANIM == false then
  1494. WALKINGANIM = true
  1495. end
  1496. end
  1497. --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)
  1498. --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)
  1499. if ATTACK == false then
  1500. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1501. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1502. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1503. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1504. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1505. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.15 / Animation_Speed)
  1506. end
  1507. end
  1508. unanchor()
  1509. Humanoid.MaxHealth = "inf"
  1510. Humanoid.Health = "inf"
  1511. if Rooted == false then
  1512. Disable_Jump = false
  1513. Humanoid.WalkSpeed = Speed
  1514. elseif Rooted == true then
  1515. Disable_Jump = true
  1516. Humanoid.WalkSpeed = 0
  1517. end
  1518. local MATHS = {"0","1"}
  1519. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1520. Humanoid.PlatformStand = false
  1521. if Head:FindFirstChildOfClass("Sound") then
  1522. Head:FindFirstChildOfClass("Sound"):remove()
  1523. end
  1524. armweld.C1 = Clerp(armweld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(SINE*10), RAD(0)), 0.15 / Animation_Speed)
  1525. if VALUE1 == true then
  1526. local HOLDER = IT("Folder",Cam)
  1527. HOLDER.Name = "Trail"
  1528. Debris:AddItem(HOLDER,0.05)
  1529. g = Character:GetChildren()
  1530. for i = 1, #g do
  1531. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  1532. local shadow = g[i]:Clone()
  1533. shadow.CFrame = g[i].CFrame
  1534. shadow.Transparency = 0.9
  1535. shadow.Color = C3(0,0,0)
  1536. shadow:ClearAllChildren()
  1537. if g[i].Name == "Head" then
  1538. local MESH = Head.Mesh:Clone()
  1539. MESH.Parent = shadow
  1540. end
  1541. shadow.Anchored = true
  1542. shadow.CanCollide = false
  1543. shadow.Material = "SmoothPlastic"
  1544. shadow.Parent = HOLDER
  1545. end
  1546. end
  1547. g = Weapon:GetChildren()
  1548. for i = 1, #g do
  1549. if g[i].ClassName == "Part" then
  1550. local shadow = g[i]:Clone()
  1551. shadow.CFrame = g[i].CFrame
  1552. shadow.Transparency = 0.9
  1553. shadow.Color = C3(0,0,0)
  1554. shadow:ClearAllChildren()
  1555. if g[i]:FindFirstChild("Mesh") then
  1556. local CLONE = g[i].Mesh:Clone()
  1557. CLONE.Parent = shadow
  1558. end
  1559. shadow.Parent = HOLDER
  1560. shadow.Anchored = true
  1561. shadow.CanCollide = false
  1562. shadow.Material = "SmoothPlastic"
  1563. end
  1564. end
  1565. else
  1566. MagicBlock(0.1,10,blade.CFrame*CF(MRANDOM(-20,20)/100,0,MRANDOM(-20,20)/100),"Crimson",VT(0.1,0.1,0.1))
  1567. end
  1568. if VALUE2 == "Rage" and VALUE1 == false then
  1569. local FRAME = CF(VT(Torso.Position.X+MRANDOM(-15,15),Torso.Position.Y,Torso.Position.Z+MRANDOM(-15,15)))
  1570. AoEDamage(FRAME.p,4,3,6,0,false,3,1.2,false)
  1571. AoEDamage(blade.Position,5,35,35,25,false,3,1.2,false)
  1572. MagicSphere(VT(0.6,0.6,0.6),15,FRAME,"Crimson",VT(0.1,6,0.1),0)
  1573. MagicSphere(VT(0.2,0.2,0.2),15,FRAME,"Black",VT(0.1,6,0.1),0)
  1574. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Crimson",VT(0.001,0.001,0.6),0)
  1575. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Black",VT(0.001,0.001,1),0)
  1576. end
  1577. end
  1578.  
  1579. --//=================================\\
  1580. --\\=================================//
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586. --//====================================================\\--
  1587. --|| END OF SCRIPT
  1588. --\\====================================================//--
Add Comment
Please, Sign In to add comment