SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 3 | do | |
| 4 | print("FE Compatibility code by Mokiros")
| |
| 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 | --|| CREATED BY SHACKLUSTER | |
| 85 | --\\====================================================//-- | |
| 86 | ||
| 87 | wait(0.2) | |
| 88 | ||
| 89 | Player = owner | |
| 90 | PlayerGui = Player.PlayerGui | |
| 91 | Cam = workspace.CurrentCamera | |
| 92 | Backpack = Player.Backpack | |
| 93 | Character = Player.Character | |
| 94 | Humanoid = Character.Humanoid | |
| 95 | RootPart = Character["HumanoidRootPart"] | |
| 96 | Torso = Character["Torso"] | |
| 97 | Head = Character["Head"] | |
| 98 | RightArm = Character["Right Arm"] | |
| 99 | LeftArm = Character["Left Arm"] | |
| 100 | RightLeg = Character["Right Leg"] | |
| 101 | LeftLeg = Character["Left Leg"] | |
| 102 | RootJoint = RootPart["RootJoint"] | |
| 103 | Neck = Torso["Neck"] | |
| 104 | RightShoulder = Torso["Right Shoulder"] | |
| 105 | LeftShoulder = Torso["Left Shoulder"] | |
| 106 | RightHip = Torso["Right Hip"] | |
| 107 | LeftHip = Torso["Left Hip"] | |
| 108 | local sick = Instance.new("Sound",Torso)
| |
| 109 | sick.SoundId = "rbxassetid://152000442" | |
| 110 | sick.Looped = true | |
| 111 | sick.Pitch = 1 | |
| 112 | sick.Volume = 1 | |
| 113 | sick:Play() | |
| 114 | ||
| 115 | IT = Instance.new | |
| 116 | CF = CFrame.new | |
| 117 | VT = Vector3.new | |
| 118 | RAD = math.rad | |
| 119 | C3 = Color3.new | |
| 120 | UD2 = UDim2.new | |
| 121 | BRICKC = BrickColor.new | |
| 122 | ANGLES = CFrame.Angles | |
| 123 | EULER = CFrame.fromEulerAnglesXYZ | |
| 124 | COS = math.cos | |
| 125 | ACOS = math.acos | |
| 126 | SIN = math.sin | |
| 127 | ASIN = math.asin | |
| 128 | ABS = math.abs | |
| 129 | MRANDOM = math.random | |
| 130 | FLOOR = math.floor | |
| 131 | ||
| 132 | --//=================================\\ | |
| 133 | --|| USEFUL VALUES | |
| 134 | --\\=================================// | |
| 135 | ||
| 136 | Animation_Speed = 3 | |
| 137 | Humanoid.HipHeight = 1 | |
| 138 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
| 139 | local Speed = 75 | |
| 140 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 141 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 142 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
| 143 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
| 144 | local DAMAGEMULTIPLIER = 1 | |
| 145 | local ANIM = "Idle" | |
| 146 | local ATTACK = false | |
| 147 | local EQUIPPED = false | |
| 148 | local HOLD = false | |
| 149 | local COMBO = 1 | |
| 150 | local Rooted = false | |
| 151 | local SINE = 0 | |
| 152 | local KEYHOLD = false | |
| 153 | local CHANGE = 2 / Animation_Speed | |
| 154 | local WALKINGANIM = false | |
| 155 | local VALUE1 = false | |
| 156 | local VALUE2 = false | |
| 157 | local ROBLOXIDLEANIMATION = IT("Animation")
| |
| 158 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
| 159 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 160 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
| 161 | local WEAPONGUI = IT("ScreenGui", PlayerGui)
| |
| 162 | WEAPONGUI.Name = "Weapon GUI" | |
| 163 | local Weapon = IT("Model")
| |
| 164 | Weapon.Name = "Adds" | |
| 165 | local Effects = IT("Folder", Weapon)
| |
| 166 | Effects.Name = "Effects" | |
| 167 | local ANIMATOR = Humanoid.Animator | |
| 168 | local ANIMATE = Character.Animate | |
| 169 | local UNANCHOR = true | |
| 170 | local FORCEWINGS = false | |
| 171 | ||
| 172 | --//=================================\\ | |
| 173 | --\\=================================// | |
| 174 | ||
| 175 | ||
| 176 | --//=================================\\ | |
| 177 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
| 178 | --\\=================================// | |
| 179 | ||
| 180 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 181 | ArtificialHB.Name = "ArtificialHB" | |
| 182 | ||
| 183 | script:WaitForChild("ArtificialHB")
| |
| 184 | ||
| 185 | frame = Frame_Speed | |
| 186 | tf = 0 | |
| 187 | allowframeloss = false | |
| 188 | tossremainder = false | |
| 189 | lastframe = tick() | |
| 190 | script.ArtificialHB:Fire() | |
| 191 | ||
| 192 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 193 | tf = tf + s | |
| 194 | if tf >= frame then | |
| 195 | if allowframeloss then | |
| 196 | script.ArtificialHB:Fire() | |
| 197 | lastframe = tick() | |
| 198 | else | |
| 199 | for i = 1, math.floor(tf / frame) do | |
| 200 | script.ArtificialHB:Fire() | |
| 201 | end | |
| 202 | lastframe = tick() | |
| 203 | end | |
| 204 | if tossremainder then | |
| 205 | tf = 0 | |
| 206 | else | |
| 207 | tf = tf - frame * math.floor(tf / frame) | |
| 208 | end | |
| 209 | end | |
| 210 | end) | |
| 211 | ||
| 212 | --//=================================\\ | |
| 213 | --\\=================================// | |
| 214 | ||
| 215 | --//=================================\\ | |
| 216 | --|| SOME FUNCTIONS | |
| 217 | --\\=================================// | |
| 218 | ||
| 219 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 220 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 221 | end | |
| 222 | ||
| 223 | function PositiveAngle(NUMBER) | |
| 224 | if NUMBER >= 0 then | |
| 225 | NUMBER = 0 | |
| 226 | end | |
| 227 | return NUMBER | |
| 228 | end | |
| 229 | ||
| 230 | function NegativeAngle(NUMBER) | |
| 231 | if NUMBER <= 0 then | |
| 232 | NUMBER = 0 | |
| 233 | end | |
| 234 | return NUMBER | |
| 235 | end | |
| 236 | ||
| 237 | function Swait(NUMBER) | |
| 238 | if NUMBER == 0 or NUMBER == nil then | |
| 239 | ArtificialHB.Event:wait() | |
| 240 | else | |
| 241 | for i = 1, NUMBER do | |
| 242 | ArtificialHB.Event:wait() | |
| 243 | end | |
| 244 | end | |
| 245 | end | |
| 246 | ||
| 247 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 248 | local NEWMESH = IT(MESH) | |
| 249 | if MESH == "SpecialMesh" then | |
| 250 | NEWMESH.MeshType = MESHTYPE | |
| 251 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 252 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 253 | end | |
| 254 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 255 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 256 | end | |
| 257 | end | |
| 258 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 259 | NEWMESH.Scale = SCALE | |
| 260 | NEWMESH.Parent = PARENT | |
| 261 | return NEWMESH | |
| 262 | end | |
| 263 | ||
| 264 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
| 265 | local NEWPART = IT("Part")
| |
| 266 | NEWPART.formFactor = FORMFACTOR | |
| 267 | NEWPART.Reflectance = REFLECTANCE | |
| 268 | NEWPART.Transparency = TRANSPARENCY | |
| 269 | NEWPART.CanCollide = false | |
| 270 | NEWPART.Locked = true | |
| 271 | NEWPART.Anchored = true | |
| 272 | if ANCHOR == false then | |
| 273 | NEWPART.Anchored = false | |
| 274 | end | |
| 275 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
| 276 | NEWPART.Name = NAME | |
| 277 | NEWPART.Size = SIZE | |
| 278 | NEWPART.Position = Torso.Position | |
| 279 | NEWPART.Material = MATERIAL | |
| 280 | NEWPART:BreakJoints() | |
| 281 | NEWPART.Parent = PARENT | |
| 282 | return NEWPART | |
| 283 | end | |
| 284 | ||
| 285 | function QuaternionFromCFrame(cf) | |
| 286 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 287 | local trace = m00 + m11 + m22 | |
| 288 | if trace > 0 then | |
| 289 | local s = math.sqrt(1 + trace) | |
| 290 | local recip = 0.5 / s | |
| 291 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 292 | else | |
| 293 | local i = 0 | |
| 294 | if m11 > m00 then | |
| 295 | i = 1 | |
| 296 | end | |
| 297 | if m22 > (i == 0 and m00 or m11) then | |
| 298 | i = 2 | |
| 299 | end | |
| 300 | if i == 0 then | |
| 301 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 302 | local recip = 0.5 / s | |
| 303 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 304 | elseif i == 1 then | |
| 305 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 306 | local recip = 0.5 / s | |
| 307 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 308 | elseif i == 2 then | |
| 309 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 310 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 311 | end | |
| 312 | end | |
| 313 | end | |
| 314 | ||
| 315 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 316 | local xs, ys, zs = x + x, y + y, z + z | |
| 317 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 318 | local xx = x * xs | |
| 319 | local xy = x * ys | |
| 320 | local xz = x * zs | |
| 321 | local yy = y * ys | |
| 322 | local yz = y * zs | |
| 323 | local zz = z * zs | |
| 324 | 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)) | |
| 325 | end | |
| 326 | ||
| 327 | function QuaternionSlerp(a, b, t) | |
| 328 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 329 | local startInterp, finishInterp; | |
| 330 | if cosTheta >= 0.0001 then | |
| 331 | if (1 - cosTheta) > 0.0001 then | |
| 332 | local theta = ACOS(cosTheta) | |
| 333 | local invSinTheta = 1 / SIN(theta) | |
| 334 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
| 335 | finishInterp = SIN(t * theta) * invSinTheta | |
| 336 | else | |
| 337 | startInterp = 1 - t | |
| 338 | finishInterp = t | |
| 339 | end | |
| 340 | else | |
| 341 | if (1 + cosTheta) > 0.0001 then | |
| 342 | local theta = ACOS(-cosTheta) | |
| 343 | local invSinTheta = 1 / SIN(theta) | |
| 344 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
| 345 | finishInterp = SIN(t * theta) * invSinTheta | |
| 346 | else | |
| 347 | startInterp = t - 1 | |
| 348 | finishInterp = t | |
| 349 | end | |
| 350 | end | |
| 351 | 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 | |
| 352 | end | |
| 353 | ||
| 354 | function Clerp(a, b, t) | |
| 355 | local qa = {QuaternionFromCFrame(a)}
| |
| 356 | local qb = {QuaternionFromCFrame(b)}
| |
| 357 | local ax, ay, az = a.x, a.y, a.z | |
| 358 | local bx, by, bz = b.x, b.y, b.z | |
| 359 | local _t = 1 - t | |
| 360 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 361 | end | |
| 362 | ||
| 363 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
| 364 | local frame = IT("Frame")
| |
| 365 | frame.BackgroundTransparency = TRANSPARENCY | |
| 366 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
| 367 | frame.Position = POSITION | |
| 368 | frame.Size = SIZE | |
| 369 | frame.BackgroundColor3 = COLOR | |
| 370 | frame.BorderColor3 = BORDERCOLOR | |
| 371 | frame.Name = NAME | |
| 372 | frame.Parent = PARENT | |
| 373 | return frame | |
| 374 | end | |
| 375 | ||
| 376 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
| 377 | local label = IT("TextLabel")
| |
| 378 | label.BackgroundTransparency = 1 | |
| 379 | label.Size = UD2(1, 0, 1, 0) | |
| 380 | label.Position = UD2(0, 0, 0, 0) | |
| 381 | label.TextColor3 = TEXTCOLOR | |
| 382 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
| 383 | label.TextTransparency = TRANSPARENCY | |
| 384 | label.FontSize = TEXTFONTSIZE | |
| 385 | label.Font = TEXTFONT | |
| 386 | label.BorderSizePixel = BORDERSIZEPIXEL | |
| 387 | label.TextScaled = false | |
| 388 | label.Text = TEXT | |
| 389 | label.Name = NAME | |
| 390 | label.Parent = PARENT | |
| 391 | return label | |
| 392 | end | |
| 393 | ||
| 394 | function NoOutlines(PART) | |
| 395 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 396 | end | |
| 397 | ||
| 398 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
| 399 | local NEWWELD = IT(TYPE) | |
| 400 | NEWWELD.Part0 = PART0 | |
| 401 | NEWWELD.Part1 = PART1 | |
| 402 | NEWWELD.C0 = C0 | |
| 403 | NEWWELD.C1 = C1 | |
| 404 | NEWWELD.Parent = PARENT | |
| 405 | return NEWWELD | |
| 406 | end | |
| 407 | ||
| 408 | local S = IT("Sound")
| |
| 409 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
| 410 | local NEWSOUND = nil | |
| 411 | coroutine.resume(coroutine.create(function() | |
| 412 | NEWSOUND = S:Clone() | |
| 413 | NEWSOUND.Parent = PARENT | |
| 414 | NEWSOUND.Volume = VOLUME | |
| 415 | NEWSOUND.Pitch = PITCH | |
| 416 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 417 | NEWSOUND:play() | |
| 418 | if DOESLOOP == true then | |
| 419 | NEWSOUND.Looped = true | |
| 420 | else | |
| 421 | repeat wait(1) until NEWSOUND.Playing == false | |
| 422 | NEWSOUND:remove() | |
| 423 | end | |
| 424 | end)) | |
| 425 | return NEWSOUND | |
| 426 | end | |
| 427 | ||
| 428 | function CFrameFromTopBack(at, top, back) | |
| 429 | local right = top:Cross(back) | |
| 430 | 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) | |
| 431 | end | |
| 432 | ||
| 433 | --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})
| |
| 434 | function WACKYEFFECT(Table) | |
| 435 | local TYPE = (Table.EffectType or "Sphere") | |
| 436 | local SIZE = (Table.Size or VT(1,1,1)) | |
| 437 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
| 438 | local TRANSPARENCY = (Table.Transparency or 0) | |
| 439 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
| 440 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
| 441 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
| 442 | local ROTATION1 = (Table.RotationX or 0) | |
| 443 | local ROTATION2 = (Table.RotationY or 0) | |
| 444 | local ROTATION3 = (Table.RotationZ or 0) | |
| 445 | local MATERIAL = (Table.Material or "Neon") | |
| 446 | local COLOR = (Table.Color or C3(1,1,1)) | |
| 447 | local TIME = (Table.Time or 45) | |
| 448 | local SOUNDID = (Table.SoundID or nil) | |
| 449 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
| 450 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
| 451 | coroutine.resume(coroutine.create(function() | |
| 452 | local PLAYSSOUND = false | |
| 453 | local SOUND = nil | |
| 454 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
| |
| 455 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
| 456 | PLAYSSOUND = true | |
| 457 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
| 458 | end | |
| 459 | EFFECT.Color = COLOR | |
| 460 | local MSH = nil | |
| 461 | if TYPE == "Sphere" then | |
| 462 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
| |
| 463 | elseif TYPE == "Block" then | |
| 464 | MSH = IT("BlockMesh",EFFECT)
| |
| 465 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
| 466 | elseif TYPE == "Wave" then | |
| 467 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
| |
| 468 | elseif TYPE == "Ring" then | |
| 469 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
| |
| 470 | elseif TYPE == "Slash" then | |
| 471 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 472 | elseif TYPE == "Round Slash" then | |
| 473 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 474 | elseif TYPE == "Swirl" then | |
| 475 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
| |
| 476 | elseif TYPE == "Skull" then | |
| 477 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
| |
| 478 | elseif TYPE == "Crystal" then | |
| 479 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
| |
| 480 | end | |
| 481 | if MSH ~= nil then | |
| 482 | local MOVESPEED = nil | |
| 483 | if MOVEDIRECTION ~= nil then | |
| 484 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
| 485 | end | |
| 486 | local GROWTH = SIZE - ENDSIZE | |
| 487 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
| 488 | if TYPE == "Block" then | |
| 489 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 490 | else | |
| 491 | EFFECT.CFrame = CFRAME | |
| 492 | end | |
| 493 | for LOOP = 1, TIME+1 do | |
| 494 | Swait() | |
| 495 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
| 496 | if TYPE == "Wave" then | |
| 497 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
| 498 | end | |
| 499 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
| 500 | if TYPE == "Block" then | |
| 501 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 502 | else | |
| 503 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
| 504 | end | |
| 505 | if MOVEDIRECTION ~= nil then | |
| 506 | local ORI = EFFECT.Orientation | |
| 507 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
| 508 | EFFECT.Orientation = ORI | |
| 509 | end | |
| 510 | end | |
| 511 | if PLAYSSOUND == false then | |
| 512 | EFFECT:remove() | |
| 513 | else | |
| 514 | SOUND.Stopped:Connect(function() | |
| 515 | EFFECT:remove() | |
| 516 | end) | |
| 517 | end | |
| 518 | else | |
| 519 | if PLAYSSOUND == false then | |
| 520 | EFFECT:remove() | |
| 521 | else | |
| 522 | repeat Swait() until SOUND.Playing == false | |
| 523 | EFFECT:remove() | |
| 524 | end | |
| 525 | end | |
| 526 | end)) | |
| 527 | end | |
| 528 | ||
| 529 | function MakeForm(PART,TYPE) | |
| 530 | if TYPE == "Cyl" then | |
| 531 | local MSH = IT("CylinderMesh",PART)
| |
| 532 | elseif TYPE == "Ball" then | |
| 533 | local MSH = IT("SpecialMesh",PART)
| |
| 534 | MSH.MeshType = "Sphere" | |
| 535 | elseif TYPE == "Pine" then | |
| 536 | CreateMesh("SpecialMesh", PART, "FileMesh", "1033714", "", PART.Size, VT(0,0,0))
| |
| 537 | end | |
| 538 | end | |
| 539 | ||
| 540 | Debris = game:GetService("Debris")
| |
| 541 | ||
| 542 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
| 543 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
| 544 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
| 545 | end | |
| 546 | ||
| 547 | function turnto(position) | |
| 548 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
| 549 | end | |
| 550 | ||
| 551 | --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
| |
| 552 | function Lightning(Table) | |
| 553 | local Color = Table.Color or C3(1,1,1) | |
| 554 | local StartPos = Table.Start or Torso.Position | |
| 555 | local EndPos = Table.End or Mouse.Hit.p | |
| 556 | local SegmentLength = Table.SegmentL or 2 | |
| 557 | local Thickness = Table.Thickness or 0.1 | |
| 558 | local Dissapear = Table.DoesFade or false | |
| 559 | local Parent = Table.Ignore or Character | |
| 560 | local MaxDist = Table.MaxDist or 400 | |
| 561 | local Branches = Table.Branches or false | |
| 562 | local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent) | |
| 563 | local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength) | |
| 564 | local LIGHTNINGMODEL = IT("Model",Effects)
| |
| 565 | LIGHTNINGMODEL.Name = "Lightning" | |
| 566 | local LastBolt = nil | |
| 567 | for E = 1, DISTANCE do | |
| 568 | local ExtraSize = (DISTANCE-E)/15 | |
| 569 | local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
| |
| 570 | PART.Color = Color | |
| 571 | MakeForm(PART,"Cyl") | |
| 572 | if LastBolt == nil then | |
| 573 | PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
| 574 | else | |
| 575 | PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
| 576 | end | |
| 577 | LastBolt = PART | |
| 578 | if Branches == true then | |
| 579 | local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2)) | |
| 580 | if CHOICE == 1 then | |
| 581 | local LASTBRANCH = nil | |
| 582 | for i = 1, MRANDOM(2,5) do | |
| 583 | local ExtraSize2 = ((DISTANCE-E)/25)/i | |
| 584 | local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
| |
| 585 | PART.Color = Color | |
| 586 | MakeForm(PART,"Cyl") | |
| 587 | if LASTBRANCH == nil then | |
| 588 | PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
| 589 | else | |
| 590 | PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
| 591 | end | |
| 592 | LASTBRANCH = PART | |
| 593 | end | |
| 594 | end | |
| 595 | end | |
| 596 | end | |
| 597 | if Dissapear == true then | |
| 598 | coroutine.resume(coroutine.create(function() | |
| 599 | for i = 1, 30 do | |
| 600 | Swait() | |
| 601 | for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do | |
| 602 | if c.ClassName == "Part" then | |
| 603 | c.Transparency = i/30 | |
| 604 | end | |
| 605 | end | |
| 606 | end | |
| 607 | LIGHTNINGMODEL:remove() | |
| 608 | end)) | |
| 609 | elseif Dissapear == false then | |
| 610 | Debris:AddItem(LIGHTNINGMODEL,0.1) | |
| 611 | end | |
| 612 | return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
| |
| 613 | end | |
| 614 | ||
| 615 | local Particle = IT("ParticleEmitter",nil)
| |
| 616 | Particle.Enabled = false | |
| 617 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(0.7,0),NumberSequenceKeypoint.new(1,1)})
| |
| 618 | Particle.LightEmission = 0.5 | |
| 619 | Particle.Rate = 500 | |
| 620 | Particle.Rotation = NumberRange.new(-180, 180) | |
| 621 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
| 622 | Particle.Texture = "http://www.roblox.com/asset/?id=51349099" | |
| 623 | Particle.Color = ColorSequence.new(C3(1,1,1)) | |
| 624 | ||
| 625 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
| |
| 626 | function ParticleEmitter(Table) | |
| 627 | local PRTCL = Particle:Clone() | |
| 628 | local Speed = Table.Speed or 5 | |
| 629 | local Drag = Table.Drag or 0 | |
| 630 | local Size1 = Table.Size1 or 1 | |
| 631 | local Size2 = Table.Size2 or 5 | |
| 632 | local Lifetime1 = Table.Lifetime1 or 1 | |
| 633 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
| 634 | local Parent = Table.Parent or Torso | |
| 635 | local Emit = Table.Emit or 100 | |
| 636 | local Offset = Table.Offset or 360 | |
| 637 | local Enabled = Table.Enabled or false | |
| 638 | PRTCL.Parent = Parent | |
| 639 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
| 640 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
| 641 | PRTCL.Speed = NumberRange.new(Speed) | |
| 642 | PRTCL.VelocitySpread = Offset | |
| 643 | PRTCL.Drag = Drag | |
| 644 | if Enabled == false then | |
| 645 | PRTCL:Emit(Emit) | |
| 646 | Debris:AddItem(PRTCL,Lifetime2) | |
| 647 | else | |
| 648 | PRTCL.Enabled = true | |
| 649 | end | |
| 650 | return PRTCL | |
| 651 | end | |
| 652 | ||
| 653 | --//=================================\\ | |
| 654 | --|| WEAPON CREATION | |
| 655 | --\\=================================// | |
| 656 | ||
| 657 | local RWING = CreatePart(3, Weapon, "Neon", 0, 1, "Pearl", "Right Wing", (VT(2, 3, 2)*1.5),false) | |
| 658 | RWING.Color = C3(206/255, 163/255, 218/255) | |
| 659 | local RWELD = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, RWING, CF(1 , 2, 0.5), CF(-1.5, 0, 0))
| |
| 660 | local LWING = CreatePart(3, Weapon, "Neon", 0, 1, "Pearl", "Left Wing", (VT(2, 3, 2)*1.5),false) | |
| 661 | LWING.Color = C3(206/255, 163/255, 218/255) | |
| 662 | local LWELD = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, LWING, CF(-1 , 2, 0.5), CF(1.6, 0, 0))
| |
| 663 | CreateMesh("SpecialMesh", RWING, "FileMesh", "90615661", "", VT(1.5,1.5,1.5)*0.8, VT(0,0,0))
| |
| 664 | CreateMesh("SpecialMesh", LWING, "FileMesh", "90615581", "", VT(1.5,1.5,1.5)*0.8, VT(0,0,0))
| |
| 665 | local Mask = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Bright red", "Mask", VT(1,1,1),false) | |
| 666 | CreateMesh("SpecialMesh", Mask, "FileMesh", "395088733", "", VT(0.5,0.5,1), VT(0,0,0))
| |
| 667 | CreateWeldOrSnapOrMotor("Weld", Head, Head, Mask, CF(0,0,-0.5), CF(0, 0, 0))
| |
| 668 | local Mask = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Bright red", "Mask", VT(1.3,0.1,1.3),false) | |
| 669 | MakeForm(Mask,"Cyl") | |
| 670 | CreateWeldOrSnapOrMotor("Weld", Head, Head, Mask, CF(0,0.2,0), CF(0, 0, 0))
| |
| 671 | local Black = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Bright red", "Mask", VT(0.2, 0.7, 0.3),false) | |
| 672 | Black.Color = C3(0,0,0) | |
| 673 | MakeForm(Black,"Ball") | |
| 674 | CreateWeldOrSnapOrMotor("Weld", Head, Head, Black, CF(0,0.05,-0.6), CF(0, 0, 0))
| |
| 675 | local Black = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Bright red", "Mask", VT(1, 0.2, 0.3),false) | |
| 676 | Black.Color = C3(0,0,0) | |
| 677 | MakeForm(Black,"Ball") | |
| 678 | CreateWeldOrSnapOrMotor("Weld", Head, Head, Black, CF(0,0.1,-0.6), CF(0, 0, 0))
| |
| 679 | local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Mask", VT(0.1,0.1,0.1),false) | |
| 680 | MakeForm(Eye,"Ball") | |
| 681 | CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye, CF(0.22,0.1,-0.7), CF(0, 0, 0))
| |
| 682 | local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Mask", VT(0.1,0.1,0.1),false) | |
| 683 | MakeForm(Eye,"Ball") | |
| 684 | CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye, CF(-0.22,0.1,-0.7), CF(0, 0, 0))
| |
| 685 | local Horns = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Horns", VT(1,1,1),false) | |
| 686 | CreateWeldOrSnapOrMotor("Weld", Head, Head, Horns, CF(0,0.6,0.1), CF(0, 0, 0))
| |
| 687 | --704130856 | |
| 688 | local MSH = CreateMesh("SpecialMesh", Horns, "FileMesh", "704130637", "", VT(0.17, 0.17, 0.17), VT(0,0,0))
| |
| 689 | MSH.VertexColor = VT(1, 1, 0.5) | |
| 690 | local MaskPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Bright red", "Mask", VT(0.4,0.4,0.4),false) | |
| 691 | MakeForm(MaskPart,"Ball") | |
| 692 | CreateWeldOrSnapOrMotor("Weld", Head, Head, MaskPart, CF(-0.35,0.35,-0.5), CF(0, 0, 0))
| |
| 693 | local MaskPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Bright red", "Mask", VT(0.4,0.4,0.4),false) | |
| 694 | MakeForm(MaskPart,"Ball") | |
| 695 | CreateWeldOrSnapOrMotor("Weld", Head, Head, MaskPart, CF(0.35,0.35,-0.5), CF(0, 0, 0))
| |
| 696 | ||
| 697 | local Handle = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", "Handle", VT(0.2,1,0.2),false) | |
| 698 | MakeForm(Handle,"Cyl") | |
| 699 | local Grasp = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Handle, CF(0,-1,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 700 | local Bop = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Bop", VT(0.5,0.5,0.5),false) | |
| 701 | MakeForm(Bop,"Ball") | |
| 702 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Bop, CF(0,0.7,0), CF(0, 0, 0))
| |
| 703 | local Part = CreatePart(3, Weapon, "Glass", 0, 0, "Black", "Shield", VT(0.5,0.2,0.5),false) | |
| 704 | MakeForm(Part,"Pine") | |
| 705 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0,-0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 706 | local Part = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", "Shield", VT(0.6,0.3,0.6),false) | |
| 707 | MakeForm(Part,"Pine") | |
| 708 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0,-0.7,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 709 | local Blade = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Blade", VT(0.3,5,0.3),false) | |
| 710 | MakeForm(Blade,"Pine") | |
| 711 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Blade, CF(0,-2.5,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 712 | ||
| 713 | local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Shield", VT(1.05,0.1,1.05),false) | |
| 714 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(0,-0.3,0), CF(0, 0, 0))
| |
| 715 | local ShieldBase = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(2,2,1),false) | |
| 716 | CreateMesh("SpecialMesh", ShieldBase, "FileMesh", "395088733", "", VT(1,1,1), VT(0,0,0))
| |
| 717 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, ShieldBase, CF(-0.5,-0.3,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
| |
| 718 | local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(0,0,0),false) | |
| 719 | CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.95,0.95,1), VT(0,0,0))
| |
| 720 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.4,-0.3,0) * ANGLES(RAD(0), RAD(-90), RAD(0)), CF(0, 0, 0))
| |
| 721 | local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Shield", VT(0,0,0),false) | |
| 722 | CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.95,0.95,1), VT(0,0,0))
| |
| 723 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.515,-0.3,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
| |
| 724 | local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(0,0,0),false) | |
| 725 | CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.7,0.7,1), VT(0,0,0))
| |
| 726 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.6,-0.3,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
| |
| 727 | local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Shield", VT(0,0,0),false) | |
| 728 | CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.5,0.5,1), VT(0,0,0))
| |
| 729 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.65,-0.3,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
| |
| 730 | local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Shield", VT(0.8,2,0.2),false) | |
| 731 | MakeForm(Shield,"Ball") | |
| 732 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.65,-0.3,0), CF(0, 0, 0))
| |
| 733 | local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Shield", VT(0.8,0.2,2),false) | |
| 734 | MakeForm(Shield,"Ball") | |
| 735 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.65,-0.3,0), CF(0, 0, 0))
| |
| 736 | local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Shield", VT(0.8,2,0.3),false) | |
| 737 | MakeForm(Shield,"Ball") | |
| 738 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.6,-0.3,0), CF(0, 0, 0))
| |
| 739 | local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Shield", VT(0.8,0.3,2),false) | |
| 740 | MakeForm(Shield,"Ball") | |
| 741 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.6,-0.3,0), CF(0, 0, 0))
| |
| 742 | ||
| 743 | - | local SKILLTEXTCOLOR = BRICKC"Really black".Color |
| 743 | + | local SKILLTEXTCOLOR = BRICKC"Really red".Color |
| 744 | local SKILLFONT = "SciFi" | |
| 745 | local SKILLTEXTSIZE = 12 | |
| 746 | ||
| 747 | Humanoid.DisplayDistanceType = "None" | |
| 748 | local naeeym2 = IT("BillboardGui",Character)
| |
| 749 | naeeym2.AlwaysOnTop = true | |
| 750 | naeeym2.Size = UDim2.new(5,35,2,15) | |
| 751 | naeeym2.StudsOffset = Vector3.new(0,1.3,0) | |
| 752 | naeeym2.MaxDistance = 75 | |
| 753 | naeeym2.Adornee = Character.Head | |
| 754 | naeeym2.Name = "Name" | |
| 755 | naeeym2.PlayerToHideFrom = Player | |
| 756 | local tecks2 = IT("TextLabel",naeeym2)
| |
| 757 | tecks2.BackgroundTransparency = 1 | |
| 758 | tecks2.TextScaled = true | |
| 759 | tecks2.BorderSizePixel = 0 | |
| 760 | - | tecks2.Text = "The Void Guardian" |
| 760 | + | tecks2.Text = "The True Demon" |
| 761 | tecks2.Font = "SciFi" | |
| 762 | tecks2.TextSize = 30 | |
| 763 | tecks2.TextStrokeTransparency = 0 | |
| 764 | tecks2.TextColor3 = C3(1,1,1) | |
| 765 | tecks2.TextStrokeColor3 = SKILLTEXTCOLOR | |
| 766 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 767 | tecks2.Parent = naeeym2 | |
| 768 | ||
| 769 | for _, c in pairs(Weapon:GetChildren()) do | |
| 770 | if c.ClassName == "Part" then | |
| 771 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 772 | end | |
| 773 | end | |
| 774 | ||
| 775 | Weapon.Parent = Character | |
| 776 | ||
| 777 | Humanoid.Died:connect(function() | |
| 778 | ATTACK = true | |
| 779 | end) | |
| 780 | ||
| 781 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Frame") | |
| 782 | ||
| 783 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[ Z - B - C - V - G - X ]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text") | |
| 784 | ||
| 785 | --//=================================\\ | |
| 786 | --|| DAMAGING | |
| 787 | --\\=================================// | |
| 788 | ||
| 789 | function ApplyDamage(Humanoid,Damage,TorsoPart) | |
| 790 | local defence = Instance.new("BoolValue",Humanoid.Parent)
| |
| 791 | defence.Name = ("HitBy"..Player.Name)
| |
| 792 | game:GetService("Debris"):AddItem(defence, 0.001)
| |
| 793 | Damage = Damage * DAMAGEMULTIPLIER | |
| 794 | if Humanoid.Health ~= 0 then | |
| 795 | local CritChance = MRANDOM(1,100) | |
| 796 | if Damage > Humanoid.Health then | |
| 797 | Damage = math.ceil(Humanoid.Health) | |
| 798 | if Damage == 0 then | |
| 799 | Damage = 0.1 | |
| 800 | end | |
| 801 | end | |
| 802 | Humanoid.Health = Humanoid.Health - Damage | |
| 803 | end | |
| 804 | end | |
| 805 | ||
| 806 | function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,FRAME) | |
| 807 | local CHILDREN = workspace:GetDescendants() | |
| 808 | for index, CHILD in pairs(CHILDREN) do | |
| 809 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
| 810 | if CHILD:FindFirstChild(Player.Name.."Frames") == nil then | |
| 811 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 812 | if HUM then | |
| 813 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 814 | if TORSO then | |
| 815 | if (TORSO.Position - POSITION).Magnitude <= RANGE and HUM.Health > 0 then | |
| 816 | local FRAMES = IT("Folder",CHILD)
| |
| 817 | FRAMES.Name = (Player.Name.."Frames") | |
| 818 | local DMG = 0 | |
| 819 | if MINDMG > 1 then | |
| 820 | DMG = MRANDOM(MINDMG,MAXDMG) | |
| 821 | else | |
| 822 | DMG = MINDMG | |
| 823 | end | |
| 824 | ApplyDamage(HUM,DMG,TORSO) | |
| 825 | CreateSound(12222242, TORSO, 5, 1, false) | |
| 826 | coroutine.resume(coroutine.create(function() | |
| 827 | for _, c in pairs(CHILD:GetDescendants()) do | |
| 828 | if c:IsA("BasePart") then
| |
| 829 | local bv = Instance.new("BodyVelocity")
| |
| 830 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 831 | if POSITION.Y < TORSO.Position.Y then | |
| 832 | bv.velocity = CF(POSITION,TORSO.Position+VT(0,TORSO.Position.Y-POSITION.Y,0)).lookVector*FLING | |
| 833 | else | |
| 834 | bv.velocity = CF(POSITION,TORSO.Position+VT(0,5,0)).lookVector*FLING | |
| 835 | end | |
| 836 | bv.Parent = c | |
| 837 | c.Reflectance = c.Transparency | |
| 838 | c.Transparency = 1 | |
| 839 | Debris:AddItem(bv,0.05) | |
| 840 | end | |
| 841 | end | |
| 842 | if HUM.Health > 0 then | |
| 843 | if FRAME > 0 then | |
| 844 | for i = 1, FRAME do | |
| 845 | for _, c in pairs(CHILD:GetDescendants()) do | |
| 846 | if c:IsA("BasePart") then
| |
| 847 | c.Transparency = c.Reflectance | |
| 848 | c.Reflectance = 0 | |
| 849 | end | |
| 850 | end | |
| 851 | wait() | |
| 852 | for _, c in pairs(CHILD:GetDescendants()) do | |
| 853 | if c:IsA("BasePart") then
| |
| 854 | c.Reflectance = c.Transparency | |
| 855 | c.Transparency = 1 | |
| 856 | end | |
| 857 | end | |
| 858 | wait() | |
| 859 | end | |
| 860 | else | |
| 861 | coroutine.resume(coroutine.create(function() | |
| 862 | HUM.CameraOffset = VT(MRANDOM(-35,35)/65,MRANDOM(-35,35)/65,MRANDOM(-35,35)/65) | |
| 863 | end)) | |
| 864 | TORSO.CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))) | |
| 865 | end | |
| 866 | for _, c in pairs(CHILD:GetDescendants()) do | |
| 867 | if c:IsA("BasePart") then
| |
| 868 | c.Transparency = c.Reflectance | |
| 869 | c.Reflectance = 0 | |
| 870 | end | |
| 871 | end | |
| 872 | else | |
| 873 | for _, c in pairs(CHILD:GetDescendants()) do | |
| 874 | if c:IsA("BasePart") then
| |
| 875 | c.Transparency = c.Reflectance | |
| 876 | c.Reflectance = 0 | |
| 877 | end | |
| 878 | end | |
| 879 | end | |
| 880 | coroutine.resume(coroutine.create(function() | |
| 881 | HUM.CameraOffset = VT(0,0,0) | |
| 882 | end)) | |
| 883 | FRAMES:remove() | |
| 884 | end)) | |
| 885 | end | |
| 886 | end | |
| 887 | end | |
| 888 | end | |
| 889 | end | |
| 890 | end | |
| 891 | end | |
| 892 | ||
| 893 | --//=================================\\ | |
| 894 | --|| ATTACK FUNCTIONS AND STUFF | |
| 895 | --\\=================================// | |
| 896 | ||
| 897 | function X() | |
| 898 | ATTACK = true | |
| 899 | Rooted = true | |
| 900 | local TOAIM = Mouse.Hit.p | |
| 901 | turnto(Mouse.Hit.p) | |
| 902 | local DONE = false | |
| 903 | Humanoid.HipHeight = 5 | |
| 904 | for i=0, 0.2, 0.1 / Animation_Speed do | |
| 905 | Swait() | |
| 906 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed) | |
| 907 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), 0.75 / Animation_Speed) | |
| 908 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 909 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-35), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 910 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(35), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 911 | end | |
| 912 | for i=0, 1.3, 0.1 / Animation_Speed do | |
| 913 | Swait() | |
| 914 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0-0.5 * COS(SINE), 0) * ANGLES(RAD(0), RAD(0), RAD(230)), 0.75 / Animation_Speed) | |
| 915 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-50)), 0.75 / Animation_Speed) | |
| 916 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(35), RAD(-35)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 917 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 918 | end | |
| 919 | CreateSound(1537955136, Blade, 5, 1, false) | |
| 920 | local SLICE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Slash", VT(0,16,0)) | |
| 921 | MakeForm(SLICE,"Ball") | |
| 922 | CreateSound(342793847, SLICE, 5, 3, false) | |
| 923 | SLICE.CFrame = CF(RootPart.CFrame*CF(0,0,4).p,TOAIM) * ANGLES(RAD(0), RAD(0), RAD(-45)) | |
| 924 | --SLICE.Color = C3(100/255, 58/255, 104/255) | |
| 925 | ParticleEmitter({Speed = 2, Drag = 3, Size1 = 0.2, Size2 = 1, Lifetime1 = 1, Lifetime2 = 3, Parent = SLICE, Emit = 15, Offset = 360, Enabled = false})
| |
| 926 | coroutine.resume(coroutine.create(function() | |
| 927 | Swait(35) | |
| 928 | SLICE.Transparency = 0 | |
| 929 | for i = 1, 45 do | |
| 930 | Swait() | |
| 931 | SLICE.Size = SLICE.Size + VT(1+i/45,0,0)/5 | |
| 932 | end | |
| 933 | wait(0.3) | |
| 934 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "SlashBeam", VT(0,0,0)) | |
| 935 | MakeForm(BEAM,"Cyl") | |
| 936 | BEAM.Color = SLICE.Color | |
| 937 | local AIMHIT,AIMPOS = CastProperRay(SLICE.Position,TOAIM,750,Character) | |
| 938 | local DISTANCE = (SLICE.Position - AIMPOS).Magnitude | |
| 939 | BEAM.CFrame = CF(SLICE.Position,AIMPOS)*CF(0,0,-(DISTANCE/2)-7.5)*ANGLES(RAD(90),RAD(0),RAD(0)) | |
| 940 | BEAM.Size = VT(0,DISTANCE+15,0) | |
| 941 | BEAM.Mesh.Scale = VT(1.8,1,1.8) | |
| 942 | local BOP = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Bop", VT(0,0,0)) | |
| 943 | MakeForm(BOP,"Ball") | |
| 944 | BOP.Color = SLICE.Color | |
| 945 | BOP.CFrame = BEAM.CFrame*CF(0,-BEAM.Size.Y/2,0) | |
| 946 | wait(0.1) | |
| 947 | local SIZE = SLICE.Size.X | |
| 948 | local SOUND = CreateSound(415700134, SLICE, 10, 1, false) | |
| 949 | local PRT = ParticleEmitter({Speed = 0, Drag = 0, Size1 = 0.3, Size2 = 0.7, Lifetime1 = 1, Lifetime2 = 1.5, Parent = BEAM, Emit = 100, Offset = 360, Enabled = true})
| |
| 950 | PRT.ZOffset = 12 | |
| 951 | for i = 1, 25 do | |
| 952 | Swait() | |
| 953 | for i = 1, math.ceil(BEAM.Size.Y/5) do | |
| 954 | ApplyAoE(BEAM.CFrame*CF(0,BEAM.Size.Y/2-i*5,0).p,BEAM.Size.X/1.5,1,1,5,0) | |
| 955 | end | |
| 956 | BEAM.Size = BEAM.Size + VT(SIZE/25,0,SIZE/25)/1.8 | |
| 957 | BOP.Size = BOP.Size + VT(SIZE/25,SIZE/25,SIZE/25) | |
| 958 | Humanoid.CameraOffset = VT(MRANDOM(-35,35)/65,MRANDOM(-35,35)/65,MRANDOM(-35,35)/65) | |
| 959 | end | |
| 960 | repeat | |
| 961 | Swait() | |
| 962 | BOP.CFrame = BEAM.CFrame*CF(0,-BEAM.Size.Y/2,0) | |
| 963 | --Lightning({Color = SLICE.Color, Start = SLICE.Position, End = SLICE.CFrame*CF(0,0,-15)*CF(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15)).p, SegmentL = 2, Thickness = 0.3, DoesFade = true, Ignore = workspace, MaxDist = 45, Branches = false})
| |
| 964 | SOUND.Parent = SLICE | |
| 965 | for i = 1, math.ceil(BEAM.Size.Y/5) do | |
| 966 | ApplyAoE(BEAM.CFrame*CF(0,BEAM.Size.Y/2-i*5,0).p,BEAM.Size.X/1.5,1,1,5,0) | |
| 967 | end | |
| 968 | Humanoid.CameraOffset = VT(MRANDOM(-35,35)/65,MRANDOM(-35,35)/65,MRANDOM(-35,35)/65) | |
| 969 | until SOUND.Playing == false | |
| 970 | BOP:remove() | |
| 971 | BEAM:remove() | |
| 972 | DONE = true | |
| 973 | Humanoid.CameraOffset = VT(0,0,0) | |
| 974 | for i = 1, 45 do | |
| 975 | Swait() | |
| 976 | SLICE.Size = SLICE.Size - VT(1+i/45,0,0)/5 | |
| 977 | end | |
| 978 | SLICE:remove() | |
| 979 | end)) | |
| 980 | for i=0, 1, 0.1 / Animation_Speed do | |
| 981 | Swait() | |
| 982 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(40), RAD(0), RAD(0)), 3 / Animation_Speed) | |
| 983 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(130)), 3 / Animation_Speed) | |
| 984 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 3 / Animation_Speed) | |
| 985 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(-75), RAD(45)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
| 986 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
| 987 | end | |
| 988 | FORCEWINGS = true | |
| 989 | for i = 1, 200 do | |
| 990 | Swait() | |
| 991 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed) | |
| 992 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(180+i)) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(i, -i, i*5), 0.75 / Animation_Speed) | |
| 993 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 994 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-35), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 995 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(35), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 996 | end | |
| 997 | repeat wait() until DONE == true | |
| 998 | RootJoint.C0 = CF(0,300,0) | |
| 999 | Humanoid.HipHeight = 1 | |
| 1000 | for i = 1, 50 do | |
| 1001 | Swait() | |
| 1002 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(40), RAD(0), RAD(0)), 3 / Animation_Speed) | |
| 1003 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0), 0.25 / Animation_Speed) | |
| 1004 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1005 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-35), RAD(32)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1006 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(35), RAD(-32)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1007 | end | |
| 1008 | ATTACK = false | |
| 1009 | Rooted = false | |
| 1010 | FORCEWINGS = false | |
| 1011 | end | |
| 1012 | function Intro() | |
| 1013 | ATTACK = true | |
| 1014 | Rooted = true | |
| 1015 | for i=0, 0.2, 0.1 / Animation_Speed do | |
| 1016 | Swait() | |
| 1017 | LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.7, 0.85) * ANGLES(RAD(0), RAD(-15), RAD(0)), 0.75 / Animation_Speed) | |
| 1018 | RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.7, 0.85) * ANGLES(RAD(0), RAD(15), RAD(0)), 0.75 / Animation_Speed) | |
| 1019 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(50)), 0.75 / Animation_Speed) | |
| 1020 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-50)), 0.75 / Animation_Speed) | |
| 1021 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(35), RAD(-35)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1022 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1023 | end | |
| 1024 | for i=0, 3, 0.1 / Animation_Speed do | |
| 1025 | Swait() | |
| 1026 | LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.7, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1027 | RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.7, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1028 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0-0.5 * COS(SINE), 0, 0) * ANGLES(RAD(0), RAD(0), RAD(50)), 0.75 / Animation_Speed) | |
| 1029 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-50)), 0.75 / Animation_Speed) | |
| 1030 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(35), RAD(-35)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1031 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1032 | end | |
| 1033 | CreateSound(1537955136, Blade, 5, 1, false) | |
| 1034 | RWING.Transparency = 0 | |
| 1035 | LWING.Transparency = 0 | |
| 1036 | for i = 1, 15 do | |
| 1037 | Swait() | |
| 1038 | LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.7, 0.55) * ANGLES(RAD(0), RAD(15), RAD(0)), 0.75 / Animation_Speed) | |
| 1039 | RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.7, 0.55) * ANGLES(RAD(0), RAD(-15), RAD(0)), 0.75 / Animation_Speed) | |
| 1040 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-50-((i/15)*360))), 0.75 / Animation_Speed) | |
| 1041 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(50)), 0.75 / Animation_Speed) | |
| 1042 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1043 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1044 | end | |
| 1045 | for i = 1, 15 do | |
| 1046 | Swait() | |
| 1047 | LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.7, 0.55) * ANGLES(RAD(0), RAD(15), RAD(0)), 0.75 / Animation_Speed) | |
| 1048 | RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.7, 0.55) * ANGLES(RAD(0), RAD(-15), RAD(0)), 0.75 / Animation_Speed) | |
| 1049 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-50)), 0.75 / Animation_Speed) | |
| 1050 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(50)), 0.75 / Animation_Speed) | |
| 1051 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1052 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1053 | end | |
| 1054 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1055 | Swait() | |
| 1056 | LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.5, 0.85) * ANGLES(RAD(-25), RAD(65), RAD(0)), 0.75 / Animation_Speed) | |
| 1057 | RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.5, 0.85) * ANGLES(RAD(-25), RAD(-65), RAD(0)), 0.75 / Animation_Speed) | |
| 1058 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1059 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1060 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1061 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1062 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(80), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1063 | end | |
| 1064 | ATTACK = false | |
| 1065 | Rooted = false | |
| 1066 | end | |
| 1067 | function Z() | |
| 1068 | ATTACK = true | |
| 1069 | Rooted = true | |
| 1070 | CreateSound(1537955136, Torso, 5, 1, false) | |
| 1071 | for i=1, 15 do | |
| 1072 | Swait() | |
| 1073 | RootPart.CFrame = RootPart.CFrame * CF(0,0,0.5) | |
| 1074 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+i/15 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed) | |
| 1075 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed) | |
| 1076 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1077 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1078 | end | |
| 1079 | for i=0, 0.3, 0.1 / Animation_Speed do | |
| 1080 | Swait() | |
| 1081 | RootPart.CFrame = RootPart.CFrame * CF(0,0,0.015) | |
| 1082 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed) | |
| 1083 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed) | |
| 1084 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1085 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1086 | end | |
| 1087 | FORCEWINGS = true | |
| 1088 | for i = 1, 10 do | |
| 1089 | for i=0, 0.02, 0.1 / Animation_Speed do | |
| 1090 | Swait() | |
| 1091 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(90), RAD(0), RAD(0)), 2 / Animation_Speed) | |
| 1092 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(85)), 2 / Animation_Speed) | |
| 1093 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-85)), 2 / Animation_Speed) | |
| 1094 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
| 1095 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
| 1096 | end | |
| 1097 | local RANDOM = MRANDOM(-7,7)/5 | |
| 1098 | local RANDOM2 = MRANDOM(-7,7)/5 | |
| 1099 | for i=0, 0.01, 0.1 / Animation_Speed do | |
| 1100 | Swait() | |
| 1101 | RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.2) | |
| 1102 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed) | |
| 1103 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 3 / Animation_Speed) | |
| 1104 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 3 / Animation_Speed) | |
| 1105 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.5+RANDOM, 0+RANDOM2) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
| 1106 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
| 1107 | end | |
| 1108 | local WAVES = {}
| |
| 1109 | coroutine.resume(coroutine.create(function() | |
| 1110 | repeat | |
| 1111 | Swait() | |
| 1112 | for E = 1, #WAVES do | |
| 1113 | if WAVES[E] ~= nil then | |
| 1114 | ApplyAoE(WAVES[E].Position,3,25,35,35,3) | |
| 1115 | if WAVES[E].Transparency > 0.99 then | |
| 1116 | WAVES[E]:remove() | |
| 1117 | table.remove(WAVES,E) | |
| 1118 | else | |
| 1119 | WAVES[E].CFrame = WAVES[E].CFrame * CF(0,1.2,0) | |
| 1120 | WAVES[E].Transparency = WAVES[E].Transparency + 0.75/25 | |
| 1121 | end | |
| 1122 | end | |
| 1123 | end | |
| 1124 | until #WAVES == 0 | |
| 1125 | end)) | |
| 1126 | local Wave = CreatePart(3, Effects, "Glass", 0, 0.25, "Really red", "Wave", VT(1,3,1)) | |
| 1127 | MakeForm(Wave,"Pine") | |
| 1128 | Wave.CFrame = Blade.CFrame | |
| 1129 | table.insert(WAVES,Wave) | |
| 1130 | CreateSound(1537955679, Wave, 7, 1, true) | |
| 1131 | end | |
| 1132 | ATTACK = false | |
| 1133 | Rooted = false | |
| 1134 | FORCEWINGS = false | |
| 1135 | end | |
| 1136 | function B() | |
| 1137 | ATTACK = true | |
| 1138 | Rooted = false | |
| 1139 | FORCEWINGS = true | |
| 1140 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1141 | Swait() | |
| 1142 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(170), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1143 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0-0.5 * COS(SINE), 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1144 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1145 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1146 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1147 | end | |
| 1148 | CreateSound(1537955679, Blade, 7, 0.7, false) | |
| 1149 | Rooted = true | |
| 1150 | for i=0, 0.4, 0.1 / Animation_Speed do | |
| 1151 | Swait() | |
| 1152 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(115), RAD(-35), RAD(0)), 0.75 / Animation_Speed) | |
| 1153 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1154 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1155 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1156 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1157 | end | |
| 1158 | coroutine.resume(coroutine.create(function() | |
| 1159 | local FRAME = RootPart.CFrame*CF(0,-5,-0.5) | |
| 1160 | for i = 1, 125 do | |
| 1161 | Swait() | |
| 1162 | FRAME = FRAME * CF(0,0,-1) | |
| 1163 | ApplyAoE(FRAME.p,5,45,55,35,15) | |
| 1164 | WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,18,1), Size2 = VT(1,0,1), Transparency = 0, Transparency2 = 1, CFrame = FRAME, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = RWING.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1165 | end | |
| 1166 | end)) | |
| 1167 | for i=0, 0.2, 0.1 / Animation_Speed do | |
| 1168 | Swait() | |
| 1169 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(115), RAD(-35), RAD(0)), 0.75 / Animation_Speed) | |
| 1170 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1171 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1172 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1173 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1174 | end | |
| 1175 | FORCEWINGS = false | |
| 1176 | ATTACK = false | |
| 1177 | Rooted = false | |
| 1178 | end | |
| 1179 | function C() | |
| 1180 | FORCEWINGS = true | |
| 1181 | ATTACK = true | |
| 1182 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1183 | Swait() | |
| 1184 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1185 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1186 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1187 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1188 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(80), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1189 | end | |
| 1190 | Rooted = true | |
| 1191 | local Orb = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Orb", VT(0,0,0)) | |
| 1192 | MakeForm(Orb,"Ball") | |
| 1193 | Orb.CFrame = Blade.CFrame*CF(0,2.25,0) | |
| 1194 | for i = 1, 35 do | |
| 1195 | Swait() | |
| 1196 | Orb.CFrame = Blade.CFrame*CF(0,2.25,0) | |
| 1197 | Orb.Size = Orb.Size + VT(0.05,0.05,0.05) | |
| 1198 | end | |
| 1199 | local MAIN = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Beam", VT(0,0,0)) | |
| 1200 | MakeForm(MAIN,"Cyl") | |
| 1201 | for i = 1, 200 do | |
| 1202 | Swait() | |
| 1203 | local AIMHIT,AIMPOS = CastProperRay(Orb.Position,Mouse.Hit.p,750,Character) | |
| 1204 | local DISTANCE = (Orb.Position - AIMPOS).Magnitude | |
| 1205 | MAIN.CFrame = CF(Orb.Position,AIMPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(90),RAD(0),RAD(0)) | |
| 1206 | MAIN.Size = VT(0.7,DISTANCE,0.7) | |
| 1207 | ApplyAoE(AIMPOS,3,35,65,35,20) | |
| 1208 | end | |
| 1209 | MAIN:remove() | |
| 1210 | ATTACK = false | |
| 1211 | Rooted = false | |
| 1212 | FORCEWINGS = false | |
| 1213 | for i = 1, 35 do | |
| 1214 | Swait() | |
| 1215 | Orb.Size = Orb.Size - VT(0.05,0.05,0.05) | |
| 1216 | end | |
| 1217 | Orb:remove() | |
| 1218 | end | |
| 1219 | function V() | |
| 1220 | FORCEWINGS = true | |
| 1221 | ATTACK = true | |
| 1222 | Rooted = true | |
| 1223 | local AREAS = {}
| |
| 1224 | for i = 1, 15 do | |
| 1225 | local AREA = CF(RootPart.Position)* ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(6,35)).p | |
| 1226 | local HITFLOOR,HITPOS = CastProperRay(AREA+VT(0,35,0), AREA-VT(0,35,0), 65, Character) | |
| 1227 | if HITFLOOR then | |
| 1228 | table.insert(AREAS,HITPOS) | |
| 1229 | end | |
| 1230 | end | |
| 1231 | for E = 1, 35 do | |
| 1232 | Swait() | |
| 1233 | for i = 1, #AREAS do | |
| 1234 | WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,1,5), Size2 = VT(5,1,5), Transparency = 0.5, Transparency2 = 1, CFrame = CF(AREAS[i]) * ANGLES(RAD(0), RAD(E), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = RWING.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1235 | end | |
| 1236 | --LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.7, 0.85) * ANGLES(RAD(0), RAD(65), RAD(0)), 0.75 / Animation_Speed) | |
| 1237 | --RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.7, 0.85) * ANGLES(RAD(0), RAD(-65), RAD(0)), 0.75 / Animation_Speed) | |
| 1238 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0-0.5 * COS(SINE), 0) * ANGLES(RAD(0), RAD(0), RAD(-50)), 0.75 / Animation_Speed) | |
| 1239 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(50)), 0.75 / Animation_Speed) | |
| 1240 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1241 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1242 | end | |
| 1243 | for E = 1, 12 do | |
| 1244 | Swait() | |
| 1245 | for i = 1, #AREAS do | |
| 1246 | WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,1,5), Size2 = VT(5,1,5), Transparency = 0.5, Transparency2 = 1, CFrame = CF(AREAS[i]) * ANGLES(RAD(0), RAD(E+35), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = RWING.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1247 | end | |
| 1248 | --LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.5, 0.85) * ANGLES(RAD(-25), RAD(65), RAD(0)), 0.75 / Animation_Speed) | |
| 1249 | --RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.5, 0.85) * ANGLES(RAD(-25), RAD(-65), RAD(0)), 0.75 / Animation_Speed) | |
| 1250 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1251 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1252 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1253 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1254 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(80), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1255 | end | |
| 1256 | for i = 1, #AREAS do | |
| 1257 | ApplyAoE(AREAS[i],15,45,55,35,20) | |
| 1258 | Lightning({Color = BRICKC"Royal purple".Color, Start = AREAS[i], End = AREAS[i]+VT(0,100,0), SegmentL = 2, Thickness = 0.2, DoesFade = true, Ignore = workspace, MaxDist = 30, Branches = false})
| |
| 1259 | Lightning({Color = RWING.Color, Start = AREAS[i], End = AREAS[i]+VT(0,100,0), SegmentL = 2, Thickness = 0.3, DoesFade = true, Ignore = workspace, MaxDist = 35, Branches = false})
| |
| 1260 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(10,0,10), Size2 = VT(9,5,9), Transparency = 0, Transparency2 = 1, CFrame = CF(AREAS[i]), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = RWING.Color, SoundID = 1537955136, SoundPitch = MRANDOM(6,8)/10, SoundVolume = 2})
| |
| 1261 | end | |
| 1262 | for i=0, 0.5, 0.1 / Animation_Speed do | |
| 1263 | Swait() | |
| 1264 | --LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.5, 0.85) * ANGLES(RAD(-25), RAD(65), RAD(0)), 0.75 / Animation_Speed) | |
| 1265 | --RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.5, 0.85) * ANGLES(RAD(-25), RAD(-65), RAD(0)), 0.75 / Animation_Speed) | |
| 1266 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1267 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1268 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1269 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1270 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(80), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1271 | end | |
| 1272 | FORCEWINGS = false | |
| 1273 | ATTACK = false | |
| 1274 | Rooted = false | |
| 1275 | end | |
| 1276 | function G() | |
| 1277 | ATTACK = true | |
| 1278 | Rooted = true | |
| 1279 | FORCEWINGS = true | |
| 1280 | CreateSound(1537955136, Torso, 5, 1, false) | |
| 1281 | for i=1, 15 do | |
| 1282 | Swait() | |
| 1283 | RootPart.CFrame = RootPart.CFrame * CF(0,0,0.8) | |
| 1284 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+i/15 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed) | |
| 1285 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed) | |
| 1286 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1287 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1288 | end | |
| 1289 | for i=0, 0.3, 0.1 / Animation_Speed do | |
| 1290 | Swait() | |
| 1291 | RootPart.CFrame = RootPart.CFrame * CF(0,0,0.015) | |
| 1292 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed) | |
| 1293 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed) | |
| 1294 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1295 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1296 | end | |
| 1297 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1298 | Swait() | |
| 1299 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(170), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1300 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0-0.5 * COS(SINE), 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1301 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1302 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1303 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1304 | end | |
| 1305 | CreateSound(1537955679, Blade, 7, 0.7, false) | |
| 1306 | for i=0, 0.4, 0.1 / Animation_Speed do | |
| 1307 | Swait() | |
| 1308 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(115), RAD(-35), RAD(0)), 0.75 / Animation_Speed) | |
| 1309 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1310 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1311 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1312 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1313 | end | |
| 1314 | local TORNADOBASE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Tornado", VT(5,45/2,5)) | |
| 1315 | MakeForm(TORNADOBASE,"Ball") | |
| 1316 | TORNADOBASE.Mesh.Scale = VT(1,8,1) | |
| 1317 | local SWIRL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Tornado", VT(0,0,0)) | |
| 1318 | CreateMesh("SpecialMesh", SWIRL, "FileMesh", "1051557", "", VT(6,45*3,6), VT(0,0,0))
| |
| 1319 | local SWIRL2 = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Tornado", VT(0,0,0)) | |
| 1320 | CreateMesh("SpecialMesh", SWIRL2, "FileMesh", "1051557", "", VT(6,45*3,6), VT(0,0,0))
| |
| 1321 | CreateSound(415700134, TORNADOBASE, 3, 0.5, true) | |
| 1322 | coroutine.resume(coroutine.create(function() | |
| 1323 | local FRAME = RootPart.CFrame*CF(0,-5,-0.5) | |
| 1324 | for E = 1, 185 do | |
| 1325 | Swait() | |
| 1326 | FRAME = FRAME * CF(0,0,-0.8) | |
| 1327 | TORNADOBASE.CFrame = FRAME*CF(0,TORNADOBASE.Size.Y/2,0) | |
| 1328 | SWIRL.CFrame = TORNADOBASE.CFrame * ANGLES(RAD(0), RAD(E*5), RAD(0)) | |
| 1329 | SWIRL2.CFrame = TORNADOBASE.CFrame * ANGLES(RAD(0), RAD(-E*15), RAD(0)) | |
| 1330 | for i = 1, math.ceil(TORNADOBASE.Size.Y/6) do | |
| 1331 | ApplyAoE(TORNADOBASE.CFrame*CF(0,TORNADOBASE.Size.Y/2,0)*CF(0,-i*6,0).p,8,2,2,-35,0) | |
| 1332 | end | |
| 1333 | WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(10,8,10), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(FRAME.p) * ANGLES(RAD(0), RAD(E*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = TORNADOBASE.Color, SoundID = nil, SoundPitch = MRANDOM(6,8)/10, SoundVolume = 2})
| |
| 1334 | end | |
| 1335 | for i = 1, 15 do | |
| 1336 | Swait() | |
| 1337 | TORNADOBASE.Transparency = i/15 | |
| 1338 | SWIRL.Transparency = i/15 | |
| 1339 | SWIRL2.Transparency = i/15 | |
| 1340 | SWIRL.CFrame = SWIRL.CFrame * ANGLES(RAD(0), RAD(i*5), RAD(0)) | |
| 1341 | SWIRL2.CFrame = SWIRL2.CFrame * ANGLES(RAD(0), RAD(-i*15), RAD(0)) | |
| 1342 | end | |
| 1343 | TORNADOBASE:remove() | |
| 1344 | SWIRL:remove() | |
| 1345 | SWIRL2:remove() | |
| 1346 | end)) | |
| 1347 | for i=0, 0.2, 0.1 / Animation_Speed do | |
| 1348 | Swait() | |
| 1349 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(115), RAD(-35), RAD(0)), 0.75 / Animation_Speed) | |
| 1350 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1351 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1352 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1353 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1354 | end | |
| 1355 | FORCEWINGS = false | |
| 1356 | ATTACK = false | |
| 1357 | Rooted = false | |
| 1358 | end | |
| 1359 | ||
| 1360 | --//=================================\\ | |
| 1361 | --|| ASSIGN THINGS TO KEYS | |
| 1362 | --\\=================================// | |
| 1363 | ||
| 1364 | function MouseDown(Mouse) | |
| 1365 | if ATTACK == false then | |
| 1366 | end | |
| 1367 | end | |
| 1368 | ||
| 1369 | function MouseUp(Mouse) | |
| 1370 | HOLD = false | |
| 1371 | end | |
| 1372 | ||
| 1373 | function KeyDown(Key) | |
| 1374 | KEYHOLD = true | |
| 1375 | if Key == "z" and ATTACK == false then | |
| 1376 | Z() | |
| 1377 | end | |
| 1378 | ||
| 1379 | if Key == "b" and ATTACK == false then | |
| 1380 | B() | |
| 1381 | end | |
| 1382 | ||
| 1383 | if Key == "c" and ATTACK == false then | |
| 1384 | C() | |
| 1385 | end | |
| 1386 | ||
| 1387 | if Key == "v" and ATTACK == false then | |
| 1388 | V() | |
| 1389 | end | |
| 1390 | ||
| 1391 | if Key == "g" and ATTACK == false then | |
| 1392 | G() | |
| 1393 | end | |
| 1394 | ||
| 1395 | if Key == "x" and ATTACK == false then | |
| 1396 | X() | |
| 1397 | end | |
| 1398 | end | |
| 1399 | ||
| 1400 | function KeyUp(Key) | |
| 1401 | KEYHOLD = false | |
| 1402 | end | |
| 1403 | ||
| 1404 | Mouse.Button1Down:connect(function(NEWKEY) | |
| 1405 | MouseDown(NEWKEY) | |
| 1406 | end) | |
| 1407 | Mouse.Button1Up:connect(function(NEWKEY) | |
| 1408 | MouseUp(NEWKEY) | |
| 1409 | end) | |
| 1410 | Mouse.KeyDown:connect(function(NEWKEY) | |
| 1411 | KeyDown(NEWKEY) | |
| 1412 | end) | |
| 1413 | Mouse.KeyUp:connect(function(NEWKEY) | |
| 1414 | KeyUp(NEWKEY) | |
| 1415 | end) | |
| 1416 | ||
| 1417 | --//=================================\\ | |
| 1418 | --\\=================================// | |
| 1419 | ||
| 1420 | ||
| 1421 | function unanchor() | |
| 1422 | if UNANCHOR == true then | |
| 1423 | g = Character:GetChildren() | |
| 1424 | for i = 1, #g do | |
| 1425 | if g[i].ClassName == "Part" then | |
| 1426 | g[i].Anchored = false | |
| 1427 | end | |
| 1428 | end | |
| 1429 | end | |
| 1430 | end | |
| 1431 | ||
| 1432 | ||
| 1433 | --//=================================\\ | |
| 1434 | --|| WRAP THE WHOLE SCRIPT UP | |
| 1435 | --\\=================================// | |
| 1436 | ||
| 1437 | Humanoid.Changed:connect(function(Jump) | |
| 1438 | if Jump == "Jump" and (Disable_Jump == true) then | |
| 1439 | Humanoid.Jump = false | |
| 1440 | end | |
| 1441 | end) | |
| 1442 | ||
| 1443 | while true do | |
| 1444 | Swait() | |
| 1445 | script.Parent = WEAPONGUI | |
| 1446 | ANIMATE.Parent = nil | |
| 1447 | if Humanoid then | |
| 1448 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
| 1449 | IDLEANIMATION:Play() | |
| 1450 | end | |
| 1451 | SINE = SINE + CHANGE*2 | |
| 1452 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
| 1453 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
| 1454 | if ATTACK == false then | |
| 1455 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1456 | if TORSOVELOCITY < 1 then | |
| 1457 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 0.75 / Animation_Speed) | |
| 1458 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(35)), 0.75 / Animation_Speed) | |
| 1459 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(5 - 5 * COS(SINE / 12)), RAD(-35), RAD(12 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1460 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1461 | elseif TORSOVELOCITY > 1 then | |
| 1462 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1463 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1464 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-35), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1465 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(-35), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1466 | end | |
| 1467 | end | |
| 1468 | if FORCEWINGS == true or ATTACK == false then | |
| 1469 | LWELD.C0 = Clerp(LWELD.C0, CF(-1, 1.5, 0.7 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(12 * COS(SINE / 12)), RAD(45), RAD(0)), 0.75 / Animation_Speed) | |
| 1470 | RWELD.C0 = Clerp(RWELD.C0, CF(1, 1.5, 0.7 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(12 * COS(SINE / 12)), RAD(-45), RAD(0)), 0.75 / Animation_Speed) | |
| 1471 | end | |
| 1472 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.7, -0.4) * ANGLES(RAD(-25), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1473 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.7, -0.4) * ANGLES(RAD(-15), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1474 | unanchor() | |
| 1475 | Humanoid.MaxHealth = "inf" | |
| 1476 | Humanoid.Health = "inf" | |
| 1477 | if Rooted == false then | |
| 1478 | Disable_Jump = false | |
| 1479 | Humanoid.WalkSpeed = Speed | |
| 1480 | elseif Rooted == true then | |
| 1481 | Disable_Jump = true | |
| 1482 | Humanoid.WalkSpeed = 0 | |
| 1483 | end | |
| 1484 | sick.SoundId = "rbxassetid://152000442" | |
| 1485 | sick.Looped = true | |
| 1486 | sick.Pitch = 1 | |
| 1487 | sick.Volume = 1 | |
| 1488 | sick.Parent = Torso | |
| 1489 | sick:Resume() | |
| 1490 | if VALUE1 == false then | |
| 1491 | VALUE1 = true | |
| 1492 | coroutine.resume(coroutine.create(function() | |
| 1493 | Intro() | |
| 1494 | end)) | |
| 1495 | end | |
| 1496 | for _, c in pairs(Character:GetChildren()) do | |
| 1497 | if c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
| 1498 | c:remove() | |
| 1499 | end | |
| 1500 | end | |
| 1501 | Humanoid.Name = "Galacta "..Player.Name | |
| 1502 | end | |
| 1503 | ||
| 1504 | --//=================================\\ | |
| 1505 | --\\=================================// | |
| 1506 | ||
| 1507 | ||
| 1508 | ||
| 1509 | ||
| 1510 | ||
| 1511 | --//====================================================\\-- | |
| 1512 | --|| END OF SCRIPT | |
| 1513 | --\\====================================================//-- |