Advertisement
RO_scripter

Moai Messiah Non FE version

Jul 26th, 2020
649
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 55.38 KB | None | 0 0
  1. ---- Moai Messiah Non FE ----
  2. print([[finnaly someone was get the god scirpt that lives is really long time]])
  3. --------- have fun the Moai scirpt ;) ---------------
  4.  
  5. wait(2)
  6. Player = game:GetService("Players").LocalPlayer
  7. PlayerGui = Player.PlayerGui
  8. Cam = workspace.CurrentCamera
  9. Backpack = Player.Backpack
  10. Character = Player.Character
  11. Humanoid = Character.Humanoid
  12. RootPart = Character.HumanoidRootPart
  13. Torso = Character.Torso
  14. Head = Character.Head
  15. Mouse = Player:GetMouse()
  16. RightArm = Character["Right Arm"]
  17. LeftArm = Character["Left Arm"]
  18. RightLeg = Character["Right Leg"]
  19. LeftLeg = Character["Left Leg"]
  20. RootJoint = RootPart.RootJoint
  21. Neck = Torso.Neck
  22. RightShoulder = Torso["Right Shoulder"]
  23. LeftShoulder = Torso["Left Shoulder"]
  24. RightHip = Torso["Right Hip"]
  25. LeftHip = Torso["Left Hip"]
  26. local TWEENSERVICE = game:GetService("TweenService")
  27. local debris = game:GetService("Debris")
  28. local run = game:GetService("RunService")
  29. local rs = run.RenderStepped
  30. local cam = workspace.CurrentCamera
  31. local HUM = Character.Humanoid
  32. local ROOT = HUM.Torso
  33. local MOUSEPOS = ROOT.Position
  34. local DAMAGEMULTIPLIER = 1
  35. local TERRIBLE = {}  
  36.  
  37. IT = Instance.new
  38. CF = CFrame.new
  39. VT = Vector3.new
  40. RAD = math.rad
  41. C3 = Color3.new
  42. UD2 = UDim2.new
  43. BRICKC = BrickColor.new
  44. ANGLES = CFrame.Angles
  45. EULER = CFrame.fromEulerAnglesXYZ
  46. COS = math.cos
  47. ACOS = math.acos
  48. SIN = math.sin
  49. ASIN = math.asin
  50. ABS = math.abs
  51. MRANDOM = math.random
  52. FLOOR = math.floor
  53.  
  54. -----------------------------------
  55. --||///////============\\\\\\\\||--
  56. --><Values 
  57. Animation_Speed = 3
  58. Animation_Speed2 = 5
  59. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  60. local Speed = 20
  61. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  62. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  63. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  64. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  65. local DAMAGEMULTIPLIER = 1
  66. local ANIM = "Idle"
  67. local ATTACK = false
  68. local EQUIPPED = false
  69. local HOLD = false
  70. local COMBO = 1
  71. local Rooted = false
  72. local SINE = 0
  73. local KEYHOLD = false
  74. local CHANGE = 2 / Animation_Speed
  75. local WALKINGANIM = false
  76. local VALUE1 = false
  77. local VALUE2 = false
  78. local ROBLOXIDLEANIMATION = IT("Animation")
  79. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  80. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  81. ROBLOXIDLEANIMATION.Parent = Humanoid
  82. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  83. WEAPONGUI.Name = "DSCRIPT"
  84. local Effects = IT("Folder", Character)
  85. Effects.Name = "Effects"
  86. local ANIMATOR = Humanoid.Animator
  87. local ANIMATE = Character.Animate
  88. local UNANCHOR = true
  89. local SHOTS = 0
  90. local RINGSTOP = false
  91.  
  92. local STUFF = Instance.new("Folder",Character)
  93.  
  94. local Musika = IT("Sound", STUFF)
  95. local Volu = 30
  96. local Pitch = .75
  97. local Song = 1846172769
  98. local TSPT, TVY, TSTP
  99.  
  100. local Musika2 = IT("Sound", STUFF)
  101. local Volu2 = 3
  102. local Pitch2 = .4
  103. local Song2 = 159106174
  104. local TSPT2, TVY2, TSTP2
  105.  
  106. local Player_Size = 1
  107. local WALKINGANIM = false
  108. local SCALE = 2
  109.  
  110. local Decal = IT("Decal")
  111.  
  112. local HITPLAYERSOUNDS = {"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  113. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  114. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  115. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  116.  
  117. -----------------------------------
  118.  
  119.  
  120. -----------------------------------
  121. --------------------------------->
  122. -----------------------------------
  123.  
  124. ArtificialHB = Instance.new("BindableEvent", script)
  125. ArtificialHB.Name = "ArtificialHB"
  126. script:WaitForChild("ArtificialHB")
  127. frame = Frame_Speed
  128. tf = 0
  129. allowframeloss = false
  130. tossremainder = false
  131. lastframe = tick()
  132. script.ArtificialHB:Fire()
  133. game:GetService("RunService").Heartbeat:connect(function(s, p)
  134.     tf = tf + s
  135.     if tf >= frame then
  136.         if allowframeloss then
  137.             script.ArtificialHB:Fire()
  138.             lastframe = tick()
  139.         else
  140.             for i = 1, math.floor(tf / frame) do
  141.                 script.ArtificialHB:Fire()
  142.             end
  143.             lastframe = tick()
  144.         end
  145.         if tossremainder then
  146.             tf = 0
  147.         else
  148.             tf = tf - frame * math.floor(tf / frame)
  149.         end
  150.     end
  151. end)
  152.  
  153. -----------------------------------
  154.  
  155. --><Some Functions
  156. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  157.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  158. end
  159. function PositiveAngle(NUMBER)
  160.     if NUMBER >= 0 then
  161.         NUMBER = 0
  162.     end
  163.     return NUMBER
  164. end
  165. function NegativeAngle(NUMBER)
  166.     if NUMBER <= 0 then
  167.         NUMBER = 0
  168.     end
  169.     return NUMBER
  170. end
  171. function Swait(NUMBER)
  172.     if NUMBER == 0 or NUMBER == nil then
  173.         ArtificialHB.Event:wait()
  174.     else
  175.         for i = 1, NUMBER do
  176.             ArtificialHB.Event:wait()
  177.         end
  178.     end
  179. end
  180. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  181.     local NEWMESH = IT(MESH)
  182.     if MESH == "SpecialMesh" then
  183.         NEWMESH.MeshType = MESHTYPE
  184.         if MESHID ~= "nil" and MESHID ~= "" then
  185.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  186.         end
  187.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  188.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  189.         end
  190.     end
  191.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  192.     NEWMESH.Scale = SCALE
  193.     NEWMESH.Parent = PARENT
  194.     return NEWMESH
  195. end
  196. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  197.     local NEWPART = IT("Part")
  198.     NEWPART.formFactor = FORMFACTOR
  199.     NEWPART.Reflectance = REFLECTANCE
  200.     NEWPART.Transparency = TRANSPARENCY
  201.     NEWPART.CanCollide = false
  202.     NEWPART.Locked = true
  203.     NEWPART.Anchored = true
  204.     if ANCHOR == false then
  205.         NEWPART.Anchored = false
  206.     end
  207.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  208.     NEWPART.Name = NAME
  209.     NEWPART.Size = SIZE
  210.     NEWPART.Position = Torso.Position
  211.     NEWPART.Material = MATERIAL
  212.     NEWPART:BreakJoints()
  213.     NEWPART.Parent = PARENT
  214.     return NEWPART
  215. end
  216. local weldBetween = function(a, b)
  217.     local weldd = Instance.new("ManualWeld")
  218.     weldd.Part0 = a
  219.     weldd.Part1 = b
  220.     weldd.C0 = CFrame.new()
  221.     weldd.C1 = b.CFrame:inverse() * a.CFrame
  222.     weldd.Parent = a
  223.     return weldd
  224. end
  225. function weldSomethings(a, b, acf)
  226.     local we = Instance.new("Weld", a)
  227.     we.Part0 = a
  228.     we.Part1 = b
  229. if acf ~= nil then
  230.     we.C0 = acf
  231. end
  232. end
  233. function QuaternionFromCFrame(cf)
  234.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  235.     local trace = m00 + m11 + m22
  236.     if trace > 0 then
  237.         local s = math.sqrt(1 + trace)
  238.         local recip = 0.5 / s
  239.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  240.     else
  241.         local i = 0
  242.         if m00 < m11 then
  243.             i = 1
  244.         end
  245.         if m22 > (i == 0 and m00 or m11) then
  246.             i = 2
  247.         end
  248.         if i == 0 then
  249.             local s = math.sqrt(m00 - m11 - m22 + 1)
  250.             local recip = 0.5 / s
  251.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  252.         elseif i == 1 then
  253.             local s = math.sqrt(m11 - m22 - m00 + 1)
  254.             local recip = 0.5 / s
  255.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  256.         elseif i == 2 then
  257.             local s = math.sqrt(m22 - m00 - m11 + 1)
  258.             local recip = 0.5 / s
  259.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  260.         end
  261.     end
  262. end
  263. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  264.     local xs, ys, zs = x + x, y + y, z + z
  265.     local wx, wy, wz = w * xs, w * ys, w * zs
  266.     local xx = x * xs
  267.     local xy = x * ys
  268.     local xz = x * zs
  269.     local yy = y * ys
  270.     local yz = y * zs
  271.     local zz = z * zs
  272.     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))
  273. end
  274. function QuaternionSlerp(a, b, t)
  275.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  276.     local startInterp, finishInterp
  277.     if cosTheta >= 1.0E-4 then
  278.         if 1 - cosTheta > 1.0E-4 then
  279.             local theta = ACOS(cosTheta)
  280.             local invSinTheta = 1 / SIN(theta)
  281.             startInterp = SIN((1 - t) * theta) * invSinTheta
  282.             finishInterp = SIN(t * theta) * invSinTheta
  283.         else
  284.             startInterp = 1 - t
  285.             finishInterp = t
  286.         end
  287.     elseif 1 + cosTheta > 1.0E-4 then
  288.         local theta = ACOS(-cosTheta)
  289.         local invSinTheta = 1 / SIN(theta)
  290.         startInterp = SIN((t - 1) * theta) * invSinTheta
  291.         finishInterp = SIN(t * theta) * invSinTheta
  292.     else
  293.         startInterp = t - 1
  294.         finishInterp = t
  295.     end
  296.     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
  297. end
  298. function Clerp(a, b, t)
  299.     local qa = {
  300.         QuaternionFromCFrame(a)
  301.     }
  302.     local qb = {
  303.         QuaternionFromCFrame(b)
  304.     }
  305.     local ax, ay, az = a.x, a.y, a.z
  306.     local bx, by, bz = b.x, b.y, b.z
  307.     local _t = 1 - t
  308.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  309. end
  310. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  311.     local frame = IT("Frame")
  312.     frame.BackgroundTransparency = TRANSPARENCY
  313.     frame.BorderSizePixel = BORDERSIZEPIXEL
  314.     frame.Position = POSITION
  315.     frame.Size = SIZE
  316.     frame.BackgroundColor3 = COLOR
  317.     frame.BorderColor3 = BORDERCOLOR
  318.     frame.Name = NAME
  319.     frame.Parent = PARENT
  320.     return frame
  321. end
  322. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  323.     local label = IT("TextLabel")
  324.     label.BackgroundTransparency = 1
  325.     label.Size = UD2(1, 0, 1, 0)
  326.     label.Position = UD2(0, 0, 0, 0)
  327.     label.TextColor3 = TEXTCOLOR
  328.     label.TextStrokeTransparency = STROKETRANSPARENCY
  329.     label.TextTransparency = TRANSPARENCY
  330.     label.FontSize = TEXTFONTSIZE
  331.     label.Font = TEXTFONT
  332.     label.BorderSizePixel = BORDERSIZEPIXEL
  333.     label.TextScaled = false
  334.     label.Text = TEXT
  335.     label.Name = NAME
  336.     label.Parent = PARENT
  337.     return label
  338. end
  339. function NoOutlines(PART)
  340.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  341. end
  342. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  343.     local NEWWELD = IT(TYPE)
  344.     NEWWELD.Part0 = PART0
  345.     NEWWELD.Part1 = PART1
  346.     NEWWELD.C0 = C0
  347.     NEWWELD.C1 = C1
  348.     NEWWELD.Parent = PARENT
  349.     return NEWWELD
  350. end
  351. local S = IT("Sound")
  352. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  353.     local NEWSOUND
  354.     coroutine.resume(coroutine.create(function()
  355.         NEWSOUND = S:Clone()
  356.         NEWSOUND.Parent = PARENT
  357.         NEWSOUND.Volume = VOLUME
  358.         NEWSOUND.Pitch = PITCH
  359.         NEWSOUND.EmitterSize = VOLUME * 3
  360.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  361.         NEWSOUND:play()
  362.         if DOESLOOP == true then
  363.             NEWSOUND.Looped = true
  364.         else
  365.             repeat
  366.                 wait(1)
  367.             until NEWSOUND.Playing == false
  368.             NEWSOUND:remove()
  369.         end
  370.     end))
  371.     return NEWSOUND
  372. end
  373. function NewSound(TABLE)
  374.     local ID = "rbxassetid://"..(TABLE.ID or 0)
  375.     local PARENT = (TABLE.PARENT or ROOT)
  376.     local VOLUME = (TABLE.VOLUME or 0.5)
  377.     local PITCH = (TABLE.PITCH or 1)
  378.     local LOOP = (TABLE.LOOP or false)
  379.     local MAXDISTANCE = (TABLE.MAXDISTANCE or 100)
  380.     local EMITTERSIZE = (TABLE.EMITTERSIZE or 10)
  381.     local PLAYING = (TABLE.PLAYING or true)
  382.     local PLAYONREMOVE = (TABLE.PLAYONREMOVE or false)
  383.     local DOESDEBRIS = (TABLE.DOESDEBRIS or true)
  384.     if ID ~= "rbxassetid://0" then
  385.         local SOUND = IT("Sound",PARENT)
  386.         SOUND.SoundId = ID
  387.         SOUND.Volume = VOLUME
  388.         SOUND.Pitch = PITCH
  389.         SOUND.Looped = LOOP
  390.         SOUND.MaxDistance = MAXDISTANCE
  391.         SOUND.EmitterSize = EMITTERSIZE
  392.         SOUND.PlayOnRemove = PLAYONREMOVE
  393.         if DOESDEBRIS == true and PLAYING == true and LOOP == false then
  394.             Debris:AddItem(SOUND,SOUND.TimeLength+5)
  395.         end
  396.         if PLAYING == true then
  397.             SOUND:Play()
  398.         end
  399.         return SOUND
  400.     end
  401. end
  402. function CFrameFromTopBack(at, top, back)
  403.     local right = top:Cross(back)
  404.     return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  405. end
  406. function MagicRing()
  407.     local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Warphole", VT(0, 0, 0))
  408.     O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  409.     local decal = Decal:Clone()
  410.     decal.Parent = O1
  411.     decal.Face = "Top"
  412.     decal.Texture = "http://www.roblox.com/asset/?id=0"
  413.     local decal2 = Decal:Clone()
  414.     decal2.Parent = O1
  415.     decal2.Face = "Bottom"
  416.     decal2.Texture = "http://www.roblox.com/asset/?id=0"
  417.     return O1
  418. end
  419. function MagicRing2(PART,CFRAME)
  420.     local RING = CreatePart(3, Effects, "Neon", 0, 1, "Royal purple", "MagicRing", VT(0,0,0),false)
  421.     local WELD = CreateWeldOrSnapOrMotor("Weld", PART, PART, RING, CFRAME, CF(0, 0, 0))
  422.     local MESH = IT("BlockMesh",RING)
  423.     local BOTTOMTEXTURE = Decal:Clone()
  424.     BOTTOMTEXTURE.Parent = RING
  425.     BOTTOMTEXTURE.Face = "Bottom"
  426.     BOTTOMTEXTURE.Name = "BottomTexture"
  427.     local TOPTEXTURE = Decal:Clone()
  428.     TOPTEXTURE.Parent = RING
  429.     TOPTEXTURE.Face = "Top"
  430.     TOPTEXTURE.Name = "TopTexture"
  431.     local LIGHT = IT("PointLight",RING)
  432.     BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=2829906887"
  433.     TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=2829906887"
  434.     return RING,WELD,MESH
  435. end
  436. local DECAL = IT("Decal")
  437. function MagicRing3()
  438.     local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  439.     local MSH = IT("BlockMesh", RING)
  440.     local TOP = DECAL:Clone()
  441.     local BOTTOM = DECAL:Clone()
  442.     TOP.Parent = RING
  443.     BOTTOM.Parent = RING
  444.     TOP.Face = "Top"
  445.     BOTTOM.Face = "Bottom"
  446.     TOP.Texture = "http://www.roblox.com/asset/?id=0"
  447.     BOTTOM.Texture = "http://www.roblox.com/asset/?id=0"
  448.     local function REMOVE()
  449.         coroutine.resume(coroutine.create(function()
  450.             local SIZE = MSH.Scale.X
  451.             for i = 1, 35 do
  452.                 Swait()
  453.                 MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  454.                 TOP.Transparency = TOP.Transparency + 0.02857142857142857
  455.                 BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  456.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  457.             end
  458.             RING:remove()
  459.         end))
  460.     end
  461.     return RING, MSH, REMOVE
  462. end
  463. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  464.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  465.     local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  466.     wave.CFrame = CFRAME
  467.     coroutine.resume(coroutine.create(function(PART)
  468.         for i = 1, WAIT do
  469.             Swait()
  470.             mesh.Scale = mesh.Scale + GROW
  471.             mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  472.             if DOESROT == true then
  473.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  474.             end
  475.             wave.Transparency = wave.Transparency + 0.5 / WAIT
  476.             if wave.Transparency > 0.99 then
  477.                 wave:remove()
  478.             end
  479.         end
  480.     end))
  481. end
  482. function SpecialSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  483.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Eye", VT(1,1,1), true)
  484.     wave.Color = COLOR
  485.     local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  486.     wave.CFrame = CFRAME
  487.     coroutine.resume(coroutine.create(function(PART)
  488.         for i = 1, WAIT do
  489.             Swait()
  490.             mesh.Scale = mesh.Scale + GROW
  491.             wave.Transparency = wave.Transparency + (1/WAIT)
  492.             if wave.Transparency > 0.99 then
  493.                 wave:remove()
  494.             end
  495.         end
  496.     end))
  497. end
  498. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  499.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  500.     local mesh = IT("SpecialMesh",wave)
  501.     mesh.MeshType = "Sphere"
  502.     mesh.Scale = SIZE
  503.     mesh.Offset = VT(0,0,0)
  504.     wave.CFrame = CFRAME
  505.     coroutine.resume(coroutine.create(function(PART)
  506.         for i = 1, WAIT do
  507.             Swait()
  508.             mesh.Scale = mesh.Scale + GROW
  509.             wave.Transparency = wave.Transparency + (1/WAIT)
  510.             if wave.Transparency > 0.99 then
  511.                 wave:remove()
  512.             end
  513.         end
  514.     end))
  515. end
  516. function WACKYEFFECT(Table)
  517.     local TYPE = Table.EffectType or "Sphere"
  518.     local SIZE = Table.Size or VT(1, 1, 1)
  519.     local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  520.     local TRANSPARENCY = Table.Transparency or 0
  521.     local ENDTRANSPARENCY = Table.Transparency2 or 1
  522.     local CFRAME = Table.CFrame or Torso.CFrame
  523.     local MOVEDIRECTION = Table.MoveToPos or nil
  524.     local ROTATION1 = Table.RotationX or 0
  525.     local ROTATION2 = Table.RotationY or 0
  526.     local ROTATION3 = Table.RotationZ or 0
  527.     local MATERIAL = Table.Material --or "Neon"
  528.     local COLOR = Table.Color or C3(1, 1, 1)
  529.     local TIME = Table.Time or 45
  530.     local SOUNDID = Table.SoundID or nil
  531.     local SOUNDPITCH = Table.SoundPitch or nil
  532.     local SOUNDVOLUME = Table.SoundVolume or nil
  533.     local USEBOOMERANGMATH = Table.UseBoomerangMath or false
  534.     local BOOMERANG = Table.Boomerang or 0
  535.     local SIZEBOOMERANG = Table.SizeBoomerang or 0
  536.     coroutine.resume(coroutine.create(function()
  537.         local PLAYSSOUND = false
  538.         local SOUND
  539.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  540.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  541.             PLAYSSOUND = true
  542.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  543.         end
  544.         EFFECT.Color = COLOR
  545.         local MSH
  546.         if TYPE == "Sphere" then
  547.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  548.         elseif TYPE == "Block" or TYPE == "Box" then
  549.             MSH = IT("BlockMesh", EFFECT)
  550.             MSH.Scale = SIZE
  551.         elseif TYPE == "Wave" then
  552.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  553.         elseif TYPE == "Ring" then
  554.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  555.         elseif TYPE == "Slash" then
  556.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  557.         elseif TYPE == "Round Slash" then
  558.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  559.         elseif TYPE == "Swirl" then
  560.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0, 0, 0))
  561.         elseif TYPE == "Skull" then
  562.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  563.         elseif TYPE == "Star" then
  564.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "2760116123", "", SIZE, VT(0,0,0))      
  565.         elseif TYPE == "Crystal" then
  566.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "450656451", "", SIZE, VT(0, 0, 0))
  567.         end
  568.         coroutine.resume(coroutine.create(function()
  569.             if MSH ~= nil then
  570.                 local BOOMR1 = 1 + BOOMERANG / 50
  571.                 local BOOMR2 = 1 + SIZEBOOMERANG / 50
  572.                 local MOVESPEED = nil
  573.             if MOVEDIRECTION ~= nil then
  574.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  575.             end
  576.                 local GROWTH
  577.                 if USEBOOMERANGMATH == true then
  578.                     GROWTH = (SIZE - ENDSIZE) * (BOOMR2 + 1)
  579.                 else
  580.                     GROWTH = SIZE - ENDSIZE
  581.                 end
  582.                 local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  583.                 if TYPE == "Block" then
  584.                     EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  585.                 else
  586.                     EFFECT.CFrame = CFRAME
  587.                 end
  588.                 if USEBOOMERANGMATH == true then
  589.                     for LOOP = 1, TIME + 1 do
  590.                         Swait()
  591.                         MSH.Scale = MSH.Scale - VT(GROWTH.X * (1 - LOOP / TIME * BOOMR2), GROWTH.Y * (1 - LOOP / TIME * BOOMR2), GROWTH.Z * (1 - LOOP / TIME * BOOMR2)) * BOOMR2 / TIME
  592.                         if TYPE == "Wave" then
  593.                             MSH.Offset = VT(0, 0, -MSH.Scale.Z / 8)
  594.                         end
  595.                         EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  596.                         if TYPE == "Block" then
  597.                             EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  598.                         else
  599.                             EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  600.                         end
  601.                         if MOVEDIRECTION ~= nil then
  602.                             local ORI = EFFECT.Orientation
  603.                             EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED * (1 - LOOP / TIME * BOOMR1))
  604.                             EFFECT.Orientation = ORI
  605.                         end
  606.                     end
  607.                 else
  608.                     for LOOP = 1, TIME + 1 do
  609.                         Swait()
  610.                         MSH.Scale = MSH.Scale - GROWTH / TIME
  611.                         if TYPE == "Wave" then
  612.                             MSH.Offset = VT(0, 0, -MSH.Scale.Z / 8)
  613.                         end
  614.                         EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  615.                         if TYPE == "Block" then
  616.                             EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  617.                         else
  618.                             EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  619.                         end
  620.                         if MOVEDIRECTION ~= nil then
  621.                     local ORI = EFFECT.Orientation
  622.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  623.                     EFFECT.Orientation = ORI
  624.                 end
  625.             end
  626.                 end
  627.                 EFFECT.Transparency = 1
  628.                 if PLAYSSOUND == false then
  629.                     EFFECT:remove()
  630.                 else
  631.                     repeat
  632.                         Swait()
  633.                     until EFFECT:FindFirstChildOfClass("Sound") == nil
  634.                     EFFECT:remove()
  635.                 end
  636.             elseif PLAYSSOUND == false then
  637.                 EFFECT:remove()
  638.             else
  639.                 repeat
  640.                     Swait()
  641.                 until EFFECT:FindFirstChildOfClass("Sound") == nil
  642.                 EFFECT:remove()
  643.             end
  644.         end))
  645.         return EFFECT
  646.     end))
  647. end  
  648. function CharacterFade(COLOR,TIMER)
  649.     coroutine.resume(coroutine.create(function()
  650.         local FADE = IT("Model",Effects)
  651.         FADE.Name = "FadingEffect"
  652.         for _, c in pairs(Character:GetChildren()) do
  653.             if c.ClassName == "Part" and c ~= RootPart then
  654.                 local FADER = c:Clone()
  655.                 FADER.Color = COLOR
  656.                 FADER.CFrame = c.CFrame
  657.                 FADER.Parent = FADE
  658.                 FADER.Anchored = true
  659.                 FADER.Transparency = 0.25+c.Transparency
  660.                 FADER:BreakJoints()
  661.                 FADER.Material = "Neon"
  662.                 if FADER.Name == "Head" then
  663.                     FADER:ClearAllChildren()
  664.                     FADER.Size = VT(1,1,1)
  665.                 end
  666.                 if c and c.Parent and c.ClassName == "ShirtGraphic" then
  667.                     c:Destroy()
  668.                 end
  669.                 FADER.CanCollide = false
  670.             end
  671.         end
  672.         local TRANS = 0.75/TIMER
  673.         for i = 1, TIMER do
  674.             Swait()
  675.             for _, c in pairs(FADE:GetChildren()) do
  676.                 if c.ClassName == "Part" then
  677.                     c.Transparency = c.Transparency + TRANS
  678.                 end
  679.             end
  680.         end
  681.         FADE:remove()
  682.     end))
  683. end  
  684. function Lightning(Table)
  685.     local Color = Table.Color or C3(1, 1, 1)
  686.     local StartPos = Table.Start or Torso.Position
  687.     local EndPos = Table.End or Mouse.Hit.p
  688.     local SegmentLength = Table.SegmentL or 2
  689.     local Thickness = Table.Thickness or 0.1
  690.     local Dissapear = Table.DoesFade or false
  691.     local Parent = Table.Ignore or Character
  692.     local MaxDist = Table.MaxDist or 400
  693.     local Branches = Table.Branches or false
  694.     local Thicken = Table.Thicken or false
  695.     local FadeTime = Table.FadeTime or 15
  696.     local FadeIn = Table.FadeIn or false
  697.     local Material = Table.Material or "Neon"
  698.     local HIT, HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  699.     local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude / (SegmentLength / SegmentLength / 1.5))
  700.     local LIGHTNINGMODEL = IT("Model", Effects)
  701.     LIGHTNINGMODEL.Name = "Lightning"
  702.     local LastBolt
  703.     for E = 1, DISTANCE do
  704.         local ExtraSize = 0
  705.         if Thicken == true then
  706.             ExtraSize = (DISTANCE - E) / 15
  707.         end
  708.         local TRANSPARENCY = 0
  709.         if FadeIn == true then
  710.             TRANSPARENCY = 1 - E / (DISTANCE / 1.5)
  711.             if TRANSPARENCY < 0 then
  712.                 TRANSPARENCY = 0
  713.             end
  714.         end
  715.         local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart" .. E, VT(Thickness + ExtraSize, SegmentLength, Thickness + ExtraSize))
  716.         PART.Color = Color
  717.         MakeForm(PART, "Cyl")
  718.         if LastBolt == nil then
  719.             PART.CFrame = CF(StartPos, HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -PART.Size.Y / 2, 0)
  720.         else
  721.             PART.CFrame = CF(LastBolt.CFrame * CF(0, -LastBolt.Size.Y / 2, 0).p, CF(HITPOS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, DISTANCE - E).p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -PART.Size.Y / 2, 0)
  722.         end
  723.         LastBolt = PART
  724.         if Branches == true and E < DISTANCE - 5 then
  725.             local CHOICE = MRANDOM(1, 7 + (DISTANCE - E) * 2)
  726.             if CHOICE == 1 then
  727.                 local LASTBRANCH
  728.                 for i = 1, MRANDOM(2, 5) do
  729.                     local ExtraSize2 = 0
  730.                     if Thicken == true then
  731.                         ExtraSize = (DISTANCE - E) / 25 / i
  732.                     end
  733.                     local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch" .. E .. "-" .. i, VT(Thickness + ExtraSize2, SegmentLength, Thickness + ExtraSize2))
  734.                     PART.Color = Color
  735.                     MakeForm(PART, "Cyl")
  736.                     if LASTBRANCH == nil then
  737.                         PART.CFrame = CF(LastBolt.CFrame * CF(0, -LastBolt.Size.Y / 2, 0).p, LastBolt.CFrame * CF(0, -LastBolt.Size.Y / 2, 0) * ANGLES(RAD(0), RAD(0), RAD(MRANDOM(0, 360))) * CF(0, Thickness * 7, 0) * CF(0, 0, -1).p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -PART.Size.Y / 2, 0)
  738.                     else
  739.                         PART.CFrame = CF(LASTBRANCH.CFrame * CF(0, -LASTBRANCH.Size.Y / 2, 0).p, LASTBRANCH.CFrame * CF(0, -LASTBRANCH.Size.Y / 2, 0) * ANGLES(RAD(0), RAD(0), RAD(MRANDOM(0, 360))) * CF(0, Thickness * 3, 0) * CF(0, 0, -1).p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -PART.Size.Y / 2, 0)
  740.                     end
  741.                     LASTBRANCH = PART
  742.                 end
  743.             end
  744.         end
  745.     end
  746.     if Dissapear == true then
  747.         coroutine.resume(coroutine.create(function()
  748.             for i = 1, FadeTime do
  749.                 Swait()
  750.                 for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  751.                     if c.ClassName == "Part" then
  752.                         c.Transparency = c.Transparency + 1 / FadeTime
  753.                     end
  754.                 end
  755.             end
  756.             LIGHTNINGMODEL:remove()
  757.         end))
  758.     elseif Dissapear == false then
  759.         Debris:AddItem(LIGHTNINGMODEL, 0.1)
  760.     end
  761.     return {
  762.         Hit = HIT,
  763.         Pos = HITPOS,
  764.         End = LastBolt.CFrame * CF(0, 0, -LastBolt.Size.Z).p,
  765.         LastBolt = LastBolt,
  766.         Model = LIGHTNINGMODEL
  767.     }
  768. end
  769. function GetRoot(MODEL, ROOT)
  770.     if ROOT == true then
  771.         return MODEL:FindFirstChild("HumanoidRootPart") or MODEL:FindFirstChild("Torso") or MODEL:FindFirstChild("UpperTorso")
  772.     else
  773.         return MODEL:FindFirstChild("Torso") or MODEL:FindFirstChild("UpperTorso")
  774.     end
  775. end
  776. function MakeForm(PART, TYPE)
  777.     if TYPE == "Cyl" then
  778.         local MSH = IT("CylinderMesh", PART)
  779.     elseif TYPE == "Ball" then
  780.         local MSH = IT("SpecialMesh", PART)
  781.         MSH.MeshType = "Sphere"
  782.     elseif TYPE == "Wedge" then
  783.         local MSH = IT("SpecialMesh", PART)
  784.         MSH.MeshType = "Wedge"
  785.     end
  786. end
  787. Debris = game:GetService("Debris")
  788. local Particle = IT("ParticleEmitter",nil)
  789. Particle.Enabled = false
  790. Particle.LightEmission = 0.8
  791. Particle.Rate = 150
  792. Particle.ZOffset = 1
  793. Particle.Rotation = NumberRange.new(-180, 180)
  794.  
  795. --ParticleEmitter({Speed = 5, RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false, Color1 = C3(1,1,1), Color2 = C3(1,1,1), Texture = ""})
  796. function ParticleEmitter(Table)
  797.     local PRTCL = Particle:Clone()
  798.     local Color1 = Table.Color1 or C3(1,1,1)
  799.     local Color2 = Table.Color2 or C3(1,1,1)
  800.     local Speed = Table.Speed or 5
  801.     local Drag = Table.Drag or 0
  802.     local Size1 = Table.Size1 or 1
  803.     local Size2 = Table.Size2 or 5
  804.     local Lifetime1 = Table.Lifetime1 or 1
  805.     local Lifetime2 = Table.Lifetime2 or 1.5
  806.     local Parent = Table.Parent or Torso
  807.     local Emit = Table.Emit or 100
  808.     local Offset = Table.Offset or 360
  809.     local Acel = Table.Acel or VT(0,0,0)
  810.     local Enabled = Table.Enabled or false
  811.     local Texture = Table.Texture or "281983280"
  812.     local RotS = Table.RotSpeed or NumberRange.new(-15, 15)
  813.     local Trans1 = Table.Transparency1 or 0
  814.     local Trans2 = Table.Transparency2 or 0
  815.     PRTCL.Parent = Parent
  816.     PRTCL.RotSpeed = RotS
  817.     PRTCL.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,Trans1),NumberSequenceKeypoint.new(1,Trans2)})
  818.     PRTCL.Texture = "http://www.roblox.com/asset/?id="..Texture
  819.     PRTCL.Color = ColorSequence.new(Color1,Color2)
  820.     PRTCL.Size = NumberSequence.new(Size1,Size2)
  821.     PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  822.     PRTCL.Speed = NumberRange.new(Speed)
  823.     PRTCL.VelocitySpread = Offset
  824.     PRTCL.Drag = Drag
  825.     PRTCL.Acceleration = Acel
  826.     if Enabled == false then
  827.         PRTCL:Emit(Emit)
  828.         Debris:AddItem(PRTCL,Lifetime2)
  829.     else
  830.         PRTCL.Enabled = true
  831.     end
  832.     return PRTCL
  833. end
  834. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  835.     local DIRECTION = CF(StartPos, EndPos).lookVector
  836.     local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  837.     return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
  838. end
  839. function SpawnTrail(FROM,TO,BIG)
  840. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "White", "Trail", VT(45,45,45)*2)  
  841. TRAIL.Color = Color3.new(1,.4,.25)        
  842. MakeForm(TRAIL,"Cyl")
  843.     local DIST = (FROM - TO).Magnitude
  844.     if BIG == true then
  845.         TRAIL.Size = VT(2,DIST,20)
  846.     else
  847.         TRAIL.Size = VT(2,DIST,20)
  848.     end
  849.     TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  850.     coroutine.resume(coroutine.create(function()
  851.         for i = 1, 25 do
  852.             Swait()
  853.             TRAIL.Transparency = TRAIL.Transparency + 0.045
  854.             TRAIL.Size = TRAIL.Size - VT(.1,0,.1)
  855.         end
  856.         TRAIL:remove()
  857.     end))
  858. end
  859.  
  860. function BigSpawnTrail(FROM,TO,BIG)
  861. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "White", "Trail", VT(45,45,45)*4)  
  862. TRAIL.Color = Color3.new(1,.3,.25)        
  863. MakeForm(TRAIL,"Cyl")
  864.     local DIST = (FROM - TO).Magnitude
  865.     if BIG == true then
  866.         TRAIL.Size = VT(5,DIST,40)
  867.     else
  868.         TRAIL.Size = VT(5,DIST,40)
  869.     end
  870.     TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  871.     coroutine.resume(coroutine.create(function()
  872.         for i = 1, 25 do
  873.             Swait()
  874.             TRAIL.Transparency = TRAIL.Transparency + 0.045
  875.             TRAIL.Size = TRAIL.Size - VT(.1,0,.1)
  876.         end
  877.         TRAIL:remove()
  878.     end))
  879. end
  880.  
  881. function Debree(Table)
  882.     local KindOf = Table.Variant or "Ring"
  883.     local Position = Table.Location or Torso.Position
  884.     local Coloration = Table.Color or C3(1, 1, 1)
  885.     local Texture = Table.Material or "Slate"
  886.     local Fling = Table.Scatter or 1
  887.     local Number = Table.Amount or 1
  888.     local Rocks = Table.DebreeCount or 1
  889.     local Range = Table.Distance or 1
  890.     local Scale = Table.Size or 1
  891.     local Timer = Table.Delay or 1.5
  892.     coroutine.resume(coroutine.create(function()
  893.         local ScaleVector = VT(Scale, Scale, Scale)
  894.         local Boulders = {}
  895.         Position = CF(Position)
  896.         if KindOf == "Ring" or KindOf == "Both" then
  897.             for RockValue = 1, Number do
  898.                 local LOCATION = Position * ANGLES(RAD(0), RAD(360 / Number * RockValue), RAD(0)) * CF(0, MRANDOM(-math.ceil(Scale / 2), math.ceil(Scale / 2)), Range)
  899.                 local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
  900.                 BOULDER.CanCollide = true
  901.                 BOULDER.CFrame = LOCATION * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  902.                 BOULDER.Color = Coloration
  903.                 table.insert(Boulders, BOULDER)
  904.             end
  905.         end
  906.         if KindOf == "Loose" or KindOf == "Both" then
  907.             for RockValue = 1, Rocks do
  908.                 local LOCATION = Position * ANGLES(RAD(0), RAD(360 / Number * RockValue), RAD(0)) * CF(0, MRANDOM(-math.ceil(Scale - Scale / 2), math.ceil(Scale - Scale / 2)), 0.7)
  909.                 local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, false)
  910.                 BOULDER.CanCollide = true
  911.                 BOULDER.CFrame = LOCATION * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  912.                 BOULDER.Velocity = CF(BOULDER.Position - VT(0, 4, 0), BOULDER.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 5, 0).p).lookVector * MRANDOM(Fling - Fling / 1.5, Fling + Fling / 1.5)
  913.                 BOULDER.Color = Coloration
  914.                 table.insert(Boulders, BOULDER)
  915.             end
  916.         end
  917.         if KindOf == "Random" then
  918.             for RockValue = 1, Number do
  919.                 local LOCATION = Position * ANGLES(RAD(0), RAD(360 / Number * RockValue), RAD(0)) * CF(0, MRANDOM(-math.ceil(Scale / 2), math.ceil(Scale / 2)), MRANDOM(0, Range))
  920.                 local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
  921.                 BOULDER.CanCollide = true
  922.                 BOULDER.CFrame = LOCATION * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  923.                 BOULDER.Color = Coloration
  924.                 table.insert(Boulders, BOULDER)
  925.             end
  926.         end
  927.         wait(Timer)
  928.         for E = 1, 45 do
  929.             Swait()
  930.             for A = 1, #Boulders do
  931.                 Boulders[A].Transparency = Boulders[A].Transparency + 0.022222222222222223
  932.             end
  933.         end
  934.         for A = 1, #Boulders do
  935.             Boulders[A]:Destroy()
  936.         end
  937.     end))
  938. end
  939.  
  940. function CameraShake(AREA,RANGE,SHAKE,TIMER)
  941.     for index, CHILD in pairs(workspace:GetChildren()) do
  942.         if CHILD:FindFirstChildOfClass("Humanoid") then
  943.             local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  944.             local ROOT = HUMAN.Torso
  945.             if ROOT and game.Players:GetPlayerFromCharacter(CHILD) then
  946.                 if (ROOT.Position - AREA).Magnitude <= RANGE then
  947.                     if CHILD:FindFirstChild("CamShake") then
  948.                         Debris:AddItem(CHILD:FindFirstChild("CamShake"),0.05)
  949.                     end
  950.                     local CAMSHAKE = script.CamShake:Clone()
  951.                     CAMSHAKE.Parent = CHILD
  952.                     local TIMER_V = IT("NumberValue",CAMSHAKE)
  953.                     TIMER_V.Name = "Timer"
  954.                     TIMER_V.Value = TIMER
  955.                     local SHAKE_V = IT("NumberValue",CAMSHAKE)
  956.                     SHAKE_V.Name = "Shake"
  957.                     SHAKE_V.Value = SHAKE
  958.                     CAMSHAKE.Disabled = false
  959.                     Debris:AddItem(CAMSHAKE,15)
  960.                 end
  961.             end
  962.         end
  963.     end
  964. end
  965.  
  966. --><Miscellaneous & Weapon Creation
  967.  
  968. Head.face:remove()
  969.  
  970. --//    
  971. Head.Transparency = 1    
  972. Torso.Transparency = 1
  973. RightArm.Transparency = 1
  974. LeftArm.Transparency = 1  
  975. LeftLeg.Transparency = 1
  976. RightLeg.Transparency = 1
  977. --}}        
  978. Torso.BrickColor = BrickColor.new("Really black")  
  979. RightArm.BrickColor = BrickColor.new("Really black")
  980. LeftArm.BrickColor = BrickColor.new("Really black")  
  981. LeftLeg.BrickColor = BrickColor.new("Really black")
  982. RightLeg.BrickColor = BrickColor.new("Really black")
  983. --||
  984. NewHead = script.Head.MainHead  
  985. NewHead.Parent = Character
  986. local NewHeadWeld = weldSomethings(NewHead,Head, CF(0, 0, 0)*ANGLES(RAD(0),RAD(0),RAD(0)), CF(0, 0, 0))
  987. local RINGA = script.MAINCIRCLE
  988. RINGA.Parent = Character
  989. local RINGAWELD = CreateWeldOrSnapOrMotor("Weld", RINGA.Ring.SuperWeld, RINGA.Ring.SuperWeld, RootPart, CF(0, 7.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * CF(0, 0, 0), CF(0, 0, 0))
  990. local RINGB = script.RIGHTCIRCLE
  991. RINGB.Parent = Character
  992. local RINGBWELD = CreateWeldOrSnapOrMotor("Weld", RINGB.Ring.RCore, RINGB.Ring.RCore, RootPart, CF(0, 0, 8.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * CF(0, 0, 0), CF(0, 0, 0))
  993. local RINGBCORE = RINGB.Ring.RCore
  994. local RINGC = script.LEFTCIRCLE
  995. RINGC.Parent = Character
  996. local RINGCWELD = CreateWeldOrSnapOrMotor("Weld", RINGC.Ring.LCore, RINGC.Ring.LCore, RootPart, CF(0, 0, -8.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * CF(0, 0, 0), CF(0, 0, 0))
  997. local RINGCCORE = RINGC.Ring.LCore
  998. local REYE = NewHead.EYER
  999. local LEYE = NewHead.EYEL
  1000. --\\
  1001.  
  1002. local SKILLTEXT = script.MovesList
  1003. SKILLTEXT.Parent = Player.PlayerGui
  1004.  
  1005. local BODY = {}
  1006. for _, c in pairs(Character:GetDescendants()) do
  1007.     if c:IsA("BasePart") and c.Name ~= "Handle" then
  1008.         if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1009.             c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1010.         end
  1011.         table.insert(BODY, {
  1012.             c,
  1013.             c.Parent,
  1014.             c.Material,
  1015.             c.Color,
  1016.             c.Transparency,
  1017.             c.Size,
  1018.             c.Name
  1019.         })
  1020.     elseif c:IsA("JointInstance") then
  1021.         table.insert(BODY, {
  1022.             c,
  1023.             c.Parent,
  1024.             nil,
  1025.             nil,
  1026.             nil,
  1027.             nil,
  1028.             nil
  1029.         })
  1030.     end
  1031. end
  1032. function Nevermore()
  1033.     Character.Parent = workspace
  1034.     Effects.Parent = Character
  1035.     for e = 1, #BODY do
  1036.         if BODY[e] ~= nil then
  1037.             local STUFF = BODY[e]
  1038.             local PART = STUFF[1]
  1039.             local PARENT = Character:FindFirstChild("Safety") or STUFF[2]
  1040.             local COLOR = STUFF[4]
  1041.             local TRANSPARENCY = STUFF[5]
  1042.             local NAME = STUFF[7]
  1043.             if PART.ClassName == "Part" and PART ~= RootPart then
  1044.                 PART.Transparency = TRANSPARENCY
  1045.                 PART.Name = NAME
  1046.             end
  1047.             if PART.Parent ~= PARENT then
  1048.                 if PART.Name == "Head" or PART.Name == "Neck" or PART.Name == "Torso" then
  1049.                     Humanoid:remove()
  1050.                 end
  1051.                 PART.Parent = PARENT
  1052.                 if PART.Name == "Head" or PART.Name == "Neck" or PART.Name == "Torso" then
  1053.                 end
  1054.             end
  1055.         end
  1056.     end
  1057. end
  1058. Humanoid.HealthChanged:connect(function()
  1059.     Humanoid.Parent = Character
  1060.     Humanoid.MaxHealth = "inf"
  1061.     Humanoid.Health = "inf"
  1062.     Nevermore()
  1063.     Nevermore()
  1064. end)
  1065. Humanoid.Died:connect(function()
  1066.     Humanoid.Parent = Character
  1067.     Humanoid.MaxHealth = "inf"
  1068.     Humanoid.Health = "inf"
  1069.     Nevermore()
  1070.     Swait(5)
  1071.     Nevermore()
  1072.     Nevermore()
  1073.     Swait(5)
  1074.     Nevermore()
  1075.     Nevermore()
  1076.     Swait(5)
  1077.     Nevermore()
  1078.     Nevermore()
  1079.     Swait(5)
  1080.     Nevermore()
  1081.     Nevermore()
  1082.     Swait(5)
  1083.     Nevermore()
  1084.     Nevermore()
  1085. end)
  1086.  
  1087. --><All Attack Functions
  1088.  
  1089. local function nomoresoundsbrosorry(obj)
  1090.    if obj:IsA("Sound") and obj.Name ~= "speak" and obj.Name ~= "spook3" and obj.Name ~= "spook" and obj.Name ~= "spook2" and obj.Name ~= "lock" and obj.Name ~= "laughy" and obj.Name ~= "skreem" and obj.Name ~= "strike" and obj.Name ~= "wattha" and obj.Name ~= "pow" then
  1091.       obj.Looped = false
  1092.       obj.Pitch = 0
  1093.       obj.Volume = 0
  1094.       return
  1095.    end
  1096.    local children = obj:GetChildren()
  1097.    for i = 1, #children do
  1098.     nomoresoundsbrosorry(children[i])
  1099.    end  
  1100.    return
  1101. end
  1102.  
  1103. function DIVINE_OBLITERATE(MODEL)
  1104.     local HUM = MODEL:FindFirstChildOfClass("Humanoid")
  1105.     table.insert(TERRIBLE,MODEL.Name)
  1106.     printthisdude(MODEL.Name)
  1107.     MODEL:BreakJoints()
  1108.     if HUM then
  1109.         for index, CHILD in pairs(MODEL:GetChildren()) do
  1110.             if CHILD:IsA("BasePart") then
  1111.                 if CHILD.Name == "Head" then
  1112.                
  1113.                 elseif CHILD.Name ~= "HumanoidRootPart" then
  1114.                     WACKYEFFECT({Time = MRANDOM(10,30)*2, EffectType = "Sphere", Size = VT(.5,10,.5), Size2 = VT(.5,10,.5)*1.5, Transparency = CHILD.Transparency, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(MRANDOM(-25,59)/1.5,MRANDOM(-25,59)/1.5,0), MRANDOM(-25,59)/35, RotationX = MRANDOM(-360,360)/35, RotationY = MRANDOM(-360,360)/35, RotationZ = MRANDOM(-360,360)/35, Material = "Neon", Color = Color3.new(1,1,.45), 0, SoundPitch = .4, SoundVolume = 10, UseBoomerangMath = true, SizeBoomerang = 100, Boomerang = 55})
  1115.                     WACKYEFFECT({Time = MRANDOM(10,30)*2, EffectType = "Sphere", Size = VT(.5,10,.5), Size2 = VT(.5,10,.5)*1.5, Transparency = CHILD.Transparency, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(MRANDOM(-25,59)/1.5,MRANDOM(-25,59)/1.5,0), MRANDOM(-25,59)/35, RotationX = MRANDOM(-360,360)/35, RotationY = MRANDOM(-360,360)/35, RotationZ = MRANDOM(-360,360)/35, Material = "Neon", Color = Color3.new(1,1,.35), SoundID = 0, SoundPitch = .3, SoundVolume = 10, UseBoomerangMath = true, SizeBoomerang = 100, Boomerang = 200})
  1116.                 end
  1117.                 CHILD:Destroy()
  1118.                 CHILD:Destroy()
  1119.                 CHILD:Destroy()
  1120.             end
  1121.         end
  1122.         HUM.Health = 0
  1123.     end
  1124.     MODEL:remove()
  1125.     MODEL:remove()
  1126.     MODEL:remove()
  1127.     MODEL:remove()
  1128.     MODEL:remove()
  1129.     MODEL:Destroy()
  1130.     MODEL:Destroy()
  1131.     MODEL:Destroy()
  1132.     MODEL:Destroy()
  1133.     MODEL:Destroy()
  1134. end
  1135.  
  1136. function MAGMA_OBLITERATE(MODEL)
  1137.     local HUM = MODEL:FindFirstChildOfClass("Humanoid")
  1138.     table.insert(TERRIBLE,MODEL.Name)
  1139.     printthisdude(MODEL.Name)
  1140.     MODEL:BreakJoints()
  1141.     if HUM then
  1142.         for index, CHILD in pairs(MODEL:GetChildren()) do
  1143.             if CHILD:IsA("BasePart") then
  1144.                 if CHILD.Name == "Head" then
  1145.                
  1146.                 elseif CHILD.Name ~= "HumanoidRootPart" then
  1147.                     WACKYEFFECT({Time = MRANDOM(10,30)*2, EffectType = "Sphere", Size = VT(.5,10,.5), Size2 = VT(.5,10,.5)*1.5, Transparency = CHILD.Transparency, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(MRANDOM(-25,59)/1.5,MRANDOM(-25,59)/1.5,0), MRANDOM(-25,59)/35, RotationX = MRANDOM(-360,360)/35, RotationY = MRANDOM(-360,360)/35, RotationZ = MRANDOM(-360,360)/35, Material = "Neon", Color = Color3.new(1,.4,.35), 0, SoundPitch = .4, SoundVolume = 10, UseBoomerangMath = true, SizeBoomerang = 100, Boomerang = 55})
  1148.                     WACKYEFFECT({Time = MRANDOM(10,30)*2, EffectType = "Sphere", Size = VT(.5,10,.5), Size2 = VT(.5,10,.5)*1.5, Transparency = CHILD.Transparency, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(MRANDOM(-25,59)/1.5,MRANDOM(-25,59)/1.5,0), MRANDOM(-25,59)/35, RotationX = MRANDOM(-360,360)/35, RotationY = MRANDOM(-360,360)/35, RotationZ = MRANDOM(-360,360)/35, Material = "Neon", Color = Color3.new(1,.35,.25), SoundID = 0, SoundPitch = .3, SoundVolume = 10, UseBoomerangMath = true, SizeBoomerang = 100, Boomerang = 200})
  1149.                 end
  1150.                 CHILD:Destroy()
  1151.                 CHILD:Destroy()
  1152.                 CHILD:Destroy()
  1153.             end
  1154.         end
  1155.         HUM.Health = 0
  1156.     end
  1157.     MODEL:remove()
  1158.     MODEL:remove()
  1159.     MODEL:remove()
  1160.     MODEL:remove()
  1161.     MODEL:remove()
  1162.     MODEL:Destroy()
  1163.     MODEL:Destroy()
  1164.     MODEL:Destroy()
  1165.     MODEL:Destroy()
  1166.     MODEL:Destroy()
  1167. end
  1168.  
  1169. function printthisdude(Noob)
  1170.     local NOTIFY = {"Obliterated, "}
  1171.     print(NOTIFY[MRANDOM(1,#NOTIFY)]..Noob..".")   
  1172. end
  1173.  
  1174. function  DAOETime(POSITION,RANGE)
  1175.     for index, CHILD in pairs(workspace:GetDescendants()) do
  1176.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1177.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1178.             if HUM then
  1179.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1180.                 if TORSO then
  1181.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1182.                         DIVINE_OBLITERATE(CHILD)
  1183.                     end
  1184.                 end
  1185.             end
  1186.         end
  1187.     end
  1188. end
  1189.  
  1190. function  MAOETime(POSITION,RANGE)
  1191.     for index, CHILD in pairs(workspace:GetDescendants()) do
  1192.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1193.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1194.             if HUM then
  1195.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1196.                 if TORSO then
  1197.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1198.                         MAGMA_OBLITERATE(CHILD)
  1199.                     end
  1200.                 end
  1201.             end
  1202.         end
  1203.     end
  1204. end
  1205.  
  1206. function TungstenMelter()
  1207.     ATTACK = true
  1208.     local GYRO = IT("BodyGyro", RootPart)
  1209.     GYRO.D = 15
  1210.     GYRO.P = 2000
  1211.     GYRO.MaxTorque = VT(0, 4000000, 0)        
  1212.     repeat
  1213.          Swait()
  1214.          Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(30), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1215.          GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1216.          local HIT,POS = CastProperRay(RightArm.Position, Mouse.Hit.p, 1000, Character)
  1217.          SpawnTrail(REYE.Position,POS)
  1218.          SpawnTrail(LEYE.Position,POS)
  1219.          WACKYEFFECT({
  1220.             Time = 15,
  1221.             EffectType = "Block",
  1222.             Size = VT(15, 15, 15)/3,
  1223.             Size2 = VT(60, 60, 60)/3,
  1224.             Transparency = 0.7,
  1225.             Transparency2 = 1,
  1226.             CFrame = CF(POS),
  1227.             MoveToPos = nil,
  1228.             RotationX = math.random(-15,15),
  1229.             RotationY = math.random(-15,15),
  1230.             RotationZ = math.random(-15,15),
  1231.             Material = "Neon",
  1232.             Color = C3(1,.4,.25),
  1233.             SoundID = 0,
  1234.             SoundPitch = 0,
  1235.             SoundVolume = 7,
  1236.             UseBoomerangMath = true,
  1237.             Boomerang = 0,
  1238.             SizeBoomerang = 0
  1239.          })
  1240.          pcall(game.Destroy, POS)
  1241.          WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(15,2,15)/3, Size2 = VT(60,2,60)/3, Transparency = .75, Transparency2 = 1, CFrame = CF(POS,REYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), MoveToPos = nil, RotationX =  RAD(MRANDOM(-360, 360)), RotationY = RAD(MRANDOM(-360, 360)), RotationZ = RAD(MRANDOM(-360, 360)), Material = "Neon", Color = C3(1,.35,.2), SoundID = nil, SoundPitch = 1, SoundVolume = 10, UseBoomerangMath = true, Boomerang = 10, SizeBoomerang = 20})
  1242.          MAOETime(POS,25)    
  1243.     until KEYHOLD == false
  1244.     GYRO:remove()
  1245.     ATTACK = false
  1246. end
  1247.  
  1248. function DivineWing()
  1249.     ATTACK = true
  1250.     local POS = Mouse.Hit.p+VT(0,15,0)
  1251.     local ORI = RootPart.Orientation
  1252.     for i = 1, 20 do
  1253.         Swait()
  1254.         WACKYEFFECT({
  1255.             Time = 60,
  1256.             EffectType = "Sphere",
  1257.             Size = VT(i, 25, i),
  1258.             Size2 = VT(i, 3500, i)*2,
  1259.             Transparency = .2,
  1260.             Transparency2 = 1,
  1261.             CFrame = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1262.             MoveToPos = nil,
  1263.             RotationX = 0,
  1264.             RotationY = 0,
  1265.             RotationZ = 0,
  1266.             Material = "Neon",
  1267.             Color = C3(1,1,.5),
  1268.             SoundID = nil,
  1269.             SoundPitch = MRANDOM(8, 20) / 10,
  1270.             SoundVolume = 2.5,
  1271.             UseBoomerangMath = true,
  1272.             Boomerang = 10,
  1273.             SizeBoomerang = 20
  1274.         })
  1275.         WACKYEFFECT({
  1276.                     Time = 40,
  1277.                     EffectType = "Sphere",
  1278.                     Size = VT(5, 5, 5),
  1279.                     Size2 = VT(0, i, 250),
  1280.                     Transparency = 0,
  1281.                     Transparency2 = 1,
  1282.                     CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))),
  1283.                     MoveToPos = nil,
  1284.                     RotationX = math.random(-15,15),
  1285.                     RotationY = math.random(-15,15),
  1286.                     RotationZ = math.random(-15,15),
  1287.                     Material = "Neon",
  1288.                     Color = C3(1,1,.5),
  1289.                     SoundID = 0,
  1290.                     SoundPitch = .8,
  1291.                     SoundVolume = 4,  
  1292.                     UseBoomerangMath = true,
  1293.                     Boomerang = 0,
  1294.                     SizeBoomerang = 0
  1295.                 })
  1296.         ----
  1297.         WACKYEFFECT({
  1298.                     Time = 40,
  1299.                     EffectType = "Sphere",
  1300.                     Size = VT(5, 5, 5),
  1301.                     Size2 = VT(0, i, 250),
  1302.                     Transparency = 0,
  1303.                     Transparency2 = 1,
  1304.                     CFrame = CF(POS) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))),
  1305.                     MoveToPos = nil,
  1306.                     RotationX = math.random(-15,15),
  1307.                     RotationY = math.random(-15,15),
  1308.                     RotationZ = math.random(-15,15),
  1309.                     Material = "Neon",
  1310.                     Color = C3(1,1,.5),
  1311.                     SoundID = 0,
  1312.                     SoundPitch = .8,
  1313.                     SoundVolume = 4,  
  1314.                     UseBoomerangMath = true,
  1315.                     Boomerang = 0,
  1316.                     SizeBoomerang = 0
  1317.                 })
  1318.         WACKYEFFECT({
  1319.             Time = 60,
  1320.             EffectType = "Sphere",
  1321.             Size = VT(i, 25, i),
  1322.             Size2 = VT(i, 3500, i)*2,
  1323.             Transparency = .2,
  1324.             Transparency2 = 1,
  1325.             CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1326.             MoveToPos = nil,
  1327.             RotationX = 0,
  1328.             RotationY = 0,
  1329.             RotationZ = 0,
  1330.             Material = "Neon",
  1331.             Color = C3(1,1,.5),
  1332.             SoundID = nil,
  1333.             SoundPitch = MRANDOM(8, 20) / 10,
  1334.             SoundVolume = 2.5,
  1335.             UseBoomerangMath = true,
  1336.             Boomerang = 10,
  1337.             SizeBoomerang = 20
  1338.         })
  1339.         DAOETime(POS,55)
  1340.     end
  1341.     RootPart.CFrame = CF(POS)
  1342.     RootPart.Orientation = ORI
  1343.     RootJoint.Parent = RootPart
  1344.     ATTACK = false
  1345. end
  1346.  
  1347. function LavaLash()
  1348.     ATTACK = true
  1349.     local GYRO = IT("BodyGyro", RootPart)
  1350.     GYRO.D = 15
  1351.     GYRO.P = 2000
  1352.     GYRO.MaxTorque = VT(0, 4000000, 0)        
  1353.     repeat
  1354.          Swait()
  1355.          Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-50), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)   
  1356.          GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1357.          local HIT,POS = CastProperRay(RightArm.Position, Mouse.Hit.p, 1000, Character)
  1358.          BigSpawnTrail(NewHead.CORE.Position,POS)
  1359.          WACKYEFFECT({
  1360.             Time = 15,
  1361.             EffectType = "Block",
  1362.             Size = VT(15, 15, 15),
  1363.             Size2 = VT(60, 60, 60),
  1364.             Transparency = 0.7,
  1365.             Transparency2 = 1,
  1366.             CFrame = CF(POS),
  1367.             MoveToPos = nil,
  1368.             RotationX = math.random(-15,15),
  1369.             RotationY = math.random(-15,15),
  1370.             RotationZ = math.random(-15,15),
  1371.             Material = "Neon",
  1372.             Color = C3(1,.3,.25),
  1373.             SoundID = 0,
  1374.             SoundPitch = 0,
  1375.             SoundVolume = 7,
  1376.             UseBoomerangMath = true,
  1377.             Boomerang = 0,
  1378.             SizeBoomerang = 0
  1379.          })
  1380.          WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(15,2,15), Size2 = VT(60,2,60), Transparency = .75, Transparency2 = 1, CFrame = CF(POS,REYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), MoveToPos = nil, RotationX =  RAD(MRANDOM(-360, 360)), RotationY = RAD(MRANDOM(-360, 360)), RotationZ = RAD(MRANDOM(-360, 360)), Material = "Neon", Color = C3(1,.3,.2), SoundID = nil, SoundPitch = 1, SoundVolume = 10, UseBoomerangMath = true, Boomerang = 10, SizeBoomerang = 20})
  1381.          MAOETime(POS,75)    
  1382.     until KEYHOLD == false
  1383.     GYRO:remove()
  1384.     ATTACK = false
  1385.     ATTACK = false
  1386. end
  1387.  
  1388. function WrathOfThe9Suns()
  1389.     ATTACK = true
  1390.     game.Lighting.Brightness = 100
  1391.     game.Lighting.OutdoorAmbient = Color3.new(1,1,.5)
  1392.     DAOETime(RootPart.Position,1e9999)
  1393.     MAOETime(RootPart.Position,1e9999)
  1394.     CameraShake(RootPart.Position,1e9999999999,50,200)
  1395.     for i = 1,100 do
  1396.             Swait()
  1397.             WACKYEFFECT({
  1398.             Time = 75 - i * 4,
  1399.             EffectType = "Box",
  1400.             Size = VT(0, 0, 0),
  1401.             Size2 = VT(5, 5, 5) + VT(i, i, i) * 100,
  1402.             Transparency = 0,
  1403.             Transparency2 = 1,
  1404.             CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1405.             MoveToPos = nil,
  1406.             RotationX = 360,
  1407.             RotationY = 360,
  1408.             RotationZ = 360,
  1409.             Material = "Neon",
  1410.             Color = C3(1,1,.5),
  1411.             SoundID = 0,
  1412.             SoundPitch = MRANDOM(8, 20) / 10,
  1413.             SoundVolume = 3,
  1414.             UseBoomerangMath = true,
  1415.             Boomerang = 25,
  1416.             SizeBoomerang = 100
  1417.         })
  1418.         WACKYEFFECT({EffectType = "Wave", Size = VT(0,5,0), Size2 = VT(i*12,5,i*12), Transparency = 0.6, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0.1, RotationY = 1, RotationZ = -0.1, Material = "Slate", Color = C3(1,.5,0), SoundID = 0, SoundPitch = MRANDOM(5,15)/10, SoundVolume = 3, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  1419.         WACKYEFFECT({EffectType = "Sphere", Size = VT(0,5,0), Size2 = VT(i*12,5,i*12), Transparency = 0.6, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0.1, RotationY = 1, RotationZ = -0.1, Material = "Neon", Color = C3(1,.5,0), SoundID = 0, SoundPitch = MRANDOM(5,15)/10, SoundVolume = 3, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  1420.         WACKYEFFECT({EffectType = "Slash", Size = VT(0,5,0), Size2 = VT(i*12,5,i*12), Transparency = 0.6, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0.1, RotationY = 1, RotationZ = -0.1, Material = "Neon", Color = C3(1,.5,0), SoundID = 0, SoundPitch = MRANDOM(5,15)/10, SoundVolume = 3, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  1421.     end
  1422.     DAOETime(RootPart.Position,1e9999)
  1423.     MAOETime(RootPart.Position,1e9999)
  1424.     game.Lighting.Brightness = 2
  1425.     game.Lighting.OutdoorAmbient = Color3.new(.5,.5,.5)
  1426.     for index, CHILD in pairs(workspace:GetDescendants()) do
  1427.             if CHILD.ClassName ~= "Terrain" then
  1428.                 if CHILD:IsA("BasePart") and CHILD:FindFirstAncestor(Player.Name) == nil then
  1429.                     CHILD:Destroy()
  1430.                 end
  1431.             end
  1432.     end
  1433.     workspace.Terrain:ClearAllChildren()
  1434.     workspace:ClearAllChildren()
  1435.     ATTACK = false
  1436. end
  1437.  
  1438. --><Key Inputs
  1439.  
  1440. function MouseDown(Mouse)      
  1441.     KEYHOLD = true
  1442.     if ATTACK == false then
  1443.  
  1444.     end          
  1445. end
  1446.  
  1447. function MouseUp(Mouse)
  1448. HOLD = false
  1449. end
  1450.  
  1451. function KeyDown(Key)
  1452.     KEYHOLD = true
  1453.     if Key == "z" and ATTACK == false then
  1454.         TungstenMelter()
  1455.     end
  1456.     if Key == "x" and ATTACK == false then
  1457.         WrathOfThe9Suns()
  1458.     end
  1459.     if Key == "c" and ATTACK == false then
  1460.         DivineWing()
  1461.     end
  1462.     if Key == "v" and ATTACK == false then
  1463.         LavaLash()
  1464.     end
  1465.     if Key == "m" and ATTACK == false then
  1466.         if Song == 0 then
  1467.             Song = 0
  1468.             print("Song Off")
  1469.         elseif Song == 0 then
  1470.             Song = 0
  1471.             print("Song On")
  1472.         end                            
  1473.     end
  1474. end
  1475.  
  1476. function KeyUp(Key)
  1477.     KEYHOLD = false
  1478. end
  1479.  
  1480.     Mouse.Button1Down:connect(function(NEWKEY)
  1481.         MouseDown(NEWKEY)
  1482.     end)
  1483.     Mouse.Button1Up:connect(function(NEWKEY)
  1484.         MouseUp(NEWKEY)
  1485.     end)
  1486.     Mouse.KeyDown:connect(function(NEWKEY)
  1487.         KeyDown(NEWKEY)
  1488.     end)
  1489.     Mouse.KeyUp:connect(function(NEWKEY)
  1490.         KeyUp(NEWKEY)
  1491.     end)
  1492.  
  1493. --><
  1494. function unanchor()
  1495.     for _, c in pairs(Character:GetChildren()) do
  1496.         if c:IsA("BasePart") and c ~= RootPart then
  1497.             c.Anchored = false
  1498.         end
  1499.     end
  1500.     if UNANCHOR == true then
  1501.         RootPart.Anchored = false
  1502.     else
  1503.         RootPart.Anchored = true
  1504.     end
  1505. end
  1506.  
  1507. ------------------------------------------------------------------------------
  1508. Humanoid.Changed:connect(function(Jump)
  1509.     if Jump == "Jump" and (Disable_Jump == true) then
  1510.         Humanoid.Jump = false
  1511.     end
  1512. end)
  1513.  
  1514. Humanoid.HipHeight = 20
  1515. Humanoid.JumpPower = 100
  1516. Humanoid.WalkSpeed = 110
  1517. local Field = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  1518. Field.Visible = false
  1519. Character.Parent = workspace
  1520.  
  1521. while true do
  1522.     Swait()
  1523.     script.Parent = WEAPONGUI
  1524.     ANIMATE.Parent = nil
  1525.     ANIMATOR.Parent = nil
  1526.     for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1527.         v:Stop();
  1528.     end
  1529.     SINE = SINE + CHANGE/2
  1530.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1531.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1532.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4+Humanoid.HipHeight, Character)
  1533.     if TORSOVELOCITY < 1 then
  1534.         ANIM = "Idle"
  1535.         if ATTACK == false then
  1536.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.095 * COS(SINE/12)) * ANGLES(RAD(-2), RAD(1.5  - 0.4 * COS(SINE/12)), RAD(0)), 0.15 / Animation_Speed)
  1537.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1538.         end
  1539.     elseif TORSOVELOCITY > 1 then
  1540.         ANIM = "Walk"
  1541.         if ATTACK == false then                    
  1542.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1543.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1544.         end
  1545.     end
  1546.     RINGAWELD.C0 = CF(0, 7.5, 0) * ANGLES(RAD(0), RAD(SINE*3.5), RAD(0)) * CF(0, 0, 0)
  1547.     if RINGSTOP == false then
  1548.         RINGBWELD.C0 = CF(0, 0, 15.5) * ANGLES(RAD(SINE*3.5), RAD(SINE*4.5), RAD(SINE*3.5)) * CF(0, 0, 0)
  1549.         RINGCWELD.C0 = CF(0, 0, -15.5) * ANGLES(RAD(SINE*3.5), RAD(SINE*4.5), RAD(SINE*3.5)) * CF(0, 0, 0)
  1550.     end
  1551.     nomoresoundsbrosorry(workspace)
  1552.     Nevermore()
  1553.     unanchor()
  1554.     Humanoid:SetStateEnabled("Dead",false)
  1555.     Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  1556.     Humanoid:SetStateEnabled("GettingUp",true)
  1557.     Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp, true)
  1558.     Humanoid:SetStateEnabled("Ragdoll",false)
  1559.     Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
  1560.     Humanoid:SetStateEnabled("FallingDown",false)
  1561.     Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
  1562.     Humanoid:SetStateEnabled("Seated",false)
  1563.     Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated, false)
  1564.     Humanoid:SetStateEnabled("PlatformStanding",false)
  1565.     Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding, false)
  1566.     Humanoid.MaxHealth = 1e9999999
  1567.     Humanoid.Health = 1e999999999
  1568.     Humanoid.Name = "Being"
  1569.     if game.ReplicatedFirst:FindFirstChildOfClass("Humanoid") == nil then
  1570.         Humanoid = IT("Humanoid",game.ReplicatedFirst)
  1571.         Humanoid.Name = "Being"
  1572.         Humanoid.HipHeight = 0
  1573.     end
  1574.     if Character:FindFirstChildOfClass("Accessory") then
  1575.         Character:FindFirstChildOfClass("Accessory"):remove()
  1576.     elseif Character:FindFirstChildOfClass("Hair") then
  1577.         Character:FindFirstChildOfClass("Hair"):remove()
  1578.     end
  1579.     if Character:FindFirstChildOfClass("Accessory") then
  1580.         Character:FindFirstChildOfClass("Accessory"):remove()
  1581.     elseif Character:FindFirstChildOfClass("Hat") then
  1582.         Character:FindFirstChildOfClass("Hat"):remove()
  1583.     end
  1584.     if Player.Name == "InfiniteOneWithdank" then
  1585.         for _, c in pairs(Character:GetChildren()) do
  1586.             if c and c.Parent and c.ClassName == "ShirtGraphic" then
  1587.                 c:Destroy()
  1588.             end
  1589.         end
  1590.     end    
  1591.     if Rooted == false then
  1592.         Disable_Jump = false
  1593.         Humanoid.WalkSpeed = Speed
  1594.     elseif Rooted == true then
  1595.         Disable_Jump = true
  1596.         Humanoid.WalkSpeed = 0
  1597.     end    
  1598.     Musika.SoundId = "rbxassetid://" .. Song
  1599.     Musika.Looped = true
  1600.     Musika.Pitch = Pitch
  1601.     Musika.Volume = Volu
  1602.     Musika.Playing = true
  1603.     Musika.EmitterSize = 35
  1604.     if Musika.Parent ~= STUFF then
  1605.         print("Fixing music")
  1606.         Musika = IT("Sound", STUFF)
  1607.         Musika.SoundId = "rbxassetid://" .. Song
  1608.         Musika.Looped = true
  1609.         Musika.Pitch = Pitch
  1610.         Musika.Volume = Volu
  1611.         Musika.Playing = true
  1612.         Musika.EmitterSize = 45
  1613.         Musika.TimePosition = TSTP
  1614.         FIXING = true
  1615.     elseif FIXING == false then
  1616.         TSTP = Musika.TimePosition
  1617.     else
  1618.         FIXING = false
  1619.     end  
  1620.     Musika2.SoundId = "rbxassetid://" .. Song2
  1621.     Musika2.Looped = true
  1622.     Musika2.Pitch = Pitch2
  1623.     Musika2.Volume = Volu2
  1624.     Musika2.Playing = true
  1625.     Musika2.EmitterSize = 35
  1626.     if Musika2.Parent ~= STUFF then
  1627.         print("Fixing continued sound")
  1628.         Musika2 = IT("Sound", STUFF)
  1629.         Musika2.SoundId = "rbxassetid://" .. Song2
  1630.         Musika2.Looped = true
  1631.         Musika2.Pitch = Pitch2
  1632.         Musika2.Volume = Volu2
  1633.         Musika2.Playing = true
  1634.         Musika2.EmitterSize = 45
  1635.         Musika2.TimePosition = TSTP2
  1636.         FIXING2 = true
  1637.     elseif FIXING2 == false then
  1638.         TSTP2 = Musika2.TimePosition
  1639.     else
  1640.         FIXING2 = false
  1641.     end    
  1642. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement