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 | --This is a localscript; you will need to have access to using scripts wherever you want this | |
| 13 | p = game:GetService('Players').LocalPlayer if p.Character then if p.Character:FindFirstChild('Humanoid') then p.Character.Humanoid.MaxHealth = math.huge end end
| |
| 14 | ||
| 15 | HUMANOID = game.Workspace:WaitForChild(plr.Name) | |
| 16 | ||
| 17 | NEWPART = Instance.new("BillboardGui",HUMANOID.Head)
| |
| 18 | ||
| 19 | NEWTEXT = Instance.new("TextLabel",NEWPART)
| |
| 20 | ||
| 21 | NEWTEXT.Text = plr.Name | |
| 22 | ||
| 23 | NEWPART.ExtentsOffset = Vector3.new(0,3,0) | |
| 24 | ||
| 25 | NEWPART.Size = UDim2.new(1,1,1,1) | |
| 26 | ||
| 27 | NEWTEXT.Size = UDim2.new(5,0,1,1) | |
| 28 | ||
| 29 | NEWTEXT.TextScaled = true | |
| 30 | ||
| 31 | NEWTEXT.BackgroundTransparency = 1 | |
| 32 | ||
| 33 | NEWTEXT.Position = UDim2.new(-2,0,-0.5,0) | |
| 34 | ||
| 35 | NEWPART.AlwaysOnTop = true | |
| 36 | ||
| 37 | --i used stravants Beautifier so it might look a bit wonky | |
| 38 | Meshes = {
| |
| 39 | Blast = '20329976', | |
| 40 | Crown = '1323306', | |
| 41 | Ring = '3270017', | |
| 42 | Claw = '10681506', | |
| 43 | Crystal = '9756362', | |
| 44 | Coil = '9753878', | |
| 45 | Cloud = '1095708', | |
| 46 | } | |
| 47 | clangsounds = {
| |
| 48 | '199149119', | |
| 49 | '199149109', | |
| 50 | '199149072', | |
| 51 | '199149025', | |
| 52 | '199148971' | |
| 53 | } | |
| 54 | hitsounds = {
| |
| 55 | '199149137', | |
| 56 | '199149186', | |
| 57 | '199149221', | |
| 58 | '199149235', | |
| 59 | '199149269', | |
| 60 | '199149297' | |
| 61 | } | |
| 62 | blocksounds = {
| |
| 63 | '199148933', | |
| 64 | '199148947' | |
| 65 | } | |
| 66 | armorsounds = {
| |
| 67 | '199149321', | |
| 68 | '199149338', | |
| 69 | '199149367', | |
| 70 | '199149409', | |
| 71 | '199149452' | |
| 72 | } | |
| 73 | woosh = {
| |
| 74 | Heavy1 = '320557353', | |
| 75 | Heavy2 = '320557382', | |
| 76 | Heavy3 = '320557453', | |
| 77 | Heavy4 = '199144226', | |
| 78 | Heavy5 = '203691447', | |
| 79 | Heavy6 = '203691467', | |
| 80 | Heavy7 = '203691492', | |
| 81 | Light1 = '320557413', | |
| 82 | Light2 = '320557487', | |
| 83 | Light3 = '199145095', | |
| 84 | Light4 = '199145146', | |
| 85 | Light5 = '199145887', | |
| 86 | Light6 = '199145913', | |
| 87 | Light7 = '199145841', | |
| 88 | Medium1 = '320557518', | |
| 89 | Medium2 = '320557537', | |
| 90 | Medium3 = '320557563', | |
| 91 | Medium4 = '199145204' | |
| 92 | } | |
| 93 | music = {--i like music a lot
| |
| 94 | Breaking = '179281636', | |
| 95 | FinalReckoning = '357375770', | |
| 96 | NotDeadYet = '346175829', | |
| 97 | Intense = '151514610', | |
| 98 | JumpP1 = '160536628', | |
| 99 | JumpP2 = '60536666', | |
| 100 | SonsOfWar = '158929777', | |
| 101 | WrathOfSea = '165520893', | |
| 102 | ProtecTorsofEarth = '160542922', | |
| 103 | SkyTitans = '179282324', | |
| 104 | ArchAngel = '144043274', | |
| 105 | Anticipation = '168614529', | |
| 106 | TheMartyred = '186849544', | |
| 107 | AwakeP1 = '335631255', | |
| 108 | AwakeP2 = '335631297', | |
| 109 | ReadyAimFireP1 = '342455387', | |
| 110 | ReadyAimFireP2 = '342455399', | |
| 111 | DarkLordP1 = '209567483', | |
| 112 | DarkLordP2 = '209567529', | |
| 113 | BloodDrainP1 = '162914123', | |
| 114 | BloodDrainP2 = '162914203', | |
| 115 | DanceOfSwords = '320473062', | |
| 116 | Opal = '286415112', | |
| 117 | Calamity = '190454307', | |
| 118 | Hypnotica = '155968128', | |
| 119 | Nemisis = '160453802', | |
| 120 | Breathe = '276963903', | |
| 121 | GateToTheRift = '270655227', | |
| 122 | InfernalBeserking = '244143404', | |
| 123 | Trust = '246184492', | |
| 124 | AwakeningTheProject = '245121821', | |
| 125 | BloodPain = '242545577', | |
| 126 | Chaos = '247241693', | |
| 127 | NightmareFictionHighStake = '248062278', | |
| 128 | TheWhiteWeapon = '247236446', | |
| 129 | Gale = '256851659', | |
| 130 | ImperialCode = '256848383', | |
| 131 | Blitzkrieg = '306431437', | |
| 132 | RhapsodyRage = '348690251', | |
| 133 | TheGodFist = '348541501', | |
| 134 | BattleForSoul = '321185592', | |
| 135 | TheDarkColossus = '305976780', | |
| 136 | EmpireOfAngels = '302580452', | |
| 137 | Kronos = '302205297', | |
| 138 | Exorcist = '299796054', | |
| 139 | CrimsonFlames = '297799220', | |
| 140 | UltimatePower = '295753229', | |
| 141 | DrivingInTheDark = '295753229', | |
| 142 | AscendToPower = '293860654', | |
| 143 | GodOfTheSun = '293612495', | |
| 144 | DarkRider = '293861765', | |
| 145 | Vengeance = '293375555', | |
| 146 | SoundOfWar = '293376196', | |
| 147 | HellsCrusaders = '293012202', | |
| 148 | Legend = '293011823', | |
| 149 | RisingSouls = '290524959' | |
| 150 | } | |
| 151 | misc = {
| |
| 152 | GroundSlam = '199145477', | |
| 153 | LaserSlash = '199145497', | |
| 154 | RailGunFire = '199145534', | |
| 155 | Charge1 = '199145659', | |
| 156 | Charge2 = '169380469', | |
| 157 | Charge3 = '169380479', | |
| 158 | EmptyGun = '203691822', | |
| 159 | GunShoot = '203691837', | |
| 160 | Stomp1 = '200632875', | |
| 161 | Stomp2 = '200632561', | |
| 162 | TelsaCannonCharge = '169445572', | |
| 163 | TelsaCannonShoot = '169445602', | |
| 164 | AncientHymm = '245313442' | |
| 165 | } | |
| 166 | wait(1 / 60) | |
| 167 | local Player = game.Players.localPlayer | |
| 168 | local Character = Player.Character | |
| 169 | local Humanoid = Character.Humanoid | |
| 170 | local mouse = Player:GetMouse() | |
| 171 | local m = Instance.new('Model', Character)
| |
| 172 | m.Name = "WeaponModel" | |
| 173 | local LeftArm = Character["Left Arm"] | |
| 174 | local RightArm = Character["Right Arm"] | |
| 175 | local LeftLeg = Character["Left Leg"] | |
| 176 | local RightLeg = Character["Right Leg"] | |
| 177 | local Head = Character.Head | |
| 178 | local Torso = Character.Torso | |
| 179 | local cam = game.Workspace.CurrentCamera | |
| 180 | local RootPart = Character.HumanoidRootPart | |
| 181 | local RootJoint = RootPart.RootJoint | |
| 182 | --cam.CameraSubject = Head | |
| 183 | local equipped = false | |
| 184 | local attack = false | |
| 185 | local Anim = 'Idle' | |
| 186 | local idle = 0 | |
| 187 | local sprint = false | |
| 188 | local battlestance = false | |
| 189 | local attacktype = 1 | |
| 190 | local state = 'none' | |
| 191 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 192 | local velocity = RootPart.Velocity.y | |
| 193 | local sine = 0 | |
| 194 | local change = 1 | |
| 195 | local on = false | |
| 196 | local grabbed = false | |
| 197 | local skill1 = false | |
| 198 | local skill2 = false | |
| 199 | local skill3 = false | |
| 200 | local skill4 = false | |
| 201 | local cooldown1 = 0 | |
| 202 | local cooldown2 = 0 | |
| 203 | local cooldown3 = 0 | |
| 204 | local cooldown4 = 0 | |
| 205 | local co1 = 10--how long it will take for skill to cooldown | |
| 206 | local co2 = 15 | |
| 207 | local co3 = 15 | |
| 208 | local co4 = 25 | |
| 209 | local inputserv = game:GetService('UserInputService')
| |
| 210 | local typing = false | |
| 211 | local crit = false | |
| 212 | local critchance = 2--critical chance percentage | |
| 213 | local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage | |
| 214 | local critdamageaddmax = 7--maximum amount | |
| 215 | local maxstamina = 100--max amount of stamina | |
| 216 | local stamina = 0--stamina you start out with | |
| 217 | local skill1stam = 10--how much stamina is needed for a skill | |
| 218 | local skill2stam = 10 | |
| 219 | local skill3stam = 20 | |
| 220 | local skill4stam = 30 | |
| 221 | local recovermana = 3--how much mana per second | |
| 222 | local defensevalue = 1--how much defense this character has | |
| 223 | local speedvalue = 1--how much speed this character has | |
| 224 | --speed is 16*speedvalue | |
| 225 | local mindamage = 5--self explanatory | |
| 226 | local maxdamage = 7--self explanatory | |
| 227 | local damagevalue = 1--how much damage this character has | |
| 228 | --damage is math.random(mindamage,maxdamage)*damagevalue | |
| 229 | --damage(hit, mindamage, maxdamage, 1, 1, RootPart) | |
| 230 | --asd | |
| 231 | local cn = CFrame.new-- make things easier :) | |
| 232 | local mr = math.rad | |
| 233 | local angles = CFrame.Angles | |
| 234 | local ud = UDim2.new | |
| 235 | local c3 = Color3.new | |
| 236 | local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol | |
| 237 | --asd | |
| 238 | local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 239 | Humanoid.Animator:Destroy() | |
| 240 | ||
| 241 | --Angles For RootJoint `~` | |
| 242 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 243 | --Save Shoulders/Hips | |
| 244 | RSH, LSH = nil, nil | |
| 245 | RHS, LHS = nil, nil | |
| 246 | --Shoulders | |
| 247 | RW = Instance.new("Weld")
| |
| 248 | LW = Instance.new("Weld")
| |
| 249 | --Hips | |
| 250 | RH = Instance.new("Weld")
| |
| 251 | LH = Instance.new("Weld")
| |
| 252 | -- | |
| 253 | Player = Player | |
| 254 | ch = Character | |
| 255 | LHS = Torso["Left Hip"] | |
| 256 | RHS = Torso["Right Hip"] | |
| 257 | RSH = ch.Torso["Right Shoulder"] | |
| 258 | LSH = ch.Torso["Left Shoulder"] | |
| 259 | -- | |
| 260 | RSH.Parent = nil | |
| 261 | LSH.Parent = nil | |
| 262 | -- | |
| 263 | LHS.Parent = nil | |
| 264 | RHS.Parent = nil | |
| 265 | -- | |
| 266 | RW.Name = "RW" | |
| 267 | RW.Part0 = ch.Torso | |
| 268 | RW.C0 = cn(1.5, 0.5, 0) | |
| 269 | RW.C1 = cn(0, 0.5, 0) | |
| 270 | RW.Part1 = ch["Right Arm"] | |
| 271 | RW.Parent = ch.Torso | |
| 272 | -- | |
| 273 | LW.Name = "LW" | |
| 274 | LW.Part0 = ch.Torso | |
| 275 | LW.C0 = cn(-1.5, 0.5, 0) | |
| 276 | LW.C1 = cn(0, 0.5, 0) | |
| 277 | LW.Part1 = ch["Left Arm"] | |
| 278 | LW.Parent = ch.Torso | |
| 279 | -- | |
| 280 | LH.Name = "LH" | |
| 281 | LH.Part0 = ch.Torso | |
| 282 | LH.C0 = cn(-0.5, -2, 0) | |
| 283 | LH.Part1 = ch["Left Leg"] | |
| 284 | LH.Parent = ch.Torso | |
| 285 | -- | |
| 286 | RH.Name = "RH" | |
| 287 | RH.Part0 = ch.Torso | |
| 288 | RH.C0 = cn(0.5, -2, 0) | |
| 289 | RH.Part1 = ch["Right Leg"] | |
| 290 | RH.Parent = ch.Torso | |
| 291 | ||
| 292 | local Flying = false | |
| 293 | ||
| 294 | game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump) | |
| 295 | if Flying == true then | |
| 296 | if jump == "Jump" then | |
| 297 | Humanoid.Jump = false | |
| 298 | end | |
| 299 | end | |
| 300 | end) | |
| 301 | ||
| 302 | Humanoid.CameraOffset = Vector3.new(0, -2, 0) | |
| 303 | ||
| 304 | Torso.Transparency = 1 | |
| 305 | Head.Transparency = 1 | |
| 306 | LeftLeg.Transparency = 1 | |
| 307 | RightLeg.Transparency = 1 | |
| 308 | LeftArm.Transparency = 1 | |
| 309 | RightArm.Transparency = 1 | |
| 310 | ||
| 311 | for i,v in pairs (Character:GetChildren()) do | |
| 312 | if v.ClassName == "Hat" | |
| 313 | then v:Destroy() | |
| 314 | end | |
| 315 | end | |
| 316 | ||
| 317 | for i,v in pairs (Character.Head:GetChildren()) do | |
| 318 | if v.ClassName == "Decal" | |
| 319 | then v:Destroy() | |
| 320 | end | |
| 321 | end | |
| 322 | ||
| 323 | Character.Animate:Destroy() | |
| 324 | ||
| 325 | local scrn = Instance.new('ScreenGui')
| |
| 326 | scrn.Parent = nil | |
| 327 | ||
| 328 | function makeframe(par, trans, pos, size, color) | |
| 329 | local frame = Instance.new('Frame', par)
| |
| 330 | frame.BackgroundTransparency = trans | |
| 331 | frame.BorderSizePixel = 0 | |
| 332 | frame.Position = pos | |
| 333 | frame.Size = size | |
| 334 | frame.BackgroundColor3 = color | |
| 335 | return frame | |
| 336 | end | |
| 337 | function makelabel(par, text) | |
| 338 | local label = Instance.new('TextLabel', par)
| |
| 339 | label.BackgroundTransparency = 1 | |
| 340 | label.Size = ud(1, 0, 1, 0) | |
| 341 | label.Position = ud(0, 0, 0, 0) | |
| 342 | label.TextColor3 = c3(255, 255, 255) | |
| 343 | label.TextStrokeTransparency = 0 | |
| 344 | label.FontSize = Enum.FontSize.Size32 | |
| 345 | label.Font = Enum.Font.SourceSansBold | |
| 346 | label.BorderSizePixel = 0 | |
| 347 | label.TextScaled = true | |
| 348 | label.Text = text | |
| 349 | end | |
| 350 | framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
| 351 | framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
| 352 | framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
| 353 | framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
| 354 | bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 355 | bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 356 | bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 357 | bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 358 | text1 = makelabel(framesk1, '[3] Skill3') | |
| 359 | text2 = makelabel(framesk2, '[4] Skill4') | |
| 360 | text3 = makelabel(framesk3, "[2] Skill2") | |
| 361 | text4 = makelabel(framesk4, '[1] Skill1') | |
| 362 | staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), c3(61 / 255, 171 / 255, 1)) | |
| 363 | staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(61 / 255, 171 / 255, 1)) | |
| 364 | staminatext = makelabel(staminabar, 'Mana') | |
| 365 | healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0)) | |
| 366 | healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 46 / 255, 49 / 255)) | |
| 367 | healthtext = makelabel(healthbar, 'Health') | |
| 368 | ||
| 369 | local stats = Instance.new('Folder', Character)
| |
| 370 | stats.Name = 'Stats' | |
| 371 | local block = Instance.new('BoolValue', stats)
| |
| 372 | block.Name = 'Block' | |
| 373 | block.Value = false | |
| 374 | local stun = Instance.new('BoolValue', stats)
| |
| 375 | stun.Name = 'Stun' | |
| 376 | stun.Value = false | |
| 377 | local defense = Instance.new('NumberValue', stats)
| |
| 378 | defense.Name = 'Defence' | |
| 379 | defense.Value = defensevalue | |
| 380 | local speed = Instance.new('NumberValue', stats)
| |
| 381 | speed.Name = 'Speed' | |
| 382 | speed.Value = speedvalue | |
| 383 | local damagea = Instance.new('NumberValue', stats)
| |
| 384 | damagea.Name = 'Damage' | |
| 385 | damagea.Value = damagevalue | |
| 386 | ||
| 387 | function atktype(s, e) | |
| 388 | coroutine.resume(coroutine.create(function() | |
| 389 | attacktype = e | |
| 390 | wait(1.5) | |
| 391 | attacktype = s | |
| 392 | end)) | |
| 393 | end | |
| 394 | ||
| 395 | function turncrit() | |
| 396 | coroutine.resume(coroutine.create(function() | |
| 397 | print'CRITICAL!' | |
| 398 | crit = true | |
| 399 | wait(.25) | |
| 400 | crit = false | |
| 401 | end)) | |
| 402 | end | |
| 403 | ||
| 404 | function subtractstamina(k) | |
| 405 | if stamina >= k then | |
| 406 | stamina = stamina - k | |
| 407 | end | |
| 408 | end | |
| 409 | ||
| 410 | function clerp(a, b, t) | |
| 411 | return a:lerp(b, t) | |
| 412 | end | |
| 413 | ||
| 414 | function randomizer(percent) | |
| 415 | local randomized = math.random(0, 100) | |
| 416 | if randomized <= percent then | |
| 417 | return true | |
| 418 | elseif randomized >= percent then | |
| 419 | return false | |
| 420 | end | |
| 421 | end | |
| 422 | ||
| 423 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 424 | local Create = RbxUtility.Create | |
| 425 | ||
| 426 | function RemoveOutlines(part) | |
| 427 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 428 | end | |
| 429 | ||
| 430 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 431 | local Part = Create("Part"){
| |
| 432 | formFactor = FormFactor, | |
| 433 | Parent = Parent, | |
| 434 | Reflectance = Reflectance, | |
| 435 | Transparency = Transparency, | |
| 436 | CanCollide = false, | |
| 437 | Locked = true, | |
| 438 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 439 | Name = Name, | |
| 440 | Size = Size, | |
| 441 | Material = Material, | |
| 442 | } | |
| 443 | RemoveOutlines(Part) | |
| 444 | return Part | |
| 445 | end | |
| 446 | ||
| 447 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 448 | local Msh = Create(Mesh){
| |
| 449 | Parent = Part, | |
| 450 | Offset = OffSet, | |
| 451 | Scale = Scale, | |
| 452 | } | |
| 453 | if Mesh == "SpecialMesh" then | |
| 454 | Msh.MeshType = MeshType | |
| 455 | Msh.MeshId = MeshId | |
| 456 | end | |
| 457 | return Msh | |
| 458 | end | |
| 459 | ||
| 460 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 461 | local Weld = Create("Weld"){
| |
| 462 | Parent = Parent, | |
| 463 | Part0 = Part0, | |
| 464 | Part1 = Part1, | |
| 465 | C0 = C0, | |
| 466 | C1 = C1, | |
| 467 | } | |
| 468 | return Weld | |
| 469 | end | |
| 470 | ||
| 471 | function rayCast(pos, dir, maxl, ignore) | |
| 472 | return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore)
| |
| 473 | end | |
| 474 | --Effects | |
| 475 | function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type) | |
| 476 | local p = Instance.new('Part', par or workspace)
| |
| 477 | p.CFrame = pos1 | |
| 478 | p.Anchored = true | |
| 479 | p.Material = 'Concrete' | |
| 480 | p.CanCollide = false | |
| 481 | p.TopSurface = 0 | |
| 482 | p.Size = Vector3.new(1, 1, 1) | |
| 483 | p.BottomSurface = 0 | |
| 484 | p.Transparency = trans | |
| 485 | p.FormFactor = 'Custom' | |
| 486 | RemoveOutlines(p) | |
| 487 | local mesh = Instance.new('SpecialMesh', p)
| |
| 488 | mesh.Scale = size | |
| 489 | if id ~= nil and type == nil then | |
| 490 | mesh.MeshId = 'rbxassetid://'..id | |
| 491 | elseif id == nil and type ~= nil then | |
| 492 | mesh.MeshType = type | |
| 493 | elseif id == nil and type == nil then | |
| 494 | mesh.MeshType = 'Brick' | |
| 495 | end | |
| 496 | coroutine.wrap(function() | |
| 497 | for i = 0, delay1, .1 do | |
| 498 | wait(1 / 60) | |
| 499 | p.CFrame = p.CFrame | |
| 500 | mesh.Scale = mesh.Scale + howmuch | |
| 501 | p.Transparency = p.Transparency + trans1 | |
| 502 | end | |
| 503 | p:Destroy() | |
| 504 | end)() | |
| 505 | return p | |
| 506 | end | |
| 507 | function clangy(cframe) | |
| 508 | wait(1 / 60) | |
| 509 | local clang = {}
| |
| 510 | local dis = 0 | |
| 511 | local part = Instance.new('Part', nil)
| |
| 512 | part.CFrame = cframe | |
| 513 | part.Anchored = true | |
| 514 | part.CanCollide = false | |
| 515 | part.BrickColor = BrickColor.new('New Yeller')
| |
| 516 | part.FormFactor = 'Custom' | |
| 517 | part.Name = 'clanger' | |
| 518 | part.Size = Vector3.new(.2, .2, .2) | |
| 519 | part.TopSurface = 10 | |
| 520 | part.BottomSurface = 10 | |
| 521 | part.RightSurface = 10 | |
| 522 | part.LeftSurface = 10 | |
| 523 | part.BackSurface = 10 | |
| 524 | part.FrontSurface = 10 | |
| 525 | --part.Material='Neon' | |
| 526 | part:BreakJoints() | |
| 527 | local mesh = Instance.new('BlockMesh', part)
| |
| 528 | coroutine.wrap(function() | |
| 529 | for i = 1, 7 do | |
| 530 | wait(1 / 60) | |
| 531 | dis = dis + .2 | |
| 532 | local partc = part:clone() | |
| 533 | partc.Parent = workspace | |
| 534 | partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) | |
| 535 | partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) | |
| 536 | table.insert(clang, partc) | |
| 537 | end | |
| 538 | for i, v in pairs(clang) do | |
| 539 | coroutine.wrap(function() | |
| 540 | for i = 1, 10 do | |
| 541 | wait(.01) | |
| 542 | v.Transparency = v.Transparency + .1 | |
| 543 | end | |
| 544 | v:destroy() | |
| 545 | end)() | |
| 546 | end | |
| 547 | end)() | |
| 548 | end | |
| 549 | --damage effects | |
| 550 | function circle(color, pos1) | |
| 551 | local p = Instance.new('Part', m)
| |
| 552 | p.BrickColor = BrickColor.new(color) | |
| 553 | p.CFrame = pos1 | |
| 554 | p.Anchored = true | |
| 555 | p.Material = 'Plastic' | |
| 556 | p.CanCollide = false | |
| 557 | p.TopSurface = 0 | |
| 558 | p.Size = Vector3.new(1, 1, 1) | |
| 559 | p.BottomSurface = 0 | |
| 560 | p.Transparency = 0.35 | |
| 561 | p.FormFactor = 'Custom' | |
| 562 | local mesh = Instance.new('CylinderMesh', p)
| |
| 563 | mesh.Scale = Vector3.new(0, 0, 0) | |
| 564 | coroutine.wrap(function() | |
| 565 | for i = 0, 5, .1 do | |
| 566 | wait(1 / 60) | |
| 567 | p.CFrame = p.CFrame | |
| 568 | mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5) | |
| 569 | p.Transparency = p.Transparency + .025 | |
| 570 | end | |
| 571 | p:Destroy() | |
| 572 | end)() | |
| 573 | end | |
| 574 | function firespaz1(color, pos1) | |
| 575 | local p = Instance.new('Part', m)
| |
| 576 | p.BrickColor = BrickColor.new(color) | |
| 577 | p.CFrame = pos1 | |
| 578 | p.Anchored = true | |
| 579 | p.Material = 'Plastic' | |
| 580 | p.CanCollide = false | |
| 581 | p.TopSurface = 0 | |
| 582 | p.Size = Vector3.new(1, 1, 1) | |
| 583 | p.BottomSurface = 0 | |
| 584 | p.Transparency = 0.5 | |
| 585 | p.FormFactor = 'Custom' | |
| 586 | local mesh = Instance.new('BlockMesh', p)
| |
| 587 | mesh.Scale = Vector3.new(1, 1, 1) | |
| 588 | coroutine.wrap(function() | |
| 589 | for i = 0, 15, .1 do | |
| 590 | wait(1 / 30) | |
| 591 | p.CFrame = p.CFrame * CFrame.new(0, .1, 0) | |
| 592 | mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1) | |
| 593 | p.Transparency = p.Transparency + .025 | |
| 594 | end | |
| 595 | p:Destroy() | |
| 596 | end)() | |
| 597 | end | |
| 598 | ||
| 599 | function pickrandom(tablesa) | |
| 600 | local randomized = tablesa[math.random(1, #tablesa)] | |
| 601 | return randomized | |
| 602 | end | |
| 603 | function sound(id, pitch, volume, par, last) | |
| 604 | local s = Instance.new('Sound', par or Torso)
| |
| 605 | s.SoundId = 'rbxassetid://'..id | |
| 606 | s.Pitch = pitch or 1 | |
| 607 | s.Volume = volume or 1 | |
| 608 | wait() | |
| 609 | s:play() | |
| 610 | game.Debris:AddItem(s, last or 120) | |
| 611 | end | |
| 612 | function clangy(cframe) | |
| 613 | wait(1 / 60) | |
| 614 | local clang = {}
| |
| 615 | local dis = 0 | |
| 616 | local part = Instance.new('Part', nil)
| |
| 617 | part.CFrame = cframe | |
| 618 | part.Anchored = true | |
| 619 | part.CanCollide = false | |
| 620 | part.BrickColor = BrickColor.new('New Yeller')
| |
| 621 | part.FormFactor = 'Custom' | |
| 622 | part.Name = 'clanger' | |
| 623 | part.Size = Vector3.new(.2, .2, .2) | |
| 624 | part.TopSurface = 10 | |
| 625 | part.BottomSurface = 10 | |
| 626 | part.RightSurface = 10 | |
| 627 | part.LeftSurface = 10 | |
| 628 | part.BackSurface = 10 | |
| 629 | part.FrontSurface = 10 | |
| 630 | --part.Material='Neon' | |
| 631 | part:BreakJoints() | |
| 632 | local mesh = Instance.new('BlockMesh', part)
| |
| 633 | coroutine.wrap(function() | |
| 634 | for i = 1, 7 do | |
| 635 | wait(1 / 60) | |
| 636 | dis = dis + .2 | |
| 637 | local partc = part:clone() | |
| 638 | partc.Parent = workspace | |
| 639 | partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) | |
| 640 | partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) | |
| 641 | table.insert(clang, partc) | |
| 642 | end | |
| 643 | for i, v in pairs(clang) do | |
| 644 | coroutine.wrap(function() | |
| 645 | for i = 1, 10 do | |
| 646 | wait(.01) | |
| 647 | v.Transparency = v.Transparency + .1 | |
| 648 | end | |
| 649 | v:destroy() | |
| 650 | end)() | |
| 651 | end | |
| 652 | end)() | |
| 653 | end | |
| 654 | --damage effects | |
| 655 | --Effects | |
| 656 | so = function(id, par, vol, pit) | |
| 657 | coroutine.resume(coroutine.create(function() | |
| 658 | local sou = Instance.new("Sound", par or workspace)
| |
| 659 | sou.Volume = vol | |
| 660 | sou.Pitch = pit or 1 | |
| 661 | sou.SoundId = id | |
| 662 | wait() | |
| 663 | sou:play() | |
| 664 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 665 | end)) | |
| 666 | end | |
| 667 | ||
| 668 | local function getclosest(obj, distance) | |
| 669 | local last, lastx = distance + 1 | |
| 670 | for i, v in pairs(workspace:GetChildren()) do | |
| 671 | if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
| |
| 672 | local t = v.Torso | |
| 673 | local dist = (t.Position - obj.Position).magnitude | |
| 674 | if dist <= distance then | |
| 675 | if dist < last then | |
| 676 | last = dist | |
| 677 | lastx = v | |
| 678 | end | |
| 679 | end | |
| 680 | end | |
| 681 | end | |
| 682 | return lastx | |
| 683 | end | |
| 684 | ||
| 685 | function makegui(cframe, text) | |
| 686 | local a = math.random(-10, 10) / 100 | |
| 687 | local c = Instance.new("Part")
| |
| 688 | c.Transparency = 1 | |
| 689 | Instance.new("BodyGyro").Parent = c
| |
| 690 | c.Parent = m | |
| 691 | c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0)) | |
| 692 | local f = Instance.new("BodyPosition")
| |
| 693 | f.P = 2000 | |
| 694 | f.D = 100 | |
| 695 | f.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 696 | f.position = c.Position + Vector3.new(0, 3, 0) | |
| 697 | f.Parent = c | |
| 698 | game:GetService("Debris"):AddItem(c, .5 + 6)
| |
| 699 | c.CanCollide = false | |
| 700 | m.Parent = workspace | |
| 701 | c.CanCollide = false | |
| 702 | local bg = Instance.new('BillboardGui', m)
| |
| 703 | bg.Adornee = c | |
| 704 | bg.Size = UDim2.new(1, 0, 1, 0) | |
| 705 | bg.StudsOffset = Vector3.new(0, 0, 0) | |
| 706 | bg.AlwaysOnTop = false | |
| 707 | local tl = Instance.new('TextLabel', bg)
| |
| 708 | tl.BackgroundTransparency = 1 | |
| 709 | tl.Size = UDim2.new(1, 0, 1, 0) | |
| 710 | tl.Text = text | |
| 711 | tl.Font = 'SourceSansBold' | |
| 712 | tl.FontSize = 'Size42' | |
| 713 | if crit == true then | |
| 714 | tl.TextColor3 = Color3.new(180 / 255, 0, 0) | |
| 715 | else | |
| 716 | tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255) | |
| 717 | end | |
| 718 | tl.TextStrokeTransparency = 0 | |
| 719 | tl.TextScaled = true | |
| 720 | tl.TextWrapped = true | |
| 721 | coroutine.wrap(function() | |
| 722 | wait(2) | |
| 723 | for i = 1, 10 do | |
| 724 | wait() | |
| 725 | tl.TextTransparency = tl.TextTransparency + .1 | |
| 726 | end | |
| 727 | end)() | |
| 728 | end | |
| 729 | ||
| 730 | function tag(hum, Player) | |
| 731 | local creator = Instance.new('ObjectValue', hum)
| |
| 732 | creator.Value = Player | |
| 733 | creator.Name = 'creator' | |
| 734 | end | |
| 735 | function untag(hum) | |
| 736 | if hum ~= nil then | |
| 737 | local tag = hum:findFirstChild("creator")
| |
| 738 | if tag ~= nil then | |
| 739 | tag.Parent = nil | |
| 740 | end | |
| 741 | end | |
| 742 | end | |
| 743 | ||
| 744 | function tagPlayer(h) | |
| 745 | coroutine.wrap(function() | |
| 746 | tag(h, Player) | |
| 747 | wait(1) | |
| 748 | untag(h) | |
| 749 | end)() | |
| 750 | end | |
| 751 | function damage(hit, mind, maxd, knock, type, prop) | |
| 752 | --[[ | |
| 753 | to apply it to a Player directly, make the first arg go to the Players Torso | |
| 754 | 1 - normal type(damage and knockback) | |
| 755 | 2 - drain type(damage no knockback) | |
| 756 | 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed | |
| 757 | 4 - heal(heals target) | |
| 758 | 5 - subtracts enemies defense | |
| 759 | 6 - subtracts enemies speed | |
| 760 | 7 - | |
| 761 | ]] | |
| 762 | if hit.Name:lower() == 'Hitbox' then | |
| 763 | local pos = CFrame.new(0, 1, -1) | |
| 764 | sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6) | |
| 765 | coroutine.wrap(function() | |
| 766 | for i = 1, 4 do | |
| 767 | clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0)) | |
| 768 | end | |
| 769 | end)() | |
| 770 | end | |
| 771 | if hit.Parent == nil then | |
| 772 | return | |
| 773 | end | |
| 774 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 775 | for i, v in pairs(hit.Parent:children()) do | |
| 776 | if v:IsA("Humanoid") then
| |
| 777 | h = v | |
| 778 | end | |
| 779 | end | |
| 780 | if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then
| |
| 781 | h = hit.Parent.Parent:FindFirstChild('Humanoid')
| |
| 782 | end | |
| 783 | if hit.Parent:IsA('Hat') then
| |
| 784 | hit = hit.Parent.Parent:findFirstChild('Head')
| |
| 785 | end | |
| 786 | local D = math.random(mind, maxd) * damagea.Value | |
| 787 | if h.Parent:FindFirstChild('Stats') then
| |
| 788 | D = D / h.Parent:FindFirstChild('Stats').Defence.Value
| |
| 789 | elseif not h.Parent:FindFirstChild('Stats') then
| |
| 790 | D = D | |
| 791 | end | |
| 792 | if h then | |
| 793 | makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5))) | |
| 794 | end | |
| 795 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 796 | if type == 1 then | |
| 797 | tagPlayer(h) | |
| 798 | local asd = randomizer(critchance) | |
| 799 | if asd == true then | |
| 800 | turncrit() | |
| 801 | end | |
| 802 | if crit == false then | |
| 803 | h.Health = h.Health - D | |
| 804 | else | |
| 805 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
| 806 | end | |
| 807 | so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
| |
| 808 | local vp = Instance.new('BodyVelocity')
| |
| 809 | vp.P = 500 | |
| 810 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
| 811 | vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05 | |
| 812 | if knock > 0 then | |
| 813 | vp.Parent = hit.Parent.Torso | |
| 814 | end | |
| 815 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 816 | elseif type == 2 then | |
| 817 | so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
| |
| 818 | local asd = randomizer(critchance) | |
| 819 | if asd == true then | |
| 820 | turncrit() | |
| 821 | end | |
| 822 | if crit == false then | |
| 823 | h.Health = h.Health - D | |
| 824 | else | |
| 825 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
| 826 | end | |
| 827 | tagPlayer(h) | |
| 828 | elseif type == 3 then | |
| 829 | tagPlayer(h) | |
| 830 | local asd = randomizer(critchance) | |
| 831 | if asd == true then | |
| 832 | turncrit() | |
| 833 | end | |
| 834 | if crit == false then | |
| 835 | h.Health = h.Health - D | |
| 836 | else | |
| 837 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
| 838 | end | |
| 839 | Character.Humanoid.Health = Character.Humanoid.Health + D / 2 | |
| 840 | so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
| |
| 841 | for i = 1, 10 do | |
| 842 | firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
| |
| 843 | end | |
| 844 | elseif type == 4 then | |
| 845 | h.Health = h.Health + D | |
| 846 | so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
| |
| 847 | circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0))
| |
| 848 | end | |
| 849 | end | |
| 850 | end | |
| 851 | ||
| 852 | function subtrackstamina(k) | |
| 853 | if stamina >= k then | |
| 854 | stamina = stamina - k | |
| 855 | end | |
| 856 | end | |
| 857 | ||
| 858 | Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Handle",Vector3.new(2.39999986, 1.20000005, 1.39999998)) | |
| 859 | 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)) | |
| 860 | CreateMesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 861 | LLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Really Pearl","LLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 862 | 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)) | |
| 863 | CreateMesh("SpecialMesh",LLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 864 | LLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","LLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 865 | 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)) | |
| 866 | CreateMesh("SpecialMesh",LLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 867 | NeckHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","NeckHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994)) | |
| 868 | 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)) | |
| 869 | CreateMesh("SpecialMesh",NeckHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 870 | RLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","RLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 871 | 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)) | |
| 872 | CreateMesh("SpecialMesh",RLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 873 | RLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","RLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 874 | 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)) | |
| 875 | CreateMesh("SpecialMesh",RLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 876 | TailHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","TailHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994)) | |
| 877 | 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)) | |
| 878 | CreateMesh("SpecialMesh",TailHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 879 | Wings=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Wings",Vector3.new(1.38, 0.600000024, 0.400000006)) | |
| 880 | 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)) | |
| 881 | 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))
| |
| 882 | HeadHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","HeadHandleConnector",Vector3.new(0.799999774, 0.800000012, 1.19999993)) | |
| 883 | 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)) | |
| 884 | CreateMesh("SpecialMesh",HeadHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 885 | HeadHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","HeadHandle",Vector3.new(0.799999774, 0.800000012, 1.19999993)) | |
| 886 | HeadHandleweld=CreateWeld(m,HeadHandleConnector,HeadHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(.5,.3,0)) | |
| 887 | CreateMesh("SpecialMesh",HeadHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 888 | BlinkPartL=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","BlinkPartL",Vector3.new(0.430000007, 0.349999994, 0.209999993)) | |
| 889 | 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)) | |
| 890 | CreateMesh("SpecialMesh",BlinkPartL,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 891 | BlinkPartR=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","BlinkPartR",Vector3.new(0.430000007, 0.349999994, 0.209999919)) | |
| 892 | 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)) | |
| 893 | CreateMesh("SpecialMesh",BlinkPartR,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 894 | Head=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Head",Vector3.new(1.59999979, 1, 1.19999993)) | |
| 895 | 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)) | |
| 896 | CreateMesh("SpecialMesh",Head,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 897 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003)) | |
| 898 | 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)) | |
| 899 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 900 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006)) | |
| 901 | 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)) | |
| 902 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 903 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006)) | |
| 904 | 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)) | |
| 905 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 906 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003)) | |
| 907 | 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)) | |
| 908 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 909 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917)) | |
| 910 | 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)) | |
| 911 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 912 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917)) | |
| 913 | 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)) | |
| 914 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 915 | LLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","LLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 916 | 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)) | |
| 917 | CreateMesh("SpecialMesh",LLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 918 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) | |
| 919 | 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)) | |
| 920 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 921 | LLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","LLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 922 | 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)) | |
| 923 | CreateMesh("SpecialMesh",LLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 924 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) | |
| 925 | 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)) | |
| 926 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 927 | RLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","RLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 928 | 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)) | |
| 929 | CreateMesh("SpecialMesh",RLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 930 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) | |
| 931 | 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)) | |
| 932 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 933 | RLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","RLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 934 | 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)) | |
| 935 | CreateMesh("SpecialMesh",RLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 936 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) | |
| 937 | 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)) | |
| 938 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 939 | NeckHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","NeckHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994)) | |
| 940 | 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)) | |
| 941 | CreateMesh("SpecialMesh",NeckHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 942 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.5999999, 0.800000012, 0.99999994)) | |
| 943 | 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)) | |
| 944 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 945 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.5999999, 1, 1.39999998)) | |
| 946 | 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)) | |
| 947 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 948 | TailHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","TailHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994)) | |
| 949 | 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)) | |
| 950 | CreateMesh("SpecialMesh",TailHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 951 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.39999974, 0.800000012, 0.99999994)) | |
| 952 | 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)) | |
| 953 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 954 | Tail2HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","Tail2HandleConnector",Vector3.new(0.599999726, 0.800000012, 0.799999952)) | |
| 955 | 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)) | |
| 956 | CreateMesh("SpecialMesh",Tail2HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 957 | Tail2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","Tail2Handle",Vector3.new(0.599999726, 0.800000012, 0.799999952)) | |
| 958 | 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)) | |
| 959 | CreateMesh("SpecialMesh",Tail2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 960 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.39999974, 0.800000012, 0.799999952)) | |
| 961 | 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)) | |
| 962 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 963 | Tail3HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","Tail3HandleConnector",Vector3.new(0.599999845, 0.800000012, 0.799999952)) | |
| 964 | 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)) | |
| 965 | CreateMesh("SpecialMesh",Tail3HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 966 | Tail3Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","Tail3Handle",Vector3.new(0.599999845, 0.800000012, 0.799999952)) | |
| 967 | 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)) | |
| 968 | CreateMesh("SpecialMesh",Tail3Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 969 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(1.79999983, 0.800000012, 0.200000003)) | |
| 970 | 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)) | |
| 971 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 972 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003)) | |
| 973 | 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)) | |
| 974 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 975 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003)) | |
| 976 | 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)) | |
| 977 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 978 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.39999986, 0.800000012, 0.799999952)) | |
| 979 | 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)) | |
| 980 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 981 | ||
| 982 | mouse.Button1Down:connect(function() | |
| 983 | end) | |
| 984 | ||
| 985 | mouse.KeyDown:connect(function(k) | |
| 986 | k = k:lower() | |
| 987 | if k == "f" and attack == false and Flying == false then | |
| 988 | Humanoid.CameraOffset = Vector3.new(0, -1, 0) | |
| 989 | Humanoid.WalkSpeed = 200 | |
| 990 | Flying = true | |
| 991 | elseif k == "f" and attack == false and Flying == true then | |
| 992 | Humanoid.CameraOffset = Vector3.new(0, -2, 0) | |
| 993 | Humanoid.WalkSpeed = 16 | |
| 994 | Flying = false | |
| 995 | end | |
| 996 | end) | |
| 997 | ||
| 998 | ||
| 999 | inputserv.InputBegan:connect(function(k) | |
| 1000 | if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then | |
| 1001 | elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then | |
| 1002 | elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then | |
| 1003 | elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then | |
| 1004 | end | |
| 1005 | end) | |
| 1006 | ||
| 1007 | inputserv.InputBegan:connect(function(k) | |
| 1008 | if k.KeyCode == Enum.KeyCode.Slash then | |
| 1009 | local fin = nil | |
| 1010 | typing = true | |
| 1011 | fin = inputserv.InputBegan:connect(function(k) | |
| 1012 | if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 1013 | typing = false | |
| 1014 | fin:disconnect() | |
| 1015 | end | |
| 1016 | end) | |
| 1017 | end | |
| 1018 | end) | |
| 1019 | ||
| 1020 | function updateskills() | |
| 1021 | if cooldown1 <= co1 then | |
| 1022 | cooldown1 = cooldown1 + 1 / 30 | |
| 1023 | end | |
| 1024 | if cooldown2 <= co2 then | |
| 1025 | cooldown2 = cooldown2 + 1 / 30 | |
| 1026 | end | |
| 1027 | if cooldown3 <= co3 then | |
| 1028 | cooldown3 = cooldown3 + 1 / 30 | |
| 1029 | end | |
| 1030 | if cooldown4 <= co4 then | |
| 1031 | cooldown4 = cooldown4 + 1 / 30 | |
| 1032 | end | |
| 1033 | if stamina <= maxstamina then | |
| 1034 | stamina = stamina + recovermana / 30 | |
| 1035 | end | |
| 1036 | end | |
| 1037 | ||
| 1038 | coroutine.resume(coroutine.create(function(Part,Weld) | |
| 1039 | while Part.Parent~=nil do | |
| 1040 | wait(5) | |
| 1041 | for i=0,1,0.2 do | |
| 1042 | wait() | |
| 1043 | BlinkPartR.Mesh.Scale = Vector3.new(.7-1*i,1,1) | |
| 1044 | end | |
| 1045 | for i=0,1,0.2 do | |
| 1046 | wait() | |
| 1047 | BlinkPartR.Mesh.Scale = Vector3.new(.7+.3*i,1,1) | |
| 1048 | end | |
| 1049 | end | |
| 1050 | end),BlinkPartR,BlinkPartRweld) | |
| 1051 | ||
| 1052 | coroutine.resume(coroutine.create(function(Part,Weld) | |
| 1053 | while Part.Parent~=nil do | |
| 1054 | wait(5) | |
| 1055 | for i=0,1,0.2 do | |
| 1056 | wait() | |
| 1057 | BlinkPartL.Mesh.Scale = Vector3.new(.7-1*i,1,1) | |
| 1058 | end | |
| 1059 | for i=0,1,0.2 do | |
| 1060 | wait() | |
| 1061 | BlinkPartL.Mesh.Scale = Vector3.new(.7+.3*i,1,1) | |
| 1062 | end | |
| 1063 | end | |
| 1064 | end),BlinkPartL,BlinkPartLweld) | |
| 1065 | ||
| 1066 | game:GetService'RunService'.Heartbeat:connect(function() | |
| 1067 | updateskills() | |
| 1068 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1069 | velocity = RootPart.Velocity.y | |
| 1070 | sine = sine + change | |
| 1071 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
| 1072 | if equipped == true or equipped == false then | |
| 1073 | if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then | |
| 1074 | Anim = "Jump" | |
| 1075 | if attack == false then | |
| 1076 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 2) * angles(math.rad(50), math.rad(0), math.rad(0)), .3) | |
| 1077 | NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) | |
| 1078 | HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
| 1079 | LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
| 1080 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
| 1081 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
| 1082 | RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
| 1083 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3) | |
| 1084 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3) | |
| 1085 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3) | |
| 1086 | end | |
| 1087 | elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then | |
| 1088 | Anim = "Fall" | |
| 1089 | if attack == false then | |
| 1090 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 1) * angles(math.rad(20), math.rad(0), math.rad(0)), .3) | |
| 1091 | NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), .3) | |
| 1092 | HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
| 1093 | LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
| 1094 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
| 1095 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
| 1096 | RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
| 1097 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) | |
| 1098 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) | |
| 1099 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) | |
| 1100 | end | |
| 1101 | elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then | |
| 1102 | Anim = "Idle" | |
| 1103 | if attack == false and Flying == false then | |
| 1104 | change = 1 | |
| 1105 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1106 | 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) | |
| 1107 | 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) | |
| 1108 | 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) | |
| 1109 | 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) | |
| 1110 | 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) | |
| 1111 | 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) | |
| 1112 | 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) | |
| 1113 | 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) | |
| 1114 | 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) | |
| 1115 | elseif attack == false and Flying == true then | |
| 1116 | 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) | |
| 1117 | 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) | |
| 1118 | 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) | |
| 1119 | 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) | |
| 1120 | 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) | |
| 1121 | 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) | |
| 1122 | 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) | |
| 1123 | 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) | |
| 1124 | 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) | |
| 1125 | 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) | |
| 1126 | end | |
| 1127 | elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then | |
| 1128 | Anim = "Walk" | |
| 1129 | if attack == false and Flying == false then | |
| 1130 | change = 1 | |
| 1131 | 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) | |
| 1132 | 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) | |
| 1133 | 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) | |
| 1134 | 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) | |
| 1135 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3) | |
| 1136 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3) | |
| 1137 | 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) | |
| 1138 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3) | |
| 1139 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2*math.cos(sine/15))), .3) | |
| 1140 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3) | |
| 1141 | elseif attack == false and Flying == true then | |
| 1142 | change = 1 | |
| 1143 | 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) | |
| 1144 | 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) | |
| 1145 | 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) | |
| 1146 | 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) | |
| 1147 | 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) | |
| 1148 | 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) | |
| 1149 | 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) | |
| 1150 | 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) | |
| 1151 | 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) | |
| 1152 | 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) | |
| 1153 | end | |
| 1154 | end | |
| 1155 | end | |
| 1156 | end) |