Advertisement
Dudermonman

I'm honestly not sure.

Jun 20th, 2018
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 66.40 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6.  
  7. -- Synapse Decompiler
  8. -- Purchase Here: https://brack4712.xyz/synapse/purchase/
  9.  
  10. wait(0.2)
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character.HumanoidRootPart
  19. Torso = Character.Torso
  20. Head = Character.Head
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart.RootJoint
  26. Neck = Torso.Neck
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. local sick = Instance.new("Sound", Torso)
  32. sick.SoundId = "rbxassetid://1828647869"
  33. sick.Looped = true
  34. sick.Pitch = 1
  35. sick.Volume = 1
  36. sick:Play()
  37. IT = Instance.new
  38. CF = CFrame.new
  39. VT = Vector3.new
  40. RAD = math.rad
  41. C3 = Color3.new
  42. UD2 = UDim2.new
  43. BRICKC = BrickColor.new
  44. ANGLES = CFrame.Angles
  45. EULER = CFrame.fromEulerAnglesXYZ
  46. COS = math.cos
  47. ACOS = math.acos
  48. SIN = math.sin
  49. ASIN = math.asin
  50. ABS = math.abs
  51. MRANDOM = math.random
  52. FLOOR = math.floor
  53. Animation_Speed = 3
  54. Humanoid.HipHeight = 1
  55. Frame_Speed = 0.016666666666666666
  56. local Speed = 75
  57. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  58. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  59. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  60. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  61. local DAMAGEMULTIPLIER = 1
  62. local ANIM = "Idle"
  63. local ATTACK = false
  64. local EQUIPPED = false
  65. local HOLD = false
  66. local COMBO = 1
  67. local Rooted = false
  68. local SINE = 0
  69. local KEYHOLD = false
  70. local CHANGE = 2 / Animation_Speed
  71. local WALKINGANIM = false
  72. local VALUE1 = false
  73. local VALUE2 = false
  74. local ROBLOXIDLEANIMATION = IT("Animation")
  75. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  76. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  77. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  78. WEAPONGUI.Name = "Weapon GUI"
  79. local Weapon = IT("Model")
  80. Weapon.Name = "Adds"
  81. local Effects = IT("Folder", Weapon)
  82. Effects.Name = "Effects"
  83. local ANIMATOR = Humanoid.Animator
  84. local ANIMATE = Character.Animate
  85. local UNANCHOR = true
  86. local FORCEWINGS = false
  87. local GYRO, FLIGHTFORCE
  88. local INTRO = false
  89. ArtificialHB = Instance.new("BindableEvent", script)
  90. ArtificialHB.Name = "ArtificialHB"
  91. script:WaitForChild("ArtificialHB")
  92. frame = Frame_Speed
  93. tf = 0
  94. allowframeloss = false
  95. tossremainder = false
  96. lastframe = tick()
  97. script.ArtificialHB:Fire()
  98. game:GetService("RunService").Heartbeat:connect(function(s, p)
  99. tf = tf + s
  100. if tf >= frame then
  101. if allowframeloss then
  102. script.ArtificialHB:Fire()
  103. lastframe = tick()
  104. else
  105. for i = 1, math.floor(tf / frame) do
  106. script.ArtificialHB:Fire()
  107. end
  108. lastframe = tick()
  109. end
  110. if tossremainder then
  111. tf = 0
  112. else
  113. tf = tf - frame * math.floor(tf / frame)
  114. end
  115. end
  116. end)
  117. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  118. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  119. end
  120. function PositiveAngle(NUMBER)
  121. if NUMBER >= 0 then
  122. NUMBER = 0
  123. end
  124. return NUMBER
  125. end
  126. function NegativeAngle(NUMBER)
  127. if NUMBER <= 0 then
  128. NUMBER = 0
  129. end
  130. return NUMBER
  131. end
  132. function Swait(NUMBER)
  133. if NUMBER == 0 or NUMBER == nil then
  134. ArtificialHB.Event:wait()
  135. else
  136. for i = 1, NUMBER do
  137. ArtificialHB.Event:wait()
  138. end
  139. end
  140. end
  141. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  142. local NEWMESH = IT(MESH)
  143. if MESH == "SpecialMesh" then
  144. NEWMESH.MeshType = MESHTYPE
  145. if MESHID ~= "nil" and MESHID ~= "" then
  146. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  147. end
  148. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  149. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  150. end
  151. end
  152. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  153. NEWMESH.Scale = SCALE
  154. NEWMESH.Parent = PARENT
  155. return NEWMESH
  156. end
  157. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  158. local NEWPART = IT("Part")
  159. NEWPART.formFactor = FORMFACTOR
  160. NEWPART.Reflectance = REFLECTANCE
  161. NEWPART.Transparency = TRANSPARENCY
  162. NEWPART.CanCollide = false
  163. NEWPART.Locked = true
  164. NEWPART.Anchored = true
  165. if ANCHOR == false then
  166. NEWPART.Anchored = false
  167. end
  168. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  169. NEWPART.Name = NAME
  170. NEWPART.Size = SIZE
  171. NEWPART.Position = Torso.Position
  172. NEWPART.Material = MATERIAL
  173. NEWPART:BreakJoints()
  174. NEWPART.Parent = PARENT
  175. return NEWPART
  176. end
  177. function QuaternionFromCFrame(cf)
  178. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  179. local trace = m00 + m11 + m22
  180. if trace > 0 then
  181. local s = math.sqrt(1 + trace)
  182. local recip = 0.5 / s
  183. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  184. else
  185. local i = 0
  186. if m00 < m11 then
  187. i = 1
  188. end
  189. if m22 > (i == 0 and m00 or m11) then
  190. i = 2
  191. end
  192. if i == 0 then
  193. local s = math.sqrt(m00 - m11 - m22 + 1)
  194. local recip = 0.5 / s
  195. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  196. elseif i == 1 then
  197. local s = math.sqrt(m11 - m22 - m00 + 1)
  198. local recip = 0.5 / s
  199. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  200. elseif i == 2 then
  201. local s = math.sqrt(m22 - m00 - m11 + 1)
  202. local recip = 0.5 / s
  203. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  204. end
  205. end
  206. end
  207. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  208. local xs, ys, zs = x + x, y + y, z + z
  209. local wx, wy, wz = w * xs, w * ys, w * zs
  210. local xx = x * xs
  211. local xy = x * ys
  212. local xz = x * zs
  213. local yy = y * ys
  214. local yz = y * zs
  215. local zz = z * zs
  216. 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))
  217. end
  218. function QuaternionSlerp(a, b, t)
  219. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  220. local startInterp, finishInterp
  221. if cosTheta >= 1.0E-4 then
  222. if 1 - cosTheta > 1.0E-4 then
  223. local theta = ACOS(cosTheta)
  224. local invSinTheta = 1 / SIN(theta)
  225. startInterp = SIN((1 - t) * theta) * invSinTheta
  226. finishInterp = SIN(t * theta) * invSinTheta
  227. else
  228. startInterp = 1 - t
  229. finishInterp = t
  230. end
  231. elseif 1 + cosTheta > 1.0E-4 then
  232. local theta = ACOS(-cosTheta)
  233. local invSinTheta = 1 / SIN(theta)
  234. startInterp = SIN((t - 1) * theta) * invSinTheta
  235. finishInterp = SIN(t * theta) * invSinTheta
  236. else
  237. startInterp = t - 1
  238. finishInterp = t
  239. end
  240. 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
  241. end
  242. function Clerp(a, b, t)
  243. local qa = {
  244. QuaternionFromCFrame(a)
  245. }
  246. local qb = {
  247. QuaternionFromCFrame(b)
  248. }
  249. local ax, ay, az = a.x, a.y, a.z
  250. local bx, by, bz = b.x, b.y, b.z
  251. local _t = 1 - t
  252. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  253. end
  254. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  255. local frame = IT("Frame")
  256. frame.BackgroundTransparency = TRANSPARENCY
  257. frame.BorderSizePixel = BORDERSIZEPIXEL
  258. frame.Position = POSITION
  259. frame.Size = SIZE
  260. frame.BackgroundColor3 = COLOR
  261. frame.BorderColor3 = BORDERCOLOR
  262. frame.Name = NAME
  263. frame.Parent = PARENT
  264. return frame
  265. end
  266. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  267. local label = IT("TextLabel")
  268. label.BackgroundTransparency = 1
  269. label.Size = UD2(1, 0, 1, 0)
  270. label.Position = UD2(0, 0, 0, 0)
  271. label.TextColor3 = TEXTCOLOR
  272. label.TextStrokeTransparency = STROKETRANSPARENCY
  273. label.TextTransparency = TRANSPARENCY
  274. label.FontSize = TEXTFONTSIZE
  275. label.Font = TEXTFONT
  276. label.BorderSizePixel = BORDERSIZEPIXEL
  277. label.TextScaled = false
  278. label.Text = TEXT
  279. label.Name = NAME
  280. label.Parent = PARENT
  281. return label
  282. end
  283. function NoOutlines(PART)
  284. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  285. end
  286. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  287. local NEWWELD = IT(TYPE)
  288. NEWWELD.Part0 = PART0
  289. NEWWELD.Part1 = PART1
  290. NEWWELD.C0 = C0
  291. NEWWELD.C1 = C1
  292. NEWWELD.Parent = PARENT
  293. return NEWWELD
  294. end
  295. local S = IT("Sound")
  296. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  297. local NEWSOUND
  298. coroutine.resume(coroutine.create(function()
  299. NEWSOUND = S:Clone()
  300. NEWSOUND.Parent = PARENT
  301. NEWSOUND.Volume = VOLUME
  302. NEWSOUND.Pitch = PITCH
  303. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  304. NEWSOUND:play()
  305. if DOESLOOP == true then
  306. NEWSOUND.Looped = true
  307. else
  308. repeat
  309. wait(1)
  310. until NEWSOUND.Playing == false
  311. NEWSOUND:remove()
  312. end
  313. end))
  314. return NEWSOUND
  315. end
  316. function CFrameFromTopBack(at, top, back)
  317. local right = top:Cross(back)
  318. 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)
  319. end
  320. function WACKYEFFECT(Table)
  321. local TYPE = Table.EffectType or "Sphere"
  322. local SIZE = Table.Size or VT(1, 1, 1)
  323. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  324. local TRANSPARENCY = Table.Transparency or 0
  325. local ENDTRANSPARENCY = Table.Transparency2 or 1
  326. local CFRAME = Table.CFrame or Torso.CFrame
  327. local MOVEDIRECTION = Table.MoveToPos or nil
  328. local ROTATION1 = Table.RotationX or 0
  329. local ROTATION2 = Table.RotationY or 0
  330. local ROTATION3 = Table.RotationZ or 0
  331. local MATERIAL = Table.Material or "Neon"
  332. local COLOR = Table.Color or C3(1, 1, 1)
  333. local TIME = Table.Time or 45
  334. local SOUNDID = Table.SoundID or nil
  335. local SOUNDPITCH = Table.SoundPitch or nil
  336. local SOUNDVOLUME = Table.SoundVolume or nil
  337. coroutine.resume(coroutine.create(function()
  338. local PLAYSSOUND = false
  339. local SOUND
  340. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  341. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  342. PLAYSSOUND = true
  343. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  344. end
  345. EFFECT.Color = COLOR
  346. local MSH
  347. if TYPE == "Sphere" then
  348. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  349. elseif TYPE == "Block" then
  350. MSH = IT("BlockMesh", EFFECT)
  351. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  352. elseif TYPE == "Wave" then
  353. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  354. elseif TYPE == "Ring" then
  355. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  356. elseif TYPE == "Slash" then
  357. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  358. elseif TYPE == "Round Slash" then
  359. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  360. elseif TYPE == "Swirl" then
  361. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  362. elseif TYPE == "Skull" then
  363. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  364. elseif TYPE == "Crystal" then
  365. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  366. end
  367. if MSH ~= nil then
  368. local MOVESPEED
  369. if MOVEDIRECTION ~= nil then
  370. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  371. end
  372. local GROWTH = SIZE - ENDSIZE
  373. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  374. if TYPE == "Block" then
  375. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  376. else
  377. EFFECT.CFrame = CFRAME
  378. end
  379. for LOOP = 1, TIME + 1 do
  380. Swait()
  381. MSH.Scale = MSH.Scale - GROWTH / TIME
  382. if TYPE == "Wave" then
  383. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  384. end
  385. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  386. if TYPE == "Block" then
  387. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  388. else
  389. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  390. end
  391. if MOVEDIRECTION ~= nil then
  392. local ORI = EFFECT.Orientation
  393. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  394. EFFECT.Orientation = ORI
  395. end
  396. end
  397. if PLAYSSOUND == false then
  398. EFFECT:remove()
  399. else
  400. SOUND.Stopped:Connect(function()
  401. EFFECT:remove()
  402. end)
  403. end
  404. elseif PLAYSSOUND == false then
  405. EFFECT:remove()
  406. else
  407. repeat
  408. Swait()
  409. until SOUND.Playing == false
  410. EFFECT:remove()
  411. end
  412. end))
  413. end
  414. function MakeForm(PART, TYPE)
  415. if TYPE == "Cyl" then
  416. local MSH = IT("CylinderMesh", PART)
  417. elseif TYPE == "Ball" then
  418. local MSH = IT("SpecialMesh", PART)
  419. MSH.MeshType = "Sphere"
  420. elseif TYPE == "Pine" then
  421. CreateMesh("SpecialMesh", PART, "FileMesh", "1033714", "", PART.Size, VT(0, 0, 0))
  422. end
  423. end
  424. Debris = game:GetService("Debris")
  425. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  426. local DIRECTION = CF(StartPos, EndPos).lookVector
  427. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  428. end
  429. function turnto(position)
  430. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  431. end
  432. function Lightning(Table)
  433. local Color = Table.Color or C3(1, 1, 1)
  434. local StartPos = Table.Start or Torso.Position
  435. local EndPos = Table.End or Mouse.Hit.p
  436. local SegmentLength = Table.SegmentL or 2
  437. local Thickness = Table.Thickness or 0.1
  438. local Dissapear = Table.DoesFade or false
  439. local Parent = Table.Ignore or Character
  440. local MaxDist = Table.MaxDist or 400
  441. local Branches = Table.Branches or false
  442. local HIT, HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  443. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude / SegmentLength)
  444. local LIGHTNINGMODEL = IT("Model", Effects)
  445. LIGHTNINGMODEL.Name = "Lightning"
  446. local LastBolt
  447. for E = 1, DISTANCE do
  448. local ExtraSize = (DISTANCE - E) / 15
  449. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart" .. E, VT(Thickness + ExtraSize, SegmentLength, Thickness + ExtraSize))
  450. PART.Color = Color
  451. MakeForm(PART, "Cyl")
  452. if LastBolt == nil then
  453. PART.CFrame = CF(StartPos, HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -PART.Size.Y / 2, 0)
  454. else
  455. PART.CFrame = CF(LastBolt.CFrame * CF(0, -LastBolt.Size.Y / 2, 0).p, CF(HITPOS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, SegmentLength / 3 + (DISTANCE - E)).p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -PART.Size.Y / 2, 0)
  456. end
  457. LastBolt = PART
  458. if Branches == true then
  459. local CHOICE = MRANDOM(1, 7 + (DISTANCE - E) * 2)
  460. if CHOICE == 1 then
  461. local LASTBRANCH
  462. for i = 1, MRANDOM(2, 5) do
  463. local ExtraSize2 = (DISTANCE - E) / 25 / i
  464. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch" .. E .. "-" .. i, VT(Thickness + ExtraSize2, SegmentLength, Thickness + ExtraSize2))
  465. PART.Color = Color
  466. MakeForm(PART, "Cyl")
  467. if LASTBRANCH == nil then
  468. PART.CFrame = CF(LastBolt.CFrame * CF(0, -LastBolt.Size.Y / 2, 0).p, LastBolt.CFrame * CF(0, -LastBolt.Size.Y / 2, 0) * ANGLES(RAD(0), RAD(0), RAD(MRANDOM(0, 360))) * CF(0, Thickness * 7, 0) * CF(0, 0, -1).p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -PART.Size.Y / 2, 0)
  469. else
  470. PART.CFrame = CF(LASTBRANCH.CFrame * CF(0, -LASTBRANCH.Size.Y / 2, 0).p, LASTBRANCH.CFrame * CF(0, -LASTBRANCH.Size.Y / 2, 0) * ANGLES(RAD(0), RAD(0), RAD(MRANDOM(0, 360))) * CF(0, Thickness * 3, 0) * CF(0, 0, -1).p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -PART.Size.Y / 2, 0)
  471. end
  472. LASTBRANCH = PART
  473. end
  474. end
  475. end
  476. end
  477. if Dissapear == true then
  478. coroutine.resume(coroutine.create(function()
  479. for i = 1, 30 do
  480. Swait()
  481. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  482. if c.ClassName == "Part" then
  483. c.Transparency = i / 30
  484. end
  485. end
  486. end
  487. LIGHTNINGMODEL:remove()
  488. end))
  489. elseif Dissapear == false then
  490. Debris:AddItem(LIGHTNINGMODEL, 0.1)
  491. end
  492. return {
  493. End = LastBolt.CFrame * CF(0, 0, -LastBolt.Size.Z / 2).p,
  494. LastBolt = LastBolt,
  495. Model = LIGHTNINGMODEL
  496. }
  497. end
  498. local Particle = IT("ParticleEmitter", nil)
  499. Particle.Enabled = false
  500. Particle.Transparency = NumberSequence.new({
  501. NumberSequenceKeypoint.new(0, 0),
  502. NumberSequenceKeypoint.new(0.7, 0),
  503. NumberSequenceKeypoint.new(1, 1)
  504. })
  505. Particle.LightEmission = 0.5
  506. Particle.Rate = 500
  507. Particle.Rotation = NumberRange.new(-180, 180)
  508. Particle.RotSpeed = NumberRange.new(-180, 180)
  509. Particle.Texture = "http://www.roblox.com/asset/?id=51349099"
  510. Particle.Color = ColorSequence.new(C3(1, 1, 1))
  511. function ParticleEmitter(Table)
  512. local PRTCL = Particle:Clone()
  513. local Speed = Table.Speed or 5
  514. local Drag = Table.Drag or 0
  515. local Size1 = Table.Size1 or 1
  516. local Size2 = Table.Size2 or 5
  517. local Lifetime1 = Table.Lifetime1 or 1
  518. local Lifetime2 = Table.Lifetime2 or 1.5
  519. local Parent = Table.Parent or Torso
  520. local Emit = Table.Emit or 100
  521. local Offset = Table.Offset or 360
  522. local Enabled = Table.Enabled or false
  523. PRTCL.Parent = Parent
  524. PRTCL.Size = NumberSequence.new(Size1, Size2)
  525. PRTCL.Lifetime = NumberRange.new(Lifetime1, Lifetime2)
  526. PRTCL.Speed = NumberRange.new(Speed)
  527. PRTCL.VelocitySpread = Offset
  528. PRTCL.Drag = Drag
  529. if Enabled == false then
  530. PRTCL:Emit(Emit)
  531. Debris:AddItem(PRTCL, Lifetime2)
  532. else
  533. PRTCL.Enabled = true
  534. end
  535. return PRTCL
  536. end
  537. local RWING = CreatePart(3, Weapon, "Neon", 0, 1, "Pearl", "Right Wing", VT(2, 3, 2) * 1.5, false)
  538. RWING.Color = C3(0.807843137254902, 0.6392156862745098, 0.8549019607843137)
  539. local RWELD = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, RWING, CF(1, 2, 0.5), CF(-1.5, 0, 0))
  540. local LWING = CreatePart(3, Weapon, "Neon", 0, 1, "Pearl", "Left Wing", VT(2, 3, 2) * 1.5, false)
  541. LWING.Color = C3(0.807843137254902, 0.6392156862745098, 0.8549019607843137)
  542. local LWELD = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, LWING, CF(-1, 2, 0.5), CF(1.6, 0, 0))
  543. CreateMesh("SpecialMesh", RWING, "FileMesh", "90615661", "", VT(1.5, 1.5, 1.5) * 0.8, VT(0, 0, 0))
  544. CreateMesh("SpecialMesh", LWING, "FileMesh", "90615581", "", VT(1.5, 1.5, 1.5) * 0.8, VT(0, 0, 0))
  545. local Mask = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Pearl", "Mask", VT(1, 1, 1), false)
  546. CreateMesh("SpecialMesh", Mask, "FileMesh", "395088733", "", VT(0.5, 0.5, 1), VT(0, 0, 0))
  547. CreateWeldOrSnapOrMotor("Weld", Head, Head, Mask, CF(0, 0, -0.5), CF(0, 0, 0))
  548. local Mask = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Lime green", "Mask", VT(1.3, 0.1, 1.3), false)
  549. MakeForm(Mask, "Cyl")
  550. CreateWeldOrSnapOrMotor("Weld", Head, Head, Mask, CF(0, 0.2, 0), CF(0, 0, 0))
  551. local Black = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Pearl", "Mask", VT(0.2, 0.7, 0.3), false)
  552. Black.Color = C3(0, 0, 0)
  553. MakeForm(Black, "Ball")
  554. CreateWeldOrSnapOrMotor("Weld", Head, Head, Black, CF(0, 0.05, -0.6), CF(0, 0, 0))
  555. local Black = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Pearl", "Mask", VT(1, 0.2, 0.3), false)
  556. Black.Color = C3(0, 0, 0)
  557. MakeForm(Black, "Ball")
  558. CreateWeldOrSnapOrMotor("Weld", Head, Head, Black, CF(0, 0.1, -0.6), CF(0, 0, 0))
  559. local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Teal", "Mask", VT(0.1, 0.1, 0.1), false)
  560. MakeForm(Eye, "Ball")
  561. CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye, CF(0.22, 0.1, -0.7), CF(0, 0, 0))
  562. local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Teal", "Mask", VT(0.1, 0.1, 0.1), false)
  563. MakeForm(Eye, "Ball")
  564. CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye, CF(-0.22, 0.1, -0.7), CF(0, 0, 0))
  565. local Horns = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Lime green", "Horns", VT(1, 1, 1), false)
  566. CreateWeldOrSnapOrMotor("Weld", Head, Head, Horns, CF(0, 0.6, 0.1), CF(0, 0, 0))
  567. local MSH = CreateMesh("SpecialMesh", Horns, "FileMesh", "704130637", "", VT(0.17, 0.17, 0.17), VT(0, 0, 0))
  568. MSH.VertexColor = VT(1, 1, 0.5)
  569. local Handle = CreatePart(3, Weapon, "Glass", 0, 0, "Lime green", "Handle", VT(0.2, 1, 0.2), false)
  570. MakeForm(Handle, "Cyl")
  571. local Grasp = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Handle, CF(0, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  572. local Bop = CreatePart(3, Weapon, "Glass", 0, 0, "Lime green", "Bop", VT(0.5, 0.5, 0.5), false)
  573. MakeForm(Bop, "Ball")
  574. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Bop, CF(0, 0.7, 0), CF(0, 0, 0))
  575. local Part = CreatePart(3, Weapon, "Glass", 0, 0, "Black", "Shield", VT(0.5, 0.2, 0.5), false)
  576. MakeForm(Part, "Pine")
  577. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  578. local Part = CreatePart(3, Weapon, "Glass", 0, 0, "Dark blue", "Shield", VT(0.6, 0.3, 0.6), false)
  579. MakeForm(Part, "Pine")
  580. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  581. local Blade = CreatePart(3, Weapon, "Glass", 0, 0, "Teal", "Blade", VT(0.3, 5, 0.3), false)
  582. MakeForm(Blade, "Pine")
  583. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Blade, CF(0, -2.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  584. local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "Lime green", "Shield", VT(1.05, 0.1, 1.05), false)
  585. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(0, -0.3, 0), CF(0, 0, 0))
  586. local ShieldBase = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Pearl", "Shield", VT(2, 2, 1), false)
  587. CreateMesh("SpecialMesh", ShieldBase, "FileMesh", "395088733", "", VT(1, 1, 1), VT(0, 0, 0))
  588. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, ShieldBase, CF(-0.5, -0.3, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  589. local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Pearl", "Shield", VT(0, 0, 0), false)
  590. CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.95, 0.95, 1), VT(0, 0, 0))
  591. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.4, -0.3, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), CF(0, 0, 0))
  592. local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Teal", "Shield", VT(0, 0, 0), false)
  593. CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.95, 0.95, 1), VT(0, 0, 0))
  594. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.515, -0.3, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  595. local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Pearl", "Shield", VT(0, 0, 0), false)
  596. CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.7, 0.7, 1), VT(0, 0, 0))
  597. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.6, -0.3, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  598. local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Teal", "Shield", VT(0, 0, 0), false)
  599. CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.5, 0.5, 1), VT(0, 0, 0))
  600. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.65, -0.3, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  601. local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "Lime green", "Shield", VT(0.8, 2, 0.2), false)
  602. MakeForm(Shield, "Ball")
  603. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.65, -0.3, 0), CF(0, 0, 0))
  604. local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "Lime green", "Shield", VT(0.8, 0.2, 2), false)
  605. MakeForm(Shield, "Ball")
  606. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.65, -0.3, 0), CF(0, 0, 0))
  607. local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Teal", "Shield", VT(0.8, 2, 0.3), false)
  608. MakeForm(Shield, "Ball")
  609. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.6, -0.3, 0), CF(0, 0, 0))
  610. local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Teal", "Shield", VT(0.8, 0.3, 2), false)
  611. MakeForm(Shield, "Ball")
  612. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.6, -0.3, 0), CF(0, 0, 0))
  613. local SKILLTEXTCOLOR = BRICKC("Teal").Color
  614. local SKILLFONT = "SciFi"
  615. local SKILLTEXTSIZE = 12
  616. Humanoid.DisplayDistanceType = "None"
  617. local naeeym2 = IT("BillboardGui", Character)
  618. naeeym2.AlwaysOnTop = true
  619. naeeym2.Size = UDim2.new(5, 35, 2, 15)
  620. naeeym2.StudsOffset = Vector3.new(0, 1.3, 0)
  621. naeeym2.MaxDistance = 75
  622. naeeym2.Adornee = Character.Head
  623. naeeym2.Name = "Name"
  624. naeeym2.PlayerToHideFrom = Player
  625. local tecks2 = IT("TextLabel", naeeym2)
  626. tecks2.BackgroundTransparency = 1
  627. tecks2.TextScaled = true
  628. tecks2.BorderSizePixel = 0
  629. tecks2.Text = Player.Name
  630. tecks2.Font = "SciFi"
  631. tecks2.TextSize = 30
  632. tecks2.TextStrokeTransparency = 0
  633. tecks2.TextColor3 = C3(1, 1, 1)
  634. tecks2.TextStrokeColor3 = SKILLTEXTCOLOR
  635. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  636. tecks2.Parent = naeeym2
  637. for _, c in pairs(Weapon:GetChildren()) do
  638. if c.ClassName == "Part" then
  639. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  640. end
  641. end
  642. Weapon.Parent = Character
  643. Humanoid.Died:connect(function()
  644. ATTACK = true
  645. end)
  646. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Frame")
  647. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[ Z - B - C - V - G - X - Q ]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text")
  648. function ApplyDamage(Humanoid, Damage, TorsoPart)
  649. local defence = Instance.new("BoolValue", Humanoid.Parent)
  650. defence.Name = "HitBy" .. Player.Name
  651. game:GetService("Debris"):AddItem(defence, 0.001)
  652. Damage = Damage * DAMAGEMULTIPLIER
  653. if Humanoid.Health ~= 0 then
  654. local CritChance = MRANDOM(1, 100)
  655. if Damage > Humanoid.Health then
  656. Damage = math.ceil(Humanoid.Health)
  657. if Damage == 0 then
  658. Damage = 0.1
  659. end
  660. end
  661. Humanoid.Health = Humanoid.Health - Damage
  662. end
  663. end
  664. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, FRAME)
  665. local CHILDREN = workspace:GetDescendants()
  666. for index, CHILD in pairs(CHILDREN) do
  667. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD:FindFirstChild(Player.Name .. "Frames") == nil then
  668. do
  669. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  670. if HUM then
  671. do
  672. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  673. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude and HUM.Health > 0 then
  674. do
  675. local FRAMES = IT("Folder", CHILD)
  676. FRAMES.Name = Player.Name .. "Frames"
  677. local DMG = 0
  678. if MINDMG > 1 then
  679. DMG = MRANDOM(MINDMG, MAXDMG)
  680. else
  681. DMG = MINDMG
  682. end
  683. ApplyDamage(HUM, DMG, TORSO)
  684. CreateSound(12222242, TORSO, 5, 1, false)
  685. coroutine.resume(coroutine.create(function()
  686. for _, c in pairs(CHILD:GetDescendants()) do
  687. if c:IsA("BasePart") then
  688. local bv = Instance.new("BodyVelocity")
  689. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  690. if POSITION.Y < TORSO.Position.Y then
  691. bv.velocity = CF(POSITION, TORSO.Position + VT(0, TORSO.Position.Y - POSITION.Y, 0)).lookVector * FLING
  692. else
  693. bv.velocity = CF(POSITION, TORSO.Position + VT(0, 5, 0)).lookVector * FLING
  694. end
  695. bv.Parent = c
  696. c.Reflectance = c.Transparency
  697. c.Transparency = 1
  698. Debris:AddItem(bv, 0.05)
  699. end
  700. end
  701. if 0 < HUM.Health then
  702. if FRAME > 0 then
  703. for i = 1, FRAME do
  704. for _, c in pairs(CHILD:GetDescendants()) do
  705. if c:IsA("BasePart") then
  706. c.Transparency = c.Reflectance
  707. c.Reflectance = 0
  708. end
  709. end
  710. wait()
  711. for _, c in pairs(CHILD:GetDescendants()) do
  712. if c:IsA("BasePart") then
  713. c.Reflectance = c.Transparency
  714. c.Transparency = 1
  715. end
  716. end
  717. wait()
  718. end
  719. else
  720. coroutine.resume(coroutine.create(function()
  721. HUM.CameraOffset = VT(MRANDOM(-35, 35) / 65, MRANDOM(-35, 35) / 65, MRANDOM(-35, 35) / 65)
  722. end))
  723. TORSO.CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  724. end
  725. for _, c in pairs(CHILD:GetDescendants()) do
  726. if c:IsA("BasePart") then
  727. c.Transparency = c.Reflectance
  728. c.Reflectance = 0
  729. end
  730. end
  731. else
  732. for _, c in pairs(CHILD:GetDescendants()) do
  733. if c:IsA("BasePart") then
  734. c.Transparency = c.Reflectance
  735. c.Reflectance = 0
  736. end
  737. end
  738. end
  739. coroutine.resume(coroutine.create(function()
  740. HUM.CameraOffset = VT(0, 0, 0)
  741. end))
  742. FRAMES:remove()
  743. end))
  744. end
  745. end
  746. end
  747. end
  748. end
  749. end
  750. end
  751. end
  752. function X()
  753. ATTACK = true
  754. Rooted = true
  755. local TOAIM = Mouse.Hit.p
  756. turnto(Mouse.Hit.p)
  757. local DONE = false
  758. Humanoid.HipHeight = 5
  759. for i = 0, 0.2, 0.1 / Animation_Speed do
  760. Swait()
  761. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  762. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), 0.75 / Animation_Speed)
  763. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  764. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-35), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  765. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(35), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  766. end
  767. for i = 0, 1.3, 0.1 / Animation_Speed do
  768. Swait()
  769. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.5 * COS(SINE), 0) * ANGLES(RAD(0), RAD(0), RAD(230)), 0.75 / Animation_Speed)
  770. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(35), RAD(0), RAD(-50)), 0.75 / Animation_Speed)
  771. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(35), RAD(-35)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  772. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  773. end
  774. CreateSound(1537955136, Blade, 5, 1, false)
  775. local SLICE = CreatePart(3, Effects, "Neon", 0, 0, "Teal", "Slash", VT(0, 16, 0))
  776. MakeForm(SLICE, "Ball")
  777. CreateSound(342793847, SLICE, 5, 3, false)
  778. SLICE.CFrame = CF(RootPart.CFrame * CF(0, 0, 4).p, TOAIM) * ANGLES(RAD(0), RAD(0), RAD(-45))
  779. ParticleEmitter({
  780. Speed = 2,
  781. Drag = 3,
  782. Size1 = 0.2,
  783. Size2 = 1,
  784. Lifetime1 = 1,
  785. Lifetime2 = 3,
  786. Parent = SLICE,
  787. Emit = 15,
  788. Offset = 360,
  789. Enabled = false
  790. })
  791. coroutine.resume(coroutine.create(function()
  792. Swait(35)
  793. SLICE.Transparency = 0
  794. for i = 1, 45 do
  795. Swait()
  796. SLICE.Size = SLICE.Size + VT(1 + i / 45, 0, 0) / 5
  797. end
  798. wait(0.3)
  799. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Teal", "SlashBeam", VT(0, 0, 0))
  800. MakeForm(BEAM, "Cyl")
  801. BEAM.Color = SLICE.Color
  802. local AIMHIT, AIMPOS = CastProperRay(SLICE.Position, TOAIM, 750, Character)
  803. local DISTANCE = (SLICE.Position - AIMPOS).Magnitude
  804. BEAM.CFrame = CF(SLICE.Position, AIMPOS) * CF(0, 0, -(DISTANCE / 2) - 7.5) * ANGLES(RAD(90), RAD(0), RAD(0))
  805. BEAM.Size = VT(0, DISTANCE + 15, 0)
  806. BEAM.Mesh.Scale = VT(1.8, 1, 1.8)
  807. local BOP = CreatePart(3, Effects, "Neon", 0, 0, "Teal", "Bop", VT(0, 0, 0))
  808. MakeForm(BOP, "Ball")
  809. BOP.Color = SLICE.Color
  810. BOP.CFrame = BEAM.CFrame * CF(0, -BEAM.Size.Y / 2, 0)
  811. wait(0.1)
  812. local SIZE = SLICE.Size.X
  813. local SOUND = CreateSound(415700134, SLICE, 10, 1, false)
  814. local PRT = ParticleEmitter({
  815. Speed = 0,
  816. Drag = 0,
  817. Size1 = 0.3,
  818. Size2 = 0.7,
  819. Lifetime1 = 1,
  820. Lifetime2 = 1.5,
  821. Parent = BEAM,
  822. Emit = 100,
  823. Offset = 360,
  824. Enabled = true
  825. })
  826. PRT.ZOffset = 12
  827. for i = 1, 25 do
  828. Swait()
  829. for i = 1, math.ceil(BEAM.Size.Y / 5) do
  830. ApplyAoE(BEAM.CFrame * CF(0, BEAM.Size.Y / 2 - i * 5, 0).p, BEAM.Size.X / 1.5, 1, 1, 5, 0)
  831. end
  832. BEAM.Size = BEAM.Size + VT(SIZE / 25, 0, SIZE / 25) / 1.8
  833. BOP.Size = BOP.Size + VT(SIZE / 25, SIZE / 25, SIZE / 25)
  834. Humanoid.CameraOffset = VT(MRANDOM(-35, 35) / 65, MRANDOM(-35, 35) / 65, MRANDOM(-35, 35) / 65)
  835. end
  836. repeat
  837. Swait()
  838. BOP.CFrame = BEAM.CFrame * CF(0, -BEAM.Size.Y / 2, 0)
  839. SOUND.Parent = SLICE
  840. for i = 1, math.ceil(BEAM.Size.Y / 5) do
  841. ApplyAoE(BEAM.CFrame * CF(0, BEAM.Size.Y / 2 - i * 5, 0).p, BEAM.Size.X, 1, 1, 5, 0)
  842. end
  843. Humanoid.CameraOffset = VT(MRANDOM(-35, 35) / 65, MRANDOM(-35, 35) / 65, MRANDOM(-35, 35) / 65)
  844. until SOUND.Playing == false
  845. BOP:remove()
  846. BEAM:remove()
  847. DONE = true
  848. Humanoid.CameraOffset = VT(0, 0, 0)
  849. for i = 1, 45 do
  850. Swait()
  851. SLICE.Size = SLICE.Size - VT(1 + i / 45, 0, 0) / 5
  852. end
  853. SLICE:remove()
  854. end))
  855. for i = 0, 1, 0.1 / Animation_Speed do
  856. Swait()
  857. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(40), RAD(0), RAD(0)), 3 / Animation_Speed)
  858. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(130)), 3 / Animation_Speed)
  859. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(35), RAD(0), RAD(0)), 3 / Animation_Speed)
  860. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(-75), RAD(45)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  861. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  862. end
  863. FORCEWINGS = true
  864. for i = 1, 200 do
  865. Swait()
  866. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  867. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(180 + i)) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(i, -i, i * 5), 0.75 / Animation_Speed)
  868. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  869. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-35), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  870. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(35), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  871. end
  872. repeat
  873. wait()
  874. until DONE == true
  875. RootJoint.C0 = CF(0, 300, 0)
  876. Humanoid.HipHeight = 1
  877. for i = 1, 50 do
  878. Swait()
  879. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(40), RAD(0), RAD(0)), 3 / Animation_Speed)
  880. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0), 0.25 / Animation_Speed)
  881. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  882. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-35), RAD(32)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  883. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(35), RAD(-32)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  884. end
  885. ATTACK = false
  886. Rooted = false
  887. FORCEWINGS = false
  888. end
  889. function Intro()
  890. ATTACK = true
  891. Rooted = true
  892. for i = 0, 0.2, 0.1 / Animation_Speed do
  893. Swait()
  894. LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.7, 0.85) * ANGLES(RAD(0), RAD(-15), RAD(0)), 0.75 / Animation_Speed)
  895. RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.7, 0.85) * ANGLES(RAD(0), RAD(15), RAD(0)), 0.75 / Animation_Speed)
  896. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(50)), 0.75 / Animation_Speed)
  897. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(35), RAD(0), RAD(-50)), 0.75 / Animation_Speed)
  898. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(35), RAD(-35)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  899. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  900. end
  901. for i = 0, 3, 0.1 / Animation_Speed do
  902. Swait()
  903. LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.7, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  904. RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.7, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  905. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 0.5 * COS(SINE), 0, 0) * ANGLES(RAD(0), RAD(0), RAD(50)), 0.75 / Animation_Speed)
  906. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(35), RAD(0), RAD(-50)), 0.75 / Animation_Speed)
  907. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(35), RAD(-35)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  908. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  909. end
  910. CreateSound(1537955136, Blade, 5, 1, false)
  911. RWING.Transparency = 0
  912. LWING.Transparency = 0
  913. for i = 1, 15 do
  914. Swait()
  915. LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.7, 0.55) * ANGLES(RAD(0), RAD(15), RAD(0)), 0.75 / Animation_Speed)
  916. RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.7, 0.55) * ANGLES(RAD(0), RAD(-15), RAD(0)), 0.75 / Animation_Speed)
  917. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-50 - i / 15 * 360)), 0.75 / Animation_Speed)
  918. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(35), RAD(0), RAD(50)), 0.75 / Animation_Speed)
  919. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  920. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  921. end
  922. for i = 1, 15 do
  923. Swait()
  924. LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.7, 0.55) * ANGLES(RAD(0), RAD(15), RAD(0)), 0.75 / Animation_Speed)
  925. RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.7, 0.55) * ANGLES(RAD(0), RAD(-15), RAD(0)), 0.75 / Animation_Speed)
  926. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-50)), 0.75 / Animation_Speed)
  927. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(35), RAD(0), RAD(50)), 0.75 / Animation_Speed)
  928. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  929. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  930. end
  931. for i = 0, 1, 0.1 / Animation_Speed do
  932. Swait()
  933. LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.5, 0.85) * ANGLES(RAD(-25), RAD(65), RAD(0)), 0.75 / Animation_Speed)
  934. RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.5, 0.85) * ANGLES(RAD(-25), RAD(-65), RAD(0)), 0.75 / Animation_Speed)
  935. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  936. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  937. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  938. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  939. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(80), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  940. end
  941. ATTACK = false
  942. Rooted = false
  943. end
  944. function Z()
  945. ATTACK = true
  946. Rooted = true
  947. CreateSound(1537955136, Torso, 5, 1, false)
  948. for i = 1, 15 do
  949. Swait()
  950. RootPart.CFrame = RootPart.CFrame * CF(0, 0, 0.5)
  951. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + i / 15 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed)
  952. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed)
  953. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  954. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  955. end
  956. for i = 0, 0.3, 0.1 / Animation_Speed do
  957. Swait()
  958. RootPart.CFrame = RootPart.CFrame * CF(0, 0, 0.015)
  959. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed)
  960. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed)
  961. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  962. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  963. end
  964. FORCEWINGS = true
  965. for i = 1, 10 do
  966. for i = 0, 0.02, 0.1 / Animation_Speed do
  967. Swait()
  968. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 2 / Animation_Speed)
  969. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(85)), 2 / Animation_Speed)
  970. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)), 2 / Animation_Speed)
  971. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  972. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  973. end
  974. do
  975. local RANDOM = MRANDOM(-7, 7) / 5
  976. local RANDOM2 = MRANDOM(-7, 7) / 5
  977. for i = 0, 0.01, 0.1 / Animation_Speed do
  978. Swait()
  979. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.2)
  980. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  981. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 3 / Animation_Speed)
  982. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 3 / Animation_Speed)
  983. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.5 + RANDOM, 0 + RANDOM2) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  984. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  985. end
  986. local WAVES = {}
  987. coroutine.resume(coroutine.create(function()
  988. repeat
  989. Swait()
  990. for E = 1, #WAVES do
  991. if WAVES[E] ~= nil then
  992. ApplyAoE(WAVES[E].Position, 3, 25, 35, 35, 3)
  993. if WAVES[E].Transparency > 0.99 then
  994. WAVES[E]:remove()
  995. table.remove(WAVES, E)
  996. else
  997. WAVES[E].CFrame = WAVES[E].CFrame * CF(0, 1.2, 0)
  998. WAVES[E].Transparency = WAVES[E].Transparency + 0.03
  999. end
  1000. end
  1001. end
  1002. until #WAVES == 0
  1003. end))
  1004. local Wave = CreatePart(3, Effects, "Glass", 0, 0.25, "Lime green", "Wave", VT(1, 3, 1))
  1005. MakeForm(Wave, "Pine")
  1006. Wave.CFrame = Blade.CFrame
  1007. table.insert(WAVES, Wave)
  1008. CreateSound(1537955679, Wave, 7, 1, true)
  1009. end
  1010. end
  1011. ATTACK = false
  1012. Rooted = false
  1013. FORCEWINGS = false
  1014. end
  1015. function B()
  1016. ATTACK = true
  1017. Rooted = false
  1018. FORCEWINGS = true
  1019. for i = 0, 1, 0.1 / Animation_Speed do
  1020. Swait()
  1021. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(170), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1022. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.5 * COS(SINE), 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1023. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1024. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1025. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1026. end
  1027. CreateSound(1537955679, Blade, 7, 0.7, false)
  1028. Rooted = true
  1029. for i = 0, 0.4, 0.1 / Animation_Speed do
  1030. Swait()
  1031. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(115), RAD(-35), RAD(0)), 0.75 / Animation_Speed)
  1032. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1033. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1034. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1035. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1036. end
  1037. coroutine.resume(coroutine.create(function()
  1038. local FRAME = RootPart.CFrame * CF(0, -5, -0.5)
  1039. for i = 1, 125 do
  1040. Swait()
  1041. FRAME = FRAME * CF(0, 0, -1)
  1042. ApplyAoE(FRAME.p, 5, 45, 55, 35, 15)
  1043. WACKYEFFECT({
  1044. Time = 25,
  1045. EffectType = "Sphere",
  1046. Size = VT(1, 18, 1),
  1047. Size2 = VT(1, 0, 1),
  1048. Transparency = 0,
  1049. Transparency2 = 1,
  1050. CFrame = FRAME,
  1051. MoveToPos = nil,
  1052. RotationX = 0,
  1053. RotationY = 0,
  1054. RotationZ = 0,
  1055. Material = "Neon",
  1056. Color = RWING.Color,
  1057. SoundID = nil,
  1058. SoundPitch = nil,
  1059. SoundVolume = nil
  1060. })
  1061. end
  1062. end))
  1063. for i = 0, 0.2, 0.1 / Animation_Speed do
  1064. Swait()
  1065. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(115), RAD(-35), RAD(0)), 0.75 / Animation_Speed)
  1066. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1067. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1068. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1069. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1070. end
  1071. FORCEWINGS = false
  1072. ATTACK = false
  1073. Rooted = false
  1074. end
  1075. function C()
  1076. FORCEWINGS = true
  1077. ATTACK = true
  1078. for i = 0, 1, 0.1 / Animation_Speed do
  1079. Swait()
  1080. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1081. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1082. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1083. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1084. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(80), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1085. end
  1086. Rooted = true
  1087. local Orb = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "Orb", VT(0, 0, 0))
  1088. MakeForm(Orb, "Ball")
  1089. Orb.CFrame = Blade.CFrame * CF(0, 2.25, 0)
  1090. for i = 1, 35 do
  1091. Swait()
  1092. Orb.CFrame = Blade.CFrame * CF(0, 2.25, 0)
  1093. Orb.Size = Orb.Size + VT(0.05, 0.05, 0.05)
  1094. end
  1095. local MAIN = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "Beam", VT(0, 0, 0))
  1096. MakeForm(MAIN, "Cyl")
  1097. for i = 1, 200 do
  1098. Swait()
  1099. local AIMHIT, AIMPOS = CastProperRay(Orb.Position, Mouse.Hit.p, 750, Character)
  1100. local DISTANCE = (Orb.Position - AIMPOS).Magnitude
  1101. MAIN.CFrame = CF(Orb.Position, AIMPOS) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  1102. MAIN.Size = VT(0.7, DISTANCE, 0.7)
  1103. ApplyAoE(AIMPOS, 3, 35, 65, 35, 20)
  1104. end
  1105. MAIN:remove()
  1106. ATTACK = false
  1107. Rooted = false
  1108. FORCEWINGS = false
  1109. for i = 1, 35 do
  1110. Swait()
  1111. Orb.Size = Orb.Size - VT(0.05, 0.05, 0.05)
  1112. end
  1113. Orb:remove()
  1114. end
  1115. function V()
  1116. FORCEWINGS = true
  1117. ATTACK = true
  1118. Rooted = true
  1119. local AREAS = {}
  1120. for i = 1, 15 do
  1121. local AREA = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(6, 35)).p
  1122. local HITFLOOR, HITPOS = CastProperRay(AREA + VT(0, 35, 0), AREA - VT(0, 35, 0), 65, Character)
  1123. if HITFLOOR then
  1124. table.insert(AREAS, HITPOS)
  1125. end
  1126. end
  1127. for E = 1, 35 do
  1128. Swait()
  1129. for i = 1, #AREAS do
  1130. WACKYEFFECT({
  1131. Time = 5,
  1132. EffectType = "Wave",
  1133. Size = VT(5, 1, 5),
  1134. Size2 = VT(5, 1, 5),
  1135. Transparency = 0.5,
  1136. Transparency2 = 1,
  1137. CFrame = CF(AREAS[i]) * ANGLES(RAD(0), RAD(E), RAD(0)),
  1138. MoveToPos = nil,
  1139. RotationX = 0,
  1140. RotationY = 0,
  1141. RotationZ = 0,
  1142. Material = "Neon",
  1143. Color = RWING.Color,
  1144. SoundID = nil,
  1145. SoundPitch = nil,
  1146. SoundVolume = nil
  1147. })
  1148. end
  1149. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.5 * COS(SINE), 0) * ANGLES(RAD(0), RAD(0), RAD(-50)), 0.75 / Animation_Speed)
  1150. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(35), RAD(0), RAD(50)), 0.75 / Animation_Speed)
  1151. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1152. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1153. end
  1154. for E = 1, 12 do
  1155. Swait()
  1156. for i = 1, #AREAS do
  1157. WACKYEFFECT({
  1158. Time = 5,
  1159. EffectType = "Wave",
  1160. Size = VT(5, 1, 5),
  1161. Size2 = VT(5, 1, 5),
  1162. Transparency = 0.5,
  1163. Transparency2 = 1,
  1164. CFrame = CF(AREAS[i]) * ANGLES(RAD(0), RAD(E + 35), RAD(0)),
  1165. MoveToPos = nil,
  1166. RotationX = 0,
  1167. RotationY = 0,
  1168. RotationZ = 0,
  1169. Material = "Neon",
  1170. Color = RWING.Color,
  1171. SoundID = nil,
  1172. SoundPitch = nil,
  1173. SoundVolume = nil
  1174. })
  1175. end
  1176. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1177. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1178. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1179. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1180. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(80), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1181. end
  1182. for i = 1, #AREAS do
  1183. ApplyAoE(AREAS[i], 15, 45, 55, 35, 20)
  1184. Lightning({
  1185. Color = BRICKC("Lime green").Color,
  1186. Start = AREAS[i],
  1187. End = AREAS[i] + VT(0, 100, 0),
  1188. SegmentL = 2,
  1189. Thickness = 0.2,
  1190. DoesFade = true,
  1191. Ignore = workspace,
  1192. MaxDist = 30,
  1193. Branches = false
  1194. })
  1195. Lightning({
  1196. Color = RWING.Color,
  1197. Start = AREAS[i],
  1198. End = AREAS[i] + VT(0, 100, 0),
  1199. SegmentL = 2,
  1200. Thickness = 0.3,
  1201. DoesFade = true,
  1202. Ignore = workspace,
  1203. MaxDist = 35,
  1204. Branches = false
  1205. })
  1206. WACKYEFFECT({
  1207. Time = 15,
  1208. EffectType = "Wave",
  1209. Size = VT(10, 0, 10),
  1210. Size2 = VT(9, 5, 9),
  1211. Transparency = 0,
  1212. Transparency2 = 1,
  1213. CFrame = CF(AREAS[i]),
  1214. MoveToPos = nil,
  1215. RotationX = 0,
  1216. RotationY = 5,
  1217. RotationZ = 0,
  1218. Material = "Neon",
  1219. Color = RWING.Color,
  1220. SoundID = 1537955136,
  1221. SoundPitch = MRANDOM(6, 8) / 10,
  1222. SoundVolume = 2
  1223. })
  1224. end
  1225. for i = 0, 0.5, 0.1 / Animation_Speed do
  1226. Swait()
  1227. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1228. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1229. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1230. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1231. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(80), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1232. end
  1233. FORCEWINGS = false
  1234. ATTACK = false
  1235. Rooted = false
  1236. end
  1237. function G()
  1238. ATTACK = true
  1239. Rooted = true
  1240. FORCEWINGS = true
  1241. CreateSound(1537955136, Torso, 5, 1, false)
  1242. for i = 1, 15 do
  1243. Swait()
  1244. RootPart.CFrame = RootPart.CFrame * CF(0, 0, 0.8)
  1245. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + i / 15 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed)
  1246. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed)
  1247. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1248. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1249. end
  1250. for i = 0, 0.3, 0.1 / Animation_Speed do
  1251. Swait()
  1252. RootPart.CFrame = RootPart.CFrame * CF(0, 0, 0.015)
  1253. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed)
  1254. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed)
  1255. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1256. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1257. end
  1258. for i = 0, 1, 0.1 / Animation_Speed do
  1259. Swait()
  1260. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(170), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1261. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.5 * COS(SINE), 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1262. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1263. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1264. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1265. end
  1266. CreateSound(1537955679, Blade, 7, 0.7, false)
  1267. for i = 0, 0.4, 0.1 / Animation_Speed do
  1268. Swait()
  1269. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(115), RAD(-35), RAD(0)), 0.75 / Animation_Speed)
  1270. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1271. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1272. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1273. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1274. end
  1275. local TORNADOBASE = CreatePart(3, Effects, "Neon", 0, 0, "Teal", "Tornado", VT(5, 22.5, 5))
  1276. MakeForm(TORNADOBASE, "Ball")
  1277. TORNADOBASE.Mesh.Scale = VT(1, 8, 1)
  1278. local SWIRL = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Tornado", VT(0, 0, 0))
  1279. CreateMesh("SpecialMesh", SWIRL, "FileMesh", "1051557", "", VT(6, 135, 6), VT(0, 0, 0))
  1280. local SWIRL2 = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Tornado", VT(0, 0, 0))
  1281. CreateMesh("SpecialMesh", SWIRL2, "FileMesh", "1051557", "", VT(6, 135, 6), VT(0, 0, 0))
  1282. CreateSound(415700134, TORNADOBASE, 3, 0.5, true)
  1283. coroutine.resume(coroutine.create(function()
  1284. local FRAME = RootPart.CFrame * CF(0, -5, -0.5)
  1285. for E = 1, 185 do
  1286. Swait()
  1287. FRAME = FRAME * CF(0, 0, -0.8)
  1288. TORNADOBASE.CFrame = FRAME * CF(0, TORNADOBASE.Size.Y / 2, 0)
  1289. SWIRL.CFrame = TORNADOBASE.CFrame * ANGLES(RAD(0), RAD(E * 5), RAD(0))
  1290. SWIRL2.CFrame = TORNADOBASE.CFrame * ANGLES(RAD(0), RAD(-E * 15), RAD(0))
  1291. for i = 1, math.ceil(TORNADOBASE.Size.Y / 6) do
  1292. ApplyAoE(TORNADOBASE.CFrame * CF(0, TORNADOBASE.Size.Y / 2, 0) * CF(0, -i * 6, 0).p, 8, 2, 3, -35, 0)
  1293. end
  1294. WACKYEFFECT({
  1295. Time = 5,
  1296. EffectType = "Wave",
  1297. Size = VT(10, 8, 10),
  1298. Size2 = VT(0, 0, 0),
  1299. Transparency = 0,
  1300. Transparency2 = 1,
  1301. CFrame = CF(FRAME.p) * ANGLES(RAD(0), RAD(E * 5), RAD(0)),
  1302. MoveToPos = nil,
  1303. RotationX = 0,
  1304. RotationY = 5,
  1305. RotationZ = 0,
  1306. Material = "Neon",
  1307. Color = TORNADOBASE.Color,
  1308. SoundID = nil,
  1309. SoundPitch = MRANDOM(6, 8) / 10,
  1310. SoundVolume = 2
  1311. })
  1312. end
  1313. for i = 1, 15 do
  1314. Swait()
  1315. TORNADOBASE.Transparency = i / 15
  1316. SWIRL.Transparency = i / 15
  1317. SWIRL2.Transparency = i / 15
  1318. SWIRL.CFrame = SWIRL.CFrame * ANGLES(RAD(0), RAD(i * 5), RAD(0))
  1319. SWIRL2.CFrame = SWIRL2.CFrame * ANGLES(RAD(0), RAD(-i * 15), RAD(0))
  1320. end
  1321. TORNADOBASE:remove()
  1322. SWIRL:remove()
  1323. SWIRL2:remove()
  1324. end))
  1325. for i = 0, 0.2, 0.1 / Animation_Speed do
  1326. Swait()
  1327. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(115), RAD(-35), RAD(0)), 0.75 / Animation_Speed)
  1328. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1329. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1330. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1331. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1332. end
  1333. FORCEWINGS = false
  1334. ATTACK = false
  1335. Rooted = false
  1336. end
  1337. function MouseDown(Mouse)
  1338. if ATTACK == false then
  1339. end
  1340. end
  1341. function MouseUp(Mouse)
  1342. HOLD = false
  1343. end
  1344. function KeyDown(Key)
  1345. KEYHOLD = true
  1346. if VALUE1 == false then
  1347. if Key == "z" and ATTACK == false then
  1348. Z()
  1349. end
  1350. if Key == "b" and ATTACK == false then
  1351. B()
  1352. end
  1353. if Key == "c" and ATTACK == false then
  1354. C()
  1355. end
  1356. if Key == "v" and ATTACK == false then
  1357. V()
  1358. end
  1359. if Key == "g" and ATTACK == false then
  1360. G()
  1361. end
  1362. if Key == "x" and ATTACK == false then
  1363. X()
  1364. end
  1365. if Key == "q" and ATTACK == false then
  1366. VALUE1 = true
  1367. GYRO = IT("BodyGyro", RootPart)
  1368. GYRO.D = 75
  1369. GYRO.P = 40000
  1370. GYRO.MaxTorque = VT(40000, 40000, 40000)
  1371. GYRO.cframe = CF(RootPart.Position, RootPart.CFrame * CF(0, 0, -1).p)
  1372. FLIGHTFORCE = Instance.new("BodyPosition", RootPart)
  1373. FLIGHTFORCE.D = 215
  1374. FLIGHTFORCE.P = 20000
  1375. FLIGHTFORCE.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1376. FLIGHTFORCE.position = RootPart.Position + VT(0, 1, 0)
  1377. end
  1378. elseif VALUE1 == true then
  1379. if Key == "q" and ATTACK == false then
  1380. VALUE1 = false
  1381. end
  1382. if Key == "w" and ATTACK == false then
  1383. CreateSound(1537955679, RWING, 7, 1.2, false)
  1384. CreateSound(1537955679, LWING, 7, 1.2, false)
  1385. repeat
  1386. VALUE2 = true
  1387. Swait()
  1388. FLIGHTFORCE.Position = RootPart.CFrame * CF(0, 0, -5).p
  1389. until KEYHOLD == false
  1390. VALUE2 = false
  1391. end
  1392. end
  1393. end
  1394. function KeyUp(Key)
  1395. KEYHOLD = false
  1396. end
  1397. Mouse.Button1Down:connect(function(NEWKEY)
  1398. MouseDown(NEWKEY)
  1399. end)
  1400. Mouse.Button1Up:connect(function(NEWKEY)
  1401. MouseUp(NEWKEY)
  1402. end)
  1403. Mouse.KeyDown:connect(function(NEWKEY)
  1404. KeyDown(NEWKEY)
  1405. end)
  1406. Mouse.KeyUp:connect(function(NEWKEY)
  1407. KeyUp(NEWKEY)
  1408. end)
  1409. function unanchor()
  1410. if UNANCHOR == true then
  1411. g = Character:GetChildren()
  1412. for i = 1, #g do
  1413. if g[i].ClassName == "Part" then
  1414. g[i].Anchored = false
  1415. end
  1416. end
  1417. end
  1418. end
  1419. Humanoid.Changed:connect(function(Jump)
  1420. if Jump == "Jump" and Disable_Jump == true then
  1421. Humanoid.Jump = false
  1422. end
  1423. end)
  1424. while true do
  1425. Swait()
  1426. script.Parent = WEAPONGUI
  1427. ANIMATE.Parent = nil
  1428. for _, v in next, Humanoid:GetPlayingAnimationTracks() do
  1429. v:Stop()
  1430. end
  1431. SINE = SINE + CHANGE * 2
  1432. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1433. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1434. if VALUE1 == false then
  1435. if GYRO ~= nil then
  1436. GYRO:remove()
  1437. end
  1438. if FLIGHTFORCE ~= nil then
  1439. FLIGHTFORCE:remove()
  1440. end
  1441. if ATTACK == false then
  1442. Grasp.C1 = Clerp(Grasp.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1443. if TORSOVELOCITY < 1 then
  1444. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 0.75 / Animation_Speed)
  1445. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(35)), 0.75 / Animation_Speed)
  1446. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(5 - 5 * COS(SINE / 12)), RAD(-35), RAD(12 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1447. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1448. elseif TORSOVELOCITY > 1 then
  1449. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 - 0.1 * SIN(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1450. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1451. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-35), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1452. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(-35), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1453. end
  1454. end
  1455. elseif VALUE1 == true then
  1456. if VALUE2 == false and ATTACK == false then
  1457. if GYRO ~= nil then
  1458. GYRO.MaxTorque = VT(0, 40000, 0)
  1459. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1460. end
  1461. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 0.75 / Animation_Speed)
  1462. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(35)), 0.75 / Animation_Speed)
  1463. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(5 - 5 * COS(SINE / 12)), RAD(-35), RAD(12 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1464. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1465. elseif VALUE2 == true and ATTACK == false then
  1466. if GYRO ~= nil then
  1467. GYRO.MaxTorque = VT(40000, 40000, 40000)
  1468. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1469. end
  1470. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(75), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1471. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-40), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1472. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-35), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1473. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(-35), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1474. end
  1475. end
  1476. if FORCEWINGS == true or ATTACK == false then
  1477. LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.5, 0.7 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(12 * COS(SINE / 12)), RAD(45), RAD(0)), 0.75 / Animation_Speed)
  1478. RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.5, 0.7 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(12 * COS(SINE / 12)), RAD(-45), RAD(0)), 0.75 / Animation_Speed)
  1479. end
  1480. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.7, -0.4) * ANGLES(RAD(-25), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1481. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.7, -0.4) * ANGLES(RAD(-15), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1482. unanchor()
  1483. Humanoid.MaxHealth = "inf"
  1484. Humanoid.Health = "inf"
  1485. if Rooted == false then
  1486. Disable_Jump = false
  1487. Humanoid.WalkSpeed = Speed
  1488. elseif Rooted == true then
  1489. Disable_Jump = true
  1490. Humanoid.WalkSpeed = 0
  1491. end
  1492. sick.SoundId = "rbxassetid://152000442"
  1493. sick.Looped = true
  1494. sick.Pitch = 1
  1495. sick.Volume = 3
  1496. sick.Parent = Torso
  1497. sick:Resume()
  1498. if INTRO == false then
  1499. INTRO = true
  1500. coroutine.resume(coroutine.create(function()
  1501. Intro()
  1502. end))
  1503. end
  1504. for _, c in pairs(Character:GetChildren()) do
  1505. if c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  1506. c:remove()
  1507. elseif c.ClassName == "Accessory" and c.Handle:FindFirstChild("HairAttachment") == nil then
  1508. c:remove()
  1509. end
  1510. end
  1511. Humanoid.Name = "Galacta " .. Player.Name
  1512. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement