Advertisement
Infintyboy

The Gentleman. | A Roblox Script

Jul 12th, 2018
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 76.06 KB | None | 0 0
  1. wait()
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. do
  5.     script.Parent = Player.Character
  6.  
  7.     --RemoteEvent for communicating
  8.     local Event = Instance.new("RemoteEvent")
  9.     Event.Name = "UserInput_Event"
  10.  
  11.     --Fake event to make stuff like Mouse.KeyDown work
  12.     local function fakeEvent()
  13.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14.         t.connect = t.Connect
  15.         return t
  16.     end
  17.  
  18.     --Creating fake input objects with fake variables
  19.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23.     end}
  24.     --Merged 2 functions into one by checking amount of arguments
  25.     CAS.UnbindAction = CAS.BindAction
  26.  
  27.     --This function will trigger the events that have been :Connect()'ed
  28.     local function te(self,ev,...)
  29.         local t = m[ev]
  30.         if t and t._fakeEvent and t.Function then
  31.             t.Function(...)
  32.         end
  33.     end
  34.     m.TrigEvent = te
  35.     UIS.TrigEvent = te
  36.  
  37.     Event.OnServerEvent:Connect(function(plr,io)
  38.         if plr~=Player then return end
  39.         if io.isMouse then
  40.             m.Target = io.Target
  41.             m.Hit = io.Hit
  42.         else
  43.             local b = io.UserInputState == Enum.UserInputState.Begin
  44.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46.             end
  47.             for _,t in pairs(CAS.Actions) do
  48.                 for _,k in pairs(t.Keys) do
  49.                     if k==io.KeyCode then
  50.                         t.Function(t.Name,io.UserInputState,io)
  51.                     end
  52.                 end
  53.             end
  54.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56.         end
  57.     end)
  58.     Event.Parent = NLS([==[
  59.     local Player = game:GetService("Players").LocalPlayer
  60.     local Event = script:WaitForChild("UserInput_Event")
  61.  
  62.     local UIS = game:GetService("UserInputService")
  63.     local input = function(io,a)
  64.         if a then return end
  65.         --Since InputObject is a client-side instance, we create and pass table instead
  66.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67.     end
  68.     UIS.InputBegan:Connect(input)
  69.     UIS.InputEnded:Connect(input)
  70.  
  71.     local Mouse = Player:GetMouse()
  72.     local h,t
  73.     --Give the server mouse data 30 times every second, but only if the values changed
  74.     --If player is not moving their mouse, client won't fire events
  75.     while wait(1/30) do
  76.         if h~=Mouse.Hit or t~=Mouse.Target then
  77.             h,t=Mouse.Hit,Mouse.Target
  78.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  79.         end
  80.     end]==],Player.Character)
  81.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. --Gentlemen. -Spy
  85. local Player = owner
  86. local Character = Player.Character
  87. local Humanoid = Character.Humanoid
  88. local LeftArm = Character["Left Arm"]
  89. local RightArm = Character["Right Arm"]
  90. local LeftLeg = Character["Left Leg"]
  91. local RightLeg = Character["Right Leg"]
  92. local Head = Character.Head
  93. local Torso = Character.Torso
  94. local Camera = game.Workspace.CurrentCamera
  95. local RootPart = Character.HumanoidRootPart
  96. local RootJoint = RootPart.RootJoint
  97. local ALLOW = false
  98. local attack = false
  99. local allow = false
  100. local Anim = 'Idle'
  101. local Lighty = game:GetService"Lighting"
  102. local attacktype = 1
  103. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  104. local velocity = RootPart.Velocity.y
  105. local sine = 0
  106. local change = 1
  107. local bored = {666529034,1199646708,549231151,537510365,1408629209,363110445}
  108. local Create = LoadLibrary("RbxUtility").Create
  109. function swait(num)
  110.     if num == 0 or num == nil then
  111.         ArtificialHB.Event:wait()
  112.     else
  113.         for i = 0, num do
  114.             ArtificialHB.Event:wait()
  115.         end
  116.     end
  117. end
  118.  
  119. wait(0.2)
  120.  
  121. Player = owner
  122. PlayerGui = Player.PlayerGui
  123. Cam = workspace.CurrentCamera
  124. Backpack = Player.Backpack
  125. Character = Player.Character
  126. Humanoid = Character.Humanoid
  127. RootPart = Character["HumanoidRootPart"]
  128. Torso = Character["Torso"]
  129. Head = Character["Head"]
  130. RightArm = Character["Right Arm"]
  131. LeftArm = Character["Left Arm"]
  132. RightLeg = Character["Right Leg"]
  133. LeftLeg = Character["Left Leg"]
  134. RootJoint = RootPart["RootJoint"]
  135. Neck = Torso["Neck"]
  136. RightShoulder = Torso["Right Shoulder"]
  137. LeftShoulder = Torso["Left Shoulder"]
  138. RightHip = Torso["Right Hip"]
  139. LeftHip = Torso["Left Hip"]
  140. Character.Archivable = true
  141. Player:ClearCharacterAppearance()
  142.  
  143. IT = Instance.new
  144. CF = CFrame.new
  145. VT = Vector3.new
  146. RAD = math.rad
  147. C3 = Color3.new
  148. UD2 = UDim2.new
  149. BRICKC = BrickColor.new
  150. ANGLES = CFrame.Angles
  151. EULER = CFrame.fromEulerAnglesXYZ
  152. COS = math.cos
  153. ACOS = math.acos
  154. SIN = math.sin
  155. ASIN = math.asin
  156. ABS = math.abs
  157. MRANDOM = math.random
  158. FLOOR = math.floor
  159. local CHOICE = MRANDOM(1,6)
  160. local CHOICE = MRANDOM(1,6)
  161. --//=================================\\
  162. --||          USEFUL VALUES
  163. --\\=================================//
  164.  
  165. Player_Size = 1 --Size of the player.
  166. Animation_Speed = 3
  167. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  168.  
  169. local Speed = 16
  170. local Effects2 = {}
  171. local Speed = 20
  172. local SIZE = 1.4
  173. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  174. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  175. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  176. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  177. local DAMAGEMULTIPLIER = "inf"
  178. local ANIM = "Idle"
  179. local ATTACK = false
  180. local EQUIPPED = false
  181. local HOLD = false
  182. local COMBO = 1
  183. local Rooted = false
  184. local SINE = 0
  185. local KEYHOLD = false
  186. local CHANGE = 2 / Animation_Speed
  187. local WALKINGANIM = false
  188. local VALUE1 = false
  189. local VALUE2 = false
  190. local ROBLOXIDLEANIMATION = IT("Animation")
  191. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  192. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  193. local ATANIM = IT("Animation")
  194. ATANIM.Name = "Attack Animation"
  195. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  196. --ROBLOXIDLEANIMATION.Parent = Humanoid
  197. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  198. WEAPONGUI.Name = "Weapon GUI"
  199. local Weapon = IT("Model")
  200. Weapon.Name = "Adds"
  201. local Effects = IT("Folder", Weapon)
  202. Effects.Name = "Effects"
  203. local ANIMATOR = Humanoid.Animator
  204. local ANIMATE = Character.Animate
  205. local UNANCHOR = true
  206. local CLOCKLOOP = 0
  207. local SONG = 492070484
  208. local CLOCKTARGET = nil
  209. local CLOCKSPEED = 4
  210. script.Parent = WEAPONGUI
  211. local CLONE = Character:Clone()
  212. CLONE.Parent = nil
  213. Character.Archivable = false
  214. local sick = Instance.new("Sound",Torso)
  215. sick.Volume = 50999
  216. sick.SoundId = "rbxassetid://"..bored[CHOICE]
  217. sick:Play()
  218. Character.Archivable = true
  219. Player:ClearCharacterAppearance()
  220. Character.Archivable = false
  221.  
  222.  
  223. --//=================================\\
  224. --\\=================================//
  225.  
  226.  
  227. --//=================================\\
  228. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  229. --\\=================================//
  230.  
  231. ArtificialHB = Instance.new("BindableEvent", script)
  232. ArtificialHB.Name = "ArtificialHB"
  233.  
  234. script:WaitForChild("ArtificialHB")
  235.  
  236. frame = Frame_Speed
  237. tf = 0
  238. allowframeloss = false
  239. tossremainder = false
  240. lastframe = tick()
  241. script.ArtificialHB:Fire()
  242.  
  243. game:GetService("RunService").Heartbeat:connect(function(s, p)
  244.     tf = tf + s
  245.     if tf >= frame then
  246.         if allowframeloss then
  247.             script.ArtificialHB:Fire()
  248.             lastframe = tick()
  249.         else
  250.             for i = 1, math.floor(tf / frame) do
  251.                 script.ArtificialHB:Fire()
  252.             end
  253.         lastframe = tick()
  254.         end
  255.         if tossremainder then
  256.             tf = 0
  257.         else
  258.             tf = tf - frame * math.floor(tf / frame)
  259.         end
  260.     end
  261. end)
  262.  
  263. --//=================================\\
  264. --\\=================================//
  265.  
  266. --//=================================\\
  267. --||          SOME FUNCTIONS
  268. --\\=================================//
  269.  
  270. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  271.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  272. end
  273.  
  274. function PositiveAngle(NUMBER)
  275.     if NUMBER >= 0 then
  276.         NUMBER = 0
  277.     end
  278.     return NUMBER
  279. end
  280.  
  281. function NegativeAngle(NUMBER)
  282.     if NUMBER <= 0 then
  283.         NUMBER = 0
  284.     end
  285.     return NUMBER
  286. end
  287.  
  288. function Swait(NUMBER)
  289.     if NUMBER == 0 or NUMBER == nil then
  290.         ArtificialHB.Event:wait()
  291.     else
  292.         for i = 1, NUMBER do
  293.             ArtificialHB.Event:wait()
  294.         end
  295.     end
  296. end
  297.  
  298. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  299.     local NEWMESH = IT(MESH)
  300.     if MESH == "SpecialMesh" then
  301.         NEWMESH.MeshType = MESHTYPE
  302.         if MESHID ~= "nil" and MESHID ~= "" then
  303.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  304.         end
  305.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  306.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  307.         end
  308.     end
  309.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  310.     NEWMESH.Scale = SCALE
  311.     NEWMESH.Parent = PARENT
  312.     return NEWMESH
  313. end
  314.  
  315. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  316.     local NEWPART = IT("Part")
  317.     NEWPART.formFactor = FORMFACTOR
  318.     NEWPART.Reflectance = REFLECTANCE
  319.     NEWPART.Transparency = TRANSPARENCY
  320.     NEWPART.CanCollide = false
  321.     NEWPART.Locked = true
  322.     NEWPART.Anchored = true
  323.     if ANCHOR == false then
  324.         NEWPART.Anchored = false
  325.     end
  326.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  327.     NEWPART.Name = NAME
  328.     NEWPART.Size = SIZE
  329.     NEWPART.Position = Torso.Position
  330.     NEWPART.Material = MATERIAL
  331.     NEWPART:BreakJoints()
  332.     NEWPART.Parent = PARENT
  333.     return NEWPART
  334. end
  335.  
  336.     local function weldBetween(a, b)
  337.         local weldd = Instance.new("ManualWeld")
  338.         weldd.Part0 = a
  339.         weldd.Part1 = b
  340.         weldd.C0 = CFrame.new()
  341.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  342.         weldd.Parent = a
  343.         return weldd
  344.     end
  345.  
  346.  
  347. function QuaternionFromCFrame(cf)
  348.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  349.     local trace = m00 + m11 + m22
  350.     if trace > 0 then
  351.         local s = math.sqrt(1 + trace)
  352.         local recip = 0.5 / s
  353.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  354.     else
  355.         local i = 0
  356.         if m11 > m00 then
  357.             i = 1
  358.         end
  359.         if m22 > (i == 0 and m00 or m11) then
  360.             i = 2
  361.         end
  362.         if i == 0 then
  363.             local s = math.sqrt(m00 - m11 - m22 + 1)
  364.             local recip = 0.5 / s
  365.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  366.         elseif i == 1 then
  367.             local s = math.sqrt(m11 - m22 - m00 + 1)
  368.             local recip = 0.5 / s
  369.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  370.         elseif i == 2 then
  371.             local s = math.sqrt(m22 - m00 - m11 + 1)
  372.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  373.         end
  374.     end
  375. end
  376.  
  377. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  378.     local xs, ys, zs = x + x, y + y, z + z
  379.     local wx, wy, wz = w * xs, w * ys, w * zs
  380.     local xx = x * xs
  381.     local xy = x * ys
  382.     local xz = x * zs
  383.     local yy = y * ys
  384.     local yz = y * zs
  385.     local zz = z * zs
  386.     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))
  387. end
  388.  
  389. function QuaternionSlerp(a, b, t)
  390.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  391.     local startInterp, finishInterp;
  392.     if cosTheta >= 0.0001 then
  393.         if (1 - cosTheta) > 0.0001 then
  394.             local theta = ACOS(cosTheta)
  395.             local invSinTheta = 1 / SIN(theta)
  396.             startInterp = SIN((1 - t) * theta) * invSinTheta
  397.             finishInterp = SIN(t * theta) * invSinTheta
  398.         else
  399.             startInterp = 1 - t
  400.             finishInterp = t
  401.         end
  402.     else
  403.         if (1 + cosTheta) > 0.0001 then
  404.             local theta = ACOS(-cosTheta)
  405.             local invSinTheta = 1 / SIN(theta)
  406.             startInterp = SIN((t - 1) * theta) * invSinTheta
  407.             finishInterp = SIN(t * theta) * invSinTheta
  408.         else
  409.             startInterp = t - 1
  410.             finishInterp = t
  411.         end
  412.     end
  413.     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
  414. end
  415.  
  416. function Clerp(a, b, t)
  417.     local qa = {QuaternionFromCFrame(a)}
  418.     local qb = {QuaternionFromCFrame(b)}
  419.     local ax, ay, az = a.x, a.y, a.z
  420.     local bx, by, bz = b.x, b.y, b.z
  421.     local _t = 1 - t
  422.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  423. end
  424.  
  425. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  426.     local frame = IT("Frame")
  427.     frame.BackgroundTransparency = TRANSPARENCY
  428.     frame.BorderSizePixel = BORDERSIZEPIXEL
  429.     frame.Position = POSITION
  430.     frame.Size = SIZE
  431.     frame.BackgroundColor3 = COLOR
  432.     frame.BorderColor3 = BORDERCOLOR
  433.     frame.Name = NAME
  434.     frame.Parent = PARENT
  435.     return frame
  436. end
  437.  
  438. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  439.     local label = IT("TextLabel")
  440.     label.BackgroundTransparency = 1
  441.     label.Size = UD2(1, 0, 1, 0)
  442.     label.Position = UD2(0, 0, 0, 0)
  443.     label.TextColor3 = TEXTCOLOR
  444.     label.TextStrokeTransparency = STROKETRANSPARENCY
  445.     label.TextTransparency = TRANSPARENCY
  446.     label.FontSize = TEXTFONTSIZE
  447.     label.Font = TEXTFONT
  448.     label.BorderSizePixel = BORDERSIZEPIXEL
  449.     label.TextStrokeColor3 = C3(1,1,1)
  450.     label.TextScaled = false
  451.     label.Text = TEXT
  452.     label.Name = NAME
  453.     label.Parent = PARENT
  454.     return label
  455. end
  456.  
  457. function NoOutlines(PART)
  458.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  459. end
  460.  
  461. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  462.     local NEWWELD = IT(TYPE)
  463.     NEWWELD.Part0 = PART0
  464.     NEWWELD.Part1 = PART1
  465.     NEWWELD.C0 = C0
  466.     NEWWELD.C1 = C1
  467.     NEWWELD.Parent = PARENT
  468.     return NEWWELD
  469. end
  470.  
  471. local S = IT("Sound")
  472. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  473.     local NEWSOUND = nil
  474.     coroutine.resume(coroutine.create(function()
  475.         NEWSOUND = S:Clone()
  476.         NEWSOUND.Parent = PARENT
  477.         NEWSOUND.Volume = VOLUME
  478.         NEWSOUND.Pitch = PITCH
  479.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  480.         NEWSOUND:play()
  481.         if DOESLOOP == true then
  482.             NEWSOUND.Looped = true
  483.         else
  484.             repeat wait(1) until NEWSOUND.Playing == false
  485.             NEWSOUND:remove()
  486.         end
  487.     end))
  488.     return NEWSOUND
  489. end
  490.  
  491. function CFrameFromTopBack(at, top, back)
  492.     local right = top:Cross(back)
  493.     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)
  494. end
  495.  
  496. --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})
  497. function WACKYEFFECT(Table)
  498.     local TYPE = (Table.EffectType or "Sphere")
  499.     local SIZE = (Table.Size or VT(1,1,1))
  500.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  501.     local TRANSPARENCY = (Table.Transparency or 0)
  502.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  503.     local CFRAME = (Table.CFrame or Torso.CFrame)
  504.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  505.     local ROTATION1 = (Table.RotationX or 0)
  506.     local ROTATION2 = (Table.RotationY or 0)
  507.     local ROTATION3 = (Table.RotationZ or 0)
  508.     local MATERIAL = (Table.Material or "Neon")
  509.     local COLOR = (Table.Color or C3(66/255, 0/255, 127/2551))
  510.     local TIME = (Table.Time or 45)
  511.     local SOUNDID = (Table.SoundID or nil)
  512.     local SOUNDPITCH = (Table.SoundPitch or nil)
  513.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  514.     coroutine.resume(coroutine.create(function()
  515.         local PLAYSSOUND = false
  516.         local SOUND = nil
  517.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Dark indigo"), "Effect", VT(1,1,1), true)
  518.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  519.             PLAYSSOUND = true
  520.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  521.         end
  522.         EFFECT.Color = COLOR
  523.         local MSH = nil
  524.         if TYPE == "Sphere" then
  525.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  526.         elseif TYPE == "Block" then
  527.             MSH = IT("BlockMesh",EFFECT)
  528.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  529.         elseif TYPE == "Wave" then
  530.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  531.         elseif TYPE == "Ring" then
  532.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  533.         elseif TYPE == "Slash" then
  534.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  535.         elseif TYPE == "Round Slash" then
  536.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  537.         elseif TYPE == "Swirl" then
  538.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  539.         elseif TYPE == "Skull" then
  540.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  541.         elseif TYPE == "Crystal" then
  542.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  543.         end
  544.         if MSH ~= nil then
  545.             local MOVESPEED = nil
  546.             if MOVEDIRECTION ~= nil then
  547.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  548.             end
  549.             local GROWTH = SIZE - ENDSIZE
  550.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  551.             if TYPE == "Block" then
  552.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  553.             else
  554.                 EFFECT.CFrame = CFRAME
  555.             end
  556.             for LOOP = 1, TIME+1 do
  557.                 Swait()
  558.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  559.                 if TYPE == "Wave" then
  560.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  561.                 end
  562.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  563.                 if TYPE == "Block" then
  564.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  565.                 else
  566.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  567.                 end
  568.                 if MOVEDIRECTION ~= nil then
  569.                     local ORI = EFFECT.Orientation
  570.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  571.                     EFFECT.Orientation = ORI
  572.                 end
  573.             end
  574.             if PLAYSSOUND == false then
  575.                 EFFECT:remove()
  576.             else
  577.                 repeat Swait() until SOUND.Playing == false
  578.                 EFFECT:remove()
  579.             end
  580.         else
  581.             if PLAYSSOUND == false then
  582.                 EFFECT:remove()
  583.             else
  584.                 repeat Swait() until SOUND.Playing == false
  585.                 EFFECT:remove()
  586.             end
  587.         end
  588.     end))
  589. end
  590.  
  591. function MakeForm(PART,TYPE)
  592.     if TYPE == "Cyl" then
  593.         local MSH = IT("CylinderMesh",PART)
  594.     elseif TYPE == "Ball" then
  595.         local MSH = IT("SpecialMesh",PART)
  596.         MSH.MeshType = "Sphere"
  597.     elseif TYPE == "Wedge" then
  598.         local MSH = IT("SpecialMesh",PART)
  599.         MSH.MeshType = "Wedge"
  600.     end
  601. end
  602.  
  603. Debris = game:GetService("Debris")
  604.  
  605. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  606.     local DIRECTION = CF(StartPos,EndPos).lookVector
  607.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  608. end
  609.  
  610. function turnto(position)
  611.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  612. end
  613. -------------------------------------
  614. Humanoid.DisplayDistanceType = "None"
  615. local naeeym2 = IT("BillboardGui",Character)
  616. naeeym2.AlwaysOnTop = true
  617. naeeym2.Size = UDim2.new(5,35,2,15)
  618. naeeym2.StudsOffset = Vector3.new(0,2,0)
  619. naeeym2.MaxDistance = 75
  620. naeeym2.Adornee = Character.Head
  621. naeeym2.Name = "Name"
  622. local tecks2 = IT("TextLabel",naeeym2)
  623. tecks2.BackgroundTransparency = 1
  624. tecks2.TextScaled = true
  625. tecks2.BorderSizePixel = 0
  626. tecks2.Text = "The Gentleman."
  627. tecks2.Font = "Code"
  628. tecks2.TextSize = 30
  629. tecks2.TextStrokeTransparency = 0
  630. tecks2.TextColor3 = C3(0,0,0)
  631. tecks2.TextStrokeColor3 = C3(135/135, 135/135, 0/135)
  632. tecks2.Size = UDim2.new(1,0,0.5,0)
  633. tecks2.Parent = naeeym2
  634. local top = Instance.new("Shirt")
  635. top.ShirtTemplate = "rbxassetid://45695443"
  636. top.Parent = Character
  637. top.Name = "Cloth"
  638. local bottom = Instance.new("Pants")
  639. bottom.PantsTemplate = "rbxassetid://45696190"
  640. bottom.Parent = Character
  641. bottom.Name = "Cloth"
  642. ------------------------
  643.     TalkSound = Instance.new("Sound",Character,"Music",{SoundId = "rbxassetid://615716445",Volume = 5,Looped = false})
  644. TalkSound.Pitch = 1.7
  645.  
  646. function Chat(msg) -- Credit to jillmiles1, kthxbye
  647.         local Gui = Instance.new('BillboardGui', Head)
  648.         Gui.Name = "Satanic Chat Gui"
  649.         Gui.ExtentsOffset = Vector3.new(0,3,0)
  650.         Gui.Size = UDim2.new(0,200,0,300)
  651.         local Frame = Instance.new('Frame',Gui)
  652.         Frame.BackgroundTransparency = 1
  653.         Frame.Size = UDim2.new(1,0,1,0)
  654.         local Txt = Instance.new('TextLabel',Frame)
  655.         Txt.BackgroundTransparency = 1
  656.         Txt.Size = UDim2.new(1,0,1,0)
  657.         Txt.Font = 'Antique'
  658.         Txt.Name = "ChatGui"
  659.         Txt.FontSize = 'Size24'
  660.         Txt.Text = ''
  661.         Txt.TextColor3 = BrickColor.new("Really black").Color
  662.         Txt.TextStrokeColor3 = Color3.new(.5,0,0)
  663.         Txt.TextStrokeTransparency = .5
  664.         Txt.TextWrapped = true
  665.         Txt.TextScaled = false
  666.  
  667.         delay(wait(),function()
  668.                 for v = 1, #msg do
  669.                         Txt.Text=string.sub(msg,1,v)
  670. TalkSound:Play()
  671.            Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
  672. wait(.009)
  673.         Gui.ExtentsOffset = Vector3.new(0,3,-0.1)                    
  674.  wait(.009)
  675.   Gui.ExtentsOffset = Vector3.new(0,3,0)  
  676.                 end;
  677.                
  678.          
  679.  
  680.            Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
  681. wait(.03)
  682.         Gui.ExtentsOffset = Vector3.new(0,3,-0.1)                    
  683.  wait(.03)
  684.   Gui.ExtentsOffset = Vector3.new(0,3,0)  
  685. wait(.03)
  686.            Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
  687. wait(.03)
  688.         Gui.ExtentsOffset = Vector3.new(0,3,-0.1)                    
  689.  wait(.03)
  690.   Gui.ExtentsOffset = Vector3.new(0,3,0)  
  691. wait(.03)
  692.            Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
  693. wait(.03)
  694.         Gui.ExtentsOffset = Vector3.new(0,3,-0.1)                    
  695.  wait(.03)
  696.   Gui.ExtentsOffset = Vector3.new(0,3,0)  
  697. wait(.03)
  698.            Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
  699. wait(.03)
  700.         Gui.ExtentsOffset = Vector3.new(0,3,-0.1)                    
  701.  wait(.03)
  702.   Gui.ExtentsOffset = Vector3.new(0,3,0)  
  703. wait(.03)
  704.            Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
  705. wait(.03)
  706.         Gui.ExtentsOffset = Vector3.new(0,3,-0.1)                    
  707.  wait(.03)
  708.   Gui.ExtentsOffset = Vector3.new(0,3,0)  
  709. wait(.03)
  710.            Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
  711. wait(.03)
  712.         Gui.ExtentsOffset = Vector3.new(0,3,-0.1)                    
  713.  wait(.03)
  714.   Gui.ExtentsOffset = Vector3.new(0,3,0)  
  715. wait(.03)
  716.  
  717.  Txt.TextStrokeTransparency = .6
  718. wait()
  719.  Txt.TextStrokeTransparency = .7
  720. wait()
  721.  Txt.TextStrokeTransparency = .8
  722. wait()
  723.  Txt.TextStrokeTransparency = .9
  724. wait()
  725.  Txt.TextStrokeTransparency = 1
  726. wait()
  727.  
  728.       for v = 1, #Txt.Text do
  729.                         Txt.Text=string.sub(msg,-1,v)
  730.  
  731.  
  732.              
  733.  
  734.  
  735.  
  736.  
  737.    end;
  738.                 Gui:remove()
  739.         end)
  740.         end
  741. ------------------------
  742. local BODY = {}
  743. for _, c in pairs(Character:GetDescendants()) do
  744.     if c:IsA("BasePart") and c.Name ~= "Handle" then
  745.         if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  746.             c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  747.         end
  748.         table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  749.     elseif c:IsA("JointInstance") then
  750.         table.insert(BODY,{c,c.Parent,nil,nil,nil})
  751.     end
  752. end
  753. for e = 1, #BODY do
  754.     if BODY[e] ~= nil then
  755.         local STUFF = BODY[e]
  756.         local PART = STUFF[1]
  757.         local PARENT = STUFF[2]
  758.         local MATERIAL = STUFF[3]
  759.         local COLOR = STUFF[4]
  760.         local TRANSPARENCY = STUFF[5]
  761.         if PART.ClassName == "Part" and PART ~= RootPart then
  762.             PART.Material = MATERIAL
  763.             PART.Color = COLOR
  764.             PART.Transparency = TRANSPARENCY
  765.         end
  766.         PART.AncestryChanged:Connect(function()
  767.             PART.Parent = PARENT
  768.         end)
  769.     end
  770. end
  771. function refit()
  772.     Character.Parent = workspace
  773.     for e = 1, #BODY do
  774.         if BODY[e] ~= nil then
  775.             local STUFF = BODY[e]
  776.             local PART = STUFF[1]
  777.             local PARENT = STUFF[2]
  778.             local MATERIAL = STUFF[3]
  779.             local COLOR = STUFF[4]
  780.             local TRANSPARENCY = STUFF[5]
  781.             if PART.ClassName == "Part" and PART ~= RootPart then
  782.                 PART.Material = MATERIAL
  783.                 PART.Color = COLOR
  784.                 PART.Transparency = TRANSPARENCY
  785.             end
  786.             if PART.Parent ~= PARENT then
  787.                 Humanoid:remove()
  788.                 PART.Parent = PARENT
  789.                 Humanoid = IT("Humanoid",Character)
  790.             end
  791.         end
  792.     end
  793. end
  794.  
  795. Humanoid.Died:connect(function()
  796.     refit()
  797. end)
  798. ------------------------
  799. function Taunt()
  800. ALLOW = true
  801. wait()
  802.         local A = math.random(1,2)
  803.         if A == 1 then
  804.     LAUGH = CreateSound(151795884, Character, 8099999, 1, false)
  805.     Chat("Let's settle this like gentlemen!")
  806. wait(2)
  807.     ALLOW = false
  808.         end
  809.         if A == 2 then
  810.     LAUGH = CreateSound(130927686, Character, 8099999, 1, false)
  811.     Chat("Gentlemen...")
  812. wait(2)
  813.     ALLOW = false
  814.         end
  815. end
  816. function Warp()
  817.     ALLOW = true
  818. wait()
  819.     CreateRing(0,2,true,-0.2,35,RootPart,0,0.3,0.3)
  820.     CreateRing(0,2.5,true,-0.2,35,RootPart,0,-0.3,0.3)
  821.     CreateRing(0,3,true,-0.2,35,RootPart,0,0.3,-0.3)
  822.     CreateRing(0,3.5,true,-0.2,35,RootPart,0,-0.3,-0.3)
  823.     local originalcframe = RootPart.CFrame
  824.     RootPart.CFrame = CF(VT(Mouse.Hit.p.X,Mouse.Hit.p.Y+(RootPart.Size.Y/2),Mouse.Hit.Z),originalcframe.p)
  825.     local penta = CreatePentagram(15,false,0,45,CF(RootPart.Position),-1)
  826.     CreateSound("3264923", Head, 2, 2)
  827.     ALLOW = false
  828. end
  829. function Attack1()
  830.     ALLOW = true
  831. wait()
  832.     Rooted = true
  833.     Chat("roar")
  834.     for i=0, 2, 0.1 / Animation_Speed do
  835.         Swait()
  836.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  837.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  838.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  839.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  840.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed*5)
  841.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*5)
  842.     end
  843.     if Head ~= nil then
  844.     local roar = CreateSound("577131694", Head, 10, 1)
  845.         repeat
  846.             for i=0, 1.3, 0.1 / Animation_Speed do
  847.                 Swait()
  848.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  849.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  850.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(70)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  851.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-120)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  852.                 RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(120), RAD(-35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  853.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  854.             end
  855.             killnearest(Head.Position,25,25)
  856.             CreateRing(0,6,true,-0.2,35,Head,0,0.3,-0.3)
  857.             CreateRing(0,6,true,-0.2,35,Head,0,0.3,0.3)
  858.             CreateWave(0,5.5,true,0.05,45,RootPart,-4)
  859.             if roar.Playing == true then
  860.                 for i=0, 1.3, 0.1 / Animation_Speed do
  861.                     Swait()
  862.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  863.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  864.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(120)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  865.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-70)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  866.                     RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(-35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  867.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-120), RAD(35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  868.                 end
  869.                 killnearest(Head.Position,25,25)
  870.                 CreateRing(0,6,true,-0.2,35,Head,0,-0.3,-0.3)
  871.                 CreateRing(0,6,true,-0.2,35,Head,0,-0.3,0.3)
  872.                 CreateWave(0,5.5,true,-0.05,45,RootPart,-4)
  873.             end
  874.         until roar.Playing == false
  875.     end
  876.     Rooted = false
  877.     ALLOW = false
  878. end
  879. function killnearest(position,range,maxstrength)
  880.     for i,v in ipairs(workspace:GetChildren()) do
  881.     local body = v:GetChildren()
  882.         for part = 1, #body do
  883.             if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  884.                 if(body[part].Position - position).Magnitude < range then
  885.                     if v.ClassName == "Model" then
  886.                         v:BreakJoints()
  887.                     end
  888.                     --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  889.                     body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  890.                 end
  891.             end
  892.         end
  893.         if v.ClassName == "Part" then
  894.             if v.Anchored == false and (v.Position - position).Magnitude < range then
  895.                 --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  896.                 v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  897.             end
  898.         end
  899.     end
  900. end
  901. function TrailEffect(BRICKCOLOR, MATERIAL, CURRENTCFRAME, OLDCFRAME, MESHTYPE, REFLECTANCE, SIZE, ROTATION, X, Y, Z, delay)
  902.     local MAGNITUDECFRAME = (CURRENTCFRAME.p - OLDCFRAME.p).magnitude
  903.     if MAGNITUDECFRAME > (1 / 100) then
  904.         local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT(1, MAGNITUDECFRAME, 1))
  905.         EFFECTPART.Anchored = true
  906.         EFFECTPART.CFrame = CF((CURRENTCFRAME.p + OLDCFRAME.p) / 2, OLDCFRAME.p) * ANGLES(RAD(90), 0, 0)
  907.         local THEMESHTYPE = "BlockMesh"
  908.         if MESHTYPE == "Cylinder" then
  909.             THEMESHTYPE = "CylinderMesh"
  910.         end
  911.         local EFFECTMESH = CreateMesh(THEMESHTYPE, EFFECTPART, "", "", "", VT(0 + SIZE * Player_Size, 1, 0 + SIZE * Player_Size), VT(0, 0, 0))
  912.         game:GetService("Debris"):AddItem(EFFECTPART, 10)
  913.         coroutine.resume(coroutine.create(function(PART, MESH)
  914.             for i = 0, 1, delay do
  915.                 Swait()
  916.                 PART.CFrame = PART.CFrame * ROTATION
  917.                 PART.Transparency = i
  918.                 MESH.Scale = MESH.Scale + VT(X * Player_Size, Y * Player_Size, Z * Player_Size)
  919.             end
  920.             PART.Parent = nil
  921.         end), EFFECTPART, EFFECTMESH)
  922.     end
  923. end
  924.  
  925. function ClangEffect(BRICKCOLOR, MATERIAL, CFRAME, ANGLE, DURATION, SIZE, POWER, REFLECTANCE, X, Y, Z, delay)
  926.     local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 1, BRICKCOLOR, "Effect", VT())
  927.     EFFECTPART.Anchored = true
  928.     EFFECTPART.CFrame = CFRAME
  929.     local EFFECTMESH = CreateMesh("BlockMesh", EFFECTPART, "", "", "", VT(0, 0, 0), VT(0, 0, 0))
  930.     game:GetService("Debris"):AddItem(EFFECTPART, 10)
  931.     local THELASTPOINT = CFRAME
  932.     coroutine.resume(coroutine.create(function(PART)
  933.         for i = 1, DURATION do
  934.             Swait()
  935.             PART.CFrame = PART.CFrame * ANGLES(RAD(ANGLE), 0, 0) * CF(0, POWER * Player_Size, 0)
  936.             TrailEffect(BRICKCOLOR, MATERIAL, PART.CFrame, THELASTPOINT, "Cylinder", REFLECTANCE, SIZE * Player_Size, ANGLES(0, 0, 0), X * Player_Size, Y * Player_Size, Z * Player_Size, delay)
  937.             THELASTPOINT = PART.CFrame
  938.         end
  939.         PART.Parent = nil
  940.     end), EFFECTPART)
  941. end
  942.  
  943. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,part,offset)
  944.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Torso.BrickColor, "Effect", VT(0,0,0))
  945.     local mesh = IT("SpecialMesh",wave)
  946.     mesh.MeshType = "FileMesh"
  947.     mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  948.     mesh.Scale = VT(size,size,size)
  949.     mesh.Offset = VT(0,0,-size/8)
  950.     wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  951.     coroutine.resume(coroutine.create(function(PART)
  952.         for i = 1, waitt do
  953.             Swait()
  954.             mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  955.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  956.             if doesrotate == true then
  957.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  958.             end
  959.             wave.Transparency = wave.Transparency + (0.5/waitt)
  960.             if wave.Transparency > 0.99 then
  961.                 wave:remove()
  962.             end
  963.         end
  964.     end))
  965. end
  966.  
  967. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,part,offset,spin1,spin2)
  968.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Torso.BrickColor, "Effect", VT(0,0,0))
  969.     local mesh = IT("SpecialMesh",wave)
  970.     mesh.MeshType = "FileMesh"
  971.     mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  972.     mesh.Scale = VT(size,size,size)
  973.     mesh.Offset = VT(0,0,0)
  974.     wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  975.     coroutine.resume(coroutine.create(function(PART)
  976.         for i = 1, waitt do
  977.             Swait()
  978.             mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  979.             if doesrotate == true then
  980.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  981.             end
  982.             wave.Transparency = wave.Transparency + (0.5/waitt)
  983.             if wave.Transparency > 0.99 then
  984.                 wave:remove()
  985.             end
  986.         end
  987.     end))
  988. end
  989.  
  990. function CreatePentagram(size,doesrotate,rotatedirection,waitt,cframe,offset)
  991.     local sinkhole = IT("Part",Effects)
  992.     sinkhole.Size = VT(size,0,size)
  993.     sinkhole.CFrame = cframe * CF(0,offset,0)
  994.     sinkhole.Material = "Neon"
  995.     sinkhole.Color = C3(170, 0, 170)
  996.     sinkhole.Anchored = true
  997.     sinkhole.CanCollide = false
  998.     sinkhole.Transparency = 1
  999.     local decal = IT("Decal",sinkhole)
  1000.     decal.Face = "Top"
  1001.     decal.Texture = "http://www.roblox.com/asset/?id=177470914"
  1002.     coroutine.resume(coroutine.create(function(PART)
  1003.         for i = 1, waitt do
  1004.             Swait()
  1005.             if doesrotate == true then
  1006.                 sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1007.             end
  1008.             if i > waitt-11 then
  1009.                 decal.Transparency = decal.Transparency + 0.1
  1010.             end
  1011.         end
  1012.         sinkhole:remove()
  1013.     end))
  1014.     return sinkhole
  1015. end
  1016.  
  1017. --local list={}
  1018. function Triangle(Color, Material, a, b, c, delay)
  1019.     local edge1 = (c - a):Dot((b - a).unit)
  1020.     local edge2 = (a - b):Dot((c - b).unit)
  1021.     local edge3 = (b - c):Dot((a - c).unit)
  1022.     if edge1 <= (b - a).magnitude and edge1 >= 0 then
  1023.         a, b, c=a, b, c
  1024.     elseif edge2 <= (c - b).magnitude and edge2 >= 0 then
  1025.         a, b, c=b, c, a
  1026.     elseif edge3 <= (a - c).magnitude and edge3 >= 0 then
  1027.         a, b, c=c, a, b
  1028.     else
  1029.         assert(false, "unreachable")
  1030.     end
  1031.     local len1 = (c - a):Dot((b - a).unit)
  1032.     local len2 = (b - a).magnitude - len1
  1033.     local width = (a + (b - a).unit * len1 - c).magnitude
  1034.     local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, - (b - a).unit)
  1035.     if len1 > 1 / 100 then
  1036.         local sz = VT(0.2, width, len1)
  1037.         local w1 = CreatePart(3, Effects, Material, 0, 0.5, Color, "Trail", sz)
  1038.         local sp = CreateMesh("SpecialMesh", w1, "Wedge", "", "", VT(0, 1, 1) * sz / w1.Size, VT(0, 0, 0))
  1039.         w1.Anchored = true
  1040.         w1.CFrame = maincf * ANGLES(math.pi, 0, math.pi / 2) * CF(0, width / 2, len1 / 2)
  1041.         coroutine.resume(coroutine.create(function()
  1042.             for i = 0.5, 1, delay * (2 / Animation_Speed) do
  1043.                 Swait()
  1044.                 w1.Transparency = i
  1045.             end
  1046.             w1.Parent = nil
  1047.         end))
  1048.         game:GetService("Debris"):AddItem(w1, 10)
  1049.         --table.insert(list, w1)
  1050.     end
  1051.     if len2 > 1 / 100 then
  1052.         local sz = VT(0.2, width, len2)
  1053.         local w2 = CreatePart(3, Effects, Material, 0, 0.5, Color, "Trail", sz)
  1054.         local sp = CreateMesh("SpecialMesh", w2, "Wedge", "", "", VT(0, 1, 1) * sz / w2.Size, VT(0, 0, 0))
  1055.         w2.Anchored = true
  1056.         w2.CFrame = maincf * ANGLES(math.pi, math.pi, -math.pi / 2) * CF(0, width / 2, -len1 - len2 / 2)
  1057.         coroutine.resume(coroutine.create(function()
  1058.             for i = 0.5, 1, delay * (2 / Animation_Speed) do
  1059.                 Swait()
  1060.                 w2.Transparency = i
  1061.             end
  1062.             w2.Parent = nil
  1063.         end))
  1064.         game:GetService("Debris"):AddItem(w2, 10)
  1065.         --table.insert(list, w2)
  1066.     end
  1067.     --return unpack(list)
  1068. end
  1069.  
  1070. --[[Usage:
  1071.     local Pos = Part
  1072.     local Offset = Part.CFrame * CF(0, 0, 0)
  1073.     local Color = "Institutional white"
  1074.     local Material = "Neon"
  1075.     local TheDelay = 0.01
  1076.     local Height = 4
  1077.     BLCF = Offset
  1078.     if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  1079.         local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  1080.         if a then game:GetService("Debris"):AddItem(a, 1) end
  1081.         if b then game:GetService("Debris"):AddItem(b, 1) end
  1082.         local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  1083.         if a then game:GetService("Debris"):AddItem(a, 1) end
  1084.         if b then game:GetService("Debris"):AddItem(b, 1) end
  1085.         SCFR = BLCF
  1086.     elseif not SCFR then
  1087.         SCFR = BLCF
  1088.     end
  1089. --
  1090. BLCF = nil
  1091. SCFR = nil
  1092. --]]
  1093. local SKILLTEXTCOLOR = C3(0, 0, 0)
  1094. local SKILLFONT = "SciFi"
  1095. local SKILLTEXTSIZE = 7
  1096. function StatLabel(CFRAME, TEXT, COLOR)
  1097.     local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1098.     STATPART.CFrame = CF(CFRAME.p, CFRAME.p + VT(MRANDOM(-5, 5), MRANDOM(0, 5), MRANDOM(-5, 5)))
  1099.     local BODYGYRO = IT("BodyGyro", STATPART)
  1100.     game:GetService("Debris"):AddItem(STATPART, 5)
  1101.     local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1102.     BILLBOARDGUI.Adornee = STATPART
  1103.     BILLBOARDGUI.Size = UD2(2.5, 0, 2.5, 0)
  1104.     BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1105.     BILLBOARDGUI.AlwaysOnTop = false
  1106.     local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1107.     TEXTLABEL.BackgroundTransparency = 1
  1108.     TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1109.     TEXTLABEL.Text = TEXT
  1110.     TEXTLABEL.Font = SKILLFONT
  1111.     TEXTLABEL.FontSize = "Size42"
  1112.     TEXTLABEL.TextColor3 = COLOR
  1113.     TEXTLABEL.TextStrokeTransparency = 0
  1114.     TEXTLABEL.TextScaled = true
  1115.     TEXTLABEL.TextWrapped = true
  1116.     coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1117.         for i = 1, 50 do
  1118.             Swait()
  1119.             STATPART.CFrame = STATPART.CFrame * CF(0, 0, -0.2)
  1120.             TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + 0.02
  1121.             TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  1122.         end
  1123.         THEPART.Parent = nil
  1124.     end), STATPART, TEXTLABEL)
  1125. end
  1126. function ApplyDamage(Humanoid, Damage, TorsoPart)
  1127.     local defence = Instance.new("BoolValue", Humanoid.Parent)
  1128.     defence.Name = "HitBy" .. Player.Name
  1129.     game:GetService("Debris"):AddItem(defence, 0.001)
  1130.     Damage = Damage * DAMAGEMULTIPLIER
  1131.     if Humanoid.Health ~= 0 then
  1132.         local CritChance = MRANDOM(1, 100)
  1133.         if Damage > Humanoid.Health then
  1134.             Damage = math.ceil(Humanoid.Health)
  1135.             if Damage == 0 then
  1136.                 Damage = 0.1
  1137.             end
  1138.         end
  1139.         Humanoid.Health = Humanoid.Health - Damage
  1140.         StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1141.     end
  1142. end
  1143. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  1144.     local CHILDREN = workspace:GetDescendants()
  1145.     for index, CHILD in pairs(CHILDREN) do
  1146.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1147.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1148.             if HUM then
  1149.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1150.                 if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1151.                     if INSTAKILL == true then
  1152.                         CHILD:BreakJoints()
  1153.                     else
  1154.                         local DMG = MRANDOM(MINDMG, MAXDMG)
  1155.                         ApplyDamage(HUM, DMG, TORSO)
  1156.                     end
  1157.                     if FLING > 0 then
  1158.                         for _, c in pairs(CHILD:GetChildren()) do
  1159.                             if c:IsA("BasePart") then
  1160.                                 local bv = Instance.new("BodyVelocity")
  1161.                                 bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1162.                                 bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  1163.                                 bv.Parent = c
  1164.                                 Debris:AddItem(bv, 0.05)
  1165.                             end
  1166.                         end
  1167.                     end
  1168.                 end
  1169.             end
  1170.         end
  1171.     end
  1172. end
  1173. function Attack2()
  1174.     ALLOW = true
  1175.     Rooted = true
  1176. wait()
  1177.     local GYRO = IT("BodyGyro", RootPart)
  1178.     GYRO.D = 15
  1179.     GYRO.P = 2000
  1180.     GYRO.MaxTorque = VT(0, 4000000, 0)
  1181.     CreateSound("341301115", Head, 5, 1.1)
  1182.     CreateSound("93724183", Head, 6, 1)
  1183.     Chat("Thats it im finished with you fools!")
  1184.     wait(1)
  1185.     for i = 1, 200 do
  1186.         Swait()
  1187.         WACKYEFFECT({
  1188.             Time = MRANDOM(5, 15),
  1189.             EffectType = "Round Slash",
  1190.             Size = VT(0, 0, 0),
  1191.             Size2 = VT(0.12, 0, 0.12),
  1192.             Transparency = 0.5,
  1193.             Transparency2 = 1,
  1194.             CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1195.             MoveToPos = nil,
  1196.             RotationX = MRANDOM(-50, 50) / 50,
  1197.             RotationY = MRANDOM(-50, 50) / 10,
  1198.             RotationZ = MRANDOM(-50, 50) / 50,
  1199.             Material = "Neon",
  1200.             Color = C3(1, 0, 0),
  1201.             SoundID = nil,
  1202.             SoundPitch = nil,
  1203.             SoundVolume = nil
  1204.         })
  1205.         WACKYEFFECT({
  1206.             Time = MRANDOM(5, 15),
  1207.             EffectType = "Round Slash",
  1208.             Size = VT(0, 0, 0),
  1209.             Size2 = VT(0.1, 0, 0.1),
  1210.             Transparency = 0.5,
  1211.             Transparency2 = 1,
  1212.             CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
  1213.             MoveToPos = nil,
  1214.             RotationX = MRANDOM(-50, 50) / 50,
  1215.             RotationY = MRANDOM(-50, 50) / 10,
  1216.             RotationZ = MRANDOM(-50, 50) / 50,
  1217.             Material = "Neon",
  1218.             Color = C3(1, 0, 0),
  1219.             SoundID = nil,
  1220.             SoundPitch = nil,
  1221.             SoundVolume = nil
  1222.         })
  1223.         WACKYEFFECT({
  1224.             Time = MRANDOM(5, 15),
  1225.             EffectType = "Round Slash",
  1226.             Size = VT(0, 0, 0),
  1227.             Size2 = VT(0.16, 0, 0.16),
  1228.             Transparency = 0.5,
  1229.             Transparency2 = 1,
  1230.             CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
  1231.             MoveToPos = nil,
  1232.             RotationX = MRANDOM(-50, 50) / 50,
  1233.             RotationY = MRANDOM(-50, 50) / 10,
  1234.             RotationZ = MRANDOM(-50, 50) / 50,
  1235.             Material = "Neon",
  1236.             Color = C3(1, 0, 0),
  1237.             SoundID = nil,
  1238.             SoundPitch = nil,
  1239.             SoundVolume = nil
  1240.         })
  1241.         WACKYEFFECT({
  1242.             Time = 5,
  1243.             EffectType = "Sphere",
  1244.             Size = VT(i, i, i) / 150,
  1245.             Size2 = VT(0, 0, 0),
  1246.             Transparency = 0.5,
  1247.             Transparency2 = 1,
  1248.             CFrame = Head.CFrame * CF(0, -0.25, -1),
  1249.             MoveToPos = nil,
  1250.             RotationX = 0,
  1251.             RotationY = 0,
  1252.             RotationZ = 0,
  1253.             Material = "Neon",
  1254.             Color = C3(1, 0, 0),
  1255.             SoundID = nil,
  1256.             SoundPitch = nil,
  1257.             SoundVolume = nil
  1258.         })
  1259.         GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1260.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  1261.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  1262.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  1263.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  1264.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  1265.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  1266.     end
  1267.     GYRO:remove()
  1268.     for i = 0, 0.3, 0.1 / Animation_Speed do
  1269.         Swait()
  1270.         WACKYEFFECT({
  1271.             Time = 25,
  1272.             EffectType = "Sphere",
  1273.             Size = VT(200, 200, 200) / 150,
  1274.             Size2 = VT(0, 0, 0),
  1275.             Transparency = 0.5,
  1276.             Transparency2 = 1,
  1277.             CFrame = Head.CFrame * CF(0, -0.25, -1),
  1278.             MoveToPos = nil,
  1279.             RotationX = 0,
  1280.             RotationY = 0,
  1281.             RotationZ = 0,
  1282.             Material = "Neon",
  1283.             Color = C3(1, 0, 0),
  1284.             SoundID = nil,
  1285.             SoundPitch = nil,
  1286.             SoundVolume = nil
  1287.         })
  1288.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1289.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1290.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1291.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1292.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1293.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1294.     end
  1295.     coroutine.resume(coroutine.create(function()
  1296.         local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "DOOM", VT(1, 1, 1))
  1297.         MakeForm(FIREBALL, "Ball")
  1298.         local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
  1299.         FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
  1300.         for i = 1, 500 do
  1301.             Swait()
  1302.             FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  1303.             local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
  1304.             if HITFLOOR ~= nil then
  1305.                 break
  1306.             end
  1307.         end
  1308.         CreateSound(325132788, Effects, 8, 1, false)
  1309.         for i = 1, 120 do
  1310.             Swait()
  1311.             WACKYEFFECT({
  1312.                 Time = 85,
  1313.                 EffectType = "Sphere",
  1314.                 Size = FIREBALL.Size,
  1315.                 Size2 = VT(0, 1000, 0),
  1316.                 Transparency = 0.5,
  1317.                 Transparency2 = 1,
  1318.                 CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1319.                 MoveToPos = nil,
  1320.                 RotationX = MRANDOM(-50, 50) / 10,
  1321.                 RotationY = MRANDOM(-50, 50) / 10,
  1322.                 RotationZ = MRANDOM(-50, 50) / 10,
  1323.                 Material = "Neon",
  1324.                 Color = C3(1, 0, 0),
  1325.                 SoundID = nil,
  1326.                 SoundPitch = nil,
  1327.                 SoundVolume = nil
  1328.             })
  1329.             FIREBALL.Size = FIREBALL.Size - VT(1, 1, 1) / 120
  1330.         end
  1331.         Swait(5)
  1332.         ApplyAoE(FIREBALL.Position, 435, 65, 65, 600, false)
  1333.         for i = 1, 10 do
  1334.             WACKYEFFECT({
  1335.                 Time = 85 + 5 * i,
  1336.                 EffectType = "Slash",
  1337.                 Size = VT(3, 0, 3),
  1338.                 Size2 = VT(12, 0, 12),
  1339.                 Transparency = 0.5,
  1340.                 Transparency2 = 1,
  1341.                 CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1342.                 MoveToPos = nil,
  1343.                 RotationX = MRANDOM(-50, 50) / 50,
  1344.                 RotationY = MRANDOM(-50, 50) / 10,
  1345.                 RotationZ = MRANDOM(-50, 50) / 50,
  1346.                 Material = "Neon",
  1347.                 Color = C3(1, 1, 1),
  1348.                 SoundID = nil,
  1349.                 SoundPitch = nil,
  1350.                 SoundVolume = nil
  1351.             })
  1352.             WACKYEFFECT({
  1353.                 Time = 185 + 5 * i,
  1354.                 EffectType = "Swirl",
  1355.                 Size = VT(15, 15, 15),
  1356.                 Size2 = VT(700, 700, 700) + VT(15, 15, 15) * i,
  1357.                 Transparency = 0.5,
  1358.                 Transparency2 = 1,
  1359.                 CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1360.                 MoveToPos = nil,
  1361.                 RotationX = MRANDOM(-50, 50) / 50,
  1362.                 RotationY = MRANDOM(-50, 50) / 10,
  1363.                 RotationZ = MRANDOM(-50, 50) / 50,
  1364.                 Material = "Neon",
  1365.                 Color = C3(1, 0.5, 0.5),
  1366.                 SoundID = nil,
  1367.                 SoundPitch = nil,
  1368.                 SoundVolume = nil
  1369.             })
  1370.             WACKYEFFECT({
  1371.                 Time = 285 + 5 * i,
  1372.                 EffectType = "Round Slash",
  1373.                 Size = VT(3, 0, 3),
  1374.                 Size2 = VT(12, 0, 12),
  1375.                 Transparency = 0.5,
  1376.                 Transparency2 = 1,
  1377.                 CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1378.                 MoveToPos = nil,
  1379.                 RotationX = MRANDOM(-50, 50) / 50,
  1380.                 RotationY = MRANDOM(-50, 50) / 10,
  1381.                 RotationZ = MRANDOM(-50, 50) / 50,
  1382.                 Material = "Neon",
  1383.                 Color = C3(1, 0, 0),
  1384.                 SoundID = nil,
  1385.                 SoundPitch = nil,
  1386.                 SoundVolume = nil
  1387.             })
  1388.             WACKYEFFECT({
  1389.                 Time = 285 + 5 * i,
  1390.                 EffectType = "Sphere",
  1391.                 Size = VT(650, 650, 650),
  1392.                 Size2 = VT(750, 750, 750) + VT(15, 15, 15) * i,
  1393.                 Transparency = 0.5,
  1394.                 Transparency2 = 1,
  1395.                 CFrame = FIREBALL.CFrame,
  1396.                 MoveToPos = nil,
  1397.                 RotationX = 0,
  1398.                 RotationY = 0,
  1399.                 RotationZ = 0,
  1400.                 Material = "Neon",
  1401.                 Color = C3(1, 0, 0),
  1402.                 SoundID = nil,
  1403.                 SoundPitch = 0,
  1404.                 SoundVolume = 0
  1405.             })
  1406.         end
  1407.         wait(1)
  1408.         WACKYEFFECT({
  1409.             Time = 75,
  1410.             EffectType = "Sphere",
  1411.             Size = VT(350, 350, 350),
  1412.             Size2 = VT(4500, 4500, 4500),
  1413.             Transparency = 0.8,
  1414.             Transparency2 = 1,
  1415.             CFrame = FIREBALL.CFrame,
  1416.             MoveToPos = nil,
  1417.             RotationX = 0,
  1418.             RotationY = 0,
  1419.             RotationZ = 0,
  1420.             Material = "Neon",
  1421.             Color = C3(1, 1, 1),
  1422.             SoundID = nil,
  1423.             SoundPitch = 0,
  1424.             SoundVolume = 0
  1425.         })
  1426.         for i = 1, 15 do
  1427.             Swait()
  1428.             ApplyAoE(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, false)
  1429.             WACKYEFFECT({
  1430.                 Time = 85,
  1431.                 EffectType = "Sphere",
  1432.                 Size = VT(75, 75, 75),
  1433.                 Size2 = VT(0, 2500, 0),
  1434.                 Transparency = 0.5,
  1435.                 Transparency2 = 1,
  1436.                 CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1437.                 MoveToPos = nil,
  1438.                 RotationX = MRANDOM(-50, 50) / 10,
  1439.                 RotationY = MRANDOM(-50, 50) / 10,
  1440.                 RotationZ = MRANDOM(-50, 50) / 10,
  1441.                 Material = "Neon",
  1442.                 Color = C3(1, 0, 0),
  1443.                 SoundID = nil,
  1444.                 SoundPitch = nil,
  1445.                 SoundVolume = nil
  1446.             })
  1447.         end
  1448.         FIREBALL:remove()
  1449.     end))
  1450.     WACKYEFFECT({
  1451.         Time = 25,
  1452.         EffectType = "Ring",
  1453.         Size = VT(0, 0, 0),
  1454.         Size2 = VT(3.75, 3.75, 0),
  1455.         Transparency = 0.7,
  1456.         Transparency2 = 1,
  1457.         CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  1458.         MoveToPos = nil,
  1459.         RotationX = 0,
  1460.         RotationY = 0,
  1461.         RotationZ = 0,
  1462.         Material = "Neon",
  1463.         Color = C3(1, 0, 0),
  1464.         SoundID = nil,
  1465.         SoundPitch = nil,
  1466.         SoundVolume = nil
  1467.     })
  1468.     WACKYEFFECT({
  1469.         Time = 50,
  1470.         EffectType = "Ring",
  1471.         Size = VT(0, 0, 0),
  1472.         Size2 = VT(15, 15, 0),
  1473.         Transparency = 0.7,
  1474.         Transparency2 = 1,
  1475.         CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  1476.         MoveToPos = nil,
  1477.         RotationX = 0,
  1478.         RotationY = 0,
  1479.         RotationZ = 0,
  1480.         Material = "Neon",
  1481.         Color = C3(1, 0, 0),
  1482.         SoundID = nil,
  1483.         SoundPitch = nil,
  1484.         SoundVolume = nil
  1485.     })
  1486.     for i = 0, 0.3, 0.1 / Animation_Speed do
  1487.         Swait()
  1488.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1489.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1490.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1491.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1492.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1493.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1494.     end
  1495.     ALLOW = false
  1496.     Rooted = false
  1497. end
  1498.  
  1499. local HATWELD = nil
  1500. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  1501.     PLAYMAINANIM = false
  1502.     if WhichPose == "Cast1" then
  1503.         for i=0, Time, 0.1 / Animation_Speed do
  1504.             Swait()
  1505.             if Magic == true then
  1506.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1507.             end
  1508.             if Gyro ~= nil and Gyro ~= false then
  1509.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1510.             end
  1511.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  1512.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  1513.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1514.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1515.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1516.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1517.         end
  1518.     elseif WhichPose == "Cast2" then
  1519.         for i=0, Time, 0.1 / Animation_Speed do
  1520.             Swait()
  1521.             if Magic == true then
  1522.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1523.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1524.             end
  1525.             if Gyro ~= nil and Gyro ~= false then
  1526.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1527.             end
  1528.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1529.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  1530.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1531.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1532.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1533.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1534.         end
  1535.     elseif WhichPose == "RightArmUp" then
  1536.         for i=0, Time, 0.1 / Animation_Speed do
  1537.             Swait()
  1538.             if Magic == true then
  1539.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1540.             end
  1541.             if Gyro ~= nil and Gyro ~= false then
  1542.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1543.             end
  1544.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  1545.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1546.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1547.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1548.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1549.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1550.         end
  1551.     elseif WhichPose == "Taunt" then
  1552.         for i=0, Time, 0.1 / Animation_Speed do
  1553.             Swait()
  1554.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1555.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  1556.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1557.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1558.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1559.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1560.         end
  1561.         HATWELD.Part0 = RightArm
  1562.         HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  1563.         CreateSound(221057812,Torso,10,1,false)
  1564.         for i=0, Time*2, 0.1 / Animation_Speed do
  1565.             Swait()
  1566.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1567.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  1568.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1569.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1570.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1571.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1572.         end
  1573.         for i=0, Time, 0.1 / Animation_Speed do
  1574.             Swait()
  1575.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1576.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  1577.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1578.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1579.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1580.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1581.             HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  1582.         end
  1583.         HATWELD.Part0 = Head
  1584.         HATWELD.C0 = CF(0,0.35,0)
  1585.     elseif WhichPose == "Prepare key" then
  1586.         for i=0, Time, 0.1 / Animation_Speed do
  1587.             Swait()
  1588.             if Gyro ~= nil and Gyro ~= false then
  1589.                 Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1590.             end
  1591.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  1592.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  1593.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1594.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1595.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1596.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1597.         end
  1598.     elseif WhichPose == "Turn key" then
  1599.         for i=0, Time, 0.1 / Animation_Speed do
  1600.             Swait()
  1601.             if Gyro ~= nil and Gyro ~= false then
  1602.                 Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1603.             end
  1604.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  1605.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  1606.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1607.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1608.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1609.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1610.         end
  1611.     end
  1612.     PLAYMAINANIM = true
  1613. end
  1614. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1615.     local Direction = CFrame.new(StartPos, Vec).lookVector
  1616.     local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1617.     local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1618.     if RayHit and CheckIntangible(RayHit) then
  1619.         if DelayIfHit then
  1620.             wait()
  1621.         end
  1622.         RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1623.     end
  1624.     return RayHit, RayPos, RayNormal
  1625. end
  1626.  
  1627. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  1628.     if DoesCourontine == false then
  1629.         local Direction = CF(Part.Position,ToLocation)
  1630.         local Distance = (Part.Position - ToLocation).magnitude
  1631.         for i = 1, AmountOfTime do
  1632.             Swait()
  1633.             Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1634.             Direction = Part.CFrame
  1635.         end
  1636.         Part:remove()
  1637.     elseif DoesCourontine == true then
  1638.         coroutine.resume(coroutine.create(function()
  1639.             local Direction = CF(Part.Position,ToLocation)
  1640.             local Distance = (Part.Position - ToLocation).magnitude
  1641.             for i = 1, AmountOfTime do
  1642.                 Swait()
  1643.                 Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1644.                 Direction = Part.CFrame
  1645.             end
  1646.             Part:remove()
  1647.         end))
  1648.     end
  1649. end
  1650.  
  1651. function turnto(position)
  1652.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1653. end
  1654. function CFrameFromTopBack(at, top, back)
  1655.     local right = top:Cross(back)
  1656.     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)
  1657. end
  1658.  
  1659. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1660.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1661.     wave.Color = COLOR
  1662.     local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1663.     wave.CFrame = CFRAME
  1664.     coroutine.resume(coroutine.create(function(PART)
  1665.         for i = 1, WAIT do
  1666.             Swait()
  1667.             mesh.Scale = mesh.Scale + GROW
  1668.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1669.             if DOESROT == true then
  1670.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1671.             end
  1672.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  1673.             if wave.Transparency > 0.99 then
  1674.                 wave:remove()
  1675.             end
  1676.         end
  1677.     end))
  1678. end
  1679.  
  1680. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1681.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1682.     wave.Color = COLOR
  1683.     local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  1684.     wave.CFrame = CFRAME
  1685.     coroutine.resume(coroutine.create(function(PART)
  1686.         for i = 1, WAIT do
  1687.             Swait()
  1688.             mesh.Scale = mesh.Scale + GROW
  1689.             wave.Transparency = wave.Transparency + (1/WAIT)
  1690.             if wave.Transparency > 0.99 then
  1691.                 wave:remove()
  1692.             end
  1693.         end
  1694.     end))
  1695. end
  1696. function Attack3()
  1697. wait()
  1698.     if Mouse.Target ~= nil then
  1699. wait()
  1700.         if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1701.             local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1702.             local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1703.             local GYRO = IT("BodyGyro",RootPart)
  1704.             GYRO.D = 750
  1705.             GYRO.P = 20000
  1706.             GYRO.MaxTorque = VT(0,40000000,0)
  1707.             local grav = Instance.new("BodyPosition",TORSO)
  1708.             grav.D = 15
  1709.             grav.P = 20000
  1710.             grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1711.             grav.position = TORSO.Position
  1712.             local GYRO2 = IT("BodyGyro",TORSO)
  1713.             GYRO2.D = 750
  1714.             GYRO2.P = 20000
  1715.             GYRO2.MaxTorque = VT(0,40000000,0)
  1716.             GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1717.             grav.Name = "Jail"
  1718.             local LOCKPARTS = {}
  1719.             ATTACK = true
  1720.             ALLOW = true
  1721.             Rooted = false
  1722.             local LOCK = IT("Model",Effects)
  1723.             LOCK.Name = "Lock"
  1724.             local LOCK2 = IT("Model",LOCK)
  1725.             LOCK2.Name = "Metal"
  1726.             --CREATE LOCK--
  1727.                 local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  1728.                 LOCK.PrimaryPart = BASE
  1729.                 BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  1730.                 local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  1731.                 PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  1732.                 MakeForm(PRT,"Cyl")
  1733.                 local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  1734.                 PRT.Color = C3(0,0,0)
  1735.                 PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  1736.                 MakeForm(PRT,"Cyl")
  1737.                 local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  1738.                 PRT.Color = C3(0,0,0)
  1739.                 PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  1740.                 for i = 1, 45 do
  1741.                     local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  1742.                     PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  1743.                 end
  1744.                 local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  1745.                 PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  1746.                 LOCK2.PrimaryPart = PRT
  1747.             ---------------
  1748.             local CHILDREN = LOCK:GetDescendants()
  1749.             for index, CHILD in pairs(CHILDREN) do
  1750.                 if CHILD:IsA("BasePart") then
  1751.                     CHILD.Transparency = 1
  1752.                 end
  1753.             end
  1754.             for i = 1, 75 do
  1755.                 LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  1756.                 Swait()
  1757.                 GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1758.                 GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1759.                 local CHILDREN = LOCK:GetDescendants()
  1760.                 for index, CHILD in pairs(CHILDREN) do
  1761.                     if CHILD:IsA("BasePart") then
  1762.                         CHILD.Transparency = CHILD.Transparency - 1/75
  1763.                     end
  1764.                 end
  1765.             end
  1766.             HUM.DisplayDistanceType = "None"
  1767.             local KEY = IT("Model",Effects)
  1768.             KEY.Name = "Key"
  1769.             --CREATE KEY--
  1770.                 local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "KeyBase", VT(0.1, 1, 0.1),false)
  1771.                 KEY.PrimaryPart = KBASE
  1772.                 KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  1773.                 local WLD = weldBetween(RightArm,KBASE)
  1774.                 for i = 1, 45 do
  1775.                     local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.1, 0.1, 0.1),false)
  1776.                     PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  1777.                     weldBetween(KBASE,PRT)
  1778.                 end
  1779.                 local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
  1780.                 PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  1781.                 weldBetween(KBASE,PRT)
  1782.                 local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
  1783.                 PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  1784.                 weldBetween(KBASE,PRT)
  1785.             --------------
  1786.             Rooted = true
  1787.             Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  1788.             coroutine.resume(coroutine.create(function()
  1789.                 for i = 1, 10 do
  1790.                     Swait()
  1791.                     GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1792.                     GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1793.                 end
  1794.                 CreateSound(1149318312,BASE,5,1,false)
  1795.                 CreateSound(160772554,BASE,3,1,false)
  1796.                 LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  1797.                 for i = 1, 4 do
  1798.                     WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1799.                 end
  1800.                 WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  1801.                 wait(1)
  1802.                 TORSO.Parent.Parent = LOCK
  1803.                 for i = 1, 75 do
  1804.                     Swait()
  1805.                     local CHILDREN = KEY:GetDescendants()
  1806.                     for index, CHILD in pairs(CHILDREN) do
  1807.                         if CHILD:IsA("BasePart") then
  1808.                             CHILD.Transparency = i/25
  1809.                         end
  1810.                     end
  1811.                     local CHILDREN = LOCK:GetDescendants()
  1812.                     for index, CHILD in pairs(CHILDREN) do
  1813.                         if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  1814.                             CHILD.Transparency = CHILD.Transparency + 1/75
  1815.                         elseif CHILD.ClassName == "Decal" then
  1816.                             CHILD.Transparency = CHILD.Transparency + 1/75
  1817.                         end
  1818.                     end
  1819.                 end
  1820.                 TORSO.Parent:ClearAllChildren()
  1821.                 KEY:remove()
  1822.                 LOCK:remove()
  1823.             end))
  1824.             Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  1825.             GYRO:remove()
  1826.             ATTACK = false
  1827.             ALLOW = false
  1828.             Rooted = false
  1829.         end
  1830.     end
  1831. end
  1832. ------------------------
  1833. function MouseDown(Mouse)
  1834.     HOLD = true
  1835.     if ATTACK == false then
  1836.     end
  1837. end
  1838.  
  1839. function MouseUp(Mouse)
  1840. HOLD = false
  1841. end
  1842.  
  1843. function KeyDown(Key)
  1844.     KEYHOLD = true
  1845.     if Key == "z" and ALLOW == false then
  1846.         Attack1()
  1847.     end
  1848.  
  1849.     if Key == "x" and ALLOW == false then
  1850.         Attack3()
  1851.     end
  1852.  
  1853.     if Key == "c" and ALLOW == false then
  1854.         Attack2()
  1855.     end
  1856.  
  1857.     if Key == "v" and ALLOW == false then
  1858.  
  1859.     end
  1860.  
  1861.     if Key == "x" and ALLOW == false then
  1862.  
  1863.     end
  1864.    
  1865.     if Key == "q" and ALLOW == false then
  1866.         Warp()
  1867.     end
  1868.  
  1869.     if Key == "t" and ALLOW == false then
  1870.         Taunt()
  1871.        end
  1872.     end
  1873.  
  1874. function KeyUp(Key)
  1875.     KEYHOLD = false
  1876. end
  1877.  
  1878.     Mouse.Button1Down:connect(function(NEWKEY)
  1879.         MouseDown(NEWKEY)
  1880.     end)
  1881.     Mouse.Button1Up:connect(function(NEWKEY)
  1882.         MouseUp(NEWKEY)
  1883.     end)
  1884.     Mouse.KeyDown:connect(function(NEWKEY)
  1885.         KeyDown(NEWKEY)
  1886.     end)
  1887.     Mouse.KeyUp:connect(function(NEWKEY)
  1888.         KeyUp(NEWKEY)
  1889.     end)
  1890.  
  1891. --//=================================\\
  1892. --\\=================================//
  1893.  
  1894.  
  1895. function unanchor()
  1896.     if UNANCHOR == true then
  1897.         g = Character:GetChildren()
  1898.         for i = 1, #g do
  1899.             if g[i].ClassName == "Part" then
  1900.                 g[i].Anchored = false
  1901.             end
  1902.         end
  1903.     end
  1904. end
  1905. --//=================================\\
  1906. --||    WRAP THE WHOLE SCRIPT UP
  1907. --\\=================================//
  1908.  
  1909. Humanoid.Changed:connect(function(Jump)
  1910.     if Jump == "Jump" and (Disable_Jump == true) then
  1911.         Humanoid.Jump = false
  1912.     end
  1913. end)
  1914.  
  1915. Humanoid.HipHeight = 2
  1916. local FF = IT("ForceField",Character)
  1917. FF.Visible = false
  1918. Speed = 35
  1919.  
  1920. local FOUNDFORGOTTEN = false
  1921.  
  1922. while true do
  1923.     Swait()
  1924.     refit()
  1925. Humanoid.HipHeight = 2
  1926.     ANIMATE.Parent = nil
  1927.     local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1928.     IDLEANIMATION:Play()
  1929.     SINE = SINE + CHANGE
  1930.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1931.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1932.     local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1933.     local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  1934.     if ATTACK == false then
  1935.         if TORSOVELOCITY < 1 then
  1936.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1937.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1938.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1939.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1940.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1941.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1942.         elseif TORSOVELOCITY > 1 then
  1943.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1944.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1945.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1946.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1947.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1948.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1949.         end
  1950.     end
  1951.     unanchor()
  1952.     Humanoid.MaxHealth = "inf"
  1953.     Humanoid.Health = "inf"
  1954.     if Rooted == false then
  1955.         Disable_Jump = false
  1956.         Humanoid.WalkSpeed = Speed
  1957.     elseif Rooted == true then
  1958.         Disable_Jump = true
  1959.         Humanoid.WalkSpeed = 0
  1960.     end
  1961.     FF.Parent = Character
  1962.     sick.Parent = Character
  1963.     refit()
  1964.     script.Parent = WEAPONGUI
  1965.     Character.Parent = workspace
  1966.     Humanoid.PlatformStand = false
  1967.     Humanoid.Name = "TheBattlements"
  1968.     for _, c in pairs(game.Players:GetChildren()) do
  1969.         if c.Character ~= nil then
  1970.             if c.Character.Parent ~= workspace and c.Character.Parent ~= nil then
  1971.                 c.Character:BreakJoints()
  1972.             end
  1973.         end
  1974.     end
  1975.     FOUNDFORGOTTEN = false
  1976.     Humanoid.DisplayDistanceType = "None"
  1977.     for _, c in pairs(workspace:GetChildren()) do
  1978.         if c.ClassName == "Model" then
  1979.             for _, q in pairs(c:GetChildren()) do
  1980.                 if q.Name == ("Forgotten Dominus") then
  1981.                     FOUNDFORGOTTEN = true
  1982.                 end
  1983.             end
  1984.         end
  1985.     end
  1986.     if FOUNDFORGOTTEN == true then
  1987.         sick:Stop()
  1988.     else
  1989.         sick.Playing = true
  1990.     end
  1991.     if VALUE1 == false then
  1992.  
  1993.     end
  1994. end
  1995.  
  1996. --//=================================\\
  1997. --\\=================================//
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003. --//====================================================\\--
  2004. --||                     END OF SCRIPT
  2005. --\\====================================================//--
  2006. wait()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement