Advertisement
Diegolas97

GALACTICIA

Jul 16th, 2018
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 88.03 KB | None | 0 0
  1. -----------------------
  2. --[[ Name : Galacticia ]]--
  3. -------------------------------------------------------
  4. --A script By Creterisk/makhail07
  5.  
  6. --Discord Creterisk#2958
  7. -------------------------------------------------------
  8. --Everything is Meaningless.....
  9. wait(1 / 60)
  10. local plr = game:service'Players'.LocalPlayer
  11. print('Local User is '..plr.Name)
  12. print('Galacticia Loaded')
  13. print[[
  14.  
  15. ]]
  16. local char = plr.Character
  17. local hum = char:FindFirstChildOfClass'Humanoid'
  18. local hed = char.Head
  19. local root = char:FindFirstChild'HumanoidRootPart'
  20. local rootj = root.RootJoint
  21. local tors = char.Torso
  22. local ra = char["Right Arm"]
  23. local la = char["Left Arm"]
  24. local rl = char["Right Leg"]
  25. local ll = char["Left Leg"]
  26. local neck = tors["Neck"]
  27. local mouse = plr:GetMouse()
  28. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  29. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  30. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  31. local maincolor = BrickColor.new("Bright violet")
  32. -------------------------------------------------------
  33. --Start Whitelist and Invincibility--
  34. -------------------------------------------------------
  35. ff = Instance.new("ForceField",char)
  36. ff.Visible = false
  37. hum.Name = "Base"
  38. hum.MaxHealth = 1.0E298
  39. hum.Health = 1.0E298
  40. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  41. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  42. hum.MaxHealth = 1.0E298
  43. hum.Health = 1.0E298
  44. end
  45. end)
  46. -------------------------------------------------------
  47. --End Whitelist and Invincibility--
  48. -------------------------------------------------------
  49.  
  50. -------------------------------------------------------
  51. --Start Good Stuff--
  52. -------------------------------------------------------
  53. cam = game.Workspace.CurrentCamera
  54. CF = CFrame.new
  55. angles = CFrame.Angles
  56. attack = false
  57. Euler = CFrame.fromEulerAnglesXYZ
  58. Rad = math.rad
  59. IT = Instance.new
  60. BrickC = BrickColor.new
  61. Cos = math.cos
  62. Acos = math.acos
  63. Sin = math.sin
  64. Asin = math.asin
  65. Abs = math.abs
  66. Mrandom = math.random
  67. Floor = math.floor
  68. -------------------------------------------------------
  69. --End Good Stuff--
  70. -------------------------------------------------------
  71. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  72. RSH, LSH = nil, nil
  73. RW = Instance.new("Weld")
  74. LW = Instance.new("Weld")
  75. RH = tors["Right Hip"]
  76. LH = tors["Left Hip"]
  77. RSH = tors["Right Shoulder"]
  78. LSH = tors["Left Shoulder"]
  79. RSH.Parent = nil
  80. LSH.Parent = nil
  81. RW.Name = "RW"
  82. RW.Part0 = tors
  83. RW.C0 = CF(1.5, 0.5, 0)
  84. RW.C1 = CF(0, 0.5, 0)
  85. RW.Part1 = ra
  86. RW.Parent = tors
  87. LW.Name = "LW"
  88. LW.Part0 = tors
  89. LW.C0 = CF(-1.5, 0.5, 0)
  90. LW.C1 = CF(0, 0.5, 0)
  91. LW.Part1 = la
  92. LW.Parent = tors
  93. Effects = {}
  94. -------------------------------------------------------
  95. --Start HeartBeat--
  96. -------------------------------------------------------
  97. ArtificialHB = Instance.new("BindableEvent", script)
  98. ArtificialHB.Name = "Heartbeat"
  99. script:WaitForChild("Heartbeat")
  100.  
  101. frame = 1 / 60
  102. tf = 0
  103. allowframeloss = false
  104. tossremainder = false
  105.  
  106.  
  107. lastframe = tick()
  108. script.Heartbeat:Fire()
  109.  
  110.  
  111. game:GetService("RunService").Heartbeat:connect(function(s, p)
  112. tf = tf + s
  113. if tf >= frame then
  114. if allowframeloss then
  115. script.Heartbeat:Fire()
  116. lastframe = tick()
  117. else
  118. for i = 1, math.floor(tf / frame) do
  119. script.Heartbeat:Fire()
  120. end
  121. lastframe = tick()
  122. end
  123. if tossremainder then
  124. tf = 0
  125. else
  126. tf = tf - frame * math.floor(tf / frame)
  127. end
  128. end
  129. end)
  130. -------------------------------------------------------
  131. --End HeartBeat--
  132. -------------------------------------------------------
  133.  
  134. -------------------------------------------------------
  135. --Start Important Functions--
  136. -------------------------------------------------------
  137. function swait(num)
  138. if num == 0 or num == nil then
  139. game:service("RunService").Stepped:wait(0)
  140. else
  141. for i = 0, num do
  142. game:service("RunService").Stepped:wait(0)
  143. end
  144. end
  145. end
  146. function thread(f)
  147. coroutine.resume(coroutine.create(f))
  148. end
  149. function clerp(a, b, t)
  150. local qa = {
  151. QuaternionFromCFrame(a)
  152. }
  153. local qb = {
  154. QuaternionFromCFrame(b)
  155. }
  156. local ax, ay, az = a.x, a.y, a.z
  157. local bx, by, bz = b.x, b.y, b.z
  158. local _t = 1 - t
  159. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  160. end
  161. function QuaternionFromCFrame(cf)
  162. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  163. local trace = m00 + m11 + m22
  164. if trace > 0 then
  165. local s = math.sqrt(1 + trace)
  166. local recip = 0.5 / s
  167. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  168. else
  169. local i = 0
  170. if m00 < m11 then
  171. i = 1
  172. end
  173. if m22 > (i == 0 and m00 or m11) then
  174. i = 2
  175. end
  176. if i == 0 then
  177. local s = math.sqrt(m00 - m11 - m22 + 1)
  178. local recip = 0.5 / s
  179. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  180. elseif i == 1 then
  181. local s = math.sqrt(m11 - m22 - m00 + 1)
  182. local recip = 0.5 / s
  183. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  184. elseif i == 2 then
  185. local s = math.sqrt(m22 - m00 - m11 + 1)
  186. local recip = 0.5 / s
  187. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  188. end
  189. end
  190. end
  191. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  192. local xs, ys, zs = x + x, y + y, z + z
  193. local wx, wy, wz = w * xs, w * ys, w * zs
  194. local xx = x * xs
  195. local xy = x * ys
  196. local xz = x * zs
  197. local yy = y * ys
  198. local yz = y * zs
  199. local zz = z * zs
  200. 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))
  201. end
  202. function QuaternionSlerp(a, b, t)
  203. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  204. local startInterp, finishInterp
  205. if cosTheta >= 1.0E-4 then
  206. if 1 - cosTheta > 1.0E-4 then
  207. local theta = math.acos(cosTheta)
  208. local invSinTheta = 1 / Sin(theta)
  209. startInterp = Sin((1 - t) * theta) * invSinTheta
  210. finishInterp = Sin(t * theta) * invSinTheta
  211. else
  212. startInterp = 1 - t
  213. finishInterp = t
  214. end
  215. elseif 1 + cosTheta > 1.0E-4 then
  216. local theta = math.acos(-cosTheta)
  217. local invSinTheta = 1 / Sin(theta)
  218. startInterp = Sin((t - 1) * theta) * invSinTheta
  219. finishInterp = Sin(t * theta) * invSinTheta
  220. else
  221. startInterp = t - 1
  222. finishInterp = t
  223. end
  224. 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
  225. end
  226. function rayCast(Position, Direction, Range, Ignore)
  227. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  228. end
  229. local RbxUtility = LoadLibrary("RbxUtility")
  230. local Create = RbxUtility.Create
  231.  
  232. -------------------------------------------------------
  233. --Start Damage Function--
  234. -------------------------------------------------------
  235. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  236. if hit.Parent == nil then
  237. return
  238. end
  239. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  240. for _, v in pairs(hit.Parent:children()) do
  241. if v:IsA("Humanoid") then
  242. h = v
  243. end
  244. end
  245. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  246.  
  247. hit.Parent:FindFirstChild("Head"):BreakJoints()
  248. end
  249.  
  250. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  251. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  252. if hit.Parent.DebounceHit.Value == true then
  253. return
  254. end
  255. end
  256. if insta == true then
  257. hit.Parent:FindFirstChild("Head"):BreakJoints()
  258. end
  259. local c = Create("ObjectValue"){
  260. Name = "creator",
  261. Value = game:service("Players").LocalPlayer,
  262. Parent = h,
  263. }
  264. game:GetService("Debris"):AddItem(c, .5)
  265. if HitSound ~= nil and HitPitch ~= nil then
  266. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  267. end
  268. local Damage = math.random(minim, maxim)
  269. local blocked = false
  270. local block = hit.Parent:findFirstChild("Block")
  271. if block ~= nil then
  272. if block.className == "IntValue" then
  273. if block.Value > 0 then
  274. blocked = true
  275. block.Value = block.Value - 1
  276. print(block.Value)
  277. end
  278. end
  279. end
  280. if blocked == false then
  281. h.Health = h.Health - Damage
  282. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  283. else
  284. h.Health = h.Health - (Damage / 2)
  285. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  286. end
  287. if Type == "Knockdown" then
  288. local hum = hit.Parent.Humanoid
  289. hum.PlatformStand = true
  290. coroutine.resume(coroutine.create(function(HHumanoid)
  291. swait(1)
  292. HHumanoid.PlatformStand = false
  293. end), hum)
  294. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  295. local bodvol = Create("BodyVelocity"){
  296. velocity = angle * knockback,
  297. P = 5000,
  298. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  299. Parent = hit,
  300. }
  301. local rl = Create("BodyAngularVelocity"){
  302. P = 3000,
  303. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  304. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  305. Parent = hit,
  306. }
  307. game:GetService("Debris"):AddItem(bodvol, .5)
  308. game:GetService("Debris"):AddItem(rl, .5)
  309. elseif Type == "Normal" then
  310. local vp = Create("BodyVelocity"){
  311. P = 500,
  312. maxForce = Vector3.new(math.huge, 0, math.huge),
  313. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  314. }
  315. if knockback > 0 then
  316. vp.Parent = hit.Parent.Torso
  317. end
  318. game:GetService("Debris"):AddItem(vp, .5)
  319. elseif Type == "Up" then
  320. local bodyVelocity = Create("BodyVelocity"){
  321. velocity = Vector3.new(0, 20, 0),
  322. P = 5000,
  323. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  324. Parent = hit,
  325. }
  326. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  327. elseif Type == "DarkUp" then
  328. coroutine.resume(coroutine.create(function()
  329. for i = 0, 1, 0.1 do
  330. swait()
  331. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  332. end
  333. end))
  334. local bodyVelocity = Create("BodyVelocity"){
  335. velocity = Vector3.new(0, 20, 0),
  336. P = 5000,
  337. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  338. Parent = hit,
  339. }
  340. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  341. elseif Type == "Snare" then
  342. local bp = Create("BodyPosition"){
  343. P = 2000,
  344. D = 100,
  345. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  346. position = hit.Parent.Torso.Position,
  347. Parent = hit.Parent.Torso,
  348. }
  349. game:GetService("Debris"):AddItem(bp, 1)
  350. elseif Type == "Freeze" then
  351. local BodPos = Create("BodyPosition"){
  352. P = 50000,
  353. D = 1000,
  354. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  355. position = hit.Parent.Torso.Position,
  356. Parent = hit.Parent.Torso,
  357. }
  358. local BodGy = Create("BodyGyro") {
  359. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  360. P = 20e+003,
  361. Parent = hit.Parent.Torso,
  362. cframe = hit.Parent.Torso.CFrame,
  363. }
  364. hit.Parent.Torso.Anchored = true
  365. coroutine.resume(coroutine.create(function(Part)
  366. swait(1.5)
  367. Part.Anchored = false
  368. end), hit.Parent.Torso)
  369. game:GetService("Debris"):AddItem(BodPos, 3)
  370. game:GetService("Debris"):AddItem(BodGy, 3)
  371. end
  372. local debounce = Create("BoolValue"){
  373. Name = "DebounceHit",
  374. Parent = hit.Parent,
  375. Value = true,
  376. }
  377. game:GetService("Debris"):AddItem(debounce, Delay)
  378. c = Create("ObjectValue"){
  379. Name = "creator",
  380. Value = Player,
  381. Parent = h,
  382. }
  383. game:GetService("Debris"):AddItem(c, .5)
  384. end
  385. end
  386. -------------------------------------------------------
  387. --End Damage Function--
  388. -------------------------------------------------------
  389.  
  390. -------------------------------------------------------
  391. --Start Damage Function Customization--
  392. -------------------------------------------------------
  393. function ShowDamage(Pos, Text, Time, Color)
  394. local Rate = (1 / 30)
  395. local Pos = (Pos or Vector3.new(0, 0, 0))
  396. local Text = (Text or "")
  397. local Time = (Time or 2)
  398. local Color = (Color or Color3.new(1, 0, 1))
  399. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  400. EffectPart.Anchored = true
  401. local BillboardGui = Create("BillboardGui"){
  402. Size = UDim2.new(3, 0, 3, 0),
  403. Adornee = EffectPart,
  404. Parent = EffectPart,
  405. }
  406. local TextLabel = Create("TextLabel"){
  407. BackgroundTransparency = 1,
  408. Size = UDim2.new(1, 0, 1, 0),
  409. Text = Text,
  410. Font = "Bodoni",
  411. TextColor3 = Color,
  412. TextScaled = true,
  413. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  414. Parent = BillboardGui,
  415. }
  416. game.Debris:AddItem(EffectPart, (Time))
  417. EffectPart.Parent = game:GetService("Workspace")
  418. delay(0, function()
  419. local Frames = (Time / Rate)
  420. for Frame = 1, Frames do
  421. wait(Rate)
  422. local Percent = (Frame / Frames)
  423. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  424. TextLabel.TextTransparency = Percent
  425. end
  426. if EffectPart and EffectPart.Parent then
  427. EffectPart:Destroy()
  428. end
  429. end)
  430. end
  431. -------------------------------------------------------
  432. --End Damage Function Customization--
  433. -------------------------------------------------------
  434.  
  435. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  436. for _, c in pairs(workspace:children()) do
  437. local hum = c:findFirstChild("Humanoid")
  438. if hum ~= nil then
  439. local head = c:findFirstChild("Head")
  440. if head ~= nil then
  441. local targ = head.Position - Part.Position
  442. local mag = targ.magnitude
  443. if magni >= mag and c.Name ~= plr.Name then
  444. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  445. end
  446. end
  447. end
  448. end
  449. end
  450.  
  451.  
  452. CFuncs = {
  453. Part = {
  454. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  455. local Part = Create("Part")({
  456. Parent = Parent,
  457. Reflectance = Reflectance,
  458. Transparency = Transparency,
  459. CanCollide = false,
  460. Locked = true,
  461. BrickColor = BrickColor.new(tostring(BColor)),
  462. Name = Name,
  463. Size = Size,
  464. Material = Material
  465. })
  466. RemoveOutlines(Part)
  467. return Part
  468. end
  469. },
  470. Mesh = {
  471. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  472. local Msh = Create(Mesh)({
  473. Parent = Part,
  474. Offset = OffSet,
  475. Scale = Scale
  476. })
  477. if Mesh == "SpecialMesh" then
  478. Msh.MeshType = MeshType
  479. Msh.MeshId = MeshId
  480. end
  481. return Msh
  482. end
  483. },
  484. Mesh = {
  485. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  486. local Msh = Create(Mesh)({
  487. Parent = Part,
  488. Offset = OffSet,
  489. Scale = Scale
  490. })
  491. if Mesh == "SpecialMesh" then
  492. Msh.MeshType = MeshType
  493. Msh.MeshId = MeshId
  494. end
  495. return Msh
  496. end
  497. },
  498. Weld = {
  499. Create = function(Parent, Part0, Part1, C0, C1)
  500. local Weld = Create("Weld")({
  501. Parent = Parent,
  502. Part0 = Part0,
  503. Part1 = Part1,
  504. C0 = C0,
  505. C1 = C1
  506. })
  507. return Weld
  508. end
  509. },
  510. Sound = {
  511. Create = function(id, par, vol, pit)
  512. coroutine.resume(coroutine.create(function()
  513. local S = Create("Sound")({
  514. Volume = vol,
  515. Pitch = pit or 1,
  516. SoundId = id,
  517. Parent = par or workspace
  518. })
  519. wait()
  520. S:play()
  521. game:GetService("Debris"):AddItem(S, 6)
  522. end))
  523. end
  524. },
  525. ParticleEmitter = {
  526. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  527. local fp = Create("ParticleEmitter")({
  528. Parent = Parent,
  529. Color = ColorSequence.new(Color1, Color2),
  530. LightEmission = LightEmission,
  531. Size = Size,
  532. Texture = Texture,
  533. Transparency = Transparency,
  534. ZOffset = ZOffset,
  535. Acceleration = Accel,
  536. Drag = Drag,
  537. LockedToPart = LockedToPart,
  538. VelocityInheritance = VelocityInheritance,
  539. EmissionDirection = EmissionDirection,
  540. Enabled = Enabled,
  541. Lifetime = LifeTime,
  542. Rate = Rate,
  543. Rotation = Rotation,
  544. RotSpeed = RotSpeed,
  545. Speed = Speed,
  546. VelocitySpread = VelocitySpread
  547. })
  548. return fp
  549. end
  550. }
  551. }
  552. function RemoveOutlines(part)
  553. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  554. end
  555. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  556. local Part = Create("Part")({
  557. formFactor = FormFactor,
  558. Parent = Parent,
  559. Reflectance = Reflectance,
  560. Transparency = Transparency,
  561. CanCollide = false,
  562. Locked = true,
  563. BrickColor = BrickColor.new(tostring(BColor)),
  564. Name = Name,
  565. Size = Size,
  566. Material = Material
  567. })
  568. RemoveOutlines(Part)
  569. return Part
  570. end
  571. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  572. local Msh = Create(Mesh)({
  573. Parent = Part,
  574. Offset = OffSet,
  575. Scale = Scale
  576. })
  577. if Mesh == "SpecialMesh" then
  578. Msh.MeshType = MeshType
  579. Msh.MeshId = MeshId
  580. end
  581. return Msh
  582. end
  583. function CreateWeld(Parent, Part0, Part1, C0, C1)
  584. local Weld = Create("Weld")({
  585. Parent = Parent,
  586. Part0 = Part0,
  587. Part1 = Part1,
  588. C0 = C0,
  589. C1 = C1
  590. })
  591. return Weld
  592. end
  593.  
  594.  
  595. -------------------------------------------------------
  596. --Start Effect Function--
  597. -------------------------------------------------------
  598. EffectModel = Instance.new("Model", char)
  599. Effects = {
  600. Block = {
  601. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  602. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  603. prt.Anchored = true
  604. prt.CFrame = cframe
  605. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  606. game:GetService("Debris"):AddItem(prt, 10)
  607. if Type == 1 or Type == nil then
  608. table.insert(Effects, {
  609. prt,
  610. "Block1",
  611. delay,
  612. x3,
  613. y3,
  614. z3,
  615. msh
  616. })
  617. elseif Type == 2 then
  618. table.insert(Effects, {
  619. prt,
  620. "Block2",
  621. delay,
  622. x3,
  623. y3,
  624. z3,
  625. msh
  626. })
  627. else
  628. table.insert(Effects, {
  629. prt,
  630. "Block3",
  631. delay,
  632. x3,
  633. y3,
  634. z3,
  635. msh
  636. })
  637. end
  638. end
  639. },
  640. Sphere = {
  641. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  642. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  643. prt.Anchored = true
  644. prt.CFrame = cframe
  645. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  646. game:GetService("Debris"):AddItem(prt, 10)
  647. table.insert(Effects, {
  648. prt,
  649. "Cylinder",
  650. delay,
  651. x3,
  652. y3,
  653. z3,
  654. msh
  655. })
  656. end
  657. },
  658. Cylinder = {
  659. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  660. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  661. prt.Anchored = true
  662. prt.CFrame = cframe
  663. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  664. game:GetService("Debris"):AddItem(prt, 10)
  665. table.insert(Effects, {
  666. prt,
  667. "Cylinder",
  668. delay,
  669. x3,
  670. y3,
  671. z3,
  672. msh
  673. })
  674. end
  675. },
  676. Wave = {
  677. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  678. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  679. prt.Anchored = true
  680. prt.CFrame = cframe
  681. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  682. game:GetService("Debris"):AddItem(prt, 10)
  683. table.insert(Effects, {
  684. prt,
  685. "Cylinder",
  686. delay,
  687. x3 / 60,
  688. y3 / 60,
  689. z3 / 60,
  690. msh
  691. })
  692. end
  693. },
  694. Ring = {
  695. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  696. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  697. prt.Anchored = true
  698. prt.CFrame = cframe
  699. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  700. game:GetService("Debris"):AddItem(prt, 10)
  701. table.insert(Effects, {
  702. prt,
  703. "Cylinder",
  704. delay,
  705. x3,
  706. y3,
  707. z3,
  708. msh
  709. })
  710. end
  711. },
  712. Break = {
  713. Create = function(brickcolor, cframe, x1, y1, z1)
  714. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  715. prt.Anchored = true
  716. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  717. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  718. local num = math.random(10, 50) / 1000
  719. game:GetService("Debris"):AddItem(prt, 10)
  720. table.insert(Effects, {
  721. prt,
  722. "Shatter",
  723. num,
  724. prt.CFrame,
  725. math.random() - math.random(),
  726. 0,
  727. math.random(50, 100) / 100
  728. })
  729. end
  730. },
  731. Spiral = {
  732. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  733. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  734. prt.Anchored = true
  735. prt.CFrame = cframe
  736. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  737. game:GetService("Debris"):AddItem(prt, 10)
  738. table.insert(Effects, {
  739. prt,
  740. "Cylinder",
  741. delay,
  742. x3,
  743. y3,
  744. z3,
  745. msh
  746. })
  747. end
  748. },
  749. Push = {
  750. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  751. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  752. prt.Anchored = true
  753. prt.CFrame = cframe
  754. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  755. game:GetService("Debris"):AddItem(prt, 10)
  756. table.insert(Effects, {
  757. prt,
  758. "Cylinder",
  759. delay,
  760. x3,
  761. y3,
  762. z3,
  763. msh
  764. })
  765. end
  766. }
  767. }
  768. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  769. local fp = IT("Part")
  770. fp.formFactor = formfactor
  771. fp.Parent = parent
  772. fp.Reflectance = reflectance
  773. fp.Transparency = transparency
  774. fp.CanCollide = false
  775. fp.Locked = true
  776. fp.BrickColor = brickcolor
  777. fp.Name = name
  778. fp.Size = size
  779. fp.Position = tors.Position
  780. RemoveOutlines(fp)
  781. fp.Material = "SmoothPlastic"
  782. fp:BreakJoints()
  783. return fp
  784. end
  785.  
  786. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  787. local mesh = IT(Mesh)
  788. mesh.Parent = part
  789. if Mesh == "SpecialMesh" then
  790. mesh.MeshType = meshtype
  791. if meshid ~= "nil" then
  792. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  793. end
  794. end
  795. mesh.Offset = offset
  796. mesh.Scale = scale
  797. return mesh
  798. end
  799.  
  800. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  801. local type = type
  802. local rng = Instance.new("Part", char)
  803. rng.Anchored = true
  804. rng.BrickColor = color
  805. rng.CanCollide = false
  806. rng.FormFactor = 3
  807. rng.Name = "Ring"
  808. rng.Material = "Neon"
  809. rng.Size = Vector3.new(1, 1, 1)
  810. rng.Transparency = 0
  811. rng.TopSurface = 0
  812. rng.BottomSurface = 0
  813. rng.CFrame = pos
  814. local rngm = Instance.new("SpecialMesh", rng)
  815. rngm.MeshType = MType
  816. rngm.Scale = scale
  817. local scaler2 = 1
  818. if type == "Add" then
  819. scaler2 = 1 * value
  820. elseif type == "Divide" then
  821. scaler2 = 1 / value
  822. end
  823. coroutine.resume(coroutine.create(function()
  824. for i = 0, 10 / bonuspeed, 0.1 do
  825. swait()
  826. if type == "Add" then
  827. scaler2 = scaler2 - 0.01 * value / bonuspeed
  828. elseif type == "Divide" then
  829. scaler2 = scaler2 - 0.01 / value * bonuspeed
  830. end
  831. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  832. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  833. end
  834. rng:Destroy()
  835. end))
  836. end
  837.  
  838. function Eviscerate(dude)
  839. if dude.Name ~= char then
  840. local bgf = IT("BodyGyro", dude.Head)
  841. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  842. local val = IT("BoolValue", dude)
  843. val.Name = "IsHit"
  844. local ds = coroutine.wrap(function()
  845. dude:WaitForChild("Head"):BreakJoints()
  846. wait(0.5)
  847. target = nil
  848. coroutine.resume(coroutine.create(function()
  849. for i, v in pairs(dude:GetChildren()) do
  850. if v:IsA("Accessory") then
  851. v:Destroy()
  852. end
  853. if v:IsA("Humanoid") then
  854. v:Destroy()
  855. end
  856. if v:IsA("CharacterMesh") then
  857. v:Destroy()
  858. end
  859. if v:IsA("Model") then
  860. v:Destroy()
  861. end
  862. if v:IsA("Part") or v:IsA("MeshPart") then
  863. for x, o in pairs(v:GetChildren()) do
  864. if o:IsA("Decal") then
  865. o:Destroy()
  866. end
  867. end
  868. coroutine.resume(coroutine.create(function()
  869. v.Material = "Neon"
  870. v.CanCollide = false
  871. local PartEmmit1 = IT("ParticleEmitter", v)
  872. PartEmmit1.LightEmission = 1
  873. PartEmmit1.Texture = "rbxassetid://284205403"
  874. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  875. PartEmmit1.Rate = 150
  876. PartEmmit1.Lifetime = NumberRange.new(1)
  877. PartEmmit1.Size = NumberSequence.new({
  878. NumberSequenceKeypoint.new(0, 0.75, 0),
  879. NumberSequenceKeypoint.new(1, 0, 0)
  880. })
  881. PartEmmit1.Transparency = NumberSequence.new({
  882. NumberSequenceKeypoint.new(0, 0, 0),
  883. NumberSequenceKeypoint.new(1, 1, 0)
  884. })
  885. PartEmmit1.Speed = NumberRange.new(0, 0)
  886. PartEmmit1.VelocitySpread = 30000
  887. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  888. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  889. local BodPoss = IT("BodyPosition", v)
  890. BodPoss.P = 3000
  891. BodPoss.D = 1000
  892. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  893. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  894. v.Color = maincolor.Color
  895. coroutine.resume(coroutine.create(function()
  896. for i = 0, 49 do
  897. swait(1)
  898. v.Transparency = v.Transparency + 0.08
  899. end
  900. wait(0.5)
  901. PartEmmit1.Enabled = false
  902. wait(3)
  903. v:Destroy()
  904. dude:Destroy()
  905. end))
  906. end))
  907. end
  908. end
  909. end))
  910. end)
  911. ds()
  912. end
  913. end
  914.  
  915. function FindNearestHead(Position, Distance, SinglePlayer)
  916. if SinglePlayer then
  917. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  918. end
  919. local List = {}
  920. for i, v in pairs(workspace:GetChildren()) do
  921. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  922. table.insert(List, v)
  923. end
  924. end
  925. return List
  926. end
  927.  
  928. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  929. local type = type
  930. local rng = Instance.new("Part", char)
  931. rng.Anchored = true
  932. rng.BrickColor = color
  933. rng.CanCollide = false
  934. rng.FormFactor = 3
  935. rng.Name = "Ring"
  936. rng.Material = "Neon"
  937. rng.Size = Vector3.new(1, 1, 1)
  938. rng.Transparency = 0
  939. rng.TopSurface = 0
  940. rng.BottomSurface = 0
  941. rng.CFrame = pos
  942. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  943. local rngm = Instance.new("SpecialMesh", rng)
  944. rngm.MeshType = "Brick"
  945. rngm.Scale = Vector3.new(x1,y1,z1)
  946. local scaler2 = 1
  947. local speeder = FastSpeed/10
  948. if type == "Add" then
  949. scaler2 = 1*value
  950. elseif type == "Divide" then
  951. scaler2 = 1/value
  952. end
  953. coroutine.resume(coroutine.create(function()
  954. for i = 0,10/bonuspeed,0.1 do
  955. swait()
  956. if type == "Add" then
  957. scaler2 = scaler2 - 0.01*value/bonuspeed
  958. elseif type == "Divide" then
  959. scaler2 = scaler2 - 0.01/value*bonuspeed
  960. end
  961. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  962. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  963. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  964. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  965. end
  966. rng:Destroy()
  967. end))
  968. end
  969.  
  970. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  971. local type = type
  972. local rng = Instance.new("Part", char)
  973. rng.Anchored = true
  974. rng.BrickColor = color
  975. rng.CanCollide = false
  976. rng.FormFactor = 3
  977. rng.Name = "Ring"
  978. rng.Material = "Neon"
  979. rng.Size = Vector3.new(1, 1, 1)
  980. rng.Transparency = 0
  981. rng.TopSurface = 0
  982. rng.BottomSurface = 0
  983. rng.CFrame = pos
  984. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  985. local rngm = Instance.new("SpecialMesh", rng)
  986. rngm.MeshType = MType
  987. rngm.Scale = Vector3.new(x1, y1, z1)
  988. local scaler2 = 1
  989. local speeder = FastSpeed
  990. if type == "Add" then
  991. scaler2 = 1 * value
  992. elseif type == "Divide" then
  993. scaler2 = 1 / value
  994. end
  995. coroutine.resume(coroutine.create(function()
  996. for i = 0, 10 / bonuspeed, 0.1 do
  997. swait()
  998. if type == "Add" then
  999. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1000. elseif type == "Divide" then
  1001. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1002. end
  1003. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1004. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1005. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1006. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1007. end
  1008. rng:Destroy()
  1009. end))
  1010. end
  1011.  
  1012. function SoulSteal(dude)
  1013. if dude.Name ~= char then
  1014. local bgf = IT("BodyGyro", dude.Head)
  1015. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1016. local val = IT("BoolValue", dude)
  1017. val.Name = "IsHit"
  1018. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1019. local soulst = coroutine.wrap(function()
  1020. local soul = Instance.new("Part",dude)
  1021. soul.Size = Vector3.new(1,1,1)
  1022. soul.CanCollide = false
  1023. soul.Anchored = false
  1024. soul.Position = torso.Position
  1025. soul.Transparency = 1
  1026. local PartEmmit1 = IT("ParticleEmitter", soul)
  1027. PartEmmit1.LightEmission = 1
  1028. PartEmmit1.Texture = "rbxassetid://569507414"
  1029. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1030. PartEmmit1.Rate = 250
  1031. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1032. PartEmmit1.Size = NumberSequence.new({
  1033. NumberSequenceKeypoint.new(0, 1, 0),
  1034. NumberSequenceKeypoint.new(1, 0, 0)
  1035. })
  1036. PartEmmit1.Transparency = NumberSequence.new({
  1037. NumberSequenceKeypoint.new(0, 0, 0),
  1038. NumberSequenceKeypoint.new(1, 1, 0)
  1039. })
  1040. PartEmmit1.Speed = NumberRange.new(0, 0)
  1041. PartEmmit1.VelocitySpread = 30000
  1042. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1043. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1044. local BodPoss = IT("BodyPosition", soul)
  1045. BodPoss.P = 3000
  1046. BodPoss.D = 1000
  1047. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1048. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1049. wait(1.6)
  1050. soul.Touched:connect(function(hit)
  1051. if hit.Parent == char then
  1052. soul:Destroy()
  1053. end
  1054. end)
  1055. wait(1.2)
  1056. while soul do
  1057. swait()
  1058. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1059. BodPoss.Position = tors.Position
  1060. end
  1061. end)
  1062. soulst()
  1063. end
  1064. end
  1065. function FaceMouse()
  1066. local Cam = workspace.CurrentCamera
  1067. return {
  1068. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1069. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1070. }
  1071. end
  1072. function WACKYEFFECT(Table)
  1073. local TYPE = (Table.EffectType or "Sphere")
  1074. local SIZE = (Table.Size or Vector3.new(1,1,1))
  1075. local ENDSIZE = (Table.Size2 or Vector3.new(0,0,0))
  1076. local TRANSPARENCY = (Table.Transparency or 0)
  1077. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1078. local CFRAME = (Table.CFrame or tors.CFrame)
  1079. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1080. local ROTATION1 = (Table.RotationX or 0)
  1081. local ROTATION2 = (Table.RotationY or 0)
  1082. local ROTATION3 = (Table.RotationZ or 0)
  1083. local MATERIAL = (Table.Material or "Neon")
  1084. local COLOR = (Table.Color or Color3.new(1,1,1))
  1085. local TIME = (Table.Time or 45)
  1086. local SOUNDID = (Table.SoundID or nil)
  1087. local SOUNDPITCH = (Table.SoundPitch or nil)
  1088. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1089. coroutine.resume(coroutine.create(function()
  1090. local PLAYSSOUND = false
  1091. local SOUND = nil
  1092. local EFFECT = CreatePart(3, EffectModel, MATERIAL, 0, TRANSPARENCY, BrickC("Pearl"), "Effect", Vector3.new(1,1,1), true)
  1093. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1094. PLAYSSOUND = true
  1095. SOUND = Cso(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1096. end
  1097. EFFECT.Color = COLOR
  1098. local MSH = nil
  1099. if TYPE == "Sphere" then
  1100. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, Vector3.new(0,0,0))
  1101. elseif TYPE == "Block" or TYPE == "Box" then
  1102. MSH = IT("BlockMesh",EFFECT)
  1103. MSH.Scale = SIZE
  1104. elseif TYPE == "Cylinder" then
  1105. MSH = IT("CylinderMesh",EFFECT)
  1106. MSH.Scale = SIZE
  1107. elseif TYPE == "Wave" then
  1108. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, Vector3.new(0,0,-SIZE.X/8))
  1109. elseif TYPE == "Ring" then
  1110. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", Vector3.new(SIZE.X,SIZE.X,0.1), Vector3.new(0,0,0))
  1111. elseif TYPE == "Slash" then
  1112. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", Vector3.new(SIZE.X/10,0,SIZE.X/10), Vector3.new(0,0,0))
  1113. elseif TYPE == "Round Slash" then
  1114. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", Vector3.new(SIZE.X/10,0,SIZE.X/10), Vector3.new(0,0,0))
  1115. elseif TYPE == "Swirl" then
  1116. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, Vector3.new(0,0,0))
  1117. elseif TYPE == "Skull" then
  1118. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, Vector3.new(0,0,0))
  1119. elseif TYPE == "Crystal" then
  1120. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, Vector3.new(0,0,0))
  1121. elseif TYPE == "Crown" then
  1122. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "173770780", "", SIZE, Vector3.new(0,0,0))
  1123. end
  1124. if MSH ~= nil then
  1125. local MOVESPEED = nil
  1126. if MOVEDIRECTION ~= nil then
  1127. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1128. end
  1129. local GROWTH = SIZE - ENDSIZE
  1130. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1131. if TYPE == "Block" then
  1132. EFFECT.CFrame = CFRAME*angles(Rad(Mrandom(0,360)),Rad(Mrandom(0,360)),Rad(Mrandom(0,360)))
  1133. else
  1134. EFFECT.CFrame = CFRAME
  1135. end
  1136. for LOOP = 1, TIME+1 do
  1137. swait()
  1138. MSH.Scale = MSH.Scale - GROWTH/TIME
  1139. if TYPE == "Wave" then
  1140. MSH.Offset = Vector3.new(0,0,-MSH.Scale.X/8)
  1141. end
  1142. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1143. if TYPE == "Block" then
  1144. EFFECT.CFrame = CFRAME*angles(Rad(Mrandom(0,360)),Rad(Mrandom(0,360)),Rad(Mrandom(0,360)))
  1145. else
  1146. EFFECT.CFrame = EFFECT.CFrame*angles(Rad(ROTATION1),Rad(ROTATION2),Rad(ROTATION3))
  1147. end
  1148. if MOVEDIRECTION ~= nil then
  1149. local ORI = EFFECT.Orientation
  1150. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1151. EFFECT.Orientation = ORI
  1152. end
  1153. end
  1154. EFFECT.Transparency = 1
  1155. if PLAYSSOUND == false then
  1156. EFFECT:remove()
  1157. else
  1158. repeat swait() until SOUND.Playing == false
  1159. EFFECT:remove()
  1160. end
  1161. else
  1162. if PLAYSSOUND == false then
  1163. EFFECT:remove()
  1164. else
  1165. repeat swait() until SOUND.Playing == false
  1166. EFFECT:remove()
  1167. end
  1168. end
  1169. end))
  1170. end
  1171.  
  1172. -------------------------------------------------------
  1173. --End Effect Function--
  1174. -------------------------------------------------------
  1175. function Cso(ID, PARENT, VOLUME, PITCH)
  1176. local NSound = nil
  1177. coroutine.resume(coroutine.create(function()
  1178. NSound = IT("Sound", PARENT)
  1179. NSound.Volume = VOLUME
  1180. NSound.Pitch = PITCH
  1181. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1182. swait()
  1183. NSound:play()
  1184. game:GetService("Debris"):AddItem(NSound, 10)
  1185. end))
  1186. return NSound
  1187. end
  1188. function CameraEnshaking(Length, Intensity)
  1189. coroutine.resume(coroutine.create(function()
  1190. local intensity = 1 * Intensity
  1191. local rotM = 0.01 * Intensity
  1192. for i = 0, Length, 0.1 do
  1193. swait()
  1194. intensity = intensity - 0.05 * Intensity / Length
  1195. rotM = rotM - 5.0E-4 * Intensity / Length
  1196. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1197. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1198. end
  1199. hum.CameraOffset = Vector3.new(0, 0, 0)
  1200. end))
  1201. end
  1202. NewInstance = function(instance,parent,properties)
  1203. local inst = Instance.new(instance)
  1204. inst.Parent = parent
  1205. if(properties)then
  1206. for i,v in next, properties do
  1207. pcall(function() inst[i] = v end)
  1208. end
  1209. end
  1210. return inst;
  1211. end
  1212. function chatfunc(text, color)
  1213. local chat = coroutine.wrap(function()
  1214. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  1215. char:FindFirstChild("TalkingBillBoard"):destroy()
  1216. end
  1217. local naeeym2 = Instance.new("BillboardGui", char)
  1218. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  1219. naeeym2.StudsOffset = Vector3.new(0, 5, 0)
  1220. naeeym2.Adornee = hed
  1221. naeeym2.Name = "TalkingBillBoard"
  1222. local tecks2 = Instance.new("TextLabel", naeeym2)
  1223. tecks2.BackgroundTransparency = 1
  1224. tecks2.BorderSizePixel = 0
  1225. tecks2.Text = ""
  1226. tecks2.Font = "Fantasy"
  1227. tecks2.TextSize = 30
  1228. tecks2.TextStrokeTransparency = 0
  1229. tecks2.TextColor3 = color
  1230. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1231. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1232. for i = 1, string.len(text) do
  1233. --CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115)
  1234. tecks2.Text = string.sub(text, 1, i)
  1235. swait(1)
  1236. end
  1237. wait(1)
  1238. naeeym2:Destroy()
  1239. end)
  1240. chat()
  1241. end
  1242. New = function(Object, Parent, Name, Data)
  1243. local Object = Instance.new(Object)
  1244. for Index, Value in pairs(Data or {}) do
  1245. Object[Index] = Value
  1246. end
  1247. Object.Parent = Parent
  1248. Object.Name = Name
  1249. return Object
  1250. end
  1251.  
  1252. Bandage = New("Model",char,"Bandage",{})
  1253. HanHan = New("Part",Bandage,"HanHan",{Size = Vector3.new(0.0500000715, 0.310000032, 1.02999997),CFrame = CFrame.new(53.5013542, 3.18596792, -6.34358358, -4.33855689e-08, -0.121869348, 0.992546141, -5.32708366e-09, 0.992546141, 0.121869348, -1, 2.66453526e-15, -4.37113883e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1254. Part = New("Part",Bandage,"Part",{Size = Vector3.new(0.0500000715, 0.410000026, 0.970000029),CFrame = CFrame.new(53.0113602, 3.74596858, -5.86358786, 1, 0, 0, 0, 1, -2.08616243e-07, 0, 2.08616257e-07, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1255. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = HanHan,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 2.08616257e-07, 0, -2.08616257e-07, 1),C1 = CFrame.new(-0.479995728, 0.615541697, -0.418094635, -4.33855689e-08, -5.327081e-09, -1, -0.121869348, 0.992546141, 0, 0.992546141, 0.121869348, -4.37113883e-08),})
  1256. Part = New("Part",Bandage,"Part",{Size = Vector3.new(0.0500000715, 0.410000026, 1.02999997),CFrame = CFrame.new(53.501358, 3.74596834, -5.36358023, -4.37113883e-08, 0, 1, -5.28396771e-15, 1, 0, -1, 5.32907052e-15, -4.37113883e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1257. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = HanHan,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.980003357, 0.555825949, 0.0682487488, -4.33855689e-08, -5.327081e-09, -1, -0.121869348, 0.992546141, 0, 0.992546141, 0.121869348, -4.37113883e-08),})
  1258. Part = New("Part",Bandage,"Part",{Size = Vector3.new(0.0500000715, 0.410000026, 1.02999997),CFrame = CFrame.new(54.0013657, 3.74596786, -5.85357809, -1, 0, -8.74227695e-08, 0, 0.99999994, -5.32907052e-15, 8.74227766e-08, 5.32907052e-15, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1259. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = HanHan,C0 = CFrame.new(0, 0, 0, -1, 0, 8.74227766e-08, 0, 0.99999994, 0, -8.74227766e-08, 0, -1),C1 = CFrame.new(-0.490005493, 0.494889975, 0.564529419, -4.33855689e-08, -5.327081e-09, -1, -0.121869348, 0.992546141, 0, 0.992546141, 0.121869348, -4.37113883e-08),})
  1260. Part = New("Part",Bandage,"Part",{Size = Vector3.new(0.0500000715, 0.410000026, 1.02999997),CFrame = CFrame.new(53.501358, 3.74596786, -6.34358358, -4.37113883e-08, 0, 1, -2.61943245e-15, 1, 0, -1, 2.66453526e-15, -4.37113883e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1261. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = HanHan,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0, 0.55582571, 0.0682487488, -4.33855689e-08, -5.327081e-09, -1, -0.121869348, 0.992546141, 0, 0.992546141, 0.121869348, -4.37113883e-08),})
  1262. Part = New("Part",Bandage,"Part",{Size = Vector3.new(0.0500000715, 0.280000031, 0.920000017),CFrame = CFrame.new(53.0113602, 3.45960784, -5.89187002, 1, 0, 0, 0, 0.707106769, 0.707106769, 0, -0.707106769, 0.707106769),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1263. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = HanHan,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.707106769, -0.707106769, 0, 0.707106769, 0.707106769),C1 = CFrame.new(-0.451713562, 0.331315756, -0.4529953, -4.33855689e-08, -5.327081e-09, -1, -0.121869348, 0.992546141, 0, 0.992546141, 0.121869348, -4.37113883e-08),})
  1264. Part = New("Part",Bandage,"Part",{Size = Vector3.new(0.0500000715, 0.320000023, 0.970000029),CFrame = CFrame.new(53.0113564, 3.18096828, -5.86358786, 1, 0, -9.31322575e-10, 0, 0.994521856, 0.104528263, 0, -0.104528263, 0.994521856),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1265. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = HanHan,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.994521856, -0.104528263, 0, 0.104528263, 0.994521856),C1 = CFrame.new(-0.479995728, 0.0547533035, -0.486953735, -4.33855689e-08, -5.327081e-09, -1, -0.121869348, 0.992546141, 0, 0.992546141, 0.121869348, -4.37113883e-08),})
  1266. Part = New("Part",Bandage,"Part",{Size = Vector3.new(0.0500000715, 0.300000042, 1.02999997),CFrame = CFrame.new(54.0013618, 3.230968, -5.85357809, -1, 0, -8.74227695e-08, 0, 0.99999994, -5.32907052e-15, 8.74227766e-08, 5.32907052e-15, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1267. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = HanHan,C0 = CFrame.new(0, 0, 0, -1, 0, 8.74227766e-08, 0, 0.99999994, 0, -8.74227766e-08, 0, -1),C1 = CFrame.new(-0.490005493, -0.0162711143, 0.501766205, -4.33855689e-08, -5.327081e-09, -1, -0.121869348, 0.992546141, 0, 0.992546141, 0.121869348, -4.37113883e-08),})
  1268. Part = New("Part",Bandage,"Part",{Size = Vector3.new(0.0500000715, 0.300000042, 1.02999997),CFrame = CFrame.new(53.5013542, 3.23096824, -5.36358023, -4.37113883e-08, 0, 1, -5.28396771e-15, 1, 0, -1, 5.32907052e-15, -4.37113883e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1269. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = HanHan,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.980003357, 0.0446646214, 0.00548553467, -4.33855689e-08, -5.327081e-09, -1, -0.121869348, 0.992546141, 0, 0.992546141, 0.121869348, -4.37113883e-08),})
  1270. Part = New("Part",Bandage,"Part",{Size = Vector3.new(0.0500000715, 0.170000032, 1.15999997),CFrame = CFrame.new(53.9913559, 3.36093187, -5.80418539, 1, 3.7252903e-09, 0, 0, -0.292371631, 0.956304789, 0, -0.956304789, -0.292371631),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1271. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = HanHan,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.292371631, -0.956304789, 0, 0.956304789, -0.292371631),C1 = CFrame.new(-0.539398193, 0.113943577, 0.507671356, -4.33855689e-08, -5.327081e-09, -1, -0.121869348, 0.992546141, 0, 0.992546141, 0.121869348, -4.37113883e-08),})
  1272. Part = New("Part",Bandage,"Part",{Size = Vector3.new(0.0500000715, 0.240000039, 1.02999997),CFrame = CFrame.new(53.5013542, 2.96096802, -5.36358023, -4.33855654e-08, 0.121869445, 0.992546141, 5.32707611e-09, 0.992546141, -0.121869445, -1, 4.4408921e-15, -4.37113883e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1273. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = HanHan,C0 = CFrame.new(0, 0, 0, -4.33855689e-08, 5.327081e-09, -1, 0.12186943, 0.992546141, 0, 0.992546141, -0.12186943, -4.37113883e-08),C1 = CFrame.new(-0.980003357, -0.223322868, -0.0274200439, -4.33855689e-08, -5.327081e-09, -1, -0.121869348, 0.992546141, 0, 0.992546141, 0.121869348, -4.37113883e-08),})
  1274. Part = New("Part",Bandage,"Part",{Size = Vector3.new(0.0500000715, 0.240000039, 1.02999997),CFrame = CFrame.new(54.0013542, 2.84096742, -5.8835845, -1, 7.4505806e-09, 8.56816769e-08, 0, 0.992546082, -0.121869348, -8.74227766e-08, -0.121869348, -0.992546141),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1275. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = HanHan,C0 = CFrame.new(0, 0, 0, -1, 0, -8.74227766e-08, 1.06541567e-08, 0.992546141, -0.121869348, 8.67711378e-08, -0.121869348, -0.992546141),C1 = CFrame.new(-0.459999084, -0.403363466, 0.454227448, -4.33855689e-08, -5.327081e-09, -1, -0.121869348, 0.992546141, 0, 0.992546141, 0.121869348, -4.37113883e-08),})
  1276. Part = New("Part",Bandage,"Part",{Size = Vector3.new(0.0500000715, 0.240000039, 1.02999997),CFrame = CFrame.new(53.5013542, 2.8309679, -6.35357809, -4.33855654e-08, 0.121869445, 0.992546141, 5.32707611e-09, 0.992546141, -0.121869445, -1, 4.4408921e-15, -4.37113883e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1277. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = HanHan,C0 = CFrame.new(0, 0, 0, -4.33855689e-08, 5.327081e-09, -1, 0.12186943, 0.992546141, 0, 0.992546141, -0.12186943, -4.37113883e-08),C1 = CFrame.new(0.00999450684, -0.35235405, -0.0432624817, -4.33855689e-08, -5.327081e-09, -1, -0.121869348, 0.992546141, 0, 0.992546141, 0.121869348, -4.37113883e-08),})
  1278. Part = New("Part",Bandage,"Part",{Size = Vector3.new(0.0500000715, 0.240000039, 1.02999997),CFrame = CFrame.new(53.0213623, 2.95096779, -5.8835845, -1, 7.4505806e-09, 8.56816769e-08, 0, 0.992546082, -0.121869348, -8.74227766e-08, -0.121869348, -0.992546141),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1279. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = HanHan,C0 = CFrame.new(0, 0, 0, -1, 0, -8.74227766e-08, 1.06541567e-08, 0.992546141, -0.121869348, 8.67711378e-08, -0.121869348, -0.992546141),C1 = CFrame.new(-0.459999084, -0.174751997, -0.505054474, -4.33855689e-08, -5.327081e-09, -1, -0.121869348, 0.992546141, 0, 0.992546141, 0.121869348, -4.37113883e-08),})
  1280.  
  1281. local HW = NewInstance('Weld',char,{Part0 = ra, Part1 = HanHan, C0 = CFrame.new(0.5, 0, 0) * CFrame.Angles(Rad(-7), Rad(0), Rad(0))})
  1282.  
  1283. -------------------------------------------------------
  1284. --End Important Functions--
  1285. -------------------------------------------------------
  1286.  
  1287.  
  1288. -------------------------------------------------------
  1289. --Start Customization--
  1290. -------------------------------------------------------
  1291. local Player_Size = 1
  1292. if Player_Size ~= 1 then
  1293. root.Size = root.Size * Player_Size
  1294. tors.Size = tors.Size * Player_Size
  1295. hed.Size = hed.Size * Player_Size
  1296. ra.Size = ra.Size * Player_Size
  1297. la.Size = la.Size * Player_Size
  1298. rl.Size = rl.Size * Player_Size
  1299. ll.Size = ll.Size * Player_Size
  1300. ----------------------------------------------------------------------------------
  1301. rootj.Parent = root
  1302. neck.Parent = tors
  1303. RW.Parent = tors
  1304. LW.Parent = tors
  1305. RH.Parent = tors
  1306. LH.Parent = tors
  1307. ----------------------------------------------------------------------------------
  1308. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1309. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1310. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1311. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1312. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1313. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1314. ----------------------------------------------------------------------------------
  1315. RH.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))
  1316. LH.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))
  1317. RH.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))
  1318. LH.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))
  1319. --hat.Parent = Character
  1320. end
  1321. ----------------------------------------------------------------------------------
  1322. local SONG = 1551788627
  1323. local SONG2 = 0
  1324. local Music = Instance.new("Sound",tors)
  1325. Music.Volume = 2.5
  1326. Music.Looped = true
  1327. Music.Pitch = 1 --Pitcher
  1328. ----------------------------------------------------------------------------------
  1329. local equipped = false
  1330. local idle = 0
  1331. local change = 1
  1332. local val = 0
  1333. local toim = 0
  1334. local idleanim = 0.4
  1335. local sine = 0
  1336. local Sit = 1
  1337. local WasAir = false
  1338. local InAir = false
  1339. local LandTick = 0
  1340. ----------------------------------------------------------------------------------
  1341. hum.WalkSpeed = 16
  1342. hum.JumpPower = 55
  1343. hum.Animator.Parent = nil
  1344. ----------------------------------------------------------------------------------
  1345. local naeeym2 = Instance.new("BillboardGui",char)
  1346. naeeym2.AlwaysOnTop = true
  1347. naeeym2.Size = UDim2.new(5,35,2,35)
  1348. naeeym2.StudsOffset = Vector3.new(0, 1.5, 0)
  1349. naeeym2.Adornee = hed
  1350. naeeym2.Name = "Name"
  1351. local tecks2 = Instance.new("TextLabel",naeeym2)
  1352. tecks2.BackgroundTransparency = 1
  1353. tecks2.TextScaled = true
  1354. tecks2.BorderSizePixel = 0
  1355. tecks2.Text = "Galacticia"
  1356. tecks2.Font = "Fantasy"
  1357. tecks2.TextSize = 30
  1358. tecks2.TextStrokeTransparency = 0
  1359. tecks2.TextColor3 = Color3.fromRGB(107, 50, 124)
  1360. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1361. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1362. tecks2.Parent = naeeym2
  1363. -------------------------------------------------------
  1364. --End Customization--
  1365. -------------------------------------------------------
  1366.  
  1367.  
  1368. -------------------------------------------------------
  1369. --Start Attacks N Stuff--
  1370. -------------------------------------------------------
  1371. function GalaBomb()
  1372. attack = true
  1373. Cso("1278007556", hed, 3.5, 0.9)
  1374. local orb = Instance.new("Part", char)
  1375. orb.Anchored = true
  1376. orb.BrickColor = BrickC("Bright violet")
  1377. orb.CanCollide = false
  1378. orb.FormFactor = 3
  1379. orb.Name = "Ring"
  1380. orb.Material = "Neon"
  1381. orb.Size = Vector3.new(1, 1, 1)
  1382. orb.Transparency = 0
  1383. orb.TopSurface = 0
  1384. orb.BottomSurface = 0
  1385. local orbm = Instance.new("SpecialMesh", orb)
  1386. orbm.MeshType = "Sphere"
  1387. orbm.Name = "SizeMesh"
  1388. orbm.Scale = Vector3.new(0, 0, 0)
  1389. local scaled = 0.1
  1390. local posid = 0
  1391. for i = 0, 12, 0.1 do
  1392. swait()
  1393. scaled = scaled + 0.001
  1394. posid = posid - scaled
  1395. orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
  1396. orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
  1397. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.1)
  1398. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-25)), 0.1)
  1399. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.1)
  1400. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.1)
  1401. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(170), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1)
  1402. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.1)
  1403. end
  1404. for i = 0, 2, 0.1 do
  1405. swait()
  1406. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(-30)), 0.1)
  1407. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(30)), 0.1)
  1408. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.1)
  1409. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.1)
  1410. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1)
  1411. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.1)
  1412. end
  1413. coroutine.resume(coroutine.create(function()
  1414. orb.Anchored = false
  1415. CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
  1416. local a = Instance.new("Part", workspace)
  1417. a.Name = "Direction"
  1418. a.Anchored = true
  1419. a.BrickColor = BrickC("Bright violet")
  1420. a.Material = "Neon"
  1421. a.Transparency = 1
  1422. a.CanCollide = false
  1423. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
  1424. local ignore = orb
  1425. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1426. a.BottomSurface = 10
  1427. a.TopSurface = 10
  1428. local distance = (orb.CFrame.p - position).magnitude
  1429. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1430. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  1431. orb.CFrame = a.CFrame
  1432. a:Destroy()
  1433. local bv = Instance.new("BodyVelocity")
  1434. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1435. bv.velocity = orb.CFrame.lookVector * 125
  1436. bv.Parent = orb
  1437. local hitted = false
  1438. game:GetService("Debris"):AddItem(orb, 15)
  1439. swait()
  1440. local hit = orb.Touched:connect(function(hit)
  1441. if hitted == false then
  1442. hitted = true
  1443. CameraEnshaking(10, 2.5)
  1444. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  1445. for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do
  1446. if v:FindFirstChild("Head") then
  1447. Eviscerate(v)
  1448. end
  1449. end
  1450. Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Bright violet"), "Sphere")
  1451. Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Bright violet"), "Sphere")
  1452. for i = 0, 9 do
  1453. Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Bright violet"), 0, "Sphere")
  1454. Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Bright violet"), 0, "Sphere")
  1455. end
  1456. orb.Anchored = true
  1457. orb.Transparency = 1
  1458. wait(8)
  1459. orb:Destroy()
  1460. end
  1461. end)
  1462. end))
  1463. for i = 0, 1, 0.1 do
  1464. swait()
  1465. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(30)), 0.3)
  1466. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-30)), 0.3)
  1467. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.3)
  1468. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.3)
  1469. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3)
  1470. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.3)
  1471. end
  1472. attack = false
  1473. end
  1474. function LimitlessDivinity()
  1475. for i = 0, 2, 0.1 do
  1476. swait()
  1477. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  1478. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
  1479. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
  1480. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
  1481. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3)
  1482. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3)
  1483. end
  1484. local p = Instance.new("Part",char)
  1485. p.Anchored = true
  1486. p.Size = Vector3.new(0.1,0.1,0.1)
  1487. p.BrickColor = BrickC("Bright violet")
  1488. p.Material = "Neon"
  1489. p.CFrame = CFrame.new(mouse.Hit.p)
  1490. local m = Instance.new("SpecialMesh",p)
  1491. m.MeshType = "Sphere"
  1492. m.Scale = Vector3.new(80,80,80)
  1493. Magic(3, "Add", p.CFrame, Vector3.new(8, 8, 8), 0.15, BrickC("Bright violet"), "Sphere")
  1494. CFuncs["Sound"].Create("rbxassetid://183763506", p, 10, 0.5)
  1495. for i = 1, 100 do
  1496. swait()
  1497. Aura(2.5,-0.5,"Add", p.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-0.025,BrickC("Bright violet"),25, "Sphere")
  1498. m.Scale = m.Scale + Vector3.new(1,1,1)
  1499. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  1500. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
  1501. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
  1502. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
  1503. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3)
  1504. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3)
  1505. end
  1506. for i = 1,10 do
  1507. swait()
  1508. m.Scale = m.Scale - Vector3.new(16,16,16)
  1509. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  1510. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
  1511. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
  1512. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
  1513. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3)
  1514. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3)
  1515. end
  1516. for i = 1,100 do
  1517. Aura(5,10,"Add",p.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.2,BrickC("Bright violet"),0, "Sphere")
  1518. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  1519. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
  1520. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
  1521. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
  1522. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3)
  1523. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3)
  1524. end
  1525. Magic(1, "Add", p.CFrame, Vector3.new(50, 100, 50), 4, BrickC("Bright violet"), "Sphere")
  1526. Magic(1, "Add", p.CFrame, Vector3.new(30, 60, 30), 4, BrickC("Bright violet"), "Sphere")
  1527. Magic(1, "Add", p.CFrame, Vector3.new(3, 600, 3), 4, BrickC("Bright violet"), "Sphere")
  1528. MagniDamage(p, 60, 50, 100, 0, "Normal")
  1529. CFuncs["Sound"].Create("rbxassetid://138213851", p, 2,1.2)
  1530. CFuncs["Sound"].Create("rbxassetid://239000203", p, 2,1.2)
  1531. CFuncs["Sound"].Create("rbxassetid://919941001", char, 3,1.05)
  1532. p.Transparency = 1
  1533. end
  1534. function NebulaticManiac()
  1535. attack = true
  1536. hum.WalkSpeed = 0
  1537. for i = 0,1.2,0.1 do
  1538. swait()
  1539. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1540. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1541. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  1542. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  1543. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  1544. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
  1545. end
  1546. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  1547. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  1548. Effects.Sphere.Create(BrickColor.new("Bright violet"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
  1549. Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
  1550. Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Institutional white"), "Sphere")
  1551. Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Bright violet"), "Sphere")
  1552. Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Bright violet"), "Sphere")
  1553. Cso("331666100", tors, 10, .68)
  1554. for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
  1555. if v:FindFirstChild("Head") then
  1556. Eviscerate(v)
  1557. end
  1558. end
  1559. CameraEnshaking(1.5, 20)
  1560. for i = 1,4.7,0.1 do
  1561. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  1562. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1563. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  1564. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1565. RW.C0 = clerp(RW.C0, CF(1.2, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-34)), 0.1)
  1566. LW.C0 = clerp(LW.C0, CF(-1.5, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(-15)), 0.1)
  1567. end
  1568. wait(.6)
  1569. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  1570. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  1571. Effects.Sphere.Create(BrickColor.new("Hot pink"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
  1572. Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
  1573. Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Institutional white"), "Sphere")
  1574. Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Toothpaste"), "Sphere")
  1575. Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01,BrickColor.new("Hot pink"), "Sphere")
  1576. Cso("331666100", tors, 10, .68)
  1577. for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
  1578. if v:FindFirstChild("Head") then
  1579. Eviscerate(v)
  1580. end
  1581. end
  1582. CameraEnshaking(1.5, 20)
  1583. for i = 1,4.7,0.1 do
  1584. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  1585. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1586. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  1587. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1588. RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(15)), 0.1)
  1589. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(34)), 0.1)
  1590. end
  1591. wait(.6)
  1592. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  1593. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  1594. Effects.Sphere.Create(BrickColor.new("Bright violet"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
  1595. Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
  1596. Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Institutional white"), "Sphere")
  1597. Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Bright violet"), "Sphere")
  1598. Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Bright violet"), "Sphere")
  1599. Cso("331666100", tors, 10, .68)
  1600. for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
  1601. if v:FindFirstChild("Head") then
  1602. Eviscerate(v)
  1603. end
  1604. end
  1605. CameraEnshaking(1.5, 20)
  1606. for i = 1,4.7,0.1 do
  1607. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  1608. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1609. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  1610. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1611. RW.C0 = clerp(RW.C0, CF(1.2, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-34)), 0.1)
  1612. LW.C0 = clerp(LW.C0, CF(-1.5, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(-15)), 0.1)
  1613. end
  1614. wait(.6)
  1615. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  1616. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  1617. Effects.Sphere.Create(BrickColor.new("Hot pink"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
  1618. Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
  1619. Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Institutional white"), "Sphere")
  1620. Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Toothpaste"), "Sphere")
  1621. Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Hot pink"), "Sphere")
  1622. Cso("331666100", tors, 10, .68)
  1623. for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
  1624. if v:FindFirstChild("Head") then
  1625. Eviscerate(v)
  1626. end
  1627. end
  1628. CameraEnshaking(1.5, 20)
  1629. for i = 1,4.7,0.1 do
  1630. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  1631. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1632. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  1633. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1634. RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(15)), 0.1)
  1635. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(34)), 0.1)
  1636. end
  1637. wait(.6)
  1638. attack = false
  1639. hum.WalkSpeed = 8
  1640. end
  1641. function THUNDERCLAP()
  1642. attack = true
  1643. chatfunc("You peasants don't deserve to live in a world of chaos.", maincolor.Color)
  1644. for i = 0, 15, 0.1 do
  1645. swait()
  1646. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  1647. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
  1648. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
  1649. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
  1650. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3)
  1651. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3)
  1652. end
  1653. CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
  1654. chatfunc("Begone....", maincolor.Color)
  1655. for i = 0, 7, 0.1 do
  1656. swait()
  1657. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  1658. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
  1659. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
  1660. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
  1661. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 - 4.5 * Sin(sine / 20))), 0.3)
  1662. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 + 4.5 * Sin(sine / 20))), 0.3)
  1663. end
  1664. chatfunc("With the THUNDERCLAP!", maincolor.Color)
  1665. Magic(1, "Add", root.CFrame, Vector3.new(50, 100, 50), 4, BrickC("Bright violet"), "Sphere")
  1666. Magic(1, "Add", root.CFrame, Vector3.new(30, 60, 30), 4, BrickC("Bright violet"), "Sphere")
  1667. Magic(1, "Add", root.CFrame, Vector3.new(3, 600, 3), 4, BrickC("Bright violet"), "Sphere")
  1668. for i, v in pairs(FindNearestHead(tors.CFrame.p, 500000)) do
  1669. if v:FindFirstChild("Head") then
  1670. Eviscerate(v)
  1671. end
  1672. end
  1673. CFuncs["Sound"].Create("rbxassetid://138213851", char, 2,1.2)
  1674. CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,1.2)
  1675. CFuncs["Sound"].Create("rbxassetid://919941001", char, 3,1.05)
  1676. for i = 0, 7, 0.1 do
  1677. swait()
  1678. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  1679. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
  1680. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
  1681. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
  1682. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 - 4.5 * Sin(sine / 20))), 0.3)
  1683. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 + 4.5 * Sin(sine / 20))), 0.3)
  1684. end
  1685. attack = false
  1686. end
  1687. -------------------------------------------------------
  1688. --End Attacks N Stuff--
  1689. -------------------------------------------------------
  1690. mouse.KeyDown:connect(function(key)
  1691. if attack == false then
  1692. if key == "z" then
  1693. GalaBomb()
  1694. elseif key == "x" then
  1695. LimitlessDivinity()
  1696. elseif key == "c" then
  1697. NebulaticManiac()
  1698. elseif key == "v" then
  1699. THUNDERCLAP()
  1700. end
  1701. end
  1702. end)
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711. -------------------------------------------------------
  1712. --Start Animations--
  1713. -------------------------------------------------------
  1714. print("By Makhail07")
  1715. while true do
  1716. swait()
  1717. sine = sine + change
  1718. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1719. local velderp = root.Velocity.y
  1720. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1721. if equipped == true or equipped == false then
  1722. if attack == false then
  1723. idle = idle + 1
  1724. else
  1725. idle = 0
  1726. end
  1727. local Landed = false
  1728. if(hitfloor)then
  1729. WasAir = false
  1730. else
  1731. WasAir = true
  1732. end
  1733. if(WasAir == false)then
  1734. if(InAir == true)then
  1735. LandTick = time()
  1736. Landed = true
  1737. end
  1738. end
  1739. if(time()-LandTick < .3)then
  1740. Landed = true
  1741. end
  1742. if(hitfloor)then
  1743. InAir = false
  1744. else
  1745. InAir = true
  1746. end
  1747. PixelBlockX(5, 0.25, "Add", la.CFrame * CF(0,-1,0) * angles(Rad(90 + Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.75, 0.75, 0.75, 0.0075, BrickC("Bright violet"), 0)
  1748. local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1)
  1749. local State = (hum.PlatformStand and 'Paralyzed' or hum.Sit and 'Sit' or Landed and 'Land' or not hitfloor and root.Velocity.y < -1 and "Fall" or not hitfloor and root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
  1750. local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
  1751. if (State == 'Walk') and torvel > 1 and attack == false then
  1752. rootj.C1 = clerp(rootj.C1, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(0)), 2)
  1753. neck.C1 = clerp(neck.C1, CF(0, -0.5, 0) * angles(Rad(-90), Rad(0), Rad(180)) * angles(Rad(2.5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0)), 0.6)
  1754. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 10 * Cos(sine / WALKSPEEDVALUE)) - rl.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(90 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  1755. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 10 * Cos(sine / WALKSPEEDVALUE)) + ll.RotVelocity.Y / 75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(-90 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  1756. elseif (State ~= 'Walk') or (torvel < 1) or (attack == true) then
  1757. rootj.C1 = clerp(rootj.C1, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
  1758. 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)
  1759. RH.C1 = clerp(RH.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)
  1760. LH.C1 = clerp(LH.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)
  1761. end
  1762. if hum.Sit == false then
  1763. if(State == 'Jump')then
  1764. hum.WalkSpeed = 34
  1765. hum.JumpPower = 90
  1766. if attack == false then
  1767. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.1)
  1768. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1769. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
  1770. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
  1771. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1772. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1773. end
  1774. elseif(State == 'Fall')then
  1775. if attack == false then
  1776. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.1)
  1777. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1778. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.1)
  1779. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.1)
  1780. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1781. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1782. end
  1783. elseif(State == 'Land')then
  1784. hum.WalkSpeed = 4
  1785. hum.JumpPower = 0
  1786. if attack == false then
  1787. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1788. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1789. RH.C0 = clerp(RH.C0, CF(1* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(10)), 0.15)
  1790. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(-10)), 0.15)
  1791. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(25 + 4.5 * Sin(sine / 20))), 0.1)
  1792. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
  1793. end
  1794. elseif(State == 'Idle')then
  1795. change = 1
  1796. if attack == false then
  1797. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.1)
  1798. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0 - 10 * Cos(sine / 20))), 0.1)
  1799. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.1)
  1800. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.1)
  1801. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(0), Rad(5 - 4.5 * Sin(sine / 20))), 0.1)
  1802. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(0), Rad(-5 + 4.5 * Sin(sine / 20))), 0.1)
  1803. end
  1804. elseif(State == 'Walk')then
  1805. change = 1
  1806. hum.WalkSpeed = 14
  1807. hum.JumpPower = 55
  1808. if attack == false then
  1809. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 - 0.15 * Cos(sine / (WALKSPEEDVALUE / 2))) * angles(Rad(10), Rad(0), Rad(0 - 0.15 * Cos(sine / (WALKSPEEDVALUE / 2)))), 0.1)
  1810. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20), Rad(0), Rad(0)), 0.1)
  1811. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-15)), 0.1)
  1812. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(15)), 0.1)
  1813. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0 - 0.5 * Cos(sine / WALKSPEEDVALUE)* Player_Size) * angles(Rad(45 * Cos(sine / WALKSPEEDVALUE)), Rad(10 * Cos(sine / WALKSPEEDVALUE)), Rad(0) - ra.RotVelocity.Y / 75), 0.1)
  1814. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0 + 0.5 * Cos(sine / WALKSPEEDVALUE)* Player_Size) * angles(Rad(-45 * Cos(sine / WALKSPEEDVALUE)), Rad(10 * Cos(sine / WALKSPEEDVALUE)) , Rad(0) + la.RotVelocity.Y / 75), 0.1)
  1815. end
  1816. end
  1817. else
  1818. Sit.Value = true
  1819. if attack == false then
  1820. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.5 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1821. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-5)), 0.1)
  1822. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.35 - 0.05 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(15), Rad(75), Rad(0)) * angles(Rad(-5), Rad(0), Rad(5)), 0.1)
  1823. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.35 - 0.05 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(15), Rad(-75), Rad(0)) * angles(Rad(-5), Rad(0), Rad(5)), 0.1)
  1824. RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.4 + 0.1 * Sin(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(35), Rad(-20), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1825. LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.4 + 0.1 * Sin(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(35), Rad(20), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1826. end
  1827. end
  1828. end
  1829. Music.SoundId = "rbxassetid://"..SONG
  1830. Music.Looped = true
  1831. Music.Pitch = 0.8
  1832. Music.Volume = 2
  1833. Music.Parent = tors
  1834. Music:Resume()
  1835. if 0 < #Effects then
  1836. for e = 1, #Effects do
  1837. if Effects[e] ~= nil then
  1838. local Thing = Effects[e]
  1839. if Thing ~= nil then
  1840. local Part = Thing[1]
  1841. local Mode = Thing[2]
  1842. local Delay = Thing[3]
  1843. local IncX = Thing[4]
  1844. local IncY = Thing[5]
  1845. local IncZ = Thing[6]
  1846. if 1 >= Thing[1].Transparency then
  1847. if Thing[2] == "Block1" then
  1848. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1849. local Mesh = Thing[1].Mesh
  1850. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1851. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1852. elseif Thing[2] == "Block2" then
  1853. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1854. local Mesh = Thing[7]
  1855. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1856. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1857. elseif Thing[2] == "Block3" then
  1858. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  1859. local Mesh = Thing[7]
  1860. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1861. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1862. elseif Thing[2] == "Cylinder" then
  1863. local Mesh = Thing[1].Mesh
  1864. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1865. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1866. elseif Thing[2] == "Blood" then
  1867. local Mesh = Thing[7]
  1868. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1869. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1870. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1871. elseif Thing[2] == "Elec" then
  1872. local Mesh = Thing[1].Mesh
  1873. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1874. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1875. elseif Thing[2] == "Disappear" then
  1876. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1877. elseif Thing[2] == "Shatter" then
  1878. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1879. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1880. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1881. Thing[6] = Thing[6] + Thing[5]
  1882. end
  1883. else
  1884. Part.Parent = nil
  1885. table.remove(Effects, e)
  1886. end
  1887. end
  1888. end
  1889. end
  1890. end
  1891. end
  1892. -------------------------------------------------------
  1893. --End Animations And Script--
  1894. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement