SHOW:
|
|
- or go back to the newest paste.
| 1 | --------------------------This is an Official script from Duelist-------------------------- | |
| 2 | ---{-------------------- -------------------}---
| |
| 3 | ---{-------------------- / \ -------------------}---
| |
| 4 | ---{-------------------- II -------------------}---
| |
| 5 | ---{-------------------- II -------------------}---
| |
| 6 | ---{-------------------- II -------------------}---
| |
| 7 | ---{-------------------- A========A -------------------}---
| |
| 8 | ---{-------------------- II -------------------}---
| |
| 9 | ---{-------------------- II -------------------}---
| |
| 10 | ---{-------------------- W -------------------}---
| |
| 11 | ------------------------------------------------------------------------------------------------------------- | |
| 12 | --i used stravants Beautifier so it might look a bit wonky | |
| 13 | Meshes = {
| |
| 14 | Blast = '20329976', | |
| 15 | Crown = '1323306', | |
| 16 | Ring = '3270017', | |
| 17 | Claw = '10681506', | |
| 18 | Crystal = '9756362', | |
| 19 | Coil = '9753878', | |
| 20 | Cloud = '1095708', | |
| 21 | } | |
| 22 | clangsounds = {
| |
| 23 | '199149119', | |
| 24 | '199149109', | |
| 25 | '199149072', | |
| 26 | '199149025', | |
| 27 | '199148971' | |
| 28 | } | |
| 29 | hitsounds = {
| |
| 30 | '199149137', | |
| 31 | '199149186', | |
| 32 | '199149221', | |
| 33 | '199149235', | |
| 34 | '199149269', | |
| 35 | '199149297' | |
| 36 | } | |
| 37 | blocksounds = {
| |
| 38 | '199148933', | |
| 39 | '199148947' | |
| 40 | } | |
| 41 | armorsounds = {
| |
| 42 | '199149321', | |
| 43 | '199149338', | |
| 44 | '199149367', | |
| 45 | '199149409', | |
| 46 | '199149452' | |
| 47 | } | |
| 48 | woosh = {
| |
| 49 | Heavy1 = '320557353', | |
| 50 | Heavy2 = '320557382', | |
| 51 | Heavy3 = '320557453', | |
| 52 | Heavy4 = '199144226', | |
| 53 | Heavy5 = '203691447', | |
| 54 | Heavy6 = '203691467', | |
| 55 | Heavy7 = '203691492', | |
| 56 | Light1 = '320557413', | |
| 57 | Light2 = '320557487', | |
| 58 | Light3 = '199145095', | |
| 59 | Light4 = '199145146', | |
| 60 | Light5 = '199145887', | |
| 61 | Light6 = '199145913', | |
| 62 | Light7 = '199145841', | |
| 63 | Medium1 = '320557518', | |
| 64 | Medium2 = '320557537', | |
| 65 | Medium3 = '320557563', | |
| 66 | Medium4 = '199145204' | |
| 67 | } | |
| 68 | music = {--i like music a lot
| |
| 69 | Breaking = '179281636', | |
| 70 | FinalReckoning = '357375770', | |
| 71 | NotDeadYet = '346175829', | |
| 72 | Intense = '151514610', | |
| 73 | JumpP1 = '160536628', | |
| 74 | JumpP2 = '60536666', | |
| 75 | SonsOfWar = '158929777', | |
| 76 | WrathOfSea = '165520893', | |
| 77 | ProtecTorsofEarth = '160542922', | |
| 78 | SkyTitans = '179282324', | |
| 79 | ArchAngel = '144043274', | |
| 80 | Anticipation = '168614529', | |
| 81 | TheMartyred = '186849544', | |
| 82 | AwakeP1 = '335631255', | |
| 83 | AwakeP2 = '335631297', | |
| 84 | ReadyAimFireP1 = '342455387', | |
| 85 | ReadyAimFireP2 = '342455399', | |
| 86 | DarkLordP1 = '209567483', | |
| 87 | DarkLordP2 = '209567529', | |
| 88 | BloodDrainP1 = '162914123', | |
| 89 | BloodDrainP2 = '162914203', | |
| 90 | DanceOfSwords = '320473062', | |
| 91 | Opal = '286415112', | |
| 92 | Calamity = '190454307', | |
| 93 | Hypnotica = '155968128', | |
| 94 | Nemisis = '160453802', | |
| 95 | Breathe = '276963903', | |
| 96 | GateToTheRift = '270655227', | |
| 97 | InfernalBeserking = '244143404', | |
| 98 | Trust = '246184492', | |
| 99 | AwakeningTheProject = '245121821', | |
| 100 | BloodPain = '242545577', | |
| 101 | Chaos = '247241693', | |
| 102 | NightmareFictionHighStake = '248062278', | |
| 103 | TheWhiteWeapon = '247236446', | |
| 104 | Gale = '256851659', | |
| 105 | ImperialCode = '256848383', | |
| 106 | Blitzkrieg = '306431437', | |
| 107 | RhapsodyRage = '348690251', | |
| 108 | TheGodFist = '348541501', | |
| 109 | BattleForSoul = '321185592', | |
| 110 | TheDarkColossus = '305976780', | |
| 111 | EmpireOfAngels = '302580452', | |
| 112 | Kronos = '302205297', | |
| 113 | Exorcist = '299796054', | |
| 114 | CrimsonFlames = '297799220', | |
| 115 | UltimatePower = '295753229', | |
| 116 | DrivingInTheDark = '295753229', | |
| 117 | AscendToPower = '293860654', | |
| 118 | GodOfTheSun = '293612495', | |
| 119 | DarkRider = '293861765', | |
| 120 | Vengeance = '293375555', | |
| 121 | SoundOfWar = '293376196', | |
| 122 | HellsCrusaders = '293012202', | |
| 123 | Legend = '293011823', | |
| 124 | RisingSouls = '290524959' | |
| 125 | } | |
| 126 | misc = {
| |
| 127 | GroundSlam = '199145477', | |
| 128 | LaserSlash = '199145497', | |
| 129 | RailGunFire = '199145534', | |
| 130 | Charge1 = '199145659', | |
| 131 | Charge2 = '169380469', | |
| 132 | Charge3 = '169380479', | |
| 133 | EmptyGun = '203691822', | |
| 134 | GunShoot = '203691837', | |
| 135 | Stomp1 = '200632875', | |
| 136 | Stomp2 = '200632561', | |
| 137 | TelsaCannonCharge = '169445572', | |
| 138 | TelsaCannonShoot = '169445602', | |
| 139 | AncientHymm = '245313442' | |
| 140 | } | |
| 141 | wait(1 / 60) | |
| 142 | local Player = game.Players.localPlayer | |
| 143 | local Character = Player.Character | |
| 144 | local Humanoid = Character.Humanoid | |
| 145 | local mouse = Player:GetMouse() | |
| 146 | local m = Instance.new('Model', Character)
| |
| 147 | m.Name = "WeaponModel" | |
| 148 | local LeftArm = Character["Left Arm"] | |
| 149 | local RightArm = Character["Right Arm"] | |
| 150 | local LeftLeg = Character["Left Leg"] | |
| 151 | local RightLeg = Character["Right Leg"] | |
| 152 | local Head = Character.Head | |
| 153 | local Torso = Character.Torso | |
| 154 | local cam = game.Workspace.CurrentCamera | |
| 155 | local RootPart = Character.HumanoidRootPart | |
| 156 | local RootJoint = RootPart.RootJoint | |
| 157 | --cam.CameraSubject = Head | |
| 158 | local equipped = false | |
| 159 | local attack = false | |
| 160 | local Anim = 'Idle' | |
| 161 | local idle = 0 | |
| 162 | local sprint = false | |
| 163 | local battlestance = false | |
| 164 | local attacktype = 1 | |
| 165 | local state = 'none' | |
| 166 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 167 | local velocity = RootPart.Velocity.y | |
| 168 | local sine = 0 | |
| 169 | local change = 1 | |
| 170 | local on = false | |
| 171 | local grabbed = false | |
| 172 | local skill1 = false | |
| 173 | local skill2 = false | |
| 174 | local skill3 = false | |
| 175 | local skill4 = false | |
| 176 | local cooldown1 = 0 | |
| 177 | local cooldown2 = 0 | |
| 178 | local cooldown3 = 0 | |
| 179 | local cooldown4 = 0 | |
| 180 | local co1 = 10--how long it will take for skill to cooldown | |
| 181 | local co2 = 15 | |
| 182 | local co3 = 15 | |
| 183 | local co4 = 25 | |
| 184 | local inputserv = game:GetService('UserInputService')
| |
| 185 | local typing = false | |
| 186 | local crit = false | |
| 187 | local critchance = 2--critical chance percentage | |
| 188 | local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage | |
| 189 | local critdamageaddmax = 7--maximum amount | |
| 190 | local maxstamina = 100--max amount of stamina | |
| 191 | local stamina = 0--stamina you start out with | |
| 192 | local skill1stam = 10--how much stamina is needed for a skill | |
| 193 | local skill2stam = 10 | |
| 194 | local skill3stam = 20 | |
| 195 | local skill4stam = 30 | |
| 196 | local recovermana = 3--how much mana per second | |
| 197 | local defensevalue = 1--how much defense this character has | |
| 198 | local speedvalue = 1--how much speed this character has | |
| 199 | --speed is 16*speedvalue | |
| 200 | local mindamage = 5--self explanatory | |
| 201 | local maxdamage = 7--self explanatory | |
| 202 | local damagevalue = 1--how much damage this character has | |
| 203 | --damage is math.random(mindamage,maxdamage)*damagevalue | |
| 204 | --damage(hit, mindamage, maxdamage, 1, 1, RootPart) | |
| 205 | --asd | |
| 206 | local cn = CFrame.new-- make things easier :) | |
| 207 | local mr = math.rad | |
| 208 | local angles = CFrame.Angles | |
| 209 | local ud = UDim2.new | |
| 210 | local c3 = Color3.new | |
| 211 | local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol | |
| 212 | --asd | |
| 213 | local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 214 | Humanoid.Animator:Destroy() | |
| 215 | ||
| 216 | --Angles For RootJoint `~` | |
| 217 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 218 | --Save Shoulders/Hips | |
| 219 | RSH, LSH = nil, nil | |
| 220 | RHS, LHS = nil, nil | |
| 221 | --Shoulders | |
| 222 | RW = Instance.new("Weld")
| |
| 223 | LW = Instance.new("Weld")
| |
| 224 | --Hips | |
| 225 | RH = Instance.new("Weld")
| |
| 226 | LH = Instance.new("Weld")
| |
| 227 | -- | |
| 228 | Player = Player | |
| 229 | ch = Character | |
| 230 | LHS = Torso["Left Hip"] | |
| 231 | RHS = Torso["Right Hip"] | |
| 232 | RSH = ch.Torso["Right Shoulder"] | |
| 233 | LSH = ch.Torso["Left Shoulder"] | |
| 234 | -- | |
| 235 | RSH.Parent = nil | |
| 236 | LSH.Parent = nil | |
| 237 | -- | |
| 238 | LHS.Parent = nil | |
| 239 | RHS.Parent = nil | |
| 240 | -- | |
| 241 | RW.Name = "RW" | |
| 242 | RW.Part0 = ch.Torso | |
| 243 | RW.C0 = cn(1.5, 0.5, 0) | |
| 244 | RW.C1 = cn(0, 0.5, 0) | |
| 245 | RW.Part1 = ch["Right Arm"] | |
| 246 | RW.Parent = ch.Torso | |
| 247 | -- | |
| 248 | LW.Name = "LW" | |
| 249 | LW.Part0 = ch.Torso | |
| 250 | LW.C0 = cn(-1.5, 0.5, 0) | |
| 251 | LW.C1 = cn(0, 0.5, 0) | |
| 252 | LW.Part1 = ch["Left Arm"] | |
| 253 | LW.Parent = ch.Torso | |
| 254 | -- | |
| 255 | LH.Name = "LH" | |
| 256 | LH.Part0 = ch.Torso | |
| 257 | LH.C0 = cn(-0.5, -2, 0) | |
| 258 | LH.Part1 = ch["Left Leg"] | |
| 259 | LH.Parent = ch.Torso | |
| 260 | -- | |
| 261 | RH.Name = "RH" | |
| 262 | RH.Part0 = ch.Torso | |
| 263 | RH.C0 = cn(0.5, -2, 0) | |
| 264 | RH.Part1 = ch["Right Leg"] | |
| 265 | RH.Parent = ch.Torso | |
| 266 | ||
| 267 | local Flying = false | |
| 268 | ||
| 269 | game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump) | |
| 270 | if Flying == true then | |
| 271 | if jump == "Jump" then | |
| 272 | Humanoid.Jump = false | |
| 273 | end | |
| 274 | end | |
| 275 | end) | |
| 276 | ||
| 277 | Humanoid.CameraOffset = Vector3.new(0, -2, 0) | |
| 278 | ||
| 279 | Torso.Transparency = 1 | |
| 280 | Head.Transparency = 1 | |
| 281 | LeftLeg.Transparency = 1 | |
| 282 | RightLeg.Transparency = 1 | |
| 283 | LeftArm.Transparency = 1 | |
| 284 | RightArm.Transparency = 1 | |
| 285 | ||
| 286 | for i,v in pairs (Character:GetChildren()) do | |
| 287 | if v.ClassName == "Hat" | |
| 288 | then v:Destroy() | |
| 289 | end | |
| 290 | end | |
| 291 | ||
| 292 | for i,v in pairs (Character.Head:GetChildren()) do | |
| 293 | if v.ClassName == "Decal" | |
| 294 | then v:Destroy() | |
| 295 | end | |
| 296 | end | |
| 297 | ||
| 298 | Character.Animate:Destroy() | |
| 299 | ||
| 300 | local scrn = Instance.new('ScreenGui')
| |
| 301 | scrn.Parent = nil | |
| 302 | ||
| 303 | function makeframe(par, trans, pos, size, color) | |
| 304 | local frame = Instance.new('Frame', par)
| |
| 305 | frame.BackgroundTransparency = trans | |
| 306 | frame.BorderSizePixel = 0 | |
| 307 | frame.Position = pos | |
| 308 | frame.Size = size | |
| 309 | frame.BackgroundColor3 = color | |
| 310 | return frame | |
| 311 | end | |
| 312 | function makelabel(par, text) | |
| 313 | local label = Instance.new('TextLabel', par)
| |
| 314 | label.BackgroundTransparency = 1 | |
| 315 | label.Size = ud(1, 0, 1, 0) | |
| 316 | label.Position = ud(0, 0, 0, 0) | |
| 317 | label.TextColor3 = c3(255, 255, 255) | |
| 318 | label.TextStrokeTransparency = 0 | |
| 319 | label.FontSize = Enum.FontSize.Size32 | |
| 320 | label.Font = Enum.Font.SourceSansBold | |
| 321 | label.BorderSizePixel = 0 | |
| 322 | label.TextScaled = true | |
| 323 | label.Text = text | |
| 324 | end | |
| 325 | framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
| 326 | framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
| 327 | framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
| 328 | framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
| 329 | bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 330 | bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 331 | bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 332 | bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 333 | text1 = makelabel(framesk1, '[3] Skill3') | |
| 334 | text2 = makelabel(framesk2, '[4] Skill4') | |
| 335 | text3 = makelabel(framesk3, "[2] Skill2") | |
| 336 | text4 = makelabel(framesk4, '[1] Skill1') | |
| 337 | staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), c3(61 / 255, 171 / 255, 1)) | |
| 338 | staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(61 / 255, 171 / 255, 1)) | |
| 339 | staminatext = makelabel(staminabar, 'Mana') | |
| 340 | healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0)) | |
| 341 | healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 46 / 255, 49 / 255)) | |
| 342 | healthtext = makelabel(healthbar, 'Health') | |
| 343 | ||
| 344 | local stats = Instance.new('Folder', Character)
| |
| 345 | stats.Name = 'Stats' | |
| 346 | local block = Instance.new('BoolValue', stats)
| |
| 347 | block.Name = 'Block' | |
| 348 | block.Value = false | |
| 349 | local stun = Instance.new('BoolValue', stats)
| |
| 350 | stun.Name = 'Stun' | |
| 351 | stun.Value = false | |
| 352 | local defense = Instance.new('NumberValue', stats)
| |
| 353 | defense.Name = 'Defence' | |
| 354 | defense.Value = defensevalue | |
| 355 | local speed = Instance.new('NumberValue', stats)
| |
| 356 | speed.Name = 'Speed' | |
| 357 | speed.Value = speedvalue | |
| 358 | local damagea = Instance.new('NumberValue', stats)
| |
| 359 | damagea.Name = 'Damage' | |
| 360 | damagea.Value = damagevalue | |
| 361 | ||
| 362 | function atktype(s, e) | |
| 363 | coroutine.resume(coroutine.create(function() | |
| 364 | attacktype = e | |
| 365 | wait(1.5) | |
| 366 | attacktype = s | |
| 367 | end)) | |
| 368 | end | |
| 369 | ||
| 370 | function turncrit() | |
| 371 | coroutine.resume(coroutine.create(function() | |
| 372 | print'CRITICAL!' | |
| 373 | crit = true | |
| 374 | wait(.25) | |
| 375 | crit = false | |
| 376 | end)) | |
| 377 | end | |
| 378 | ||
| 379 | function subtractstamina(k) | |
| 380 | if stamina >= k then | |
| 381 | stamina = stamina - k | |
| 382 | end | |
| 383 | end | |
| 384 | ||
| 385 | function clerp(a, b, t) | |
| 386 | return a:lerp(b, t) | |
| 387 | end | |
| 388 | ||
| 389 | function randomizer(percent) | |
| 390 | local randomized = math.random(0, 100) | |
| 391 | if randomized <= percent then | |
| 392 | return true | |
| 393 | elseif randomized >= percent then | |
| 394 | return false | |
| 395 | end | |
| 396 | end | |
| 397 | ||
| 398 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 399 | local Create = RbxUtility.Create | |
| 400 | ||
| 401 | function RemoveOutlines(part) | |
| 402 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 403 | end | |
| 404 | ||
| 405 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 406 | local Part = Create("Part"){
| |
| 407 | formFactor = FormFactor, | |
| 408 | Parent = Parent, | |
| 409 | Reflectance = Reflectance, | |
| 410 | Transparency = Transparency, | |
| 411 | CanCollide = false, | |
| 412 | Locked = true, | |
| 413 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 414 | Name = Name, | |
| 415 | Size = Size, | |
| 416 | Material = Material, | |
| 417 | } | |
| 418 | RemoveOutlines(Part) | |
| 419 | return Part | |
| 420 | end | |
| 421 | ||
| 422 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 423 | local Msh = Create(Mesh){
| |
| 424 | Parent = Part, | |
| 425 | Offset = OffSet, | |
| 426 | Scale = Scale, | |
| 427 | } | |
| 428 | if Mesh == "SpecialMesh" then | |
| 429 | Msh.MeshType = MeshType | |
| 430 | Msh.MeshId = MeshId | |
| 431 | end | |
| 432 | return Msh | |
| 433 | end | |
| 434 | ||
| 435 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 436 | local Weld = Create("Weld"){
| |
| 437 | Parent = Parent, | |
| 438 | Part0 = Part0, | |
| 439 | Part1 = Part1, | |
| 440 | C0 = C0, | |
| 441 | C1 = C1, | |
| 442 | } | |
| 443 | return Weld | |
| 444 | end | |
| 445 | ||
| 446 | function rayCast(pos, dir, maxl, ignore) | |
| 447 | return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore)
| |
| 448 | end | |
| 449 | --Effects | |
| 450 | function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type) | |
| 451 | local p = Instance.new('Part', par or workspace)
| |
| 452 | p.CFrame = pos1 | |
| 453 | p.Anchored = true | |
| 454 | p.Material = 'SmoothPlastic' | |
| 455 | p.CanCollide = false | |
| 456 | p.TopSurface = 0 | |
| 457 | p.Size = Vector3.new(1, 1, 1) | |
| 458 | p.BottomSurface = 0 | |
| 459 | p.Transparency = trans | |
| 460 | p.FormFactor = 'Custom' | |
| 461 | RemoveOutlines(p) | |
| 462 | local mesh = Instance.new('SpecialMesh', p)
| |
| 463 | mesh.Scale = size | |
| 464 | if id ~= nil and type == nil then | |
| 465 | mesh.MeshId = 'rbxassetid://'..id | |
| 466 | elseif id == nil and type ~= nil then | |
| 467 | mesh.MeshType = type | |
| 468 | elseif id == nil and type == nil then | |
| 469 | mesh.MeshType = 'Brick' | |
| 470 | end | |
| 471 | coroutine.wrap(function() | |
| 472 | for i = 0, delay1, .1 do | |
| 473 | wait(1 / 60) | |
| 474 | p.CFrame = p.CFrame | |
| 475 | mesh.Scale = mesh.Scale + howmuch | |
| 476 | p.Transparency = p.Transparency + trans1 | |
| 477 | end | |
| 478 | p:Destroy() | |
| 479 | end)() | |
| 480 | return p | |
| 481 | end | |
| 482 | function clangy(cframe) | |
| 483 | wait(1 / 60) | |
| 484 | local clang = {}
| |
| 485 | local dis = 0 | |
| 486 | local part = Instance.new('Part', nil)
| |
| 487 | part.CFrame = cframe | |
| 488 | part.Anchored = true | |
| 489 | part.CanCollide = false | |
| 490 | part.BrickColor = BrickColor.new('Bright red')
| |
| 491 | part.FormFactor = 'Custom' | |
| 492 | part.Name = 'clanger' | |
| 493 | part.Size = Vector3.new(.2, .2, .2) | |
| 494 | part.TopSurface = 10 | |
| 495 | part.BottomSurface = 10 | |
| 496 | part.RightSurface = 10 | |
| 497 | part.LeftSurface = 10 | |
| 498 | part.BackSurface = 10 | |
| 499 | part.FrontSurface = 10 | |
| 500 | --part.Material='Neon' | |
| 501 | part:BreakJoints() | |
| 502 | local mesh = Instance.new('BlockMesh', part)
| |
| 503 | coroutine.wrap(function() | |
| 504 | for i = 1, 7 do | |
| 505 | wait(1 / 60) | |
| 506 | dis = dis + .2 | |
| 507 | local partc = part:clone() | |
| 508 | partc.Parent = workspace | |
| 509 | partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) | |
| 510 | partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) | |
| 511 | table.insert(clang, partc) | |
| 512 | end | |
| 513 | for i, v in pairs(clang) do | |
| 514 | coroutine.wrap(function() | |
| 515 | for i = 1, 10 do | |
| 516 | wait(.01) | |
| 517 | v.Transparency = v.Transparency + .1 | |
| 518 | end | |
| 519 | v:destroy() | |
| 520 | end)() | |
| 521 | end | |
| 522 | end)() | |
| 523 | end | |
| 524 | --damage effects | |
| 525 | function circle(color, pos1) | |
| 526 | local p = Instance.new('Part', m)
| |
| 527 | p.BrickColor = BrickColor.new(color) | |
| 528 | p.CFrame = pos1 | |
| 529 | p.Anchored = true | |
| 530 | p.Material = 'Plastic' | |
| 531 | p.CanCollide = false | |
| 532 | p.TopSurface = 0 | |
| 533 | p.Size = Vector3.new(1, 1, 1) | |
| 534 | p.BottomSurface = 0 | |
| 535 | p.Transparency = 0.35 | |
| 536 | p.FormFactor = 'Custom' | |
| 537 | local mesh = Instance.new('CylinderMesh', p)
| |
| 538 | mesh.Scale = Vector3.new(0, 0, 0) | |
| 539 | coroutine.wrap(function() | |
| 540 | for i = 0, 5, .1 do | |
| 541 | wait(1 / 60) | |
| 542 | p.CFrame = p.CFrame | |
| 543 | mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5) | |
| 544 | p.Transparency = p.Transparency + .025 | |
| 545 | end | |
| 546 | p:Destroy() | |
| 547 | end)() | |
| 548 | end | |
| 549 | function firespaz1(color, pos1) | |
| 550 | local p = Instance.new('Part', m)
| |
| 551 | p.BrickColor = BrickColor.new(color) | |
| 552 | p.CFrame = pos1 | |
| 553 | p.Anchored = true | |
| 554 | p.Material = 'Plastic' | |
| 555 | p.CanCollide = false | |
| 556 | p.TopSurface = 0 | |
| 557 | p.Size = Vector3.new(1, 1, 1) | |
| 558 | p.BottomSurface = 0 | |
| 559 | p.Transparency = 0.5 | |
| 560 | p.FormFactor = 'Custom' | |
| 561 | local mesh = Instance.new('BlockMesh', p)
| |
| 562 | mesh.Scale = Vector3.new(1, 1, 1) | |
| 563 | coroutine.wrap(function() | |
| 564 | for i = 0, 15, .1 do | |
| 565 | wait(1 / 30) | |
| 566 | p.CFrame = p.CFrame * CFrame.new(0, .1, 0) | |
| 567 | mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1) | |
| 568 | p.Transparency = p.Transparency + .025 | |
| 569 | end | |
| 570 | p:Destroy() | |
| 571 | end)() | |
| 572 | end | |
| 573 | ||
| 574 | function pickrandom(tablesa) | |
| 575 | local randomized = tablesa[math.random(1, #tablesa)] | |
| 576 | return randomized | |
| 577 | end | |
| 578 | function sound(id, pitch, volume, par, last) | |
| 579 | local s = Instance.new('Sound', par or Torso)
| |
| 580 | s.SoundId = 'rbxassetid://'..id | |
| 581 | s.Pitch = pitch or 1 | |
| 582 | s.Volume = volume or 1 | |
| 583 | wait() | |
| 584 | s:play() | |
| 585 | game.Debris:AddItem(s, last or 120) | |
| 586 | end | |
| 587 | function clangy(cframe) | |
| 588 | wait(1 / 60) | |
| 589 | local clang = {}
| |
| 590 | local dis = 0 | |
| 591 | local part = Instance.new('Part', nil)
| |
| 592 | part.CFrame = cframe | |
| 593 | part.Anchored = true | |
| 594 | part.CanCollide = false | |
| 595 | part.BrickColor = BrickColor.new('New Yeller')
| |
| 596 | part.FormFactor = 'Custom' | |
| 597 | part.Name = 'clanger' | |
| 598 | part.Size = Vector3.new(.2, .2, .2) | |
| 599 | part.TopSurface = 10 | |
| 600 | part.BottomSurface = 10 | |
| 601 | part.RightSurface = 10 | |
| 602 | part.LeftSurface = 10 | |
| 603 | part.BackSurface = 10 | |
| 604 | part.FrontSurface = 10 | |
| 605 | --part.Material='Neon' | |
| 606 | part:BreakJoints() | |
| 607 | local mesh = Instance.new('BlockMesh', part)
| |
| 608 | coroutine.wrap(function() | |
| 609 | for i = 1, 7 do | |
| 610 | wait(1 / 60) | |
| 611 | dis = dis + .2 | |
| 612 | local partc = part:clone() | |
| 613 | partc.Parent = workspace | |
| 614 | partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) | |
| 615 | partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) | |
| 616 | table.insert(clang, partc) | |
| 617 | end | |
| 618 | for i, v in pairs(clang) do | |
| 619 | coroutine.wrap(function() | |
| 620 | for i = 1, 10 do | |
| 621 | wait(.01) | |
| 622 | v.Transparency = v.Transparency + .1 | |
| 623 | end | |
| 624 | v:destroy() | |
| 625 | end)() | |
| 626 | end | |
| 627 | end)() | |
| 628 | end | |
| 629 | --damage effects | |
| 630 | --Effects | |
| 631 | so = function(id, par, vol, pit) | |
| 632 | coroutine.resume(coroutine.create(function() | |
| 633 | local sou = Instance.new("Sound", par or workspace)
| |
| 634 | sou.Volume = vol | |
| 635 | sou.Pitch = pit or 1 | |
| 636 | sou.SoundId = id | |
| 637 | wait() | |
| 638 | sou:play() | |
| 639 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 640 | end)) | |
| 641 | end | |
| 642 | ||
| 643 | local function getclosest(obj, distance) | |
| 644 | local last, lastx = distance + 1 | |
| 645 | for i, v in pairs(workspace:GetChildren()) do | |
| 646 | if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
| |
| 647 | local t = v.Torso | |
| 648 | local dist = (t.Position - obj.Position).magnitude | |
| 649 | if dist <= distance then | |
| 650 | if dist < last then | |
| 651 | last = dist | |
| 652 | lastx = v | |
| 653 | end | |
| 654 | end | |
| 655 | end | |
| 656 | end | |
| 657 | return lastx | |
| 658 | end | |
| 659 | ||
| 660 | function makegui(cframe, text) | |
| 661 | local a = math.random(-10, 10) / 100 | |
| 662 | local c = Instance.new("Part")
| |
| 663 | c.Transparency = 1 | |
| 664 | Instance.new("BodyGyro").Parent = c
| |
| 665 | c.Parent = m | |
| 666 | c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0)) | |
| 667 | local f = Instance.new("BodyPosition")
| |
| 668 | f.P = 2000 | |
| 669 | f.D = 100 | |
| 670 | f.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 671 | f.position = c.Position + Vector3.new(0, 3, 0) | |
| 672 | f.Parent = c | |
| 673 | game:GetService("Debris"):AddItem(c, .5 + 6)
| |
| 674 | c.CanCollide = false | |
| 675 | m.Parent = workspace | |
| 676 | c.CanCollide = false | |
| 677 | local bg = Instance.new('BillboardGui', m)
| |
| 678 | bg.Adornee = c | |
| 679 | bg.Size = UDim2.new(1, 0, 1, 0) | |
| 680 | bg.StudsOffset = Vector3.new(0, 0, 0) | |
| 681 | bg.AlwaysOnTop = false | |
| 682 | local tl = Instance.new('TextLabel', bg)
| |
| 683 | tl.BackgroundTransparency = 1 | |
| 684 | tl.Size = UDim2.new(1, 0, 1, 0) | |
| 685 | tl.Text = text | |
| 686 | tl.Font = 'SourceSansBold' | |
| 687 | tl.FontSize = 'Size42' | |
| 688 | if crit == true then | |
| 689 | tl.TextColor3 = Color3.new(180 / 255, 0, 0) | |
| 690 | else | |
| 691 | tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255) | |
| 692 | end | |
| 693 | tl.TextStrokeTransparency = 0 | |
| 694 | tl.TextScaled = true | |
| 695 | tl.TextWrapped = true | |
| 696 | coroutine.wrap(function() | |
| 697 | wait(2) | |
| 698 | for i = 1, 10 do | |
| 699 | wait() | |
| 700 | tl.TextTransparency = tl.TextTransparency + .1 | |
| 701 | end | |
| 702 | end)() | |
| 703 | end | |
| 704 | ||
| 705 | function tag(hum, Player) | |
| 706 | local creator = Instance.new('ObjectValue', hum)
| |
| 707 | creator.Value = Player | |
| 708 | creator.Name = 'creator' | |
| 709 | end | |
| 710 | function untag(hum) | |
| 711 | if hum ~= nil then | |
| 712 | local tag = hum:findFirstChild("creator")
| |
| 713 | if tag ~= nil then | |
| 714 | tag.Parent = nil | |
| 715 | end | |
| 716 | end | |
| 717 | end | |
| 718 | ||
| 719 | function tagPlayer(h) | |
| 720 | coroutine.wrap(function() | |
| 721 | tag(h, Player) | |
| 722 | wait(1) | |
| 723 | untag(h) | |
| 724 | end)() | |
| 725 | end | |
| 726 | function damage(hit, mind, maxd, knock, type, prop) | |
| 727 | --[[ | |
| 728 | to apply it to a Player directly, make the first arg go to the Players Torso | |
| 729 | 1 - normal type(damage and knockback) | |
| 730 | 2 - drain type(damage no knockback) | |
| 731 | 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed | |
| 732 | 4 - heal(heals target) | |
| 733 | 5 - subtracts enemies defense | |
| 734 | 6 - subtracts enemies speed | |
| 735 | 7 - | |
| 736 | ]] | |
| 737 | if hit.Name:lower() == 'Hitbox' then | |
| 738 | local pos = CFrame.new(0, 1, -1) | |
| 739 | sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6) | |
| 740 | coroutine.wrap(function() | |
| 741 | for i = 1, 4 do | |
| 742 | clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0)) | |
| 743 | end | |
| 744 | end)() | |
| 745 | end | |
| 746 | if hit.Parent == nil then | |
| 747 | return | |
| 748 | end | |
| 749 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 750 | for i, v in pairs(hit.Parent:children()) do | |
| 751 | if v:IsA("Humanoid") then
| |
| 752 | h = v | |
| 753 | end | |
| 754 | end | |
| 755 | if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then
| |
| 756 | h = hit.Parent.Parent:FindFirstChild('Humanoid')
| |
| 757 | end | |
| 758 | if hit.Parent:IsA('Hat') then
| |
| 759 | hit = hit.Parent.Parent:findFirstChild('Head')
| |
| 760 | end | |
| 761 | local D = math.random(mind, maxd) * damagea.Value | |
| 762 | if h.Parent:FindFirstChild('Stats') then
| |
| 763 | D = D / h.Parent:FindFirstChild('Stats').Defence.Value
| |
| 764 | elseif not h.Parent:FindFirstChild('Stats') then
| |
| 765 | D = D | |
| 766 | end | |
| 767 | if h then | |
| 768 | makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5))) | |
| 769 | end | |
| 770 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 771 | if type == 1 then | |
| 772 | tagPlayer(h) | |
| 773 | local asd = randomizer(critchance) | |
| 774 | if asd == true then | |
| 775 | turncrit() | |
| 776 | end | |
| 777 | if crit == false then | |
| 778 | h.Health = h.Health - D | |
| 779 | else | |
| 780 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
| 781 | end | |
| 782 | so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
| |
| 783 | local vp = Instance.new('BodyVelocity')
| |
| 784 | vp.P = 500 | |
| 785 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
| 786 | vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05 | |
| 787 | if knock > 0 then | |
| 788 | vp.Parent = hit.Parent.Torso | |
| 789 | end | |
| 790 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 791 | elseif type == 2 then | |
| 792 | so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
| |
| 793 | local asd = randomizer(critchance) | |
| 794 | if asd == true then | |
| 795 | turncrit() | |
| 796 | end | |
| 797 | if crit == false then | |
| 798 | h.Health = h.Health - D | |
| 799 | else | |
| 800 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
| 801 | end | |
| 802 | tagPlayer(h) | |
| 803 | elseif type == 3 then | |
| 804 | tagPlayer(h) | |
| 805 | local asd = randomizer(critchance) | |
| 806 | if asd == true then | |
| 807 | turncrit() | |
| 808 | end | |
| 809 | if crit == false then | |
| 810 | h.Health = h.Health - D | |
| 811 | else | |
| 812 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
| 813 | end | |
| 814 | Character.Humanoid.Health = Character.Humanoid.Health + D / 2 | |
| 815 | so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
| |
| 816 | for i = 1, 10 do | |
| 817 | firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
| |
| 818 | end | |
| 819 | elseif type == 4 then | |
| 820 | h.Health = h.Health + D | |
| 821 | so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
| |
| 822 | circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0))
| |
| 823 | end | |
| 824 | end | |
| 825 | end | |
| 826 | ||
| 827 | function subtrackstamina(k) | |
| 828 | if stamina >= k then | |
| 829 | stamina = stamina - k | |
| 830 | end | |
| 831 | end | |
| 832 | ||
| 833 | Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(2.39999986, 1.20000005, 1.39999998)) | |
| 834 | Handleweld=CreateWeld(m,Torso,Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.200019836, 2.05684233, -1.52587891e-005, -3.33786011e-006, 5.10364771e-007, -1.00000072, 7.4505806e-007, 0.999990106, 5.23030758e-006, 0.999992847, 1.10268593e-006, -2.98023224e-006)) | |
| 835 | CreateMesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 836 | LLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 837 | LLeg1Connectorweld=CreateWeld(m,Handle,LLeg1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.271961212, 0.323261261, 0.554561615, 0.953878522, 0.237942964, 0.183013678, -0.270872086, 0.945040286, 0.183021933, -0.12940976, -0.224147677, 0.965908945)) | |
| 838 | CreateMesh("SpecialMesh",LLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 839 | LLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 840 | LLeg2Connectorweld=CreateWeld(m,Handle,LLeg2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.286304474, 0.549964905, 0.383785248, 0.87001282, -0.368683487, -0.327339649, 0.475172013, 0.804078519, 0.357260257, 0.131499231, -0.466358542, 0.874748588)) | |
| 841 | CreateMesh("SpecialMesh",LLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 842 | NeckHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","NeckHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994)) | |
| 843 | NeckHandleConnectorweld=CreateWeld(m,Handle,NeckHandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.800014496, 2.2649765e-006, -1.52587891e-005, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) | |
| 844 | CreateMesh("SpecialMesh",NeckHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 845 | RLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 846 | RLeg2Connectorweld=CreateWeld(m,Handle,RLeg2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.284488678, 0.502339363, -0.511051178, 0.866028607, -0.433008194, 0.249994621, 0.482959986, 0.853833973, -0.194110557, -0.12941049, 0.288845479, 0.948575199)) | |
| 847 | CreateMesh("SpecialMesh",RLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 848 | RLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 849 | RLeg1Connectorweld=CreateWeld(m,Handle,RLeg1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.434127808, 0.261667252, -0.51184082, 0.953878462, 0.277202159, 0.115192153, -0.270872086, 0.960207343, -0.0678096935, -0.129410967, 0.0334844999, 0.991011441)) | |
| 850 | CreateMesh("SpecialMesh",RLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 851 | TailHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","TailHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994)) | |
| 852 | TailHandleConnectorweld=CreateWeld(m,Handle,TailHandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.800014496, -4.17232513e-006, -1.14440918e-005, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) | |
| 853 | CreateMesh("SpecialMesh",TailHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 854 | Wings=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wings",Vector3.new(1.38, 0.600000024, 0.400000006)) | |
| 855 | Wingsweld=CreateWeld(m,Handle,Wings,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00999832153, -1.35054588, -0.870742798, -3.57603994e-007, 1.84772534e-006, 0.999992847, 0.707109332, 0.707094491, -2.27373675e-013, -0.707105219, 0.707105219, 0)) | |
| 856 | CreateMesh("SpecialMesh",Wings,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=188700920 ",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.600000024, 0.928000093))
| |
| 857 | HeadHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HeadHandleConnector",Vector3.new(0.799999774, 0.800000012, 1.19999993)) | |
| 858 | HeadHandleConnectorweld=CreateWeld(m, NeckHandleConnector, HeadHandleConnector, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.13883209, -1.22878647, -4.95910645e-005, 0.965921879, -0.258816749, -8.3394184e-007, 0.258814901, 0.965910494, 1.70232727e-006, 7.33734851e-009, -1.24428539e-008, 0.999992847)) | |
| 859 | CreateMesh("SpecialMesh",HeadHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 860 | HeadHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HeadHandle",Vector3.new(0.799999774, 0.800000012, 1.19999993)) | |
| 861 | HeadHandleweld=CreateWeld(m,HeadHandleConnector,HeadHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(.5,.3,0)) | |
| 862 | CreateMesh("SpecialMesh",HeadHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 863 | BlinkPartL=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BlinkPartL",Vector3.new(0.430000007, 0.349999994, 0.209999993)) | |
| 864 | BlinkPartLweld=CreateWeld(m,HeadHandle,BlinkPartL,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.627552032, -0.15424633, 0.675392151, 0.965920627, 3.52720974e-007, 0.258818448, -3.27823614e-007, 0.999994576, -4.27638327e-007, -0.258816987, 3.32397349e-007, 0.965925992)) | |
| 865 | CreateMesh("SpecialMesh",BlinkPartL,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 866 | BlinkPartR=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BlinkPartR",Vector3.new(0.430000007, 0.349999994, 0.209999919)) | |
| 867 | BlinkPartRweld=CreateWeld(m,HeadHandle,BlinkPartR,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.668586731, 0.0254650116, 0.6536026, 0.963257611, 0.166627169, -0.210616693, 0.170450777, -0.985360563, 7.06354513e-007, -0.207533255, -0.035900455, -0.977568686)) | |
| 868 | CreateMesh("SpecialMesh",BlinkPartR,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 869 | Head=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Head",Vector3.new(1.59999979, 1, 1.19999993)) | |
| 870 | Headweld=CreateWeld(m,HeadHandle,Head,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399993896, -0.100018501, -3.81469727e-006, 0.999994338, -7.45053441e-008, 0, 4.59620352e-013, 0.999994516, 5.40012479e-013, -6.82121026e-013, -1.62003744e-012, 1)) | |
| 871 | CreateMesh("SpecialMesh",Head,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 872 | - | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003)) |
| 872 | + | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003)) |
| 873 | Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.268547058, 0.0147666931, 0.492343903, 0.266456544, 0.961500287, -0.0669870079, -0.937416613, 0.24235782, -0.249999925, -0.22414504, 0.129409671, 0.965918422)) | |
| 874 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 875 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006)) | |
| 876 | Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.35981369, -0.0811252594, -0.392364502, 0.499998569, 0.866011322, 1.38495011e-007, -0.836511791, 0.482955486, 0.258817196, 0.224141717, -0.129405871, 0.965918958)) | |
| 877 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 878 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006)) | |
| 879 | Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.359809875, -0.0811347961, 0.392364502, 0.500002265, 0.866017759, 4.3843329e-009, -0.836509109, 0.48296532, -0.25881812, -0.224141061, 0.129409656, 0.965926051)) | |
| 880 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 881 | - | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003)) |
| 881 | + | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003)) |
| 882 | Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.268550873, 0.0147647858, -0.492359161, 0.266456187, 0.961500764, 0.066986382, -0.937418401, 0.242359444, 0.249994203, 0.224138066, -0.129404321, 0.965920031)) | |
| 883 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 884 | - | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917)) |
| 884 | + | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917)) |
| 885 | Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.706802368, -0.148231506, -0.399997711, 0.999991596, -8.94065053e-008, -6.82121026e-013, -4.47030253e-008, 0.999991894, -1.00897068e-012, -4.54747351e-013, -1.05160325e-012, 1)) | |
| 886 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 887 | - | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917)) |
| 887 | + | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917)) |
| 888 | Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.706802368, -0.148216248, 0.399990082, 0.999985158, -5.96041865e-008, -1.13686838e-012, -8.94065053e-008, 0.999985576, -1.15107923e-012, -6.82121026e-013, -1.44950718e-012, 1)) | |
| 889 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 890 | LLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 891 | LLeg1Handleweld=CreateWeld(m,LLeg1Connector,LLeg1Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0365982056, 0.0366020203, 0.193164825, 0.999997556, -8.96677375e-006, -5.36441803e-007, -8.96677375e-006, 0.999984801, 3.7252903e-006, -5.36441803e-007, 3.7252903e-006, 0.999984503)) | |
| 892 | CreateMesh("SpecialMesh",LLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 893 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) | |
| 894 | Partweld=CreateWeld(m,LLeg1Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.299993515, 7.62939453e-006, 0.999997556, -8.96677375e-006, -5.36441803e-007, -8.96677375e-006, 0.999984801, 3.7252903e-006, -5.36441803e-007, 3.7252903e-006, 0.999984503)) | |
| 895 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 896 | LLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 897 | LLeg2Handleweld=CreateWeld(m,LLeg2Connector,LLeg2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0654640198, 0.0714416504, 0.174942017, 1.0000006, 4.96953726e-006, 2.38418579e-006, 4.96953726e-006, 0.999982536, 4.35113907e-006, 2.38418579e-006, 4.35113907e-006, 0.999983668)) | |
| 898 | CreateMesh("SpecialMesh",LLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 899 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) | |
| 900 | Partweld=CreateWeld(m,LLeg2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 0.300003052, 0, 1.0000006, 4.96953726e-006, 2.38418579e-006, 4.96953726e-006, 0.999982536, 4.35113907e-006, 2.38418579e-006, 4.35113907e-006, 0.999983668)) | |
| 901 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 902 | RLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 903 | RLeg1Handleweld=CreateWeld(m,RLeg1Connector,RLeg1Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 0.999997318, -9.39005986e-006, -1.82539225e-006, -9.39005986e-006, 0.999983907, 2.83867121e-006, -1.82539225e-006, 2.83867121e-006, 0.999985874)) | |
| 904 | CreateMesh("SpecialMesh",RLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 905 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) | |
| 906 | Partweld=CreateWeld(m,RLeg1Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-006, 0.299995422, 7.62939453e-006, 0.999997318, -9.39005986e-006, -1.82539225e-006, -9.39005986e-006, 0.999983907, 2.83867121e-006, -1.82539225e-006, 2.83867121e-006, 0.999985874)) | |
| 907 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 908 | RLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 909 | RLeg2Handleweld=CreateWeld(m,RLeg2Connector,RLeg2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0499954224, 0.038819313, -0.189697266, 0.999999583, 6.79865479e-006, -3.51667404e-006, 6.79865479e-006, 0.999980748, -1.23679638e-006, -3.51667404e-006, -1.23679638e-006, 0.999986768)) | |
| 910 | CreateMesh("SpecialMesh",RLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 911 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) | |
| 912 | Partweld=CreateWeld(m,RLeg2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.299996376, -7.62939453e-006, 0.999999583, 6.79865479e-006, -3.51667404e-006, 6.79865479e-006, 0.999980748, -1.23679638e-006, -3.51667404e-006, -1.23679638e-006, 0.999986768)) | |
| 913 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 914 | NeckHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","NeckHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994)) | |
| 915 | NeckHandleweld=CreateWeld(m,NeckHandleConnector,NeckHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) | |
| 916 | CreateMesh("SpecialMesh",NeckHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 917 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.5999999, 0.800000012, 0.99999994)) | |
| 918 | Partweld=CreateWeld(m,NeckHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.673364639, 0.315284729, 1.14440918e-005, 0.499996573, 0.866005898, 1.41687553e-006, -0.866028965, 0.499994099, 1.24860276e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) | |
| 919 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 920 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.5999999, 1, 1.39999998)) | |
| 921 | Partweld=CreateWeld(m,NeckHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.456003189, -0.000812530518, 1.52587891e-005, 0.707109332, 0.707094491, 1.05421987e-006, -0.707105219, 0.707105219, 1.56317299e-006, 2.27782948e-009, -3.0485694e-009, 0.999992847)) | |
| 922 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 923 | TailHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","TailHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994)) | |
| 924 | TailHandleweld=CreateWeld(m,TailHandleConnector,TailHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.90734863e-006, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) | |
| 925 | CreateMesh("SpecialMesh",TailHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 926 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.39999974, 0.800000012, 0.99999994)) | |
| 927 | Partweld=CreateWeld(m,TailHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299999237, 3.57627869e-007, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695)) | |
| 928 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 929 | Tail2HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail2HandleConnector",Vector3.new(0.599999726, 0.800000012, 0.799999952)) | |
| 930 | Tail2HandleConnectorweld=CreateWeld(m,TailHandle,Tail2HandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.674129486, -0.0147686005, -0.00961303711, 0.999255121, 0.0334871411, -0.0192402583, -0.0341572762, 0.998781741, -0.0350642987, 0.0180421956, 0.0356986672, 0.999185622)) | |
| 931 | CreateMesh("SpecialMesh",Tail2HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 932 | Tail2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail2Handle",Vector3.new(0.599999726, 0.800000012, 0.799999952)) | |
| 933 | Tail2Handleweld=CreateWeld(m,Tail2HandleConnector,Tail2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000131, -5.39020402e-006, -1.95577741e-007, -5.39020402e-006, 0.999980748, 1.59069896e-006, -1.95577741e-007, 1.59069896e-006, 0.999985993)) | |
| 934 | CreateMesh("SpecialMesh",Tail2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 935 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.39999974, 0.800000012, 0.799999952)) | |
| 936 | Partweld=CreateWeld(m,Tail2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399993896, -2.86102295e-006, 3.81469727e-006, 1.00000131, -5.39020402e-006, -1.95577741e-007, -5.39020402e-006, 0.999980748, 1.59069896e-006, -1.95577741e-007, 1.59069896e-006, 0.999985993)) | |
| 937 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 938 | Tail3HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail3HandleConnector",Vector3.new(0.599999845, 0.800000012, 0.799999952)) | |
| 939 | Tail3HandleConnectorweld=CreateWeld(m,Tail2Handle,Tail3HandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.933692932, 0.152185202, 0.0128250122, 0.989802122, -0.139427915, 0.0292246509, 0.138289496, 0.989660025, 0.0377997532, -0.0341934189, -0.0333709307, 0.998850942)) | |
| 940 | CreateMesh("SpecialMesh",Tail3HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 941 | Tail3Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail3Handle",Vector3.new(0.599999845, 0.800000012, 0.799999952)) | |
| 942 | Tail3Handleweld=CreateWeld(m,Tail3HandleConnector,Tail3Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012)) | |
| 943 | CreateMesh("SpecialMesh",Tail3Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 944 | - | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(1.79999983, 0.800000012, 0.200000003)) |
| 944 | + | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(1.79999983, 0.800000012, 0.200000003)) |
| 945 | Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04519272, 0.064440012, -0.0208930969, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012)) | |
| 946 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 947 | - | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003)) |
| 947 | + | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003)) |
| 948 | Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.11207199, 0.0611591339, 0.00499725342, 0.965926647, -0.258816153, -5.12227416e-008, 0.258816123, 0.965926647, -1.83936208e-007, 9.68575478e-008, 1.64000085e-007, 1)) | |
| 949 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 950 | - | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003)) |
| 950 | + | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003)) |
| 951 | Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.07800674, 0.0849123001, -0.020816803, 0.965926468, 0.258816481, 2.40281224e-007, -0.258821636, 0.965915978, -1.06403604e-006, -1.3038516e-006, 2.83645932e-006, 0.999992907)) | |
| 952 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 953 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.39999986, 0.800000012, 0.799999952)) | |
| 954 | Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400001526, -2.14576721e-006, -3.81469727e-006, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012)) | |
| 955 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 956 | ||
| 957 | mouse.Button1Down:connect(function() | |
| 958 | end) | |
| 959 | ||
| 960 | mouse.KeyDown:connect(function(k) | |
| 961 | k = k:lower() | |
| 962 | if k == "f" and attack == false and Flying == false then | |
| 963 | Humanoid.CameraOffset = Vector3.new(0, -1, 0) | |
| 964 | Humanoid.WalkSpeed = 25 | |
| 965 | Flying = true | |
| 966 | elseif k == "f" and attack == false and Flying == true then | |
| 967 | Humanoid.CameraOffset = Vector3.new(0, -2, 0) | |
| 968 | Humanoid.WalkSpeed = 16 | |
| 969 | Flying = false | |
| 970 | end | |
| 971 | end) | |
| 972 | ||
| 973 | ||
| 974 | inputserv.InputBegan:connect(function(k) | |
| 975 | if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then | |
| 976 | elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then | |
| 977 | elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then | |
| 978 | elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then | |
| 979 | end | |
| 980 | end) | |
| 981 | ||
| 982 | inputserv.InputBegan:connect(function(k) | |
| 983 | if k.KeyCode == Enum.KeyCode.Slash then | |
| 984 | local fin = nil | |
| 985 | typing = true | |
| 986 | fin = inputserv.InputBegan:connect(function(k) | |
| 987 | if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 988 | typing = false | |
| 989 | fin:disconnect() | |
| 990 | end | |
| 991 | end) | |
| 992 | end | |
| 993 | end) | |
| 994 | ||
| 995 | function updateskills() | |
| 996 | if cooldown1 <= co1 then | |
| 997 | cooldown1 = cooldown1 + 1 / 30 | |
| 998 | end | |
| 999 | if cooldown2 <= co2 then | |
| 1000 | cooldown2 = cooldown2 + 1 / 30 | |
| 1001 | end | |
| 1002 | if cooldown3 <= co3 then | |
| 1003 | cooldown3 = cooldown3 + 1 / 30 | |
| 1004 | end | |
| 1005 | if cooldown4 <= co4 then | |
| 1006 | cooldown4 = cooldown4 + 1 / 30 | |
| 1007 | end | |
| 1008 | if stamina <= maxstamina then | |
| 1009 | stamina = stamina + recovermana / 30 | |
| 1010 | end | |
| 1011 | end | |
| 1012 | ||
| 1013 | coroutine.resume(coroutine.create(function(Part,Weld) | |
| 1014 | while Part.Parent~=nil do | |
| 1015 | wait(5) | |
| 1016 | for i=0,1,0.2 do | |
| 1017 | wait() | |
| 1018 | BlinkPartR.Mesh.Scale = Vector3.new(.7-1*i,1,1) | |
| 1019 | end | |
| 1020 | for i=0,1,0.2 do | |
| 1021 | wait() | |
| 1022 | BlinkPartR.Mesh.Scale = Vector3.new(.7+.3*i,1,1) | |
| 1023 | end | |
| 1024 | end | |
| 1025 | end),BlinkPartR,BlinkPartRweld) | |
| 1026 | ||
| 1027 | coroutine.resume(coroutine.create(function(Part,Weld) | |
| 1028 | while Part.Parent~=nil do | |
| 1029 | wait(5) | |
| 1030 | for i=0,1,0.2 do | |
| 1031 | wait() | |
| 1032 | BlinkPartL.Mesh.Scale = Vector3.new(.7-1*i,1,1) | |
| 1033 | end | |
| 1034 | for i=0,1,0.2 do | |
| 1035 | wait() | |
| 1036 | BlinkPartL.Mesh.Scale = Vector3.new(.7+.3*i,1,1) | |
| 1037 | end | |
| 1038 | end | |
| 1039 | end),BlinkPartL,BlinkPartLweld) | |
| 1040 | ||
| 1041 | game:GetService'RunService'.Heartbeat:connect(function() | |
| 1042 | updateskills() | |
| 1043 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1044 | velocity = RootPart.Velocity.y | |
| 1045 | sine = sine + change | |
| 1046 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
| 1047 | if equipped == true or equipped == false then | |
| 1048 | if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then | |
| 1049 | Anim = "Jump" | |
| 1050 | if attack == false then | |
| 1051 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 2) * angles(math.rad(50), math.rad(0), math.rad(0)), .3) | |
| 1052 | NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) | |
| 1053 | HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
| 1054 | LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
| 1055 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
| 1056 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
| 1057 | RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
| 1058 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3) | |
| 1059 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3) | |
| 1060 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3) | |
| 1061 | end | |
| 1062 | elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then | |
| 1063 | Anim = "Fall" | |
| 1064 | if attack == false then | |
| 1065 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 1) * angles(math.rad(20), math.rad(0), math.rad(0)), .3) | |
| 1066 | NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), .3) | |
| 1067 | HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
| 1068 | LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
| 1069 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
| 1070 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
| 1071 | RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
| 1072 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) | |
| 1073 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) | |
| 1074 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) | |
| 1075 | end | |
| 1076 | elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then | |
| 1077 | Anim = "Idle" | |
| 1078 | if attack == false and Flying == false then | |
| 1079 | change = 1 | |
| 1080 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1081 | NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10+1.5*math.cos(sine/10))), .3) | |
| 1082 | HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-5+1.5*math.cos(sine/10))), .3) | |
| 1083 | LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3) | |
| 1084 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3) | |
| 1085 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3) | |
| 1086 | RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3) | |
| 1087 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(15*math.cos(sine/15)), math.rad(5*math.cos(sine/25))), .3) | |
| 1088 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(-15*math.cos(sine/15)), math.rad(20*math.cos(sine/15)), math.rad(2*math.cos(sine/15))), .3) | |
| 1089 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(15*math.cos(sine/15)), math.rad(10*math.cos(sine/15)), math.rad(0)), .3) | |
| 1090 | elseif attack == false and Flying == true then | |
| 1091 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 3.5+.2*math.cos(sine/10), 2) * angles(math.rad(40+2*math.cos(sine/10)), math.rad(0), math.rad(0)), .3) | |
| 1092 | NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10+3*math.cos(sine/10))), .3) | |
| 1093 | HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20-3*math.cos(sine/10))), .3) | |
| 1094 | LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3) | |
| 1095 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3) | |
| 1096 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3) | |
| 1097 | RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3) | |
| 1098 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20-3*math.cos(sine/10))), .3) | |
| 1099 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10+2*math.cos(sine/10))), .3) | |
| 1100 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15-1.5*math.cos(sine/10))), .3) | |
| 1101 | end | |
| 1102 | elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then | |
| 1103 | Anim = "Walk" | |
| 1104 | if attack == false and Flying == false then | |
| 1105 | change = 1 | |
| 1106 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(1.5+1*math.cos(sine/10)), math.rad(0), math.rad(0)), .3) | |
| 1107 | NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+2*math.cos(sine/10))), .3) | |
| 1108 | HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+1.5*math.cos(sine/10))), .3) | |
| 1109 | LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30*math.cos(sine/4.5))), .3) | |
| 1110 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3) | |
| 1111 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3) | |
| 1112 | RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30*math.cos(sine/4.5))), .3) | |
| 1113 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3) | |
| 1114 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2*math.cos(sine/15))), .3) | |
| 1115 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3) | |
| 1116 | elseif attack == false and Flying == true then | |
| 1117 | change = 1 | |
| 1118 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 3.5+.2*math.cos(sine/10), 1) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1119 | NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10+1*math.cos(sine/10))), .3) | |
| 1120 | HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20+1*math.cos(sine/10))), .3) | |
| 1121 | LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3) | |
| 1122 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3) | |
| 1123 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3) | |
| 1124 | RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3) | |
| 1125 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10-3*math.cos(sine/10))), .3) | |
| 1126 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+2*math.cos(sine/10))), .3) | |
| 1127 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3-1.5*math.cos(sine/10))), .3) | |
| 1128 | end | |
| 1129 | end | |
| 1130 | end | |
| 1131 | - | end) |
| 1131 | + | |
| 1132 | ||
| 1133 | ||
| 1134 | paly = game.Players.LocalPlayer | |
| 1135 | p = game.Players.LocalPlayer | |
| 1136 | char = paly.Character | |
| 1137 | local symbolimg = "rbxassetid://301362847" | |
| 1138 | Player = game:GetService("Players").LocalPlayer
| |
| 1139 | Character = Player.Character | |
| 1140 | local mouse = paly:GetMouse() | |
| 1141 | local charge = false | |
| 1142 | local energy = math.huge | |
| 1143 | vt = Vector3.new | |
| 1144 | torso = char.Torso | |
| 1145 | neck = char.Torso.Neck | |
| 1146 | hum = char.Humanoid | |
| 1147 | Player = game:GetService("Players").LocalPlayer
| |
| 1148 | local mouse = Player:GetMouse() | |
| 1149 | Character = Player.Character | |
| 1150 | tors = Character.Torso | |
| 1151 | lleg = Character["Left Leg"] | |
| 1152 | root = Character.HumanoidRootPart | |
| 1153 | hed = Character.Head | |
| 1154 | rleg = Character["Right Leg"] | |
| 1155 | rarm = Character["Right Arm"] | |
| 1156 | larm = Character["Left Arm"] | |
| 1157 | local Effects = {}
| |
| 1158 | attack = false | |
| 1159 | local attacking = false | |
| 1160 | vt = Vector3.new | |
| 1161 | bc = BrickColor.new | |
| 1162 | br = BrickColor.random | |
| 1163 | it = Instance.new | |
| 1164 | cf = CFrame.new | |
| 1165 | euler = CFrame.fromEulerAnglesXYZ | |
| 1166 | angles = CFrame.Angles | |
| 1167 | matr = math.random | |
| 1168 | local maincolor = Color3.new(255/255,85/255,0/255) | |
| 1169 | ||
| 1170 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
| 1171 | if hit.Parent==nil then | |
| 1172 | return | |
| 1173 | end | |
| 1174 | h=hit.Parent:FindFirstChild("Humanoid")
| |
| 1175 | for _,v in pairs(hit.Parent:children()) do | |
| 1176 | if v:IsA("Humanoid") then
| |
| 1177 | h=v | |
| 1178 | end | |
| 1179 | end | |
| 1180 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
| |
| 1181 | h=hit.Parent.Parent:FindFirstChild("Humanoid")
| |
| 1182 | end | |
| 1183 | if hit.Parent.className=="Hat" then | |
| 1184 | hit=hit.Parent.Parent:findFirstChild("Head")
| |
| 1185 | end | |
| 1186 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 1187 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
| |
| 1188 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 1189 | return | |
| 1190 | end]] | |
| 1191 | -- hs(hit,1.2) | |
| 1192 | c=Instance.new("ObjectValue")
| |
| 1193 | c.Name="creator" | |
| 1194 | c.Value=game:service("Players").LocalPlayer
| |
| 1195 | c.Parent=h | |
| 1196 | game:GetService("Debris"):AddItem(c,.5)
| |
| 1197 | Damage=math.random(minim,maxim) | |
| 1198 | -- h:TakeDamage(Damage) | |
| 1199 | blocked=false | |
| 1200 | block=hit.Parent:findFirstChild("Block")
| |
| 1201 | if block~=nil then | |
| 1202 | print(block.className) | |
| 1203 | if block.className=="NumberValue" then | |
| 1204 | if block.Value>0 then | |
| 1205 | blocked=true | |
| 1206 | if decreaseblock==nil then | |
| 1207 | block.Value=block.Value-1 | |
| 1208 | end | |
| 1209 | end | |
| 1210 | end | |
| 1211 | if block.className=="IntValue" then | |
| 1212 | if block.Value>0 then | |
| 1213 | blocked=true | |
| 1214 | if decreaseblock~=nil then | |
| 1215 | block.Value=block.Value-1 | |
| 1216 | end | |
| 1217 | end | |
| 1218 | end | |
| 1219 | end | |
| 1220 | if blocked==false then | |
| 1221 | -- h:TakeDamage(Damage) | |
| 1222 | h.Health=h.Health-Damage | |
| 1223 | showDamage(hit.Parent,Damage,.math.huge,TorsoColor) | |
| 1224 | else | |
| 1225 | h.Health=h.Health-(Damage/2) | |
| 1226 | showDamage(hit.Parent,Damage/math.huge,.math.huge,BrickColor.new("Bright blue"))
| |
| 1227 | end | |
| 1228 | if Type=="Knockdown" then | |
| 1229 | hum=hit.Parent.Humanoid | |
| 1230 | hum.PlatformStand=true | |
| 1231 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1232 | swait(1) | |
| 1233 | HHumanoid.PlatformStand=false | |
| 1234 | end),hum) | |
| 1235 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 1236 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 1237 | local bodvol=Instance.new("BodyVelocity")
| |
| 1238 | bodvol.velocity=angle*knockback | |
| 1239 | bodvol.P=5000 | |
| 1240 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 1241 | bodvol.Parent=hit | |
| 1242 | rl=Instance.new("BodyAngularVelocity")
| |
| 1243 | rl.P=3000 | |
| 1244 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 1245 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 1246 | rl.Parent=hit | |
| 1247 | game:GetService("Debris"):AddItem(bodvol,.5)
| |
| 1248 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 1249 | elseif Type=="Normal" then | |
| 1250 | vp=Instance.new("BodyVelocity")
| |
| 1251 | vp.P=500 | |
| 1252 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 1253 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 1254 | if KnockbackType==1 then | |
| 1255 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
| 1256 | elseif KnockbackType==2 then | |
| 1257 | vp.velocity=Property.CFrame.lookVector*knockback | |
| 1258 | end | |
| 1259 | if knockback>0 then | |
| 1260 | vp.Parent=hit.Parent.Torso | |
| 1261 | end | |
| 1262 | game:GetService("Debris"):AddItem(vp,.5)
| |
| 1263 | elseif Type=="Up" then | |
| 1264 | local bodyVelocity=Instance.new("BodyVelocity")
| |
| 1265 | bodyVelocity.velocity=vt(0,10,0) | |
| 1266 | bodyVelocity.P=1000 | |
| 1267 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
| 1268 | bodyVelocity.Parent=hit | |
| 1269 | game:GetService("Debris"):AddItem(bodyVelocity,1)
| |
| 1270 | rl=Instance.new("BodyAngularVelocity")
| |
| 1271 | rl.P=3000 | |
| 1272 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 1273 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
| 1274 | rl.Parent=hit | |
| 1275 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 1276 | elseif Type=="Snare" then | |
| 1277 | bp=Instance.new("BodyPosition")
| |
| 1278 | bp.P=2000 | |
| 1279 | bp.D=100 | |
| 1280 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 1281 | bp.position=hit.Parent.Torso.Position | |
| 1282 | bp.Parent=hit.Parent.Torso | |
| 1283 | game:GetService("Debris"):AddItem(bp,1)
| |
| 1284 | elseif Type=="Target" then | |
| 1285 | if Targetting==false then | |
| 1286 | ZTarget=hit.Parent.Torso | |
| 1287 | coroutine.resume(coroutine.create(function(Part) | |
| 1288 | swait(5) | |
| 1289 | end),ZTarget) | |
| 1290 | TargHum=ZTarget.Parent:findFirstChild("Humanoid")
| |
| 1291 | targetgui=Instance.new("BillboardGui")
| |
| 1292 | targetgui.Parent=ZTarget | |
| 1293 | targetgui.Size=UDim2.new(10,100,10,100) | |
| 1294 | targ=Instance.new("ImageLabel")
| |
| 1295 | targ.Parent=targetgui | |
| 1296 | targ.BackgroundTransparency=1 | |
| 1297 | targ.Image="rbxassetid://4834067" | |
| 1298 | targ.Size=UDim2.new(1,0,1,0) | |
| 1299 | cam.CameraType="Scriptable" | |
| 1300 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 1301 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 1302 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 1303 | Targetting=true | |
| 1304 | RocketTarget=ZTarget | |
| 1305 | for i=1,Property do | |
| 1306 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
| 1307 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
| 1308 | swait() | |
| 1309 | end | |
| 1310 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
| 1311 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 1312 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 1313 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
| 1314 | end | |
| 1315 | Targetting=false | |
| 1316 | RocketTarget=nil | |
| 1317 | targetgui.Parent=nil | |
| 1318 | cam.CameraType="Custom" | |
| 1319 | end | |
| 1320 | end | |
| 1321 | debounce=Instance.new("BoolValue")
| |
| 1322 | debounce.Name="DebounceHit" | |
| 1323 | debounce.Parent=hit.Parent | |
| 1324 | debounce.Value=true | |
| 1325 | game:GetService("Debris"):AddItem(debounce,Delay)
| |
| 1326 | c=Instance.new("ObjectValue")
| |
| 1327 | c.Name="creator" | |
| 1328 | c.Value=Player | |
| 1329 | c.Parent=h | |
| 1330 | game:GetService("Debris"):AddItem(c,.5)
| |
| 1331 | CRIT=false | |
| 1332 | hitDeb=true | |
| 1333 | AttackPos=6 | |
| 1334 | end | |
| 1335 | end | |
| 1336 | ||
| 1337 | showDamage=function(Char,Dealt,du,Color) | |
| 1338 | m=Instance.new("Model")
| |
| 1339 | m.Name="" | |
| 1340 | h=Instance.new("Humanoid")
| |
| 1341 | h.Health=0 | |
| 1342 | h.MaxHealth=0 | |
| 1343 | h.Parent=m | |
| 1344 | c=Instance.new("Part")
| |
| 1345 | c.Transparency=0 | |
| 1346 | c.Material = "Neon" | |
| 1347 | c.BrickColor=bc("Bright red")
| |
| 1348 | c.Name="Head" | |
| 1349 | c.TopSurface=0 | |
| 1350 | c.BottomSurface=0 | |
| 1351 | CV="Hot pink" | |
| 1352 | ||
| 1353 | local txt = Instance.new("BillboardGui", c)
| |
| 1354 | txt.Adornee = c | |
| 1355 | txt.Name = "_status" | |
| 1356 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 1357 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 1358 | local text = Instance.new("TextLabel", txt)
| |
| 1359 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 1360 | text.FontSize = "Size24" | |
| 1361 | text.TextScaled = true | |
| 1362 | text.TextTransparency = 0 | |
| 1363 | text.BackgroundTransparency = 1 | |
| 1364 | text.TextTransparency = 0 | |
| 1365 | text.TextStrokeTransparency = 0 | |
| 1366 | text.Font = "Cartoon" | |
| 1367 | text.TextStrokeColor3 = BrickColor.new("Really black").Color
| |
| 1368 | ||
| 1369 | v=Instance.new("Part")
| |
| 1370 | v.Name = "ColorBrick" | |
| 1371 | v.Parent=c | |
| 1372 | v.FormFactor="Symmetric" | |
| 1373 | v.Anchored=true | |
| 1374 | v.CanCollide=false | |
| 1375 | v.BottomSurface="Smooth" | |
| 1376 | v.TopSurface="Smooth" | |
| 1377 | v.Size=Vector3.new(10,5,3) | |
| 1378 | v.Transparency=1 | |
| 1379 | v.CFrame=c.CFrame | |
| 1380 | v.BrickColor=BrickColor.new(CV) | |
| 1381 | v.Transparency=1 | |
| 1382 | text.TextColor3 = BrickColor.new("Bright red").Color
| |
| 1383 | v.Shape="Block" | |
| 1384 | text.Text = tostring(Dealt).. "!" | |
| 1385 | local tick = Instance.new("Sound",c)
| |
| 1386 | tick.SoundId = "rbxassetid://553325070" | |
| 1387 | tick.Volume = 1.25 | |
| 1388 | tick.Pitch = 0.75 | |
| 1389 | tick:Play() | |
| 1390 | c.formFactor="Plate" | |
| 1391 | c.Transparency = 0.99 | |
| 1392 | c.Size=Vector3.new(1,.4,1) | |
| 1393 | ms=Instance.new("CylinderMesh")
| |
| 1394 | ms.Scale=Vector3.new(.8,.8,.8) | |
| 1395 | if CRIT==true then | |
| 1396 | ms.Scale=Vector3.new(1,1.25,1) | |
| 1397 | end | |
| 1398 | ms.Parent=c | |
| 1399 | c.Reflectance=0 | |
| 1400 | Instance.new("BodyGyro").Parent=c
| |
| 1401 | c.Parent=m | |
| 1402 | if Char:findFirstChild("Head")~=nil then
| |
| 1403 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 1404 | elseif Char.Parent:findFirstChild("Head")~=nil then
| |
| 1405 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 1406 | end | |
| 1407 | f=Instance.new("BodyPosition")
| |
| 1408 | f.P=2000 | |
| 1409 | f.D=100 | |
| 1410 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 1411 | f.position=c.Position+Vector3.new(0,3,0) | |
| 1412 | f.Parent=c | |
| 1413 | game:GetService("Debris"):AddItem(m,.5+du)
| |
| 1414 | c.CanCollide=false | |
| 1415 | m.Parent=workspace | |
| 1416 | c.CanCollide=false | |
| 1417 | end | |
| 1418 | ||
| 1419 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) | |
| 1420 | local gui = it(GuiType) | |
| 1421 | gui.Parent = parent | |
| 1422 | gui.Text = text | |
| 1423 | gui.BackgroundTransparency = backtrans | |
| 1424 | gui.BackgroundColor3 = backcol | |
| 1425 | gui.SizeConstraint = "RelativeXY" | |
| 1426 | gui.TextXAlignment = "Center" | |
| 1427 | gui.TextYAlignment = "Center" | |
| 1428 | gui.Position = pos | |
| 1429 | gui.Size = size | |
| 1430 | gui.Font = "SourceSans" | |
| 1431 | gui.FontSize = "Size14" | |
| 1432 | gui.TextWrapped = false | |
| 1433 | gui.TextStrokeTransparency = 0 | |
| 1434 | gui.TextColor = BrickColor.new("White")
| |
| 1435 | return gui | |
| 1436 | end | |
| 1437 | ||
| 1438 | local basgui = it("GuiMain")
| |
| 1439 | basgui.Parent = Player.PlayerGui | |
| 1440 | basgui.Name = "CooldownsGUI" | |
| 1441 | local basframe = it("Frame")
| |
| 1442 | basframe.Parent = basgui | |
| 1443 | basframe.BackgroundColor3 = Color3.new(255, 255, 255) | |
| 1444 | basframe.BackgroundTransparency = 1 | |
| 1445 | basframe.BorderColor3 = Color3.new(17, 17, 17) | |
| 1446 | basframe.Size = UDim2.new(0.2, 0, 0.2, 0) | |
| 1447 | basframe.Position = UDim2.new(0.8, 0, 0.8, 0) | |
| 1448 | local healthgui = gui("TextLabel", basframe, "Energy: ", 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, -0.5, 0))
| |
| 1449 | healthgui.TextSize = 24 | |
| 1450 | healthgui.ZIndex = 2 | |
| 1451 | ||
| 1452 | local tick = Instance.new("Sound",tors)
| |
| 1453 | tick.SoundId = "rbxassetid://313108061" | |
| 1454 | tick.Volume = 2.5 | |
| 1455 | tick.Looped = true | |
| 1456 | tick.Pitch = 0.85 | |
| 1457 | ||
| 1458 | local tick2 = Instance.new("Sound",tors)
| |
| 1459 | tick2.SoundId = "rbxassetid://272207079" | |
| 1460 | tick2.Volume = 2.5 | |
| 1461 | tick2.Looped = true | |
| 1462 | tick2.Pitch = 0.85 | |
| 1463 | ||
| 1464 | local orb = Instance.new("Part")
| |
| 1465 | orb.Parent = char | |
| 1466 | orb.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1467 | orb.Archivable = true | |
| 1468 | orb.Transparency = 1 | |
| 1469 | orb.Material = "Neon" | |
| 1470 | orb.CanCollide = false | |
| 1471 | local weld1 = Instance.new("Weld")
| |
| 1472 | weld1.Parent = tors | |
| 1473 | weld1.Part0 = tors | |
| 1474 | weld1.Part1 = orb | |
| 1475 | weld1.C1 = CFrame.new(0, 0.01, 0) | |
| 1476 | local pt1 = NumberSequenceKeypoint.new(0,5,0) | |
| 1477 | local pt1a = NumberSequenceKeypoint.new(0,1,0) | |
| 1478 | local pt2a = NumberSequenceKeypoint.new(1,1,1) | |
| 1479 | local pt2 = NumberSequenceKeypoint.new(1,0,0) | |
| 1480 | local effecto = Instance.new("ParticleEmitter",orb)
| |
| 1481 | effecto.LightEmission = 1 | |
| 1482 | effecto.Texture = "rbxassetid://296874871" | |
| 1483 | effecto.Color = ColorSequence.new(maincolor) | |
| 1484 | effecto.Rate = 0 | |
| 1485 | effecto.Acceleration = Vector3.new(0,25,0) | |
| 1486 | effecto.Transparency = NumberSequence.new({pt1a,pt2a})
| |
| 1487 | effecto.Lifetime = NumberRange.new(0.75) | |
| 1488 | effecto.Size = NumberSequence.new({pt1,pt2})
| |
| 1489 | effecto.Speed = NumberRange.new(12.5) | |
| 1490 | effecto.VelocitySpread = 100000000 | |
| 1491 | effecto.RotSpeed = NumberRange.new(-300,300) | |
| 1492 | ||
| 1493 | function Fireball() | |
| 1494 | local touched = false | |
| 1495 | local delay = false | |
| 1496 | local spart = Instance.new("Part",char)
| |
| 1497 | local tick = Instance.new("Sound",spart)
| |
| 1498 | tick.SoundId = "rbxassetid://304448425" | |
| 1499 | tick.Volume = 1.5 | |
| 1500 | tick.Pitch = 1.5 | |
| 1501 | tick:Play() | |
| 1502 | spart.Size = vt(1,1,1) | |
| 1503 | spart.BrickColor = BrickColor.new("Deep orange")
| |
| 1504 | spart.Transparency = 1 | |
| 1505 | spart.CanCollide = false | |
| 1506 | spart.Material = "Neon" | |
| 1507 | spart.CFrame = hed.CFrame + Vector3.new(0,0.1,0) | |
| 1508 | local msh = Instance.new("SpecialMesh",spart)
| |
| 1509 | msh.MeshType = "Sphere" | |
| 1510 | msh.Scale = vt(3,3,3) | |
| 1511 | local pt1e = NumberSequenceKeypoint.new(0,5,0) | |
| 1512 | local pt2e = NumberSequenceKeypoint.new(1,0,0) | |
| 1513 | local effecto = Instance.new("ParticleEmitter",spart)
| |
| 1514 | effecto.Texture = "rbxassetid://296874871" | |
| 1515 | effecto.LightEmission = 1 | |
| 1516 | effecto.Color = ColorSequence.new(maincolor) | |
| 1517 | effecto.Rate = 10000 | |
| 1518 | effecto.Lifetime = NumberRange.new(0.5) | |
| 1519 | effecto.Size = NumberSequence.new({pt1e,pt2e})
| |
| 1520 | effecto.Transparency = NumberSequence.new({pt1a,pt2a})
| |
| 1521 | effecto.Speed = NumberRange.new(0,0) | |
| 1522 | effecto.RotSpeed = NumberRange.new(-500,500) | |
| 1523 | local bv = Instance.new("BodyVelocity")
| |
| 1524 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1525 | bv.velocity = mouse.Hit.lookVector * 100 | |
| 1526 | bv.Parent = spart | |
| 1527 | wait(0.05) | |
| 1528 | spart.Touched:connect(function(hit) | |
| 1529 | if touched == false then | |
| 1530 | touched = true | |
| 1531 | if hit.Name == "Water" then | |
| 1532 | local pt1er = NumberSequenceKeypoint.new(0,5,0) | |
| 1533 | local pt2er = NumberSequenceKeypoint.new(1,0,0) | |
| 1534 | local smokecolor = Color3.new(0.5,0.5,0.5) | |
| 1535 | local tick = Instance.new("Sound",spart)
| |
| 1536 | tick.SoundId = "rbxassetid://629468689" | |
| 1537 | tick.Volume = 1.5 | |
| 1538 | tick.Pitch = 1 | |
| 1539 | tick:Play() | |
| 1540 | effecto.Rate = 0 | |
| 1541 | local effectoz = Instance.new("ParticleEmitter",spart)
| |
| 1542 | effectoz.Texture = "rbxassetid://296874871" | |
| 1543 | effectoz.LightEmission = 0.75 | |
| 1544 | effectoz.Color = ColorSequence.new(smokecolor) | |
| 1545 | effectoz.Lifetime = NumberRange.new(3) | |
| 1546 | effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
| |
| 1547 | effectoz.Size = NumberSequence.new({pt1er,pt2er})
| |
| 1548 | effectoz.Rotation = NumberRange.new(-300,300) | |
| 1549 | effectoz.RotSpeed = NumberRange.new(-500,500) | |
| 1550 | effectoz.Speed = NumberRange.new(10) | |
| 1551 | effectoz.VelocitySpread = 25 | |
| 1552 | effectoz.Rate = 1000000000000 | |
| 1553 | spart.Anchored = true | |
| 1554 | wait(1) | |
| 1555 | effectoz.Rate = 0 | |
| 1556 | wait(2.5) | |
| 1557 | spart:Destroy() | |
| 1558 | end | |
| 1559 | if hit.Name ~= "Water" then | |
| 1560 | local saveposition = spart.CFrame | |
| 1561 | spart.Anchored = true | |
| 1562 | local tick = Instance.new("Sound",spart)
| |
| 1563 | tick.SoundId = "rbxassetid://304529688" | |
| 1564 | tick.Volume = 1.5 | |
| 1565 | tick.Pitch = 1.25 | |
| 1566 | tick:Play() | |
| 1567 | effecto:Destroy() | |
| 1568 | local pt1er = NumberSequenceKeypoint.new(0,10,0) | |
| 1569 | local pt2er = NumberSequenceKeypoint.new(1,0,0) | |
| 1570 | local effectoz = Instance.new("ParticleEmitter",spart)
| |
| 1571 | effectoz.Texture = "rbxassetid://296874871" | |
| 1572 | effectoz.LightEmission = 1 | |
| 1573 | effectoz.Color = ColorSequence.new(maincolor) | |
| 1574 | effectoz.Lifetime = NumberRange.new(0.5) | |
| 1575 | effectoz.Size = NumberSequence.new({pt1er,pt2er})
| |
| 1576 | effectoz.Speed = NumberRange.new(0,0) | |
| 1577 | effectoz.Rotation = NumberRange.new(-300,300) | |
| 1578 | effectoz.RotSpeed = NumberRange.new(-500,500) | |
| 1579 | effectoz.Speed = NumberRange.new(75) | |
| 1580 | effectoz.VelocitySpread = 10000000 | |
| 1581 | effectoz.Rate = 1000000000000 | |
| 1582 | spart.Size = vt(1,1,1) | |
| 1583 | spart.Transparency = 1 | |
| 1584 | spart.CFrame = saveposition | |
| 1585 | Damagefunc(hit,10,15,-20,"Normal",root,.2,1) | |
| 1586 | wait(0.5) | |
| 1587 | effectoz.Rate = 0 | |
| 1588 | for i = 0, 10 do | |
| 1589 | spart.Size = spart.Size + vt(0.5,0.5,0.5) | |
| 1590 | spart.CFrame = saveposition | |
| 1591 | wait() | |
| 1592 | end | |
| 1593 | spart:Destroy() | |
| 1594 | end | |
| 1595 | end | |
| 1596 | end) | |
| 1597 | end | |
| 1598 | ||
| 1599 | function Firestorm() | |
| 1600 | local shur = Instance.new("Part",char)
| |
| 1601 | local gahd = Instance.new("Sound",char)
| |
| 1602 | char.Humanoid.WalkSpeed = 0 | |
| 1603 | gahd.SoundId = "rbxassetid://313945165" | |
| 1604 | gahd.Volume = 4.5 | |
| 1605 | gahd.Pitch = 0.595 | |
| 1606 | gahd:Play() | |
| 1607 | shur.Transparency = 1 | |
| 1608 | shur.Material = "Neon" | |
| 1609 | shur.BrickColor = bc("Bright red")
| |
| 1610 | shur.Anchored = true | |
| 1611 | shur.CFrame = tors.CFrame + vt(0,-2.5,0) | |
| 1612 | shur.Size = vt(1,0.2,1) | |
| 1613 | shur.CanCollide = false | |
| 1614 | local dec = Instance.new("Decal",shur)
| |
| 1615 | dec.Texture = symbolimg | |
| 1616 | dec.Face = "Top" | |
| 1617 | local dec2 = dec:Clone() | |
| 1618 | dec2.Parent = shur | |
| 1619 | dec2.Face = "Bottom" | |
| 1620 | local Meshshur = Instance.new("CylinderMesh",shur)
| |
| 1621 | Meshshur.Scale = vt(0,1,0) | |
| 1622 | for i = 0, 25 do | |
| 1623 | shur.CFrame = tors.CFrame + vt(0,-2.95,0) | |
| 1624 | Meshshur.Scale = Meshshur.Scale + vt(2.5,0,2.5) | |
| 1625 | wait(0) | |
| 1626 | end | |
| 1627 | for i = 0, 10 do | |
| 1628 | larm.Transparency = larm.Transparency + 0.1 | |
| 1629 | rarm.Transparency = rarm.Transparency + 0.1 | |
| 1630 | lleg.Transparency = lleg.Transparency + 0.1 | |
| 1631 | rleg.Transparency = rleg.Transparency + 0.1 | |
| 1632 | tors.Transparency = tors.Transparency + 0.1 | |
| 1633 | hed.Transparency = hed.Transparency + 0.1 | |
| 1634 | wait() | |
| 1635 | end | |
| 1636 | local pt1mass = NumberSequenceKeypoint.new(0,15,0) | |
| 1637 | local effecton = Instance.new("ParticleEmitter",root)
| |
| 1638 | effecton.LightEmission = 1 | |
| 1639 | effecton.Texture = "rbxassetid://296874871" | |
| 1640 | effecton.Color = ColorSequence.new(maincolor) | |
| 1641 | effecton.Rate = 1000 | |
| 1642 | effecton.Lifetime = NumberRange.new(0.75) | |
| 1643 | effecton.Size = NumberSequence.new({pt1mass,pt2})
| |
| 1644 | effecton.Speed = NumberRange.new(5) | |
| 1645 | effecton.VelocitySpread = 100000000 | |
| 1646 | effecton.RotSpeed = NumberRange.new(-300,300) | |
| 1647 | local ash = Instance.new("Sound",root)
| |
| 1648 | ash.SoundId = "rbxassetid://181004943" | |
| 1649 | ash.Volume = 4 | |
| 1650 | ash.Pitch = 0.25 | |
| 1651 | ash:Play() | |
| 1652 | local sbs = Instance.new("BodyPosition", root)
| |
| 1653 | sbs.P = 3000 | |
| 1654 | sbs.D = 1000 | |
| 1655 | sbs.maxForce = Vector3.new(500000, 500000000, 500000) | |
| 1656 | sbs.position = root.CFrame.p + Vector3.new(0, 175, 0) | |
| 1657 | wait(2.5) | |
| 1658 | for i = 0, 25 do | |
| 1659 | local touched = false | |
| 1660 | local delay = false | |
| 1661 | local spart = Instance.new("Part",char)
| |
| 1662 | local tick = Instance.new("Sound",spart)
| |
| 1663 | tick.SoundId = "rbxassetid://304448425" | |
| 1664 | tick.Volume = 1.5 | |
| 1665 | tick.Pitch = 0.85 | |
| 1666 | tick:Play() | |
| 1667 | spart.Size = vt(2,2,2) | |
| 1668 | spart.BrickColor = BrickColor.new("Deep orange")
| |
| 1669 | spart.Transparency = 1 | |
| 1670 | spart.CanCollide = false | |
| 1671 | spart.Material = "Neon" | |
| 1672 | spart.CFrame = hed.CFrame + Vector3.new(0,0.1,0) | |
| 1673 | local pt1e = NumberSequenceKeypoint.new(0,15,0) | |
| 1674 | local pt2e = NumberSequenceKeypoint.new(1,0,0) | |
| 1675 | local effecto = Instance.new("ParticleEmitter",spart)
| |
| 1676 | effecto.Texture = "rbxassetid://296874871" | |
| 1677 | effecto.LightEmission = 1 | |
| 1678 | effecto.Color = ColorSequence.new(maincolor) | |
| 1679 | effecto.Rate = 10000 | |
| 1680 | effecto.Lifetime = NumberRange.new(0.5) | |
| 1681 | effecto.Size = NumberSequence.new({pt1e,pt2e})
| |
| 1682 | effecto.Transparency = NumberSequence.new({pt1a,pt2a})
| |
| 1683 | effecto.Speed = NumberRange.new(0,0) | |
| 1684 | effecto.RotSpeed = NumberRange.new(-500,500) | |
| 1685 | local bv = Instance.new("BodyVelocity")
| |
| 1686 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1687 | bv.velocity = mouse.Hit.lookVector * 150 | |
| 1688 | bv.Parent = spart | |
| 1689 | wait(0.05) | |
| 1690 | spart.Touched:connect(function(hit) | |
| 1691 | if touched == false then | |
| 1692 | touched = true | |
| 1693 | if hit.Name == "Water" then | |
| 1694 | local pt1er = NumberSequenceKeypoint.new(0,15,0) | |
| 1695 | local pt2er = NumberSequenceKeypoint.new(1,0,0) | |
| 1696 | local smokecolor = Color3.new(0.5,0.5,0.5) | |
| 1697 | local tick = Instance.new("Sound",spart)
| |
| 1698 | tick.SoundId = "rbxassetid://629468689" | |
| 1699 | tick.Volume = 1.5 | |
| 1700 | tick.Pitch = 1 | |
| 1701 | tick:Play() | |
| 1702 | effecto.Rate = 0 | |
| 1703 | local effectoz = Instance.new("ParticleEmitter",spart)
| |
| 1704 | effectoz.Texture = "rbxassetid://296874871" | |
| 1705 | effectoz.LightEmission = 0.75 | |
| 1706 | effectoz.Color = ColorSequence.new(smokecolor) | |
| 1707 | effectoz.Lifetime = NumberRange.new(3) | |
| 1708 | effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
| |
| 1709 | effectoz.Size = NumberSequence.new({pt1er,pt2er})
| |
| 1710 | effectoz.Rotation = NumberRange.new(-300,300) | |
| 1711 | effectoz.RotSpeed = NumberRange.new(-500,500) | |
| 1712 | effectoz.Speed = NumberRange.new(10) | |
| 1713 | effectoz.VelocitySpread = 75 | |
| 1714 | effectoz.Rate = 1000000000000 | |
| 1715 | spart.Anchored = true | |
| 1716 | wait(3) | |
| 1717 | effectoz.Rate = 0 | |
| 1718 | wait(2.5) | |
| 1719 | spart:Destroy() | |
| 1720 | end | |
| 1721 | if hit.Name ~= "Water" then | |
| 1722 | local saveposition = spart.CFrame | |
| 1723 | spart.Anchored = true | |
| 1724 | local tick = Instance.new("Sound",spart)
| |
| 1725 | tick.SoundId = "rbxassetid://304529688" | |
| 1726 | tick.Volume = 1.5 | |
| 1727 | tick.Pitch = 0.85 | |
| 1728 | tick:Play() | |
| 1729 | local tickn = Instance.new("Sound",spart)
| |
| 1730 | tickn.SoundId = "rbxassetid://138186576" | |
| 1731 | tickn.Volume = 1.5 | |
| 1732 | tickn.Pitch = 1 | |
| 1733 | tickn:Play() | |
| 1734 | local tick2e = Instance.new("Sound",spart)
| |
| 1735 | tick2e.SoundId = "rbxassetid://272207079" | |
| 1736 | tick2e.Volume = 2.5 | |
| 1737 | tick2e.Looped = true | |
| 1738 | tick2e.Pitch = 0.85 | |
| 1739 | tick2e:Play() | |
| 1740 | effecto:Destroy() | |
| 1741 | local pt1er = NumberSequenceKeypoint.new(0,15,0) | |
| 1742 | local pt1er2 = NumberSequenceKeypoint.new(0,25,0) | |
| 1743 | local pt2er = NumberSequenceKeypoint.new(1,0,0) | |
| 1744 | local effectoz = Instance.new("ParticleEmitter",spart)
| |
| 1745 | effectoz.Texture = "rbxassetid://296874871" | |
| 1746 | effectoz.LightEmission = 1 | |
| 1747 | effectoz.Color = ColorSequence.new(maincolor) | |
| 1748 | effectoz.Lifetime = NumberRange.new(2.5) | |
| 1749 | effectoz.Size = NumberSequence.new({pt1er,pt2er})
| |
| 1750 | effectoz.Speed = NumberRange.new(0,0) | |
| 1751 | effectoz.Rotation = NumberRange.new(-300,300) | |
| 1752 | effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
| |
| 1753 | effectoz.RotSpeed = NumberRange.new(-500,500) | |
| 1754 | effectoz.Speed = NumberRange.new(10) | |
| 1755 | effectoz.VelocitySpread = 10000000 | |
| 1756 | effectoz.Rate = 1000000000000 | |
| 1757 | local effectoz2 = Instance.new("ParticleEmitter",spart)
| |
| 1758 | effectoz2.Texture = "rbxassetid://296874871" | |
| 1759 | effectoz2.LightEmission = 1 | |
| 1760 | effectoz2.Color = ColorSequence.new(maincolor) | |
| 1761 | effectoz2.Lifetime = NumberRange.new(0.5) | |
| 1762 | effectoz2.Size = NumberSequence.new({pt1er2,pt2er})
| |
| 1763 | effectoz2.Speed = NumberRange.new(0,0) | |
| 1764 | effectoz2.Rotation = NumberRange.new(-300,300) | |
| 1765 | effectoz2.RotSpeed = NumberRange.new(-500,500) | |
| 1766 | effectoz2.Speed = NumberRange.new(250) | |
| 1767 | effectoz2.VelocitySpread = 10000000 | |
| 1768 | effectoz2.Rate = 1000000000000 | |
| 1769 | spart.Size = vt(25,25,25) | |
| 1770 | spart.Transparency = 1 | |
| 1771 | spart.CFrame = saveposition | |
| 1772 | wait(0.5) | |
| 1773 | Damagefunc(hit,50,60,-20,"Normal",root,.2,1) | |
| 1774 | effectoz2.Rate = 0 | |
| 1775 | wait(5) | |
| 1776 | effectoz.Rate = 0 | |
| 1777 | tick2e:Stop() | |
| 1778 | wait(2.5) | |
| 1779 | spart:Destroy() | |
| 1780 | end | |
| 1781 | end | |
| 1782 | end) | |
| 1783 | wait(0.215) | |
| 1784 | end | |
| 1785 | wait(1) | |
| 1786 | effecton.Rate = 0 | |
| 1787 | for i = 0, 10 do | |
| 1788 | larm.Transparency = larm.Transparency - 0.1 | |
| 1789 | rarm.Transparency = rarm.Transparency - 0.1 | |
| 1790 | lleg.Transparency = lleg.Transparency - 0.1 | |
| 1791 | rleg.Transparency = rleg.Transparency - 0.1 | |
| 1792 | tors.Transparency = tors.Transparency - 0.1 | |
| 1793 | hed.Transparency = hed.Transparency - 0.1 | |
| 1794 | wait() | |
| 1795 | end | |
| 1796 | sbs:Destroy() | |
| 1797 | char.Humanoid.WalkSpeed = 16 | |
| 1798 | for i = 0, 25 do | |
| 1799 | shur.CFrame = tors.CFrame + vt(0,-2.95,0) | |
| 1800 | Meshshur.Scale = Meshshur.Scale - vt(2.5,0,2.5) | |
| 1801 | wait(0) | |
| 1802 | end | |
| 1803 | effecton:Destroy() | |
| 1804 | shur:Destroy() | |
| 1805 | end | |
| 1806 | ||
| 1807 | ||
| 1808 | function SplashFire() | |
| 1809 | local shur = Instance.new("Part",char)
| |
| 1810 | local gahd = Instance.new("Sound",char)
| |
| 1811 | char.Humanoid.WalkSpeed = 0 | |
| 1812 | gahd.SoundId = "rbxassetid://313945165" | |
| 1813 | gahd.Volume = 2.5 | |
| 1814 | gahd.Pitch = 0.625 | |
| 1815 | gahd:Play() | |
| 1816 | shur.Transparency = 1 | |
| 1817 | shur.Material = "Neon" | |
| 1818 | shur.BrickColor = bc("Bright red")
| |
| 1819 | shur.Anchored = true | |
| 1820 | shur.CFrame = tors.CFrame + vt(0,-2.5,0) | |
| 1821 | shur.Size = vt(1,0.2,1) | |
| 1822 | shur.CanCollide = false | |
| 1823 | local dec = Instance.new("Decal",shur)
| |
| 1824 | dec.Texture = symbolimg | |
| 1825 | dec.Face = "Top" | |
| 1826 | local dec2 = dec:Clone() | |
| 1827 | dec2.Parent = shur | |
| 1828 | dec2.Face = "Bottom" | |
| 1829 | local Meshshur = Instance.new("CylinderMesh",shur)
| |
| 1830 | Meshshur.Scale = vt(0,1,0) | |
| 1831 | for i = 0, 25 do | |
| 1832 | shur.CFrame = tors.CFrame + vt(0,-2.95,0) | |
| 1833 | Meshshur.Scale = Meshshur.Scale + vt(1,0,1) | |
| 1834 | wait(0) | |
| 1835 | end | |
| 1836 | for i = 0, 10 do | |
| 1837 | larm.Transparency = larm.Transparency + 0.1 | |
| 1838 | rarm.Transparency = rarm.Transparency + 0.1 | |
| 1839 | lleg.Transparency = lleg.Transparency + 0.1 | |
| 1840 | rleg.Transparency = rleg.Transparency + 0.1 | |
| 1841 | tors.Transparency = tors.Transparency + 0.1 | |
| 1842 | hed.Transparency = hed.Transparency + 0.1 | |
| 1843 | wait() | |
| 1844 | end | |
| 1845 | local pt1mass = NumberSequenceKeypoint.new(0,15,0) | |
| 1846 | local effecton = Instance.new("ParticleEmitter",root)
| |
| 1847 | effecton.LightEmission = 1 | |
| 1848 | effecton.Texture = "rbxassetid://296874871" | |
| 1849 | effecton.Color = ColorSequence.new(maincolor) | |
| 1850 | effecton.Rate = 1000 | |
| 1851 | effecton.Lifetime = NumberRange.new(0.75) | |
| 1852 | effecton.Size = NumberSequence.new({pt1mass,pt2})
| |
| 1853 | effecton.Speed = NumberRange.new(5) | |
| 1854 | effecton.VelocitySpread = 100000000 | |
| 1855 | effecton.RotSpeed = NumberRange.new(-300,300) | |
| 1856 | local ash = Instance.new("Sound",root)
| |
| 1857 | ash.SoundId = "rbxassetid://181004943" | |
| 1858 | ash.Volume = 4 | |
| 1859 | ash.Pitch = 0.5 | |
| 1860 | ash:Play() | |
| 1861 | local sbs = Instance.new("BodyPosition", root)
| |
| 1862 | sbs.P = 3000 | |
| 1863 | sbs.D = 1000 | |
| 1864 | sbs.maxForce = Vector3.new(500000, 500000000, 500000) | |
| 1865 | sbs.position = root.CFrame.p + Vector3.new(0, 200, 0) | |
| 1866 | wait(1) | |
| 1867 | sbs.position = root.CFrame.p - Vector3.new(0, 500, 0) | |
| 1868 | wait(0.1) | |
| 1869 | sbs:Destroy() | |
| 1870 | wait(0.15) | |
| 1871 | effecton.Rate = 0 | |
| 1872 | local spart = Instance.new("Part",char)
| |
| 1873 | spart.Size = vt(2,2,2) | |
| 1874 | spart.BrickColor = BrickColor.new("Deep orange")
| |
| 1875 | spart.Transparency = 1 | |
| 1876 | spart.CanCollide = false | |
| 1877 | spart.Material = "Neon" | |
| 1878 | spart.Anchored = true | |
| 1879 | spart.CFrame = root.CFrame + Vector3.new(0,0.1,0) | |
| 1880 | local tick = Instance.new("Sound",spart)
| |
| 1881 | tick.SoundId = "rbxassetid://304529688" | |
| 1882 | tick.Volume = 1.5 | |
| 1883 | tick.Pitch = 0.85 | |
| 1884 | tick:Play() | |
| 1885 | local tickn = Instance.new("Sound",spart)
| |
| 1886 | tickn.SoundId = "rbxassetid://138186576" | |
| 1887 | tickn.Volume = 1.5 | |
| 1888 | tickn.Pitch = 1 | |
| 1889 | tickn:Play() | |
| 1890 | local tick2e = Instance.new("Sound",spart)
| |
| 1891 | tick2e.SoundId = "rbxassetid://272207079" | |
| 1892 | tick2e.Volume = 2.5 | |
| 1893 | tick2e.Looped = true | |
| 1894 | tick2e.Pitch = 0.85 | |
| 1895 | tick2e:Play() | |
| 1896 | local pt1er = NumberSequenceKeypoint.new(0,10,0) | |
| 1897 | local pt1er2 = NumberSequenceKeypoint.new(0,20,0) | |
| 1898 | local pt2er = NumberSequenceKeypoint.new(1,0,0) | |
| 1899 | local effectoz = Instance.new("ParticleEmitter",spart)
| |
| 1900 | effectoz.Texture = "rbxassetid://296874871" | |
| 1901 | effectoz.LightEmission = 1 | |
| 1902 | effectoz.Color = ColorSequence.new(maincolor) | |
| 1903 | effectoz.Lifetime = NumberRange.new(2.5) | |
| 1904 | effectoz.Size = NumberSequence.new({pt1er,pt2er})
| |
| 1905 | effectoz.Speed = NumberRange.new(0,0) | |
| 1906 | effectoz.Rotation = NumberRange.new(-300,300) | |
| 1907 | effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
| |
| 1908 | effectoz.RotSpeed = NumberRange.new(-500,500) | |
| 1909 | effectoz.Speed = NumberRange.new(5) | |
| 1910 | effectoz.VelocitySpread = 10000000 | |
| 1911 | effectoz.Rate = 1000000000000 | |
| 1912 | local effectoz2 = Instance.new("ParticleEmitter",spart)
| |
| 1913 | effectoz2.Texture = "rbxassetid://296874871" | |
| 1914 | effectoz2.LightEmission = 1 | |
| 1915 | effectoz2.Color = ColorSequence.new(maincolor) | |
| 1916 | effectoz2.Lifetime = NumberRange.new(0.5) | |
| 1917 | effectoz2.Size = NumberSequence.new({pt1er2,pt2er})
| |
| 1918 | effectoz2.Speed = NumberRange.new(0,0) | |
| 1919 | effectoz2.Rotation = NumberRange.new(-300,300) | |
| 1920 | effectoz2.RotSpeed = NumberRange.new(-500,500) | |
| 1921 | effectoz2.Speed = NumberRange.new(100) | |
| 1922 | effectoz2.VelocitySpread = 10000000 | |
| 1923 | effectoz2.Rate = 1000000000000 | |
| 1924 | spart.Size = vt(35,5,35) | |
| 1925 | spart.Transparency = 1 | |
| 1926 | spart.CFrame = root.CFrame | |
| 1927 | wait(0.5) | |
| 1928 | spart.Touched:connect(function(hit) | |
| 1929 | Damagefunc(hit,25,30,-20,"Normal",root,.2,1) | |
| 1930 | end) | |
| 1931 | ash:Destroy() | |
| 1932 | effectoz2.Rate = 0 | |
| 1933 | wait(5) | |
| 1934 | effecton:Destroy() | |
| 1935 | effectoz.Rate = 0 | |
| 1936 | tick2e:Stop() | |
| 1937 | wait(2.5) | |
| 1938 | spart:Destroy() | |
| 1939 | wait(1) | |
| 1940 | for i = 0, 10 do | |
| 1941 | larm.Transparency = larm.Transparency - 0.1 | |
| 1942 | rarm.Transparency = rarm.Transparency - 0.1 | |
| 1943 | lleg.Transparency = lleg.Transparency - 0.1 | |
| 1944 | rleg.Transparency = rleg.Transparency - 0.1 | |
| 1945 | tors.Transparency = tors.Transparency - 0.1 | |
| 1946 | hed.Transparency = hed.Transparency - 0.1 | |
| 1947 | wait() | |
| 1948 | end | |
| 1949 | sbs:Destroy() | |
| 1950 | char.Humanoid.WalkSpeed = 16 | |
| 1951 | for i = 0, 25 do | |
| 1952 | shur.CFrame = tors.CFrame + vt(0,-2.95,0) | |
| 1953 | Meshshur.Scale = Meshshur.Scale - vt(1,0,1) | |
| 1954 | wait(0) | |
| 1955 | end | |
| 1956 | shur:Destroy() | |
| 1957 | end | |
| 1958 | ||
| 1959 | function MassiveFireBall() | |
| 1960 | local shur = Instance.new("Part",char)
| |
| 1961 | local gahd = Instance.new("Sound",char)
| |
| 1962 | char.Humanoid.WalkSpeed = 0 | |
| 1963 | gahd.SoundId = "rbxassetid://313945165" | |
| 1964 | gahd.Volume = 2.5 | |
| 1965 | gahd.Pitch = 0.6 | |
| 1966 | gahd:Play() | |
| 1967 | shur.Transparency = 1 | |
| 1968 | shur.Material = "Neon" | |
| 1969 | shur.BrickColor = bc("Bright red")
| |
| 1970 | shur.Anchored = true | |
| 1971 | shur.CFrame = tors.CFrame + vt(0,-2.5,0) | |
| 1972 | shur.Size = vt(1,0.2,1) | |
| 1973 | shur.CanCollide = false | |
| 1974 | local dec = Instance.new("Decal",shur)
| |
| 1975 | dec.Texture = symbolimg | |
| 1976 | dec.Face = "Top" | |
| 1977 | local dec2 = dec:Clone() | |
| 1978 | dec2.Parent = shur | |
| 1979 | dec2.Face = "Bottom" | |
| 1980 | local Meshshur = Instance.new("CylinderMesh",shur)
| |
| 1981 | Meshshur.Scale = vt(0,1,0) | |
| 1982 | for i = 0, 25 do | |
| 1983 | shur.CFrame = tors.CFrame + vt(0,-2.95,0) | |
| 1984 | Meshshur.Scale = Meshshur.Scale + vt(1.25,0,1.25) | |
| 1985 | wait(0) | |
| 1986 | end | |
| 1987 | local touched = false | |
| 1988 | local delay = false | |
| 1989 | local spart = Instance.new("Part",char)
| |
| 1990 | local tick = Instance.new("Sound",spart)
| |
| 1991 | tick.SoundId = "rbxassetid://304448425" | |
| 1992 | tick.Volume = 1.5 | |
| 1993 | tick.Pitch = 0.85 | |
| 1994 | tick:Play() | |
| 1995 | spart.Size = vt(2,2,2) | |
| 1996 | spart.BrickColor = BrickColor.new("Deep orange")
| |
| 1997 | spart.Transparency = 1 | |
| 1998 | spart.CanCollide = false | |
| 1999 | spart.Material = "Neon" | |
| 2000 | spart.CFrame = hed.CFrame + Vector3.new(0,0.1,0) | |
| 2001 | local pt1e = NumberSequenceKeypoint.new(0,15,0) | |
| 2002 | local pt2e = NumberSequenceKeypoint.new(1,0,0) | |
| 2003 | local effecto = Instance.new("ParticleEmitter",spart)
| |
| 2004 | effecto.Texture = "rbxassetid://296874871" | |
| 2005 | effecto.LightEmission = 1 | |
| 2006 | effecto.Color = ColorSequence.new(maincolor) | |
| 2007 | effecto.Rate = 10000 | |
| 2008 | effecto.Lifetime = NumberRange.new(0.5) | |
| 2009 | effecto.Size = NumberSequence.new({pt1e,pt2e})
| |
| 2010 | effecto.Transparency = NumberSequence.new({pt1a,pt2a})
| |
| 2011 | effecto.Speed = NumberRange.new(0,0) | |
| 2012 | effecto.RotSpeed = NumberRange.new(-500,500) | |
| 2013 | local bv = Instance.new("BodyVelocity")
| |
| 2014 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 2015 | bv.velocity = mouse.Hit.lookVector * 150 | |
| 2016 | bv.Parent = spart | |
| 2017 | wait(0.05) | |
| 2018 | spart.Touched:connect(function(hit) | |
| 2019 | if touched == false then | |
| 2020 | touched = true | |
| 2021 | if hit.Name == "Water" then | |
| 2022 | local pt1er = NumberSequenceKeypoint.new(0,15,0) | |
| 2023 | local pt2er = NumberSequenceKeypoint.new(1,0,0) | |
| 2024 | local smokecolor = Color3.new(0.5,0.5,0.5) | |
| 2025 | local tick = Instance.new("Sound",spart)
| |
| 2026 | tick.SoundId = "rbxassetid://629468689" | |
| 2027 | tick.Volume = 1.5 | |
| 2028 | tick.Pitch = 1 | |
| 2029 | tick:Play() | |
| 2030 | effecto.Rate = 0 | |
| 2031 | local effectoz = Instance.new("ParticleEmitter",spart)
| |
| 2032 | effectoz.Texture = "rbxassetid://296874871" | |
| 2033 | effectoz.LightEmission = 0.75 | |
| 2034 | effectoz.Color = ColorSequence.new(smokecolor) | |
| 2035 | effectoz.Lifetime = NumberRange.new(3) | |
| 2036 | effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
| |
| 2037 | effectoz.Size = NumberSequence.new({pt1er,pt2er})
| |
| 2038 | effectoz.Rotation = NumberRange.new(-300,300) | |
| 2039 | effectoz.RotSpeed = NumberRange.new(-500,500) | |
| 2040 | effectoz.Speed = NumberRange.new(10) | |
| 2041 | effectoz.VelocitySpread = 75 | |
| 2042 | effectoz.Rate = 1000000000000 | |
| 2043 | spart.Anchored = true | |
| 2044 | wait(3) | |
| 2045 | effectoz.Rate = 0 | |
| 2046 | wait(2.5) | |
| 2047 | spart:Destroy() | |
| 2048 | end | |
| 2049 | if hit.Name ~= "Water" then | |
| 2050 | local saveposition = spart.CFrame | |
| 2051 | spart.Anchored = true | |
| 2052 | local tick = Instance.new("Sound",spart)
| |
| 2053 | tick.SoundId = "rbxassetid://304529688" | |
| 2054 | tick.Volume = 1.5 | |
| 2055 | tick.Pitch = 0.85 | |
| 2056 | tick:Play() | |
| 2057 | local tickn = Instance.new("Sound",spart)
| |
| 2058 | tickn.SoundId = "rbxassetid://138186576" | |
| 2059 | tickn.Volume = 1.5 | |
| 2060 | tickn.Pitch = 1 | |
| 2061 | tickn:Play() | |
| 2062 | local tick2e = Instance.new("Sound",spart)
| |
| 2063 | tick2e.SoundId = "rbxassetid://272207079" | |
| 2064 | tick2e.Volume = 2.5 | |
| 2065 | tick2e.Looped = true | |
| 2066 | tick2e.Pitch = 0.85 | |
| 2067 | tick2e:Play() | |
| 2068 | effecto:Destroy() | |
| 2069 | local pt1er = NumberSequenceKeypoint.new(0,15,0) | |
| 2070 | local pt1er2 = NumberSequenceKeypoint.new(0,25,0) | |
| 2071 | local pt2er = NumberSequenceKeypoint.new(1,0,0) | |
| 2072 | local effectoz = Instance.new("ParticleEmitter",spart)
| |
| 2073 | effectoz.Texture = "rbxassetid://296874871" | |
| 2074 | effectoz.LightEmission = 1 | |
| 2075 | effectoz.Color = ColorSequence.new(maincolor) | |
| 2076 | effectoz.Lifetime = NumberRange.new(2.5) | |
| 2077 | effectoz.Size = NumberSequence.new({pt1er,pt2er})
| |
| 2078 | effectoz.Speed = NumberRange.new(0,0) | |
| 2079 | effectoz.Rotation = NumberRange.new(-300,300) | |
| 2080 | effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
| |
| 2081 | effectoz.RotSpeed = NumberRange.new(-500,500) | |
| 2082 | effectoz.Speed = NumberRange.new(10) | |
| 2083 | effectoz.VelocitySpread = 10000000 | |
| 2084 | effectoz.Rate = 1000000000000 | |
| 2085 | local effectoz2 = Instance.new("ParticleEmitter",spart)
| |
| 2086 | effectoz2.Texture = "rbxassetid://296874871" | |
| 2087 | effectoz2.LightEmission = 1 | |
| 2088 | effectoz2.Color = ColorSequence.new(maincolor) | |
| 2089 | effectoz2.Lifetime = NumberRange.new(0.5) | |
| 2090 | effectoz2.Size = NumberSequence.new({pt1er2,pt2er})
| |
| 2091 | effectoz2.Speed = NumberRange.new(0,0) | |
| 2092 | effectoz2.Rotation = NumberRange.new(-300,300) | |
| 2093 | effectoz2.RotSpeed = NumberRange.new(-500,500) | |
| 2094 | effectoz2.Speed = NumberRange.new(math.huge) | |
| 2095 | effectoz2.VelocitySpread = math.huge | |
| 2096 | effectoz2.Rate = math.huge | |
| 2097 | spart.Size = vt(25,25,25) | |
| 2098 | spart.Transparency = 1 | |
| 2099 | spart.CFrame = saveposition | |
| 2100 | wait(0.5) | |
| 2101 | Damagefunc(hit,50,60,-20,"Normal",root,.2,1) | |
| 2102 | effectoz2.Rate = 0 | |
| 2103 | wait(5) | |
| 2104 | effectoz.Rate = 0 | |
| 2105 | tick2e:Stop() | |
| 2106 | wait(2.5) | |
| 2107 | spart:Destroy() | |
| 2108 | end | |
| 2109 | end | |
| 2110 | end) | |
| 2111 | char.Humanoid.WalkSpeed = 16 | |
| 2112 | wait(1) | |
| 2113 | for i = 0, 25 do | |
| 2114 | shur.CFrame = tors.CFrame + vt(0,-2.95,0) | |
| 2115 | Meshshur.Scale = Meshshur.Scale - vt(1.25,0,1.25) | |
| 2116 | wait(0) | |
| 2117 | end | |
| 2118 | shur:Destroy() | |
| 2119 | end | |
| 2120 | ||
| 2121 | ||
| 2122 | mouse.KeyDown:connect(function(k) | |
| 2123 | ||
| 2124 | k = k:lower() | |
| 2125 | if k == "q" and attacking == false then | |
| 2126 | if energy >= math.huge then | |
| 2127 | energy = energy - math.huge | |
| 2128 | attacking = true | |
| 2129 | Fireball() | |
| 2130 | attacking = false | |
| 2131 | end | |
| 2132 | end | |
| 2133 | if k == "r" and attacking == false then | |
| 2134 | if energy >= math.huge then | |
| 2135 | energy = energy - math.huge | |
| 2136 | attacking = true | |
| 2137 | MassiveFireBall() | |
| 2138 | attacking = false | |
| 2139 | end | |
| 2140 | end | |
| 2141 | if k == "f" and attacking == false then | |
| 2142 | if energy >= math.huge then | |
| 2143 | energy = energy - math.huge | |
| 2144 | attacking = true | |
| 2145 | Firestorm() | |
| 2146 | attacking = false | |
| 2147 | end | |
| 2148 | end | |
| 2149 | if k == "e" and attacking == false then | |
| 2150 | if energy >= 25 then | |
| 2151 | energy = energy - math.huge | |
| 2152 | attacking = true | |
| 2153 | SplashFire() | |
| 2154 | attacking = false | |
| 2155 | end | |
| 2156 | end | |
| 2157 | if k == "0" and attacking == false then | |
| 2158 | if charge == false then | |
| 2159 | tick:Resume() | |
| 2160 | tick2:Resume() | |
| 2161 | charge = true | |
| 2162 | attacking = true | |
| 2163 | if charge == true then | |
| 2164 | effecto.Rate = math.huge | |
| 2165 | end | |
| 2166 | end | |
| 2167 | end | |
| 2168 | end) | |
| 2169 | mouse.KeyUp:connect(function(k) | |
| 2170 | ||
| 2171 | k = k:lower() | |
| 2172 | if k == "0" then | |
| 2173 | charge = false | |
| 2174 | tick:Pause() | |
| 2175 | tick2:Pause() | |
| 2176 | attacking = false | |
| 2177 | effecto.Rate = 0 | |
| 2178 | end | |
| 2179 | end) | |
| 2180 | ||
| 2181 | while wait() do | |
| 2182 | healthgui.Text = "Energy: " ..math.floor(energy).. "/math.huge" | |
| 2183 | if charge == true then | |
| 2184 | while true do | |
| 2185 | healthgui.Text = "Energy: " ..math.floor(energy).. "/math.huge" | |
| 2186 | energy = energy + 0.75 | |
| 2187 | wait() | |
| 2188 | if energy > math.hugethen | |
| 2189 | energy = math.huge | |
| 2190 | end | |
| 2191 | if charge == false then | |
| 2192 | break | |
| 2193 | end | |
| 2194 | end | |
| 2195 | end | |
| 2196 | ||
| 2197 | if energy > math.hugethen | |
| 2198 | energy = math.huge | |
| 2199 | end | |
| 2200 | end |