SHARE
TWEET

Pan

Basykung7845 May 2nd, 2019 152 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4.     print("FE Compatibility code by Basykung7845")
  5.     print("Have Fun It my edit :D")
  6.     script.Parent = Player.Character
  7.  
  8.     --RemoteEvent for communicating
  9.     local Event = Instance.new("RemoteEvent")
  10.     Event.Name = "UserInput_Event"
  11.  
  12.     --Fake event to make stuff like Mouse.KeyDown work
  13.     local function fakeEvent()
  14.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  15.         t.connect = t.Connect
  16.         return t
  17.     end
  18.  
  19.     --Creating fake input objects with fake variables
  20.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  21.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  22.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  23.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  24.     end}
  25.     --Merged 2 functions into one by checking amount of arguments
  26.     CAS.UnbindAction = CAS.BindAction
  27.  
  28.     --This function will trigger the events that have been :Connect()'ed
  29.     local function te(self,ev,...)
  30.         local t = m[ev]
  31.         if t and t._fakeEvent and t.Function then
  32.             t.Function(...)
  33.         end
  34.     end
  35.     m.TrigEvent = te
  36.     UIS.TrigEvent = te
  37.  
  38.     Event.OnServerEvent:Connect(function(plr,io)
  39.         if plr~=Player then return end
  40.         if io.isMouse then
  41.             m.Target = io.Target
  42.             m.Hit = io.Hit
  43.         else
  44.             local b = io.UserInputState == Enum.UserInputState.Begin
  45.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  46.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  47.             end
  48.             for _,t in pairs(CAS.Actions) do
  49.                 for _,k in pairs(t.Keys) do
  50.                     if k==io.KeyCode then
  51.                         t.Function(t.Name,io.UserInputState,io)
  52.                     end
  53.                 end
  54.             end
  55.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  56.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  57.         end
  58.     end)
  59.     Event.Parent = NLS([==[
  60.     local Player = game:GetService("Players").LocalPlayer
  61.     local Event = script:WaitForChild("UserInput_Event")
  62.  
  63.     local UIS = game:GetService("UserInputService")
  64.     local input = function(io,a)
  65.         if a then return end
  66.         --Since InputObject is a client-side instance, we create and pass table instead
  67.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  68.     end
  69.     UIS.InputBegan:Connect(input)
  70.     UIS.InputEnded:Connect(input)
  71.  
  72.     local Mouse = Player:GetMouse()
  73.     local h,t
  74.     --Give the server mouse data 30 times every second, but only if the values changed
  75.     --If player is not moving their mouse, client won't fire events
  76.     while wait(1/30) do
  77.         if h~=Mouse.Hit or t~=Mouse.Target then
  78.             h,t=Mouse.Hit,Mouse.Target
  79.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  80.         end
  81.     end]==],Player.Character)
  82.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  83. end
  84.  
  85. wait(0.2)
  86. Player = owner
  87. PlayerGui = Player.PlayerGui
  88. Cam = workspace.CurrentCamera
  89. Backpack = Player.Backpack
  90. Character = Player.Character
  91. Humanoid = Character.Humanoid
  92. RootPart = Character["HumanoidRootPart"]
  93. Torso = Character["Torso"]
  94. Head = Character["Head"]
  95. RightArm = Character["Right Arm"]
  96. LeftArm = Character["Left Arm"]
  97. RightLeg = Character["Right Leg"]
  98. LeftLeg = Character["Left Leg"]
  99. RootJoint = RootPart["RootJoint"]
  100. Neck = Torso["Neck"]
  101. RightShoulder = Torso["Right Shoulder"]
  102. LeftShoulder = Torso["Left Shoulder"]
  103. RightHip = Torso["Right Hip"]
  104. LeftHip = Torso["Left Hip"]
  105. local TIME = 0
  106. plr = owner
  107. local sick = Instance.new("Sound",Character)
  108. sick.Volume = 5
  109. sick.TimePosition = 0
  110. sick.PlaybackSpeed = 1
  111. sick.Pitch = 1
  112. sick.SoundId = "rbxassetid://1716320712"
  113. sick.Name = "wrecked"
  114. sick.Looped = true
  115. sick:Play()
  116.  
  117. local currentThemePlaying = sick.SoundId
  118. local currentPitch = sick.Pitch
  119. local currentVol = sick.Volume
  120. function newTheme(ID,timepos,pitch,vol)
  121. local sickz = sick
  122. --sickz:Stop()
  123. sickz.Volume = vol
  124. --sickz.TimePosition = timepos
  125. sickz.PlaybackSpeed = pitch
  126. sickz.Pitch = pitch
  127. sickz.SoundId = ID
  128. sickz.Name = "wrecked"
  129. sickz.Looped = true
  130. currentThemePlaying = sickz.SoundId
  131. currentVol = sickz.Volume
  132. currentPitch = sickz.Pitch
  133. --sickz:Play()
  134. --coroutine.resume(coroutine.create(function()
  135. --wait(0.05)
  136. --end))
  137. end
  138.  
  139. function newThemeCust(ID,timepos,pitch,vol)
  140. local sickz = sick
  141. sickz:Stop()
  142. sickz.Volume = vol
  143. sickz.TimePosition = timepos
  144. sickz.PlaybackSpeed = pitch
  145. sickz.Pitch = pitch
  146. sickz.SoundId = ID
  147. sickz.Name = "wrecked"
  148. sickz.Looped = true
  149. currentThemePlaying = sickz.SoundId
  150. currentVol = sickz.Volume
  151. currentPitch = sickz.Pitch
  152. sickz:Play()
  153. coroutine.resume(coroutine.create(function()
  154. wait(0.05)
  155. end))
  156. end
  157.  
  158. Character.Archivable = true
  159. Player:ClearCharacterAppearance()
  160.  
  161. IT = Instance.new
  162. CF = CFrame.new
  163. VT = Vector3.new
  164. RAD = math.rad
  165. C3 = Color3.new
  166. UD2 = UDim2.new
  167. BRICKC = BrickColor.new
  168. ANGLES = CFrame.Angles
  169. EULER = CFrame.fromEulerAnglesXYZ
  170. COS = math.cos
  171. ACOS = math.acos
  172. SIN = math.sin
  173. ASIN = math.asin
  174. ABS = math.abs
  175. MRANDOM = math.random
  176. FLOOR = math.floor
  177.  
  178. --//=================================\\
  179. --||          USEFUL VALUES
  180. --\\=================================//
  181.  
  182. Animation_Speed = 3
  183. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  184. local Speed = 20
  185. local SIZE = 1.4
  186. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  187. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  188. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  189. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  190. local DAMAGEMULTIPLIER = 1
  191. local ANIM = "Idle"
  192. local ATTACK = false
  193. local EQUIPPED = false
  194. local HOLD = false
  195. local COMBO = 1
  196. local Rooted = false
  197. local SINE = 0
  198. local KEYHOLD = false
  199. local CHANGE = 2 / Animation_Speed
  200. local WALKINGANIM = false
  201. local VALUE1 = false
  202. local VALUE2 = false
  203. local ROBLOXIDLEANIMATION = IT("Animation")
  204. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  205. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  206. local ATANIM = IT("Animation")
  207. ATANIM.Name = "Attack Animation"
  208. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  209. --ROBLOXIDLEANIMATION.Parent = Humanoid
  210. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  211. WEAPONGUI.Name = "Weapon GUI"
  212. local Weapon = IT("Model")
  213. Weapon.Name = "Weapon2"
  214. local Weapon2 = IT("Model")
  215. Weapon2.Name = "Weapon2"
  216. local Effects = IT("Folder", Weapon)
  217. Effects.Name = "Effects"
  218. local ANIMATOR = Humanoid.Animator
  219. local ANIMATE = Character.Animate
  220. local UNANCHOR = true
  221. local CLOCKLOOP = 0
  222. local CLOCKTARGET = nil
  223. local CLOCKSPEED = 1
  224. script.Parent = WEAPONGUI
  225. local CLONE = Character:Clone()
  226. CLONE.Parent = nil
  227. Character.Archivable = false
  228. --//=================================\\
  229. --\\=================================//
  230.  
  231. local plr = Player
  232. local char = plr.Character
  233. local hum = char.Humanoid
  234.  
  235. -------------------------------------------------------
  236. --Start Good Stuff--
  237. -------------------------------------------------------
  238. cam = game.Workspace.CurrentCamera
  239. CF = CFrame.new
  240. angles = CFrame.Angles
  241. attack = false
  242. Euler = CFrame.fromEulerAnglesXYZ
  243. Rad = math.rad
  244. IT = Instance.new
  245. BrickC = BrickColor.new
  246. Cos = math.cos
  247. Acos = math.acos
  248. Sin = math.sin
  249. Asin = math.asin
  250. Abs = math.abs
  251. Mrandom = math.random
  252. Floor = math.floor
  253. --//=================================\\
  254. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  255. --\\=================================//
  256.  
  257. ArtificialHB = Instance.new("BindableEvent", script)
  258. ArtificialHB.Name = "ArtificialHB"
  259.  
  260. script:WaitForChild("ArtificialHB")
  261.  
  262. frame = Frame_Speed
  263. tf = 0
  264. allowframeloss = false
  265. tossremainder = false
  266. lastframe = tick()
  267. script.ArtificialHB:Fire()
  268.  
  269. game:GetService("RunService").Heartbeat:connect(function(s, p)
  270.     tf = tf + s
  271.     if tf >= frame then
  272.         if allowframeloss then
  273.             script.ArtificialHB:Fire()
  274.             lastframe = tick()
  275.         else
  276.             for i = 1, math.floor(tf / frame) do
  277.                 script.ArtificialHB:Fire()
  278.             end
  279.         lastframe = tick()
  280.         end
  281.         if tossremainder then
  282.             tf = 0
  283.         else
  284.             tf = tf - frame * math.floor(tf / frame)
  285.         end
  286.     end
  287. end)
  288.  
  289. --//=================================\\
  290. --\\=================================//
  291.  
  292. --//=================================\\
  293. --||          SOME FUNCTIONS
  294. --\\=================================//
  295.  
  296. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  297.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  298. end
  299.  
  300. function PositiveAngle(NUMBER)
  301.     if NUMBER >= 0 then
  302.         NUMBER = 0
  303.     end
  304.     return NUMBER
  305. end
  306.  
  307. function NegativeAngle(NUMBER)
  308.     if NUMBER <= 0 then
  309.         NUMBER = 0
  310.     end
  311.     return NUMBER
  312. end
  313.  
  314. function Swait(NUMBER)
  315.     if NUMBER == 0 or NUMBER == nil then
  316.         ArtificialHB.Event:wait()
  317.     else
  318.         for i = 1, NUMBER do
  319.             ArtificialHB.Event:wait()
  320.         end
  321.     end
  322. end
  323.  
  324. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  325.     local NEWMESH = IT(MESH)
  326.     if MESH == "SpecialMesh" then
  327.         NEWMESH.MeshType = MESHTYPE
  328.         if MESHID ~= "nil" and MESHID ~= "" then
  329.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  330.         end
  331.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  332.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  333.         end
  334.     end
  335.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  336.     NEWMESH.Scale = SCALE
  337.     NEWMESH.Parent = PARENT
  338.     return NEWMESH
  339. end
  340.  
  341. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  342.     local NEWPART = IT("Part")
  343.     NEWPART.formFactor = FORMFACTOR
  344.     NEWPART.Reflectance = REFLECTANCE
  345.     NEWPART.Transparency = TRANSPARENCY
  346.     NEWPART.CanCollide = false
  347.     NEWPART.Locked = true
  348.     NEWPART.Anchored = true
  349.     if ANCHOR == false then
  350.         NEWPART.Anchored = false
  351.     end
  352.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  353.     NEWPART.Name = NAME
  354.     NEWPART.Size = SIZE
  355.     NEWPART.Position = Torso.Position
  356.     NEWPART.Material = MATERIAL
  357.     NEWPART:BreakJoints()
  358.     NEWPART.Parent = PARENT
  359.     return NEWPART
  360. end
  361.  
  362.     local function weldBetween(a, b)
  363.         local weldd = Instance.new("ManualWeld")
  364.         weldd.Part0 = a
  365.         weldd.Part1 = b
  366.         weldd.C0 = CFrame.new()
  367.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  368.         weldd.Parent = a
  369.         return weldd
  370.     end
  371.  
  372.  
  373. function QuaternionFromCFrame(cf)
  374.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  375.     local trace = m00 + m11 + m22
  376.     if trace > 0 then
  377.         local s = math.sqrt(1 + trace)
  378.         local recip = 0.5 / s
  379.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  380.     else
  381.         local i = 0
  382.         if m11 > m00 then
  383.             i = 1
  384.         end
  385.         if m22 > (i == 0 and m00 or m11) then
  386.             i = 2
  387.         end
  388.         if i == 0 then
  389.             local s = math.sqrt(m00 - m11 - m22 + 1)
  390.             local recip = 0.5 / s
  391.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  392.         elseif i == 1 then
  393.             local s = math.sqrt(m11 - m22 - m00 + 1)
  394.             local recip = 0.5 / s
  395.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  396.         elseif i == 2 then
  397.             local s = math.sqrt(m22 - m00 - m11 + 1)
  398.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  399.         end
  400.     end
  401. end
  402.  
  403. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  404.     local xs, ys, zs = x + x, y + y, z + z
  405.     local wx, wy, wz = w * xs, w * ys, w * zs
  406.     local xx = x * xs
  407.     local xy = x * ys
  408.     local xz = x * zs
  409.     local yy = y * ys
  410.     local yz = y * zs
  411.     local zz = z * zs
  412.     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))
  413. end
  414.  
  415. function QuaternionSlerp(a, b, t)
  416.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  417.     local startInterp, finishInterp;
  418.     if cosTheta >= 0.0001 then
  419.         if (1 - cosTheta) > 0.0001 then
  420.             local theta = ACOS(cosTheta)
  421.             local invSinTheta = 1 / SIN(theta)
  422.             startInterp = SIN((1 - t) * theta) * invSinTheta
  423.             finishInterp = SIN(t * theta) * invSinTheta
  424.         else
  425.             startInterp = 1 - t
  426.             finishInterp = t
  427.         end
  428.     else
  429.         if (1 + cosTheta) > 0.0001 then
  430.             local theta = ACOS(-cosTheta)
  431.             local invSinTheta = 1 / SIN(theta)
  432.             startInterp = SIN((t - 1) * theta) * invSinTheta
  433.             finishInterp = SIN(t * theta) * invSinTheta
  434.         else
  435.             startInterp = t - 1
  436.             finishInterp = t
  437.         end
  438.     end
  439.     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
  440. end
  441.  
  442. function Clerp(a, b, t)
  443.     local qa = {QuaternionFromCFrame(a)}
  444.     local qb = {QuaternionFromCFrame(b)}
  445.     local ax, ay, az = a.x, a.y, a.z
  446.     local bx, by, bz = b.x, b.y, b.z
  447.     local _t = 1 - t
  448.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  449. end
  450.  
  451. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  452.     local frame = IT("Frame")
  453.     frame.BackgroundTransparency = TRANSPARENCY
  454.     frame.BorderSizePixel = BORDERSIZEPIXEL
  455.     frame.Position = POSITION
  456.     frame.Size = SIZE
  457.     frame.BackgroundColor3 = COLOR
  458.     frame.BorderColor3 = BORDERCOLOR
  459.     frame.Name = NAME
  460.     frame.Parent = PARENT
  461.     return frame
  462. end
  463.  
  464. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  465.     local label = IT("TextLabel")
  466.     label.BackgroundTransparency = 1
  467.     label.Size = UD2(1, 0, 1, 0)
  468.     label.Position = UD2(0, 0, 0, 0)
  469.     label.TextColor3 = TEXTCOLOR
  470.     label.TextStrokeTransparency = STROKETRANSPARENCY
  471.     label.TextTransparency = TRANSPARENCY
  472.     label.FontSize = TEXTFONTSIZE
  473.     label.Font = TEXTFONT
  474.     label.BorderSizePixel = BORDERSIZEPIXEL
  475.     label.TextStrokeColor3 = C3(1,1,1)
  476.     label.TextScaled = false
  477.     label.Text = TEXT
  478.     label.Name = NAME
  479.     label.Parent = PARENT
  480.     return label
  481. end
  482.  
  483. function NoOutlines(PART)
  484.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  485. end
  486.  
  487. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  488.     local NEWWELD = IT(TYPE)
  489.     NEWWELD.Part0 = PART0
  490.     NEWWELD.Part1 = PART1
  491.     NEWWELD.C0 = C0
  492.     NEWWELD.C1 = C1
  493.     NEWWELD.Parent = PARENT
  494.     return NEWWELD
  495. end
  496.  
  497. local S = IT("Sound")
  498. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  499.     local NEWSOUND = nil
  500.     coroutine.resume(coroutine.create(function()
  501.         NEWSOUND = S:Clone()
  502.         NEWSOUND.Parent = PARENT
  503.         NEWSOUND.Volume = VOLUME
  504.         NEWSOUND.Pitch = PITCH
  505.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  506.         NEWSOUND:play()
  507.         if DOESLOOP == true then
  508.             NEWSOUND.Looped = true
  509.         else
  510.             repeat wait(1) until NEWSOUND.Playing == false
  511.             NEWSOUND:remove()
  512.         end
  513.     end))
  514.     return NEWSOUND
  515. end
  516.  
  517. function CFrameFromTopBack(at, top, back)
  518.     local right = top:Cross(back)
  519.     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)
  520. end
  521.  
  522. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  523. function WACKYEFFECT(Table)
  524.     local TYPE = (Table.EffectType or "Sphere")
  525.     local SIZE = (Table.Size or VT(1,1,1))
  526.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  527.     local TRANSPARENCY = (Table.Transparency or 0)
  528.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  529.     local CFRAME = (Table.CFrame or Torso.CFrame)
  530.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  531.     local ROTATION1 = (Table.RotationX or 0)
  532.     local ROTATION2 = (Table.RotationY or 0)
  533.     local ROTATION3 = (Table.RotationZ or 0)
  534.     local MATERIAL = (Table.Material or "Neon")
  535.     local COLOR = (Table.Color or C3(1,1,1))
  536.     local TIME = (Table.Time or 45)
  537.     local SOUNDID = (Table.SoundID or nil)
  538.     local SOUNDPITCH = (Table.SoundPitch or nil)
  539.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  540.     coroutine.resume(coroutine.create(function()
  541.         local PLAYSSOUND = false
  542.         local SOUND = nil
  543.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  544.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  545.             PLAYSSOUND = true
  546.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  547.         end
  548.         EFFECT.Color = COLOR
  549.         local MSH = nil
  550.         if TYPE == "Sphere" then
  551.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  552.         elseif TYPE == "Block" then
  553.             MSH = IT("BlockMesh",EFFECT)
  554.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  555.         elseif TYPE == "Wave" then
  556.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  557.         elseif TYPE == "Ring" then
  558.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  559.         elseif TYPE == "Slash" then
  560.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  561.         elseif TYPE == "Round Slash" then
  562.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  563.         elseif TYPE == "Swirl" then
  564.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  565.         elseif TYPE == "Skull" then
  566.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  567.         elseif TYPE == "Crystal" then
  568.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  569.         end
  570.         if MSH ~= nil then
  571.             local MOVESPEED = nil
  572.             if MOVEDIRECTION ~= nil then
  573.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  574.             end
  575.             local GROWTH = SIZE - ENDSIZE
  576.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  577.             if TYPE == "Block" then
  578.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  579.             else
  580.                 EFFECT.CFrame = CFRAME
  581.             end
  582.             for LOOP = 1, TIME+1 do
  583.                 Swait()
  584.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  585.                 if TYPE == "Wave" then
  586.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  587.                 end
  588.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  589.                 if TYPE == "Block" then
  590.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  591.                 else
  592.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  593.                 end
  594.                 if MOVEDIRECTION ~= nil then
  595.                     local ORI = EFFECT.Orientation
  596.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  597.                     EFFECT.Orientation = ORI
  598.                 end
  599.             end
  600.             if PLAYSSOUND == false then
  601.                 EFFECT:remove()
  602.             else
  603.                 repeat Swait() until SOUND.Playing == false
  604.                 EFFECT:remove()
  605.             end
  606.         else
  607.             if PLAYSSOUND == false then
  608.                 EFFECT:remove()
  609.             else
  610.                 repeat Swait() until SOUND.Playing == false
  611.                 EFFECT:remove()
  612.             end
  613.         end
  614.     end))
  615. end
  616.  
  617. function MakeForm(PART,TYPE)
  618.     if TYPE == "Cyl" then
  619.         local MSH = IT("CylinderMesh",PART)
  620.     elseif TYPE == "Ball" then
  621.         local MSH = IT("SpecialMesh",PART)
  622.         MSH.MeshType = "Sphere"
  623.     elseif TYPE == "Wedge" then
  624.         local MSH = IT("SpecialMesh",PART)
  625.         MSH.MeshType = "Wedge"
  626.     end
  627. end
  628.  
  629. function SpawnTrail(FROM,TO,BIG)
  630.     local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Reddish lilac", "Trail", VT(0,0,0))
  631.     MakeForm(TRAIL,"Cyl")
  632.     local DIST = (FROM - TO).Magnitude
  633.     if BIG == true then
  634.         TRAIL.Size = VT(0.5,DIST,0.5)
  635.     else
  636.         TRAIL.Size = VT(0.25,DIST,0.25)
  637.     end
  638.     TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  639.     coroutine.resume(coroutine.create(function()
  640.         for i = 1, 5 do
  641.             Swait()
  642.             TRAIL.Transparency = TRAIL.Transparency + 0.1
  643.         end
  644.         TRAIL:remove()
  645.     end))
  646. end
  647.  
  648. function CreatePart2(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  649.     local NEWPART = IT("Part")
  650.     NEWPART.formFactor = FORMFACTOR
  651.     NEWPART.Reflectance = REFLECTANCE
  652.     NEWPART.Transparency = TRANSPARENCY
  653.     NEWPART.CanCollide = false
  654.     NEWPART.Locked = true
  655.     NEWPART.Anchored = true
  656.     if ANCHOR == false then
  657.         NEWPART.Anchored = false
  658.     end
  659.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  660.     NEWPART.Name = NAME
  661.     NEWPART.Size = SIZE
  662.     NEWPART.Position = Torso.Position
  663.     NEWPART.Material = MATERIAL
  664.     NEWPART:BreakJoints()
  665.     NEWPART.Parent = PARENT
  666.     return NEWPART
  667. end
  668.  
  669. function CreateWave3(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  670.     local wave = CreatePart2(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  671.     local mesh = IT("SpecialMesh",wave)
  672.     mesh.MeshType = "FileMesh"
  673.     mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  674.     mesh.Scale = SIZE
  675.     mesh.Offset = VT(0,0,-SIZE.X/8)
  676.     wave.CFrame = CFRAME
  677.     coroutine.resume(coroutine.create(function(PART)
  678.         for i = 1, WAIT do
  679.             Swait()
  680.             mesh.Scale = mesh.Scale + GROW
  681.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  682.             if DOESROT == true then
  683.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  684.             end
  685.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  686.             if wave.Transparency > 0.99 then
  687.                 wave:remove()
  688.             end
  689.         end
  690.     end))
  691. end
  692.  
  693. function CreateSwirl3(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  694.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  695.     local mesh = IT("SpecialMesh",wave)
  696.     mesh.MeshType = "FileMesh"
  697.     mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  698.     mesh.Scale = SIZE
  699.     wave.CFrame = CFRAME
  700.     coroutine.resume(coroutine.create(function(PART)
  701.         for i = 1, WAIT do
  702.             Swait()
  703.             mesh.Scale = mesh.Scale + GROW
  704.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  705.             if DOESROT == true then
  706.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  707.             end
  708.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  709.             if wave.Transparency > 0.99 then
  710.                 wave:remove()
  711.             end
  712.         end
  713.     end))
  714. end
  715.  
  716. function MagicSphere4(SIZE,WAIT,CFRAME,COLOR,GROW)
  717.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  718.     local mesh = IT("SpecialMesh",wave)
  719.     mesh.MeshType = "Sphere"
  720.     mesh.Scale = SIZE
  721.     mesh.Offset = VT(0,0,0)
  722.     wave.CFrame = CFRAME
  723.     coroutine.resume(coroutine.create(function(PART)
  724.         for i = 1, WAIT do
  725.             Swait()
  726.             mesh.Scale = mesh.Scale + GROW
  727.             wave.Transparency = wave.Transparency + (1/WAIT)
  728.             if wave.Transparency > 0.99 then
  729.                 wave:remove()
  730.             end
  731.         end
  732.     end))
  733. end
  734.  
  735. Debris = game:GetService("Debris")
  736.  
  737. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  738.     local DIRECTION = CF(StartPos,EndPos).lookVector
  739.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  740. end
  741.  
  742. function turnto(position)
  743.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  744. end
  745.  
  746. --//=================================\\
  747. --||         WEAPON CREATION
  748. --\\=================================//
  749.  
  750. Humanoid.Parent = nil
  751. RootPart.Size = RootPart.Size*SIZE
  752. Torso.Size = Torso.Size*SIZE
  753. RightArm.Size = RightArm.Size*SIZE
  754. RightLeg.Size = RightLeg.Size*SIZE
  755. LeftArm.Size = LeftArm.Size*SIZE
  756. LeftLeg.Size = LeftLeg.Size*SIZE
  757. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  758. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  759. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  760. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  761. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  762. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  763. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  764. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  765. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  766. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  767. Head.Size = Head.Size*SIZE
  768. RootJoint.Parent = RootPart
  769. Neck.Parent = Torso
  770. RightShoulder.Parent = Torso
  771. LeftShoulder.Parent = Torso
  772. RightHip.Parent = Torso
  773. LeftHip.Parent = Torso
  774.  
  775. Humanoid.DisplayDistanceType = "None"
  776.  
  777. local Handle = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  778. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  779. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  780. MakeForm(Part,"Wedge")
  781. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  782. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  783. MakeForm(Part,"Wedge")
  784. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  785. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  786. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  787. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  788. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  789. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  790. MakeForm(Part,"Cyl")
  791. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  792. for i = 1, 8 do
  793.     local Piece = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  794.     CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  795. end
  796. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  797. MakeForm(Part,"Cyl")
  798. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  799. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  800. MakeForm(Part,"Ball")
  801. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  802. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  803. MakeForm(Part,"Wedge")
  804. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  805. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  806. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  807. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  808. MakeForm(Part,"Cyl")
  809. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  810. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  811. MakeForm(Part,"Cyl")
  812. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  813. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  814. MakeForm(Part,"Cyl")
  815. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  816. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  817. MakeForm(Part,"Wedge")
  818. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  819. local LASTPART = Handle
  820. for i = 1, 10 do
  821.     if LASTPART == Handle then
  822.         local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  823.         LASTPART = Part
  824.         CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  825.     else
  826.         local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  827.         CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  828.         LASTPART = Part
  829.     end
  830. end
  831.  
  832. local Barrel = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  833. MakeForm(Barrel,"Cyl")
  834. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  835. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  836. MakeForm(Part,"Cyl")
  837. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  838. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  839. MakeForm(Part,"Wedge")
  840. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  841. local Hole = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  842. MakeForm(Hole,"Cyl")
  843. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  844. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  845. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  846. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  847. local Part = CreatePart(3, Weapon2, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  848. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  849. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  850. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  851. local GEARWELD3 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1), CF(0, 0, -2))
  852. CreateMesh("SpecialMesh", Part, "FileMesh", 545588120, "", VT(0.006,0.006,0.03), VT(0,0,0.2))
  853. coroutine.resume(coroutine.create(function()
  854.     while wait() do
  855.         GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  856.         GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  857.         GEARWELD3.C0 = GEARWELD3.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  858.     end
  859. end))
  860.  
  861. local top = Instance.new("Shirt")
  862. top.ShirtTemplate = "rbxassetid://1533635803"
  863. top.Parent = Character
  864. top.Name = "Cloth"
  865. local bottom = Instance.new("Pants")
  866. bottom.PantsTemplate = "rbxassetid://1460022985"
  867. bottom.Parent = Character
  868. bottom.Name = "Cloth"
  869. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  870. PRT.Color = C3(0,0,0)
  871. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  872. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
  873. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  874. PRT.Color = C3(1,1,1)
  875. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  876. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  877. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  878. PRT.Color = C3(159/255, 111/255, 183/255)
  879. MakeForm(PRT,"Ball")
  880. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  881. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  882. PRT.Color = C3(159/255, 111/255, 183/255)
  883. MakeForm(PRT,"Ball")
  884. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  885. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  886. PRT.Color = C3(159/255, 111/255, 183/255)
  887. MakeForm(PRT,"Ball")
  888. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  889. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  890. PRT.Color = C3(159/255, 111/255, 183/255)
  891. MakeForm(PRT,"Ball")
  892. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  893. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  894. PRT.Color = C3(159/255, 111/255, 183/255)
  895. MakeForm(PRT,"Ball")
  896. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  897. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  898. PRT.Color = C3(159/255, 111/255, 183/255)
  899. MakeForm(PRT,"Ball")
  900. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  901.  
  902. local LASTPART = Head
  903. for i = 1, 24 do
  904.     local MATH = (1-(i/30))
  905.     if LASTPART == Head then
  906.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  907.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
  908.         LASTPART = Horn
  909.         Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  910.     else
  911.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  912.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  913.         LASTPART = Horn
  914.         Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  915.     end
  916. end
  917. local LASTPART = Head
  918. for i = 1, 8 do
  919.     local MATH = (1-(i/14))
  920.     if LASTPART == Head then
  921.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  922.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
  923.         LASTPART = Horn
  924.         Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  925.     else
  926.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  927.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  928.         LASTPART = Horn
  929.         Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  930.     end
  931. end
  932.  
  933. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  934. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  935. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  936. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  937. MakeForm(PRT,"Cyl")
  938. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  939. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  940. MakeForm(PRT,"Cyl")
  941. PRT.Color = C3(159/255, 111/255, 183/255)
  942. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  943. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  944. MakeForm(RING,"Cyl")
  945. RING.Color = C3(0,0,0)
  946. for i = 1, 12 do
  947.     local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  948.     PRT.Color = C3(0,0,0)
  949.     local MSH = IT("BlockMesh",PRT)
  950.     MSH.Scale = VT(0.6,1,1)
  951.     CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
  952. end
  953. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  954. PRT.Color = C3(0,0,0)
  955. local MSH = IT("BlockMesh",PRT)
  956. MSH.Scale = VT(0.4,1,1)
  957. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  958. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  959. PRT.Color = C3(0,0,0)
  960. local MSH = IT("BlockMesh",PRT)
  961. MSH.Scale = VT(0.4,1,1)
  962. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  963. coroutine.resume(coroutine.create(function()
  964.     while true do
  965.         Swait()
  966.         CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  967.         WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  968.         WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  969.         if CLOCKLOOP <= -150 then
  970.             if VALUE1 == false then
  971.                 CLOCKLOOP = 0
  972.                 WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
  973.                 local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  974.                 ApplyAoE3(HITPOS,10,15,45,75,false)
  975.                 WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  976.                 WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  977.                 if CLOCKTARGET ~= nil then
  978.                     CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  979.                     if CLOCKTARGET.Torso ~= nil then
  980.                         CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  981.                     end
  982.                     if CLOCKTARGET.Health == 0 then
  983.                         CLOCKTARGET = nil
  984.                     end
  985.                 end
  986.             end
  987.         end
  988.     end
  989. end))
  990.  
  991. for _, c in pairs(Weapon:GetChildren()) do
  992.     if c.ClassName == "Part" then
  993.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  994.     end
  995. end
  996.  
  997. for _, c in pairs(Weapon2:GetDescendants()) do
  998.     if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  999.         c.Material = "Glass"
  1000.         c.Color = C3(1,1,1)
  1001.     elseif c.ClassName == "Part" and c.Name == "Eye" then
  1002.         c.Color = C3(159/255, 111/255, 183/255)
  1003.         c.Material = "Neon"
  1004.     end
  1005. end
  1006.  
  1007. Head.Color = C3(1,1,1)
  1008. Torso.Color = C3(0,0,0)
  1009. LeftArm.Color = C3(0,0,0)
  1010. LeftLeg.Color = C3(0,0,0)
  1011. RightArm.Color = C3(0,0,0)
  1012. RightLeg.Color = C3(0,0,0)
  1013.  
  1014. Neck.Name = "Weld"
  1015. RootJoint.Name = "Weld"
  1016. RightShoulder.Name = "Weld"
  1017. LeftShoulder.Name = "Weld"
  1018. RightHip.Name = "Weld"
  1019. LeftHip.Name = "Weld"
  1020.  
  1021. local SKILLTEXTCOLOR = C3(159/255, 111/255, 183/255)
  1022. local SKILLFONT = "Fantasy"
  1023. local SKILLTEXTSIZE = 7
  1024.  
  1025. Weapon.Parent = Character
  1026. Weapon2.Parent = Character
  1027. Humanoid.Parent = Character
  1028.  
  1029. Humanoid.Died:connect(function()
  1030.     ATTACK = true
  1031. end)
  1032.  
  1033. --//=================================\\
  1034. --||            DAMAGING
  1035. --\\=================================//
  1036.  
  1037.  
  1038.  
  1039. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1040.     local defence = Instance.new("BoolValue",Humanoid.Parent)
  1041.     defence.Name = ("HitBy"..Player.Name)
  1042.     game:GetService("Debris"):AddItem(defence, 0.001)
  1043.     Damage = Damage * DAMAGEMULTIPLIER
  1044.     if Humanoid.Health ~= 0 then
  1045.         local CritChance = MRANDOM(1,100)
  1046.         if Damage > Humanoid.Health then
  1047.             Damage = math.ceil(Humanoid.Health)
  1048.             if Damage == 0 then
  1049.                 Damage = 0.1
  1050.             end
  1051.         end
  1052.         Humanoid.Health = Humanoid.Health - Damage
  1053.     end
  1054. end
  1055.  
  1056. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1057.     local CHILDREN = workspace:GetDescendants()
  1058.     for index, CHILD in pairs(CHILDREN) do
  1059.         if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1060.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1061.             if HUM then
  1062.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1063.                 if TORSO then
  1064.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1065.                         if INSTAKILL == true then
  1066.                             CHILD:BreakJoints()
  1067.                         else
  1068.                             local DMG = MRANDOM(MINDMG,MAXDMG)
  1069.                             ApplyDamage(HUM,DMG,TORSO)
  1070.                         end
  1071.                         if FLING > 0 then
  1072.                             for _, c in pairs(CHILD:GetChildren()) do
  1073.                                 if c:IsA("BasePart") then
  1074.                                     local bv = Instance.new("BodyVelocity")
  1075.                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1076.                                     bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1077.                                     bv.Parent = c
  1078.                                     Debris:AddItem(bv,0.05)
  1079.                                 end
  1080.                             end
  1081.                         end
  1082.                     end
  1083.                 end
  1084.             end
  1085.         end
  1086.     end
  1087. end
  1088.  
  1089. --//=================================\\
  1090. --||    ATTACK FUNCTIONS AND STUFF
  1091. --\\=================================//
  1092.  
  1093. function Taunt()
  1094.     ATTACK = true
  1095.     local LAUGH = nil
  1096.     sick.Volume = 0
  1097.     local DANCE = true
  1098.     local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  1099.         if NEWKEY == "t" then
  1100.             DANCE = false
  1101.             sick.Volume = 5
  1102.         end
  1103.     end)
  1104.     coroutine.resume(coroutine.create(function()
  1105.         repeat
  1106.             Swait()
  1107.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1108.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1109.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(43 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1110.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1111.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1112.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1113.         until LAUGH ~= nil
  1114.         repeat
  1115.         for i = 1, 15 do
  1116.             Swait()
  1117.             LAUGH.Parent = Effects
  1118.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1119.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1120.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(43 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1121.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1122.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1123.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1124.         end
  1125.         if DANCE == false then
  1126.             break
  1127.         end
  1128.         for i = 1, 15 do
  1129.             Swait()
  1130.             LAUGH.Parent = Effects
  1131.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1132.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1133.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1134.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1135.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1136.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1137.         end
  1138.         until LAUGH.Playing == false
  1139.     ATTACK = false
  1140.     LAUGH:remove()
  1141.     KEY:remove()
  1142.     sick.Volume = 5
  1143.     end))
  1144.     wait(0.1)
  1145.     LAUGH = CreateSound(1028096631, Head, 10, 1, false)
  1146. end
  1147.  
  1148. function Bullet()
  1149.     ATTACK = true
  1150.     Rooted = false
  1151.     for i=0, 0.4, 0.1 / Animation_Speed do
  1152.         Swait()
  1153.         turnto(Mouse.Hit.p)
  1154.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1155.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1156.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1157.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1158.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1159.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1160.     end
  1161.     repeat
  1162.         for i=0, 0.2, 0.1 / Animation_Speed do
  1163.             Swait()
  1164.             turnto(Mouse.Hit.p)
  1165.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(40)), 1 / Animation_Speed)
  1166.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(-10), RAD(0), RAD(-32)), 0.5 / Animation_Speed)
  1167.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1168.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1169.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1170.         end
  1171.         local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1172.         SpawnTrail(Hole.Position,POS)
  1173.         if HIT ~= nil then
  1174.             if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1175.                 ApplyAoE3(POS,3,5,15,0,false)
  1176.             end
  1177.         end
  1178.         CreateSound(213603013, Hole, 10, 1, false)
  1179.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1180.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1181.         for i=0, 0.3, 0.1 / Animation_Speed do
  1182.             Swait()
  1183.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(40)), 1 / Animation_Speed)
  1184.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(5), RAD(0), RAD(-32)), 0.25 / Animation_Speed)
  1185.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(15), RAD(40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1186.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1187.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1188.         end
  1189.     until KEYHOLD == false
  1190.     ATTACK = false
  1191. end
  1192.  
  1193. function Bullet_Rain()
  1194.     ATTACK = true
  1195.     Rooted = true
  1196.     for i=0, 0.6, 0.1 / Animation_Speed do
  1197.         Swait()
  1198.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1199. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1200. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1201.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1202.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6*SIZE, 0.75*SIZE, -0.5*SIZE) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1203.     end
  1204.     local DONE = false
  1205.     local GATE = nil
  1206.     local GATESPIN = true
  1207.     coroutine.resume(coroutine.create(function()
  1208.         repeat
  1209.             Swait()
  1210.             if GATE ~= nil then
  1211.                 GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1212.             end
  1213.         until GATESPIN == false
  1214.     end))
  1215.     coroutine.resume(coroutine.create(function()
  1216.         repeat
  1217.             Swait()
  1218.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1219. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1220. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.01 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1221.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0.01, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1222.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.75*SIZE, -0.5*SIZE) * ANGLES(RAD(0), RAD(-180), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1223.         until DONE == true
  1224.         Swait(10)
  1225.         for i = 1, 75 do
  1226.             Swait(1.5)
  1227.             local FIRED = false
  1228.             local CHILDREN = workspace:GetDescendants()
  1229.             for index, CHILD in pairs(CHILDREN) do
  1230.                 if CHILD.ClassName == "Model" and CHILD ~= Character then
  1231.                     local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1232.                     if HUM then
  1233.                         local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1234.                         if TORSO then
  1235.                             if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1236.                                 local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1237.                                 local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1238.                                 WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 3})
  1239.                                 WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1240.                                 SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p) 
  1241.                                 ApplyAoE3(CFRAME.p,3,0.25,1,2,false)   
  1242.                                 FIRED = true
  1243.                                 break
  1244.                             end
  1245.                         end
  1246.                     end
  1247.                 end
  1248.             end
  1249.             if FIRED == false then
  1250.                 local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1251.                 WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1252.                 WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1253.                 SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1254.                 local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1255.                 if HITBOD ~= nil then
  1256.                     if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1257.                         ApplyAoE3(HITBOD,3,0.25,1,0,false)
  1258.                     end
  1259.                 end
  1260.             end
  1261.         end
  1262.         for i = 1, 45 do
  1263.             Swait()
  1264.             GATE.Size = GATE.Size - VT(3,0,3)
  1265.         end
  1266.         GATESPIN = false
  1267.         GATE:remove()
  1268.         end))
  1269.     Swait(5)
  1270.     local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p, (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 15, Character)
  1271.     GATE = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Gate", VT(0,0,0))
  1272.     local DECAL = IT("Decal",GATE)
  1273.     DECAL.Texture = "http://www.roblox.com/asset/?id=0"
  1274.     DECAL.Face = "Top"
  1275.     GATE.CFrame = CF(HITPOS)
  1276.     CreateSound(160772554, GATE, 7, 1.3, false)
  1277.     for i = 1, 45 do
  1278.         Swait()
  1279.         GATE.Size = GATE.Size + VT(3,0,3)
  1280.     end
  1281.     CreateSound(145080998, Hole2, 7, 1, false)
  1282.     ATTACK = false
  1283.     Rooted = false
  1284.     DONE = true
  1285. end
  1286.  
  1287. function GoldenPunch()
  1288.     ATTACK = true
  1289.     Rooted = false
  1290.     local SPEED = Speed
  1291.     Speed = 8
  1292.     CreateSound("169445572", RightArm, 10, 0.9)
  1293.     for i=0, 4, 0.1 / Animation_Speed do
  1294.         Swait()
  1295.         turnto(Mouse.Hit.p)
  1296.         MagicSphere4(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lavender",VT(-1/15,-1/15,-1/15))
  1297.         MagicSphere4(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Hot pink",VT(-2/15,-2/15,-2/15))
  1298.         MagicSphere4(VT(1,1,1),15,LeftArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lavender",VT(-1/15,-1/15,-1/15))
  1299.         MagicSphere4(VT(2,2,2),15,LeftArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Hot pink",VT(-2/15,-2/15,-2/15))
  1300.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * SIZE, 0 * SIZE, -0.2 * SIZE + 0.05 * COS(SINE / 12) * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1301.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1.2 * SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 0.2 / Animation_Speed)
  1302.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(90 + 11 * COS(SINE / 1)), RAD(-30 + 11 * COS(SINE / 1)), RAD(-65 + 11 * COS(SINE / 1))) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1303.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(90 + 11 * COS(SINE / 1)), RAD(30 + 11 * COS(SINE / 1)), RAD(65 + 11 * COS(SINE / 1))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1304.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 0.15 / Animation_Speed)
  1305.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 0.15 / Animation_Speed)
  1306.     end
  1307.     for i=0, 0.15, 0.1 / Animation_Speed do
  1308.         Swait()
  1309.         turnto(Mouse.Hit.p)
  1310.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * SIZE, 0 * SIZE, -0.2 * SIZE + 0.05 * COS(SINE / 12) * SIZE) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  1311.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1.2 * SIZE) - 1)) * ANGLES(RAD(25 + 11 * COS(SINE / 1)), RAD(0), RAD(35 + 11 * COS(SINE / 1))), 1 / Animation_Speed)
  1312.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(90 + 11 * COS(SINE / 1)), RAD(0), RAD(85 + 11 * COS(SINE / 1))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1313.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(90 + 11 * COS(SINE / 1)), RAD(0), RAD(-85 + 11 * COS(SINE / 1))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1314.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 1 / Animation_Speed)
  1315.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 1 / Animation_Speed)
  1316.     end
  1317.     local PART = CreatePart2(3, Effects, "Neon", 0, 0.8, "Dark indigo", "Punch", VT(50,50,50),false)
  1318.     PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  1319.     PART.Shape = "Ball"
  1320.     local bv = Instance.new("BodyVelocity")
  1321.     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1322.     bv.velocity = RootPart.CFrame.lookVector*600
  1323.     bv.Parent = PART
  1324.     bv.Name = "PROJECTILEVELOCITY"
  1325.     CreateWave3(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lavender",VT(2.5,0.2,2.5))
  1326.     CreateWave3(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lavender",VT(3,0.2,3))
  1327.     CreateSwirl3(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lavender",VT(2,0.6,2))
  1328.     CreateSwirl3(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lavender",VT(2.2,0.6,2.2))
  1329.     CreateSound(414517163, Effects, 10, MRANDOM(7, 12) / 10)
  1330.     coroutine.resume(coroutine.create(function()
  1331.         for i = 1, 10 do
  1332.             Swait()
  1333.             PART.Transparency = PART.Transparency + 0.2/10
  1334.             PART.Size = PART.Size + VT(5,5,5)
  1335.             ApplyAoE3(PART.Position,35,10,15,100,false)
  1336.         end
  1337.         PART:Destroy()
  1338.     end))
  1339.     for i=0, 1, 0.1 / Animation_Speed do
  1340.         Swait()
  1341.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * SIZE, 0 * SIZE, -0.2 * SIZE + 0.05 * COS(SINE / 12) * SIZE) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  1342.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(25 + 11 * COS(SINE / 1)), RAD(0), RAD(35 + 11 * COS(SINE / 1))), 3 / Animation_Speed)
  1343.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(90 + 11 * COS(SINE / 1)), RAD(0), RAD(0 + 11 * COS(SINE / 1))) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1344.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-70 + 11 * COS(SINE / 1)), RAD(0), RAD(-25 + 11 * COS(SINE / 1))) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1345.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.8 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 3 / Animation_Speed)
  1346.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 3 / Animation_Speed)
  1347.     end
  1348.     Speed = SPEED
  1349.     ATTACK = false
  1350.     Rooted = false
  1351. end
  1352. --//=================================\\
  1353. --||      ASSIGN THINGS TO KEYS
  1354. --\\=================================//
  1355.  
  1356. function MouseDown(Mouse)
  1357.     HOLD = true
  1358.     if ATTACK == false then
  1359.     end
  1360. end
  1361.  
  1362. function MouseUp(Mouse)
  1363. HOLD = false
  1364. end
  1365.  
  1366. function KeyDown(Key)
  1367.     KEYHOLD = true
  1368.     if Key == "z" and ATTACK == false then
  1369.         Bullet()
  1370.     end
  1371.  
  1372.     if Key == "x" and ATTACK == false then
  1373.         Bullet_Rain()
  1374.     end
  1375.  
  1376.     if Key == "c" and ATTACK == false then
  1377.         GoldenPunch()
  1378.     end
  1379.  
  1380.     if Key == "t" and ATTACK == false then
  1381.         Taunt()
  1382.     end
  1383. end
  1384.  
  1385. local OVMID = 1716320712
  1386. local OVMPIT = 1
  1387. local OVMVOL = 1
  1388. plr.Chatted:connect(function(message)
  1389. if ATTACK == false then
  1390. if message:sub(1,5) == "play/" then
  1391. OVMID = message:sub(6)
  1392. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  1393. elseif message:sub(1,6) == "pitch/" then
  1394. OVMPIT = message:sub(7)
  1395. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  1396. elseif message:sub(1,4) == "vol/" then
  1397. OVMVOL = message:sub(5)
  1398. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  1399. elseif message:sub(1,7) == "sr/" then
  1400. sick.TimePosition = 0
  1401. Head.Color = C3(1,1,1)
  1402. Torso.Color = C3(0,0,0)
  1403. LeftArm.Color = C3(0,0,0)
  1404. LeftLeg.Color = C3(0,0,0)
  1405. RightArm.Color = C3(0,0,0)
  1406. RightLeg.Color = C3(0,0,0)
  1407. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  1408. elseif message:sub(1,9) == "te/" then
  1409. sick.TimePosition = 0
  1410. end
  1411. end
  1412. end)
  1413.  
  1414. function KeyUp(Key)
  1415.     KEYHOLD = false
  1416. end
  1417.  
  1418.     Mouse.Button1Down:connect(function(NEWKEY)
  1419.         MouseDown(NEWKEY)
  1420.     end)
  1421.     Mouse.Button1Up:connect(function(NEWKEY)
  1422.         MouseUp(NEWKEY)
  1423.     end)
  1424.     Mouse.KeyDown:connect(function(NEWKEY)
  1425.         KeyDown(NEWKEY)
  1426.     end)
  1427.     Mouse.KeyUp:connect(function(NEWKEY)
  1428.         KeyUp(NEWKEY)
  1429.     end)
  1430.  
  1431. --//=================================\\
  1432. --\\=================================//
  1433.  
  1434.  
  1435. function unanchor()
  1436.     if UNANCHOR == true then
  1437.         RootPart.Anchored = false
  1438.     end
  1439.     g = Character:GetChildren()
  1440.     for i = 1, #g do
  1441.         if g[i].ClassName == "Part" and g[i] ~= RootPart then
  1442.             g[i].Anchored = false
  1443.         end
  1444.     end
  1445.     g = Weapon:GetChildren()
  1446.     for i = 1, #g do
  1447.         if g[i].ClassName == "Part" then
  1448.             g[i].Anchored = false
  1449.         end
  1450.     end
  1451. end
  1452.  
  1453.  
  1454. --//=================================\\
  1455. --||    WRAP THE WHOLE SCRIPT UP
  1456. --\\=================================//
  1457.  
  1458. Humanoid.Changed:connect(function(Jump)
  1459.     if Jump == "Jump" and (Disable_Jump == true) then
  1460.         Humanoid.Jump = false
  1461.     end
  1462. end)
  1463.  
  1464. while true do
  1465.     Swait()
  1466.     script.Parent = WEAPONGUI
  1467.     for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1468.         v:Stop();
  1469.     end
  1470.     ANIMATE.Parent = nil
  1471.     SINE = SINE + CHANGE*1.5
  1472.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1473.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1474.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1475.     local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  1476.     if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1477.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1478.         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) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1479.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1480.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1481.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1482.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1483.         Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1484.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1485.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1486.     end
  1487.     if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1488.         ANIM = "Jump"
  1489.         if ATTACK == false then
  1490.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1491.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1492.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1493.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1494.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  1495.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  1496.         end
  1497.     elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1498.         ANIM = "Fall"
  1499.         if ATTACK == false then
  1500.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1501.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1502.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1503.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1504.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  1505.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  1506.         end
  1507.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1508.         ANIM = "Idle"
  1509.         if ATTACK == false then
  1510.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1511.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1512.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0 + 2.5 * SIN(SINE / 25)), RAD(55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1513.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1514.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1515.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1516.         end
  1517.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1518.         ANIM = "Walk"
  1519.         if ATTACK == false then
  1520.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1521.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  1522.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1523.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1524.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1525.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1526.         end
  1527.     end
  1528.     unanchor()
  1529.     Humanoid.MaxHealth = "inf"
  1530.     Humanoid.Health = "inf"
  1531.     if Rooted == false then
  1532.         Disable_Jump = false
  1533.         Humanoid.WalkSpeed = Speed
  1534.     elseif Rooted == true then
  1535.         Disable_Jump = true
  1536.         Humanoid.WalkSpeed = 0
  1537.     end
  1538.     for _, c in pairs(Character:GetChildren()) do
  1539.         if c.ClassName == "Part" and c.Name ~= "Detail" then
  1540.             c.Material = "Fabric"
  1541.             if c:FindFirstChildOfClass("ParticleEmitter") then
  1542.                 c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1543.             end
  1544.             if c == Head then
  1545.                 if c:FindFirstChild("face") then
  1546.                     c.face:remove()
  1547.                 end
  1548.             end
  1549.         elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1550.             c:remove()
  1551.         elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1552.             c:remove()
  1553.         end
  1554.     end
  1555.     Humanoid.Name = "Pandora = "..Player.Name
  1556. end
  1557.  
  1558. --//=================================\\
  1559. --\\=================================//
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565. --//====================================================\\--
  1566. --||                     END OF SCRIPT
  1567. --\\====================================================//--
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top