Advertisement
Sheckles

Dallas

May 18th, 2018
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 90.88 KB | None | 0 0
  1. --Made by OmegaNoscope, you should ask me before you leak it.
  2. --You can contact me on discord. My user/tag is "hecc#5638" Thanks.
  3. warn ([[Why do you have this?
  4. ]])
  5. print([[Icons:
  6. ! = New
  7. ? = Spoilers
  8. * = Exclusivity
  9. ]])
  10. warn([[For Ryan]])
  11. --- its obs smooth do not touch
  12. ---- Sources and functions might be taken from others
  13. plr = game:GetService("Players").LocalPlayer
  14. char = plr.Character
  15. hum = char.Humanoid
  16. local cam = game.Workspace.CurrentCamera
  17. local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  18. Camera = cam
  19. local CamInterrupt = false
  20. local TwoD = false
  21. local TargetInfo = {nil, nil}
  22. cam.CameraType = "Custom"
  23. t = char.Torso
  24. h = char.Head
  25. ra = char["Right Arm"]
  26. la = char["Left Arm"]
  27. rl = char["Right Leg"]
  28. ll = char["Left Leg"]
  29. tors = char.Torso
  30. lleg = char["Left Leg"]
  31. root = char.HumanoidRootPart
  32. hed = char.Head
  33. rleg = char["Right Leg"]
  34. rarm = char["Right Arm"]
  35. larm = char["Left Arm"]
  36. radian = math.rad
  37. random = math.random
  38. Vec3 = Vector3.new
  39. Inst = Instance.new
  40. cFrame = CFrame.new
  41. Euler = CFrame.fromEulerAnglesXYZ
  42. vt = Vector3.new
  43. bc = BrickColor.new
  44. br = BrickColor.random
  45. it = Instance.new
  46. cf = CFrame.new
  47. local eff = true
  48. local shielding = false
  49.  
  50. local Booleans = {
  51. CamFollow = true,
  52. GyroUse = true
  53. }
  54.  
  55. function lerp(object, newCFrame, alpha)
  56. return object:lerp(newCFrame, alpha)
  57. end
  58.  
  59. local Directer = Inst("BodyGyro", root)
  60. Directer.MaxTorque = Vec3(0, 0, 0)
  61. Directer.P = 600000
  62. local CPart = Inst("Part")
  63. CPart.Anchored = true
  64. CPart.CanCollide = false
  65. CPart.Locked = true
  66. CPart.Transparency = 1
  67.  
  68. local rainbowmode = false
  69. local chaosmode = false
  70.  
  71. kan = Instance.new("Sound",char)
  72. kan.Volume = 1.25
  73. kan.TimePosition = 0
  74. kan.PlaybackSpeed = 1
  75. kan.Pitch = 1
  76. kan.SoundId = "rbxassetid://216687935"
  77. kan.Name = "wrecked"
  78. kan.Looped = true
  79. kan:Play()
  80.  
  81. function newTheme(ID,timepos,pitch,vol)
  82. local kanz = kan
  83. --kanz:Stop()
  84. --kanz.Volume = vol
  85. --kanz.TimePosition = timepos
  86. kanz.PlaybackSpeed = pitch
  87. kanz.Pitch = pitch
  88. kanz.SoundId = ID
  89. kanz.Name = "wrecked"
  90. kanz.Looped = true
  91. kanz.Volume = 0.3
  92. --kanz:Play()
  93. --coroutine.resume(coroutine.create(function()
  94. --wait(0.05)
  95. --end))
  96. end
  97.  
  98. function newThemeCust(ID,timepos,pitch,vol)
  99. local kanz = kan
  100. kanz:Stop()
  101. kanz.Volume = vol
  102. kanz.TimePosition = timepos
  103. kanz.PlaybackSpeed = pitch
  104. kanz.Pitch = pitch
  105. kanz.SoundId = ID
  106. kanz.Name = "wrecked"
  107. kanz.Looped = true
  108. kanz:Play()
  109. coroutine.resume(coroutine.create(function()
  110. wait(0.05)
  111. end))
  112. end
  113.  
  114.  
  115.  
  116. function CameraShake(Times, Power, PlayerTarget)
  117. coroutine.resume(coroutine.create(function()
  118. FV = Instance.new("BoolValue", PlayerTarget)
  119. FV.Name = "CameraShake"
  120. for ShakeNum=1,Times do
  121. swait()
  122. local ef=Power
  123. if ef>=1 then
  124. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  125. else
  126. ef=Power*10
  127. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  128. end
  129. end
  130. Humanoid.CameraOffset = Vector3.new(0,0,0)
  131. FV:Destroy()
  132. end))
  133. end
  134.  
  135. function CameraEnshaking(Length,Intensity)
  136. coroutine.resume(coroutine.create(function()
  137. local intensity = 1*Intensity
  138. local rotM = 0.01*Intensity
  139. for i = 0, Length, 0.1 do
  140. swait()
  141. intensity = intensity - 0.05*Intensity/Length
  142. rotM = rotM - 0.0005*Intensity/Length
  143. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  144. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  145. end
  146. Humanoid.CameraOffset = Vec3(0, 0, 0)
  147. end))
  148. end
  149. CamShake=function(Part,Distan,Power,Times)
  150. local de=Part.Position
  151. for i,v in pairs(workspace:children()) do
  152. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  153. for _,c in pairs(v:children()) do
  154. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  155. local Noob=v.Humanoid
  156. if Noob~=nil then
  157. coroutine.resume(coroutine.create(function()
  158. FV = Instance.new("BoolValue", Noob)
  159. FV.Name = "CameraShake"
  160. for ShakeNum=1,Times do
  161. swait()
  162. local ef=Power
  163. if ef>=1 then
  164. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  165. else
  166. ef=Power*10
  167. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  168. end
  169. end
  170. Humanoid.CameraOffset = Vector3.new(0,0,0)
  171. FV:Destroy()
  172. end))
  173. CameraShake(Times, Power, Noob)
  174. end
  175. end
  176. end
  177. end
  178. end
  179. end
  180.  
  181. function chatfunc(text,color)
  182. local chat = coroutine.wrap(function()
  183. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  184. Character:FindFirstChild("TalkingBillBoard"):destroy()
  185. end
  186. local naeeym2 = Instance.new("BillboardGui",Character)
  187. naeeym2.Size = UDim2.new(0,100,0,40)
  188. naeeym2.StudsOffset = Vector3.new(0,3,0)
  189. naeeym2.Adornee = Character.Head
  190. naeeym2.Name = "TalkingBillBoard"
  191. local tecks2 = Instance.new("TextLabel",naeeym2)
  192. tecks2.BackgroundTransparency = 1
  193. tecks2.BorderSizePixel = 0
  194. tecks2.Text = ""
  195. tecks2.Font = "SciFi"
  196. tecks2.TextSize = 30
  197. tecks2.TextStrokeTransparency = 0
  198. tecks2.TextColor3 = color
  199. tecks2.TextStrokeColor3 = Color3.new(151, 0, 0)
  200. tecks2.Size = UDim2.new(1,0,0.5,0)
  201. local tecks3 = Instance.new("TextLabel",naeeym2)
  202. tecks3.BackgroundTransparency = 1
  203. tecks3.BorderSizePixel = 0
  204. tecks3.Text = ""
  205. tecks3.Font = "SciFi"
  206. tecks3.TextSize = 30
  207. tecks3.TextStrokeTransparency = 0
  208. tecks3.TextColor3 = Color3.new(151, 0, 0)
  209. tecks3.TextStrokeColor3 = color
  210. tecks3.Size = UDim2.new(1,0,0.5,0)
  211. coroutine.resume(coroutine.create(function()
  212. while true do
  213. swait(1)
  214. plr.Character.wrecked.Volume = 0.3
  215. if chaosmode == true then
  216. tecks2.TextColor3 = BrickColor.random().Color
  217. tecks3.TextStrokeColor3 = BrickColor.random().Color
  218. end
  219. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  220. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  221. tecks2.Rotation = math.random(-5,5)
  222. tecks3.Rotation = math.random(-5,5)
  223. end
  224. end))
  225. for i = 1,string.len(text),1 do
  226. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  227. tecks2.Text = string.sub(text,1,i)
  228. tecks3.Text = string.sub(text,1,i)
  229. swait(1)
  230. end
  231. wait(1)
  232. local randomrot = math.random(1,2)
  233. if randomrot == 1 then
  234. for i = 1, 50 do
  235. swait()
  236. tecks2.Rotation = tecks2.Rotation - .75
  237. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  238. tecks2.TextTransparency = tecks2.TextTransparency + .04
  239. tecks3.Rotation = tecks2.Rotation + .75
  240. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  241. tecks3.TextTransparency = tecks2.TextTransparency + .04
  242. end
  243. elseif randomrot == 2 then
  244. for i = 1, 50 do
  245. swait()
  246. tecks2.Rotation = tecks2.Rotation + .75
  247. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  248. tecks2.TextTransparency = tecks2.TextTransparency + .04
  249. tecks3.Rotation = tecks2.Rotation - .75
  250. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  251. tecks3.TextTransparency = tecks2.TextTransparency + .04
  252. end
  253. end
  254. naeeym2:Destroy()
  255. end)
  256. chat()
  257. end
  258.  
  259.  
  260. local Create = LoadLibrary("RbxUtility").Create
  261.  
  262. CFuncs = {
  263. ["Part"] = {
  264. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  265. local Part = Create("Part"){
  266. Parent = Parent,
  267. Reflectance = Reflectance,
  268. Transparency = Transparency,
  269. CanCollide = false,
  270. Locked = true,
  271. BrickColor = BrickColor.new(tostring(BColor)),
  272. Name = Name,
  273. Size = Size,
  274. Material = Material,
  275. }
  276. RemoveOutlines(Part)
  277. return Part
  278. end;
  279. };
  280.  
  281. ["Mesh"] = {
  282. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  283. local Msh = Create(Mesh){
  284. Parent = Part,
  285. Offset = OffSet,
  286. Scale = Scale,
  287. }
  288. if Mesh == "SpecialMesh" then
  289. Msh.MeshType = MeshType
  290. Msh.MeshId = MeshId
  291. end
  292. return Msh
  293. end;
  294. };
  295.  
  296. ["Mesh"] = {
  297. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  298. local Msh = Create(Mesh){
  299. Parent = Part,
  300. Offset = OffSet,
  301. Scale = Scale,
  302. }
  303. if Mesh == "SpecialMesh" then
  304. Msh.MeshType = MeshType
  305. Msh.MeshId = MeshId
  306. end
  307. return Msh
  308. end;
  309. };
  310.  
  311. ["Weld"] = {
  312. Create = function(Parent, Part0, Part1, C0, C1)
  313. local Weld = Create("Weld"){
  314. Parent = Parent,
  315. Part0 = Part0,
  316. Part1 = Part1,
  317. C0 = C0,
  318. C1 = C1,
  319. }
  320. return Weld
  321. end;
  322. };
  323.  
  324. ["Sound"] = {
  325. Create = function(id, par, vol, pit)
  326. coroutine.resume(coroutine.create(function()
  327. local S = Create("Sound"){
  328. Volume = vol,
  329. Name = "EffectSoundo",
  330. Pitch = pit or 1,
  331. SoundId = id,
  332. Parent = par or workspace,
  333. }
  334. wait()
  335. S:play()
  336. game:GetService("Debris"):AddItem(S, 10)
  337. end))
  338. end;
  339. };
  340.  
  341. ["LongSound"] = {
  342. Create = function(id, par, vol, pit)
  343. coroutine.resume(coroutine.create(function()
  344. local S = Create("Sound"){
  345. Volume = vol,
  346. Pitch = pit or 1,
  347. SoundId = id,
  348. Parent = par or workspace,
  349. }
  350. wait()
  351. S:play()
  352. game:GetService("Debris"):AddItem(S, 30)
  353. end))
  354. end;
  355. };
  356.  
  357. ["ParticleEmitter"] = {
  358. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  359. local fp = Create("ParticleEmitter"){
  360. Parent = Parent,
  361. Color = ColorSequence.new(Color1, Color2),
  362. LightEmission = LightEmission,
  363. Size = Size,
  364. Texture = Texture,
  365. Transparency = Transparency,
  366. ZOffset = ZOffset,
  367. Acceleration = Accel,
  368. Drag = Drag,
  369. LockedToPart = LockedToPart,
  370. VelocityInheritance = VelocityInheritance,
  371. EmissionDirection = EmissionDirection,
  372. Enabled = Enabled,
  373. Lifetime = LifeTime,
  374. Rate = Rate,
  375. Rotation = Rotation,
  376. RotSpeed = RotSpeed,
  377. Speed = Speed,
  378. VelocitySpread = VelocitySpread,
  379. }
  380. return fp
  381. end;
  382. };
  383.  
  384. CreateTemplate = {
  385.  
  386. };
  387. }
  388.  
  389.  
  390.  
  391. New = function(Object, Parent, Name, Data)
  392. local Object = Instance.new(Object)
  393. for Index, Value in pairs(Data or {}) do
  394. Object[Index] = Value
  395. end
  396. Object.Parent = Parent
  397. Object.Name = Name
  398. return Object
  399. end
  400. local halocolor = BrickColor.new("Crimson")
  401. local halocolor2 = BrickColor.new("Crimson")
  402. local starcolor = BrickColor.new("Crimson")
  403. local lunacolor = BrickColor.new("Crimson")
  404. local lunacolor2 = BrickColor.new("Crimson")
  405. local wepcolor = BrickColor.new("Crimson")
  406. local maincolor = BrickColor.new("Crimson")
  407. local m = Instance.new("Model",char)
  408. local m2 = Instance.new("Model",char)
  409. local m3 = Instance.new("Model",char)
  410. local mw1 = Instance.new("Model",char)
  411. local mw2 = Instance.new("Model",char)
  412.  
  413. local extrawingmod1 = Instance.new("Model",char)
  414. local extrawingmod2 = Instance.new("Model",char)
  415.  
  416. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  417. local p = Instance.new("Part")
  418. p.TopSurface = 0
  419. p.BottomSurface = 0
  420. p.Parent = parent
  421. p.Size = Vector3.new(0.1,0.1,0.1)
  422. p.Transparency = transparency
  423. p.Reflectance = reflectance
  424. p.CanCollide = false
  425. p.Locked = true
  426. p.BrickColor = brickcolor
  427. p.Material = material
  428. return p
  429. end
  430.  
  431. function CreateMesh(parent,meshtype,x1,y1,z1)
  432. local mesh = Instance.new("SpecialMesh",parent)
  433. mesh.MeshType = meshtype
  434. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  435. return mesh
  436. end
  437.  
  438. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  439. local mesh = Instance.new("SpecialMesh",parent)
  440. mesh.MeshType = "FileMesh"
  441. mesh.MeshId = meshid
  442. mesh.Scale = Vector3.new(x1,y1,z1)
  443. return mesh
  444. end
  445.  
  446.  
  447. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  448. local mesh = Instance.new("SpecialMesh",parent)
  449. mesh.MeshType = "FileMesh"
  450. mesh.MeshId = meshid
  451. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  452. mesh.Scale = Vector3.new(x1,y1,z1)
  453. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  454. return mesh
  455. end
  456.  
  457. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  458. local weld = Instance.new("Weld")
  459. weld.Parent = parent
  460. weld.Part0 = part0
  461. weld.Part1 = part1
  462. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  463. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  464. return weld
  465. end
  466.  
  467.  
  468. --------------
  469. local secondchar = Instance.new("Model",char)
  470. local GhostCol = BrickColor.new("Really red")
  471. local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol)
  472. CreateMesh(sectors,"Brick",2*8,2*8,1*8)
  473. local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  474.  
  475. local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  476. CreateMesh(seclarm,"Brick",1*8,2*8,1*8)
  477. local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  478.  
  479. local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  480. CreateMesh(secrarm,"Brick",1*8,2*8,1*8)
  481. local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  482.  
  483. local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  484. CreateMesh(seclleg,"Brick",1*8,2*8,1*8)
  485. local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  486.  
  487. local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  488. CreateMesh(secrleg,"Brick",1*8,2*8,1*8)
  489. local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  490.  
  491. local seched = CreateParta(secondchar,1,0,"Neon",GhostCol)
  492. CreateMesh(seched,"Brick",1*8,1*8,1*8)
  493. local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  494. --------------
  495. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  496. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  497. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  498. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  499.  
  500. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  501. CreateMesh(handle,"Brick",0,0,0)
  502. local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  503. local valuaring = 10
  504. for i = 0, 49 do
  505. valuaring = valuaring + 10
  506. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  507. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  508. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  509. end
  510.  
  511. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  512. CreateMesh(handle,"Brick",0,0,0)
  513. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  514. local valuaring = 10
  515. for i = 0, 49 do
  516. valuaring = valuaring + 10
  517. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  518. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  519. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  520. end
  521.  
  522.  
  523. local handle = CreateParta(m,1,1,"Neon",maincolor)
  524. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  525. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  526.  
  527. -- Right wing.
  528.  
  529. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  530. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  531. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  532.  
  533. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  534. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  535. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  536. A0 = Instance.new('Attachment',wed)
  537. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  538. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  539. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  540. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  541. CreateMesh(wed,"Wedge",0.05,0.5,3)
  542. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  543. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  544. CreateMesh(wed,"Wedge",0.05,3,0.5)
  545. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  546. A1 = Instance.new('Attachment',wed)
  547.  
  548. tr1 = Instance.new('Trail',wed)
  549. tr1.Attachment0 = A0
  550. tr1.Attachment1 = A1
  551. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  552. tr1.LightEmission = 1
  553. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  554. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  555. tr1.Lifetime = 0.6
  556.  
  557. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  558. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  559. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  560.  
  561. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  562. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  563. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  564. A0 = Instance.new('Attachment',wed)
  565. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  566. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  567. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  568. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  569. CreateMesh(wed,"Wedge",0.05,0.5,3)
  570. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  571. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  572. CreateMesh(wed,"Wedge",0.05,3,0.5)
  573. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  574. A1 = Instance.new('Attachment',wed)
  575.  
  576. tr2 = Instance.new('Trail',wed)
  577. tr2.Attachment0 = A0
  578. tr2.Attachment1 = A1
  579. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  580. tr2.LightEmission = 1
  581. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  582. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  583. tr2.Lifetime = 0.6
  584.  
  585. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  586. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  587. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  588.  
  589. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  590. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  591. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  592. A0 = Instance.new('Attachment',wed)
  593. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  594. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  595. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  596. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  597. CreateMesh(wed,"Wedge",0.05,0.5,3)
  598. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  599. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  600. CreateMesh(wed,"Wedge",0.05,3,0.5)
  601. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  602. A1 = Instance.new('Attachment',wed)
  603.  
  604. tr3 = Instance.new('Trail',wed)
  605. tr3.Attachment0 = A0
  606. tr3.Attachment1 = A1
  607. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  608. tr3.LightEmission = 1
  609. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  610. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  611. tr3.Lifetime = 0.6
  612.  
  613. --//====================================================\\--
  614. --|| CREATED BY OmegaNoscope
  615. --\\====================================================//--
  616.  
  617.  
  618.  
  619. wait(0.2)
  620.  
  621.  
  622.  
  623. Player = game:GetService("Players").LocalPlayer
  624. PlayerGui = Player.PlayerGui
  625. Cam = workspace.CurrentCamera
  626. Backpack = Player.Backpack
  627. Character = Player.Character
  628. Humanoid = Character.Humanoid
  629. Mouse = Player:GetMouse()
  630. RootPart = Character["HumanoidRootPart"]
  631. Torso = Character["Torso"]
  632. Head = Character["Head"]
  633. RightArm = Character["Right Arm"]
  634. LeftArm = Character["Left Arm"]
  635. RightLeg = Character["Right Leg"]
  636. LeftLeg = Character["Left Leg"]
  637. RootJoint = RootPart["RootJoint"]
  638. Neck = Torso["Neck"]
  639. RightShoulder = Torso["Right Shoulder"]
  640. LeftShoulder = Torso["Left Shoulder"]
  641. RightHip = Torso["Right Hip"]
  642. LeftHip = Torso["Left Hip"]
  643. local sick = Instance.new("Sound",Character)
  644. sick.SoundId = "rbxassetid://0"
  645. sick.Looped = true
  646. sick.Pitch = 1
  647. sick.Volume = 1
  648. sick:Play()
  649.  
  650. local FF = Instance.new("ForceField",Character)
  651. FF.Visible = false
  652.  
  653. IT = Instance.new
  654. CF = CFrame.new
  655. VT = Vector3.new
  656. RAD = math.rad
  657. C3 = Color3.new
  658. UD2 = UDim2.new
  659. BRICKC = BrickColor.new
  660. ANGLES = CFrame.Angles
  661. EULER = CFrame.fromEulerAnglesXYZ
  662. COS = math.cos
  663. ACOS = math.acos
  664. SIN = math.sin
  665. ASIN = math.asin
  666. ABS = math.abs
  667. MRANDOM = math.random
  668. FLOOR = math.floor
  669.  
  670. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  671. local NEWMESH = IT(MESH)
  672. if MESH == "SpecialMesh" then
  673. NEWMESH.MeshType = MESHTYPE
  674. if MESHID ~= "nil" and MESHID ~= "" then
  675. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  676. end
  677. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  678. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  679. end
  680. end
  681. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  682. NEWMESH.Scale = SCALE
  683. NEWMESH.Parent = PARENT
  684. return NEWMESH
  685. end
  686.  
  687. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  688. local NEWPART = IT("Part")
  689. NEWPART.formFactor = FORMFACTOR
  690. NEWPART.Reflectance = REFLECTANCE
  691. NEWPART.Transparency = TRANSPARENCY
  692. NEWPART.CanCollide = false
  693. NEWPART.Locked = true
  694. NEWPART.Anchored = true
  695. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  696. NEWPART.Name = NAME
  697. NEWPART.Size = SIZE
  698. NEWPART.Position = Torso.Position
  699. NEWPART.Material = MATERIAL
  700. NEWPART:BreakJoints()
  701. NEWPART.Parent = PARENT
  702. return NEWPART
  703. end
  704.  
  705.  
  706. --//=================================\\
  707. --|| CUSTOMIZATION
  708. --\\=================================//
  709.  
  710. Class_Name = "Template"
  711. Weapon_Name = "Add-ons"
  712.  
  713. Custom_Colors = {
  714. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  715. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  716.  
  717. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  718. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  719. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  720. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  721. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  722.  
  723. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  724. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  725. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  726. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  727. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  728. }
  729.  
  730.  
  731. Player_Size = 1 --Size of the player.
  732. Animation_Speed = 3
  733. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  734.  
  735. local Speed = 16
  736. local Effects2 = {}
  737.  
  738. --//=================================\\
  739. --|| END OF CUSTOMIZATION
  740. --\\=================================//
  741.  
  742. local function weldBetween(a, b)
  743. local weldd = Instance.new("ManualWeld")
  744. weldd.Part0 = a
  745. weldd.Part1 = b
  746. weldd.C0 = CFrame.new()
  747. weldd.C1 = b.CFrame:inverse() * a.CFrame
  748. weldd.Parent = a
  749. return weldd
  750. end
  751.  
  752. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  753. local acs = Instance.new("Part")
  754. acs.CanCollide = false
  755. acs.Anchored = false
  756. acs.Size = Vector3.new(0,0,0)
  757. acs.CFrame = attachmentpart.CFrame
  758. acs.Parent = Character
  759. acs.BrickColor = color
  760. local meshs = Instance.new("SpecialMesh")
  761. meshs.MeshId = mesh
  762. meshs.TextureId = texture
  763. meshs.Parent = acs
  764. meshs.Scale = scale
  765. meshs.Offset = offset
  766. weldBetween(attachmentpart,acs)
  767. end
  768.  
  769. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  770. if TYPE == "Gem" then
  771. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  772. acs.Anchored = false
  773. acs.CanCollide = false
  774. acs.CFrame = PART.CFrame
  775. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  776. weldBetween(PART,acs)
  777. elseif TYPE == "Skull" then
  778. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  779. acs.Anchored = false
  780. acs.CanCollide = false
  781. acs.CFrame = PART.CFrame
  782. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  783. weldBetween(PART,acs)
  784. elseif TYPE == "Eye" then
  785. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  786. acs.Anchored = false
  787. acs.CanCollide = false
  788. acs.CFrame = PART.CFrame
  789. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  790. weldBetween(PART,acs)
  791. end
  792. end
  793.  
  794. local FIREHAND = IT("Attachment",RightArm)
  795. FIREHAND.Position = VT(0,-1.2,0)
  796.  
  797. --//=================================\\
  798. --|| USEFUL VALUES
  799. --\\=================================//
  800.  
  801. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  802. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  803. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  804. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  805. local CO1 = 0
  806. local CO2 = 0
  807. local CO3 = 0
  808. local CO4 = 0
  809. local CHANGEDEFENSE = 0
  810. local CHANGEDAMAGE = 0
  811. local CHANGEMOVEMENT = 0
  812. local ANIM = "Idle"
  813. local ATTACK = false
  814. local EQUIPPED = false
  815. local HOLD = false
  816. local COMBO = 1
  817. local LASTPOINT = nil
  818. local BLCF = nil
  819. local SCFR = nil
  820. local STAGGERHITANIM = false
  821. local STAGGERANIM = false
  822. local STUNANIM = false
  823. local CRITCHANCENUMBER = 0
  824. local IDLENUMBER = 0
  825. local DONUMBER = 0
  826. local HANDIDLE = false
  827. local SINE = 0
  828. local CHANGE = 2 / Animation_Speed
  829. local WALKINGANIM = false
  830. local WALK = 0
  831. local DISABLEJUMPING = false
  832. local HASBEENBLOCKED = false
  833. local STUNDELAYNUMBER = 0
  834. local MANADELAYNUMBER = 0
  835. local SECONDARYMANADELAYNUMBER = 0
  836. local ROBLOXIDLEANIMATION = IT("Animation")
  837. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  838. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  839. --ROBLOXIDLEANIMATION.Parent = Humanoid
  840. local WEAPONGUI = IT("ScreenGui", nil)
  841. WEAPONGUI.Name = "Weapon GUI"
  842. local WEAPONTOOL = IT("HopperBin", nil)
  843. WEAPONTOOL.Name = Weapon_Name
  844. local Weapon = IT("Model")
  845. Weapon.Name = Weapon_Name
  846. local Effects = IT("Folder", Weapon)
  847. Effects.Name = "Effects"
  848. local ANIMATOR = Humanoid.Animator
  849. local ANIMATE = Character.Animate
  850. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  851. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  852. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  853. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  854. local UNANCHOR = true
  855. local CIRCLESOUND = "462809305"
  856. local FIREBALL = "463598785"
  857. local EXPLOSION = "416328540"
  858. local RING1 = "462798941"
  859. local RING2 = "462798912"
  860.  
  861. --//=================================\\
  862. --\\=================================//
  863.  
  864. --//=================================\\
  865. --|| STATS
  866. --\\=================================//
  867.  
  868. if Character:FindFirstChild("Stats") ~= nil then
  869. Character:FindFirstChild("Stats").Parent = nil
  870. end
  871.  
  872. local Stats = IT("Folder", nil)
  873. Stats.Name = "Stats"
  874. local ChangeStat = IT("Folder", Stats)
  875. ChangeStat.Name = "ChangeStat"
  876. local Defense = IT("NumberValue", Stats)
  877. Defense.Name = "Defense"
  878. Defense.Value = 1
  879. local Movement = IT("NumberValue", Stats)
  880. Movement.Name = "Movement"
  881. Movement.Value = 1
  882. local Damage = IT("NumberValue", Stats)
  883. Damage.Name = "Damage"
  884. Damage.Value = 1
  885. local Mana = IT("NumberValue", Stats)
  886. Mana.Name = "Mana"
  887. Mana.Value = 0
  888. local SecondaryMana = IT("NumberValue", Stats)
  889. SecondaryMana.Name = "SecondaryMana"
  890. SecondaryMana.Value = 0
  891. local CanCrit = IT("BoolValue", Stats)
  892. CanCrit.Name = "CanCrit"
  893. CanCrit.Value = false
  894. local CritChance = IT("NumberValue", Stats)
  895. CritChance.Name = "CritChance"
  896. CritChance.Value = 20
  897. local CanPenetrateArmor = IT("BoolValue", Stats)
  898. CanPenetrateArmor.Name = "CanPenetrateArmor"
  899. CanPenetrateArmor.Value = false
  900. local AntiTeamKill = IT("BoolValue", Stats)
  901. AntiTeamKill.Name = "AntiTeamKill"
  902. AntiTeamKill.Value = false
  903. local Rooted = IT("BoolValue", Stats)
  904. Rooted.Name = "Rooted"
  905. Rooted.Value = false
  906. local Block = IT("BoolValue", Stats)
  907. Block.Name = "Block"
  908. Block.Value = false
  909. local RecentEnemy = IT("ObjectValue", Stats)
  910. RecentEnemy.Name = "RecentEnemy"
  911. RecentEnemy.Value = nil
  912. local StaggerHit = IT("BoolValue", Stats)
  913. StaggerHit.Name = "StaggerHit"
  914. StaggerHit.Value = false
  915. local Stagger = IT("BoolValue", Stats)
  916. Stagger.Name = "Stagger"
  917. Stagger.Value = false
  918. local Stun = IT("BoolValue", Stats)
  919. Stun.Name = "Stun"
  920. Stun.Value = false
  921. local StunValue = IT("NumberValue", Stats)
  922. StunValue.Name = "StunValue"
  923. StunValue.Value = 0
  924.  
  925.  
  926. --//=================================\\
  927. --\\=================================//
  928.  
  929.  
  930.  
  931.  
  932.  
  933. --//=================================\\
  934. --|| DEBUFFS / BUFFS
  935. --\\=================================//
  936.  
  937. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  938. DEFENSECHANGE1.Name = "ChangeDefense"
  939. DEFENSECHANGE1.Value = 0
  940.  
  941. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  942. MOVEMENTCHANGE1.Name = "ChangeMovement"
  943. MOVEMENTCHANGE1.Value = 0
  944.  
  945. --//=================================\\
  946. --\\=================================//
  947.  
  948.  
  949.  
  950.  
  951.  
  952. --//=================================\\
  953. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  954. --\\=================================//
  955.  
  956. ArtificialHB = Instance.new("BindableEvent", script)
  957. ArtificialHB.Name = "ArtificialHB"
  958.  
  959. script:WaitForChild("ArtificialHB")
  960.  
  961. frame = Frame_Speed
  962. tf = 0
  963. allowframeloss = false
  964. tossremainder = false
  965. lastframe = tick()
  966. script.ArtificialHB:Fire()
  967.  
  968. game:GetService("RunService").Heartbeat:connect(function(s, p)
  969. tf = tf + s
  970. if tf >= frame then
  971. if allowframeloss then
  972. script.ArtificialHB:Fire()
  973. lastframe = tick()
  974. else
  975. for i = 1, math.floor(tf / frame) do
  976. script.ArtificialHB:Fire()
  977. end
  978. lastframe = tick()
  979. end
  980. if tossremainder then
  981. tf = 0
  982. else
  983. tf = tf - frame * math.floor(tf / frame)
  984. end
  985. end
  986. end)
  987.  
  988. --//=================================\\
  989. --\\=================================//
  990.  
  991.  
  992.  
  993.  
  994.  
  995. --//=================================\\
  996. --|| SOME FUNCTIONS
  997. --\\=================================//
  998.  
  999. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1000. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1001. end
  1002.  
  1003. function PositiveAngle(NUMBER)
  1004. if NUMBER >= 0 then
  1005. NUMBER = 0
  1006. end
  1007. return NUMBER
  1008. end
  1009.  
  1010. function NegativeAngle(NUMBER)
  1011. if NUMBER <= 0 then
  1012. NUMBER = 0
  1013. end
  1014. return NUMBER
  1015. end
  1016.  
  1017. function Swait(NUMBER)
  1018. if NUMBER == 0 or NUMBER == nil then
  1019. ArtificialHB.Event:wait()
  1020. else
  1021. for i = 1, NUMBER do
  1022. ArtificialHB.Event:wait()
  1023. end
  1024. end
  1025. end
  1026.  
  1027. function QuaternionFromCFrame(cf)
  1028. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1029. local trace = m00 + m11 + m22
  1030. if trace > 0 then
  1031. local s = math.sqrt(1 + trace)
  1032. local recip = 0.5 / s
  1033. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1034. else
  1035. local i = 0
  1036. if m11 > m00 then
  1037. i = 1
  1038. end
  1039. if m22 > (i == 0 and m00 or m11) then
  1040. i = 2
  1041. end
  1042. if i == 0 then
  1043. local s = math.sqrt(m00 - m11 - m22 + 1)
  1044. local recip = 0.5 / s
  1045. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1046. elseif i == 1 then
  1047. local s = math.sqrt(m11 - m22 - m00 + 1)
  1048. local recip = 0.5 / s
  1049. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1050. elseif i == 2 then
  1051. local s = math.sqrt(m22 - m00 - m11 + 1)
  1052. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1053. end
  1054. end
  1055. end
  1056.  
  1057. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1058. local xs, ys, zs = x + x, y + y, z + z
  1059. local wx, wy, wz = w * xs, w * ys, w * zs
  1060. local xx = x * xs
  1061. local xy = x * ys
  1062. local xz = x * zs
  1063. local yy = y * ys
  1064. local yz = y * zs
  1065. local zz = z * zs
  1066. 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))
  1067. end
  1068.  
  1069. function QuaternionSlerp(a, b, t)
  1070. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1071. local startInterp, finishInterp;
  1072. if cosTheta >= 0.0001 then
  1073. if (1 - cosTheta) > 0.0001 then
  1074. local theta = ACOS(cosTheta)
  1075. local invSinTheta = 1 / SIN(theta)
  1076. startInterp = SIN((1 - t) * theta) * invSinTheta
  1077. finishInterp = SIN(t * theta) * invSinTheta
  1078. else
  1079. startInterp = 1 - t
  1080. finishInterp = t
  1081. end
  1082. else
  1083. if (1 + cosTheta) > 0.0001 then
  1084. local theta = ACOS(-cosTheta)
  1085. local invSinTheta = 1 / SIN(theta)
  1086. startInterp = SIN((t - 1) * theta) * invSinTheta
  1087. finishInterp = SIN(t * theta) * invSinTheta
  1088. else
  1089. startInterp = t - 1
  1090. finishInterp = t
  1091. end
  1092. end
  1093. 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
  1094. end
  1095.  
  1096. function Clerp(a, b, t)
  1097. local qa = {QuaternionFromCFrame(a)}
  1098. local qb = {QuaternionFromCFrame(b)}
  1099. local ax, ay, az = a.x, a.y, a.z
  1100. local bx, by, bz = b.x, b.y, b.z
  1101. local _t = 1 - t
  1102. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1103. end
  1104.  
  1105. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1106. local frame = IT("Frame")
  1107. frame.BackgroundTransparency = TRANSPARENCY
  1108. frame.BorderSizePixel = BORDERSIZEPIXEL
  1109. frame.Position = POSITION
  1110. frame.Size = SIZE
  1111. frame.BackgroundColor3 = COLOR
  1112. frame.BorderColor3 = BORDERCOLOR
  1113. frame.Name = NAME
  1114. frame.Parent = PARENT
  1115. return frame
  1116. end
  1117.  
  1118. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1119. local label = IT("TextLabel")
  1120. label.BackgroundTransparency = 1
  1121. label.Size = UD2(1, 0, 1, 0)
  1122. label.Position = UD2(0, 0, 0, 0)
  1123. label.TextColor3 = C3(255, 255, 255)
  1124. label.TextStrokeTransparency = STROKETRANSPARENCY
  1125. label.TextTransparency = TRANSPARENCY
  1126. label.FontSize = TEXTFONTSIZE
  1127. label.Font = TEXTFONT
  1128. label.BorderSizePixel = BORDERSIZEPIXEL
  1129. label.TextScaled = true
  1130. label.Text = TEXT
  1131. label.Name = NAME
  1132. label.Parent = PARENT
  1133. return label
  1134. end
  1135.  
  1136. function NoOutlines(PART)
  1137. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1138. end
  1139.  
  1140.  
  1141. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1142. local NEWWELD = IT(TYPE)
  1143. NEWWELD.Part0 = PART0
  1144. NEWWELD.Part1 = PART1
  1145. NEWWELD.C0 = C0
  1146. NEWWELD.C1 = C1
  1147. NEWWELD.Parent = PARENT
  1148. return NEWWELD
  1149. end
  1150.  
  1151. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1152. coroutine.resume(coroutine.create(function()
  1153. local NEWSOUND = IT("Sound", PARENT)
  1154. NEWSOUND.Volume = VOLUME
  1155. NEWSOUND.Pitch = PITCH
  1156. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1157. Swait()
  1158. NEWSOUND:play()
  1159. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  1160. end))
  1161. end
  1162.  
  1163. function CFrameFromTopBack(at, top, back)
  1164. local right = top:Cross(back)
  1165. 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)
  1166. end
  1167.  
  1168. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  1169. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  1170. local mesh = IT("SpecialMesh",wave)
  1171. mesh.MeshType = "FileMesh"
  1172. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1173. mesh.Scale = VT(size,size,size)
  1174. mesh.Offset = VT(0,0,-size/8)
  1175. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  1176. coroutine.resume(coroutine.create(function(PART)
  1177. for i = 1, waitt do
  1178. Swait()
  1179. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  1180. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1181. if doesrotate == true then
  1182. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1183. end
  1184. wave.Transparency = wave.Transparency + (0.5/waitt)
  1185. if wave.Transparency > 0.99 then
  1186. wave:remove()
  1187. end
  1188. end
  1189. end))
  1190. end
  1191.  
  1192. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  1193. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  1194. local mesh = IT("SpecialMesh",wave)
  1195. mesh.MeshType = "FileMesh"
  1196. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1197. mesh.Scale = VT(size,size,size)
  1198. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  1199. coroutine.resume(coroutine.create(function(PART)
  1200. for i = 1, waitt do
  1201. Swait()
  1202. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  1203. if doesrotate == true then
  1204. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1205. end
  1206. wave.Transparency = wave.Transparency + (0.5/waitt)
  1207. if wave.Transparency > 0.99 then
  1208. wave:remove()
  1209. end
  1210. end
  1211. end))
  1212. end
  1213.  
  1214. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  1215. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  1216. local mesh = IT("SpecialMesh",wave)
  1217. mesh.MeshType = "FileMesh"
  1218. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  1219. mesh.Scale = VT(size,size,size)
  1220. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  1221. coroutine.resume(coroutine.create(function(PART)
  1222. for i = 1, waitt do
  1223. Swait()
  1224. if doesrotate == true then
  1225. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1226. end
  1227. wave.Transparency = wave.Transparency + (0.5/waitt)
  1228. if wave.Transparency > 0.99 then
  1229. wave.Parent = nil
  1230. end
  1231. end
  1232. end))
  1233. return wave
  1234. end
  1235.  
  1236. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,part,offset,spin1,spin2,color)
  1237. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  1238. local mesh = IT("SpecialMesh",wave)
  1239. mesh.MeshType = "FileMesh"
  1240. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1241. mesh.Scale = VT(size,size,size)
  1242. mesh.Offset = VT(0,0,0)
  1243. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  1244. coroutine.resume(coroutine.create(function(PART)
  1245. for i = 1, waitt do
  1246. Swait()
  1247. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1248. if doesrotate == true then
  1249. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  1250. end
  1251. wave.Transparency = wave.Transparency + (0.5/waitt)
  1252. if wave.Transparency > 0.99 then
  1253. wave:remove()
  1254. end
  1255. end
  1256. end))
  1257. end
  1258.  
  1259. function MagicSphere(size,waitt,part,offset,color)
  1260. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(0,0,0))
  1261. local mesh = IT("SpecialMesh",wave)
  1262. mesh.MeshType = "FileMesh"
  1263. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1264. mesh.Scale = VT(size,size,size)
  1265. mesh.Offset = VT(0,0,0)
  1266. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  1267. coroutine.resume(coroutine.create(function(PART)
  1268. for i = 1, waitt do
  1269. Swait()
  1270. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1271. wave.Transparency = wave.Transparency + (1/waitt)
  1272. if wave.Transparency > 0.99 then
  1273. wave:remove()
  1274. end
  1275. end
  1276. end))
  1277. end
  1278.  
  1279. function MagicBlock(size,waitt,part,offset,color)
  1280. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  1281. local mesh = IT("BlockMesh",wave)
  1282. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  1283. coroutine.resume(coroutine.create(function(PART)
  1284. for i = 1, waitt do
  1285. Swait()
  1286. mesh.Scale = mesh.Scale + VT(size/15,size/15,size/15)
  1287. wave.CFrame = CF(wave.Position) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1288. wave.Transparency = wave.Transparency + (1/waitt)
  1289. if wave.Transparency > 0.99 then
  1290. wave:remove()
  1291. end
  1292. end
  1293. end))
  1294. end
  1295.  
  1296. local EyeSizes={
  1297. NumberSequenceKeypoint.new(0,0.5,0),
  1298. NumberSequenceKeypoint.new(1,0.2,0)
  1299. }
  1300. local EyeTrans={
  1301. NumberSequenceKeypoint.new(0,0,0),
  1302. NumberSequenceKeypoint.new(1,1,0)
  1303. }
  1304. local PE=Instance.new("ParticleEmitter")
  1305. PE.LightEmission=0.8
  1306. PE.Size=NumberSequence.new(EyeSizes)
  1307. PE.Transparency=NumberSequence.new(EyeTrans)
  1308. PE.Rotation=NumberRange.new(0,360)
  1309. PE.LockedToPart = false
  1310. PE.Speed = NumberRange.new(0,0,0)
  1311. PE.ZOffset = 0.3
  1312. PE.Rate = 999
  1313. PE.VelocitySpread = 90000
  1314. PE.Name = "Particles"
  1315.  
  1316. function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
  1317. local particle = nil
  1318. coroutine.resume(coroutine.create(function(PART)
  1319. particle = PE:Clone()
  1320. Swait()
  1321. particle.Rate = 999
  1322. particle.Parent = art
  1323. particle.Acceleration = accel
  1324. if type == "Fire" then
  1325. local EyeSizes={
  1326. NumberSequenceKeypoint.new(0,size,size/2),
  1327. NumberSequenceKeypoint.new(1,size/4,size/8)
  1328. }
  1329. particle.Size = NumberSequence.new(EyeSizes)
  1330. elseif type == "Smoke" then
  1331. local EyeSizes={
  1332. NumberSequenceKeypoint.new(0,0.5,0),
  1333. NumberSequenceKeypoint.new(1,5,0.5)
  1334. }
  1335. particle.Size = NumberSequence.new(EyeSizes)
  1336. elseif type == "Solid" then
  1337. local EyeSizes={
  1338. NumberSequenceKeypoint.new(0,0.5,0),
  1339. NumberSequenceKeypoint.new(1,0.5,0)
  1340. }
  1341. particle.Size = NumberSequence.new(EyeSizes)
  1342. end
  1343. particle.Lifetime=NumberRange.new(lifetime)
  1344. particle.Drag = drag
  1345. if locked == true then
  1346. particle.LockedToPart = true
  1347. end
  1348. particle.Speed = NumberRange.new(speed,speed,speed)
  1349. particle.Texture = "http://www.roblox.com/asset/?id=296874871"
  1350. particle.Enabled = isenabledbydefault
  1351. particle.Color = ColorSequence.new(Color3.new(151, 0, 0))
  1352. end))
  1353. return particle
  1354. end
  1355.  
  1356. local Decal = IT("Decal")
  1357.  
  1358. function CreateMagicCircle(size,doesrotate,rotatedirection,waitt,cframe,alwaysfade)
  1359. local sinkhole = IT("Part")
  1360. sinkhole.Size = VT(size,0,size)
  1361. sinkhole.CFrame = cframe
  1362. --sinkhole.Orientation = VT(0,0,0)
  1363. sinkhole.Parent = Effects
  1364. sinkhole.Material = "Neon"
  1365. sinkhole.Color = C3(1,0,0)
  1366. sinkhole.Anchored = true
  1367. sinkhole.CanCollide = false
  1368. sinkhole.Transparency = 1
  1369. local decal = Decal:Clone()
  1370. decal.Parent = sinkhole
  1371. decal.Face = "Top"
  1372. decal.Texture = "rbxassetid://313945544"
  1373. local decal2 = Decal:Clone()
  1374. decal2.Parent = sinkhole
  1375. decal2.Face = "Bottom"
  1376. decal2.Texture = "rbxassetid://313945673"
  1377. coroutine.resume(coroutine.create(function(PART)
  1378. for i = 1, waitt do
  1379. Swait()
  1380. if doesrotate == true then
  1381. sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1382. end
  1383. if alwaysfade == true then
  1384. decal.Transparency = decal.Transparency + (1/waitt)
  1385. decal2.Transparency = decal.Transparency + (1/waitt)
  1386. end
  1387. if i > waitt-11 and (alwaysfade ~= true) then
  1388. decal.Transparency = decal.Transparency + 0.1
  1389. decal2.Transparency = decal.Transparency + 0.1
  1390. end
  1391. end
  1392. sinkhole.Parent = nil
  1393. end))
  1394. return sinkhole
  1395. end
  1396.  
  1397. function CreateMagicRingTilSize(cframe,size,waitt)
  1398. for i = 1, size do
  1399. CreateMagicCircle(i/5,false,0,3,cframe,true)
  1400. Swait()
  1401. end
  1402. CreateMagicCircle(size/5,false,0,waitt,cframe,false)
  1403. end
  1404.  
  1405. --//=================================\\
  1406. --\\=================================//
  1407.  
  1408.  
  1409. --//=================================\\
  1410. --|| WEAPON CREATION
  1411. --\\=================================//
  1412.  
  1413. if Player_Size ~= 1 then
  1414. for _, v in pairs (Weapon:GetChildren()) do
  1415. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  1416. local p1 = v.Part1
  1417. v.Part1 = nil
  1418. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  1419. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  1420. v.Part1 = p1
  1421. elseif v.ClassName == "Part" then
  1422. for _, b in pairs (v:GetChildren()) do
  1423. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  1424. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  1425. end
  1426. end
  1427. end
  1428. end
  1429. end
  1430.  
  1431. for _, c in pairs(Weapon:GetChildren()) do
  1432. if c.ClassName == "Part" then
  1433. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1434. end
  1435. end
  1436.  
  1437. Weapon.Parent = Character
  1438.  
  1439. Humanoid.Died:connect(function()
  1440. ATTACK = true
  1441. end)
  1442.  
  1443. print(Class_Name.." loaded.")
  1444.  
  1445. --//=================================\\
  1446. --\\=================================//
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452. --//=================================\\
  1453. --|| DAMAGE FUNCTIONS
  1454. --\\=================================//
  1455.  
  1456. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1457. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really red", "Effect", VT())
  1458. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1459. local BODYGYRO = IT("BodyGyro", STATPART)
  1460. local BODYPOSITION = IT("BodyPosition", STATPART)
  1461. BODYPOSITION.P = 2000
  1462. BODYPOSITION.D = 100
  1463. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1464. if LABELTYPE == "Normal" then
  1465. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1466. elseif LABELTYPE == "Debuff" then
  1467. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1468. elseif LABELTYPE == "Interruption" then
  1469. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1470. end
  1471. game:GetService("Debris"):AddItem(STATPART ,5)
  1472. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1473. BILLBOARDGUI.Adornee = STATPART
  1474. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1475. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1476. BILLBOARDGUI.AlwaysOnTop = false
  1477. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1478. TEXTLABEL.BackgroundTransparency = 1
  1479. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1480. TEXTLABEL.Text = TEXT
  1481. TEXTLABEL.Font = "SciFi"
  1482. TEXTLABEL.FontSize="Size42"
  1483. TEXTLABEL.TextColor3 = COLOR
  1484. TEXTLABEL.TextStrokeTransparency = 1
  1485. TEXTLABEL.TextScaled = true
  1486. TEXTLABEL.TextWrapped = true
  1487. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1488. wait(0.2)
  1489. for i=1, 5 do
  1490. wait()
  1491. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1492. end
  1493. wait(1.2)
  1494. for i=1, 5 do
  1495. wait()
  1496. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1497. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1498. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1499. end
  1500. THEPART.Parent = nil
  1501. end),STATPART, BODYPOSITION, TEXTLABEL)
  1502. end
  1503.  
  1504.  
  1505. --//=================================\\
  1506. --|| DAMAGING
  1507. --\\=================================//
  1508.  
  1509. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  1510. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  1511. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1512. local dmg = math.random(min,max)
  1513. if humanoid.Health > 0 then
  1514. if beserk == true then
  1515. humanoid.Health = 0
  1516. else
  1517. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  1518. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  1519. if math.random(1,100) < critrate+1 then
  1520. humanoid.Health = humanoid.Health - dmg*critmultiplier
  1521. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1522. else
  1523. humanoid.Health = humanoid.Health - dmg
  1524. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(255/255, 0, 0))
  1525. end
  1526. local defence = Instance.new("BoolValue",hit.Parent)
  1527. defence.Name = ("HitBy"..Player.Name)
  1528. game:GetService("Debris"):AddItem(defence, 0.5)
  1529. end
  1530. end
  1531. end
  1532. end
  1533.  
  1534. function killnearest(position,range,maxstrength)
  1535. for i,v in ipairs(workspace:GetChildren()) do
  1536. local body = v:GetChildren()
  1537. for part = 1, #body do
  1538. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1539. if(body[part].Position - position).Magnitude < range then
  1540. if v.ClassName == "Model" then
  1541. v:BreakJoints()
  1542. end
  1543. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1544. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1545. end
  1546. end
  1547. end
  1548. if v.ClassName == "Part" then
  1549. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1550. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1551. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1552. end
  1553. end
  1554. end
  1555. end
  1556.  
  1557. --//=================================\\
  1558. --|| ATTACK FUNCTIONS AND STUFF
  1559. --\\=================================//
  1560.  
  1561. function chatfunc(text,waitt)
  1562. local chat = coroutine.wrap(function()
  1563. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1564. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1565. end
  1566. local naeeym2 = Instance.new("BillboardGui",Character)
  1567. naeeym2.Size = UDim2.new(0,100,0,40)
  1568. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1569. naeeym2.Adornee = Character.Head
  1570. naeeym2.Name = "TalkingBillBoard"
  1571. naeeym2.AlwaysOnTop = true
  1572. local tecks2 = Instance.new("TextLabel",naeeym2)
  1573. tecks2.BackgroundTransparency = 1
  1574. tecks2.BorderSizePixel = 0
  1575. tecks2.Text = ""
  1576. tecks2.Font = "Fantasy"
  1577. tecks2.TextSize = 30
  1578. tecks2.TextStrokeTransparency = 1
  1579. tecks2.TextColor3 = Color3.new(151, 0, 0)
  1580. tecks2.TextStrokeColor3 = Color3.new(151, 0, 0)
  1581. tecks2.Size = UDim2.new(1,0,0.5,0)
  1582. local tecks3 = Instance.new("TextLabel",naeeym2)
  1583. tecks3.BackgroundTransparency = 1
  1584. tecks3.BorderSizePixel = 0
  1585. tecks3.Text = ""
  1586. tecks3.Font = "Fantasy"
  1587. tecks3.TextSize = 30
  1588. tecks3.TextStrokeTransparency = 1
  1589. tecks3.TextColor3 = Color3.new(151, 0, 0)
  1590. tecks3.TextStrokeColor3 = Color3.new(151, 0, 0)
  1591. tecks3.Size = UDim2.new(1,0,0.5,0)
  1592. for i = 1,string.len(text),1 do
  1593. tecks2.Text = string.sub(text,1,i)
  1594. tecks3.Text = string.sub(text,1,i)
  1595. wait(0.01)
  1596. end
  1597. wait(waitt)
  1598. naeeym2:Destroy()
  1599. end)
  1600. chat()
  1601. end
  1602.  
  1603. function turnto(pos,part)
  1604. part.CFrame = CF(part.Position,VT(pos.X,RootPart.Position.Y,pos.Z))
  1605. end
  1606.  
  1607. function createfireball(size,enabled)
  1608. local FIREBALL = IT("Part",Effects)
  1609. FIREBALL.Shape = "Ball"
  1610. FIREBALL.Size = VT(size,size,size)
  1611. FIREBALL.Material = "Neon"
  1612. FIREBALL.BrickColor = BRICKC("Really red")
  1613. local PARTICLES = CreateParticles(FIREBALL,VT(0,0,0),2,1,"Fire",enabled,false,size*1.5,5)
  1614. return FIREBALL,PARTICLES
  1615. end
  1616.  
  1617. function Fireball()
  1618. ATTACK = true
  1619. chatfunc("Inferno...",100)
  1620. for i=0, 1.5, 0.1 / Animation_Speed do
  1621. Swait()
  1622. turnto(Mouse.Hit.p,RootPart)
  1623. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.4 / Animation_Speed)
  1624. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-75)), 0.2 / Animation_Speed)
  1625. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(100)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1626. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1627. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1628. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1629. end
  1630. local aimpos = Mouse.Hit.p
  1631. CreateSound(CIRCLESOUND, RightArm, 2, 1)
  1632. CreateMagicRingTilSize(RightArm.CFrame*CF(0,-1.2,0),35,25)
  1633. chatfunc("Combustion",2)
  1634. local FIRE,PARTICLES = createfireball(3,true)
  1635. CreateSound(FIREBALL, FIRE, 2, 1)
  1636. FIRE.CFrame = RightArm.CFrame*CF(0,-1.2,0)
  1637. local bv = Instance.new("BodyVelocity")
  1638. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1639. bv.velocity = CF(FIRE.Position,aimpos).lookVector*50
  1640. bv.Parent = FIRE
  1641. bv.Name = "MOVE"
  1642. local HIT = false
  1643. local harm = FIRE.Touched:Connect(function(hit)
  1644. if HIT == false and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= Effects then
  1645. HIT = true
  1646. coroutine.resume(coroutine.create(function()
  1647. FIRE.Anchored = true
  1648. FIRE.CanCollide = false
  1649. PARTICLES.Enabled = false
  1650. CreateSound(EXPLOSION, FIRE, 10, 1)
  1651. local BURST = CreateParticles(FIRE,VT(0,0,0),2,4,"Fire",false,true,6,85)
  1652. BURST:Emit(750)
  1653. killnearest(FIRE.Position,35,75)
  1654. for i = 1, 35 do
  1655. Swait()
  1656. FIRE.Size = FIRE.Size + VT(2,2,2)
  1657. FIRE.Transparency = FIRE.Transparency + (1/35)
  1658. end
  1659. Swait(250)
  1660. FIRE:remove()
  1661. end))
  1662. end
  1663. end)
  1664. ATTACK = false
  1665. end
  1666.  
  1667. function SolarPunch()
  1668. ATTACK = true
  1669. for i=0, 0.5, 0.1 / Animation_Speed do
  1670. Swait()
  1671. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1672. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1673. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1674. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1675. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  1676. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-15), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1677. end
  1678. local GRAB = nil
  1679. local HIT = false
  1680. local hitting = RightArm.Touched:connect(function(hit)
  1681. if GRAB == nil then
  1682. if hit.Parent:FindFirstChild("Humanoid") then
  1683. if hit.Parent.Humanoid.Health ~= 0 then
  1684. HIT = true
  1685. GRAB = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1686. MagicBlock(1.2,20,GRAB,0,BRICKC("Pearl").Color)
  1687. GRAB.Anchored = true
  1688. CreateSound("131237241", GRAB, 3, 1)
  1689. end
  1690. end
  1691. end
  1692. end)
  1693. for i=0, 1, 0.1 / Animation_Speed do
  1694. Swait()
  1695. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(55)), 0.15 / Animation_Speed)
  1696. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.45 / Animation_Speed)
  1697. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1698. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1699. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  1700. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-35), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1701. if HIT == true then
  1702. break
  1703. end
  1704. end
  1705. hitting:disconnect()
  1706. if GRAB ~= nil then
  1707. Rooted = true
  1708. local BURST = CreateParticles(FIREHAND,VT(0,0,0),1,2,"Fire",true,false,1,2)
  1709. turnto(RootPart.Position,GRAB)
  1710. RootPart.CFrame = GRAB.CFrame * CF(0,0,-4) * ANGLES(RAD(0),RAD(180),RAD(0))
  1711. for i=0, 3, 0.1 / Animation_Speed*4 do
  1712. if GRAB ~= nil then
  1713. Swait()
  1714. turnto(GRAB.Position,RootPart)
  1715. turnto(RootPart.Position,GRAB)
  1716. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.2 / Animation_Speed*8)
  1717. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.2 / Animation_Speed*8)
  1718. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*8)
  1719. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-30)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*8)
  1720. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*8)
  1721. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*8)
  1722. end
  1723. end
  1724. chatfunc("Flaming...",100)
  1725. CreateSound(CIRCLESOUND, GRAB, 2, 1)
  1726. CreateMagicRingTilSize(GRAB.CFrame * CF(0,0,2) * ANGLES(RAD(90),RAD(0),RAD(0)),45,75)
  1727. BURST.Enabled = false
  1728. local BURST = CreateParticles(FIREHAND,VT(0,0,0),1,2,"Fire",false,false,6,25)
  1729. for i=0, 1, 0.1 / Animation_Speed*6 do
  1730. if GRAB ~= nil then
  1731. Swait()
  1732. turnto(GRAB.Position,RootPart)
  1733. turnto(RootPart.Position,GRAB)
  1734. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.2 / Animation_Speed*8)
  1735. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.2 / Animation_Speed*8)
  1736. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*8)
  1737. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*8)
  1738. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  1739. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  1740. end
  1741. end
  1742. chatfunc("Fury!",2)
  1743. if GRAB ~= nil then
  1744. CreateSound(EXPLOSION, GRAB, 10, 1)
  1745. BURST:Emit(300)
  1746. GRAB.Parent:BreakJoints()
  1747. Swait(150)
  1748. end
  1749. end
  1750. FIREHAND:ClearAllChildren()
  1751. GRAB = nil
  1752. Rooted = false
  1753. HIT = nil
  1754. ATTACK = false
  1755. end
  1756.  
  1757. function SunEruption()
  1758. ATTACK = true
  1759. Rooted = true
  1760. chatfunc("Fire...",100)
  1761. for i=0, 1, 0.1 / Animation_Speed do
  1762. Swait()
  1763. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.2 * Player_Size, -0.1 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-12.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1764. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1765. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1766. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1767. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-12.5)), 0.15 / Animation_Speed)
  1768. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.2 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(12.5)), 0.15 / Animation_Speed)
  1769. end
  1770. CreateSound(CIRCLESOUND, LeftLeg, 2, 1)
  1771. CreateMagicRingTilSize(LeftLeg.CFrame*CF(0,-1.2,0),75,25)
  1772. chatfunc("Pillar!",2)
  1773. local Animation_Speed2 = Animation_Speed/8
  1774. for i=0, 1, 0.1 / Animation_Speed2 do
  1775. Swait()
  1776. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.2 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1777. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1778. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1779. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1780. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed2)
  1781. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(5), RAD(-25)), 0.15 / Animation_Speed2)
  1782. end
  1783. RootPart.Anchored = true
  1784. local FIRE,PARTICLES = createfireball(6,false)
  1785. FIRE.CFrame = LeftLeg.CFrame
  1786. PARTICLES:remove()
  1787. CreateMagicCircle(75,true,-0.01,75,CF(LeftLeg.Position) * CF(0,-1,0),false)
  1788. coroutine.resume(coroutine.create(function()
  1789. FIRE.Anchored = true
  1790. FIRE.CanCollide = false
  1791. CreateSound(EXPLOSION, FIRE, 10, 1)
  1792. local BURST = CreateParticles(FIRE,VT(0,0,0),2,4,"Fire",false,true,6,75)
  1793. BURST:Emit(750)
  1794. local BURST = CreateParticles(FIRE,VT(0,0,0),2,4,"Fire",false,true,6,55)
  1795. BURST:Emit(750)
  1796. killnearest(FIRE.Position,45,75)
  1797. local mesh = IT("CylinderMesh",FIRE)
  1798. mesh.Scale = VT(1,10000,1)
  1799. for i = 1, 35 do
  1800. Swait()
  1801. FIRE.Size = FIRE.Size + VT(1,1,1)
  1802. FIRE.Transparency = FIRE.Transparency + (1/35)
  1803. end
  1804. Swait(250)
  1805. FIRE:remove()
  1806. end))
  1807. RootPart.Anchored = false
  1808. Rooted = false
  1809. ATTACK = false
  1810. end
  1811.  
  1812. function SolarImpact()
  1813. ATTACK = true
  1814. for i=0, 0.5, 0.1 / Animation_Speed do
  1815. Swait()
  1816. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1817. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1818. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1819. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1820. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  1821. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-15), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1822. end
  1823. local GRAB = nil
  1824. local HIT = false
  1825. local hitting = RightArm.Touched:connect(function(hit)
  1826. if GRAB == nil then
  1827. if hit.Parent:FindFirstChild("Humanoid") then
  1828. if hit.Parent.Humanoid.Health ~= 0 then
  1829. HIT = true
  1830. GRAB = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1831. MagicBlock(1.2,20,GRAB,0,BRICKC("Pearl").Color)
  1832. GRAB.Anchored = true
  1833. CreateSound("131237241", GRAB, 3, 1)
  1834. end
  1835. end
  1836. end
  1837. end)
  1838. for i=0, 1, 0.1 / Animation_Speed do
  1839. Swait()
  1840. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(55)), 0.15 / Animation_Speed)
  1841. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.45 / Animation_Speed)
  1842. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1843. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1844. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  1845. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-35), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1846. if HIT == true then
  1847. break
  1848. end
  1849. end
  1850. hitting:disconnect()
  1851. if GRAB ~= nil then
  1852. Rooted = true
  1853. turnto(RootPart.Position,GRAB)
  1854. RootPart.CFrame = GRAB.CFrame * CF(0,0,-6) * ANGLES(RAD(0),RAD(180),RAD(0))
  1855. for i=0, 2, 0.1 / Animation_Speed do
  1856. Swait()
  1857. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1858. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1859. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1860. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1861. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1862. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1863. end
  1864. CreateSound("2767090", Torso, 5, MRANDOM(7, 12) / 10)
  1865. CreateWave(0,1.5,true,0.02,150,RootPart,-2,"Really red")
  1866. CreateWave(0,3,true,-0.02,150,RootPart,-2,"Really red")
  1867. local bv = Instance.new("BodyVelocity")
  1868. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1869. bv.velocity = Vector3.new(0,300,0)
  1870. bv.Parent = Torso
  1871. bv.Name = "DASH"
  1872. game:GetService("Debris"):AddItem(bv, 0.5)
  1873. coroutine.resume(coroutine.create(function()
  1874. for i=0, 2, 0.1 / Animation_Speed do
  1875. Swait()
  1876. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1877. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1878. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1879. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1880. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1881. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1882. end
  1883. end))
  1884. Swait(125)
  1885. UNANCHOR = false
  1886. RootPart.Anchored = true
  1887. chatfunc("Fiery...",100)
  1888. for i=0, 0.5, 0.1 / Animation_Speed do
  1889. Swait()
  1890. turnto(GRAB.Position,RootPart)
  1891. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1892. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1893. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1894. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1895. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1896. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1897. --HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1898. end
  1899. local TRAIL = CreateParticles(Torso,VT(0,0,0),2,2,"Fire",true,true,6,15)
  1900. local A1 = IT("Attachment",Torso)
  1901. A1.Position = Vector3.new(0, 0.5, 0)
  1902. local A2 = IT("Attachment",Torso)
  1903. A2.Position = Vector3.new(0, -0.5, 0)
  1904. local Trail = IT("Trail",Torso)
  1905. Trail.LightEmission = 1
  1906. Trail.FaceCamera = true
  1907. Trail.Texture = "rbxassetid://945758042"
  1908. Trail.Attachment0 = A1
  1909. Trail.Attachment1 = A2
  1910. Trail.Lifetime = 0.6
  1911. Trail.MinLength = 0
  1912. Trail.Transparency = NumberSequence.new(0)
  1913. Trail.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  1914. CreateMagicRingTilSize(GRAB.CFrame * CF(0,0,2) * ANGLES(RAD(90),RAD(0),RAD(0)),45,75)
  1915. Swait(30)
  1916. TRAIL.Enabled = false
  1917. for i=0, 3, 0.1 / Animation_Speed do
  1918. turnto(GRAB.Position,RootPart)
  1919. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1920. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1921. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1922. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.2 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1923. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1924. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1925. end
  1926. RootPart.CFrame = GRAB.CFrame * CF(0,0,4) * ANGLES(RAD(0),RAD(180),RAD(0))
  1927. chatfunc("Implosion!",2)
  1928. CreateSound(EXPLOSION, Torso, 10, 1)
  1929. killnearest(Torso.Position,5,0)
  1930. local BURST = CreateParticles(Torso,VT(0,0,0),2,2,"Fire",false,true,6,25)
  1931. BURST:Emit(750)
  1932. Swait(150)
  1933. Trail:remove()
  1934. BURST:remove()
  1935. UNANCHOR = true
  1936. TRAIL:remove()
  1937. end
  1938. FIREHAND:ClearAllChildren()
  1939. GRAB = nil
  1940. Rooted = false
  1941. HIT = nil
  1942. ATTACK = false
  1943. end
  1944.  
  1945. function SolarDemise()
  1946. Rooted = true
  1947. for i=0, 2, 0.1 / Animation_Speed do
  1948. Swait()
  1949. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1950. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1951. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1952. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1953. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1954. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1955. end
  1956. CreateSound("2767090", Torso, 5, MRANDOM(7, 12) / 10)
  1957. CreateWave(0,3.5,true,0.02,150,RootPart,-2,"Really red")
  1958. CreateWave(0,5,true,-0.02,150,RootPart,-2,"Really red")
  1959. local bv = Instance.new("BodyVelocity")
  1960. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1961. bv.velocity = Vector3.new(0,300,0)
  1962. bv.Parent = Torso
  1963. bv.Name = "DASH"
  1964. game:GetService("Debris"):AddItem(bv, 0.5)
  1965. Swait(125)
  1966. ATTACK = true
  1967. UNANCHOR = false
  1968. RootPart.Anchored = true
  1969. for i=0, 1, 0.1 / Animation_Speed do
  1970. Swait()
  1971. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.2 * Player_Size, -0.1 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-12.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1972. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1973. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1974. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1975. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-12.5)), 0.15 / Animation_Speed)
  1976. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.2 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(12.5)), 0.15 / Animation_Speed)
  1977. end
  1978. chatfunc("MAGMA...",500)
  1979. CreateSound(CIRCLESOUND, Effects, 10, 0.5)
  1980. local Animation_Speed2 = Animation_Speed/8
  1981. CreateMagicRingTilSize(RootPart.CFrame*CF(0,-4,0),350,750)
  1982. chatfunc("STORM!",5)
  1983. for i = 1, 35 do
  1984. for i=0, 1, 0.1 / Animation_Speed2 do
  1985. Swait()
  1986. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.2 * Player_Size, -0.1 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-12.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1987. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1988. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1989. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1990. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-12.5)), 0.15 / Animation_Speed)
  1991. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.2 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(12.5)), 0.15 / Animation_Speed)
  1992. end
  1993. local FIRE,PARTICLES = createfireball(7,true)
  1994. CreateSound(FIREBALL, FIRE, 2, 1)
  1995. FIRE.CFrame = RootPart.CFrame*CF(0,-7,0)
  1996. local bv = Instance.new("BodyVelocity")
  1997. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1998. bv.velocity = CF(FIRE.Position,Mouse.Hit.p).lookVector*350
  1999. bv.Parent = FIRE
  2000. bv.Name = "MOVE"
  2001. local HIT = false
  2002. local harm = FIRE.Touched:Connect(function(hit)
  2003. if HIT == false and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= Effects then
  2004. HIT = true
  2005. coroutine.resume(coroutine.create(function()
  2006. FIRE.Anchored = true
  2007. FIRE.CanCollide = false
  2008. PARTICLES.Enabled = false
  2009. CreateSound(EXPLOSION, FIRE, 10, 1)
  2010. local BURST = CreateParticles(FIRE,VT(0,0,0),2,4,"Fire",false,true,6,145)
  2011. BURST:Emit(750)
  2012. killnearest(FIRE.Position,65,75)
  2013. for i = 1, 35 do
  2014. Swait()
  2015. FIRE.Size = FIRE.Size + VT(3,3,3)
  2016. FIRE.Transparency = FIRE.Transparency + (1/35)
  2017. end
  2018. Swait(250)
  2019. FIRE:remove()
  2020. end))
  2021. end
  2022. end)
  2023. for i=0, 1, 0.1 / Animation_Speed2 do
  2024. Swait()
  2025. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.2 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  2026. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  2027. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  2028. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  2029. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed2)
  2030. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(5), RAD(-25)), 0.15 / Animation_Speed2)
  2031. end
  2032. end
  2033. UNANCHOR = true
  2034. ATTACK = false
  2035. Rooted = false
  2036. --ATTACK = false
  2037. end
  2038.  
  2039. --//=================================\\
  2040. --|| ASSIGN THINGS TO KEYS
  2041. --\\=================================//
  2042.  
  2043. Humanoid.Changed:connect(function(Jump)
  2044. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  2045. Humanoid.Jump = false
  2046. end
  2047. end)
  2048.  
  2049. function MouseDown(Mouse)
  2050. if ATTACK == false then
  2051. end
  2052. end
  2053.  
  2054. function MouseUp(Mouse)
  2055. HOLD = false
  2056. end
  2057.  
  2058. function KeyDown(Key)
  2059. if Rooted == false then
  2060. if Key == "q" and ATTACK == false then
  2061. Fireball()
  2062. end
  2063.  
  2064. if Key == "e" and ATTACK == false then
  2065. SolarPunch()
  2066. end
  2067.  
  2068. if Key == "r" and ATTACK == false then
  2069. SunEruption()
  2070. end
  2071.  
  2072. if Key == "f" and ATTACK == false then
  2073. SolarImpact()
  2074. end
  2075.  
  2076. if Key == "x" and ATTACK == false then
  2077. SolarDemise()
  2078. end
  2079.  
  2080. if Key == "7" and ATTACK == false then
  2081. CreateSound("907333294", Head, 5, 1.1)
  2082. end
  2083.  
  2084. if Key == "8" and ATTACK == false then
  2085. CreateSound("907333406", Head, 5, 1.1)
  2086. end
  2087.  
  2088. if Key == "9" and ATTACK == false then
  2089. CreateSound("907329293", Head, 5, 1.1)
  2090. end
  2091. end
  2092. end
  2093.  
  2094. function KeyUp(Key)
  2095. end
  2096.  
  2097. Mouse.Button1Down:connect(function(NEWKEY)
  2098. MouseDown(NEWKEY)
  2099. end)
  2100. Mouse.Button1Up:connect(function(NEWKEY)
  2101. MouseUp(NEWKEY)
  2102. end)
  2103. Mouse.KeyDown:connect(function(NEWKEY)
  2104. KeyDown(NEWKEY)
  2105. end)
  2106. Mouse.KeyUp:connect(function(NEWKEY)
  2107. KeyUp(NEWKEY)
  2108. end)
  2109.  
  2110. --//=================================\\
  2111. --\\=================================//
  2112.  
  2113.  
  2114. function unanchor()
  2115. if UNANCHOR == true then
  2116. g = Character:GetChildren()
  2117. for i = 1, #g do
  2118. if g[i].ClassName == "Part" then
  2119. g[i].Anchored = false
  2120. end
  2121. end
  2122. end
  2123. end
  2124.  
  2125.  
  2126. --//=================================\\
  2127. --|| WRAP THE WHOLE SCRIPT UP
  2128. --\\=================================//
  2129.  
  2130. Humanoid.Changed:connect(function(Jump)
  2131. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  2132. Humanoid.Jump = false
  2133. end
  2134. end)
  2135.  
  2136. ANIMATE.Parent = nil
  2137. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2138. IDLEANIMATION:Play()
  2139. Rooted = false
  2140.  
  2141. local eye = IT("Part",Weapon)
  2142. eye.Size = VT(0.2,0.2,0.2)
  2143. eye.Shape = "Ball"
  2144. eye.CFrame = Head.CFrame * CF(0.15,0.2,-0.55)
  2145. eye.Material = "Neon"
  2146. eye.BrickColor = BRICKC("Really red")
  2147. weldBetween(Head,eye)
  2148. CreateParticles(eye,VT(1,-5,0),1,1,"Fire",true,true,0.1,0)
  2149.  
  2150. local eye = IT("Part",Weapon)
  2151. eye.Size = VT(0.15,0.15,0.15)
  2152. eye.Shape = "Ball"
  2153. eye.CFrame = Head.CFrame * CF(-0.15,0.2,-0.55)
  2154. eye.BrickColor = BRICKC("Black")
  2155. weldBetween(Head,eye)
  2156.  
  2157. while true do
  2158. Swait()
  2159. SINE = SINE + CHANGE
  2160. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2161. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2162. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2163. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2164. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2165. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2166. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2167. 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)
  2168. 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)
  2169. 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)
  2170. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2171. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2172. 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)
  2173. 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)
  2174. 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)
  2175. end
  2176. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2177. ANIM = "Jump"
  2178. if ATTACK == false then
  2179. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2180. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2181. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2182. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2183. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2184. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2185. end
  2186. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2187. ANIM = "Fall"
  2188. if ATTACK == false then
  2189. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2190. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2191. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2192. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2193. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2194. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2195. end
  2196. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2197. ANIM = "Idle"
  2198. if ATTACK == false then
  2199. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2200. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2201. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2202. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2203. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2204. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2205. end
  2206. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2207. ANIM = "Walk"
  2208. WALK = WALK + 1 / Animation_Speed
  2209. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2210. WALK = 0
  2211. if WALKINGANIM == true then
  2212. WALKINGANIM = false
  2213. elseif WALKINGANIM == false then
  2214. WALKINGANIM = true
  2215. end
  2216. end
  2217. --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)
  2218. --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)
  2219. if ATTACK == false then
  2220. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2221. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2222. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2223. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2224. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2225. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2226. end
  2227. end
  2228. if #Effects2>0 then
  2229. for e=1,#Effects2 do
  2230. if Effects2[e]~=nil then
  2231. local Thing=Effects2[e]
  2232. if Thing~=nil then
  2233. local Part=Thing[1]
  2234. local Mode=Thing[2]
  2235. local Delay=Thing[3]
  2236. local IncX=Thing[4]
  2237. local IncY=Thing[5]
  2238. local IncZ=Thing[6]
  2239. local Part2=Thing[8]
  2240. if Thing[1].Transparency<=1 then
  2241. if Thing[2]=="Block1" then
  2242. Thing[1].CFrame=Thing[1].CFrame
  2243. Mesh=Thing[1].Mesh
  2244. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2245. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2246. elseif Thing[2]=="Cylinder" then
  2247. Mesh=Thing[1].Mesh
  2248. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2249. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2250. elseif Thing[2]=="Blood" then
  2251. Mesh=Thing[7]
  2252. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  2253. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2254. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2255. elseif Thing[2]=="Elec" then
  2256. Mesh=Thing[1].Mesh
  2257. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  2258. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2259. elseif Thing[2]=="Disappear" then
  2260. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2261. end
  2262. else
  2263. Part.Parent=nil
  2264. table.remove(Effects2,e)
  2265. end
  2266. end
  2267. end
  2268. end
  2269. end
  2270. unanchor()
  2271. Humanoid.MaxHealth = "inf"
  2272. Humanoid.Health = "inf"
  2273. if Rooted == false then
  2274. Disable_Jump = false
  2275. Humanoid.WalkSpeed = Speed
  2276. elseif Rooted == true then
  2277. Disable_Jump = true
  2278. Humanoid.WalkSpeed = 0
  2279. end
  2280. if Head:FindFirstChild("face") then
  2281. Head.face:remove()
  2282. end
  2283. end
  2284.  
  2285. --//=================================\\
  2286. --\\=================================//
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292. --//====================================================\\--
  2293. --|| END OF SCRIPT
  2294. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement