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 | - | script.Parent=nil |
| 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 | - | function Fire(cframee) |
| 14 | + | |
| 15 | - | local part = Instance.new("Part", game.Players.LocalPlayer.Character)
|
| 15 | + | tecks.TextStrokeTransparency = 0 |
| 16 | - | part.FormFactor = Enum.FormFactor.Symmetric |
| 16 | + | tecks.TextColor = plr.Character.Head.BrickColor |
| 17 | game:service'RunService'.RenderStepped:connect(function() | |
| 18 | tecks.TextColor3 = Color3.new(sound.PlaybackLoudness/100, sound.PlaybackLoudness/10, sound.PlaybackLoudness/1000) | |
| 19 | - | part.Material = Enum.Material.Neon |
| 19 | + | |
| 20 | - | part.Size = Vector3.new(8, 1, 1) |
| 20 | + | tecks.Size = UDim2.new(1,0,0.5,0) |
| 21 | - | part.Locked = true |
| 21 | + | local teck = Instance.new("TextLabel",naeeym)
|
| 22 | - | part.BrickColor = BrickColor.new("Cyan")
|
| 22 | + | teck.BackgroundTransparency = 1 |
| 23 | - | part.Friction = 0.3 |
| 23 | + | teck.BorderSizePixel = 0 |
| 24 | - | part.CFrame=cframee |
| 24 | + | teck.Text = plr.Character.Humanoid.Health |
| 25 | - | while part and part.Parent~=nil do |
| 25 | + | plr.Character.Humanoid.HealthChanged:connect(function() |
| 26 | - | local ray = Ray.new( |
| 26 | + | teck.Text = plr.Character.Humanoid.Health |
| 27 | - | part.CFrame.p, |
| 27 | + | end) |
| 28 | - | (part.CFrame*CFrame.new(1,0,0).p - part.CFrame.p).unit * 4 |
| 28 | + | teck.Font = "SciFi" |
| 29 | - | ) |
| 29 | + | teck.FontSize = "Size24" |
| 30 | - | local ignore = game.Players.LocalPlayer.Character |
| 30 | + | teck.TextStrokeTransparency = 0 |
| 31 | - | |
| 31 | + | teck.TextColor = plr.Character.Head.BrickColor |
| 32 | - | local hit, position, normal = Workspace:FindPartOnRay(ray, ignore) |
| 32 | + | teck.TextStrokeColor3 = Color3.new(math.random, math.random, math.random) |
| 33 | - | if hit then |
| 33 | + | teck.Size = UDim2.new(1,0,1,0) |
| 34 | - | part.CFrame=part.CFrame*CFrame.Angles(0,math.rad(math.random(-360,360)),0) |
| 34 | + | teck.Position = UDim2.new(0,0,0.5,0) |
| 35 | - | pcall(function()hit.Parent.Humanoid:TakeDamage(999999999)end) |
| 35 | + | |
| 36 | - | pcall(function()hit.Parent.Parent.Humanoid:TakeDamage(999999999)end) |
| 36 | + | |
| 37 | - | else |
| 37 | + | |
| 38 | - | part.CFrame=part.CFrame*CFrame.new(4,0,0) |
| 38 | + | |
| 39 | HUMANOID = game.Workspace:WaitForChild(plr.Name) | |
| 40 | - | game:service'RunService'.RenderStepped:wait() |
| 40 | + | |
| 41 | NEWPART = Instance.new("BillboardGui",HUMANOID.Head)
| |
| 42 | ||
| 43 | - | game:service'Players'.LocalPlayer:GetMouse().KeyDown:connect(function(key) |
| 43 | + | |
| 44 | - | if key=='e' then |
| 44 | + | |
| 45 | - | Fire(game.Players.LocalPlayer.Character.Head.CFrame*CFrame.new(0,0,-4)*CFrame.Angles(0,math.rad(90),0)) |
| 45 | + | |
| 46 | - | elseif key == '' then |
| 46 | + | |
| 47 | - | for i=1, 999999999 do |
| 47 | + | |
| 48 | ||
| 49 | - | Fire(game.Players.LocalPlayer.Character.Head.CFrame*CFrame.Angles(0,math.rad(i*10),0)*CFrame.new(0,0,-4)*CFrame.Angles(0,math.rad(90),0)) |
| 49 | + | |
| 50 | ||
| 51 | NEWTEXT.Size = UDim2.new(5,0,1,1) | |
| 52 | ||
| 53 | NEWTEXT.TextScaled = true | |
| 54 | - | s = Instance.new("Sound",Workspace)
|
| 54 | + | |
| 55 | - | s.Pitch = 1 |
| 55 | + | |
| 56 | - | s.Volume = 4 |
| 56 | + | |
| 57 | - | s.SoundId = "rbxassetid://2014353985" |
| 57 | + | |
| 58 | - | s.Looped = true |
| 58 | + | |
| 59 | - | s.PlayOnRemove = false |
| 59 | + | |
| 60 | - | s:Play() |
| 60 | + | |
| 61 | --i used stravants Beautifier so it might look a bit wonky | |
| 62 | Meshes = {
| |
| 63 | Blast = '20329976', | |
| 64 | Crown = '1323306', | |
| 65 | Ring = '3270017', | |
| 66 | Claw = '10681506', | |
| 67 | Crystal = '9756362', | |
| 68 | Coil = '9753878', | |
| 69 | Cloud = '1095708', | |
| 70 | } | |
| 71 | clangsounds = {
| |
| 72 | '199149119', | |
| 73 | '199149109', | |
| 74 | '199149072', | |
| 75 | '199149025', | |
| 76 | '199148971' | |
| 77 | } | |
| 78 | hitsounds = {
| |
| 79 | '199149137', | |
| 80 | '199149186', | |
| 81 | '199149221', | |
| 82 | '199149235', | |
| 83 | '199149269', | |
| 84 | '199149297' | |
| 85 | } | |
| 86 | blocksounds = {
| |
| 87 | '199148933', | |
| 88 | '199148947' | |
| 89 | } | |
| 90 | armorsounds = {
| |
| 91 | '199149321', | |
| 92 | '199149338', | |
| 93 | '199149367', | |
| 94 | '199149409', | |
| 95 | '199149452' | |
| 96 | } | |
| 97 | woosh = {
| |
| 98 | Heavy1 = '320557353', | |
| 99 | Heavy2 = '320557382', | |
| 100 | Heavy3 = '320557453', | |
| 101 | Heavy4 = '199144226', | |
| 102 | Heavy5 = '203691447', | |
| 103 | Heavy6 = '203691467', | |
| 104 | Heavy7 = '203691492', | |
| 105 | Light1 = '320557413', | |
| 106 | Light2 = '320557487', | |
| 107 | Light3 = '199145095', | |
| 108 | Light4 = '199145146', | |
| 109 | Light5 = '199145887', | |
| 110 | Light6 = '199145913', | |
| 111 | Light7 = '199145841', | |
| 112 | Medium1 = '320557518', | |
| 113 | Medium2 = '320557537', | |
| 114 | Medium3 = '320557563', | |
| 115 | Medium4 = '199145204' | |
| 116 | } | |
| 117 | music = {--i like music a lot
| |
| 118 | Breaking = '179281636', | |
| 119 | FinalReckoning = '357375770', | |
| 120 | NotDeadYet = '346175829', | |
| 121 | Intense = '151514610', | |
| 122 | JumpP1 = '160536628', | |
| 123 | JumpP2 = '60536666', | |
| 124 | SonsOfWar = '158929777', | |
| 125 | WrathOfSea = '165520893', | |
| 126 | ProtecTorsofEarth = '160542922', | |
| 127 | SkyTitans = '179282324', | |
| 128 | ArchAngel = '144043274', | |
| 129 | Anticipation = '168614529', | |
| 130 | TheMartyred = '186849544', | |
| 131 | AwakeP1 = '335631255', | |
| 132 | AwakeP2 = '335631297', | |
| 133 | ReadyAimFireP1 = '342455387', | |
| 134 | ReadyAimFireP2 = '342455399', | |
| 135 | DarkLordP1 = '209567483', | |
| 136 | DarkLordP2 = '209567529', | |
| 137 | BloodDrainP1 = '162914123', | |
| 138 | BloodDrainP2 = '162914203', | |
| 139 | DanceOfSwords = '320473062', | |
| 140 | Opal = '286415112', | |
| 141 | Calamity = '190454307', | |
| 142 | Hypnotica = '155968128', | |
| 143 | Nemisis = '160453802', | |
| 144 | Breathe = '276963903', | |
| 145 | GateToTheRift = '270655227', | |
| 146 | InfernalBeserking = '244143404', | |
| 147 | Trust = '246184492', | |
| 148 | AwakeningTheProject = '245121821', | |
| 149 | BloodPain = '242545577', | |
| 150 | Chaos = '247241693', | |
| 151 | NightmareFictionHighStake = '248062278', | |
| 152 | TheWhiteWeapon = '247236446', | |
| 153 | Gale = '256851659', | |
| 154 | ImperialCode = '256848383', | |
| 155 | Blitzkrieg = '306431437', | |
| 156 | RhapsodyRage = '348690251', | |
| 157 | TheGodFist = '348541501', | |
| 158 | BattleForSoul = '321185592', | |
| 159 | TheDarkColossus = '305976780', | |
| 160 | EmpireOfAngels = '302580452', | |
| 161 | Kronos = '302205297', | |
| 162 | Exorcist = '299796054', | |
| 163 | CrimsonFlames = '297799220', | |
| 164 | UltimatePower = '295753229', | |
| 165 | DrivingInTheDark = '295753229', | |
| 166 | AscendToPower = '293860654', | |
| 167 | GodOfTheSun = '293612495', | |
| 168 | DarkRider = '293861765', | |
| 169 | Vengeance = '293375555', | |
| 170 | SoundOfWar = '293376196', | |
| 171 | HellsCrusaders = '293012202', | |
| 172 | Legend = '293011823', | |
| 173 | RisingSouls = '290524959' | |
| 174 | } | |
| 175 | misc = {
| |
| 176 | GroundSlam = '199145477', | |
| 177 | LaserSlash = '199145497', | |
| 178 | RailGunFire = '199145534', | |
| 179 | Charge1 = '199145659', | |
| 180 | Charge2 = '169380469', | |
| 181 | Charge3 = '169380479', | |
| 182 | EmptyGun = '203691822', | |
| 183 | GunShoot = '203691837', | |
| 184 | Stomp1 = '200632875', | |
| 185 | Stomp2 = '200632561', | |
| 186 | TelsaCannonCharge = '169445572', | |
| 187 | TelsaCannonShoot = '169445602', | |
| 188 | AncientHymm = '245313442' | |
| 189 | } | |
| 190 | wait(1 / 60) | |
| 191 | local Player = game.Players.localPlayer | |
| 192 | local Character = Player.Character | |
| 193 | local Humanoid = Character.Humanoid | |
| 194 | local mouse = Player:GetMouse() | |
| 195 | local m = Instance.new('Model', Character)
| |
| 196 | m.Name = "WeaponModel" | |
| 197 | local LeftArm = Character["Left Arm"] | |
| 198 | local RightArm = Character["Right Arm"] | |
| 199 | local LeftLeg = Character["Left Leg"] | |
| 200 | local RightLeg = Character["Right Leg"] | |
| 201 | local Head = Character.Head | |
| 202 | local Torso = Character.Torso | |
| 203 | local cam = game.Workspace.CurrentCamera | |
| 204 | local RootPart = Character.HumanoidRootPart | |
| 205 | local RootJoint = RootPart.RootJoint | |
| 206 | --cam.CameraSubject = Head | |
| 207 | local equipped = false | |
| 208 | local attack = false | |
| 209 | local Anim = 'Idle' | |
| 210 | local idle = 0 | |
| 211 | local sprint = false | |
| 212 | local battlestance = false | |
| 213 | local attacktype = 1 | |
| 214 | local state = 'none' | |
| 215 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 216 | local velocity = RootPart.Velocity.y | |
| 217 | local sine = 0 | |
| 218 | local change = 1 | |
| 219 | local on = false | |
| 220 | local grabbed = false | |
| 221 | local skill1 = false | |
| 222 | local skill2 = false | |
| 223 | local skill3 = false | |
| 224 | local skill4 = false | |
| 225 | local cooldown1 = 0 | |
| 226 | local cooldown2 = 0 | |
| 227 | local cooldown3 = 0 | |
| 228 | local cooldown4 = 0 | |
| 229 | local co1 = 10--how long it will take for skill to cooldown | |
| 230 | local co2 = 15 | |
| 231 | local co3 = 15 | |
| 232 | local co4 = 25 | |
| 233 | local inputserv = game:GetService('UserInputService')
| |
| 234 | local typing = false | |
| 235 | local crit = false | |
| 236 | local critchance = 2--critical chance percentage | |
| 237 | local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage | |
| 238 | local critdamageaddmax = 7--maximum amount | |
| 239 | local maxstamina = 100--max amount of stamina | |
| 240 | local stamina = 0--stamina you start out with | |
| 241 | local skill1stam = 10--how much stamina is needed for a skill | |
| 242 | local skill2stam = 10 | |
| 243 | local skill3stam = 20 | |
| 244 | local skill4stam = 30 | |
| 245 | local recovermana = 3--how much mana per second | |
| 246 | local defensevalue = 1--how much defense this character has | |
| 247 | local speedvalue = 1--how much speed this character has | |
| 248 | --speed is 16*speedvalue | |
| 249 | local mindamage = 5--self explanatory | |
| 250 | local maxdamage = 7--self explanatory | |
| 251 | local damagevalue = 1--how much damage this character has | |
| 252 | --damage is math.random(mindamage,maxdamage)*damagevalue | |
| 253 | --damage(hit, mindamage, maxdamage, 1, 1, RootPart) | |
| 254 | --asd | |
| 255 | local cn = CFrame.new-- make things easier :) | |
| 256 | local mr = math.rad | |
| 257 | local angles = CFrame.Angles | |
| 258 | local ud = UDim2.new | |
| 259 | local c3 = Color3.new | |
| 260 | local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol | |
| 261 | --asd | |
| 262 | local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 263 | Humanoid.Animator:Destroy() | |
| 264 | ||
| 265 | --Angles For RootJoint `~` | |
| 266 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 267 | --Save Shoulders/Hips | |
| 268 | RSH, LSH = nil, nil | |
| 269 | RHS, LHS = nil, nil | |
| 270 | --Shoulders | |
| 271 | RW = Instance.new("Weld")
| |
| 272 | LW = Instance.new("Weld")
| |
| 273 | --Hips | |
| 274 | RH = Instance.new("Weld")
| |
| 275 | LH = Instance.new("Weld")
| |
| 276 | -- | |
| 277 | Player = Player | |
| 278 | ch = Character | |
| 279 | LHS = Torso["Left Hip"] | |
| 280 | RHS = Torso["Right Hip"] | |
| 281 | RSH = ch.Torso["Right Shoulder"] | |
| 282 | LSH = ch.Torso["Left Shoulder"] | |
| 283 | -- | |
| 284 | RSH.Parent = nil | |
| 285 | LSH.Parent = nil | |
| 286 | -- | |
| 287 | LHS.Parent = nil | |
| 288 | RHS.Parent = nil | |
| 289 | -- | |
| 290 | RW.Name = "RW" | |
| 291 | RW.Part0 = ch.Torso | |
| 292 | RW.C0 = cn(1.5, 0.5, 0) | |
| 293 | RW.C1 = cn(0, 0.5, 0) | |
| 294 | RW.Part1 = ch["Right Arm"] | |
| 295 | RW.Parent = ch.Torso | |
| 296 | -- | |
| 297 | LW.Name = "LW" | |
| 298 | LW.Part0 = ch.Torso | |
| 299 | LW.C0 = cn(-1.5, 0.5, 0) | |
| 300 | LW.C1 = cn(0, 0.5, 0) | |
| 301 | LW.Part1 = ch["Left Arm"] | |
| 302 | LW.Parent = ch.Torso | |
| 303 | -- | |
| 304 | LH.Name = "LH" | |
| 305 | LH.Part0 = ch.Torso | |
| 306 | LH.C0 = cn(-0.5, -2, 0) | |
| 307 | LH.Part1 = ch["Left Leg"] | |
| 308 | LH.Parent = ch.Torso | |
| 309 | -- | |
| 310 | RH.Name = "RH" | |
| 311 | RH.Part0 = ch.Torso | |
| 312 | RH.C0 = cn(0.5, -2, 0) | |
| 313 | RH.Part1 = ch["Right Leg"] | |
| 314 | RH.Parent = ch.Torso | |
| 315 | ||
| 316 | local Flying = false | |
| 317 | ||
| 318 | game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump) | |
| 319 | if Flying == true then | |
| 320 | if jump == "Jump" then | |
| 321 | Humanoid.Jump = false | |
| 322 | end | |
| 323 | end | |
| 324 | end) | |
| 325 | ||
| 326 | Humanoid.CameraOffset = Vector3.new(0, -2, 0) | |
| 327 | ||
| 328 | Torso.Transparency = 1 | |
| 329 | Head.Transparency = 1 | |
| 330 | LeftLeg.Transparency = 1 | |
| 331 | RightLeg.Transparency = 1 | |
| 332 | LeftArm.Transparency = 1 | |
| 333 | RightArm.Transparency = 1 | |
| 334 | ||
| 335 | for i,v in pairs (Character:GetChildren()) do | |
| 336 | if v.ClassName == "Hat" | |
| 337 | then v:Destroy() | |
| 338 | end | |
| 339 | end | |
| 340 | ||
| 341 | for i,v in pairs (Character.Head:GetChildren()) do | |
| 342 | if v.ClassName == "Decal" | |
| 343 | then v:Destroy() | |
| 344 | end | |
| 345 | end | |
| 346 | ||
| 347 | Character.Animate:Destroy() | |
| 348 | ||
| 349 | local scrn = Instance.new('ScreenGui')
| |
| 350 | scrn.Parent = nil | |
| 351 | ||
| 352 | function makeframe(par, trans, pos, size, color) | |
| 353 | local frame = Instance.new('Frame', par)
| |
| 354 | frame.BackgroundTransparency = trans | |
| 355 | frame.BorderSizePixel = 0 | |
| 356 | frame.Position = pos | |
| 357 | frame.Size = size | |
| 358 | frame.BackgroundColor3 = color | |
| 359 | return frame | |
| 360 | end | |
| 361 | function makelabel(par, text) | |
| 362 | local label = Instance.new('TextLabel', par)
| |
| 363 | label.BackgroundTransparency = 1 | |
| 364 | label.Size = ud(1, 0, 1, 0) | |
| 365 | label.Position = ud(0, 0, 0, 0) | |
| 366 | label.TextColor3 = c3(255, 255, 255) | |
| 367 | label.TextStrokeTransparency = 0 | |
| 368 | label.FontSize = Enum.FontSize.Size32 | |
| 369 | label.Font = Enum.Font.SourceSansBold | |
| 370 | label.BorderSizePixel = 0 | |
| 371 | label.TextScaled = true | |
| 372 | label.Text = text | |
| 373 | end | |
| 374 | framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
| 375 | framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
| 376 | framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
| 377 | framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme) | |
| 378 | bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 379 | bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 380 | bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 381 | bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 382 | text1 = makelabel(framesk1, '[3] Skill3') | |
| 383 | text2 = makelabel(framesk2, '[4] Skill4') | |
| 384 | text3 = makelabel(framesk3, "[2] Skill2") | |
| 385 | text4 = makelabel(framesk4, '[1] Skill1') | |
| 386 | staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), c3(61 / 255, 171 / 255, 1)) | |
| 387 | staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(61 / 255, 171 / 255, 1)) | |
| 388 | staminatext = makelabel(staminabar, 'Mana') | |
| 389 | healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0)) | |
| 390 | healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 46 / 255, 49 / 255)) | |
| 391 | healthtext = makelabel(healthbar, 'Health') | |
| 392 | ||
| 393 | local stats = Instance.new('Folder', Character)
| |
| 394 | stats.Name = 'Stats' | |
| 395 | local block = Instance.new('BoolValue', stats)
| |
| 396 | block.Name = 'Block' | |
| 397 | block.Value = false | |
| 398 | local stun = Instance.new('BoolValue', stats)
| |
| 399 | stun.Name = 'Stun' | |
| 400 | stun.Value = false | |
| 401 | local defense = Instance.new('NumberValue', stats)
| |
| 402 | defense.Name = 'Defence' | |
| 403 | defense.Value = defensevalue | |
| 404 | local speed = Instance.new('NumberValue', stats)
| |
| 405 | speed.Name = 'Speed' | |
| 406 | speed.Value = speedvalue | |
| 407 | local damagea = Instance.new('NumberValue', stats)
| |
| 408 | damagea.Name = 'Damage' | |
| 409 | damagea.Value = damagevalue | |
| 410 | ||
| 411 | function atktype(s, e) | |
| 412 | coroutine.resume(coroutine.create(function() | |
| 413 | attacktype = e | |
| 414 | wait(1.5) | |
| 415 | attacktype = s | |
| 416 | end)) | |
| 417 | end | |
| 418 | ||
| 419 | function turncrit() | |
| 420 | coroutine.resume(coroutine.create(function() | |
| 421 | print'CRITICAL!' | |
| 422 | crit = true | |
| 423 | wait(.25) | |
| 424 | crit = false | |
| 425 | end)) | |
| 426 | end | |
| 427 | ||
| 428 | function subtractstamina(k) | |
| 429 | if stamina >= k then | |
| 430 | stamina = stamina - k | |
| 431 | end | |
| 432 | end | |
| 433 | ||
| 434 | function clerp(a, b, t) | |
| 435 | return a:lerp(b, t) | |
| 436 | end | |
| 437 | ||
| 438 | function randomizer(percent) | |
| 439 | local randomized = math.random(0, 100) | |
| 440 | if randomized <= percent then | |
| 441 | return true | |
| 442 | elseif randomized >= percent then | |
| 443 | return false | |
| 444 | end | |
| 445 | end | |
| 446 | ||
| 447 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 448 | local Create = RbxUtility.Create | |
| 449 | ||
| 450 | function RemoveOutlines(part) | |
| 451 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 452 | end | |
| 453 | ||
| 454 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 455 | local Part = Create("Part"){
| |
| 456 | formFactor = FormFactor, | |
| 457 | Parent = Parent, | |
| 458 | Reflectance = Reflectance, | |
| 459 | Transparency = Transparency, | |
| 460 | CanCollide = false, | |
| 461 | Locked = true, | |
| 462 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 463 | Name = Name, | |
| 464 | Size = Size, | |
| 465 | Material = Material, | |
| 466 | } | |
| 467 | RemoveOutlines(Part) | |
| 468 | return Part | |
| 469 | end | |
| 470 | ||
| 471 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 472 | local Msh = Create(Mesh){
| |
| 473 | Parent = Part, | |
| 474 | Offset = OffSet, | |
| 475 | Scale = Scale, | |
| 476 | } | |
| 477 | if Mesh == "SpecialMesh" then | |
| 478 | Msh.MeshType = MeshType | |
| 479 | Msh.MeshId = MeshId | |
| 480 | end | |
| 481 | return Msh | |
| 482 | end | |
| 483 | ||
| 484 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 485 | local Weld = Create("Weld"){
| |
| 486 | Parent = Parent, | |
| 487 | Part0 = Part0, | |
| 488 | Part1 = Part1, | |
| 489 | C0 = C0, | |
| 490 | C1 = C1, | |
| 491 | } | |
| 492 | return Weld | |
| 493 | end | |
| 494 | ||
| 495 | function rayCast(pos, dir, maxl, ignore) | |
| 496 | return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore)
| |
| 497 | end | |
| 498 | --Effects | |
| 499 | function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type) | |
| 500 | local p = Instance.new('Part', par or workspace)
| |
| 501 | p.CFrame = pos1 | |
| 502 | p.Anchored = true | |
| 503 | p.Material = 'Concrete' | |
| 504 | p.CanCollide = false | |
| 505 | p.TopSurface = 0 | |
| 506 | p.Size = Vector3.new(1, 1, 1) | |
| 507 | p.BottomSurface = 0 | |
| 508 | p.Transparency = trans | |
| 509 | p.FormFactor = 'Custom' | |
| 510 | RemoveOutlines(p) | |
| 511 | local mesh = Instance.new('SpecialMesh', p)
| |
| 512 | mesh.Scale = size | |
| 513 | if id ~= nil and type == nil then | |
| 514 | mesh.MeshId = 'rbxassetid://'..id | |
| 515 | elseif id == nil and type ~= nil then | |
| 516 | mesh.MeshType = type | |
| 517 | elseif id == nil and type == nil then | |
| 518 | mesh.MeshType = 'Brick' | |
| 519 | end | |
| 520 | coroutine.wrap(function() | |
| 521 | for i = 0, delay1, .1 do | |
| 522 | wait(1 / 60) | |
| 523 | p.CFrame = p.CFrame | |
| 524 | mesh.Scale = mesh.Scale + howmuch | |
| 525 | p.Transparency = p.Transparency + trans1 | |
| 526 | end | |
| 527 | p:Destroy() | |
| 528 | end)() | |
| 529 | return p | |
| 530 | end | |
| 531 | function clangy(cframe) | |
| 532 | wait(1 / 60) | |
| 533 | local clang = {}
| |
| 534 | local dis = 0 | |
| 535 | local part = Instance.new('Part', nil)
| |
| 536 | part.CFrame = cframe | |
| 537 | part.Anchored = true | |
| 538 | part.CanCollide = false | |
| 539 | part.BrickColor = BrickColor.new('New Yeller')
| |
| 540 | part.FormFactor = 'Custom' | |
| 541 | part.Name = 'clanger' | |
| 542 | part.Size = Vector3.new(.2, .2, .2) | |
| 543 | part.TopSurface = 10 | |
| 544 | part.BottomSurface = 10 | |
| 545 | part.RightSurface = 10 | |
| 546 | part.LeftSurface = 10 | |
| 547 | part.BackSurface = 10 | |
| 548 | part.FrontSurface = 10 | |
| 549 | --part.Material='Neon' | |
| 550 | part:BreakJoints() | |
| 551 | local mesh = Instance.new('BlockMesh', part)
| |
| 552 | coroutine.wrap(function() | |
| 553 | for i = 1, 7 do | |
| 554 | wait(1 / 60) | |
| 555 | dis = dis + .2 | |
| 556 | local partc = part:clone() | |
| 557 | partc.Parent = workspace | |
| 558 | partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) | |
| 559 | partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) | |
| 560 | table.insert(clang, partc) | |
| 561 | end | |
| 562 | for i, v in pairs(clang) do | |
| 563 | coroutine.wrap(function() | |
| 564 | for i = 1, 10 do | |
| 565 | wait(.01) | |
| 566 | v.Transparency = v.Transparency + .1 | |
| 567 | end | |
| 568 | v:destroy() | |
| 569 | end)() | |
| 570 | end | |
| 571 | end)() | |
| 572 | end | |
| 573 | --damage effects | |
| 574 | function circle(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.35 | |
| 585 | p.FormFactor = 'Custom' | |
| 586 | local mesh = Instance.new('CylinderMesh', p)
| |
| 587 | mesh.Scale = Vector3.new(0, 0, 0) | |
| 588 | coroutine.wrap(function() | |
| 589 | for i = 0, 5, .1 do | |
| 590 | wait(1 / 60) | |
| 591 | p.CFrame = p.CFrame | |
| 592 | mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5) | |
| 593 | p.Transparency = p.Transparency + .025 | |
| 594 | end | |
| 595 | p:Destroy() | |
| 596 | end)() | |
| 597 | end | |
| 598 | function firespaz1(color, pos1) | |
| 599 | local p = Instance.new('Part', m)
| |
| 600 | p.BrickColor = BrickColor.new(color) | |
| 601 | p.CFrame = pos1 | |
| 602 | p.Anchored = true | |
| 603 | p.Material = 'Plastic' | |
| 604 | p.CanCollide = false | |
| 605 | p.TopSurface = 0 | |
| 606 | p.Size = Vector3.new(1, 1, 1) | |
| 607 | p.BottomSurface = 0 | |
| 608 | p.Transparency = 0.5 | |
| 609 | p.FormFactor = 'Custom' | |
| 610 | local mesh = Instance.new('BlockMesh', p)
| |
| 611 | mesh.Scale = Vector3.new(1, 1, 1) | |
| 612 | coroutine.wrap(function() | |
| 613 | for i = 0, 15, .1 do | |
| 614 | wait(1 / 30) | |
| 615 | p.CFrame = p.CFrame * CFrame.new(0, .1, 0) | |
| 616 | mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1) | |
| 617 | p.Transparency = p.Transparency + .025 | |
| 618 | end | |
| 619 | p:Destroy() | |
| 620 | end)() | |
| 621 | end | |
| 622 | ||
| 623 | function pickrandom(tablesa) | |
| 624 | local randomized = tablesa[math.random(1, #tablesa)] | |
| 625 | return randomized | |
| 626 | end | |
| 627 | function sound(id, pitch, volume, par, last) | |
| 628 | local s = Instance.new('Sound', par or Torso)
| |
| 629 | s.SoundId = 'rbxassetid://'..id | |
| 630 | s.Pitch = pitch or 1 | |
| 631 | s.Volume = volume or 1 | |
| 632 | wait() | |
| 633 | s:play() | |
| 634 | game.Debris:AddItem(s, last or 120) | |
| 635 | end | |
| 636 | function clangy(cframe) | |
| 637 | wait(1 / 60) | |
| 638 | local clang = {}
| |
| 639 | local dis = 0 | |
| 640 | local part = Instance.new('Part', nil)
| |
| 641 | part.CFrame = cframe | |
| 642 | part.Anchored = true | |
| 643 | part.CanCollide = false | |
| 644 | part.BrickColor = BrickColor.new('New Yeller')
| |
| 645 | part.FormFactor = 'Custom' | |
| 646 | part.Name = 'clanger' | |
| 647 | part.Size = Vector3.new(.2, .2, .2) | |
| 648 | part.TopSurface = 10 | |
| 649 | part.BottomSurface = 10 | |
| 650 | part.RightSurface = 10 | |
| 651 | part.LeftSurface = 10 | |
| 652 | part.BackSurface = 10 | |
| 653 | part.FrontSurface = 10 | |
| 654 | --part.Material='Neon' | |
| 655 | part:BreakJoints() | |
| 656 | local mesh = Instance.new('BlockMesh', part)
| |
| 657 | coroutine.wrap(function() | |
| 658 | for i = 1, 7 do | |
| 659 | wait(1 / 60) | |
| 660 | dis = dis + .2 | |
| 661 | local partc = part:clone() | |
| 662 | partc.Parent = workspace | |
| 663 | partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) | |
| 664 | partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) | |
| 665 | table.insert(clang, partc) | |
| 666 | end | |
| 667 | for i, v in pairs(clang) do | |
| 668 | coroutine.wrap(function() | |
| 669 | for i = 1, 10 do | |
| 670 | wait(.01) | |
| 671 | v.Transparency = v.Transparency + .1 | |
| 672 | end | |
| 673 | v:destroy() | |
| 674 | end)() | |
| 675 | end | |
| 676 | end)() | |
| 677 | end | |
| 678 | --damage effects | |
| 679 | --Effects | |
| 680 | so = function(id, par, vol, pit) | |
| 681 | coroutine.resume(coroutine.create(function() | |
| 682 | local sou = Instance.new("Sound", par or workspace)
| |
| 683 | sou.Volume = vol | |
| 684 | sou.Pitch = pit or 1 | |
| 685 | sou.SoundId = id | |
| 686 | wait() | |
| 687 | sou:play() | |
| 688 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 689 | end)) | |
| 690 | end | |
| 691 | ||
| 692 | local function getclosest(obj, distance) | |
| 693 | local last, lastx = distance + 1 | |
| 694 | for i, v in pairs(workspace:GetChildren()) do | |
| 695 | if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
| |
| 696 | local t = v.Torso | |
| 697 | local dist = (t.Position - obj.Position).magnitude | |
| 698 | if dist <= distance then | |
| 699 | if dist < last then | |
| 700 | last = dist | |
| 701 | lastx = v | |
| 702 | end | |
| 703 | end | |
| 704 | end | |
| 705 | end | |
| 706 | return lastx | |
| 707 | end | |
| 708 | ||
| 709 | function makegui(cframe, text) | |
| 710 | local a = math.random(-10, 10) / 100 | |
| 711 | local c = Instance.new("Part")
| |
| 712 | c.Transparency = 1 | |
| 713 | Instance.new("BodyGyro").Parent = c
| |
| 714 | c.Parent = m | |
| 715 | c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0)) | |
| 716 | local f = Instance.new("BodyPosition")
| |
| 717 | f.P = 2000 | |
| 718 | f.D = 100 | |
| 719 | f.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 720 | f.position = c.Position + Vector3.new(0, 3, 0) | |
| 721 | f.Parent = c | |
| 722 | game:GetService("Debris"):AddItem(c, .5 + 6)
| |
| 723 | c.CanCollide = false | |
| 724 | m.Parent = workspace | |
| 725 | c.CanCollide = false | |
| 726 | local bg = Instance.new('BillboardGui', m)
| |
| 727 | bg.Adornee = c | |
| 728 | bg.Size = UDim2.new(1, 0, 1, 0) | |
| 729 | bg.StudsOffset = Vector3.new(0, 0, 0) | |
| 730 | bg.AlwaysOnTop = false | |
| 731 | local tl = Instance.new('TextLabel', bg)
| |
| 732 | tl.BackgroundTransparency = 1 | |
| 733 | tl.Size = UDim2.new(1, 0, 1, 0) | |
| 734 | tl.Text = text | |
| 735 | tl.Font = 'SourceSansBold' | |
| 736 | tl.FontSize = 'Size42' | |
| 737 | if crit == true then | |
| 738 | tl.TextColor3 = Color3.new(180 / 255, 0, 0) | |
| 739 | else | |
| 740 | tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255) | |
| 741 | end | |
| 742 | tl.TextStrokeTransparency = 0 | |
| 743 | tl.TextScaled = true | |
| 744 | tl.TextWrapped = true | |
| 745 | coroutine.wrap(function() | |
| 746 | wait(2) | |
| 747 | for i = 1, 10 do | |
| 748 | wait() | |
| 749 | tl.TextTransparency = tl.TextTransparency + .1 | |
| 750 | end | |
| 751 | end)() | |
| 752 | end | |
| 753 | ||
| 754 | function tag(hum, Player) | |
| 755 | local creator = Instance.new('ObjectValue', hum)
| |
| 756 | creator.Value = Player | |
| 757 | creator.Name = 'creator' | |
| 758 | end | |
| 759 | function untag(hum) | |
| 760 | if hum ~= nil then | |
| 761 | local tag = hum:findFirstChild("creator")
| |
| 762 | if tag ~= nil then | |
| 763 | tag.Parent = nil | |
| 764 | end | |
| 765 | end | |
| 766 | end | |
| 767 | ||
| 768 | function tagPlayer(h) | |
| 769 | coroutine.wrap(function() | |
| 770 | tag(h, Player) | |
| 771 | wait(1) | |
| 772 | untag(h) | |
| 773 | end)() | |
| 774 | end | |
| 775 | function damage(hit, mind, maxd, knock, type, prop) | |
| 776 | --[[ | |
| 777 | to apply it to a Player directly, make the first arg go to the Players Torso | |
| 778 | 1 - normal type(damage and knockback) | |
| 779 | 2 - drain type(damage no knockback) | |
| 780 | 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed | |
| 781 | 4 - heal(heals target) | |
| 782 | 5 - subtracts enemies defense | |
| 783 | 6 - subtracts enemies speed | |
| 784 | 7 - | |
| 785 | ]] | |
| 786 | if hit.Name:lower() == 'Hitbox' then | |
| 787 | local pos = CFrame.new(0, 1, -1) | |
| 788 | sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6) | |
| 789 | coroutine.wrap(function() | |
| 790 | for i = 1, 4 do | |
| 791 | clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0)) | |
| 792 | end | |
| 793 | end)() | |
| 794 | end | |
| 795 | if hit.Parent == nil then | |
| 796 | return | |
| 797 | end | |
| 798 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 799 | for i, v in pairs(hit.Parent:children()) do | |
| 800 | if v:IsA("Humanoid") then
| |
| 801 | h = v | |
| 802 | end | |
| 803 | end | |
| 804 | if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then
| |
| 805 | h = hit.Parent.Parent:FindFirstChild('Humanoid')
| |
| 806 | end | |
| 807 | if hit.Parent:IsA('Hat') then
| |
| 808 | hit = hit.Parent.Parent:findFirstChild('Head')
| |
| 809 | end | |
| 810 | local D = math.random(mind, maxd) * damagea.Value | |
| 811 | if h.Parent:FindFirstChild('Stats') then
| |
| 812 | D = D / h.Parent:FindFirstChild('Stats').Defence.Value
| |
| 813 | elseif not h.Parent:FindFirstChild('Stats') then
| |
| 814 | D = D | |
| 815 | end | |
| 816 | if h then | |
| 817 | makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5))) | |
| 818 | end | |
| 819 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 820 | if type == 1 then | |
| 821 | tagPlayer(h) | |
| 822 | local asd = randomizer(critchance) | |
| 823 | if asd == true then | |
| 824 | turncrit() | |
| 825 | end | |
| 826 | if crit == false then | |
| 827 | h.Health = h.Health - D | |
| 828 | else | |
| 829 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
| 830 | end | |
| 831 | so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
| |
| 832 | local vp = Instance.new('BodyVelocity')
| |
| 833 | vp.P = 500 | |
| 834 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
| 835 | vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05 | |
| 836 | if knock > 0 then | |
| 837 | vp.Parent = hit.Parent.Torso | |
| 838 | end | |
| 839 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 840 | elseif type == 2 then | |
| 841 | so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
| |
| 842 | local asd = randomizer(critchance) | |
| 843 | if asd == true then | |
| 844 | turncrit() | |
| 845 | end | |
| 846 | if crit == false then | |
| 847 | h.Health = h.Health - D | |
| 848 | else | |
| 849 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
| 850 | end | |
| 851 | tagPlayer(h) | |
| 852 | elseif type == 3 then | |
| 853 | tagPlayer(h) | |
| 854 | local asd = randomizer(critchance) | |
| 855 | if asd == true then | |
| 856 | turncrit() | |
| 857 | end | |
| 858 | if crit == false then | |
| 859 | h.Health = h.Health - D | |
| 860 | else | |
| 861 | h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax)) | |
| 862 | end | |
| 863 | Character.Humanoid.Health = Character.Humanoid.Health + D / 2 | |
| 864 | so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
| |
| 865 | for i = 1, 10 do | |
| 866 | firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
| |
| 867 | end | |
| 868 | elseif type == 4 then | |
| 869 | h.Health = h.Health + D | |
| 870 | so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
| |
| 871 | circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0))
| |
| 872 | end | |
| 873 | end | |
| 874 | end | |
| 875 | ||
| 876 | function subtrackstamina(k) | |
| 877 | if stamina >= k then | |
| 878 | stamina = stamina - k | |
| 879 | end | |
| 880 | end | |
| 881 | ||
| 882 | Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Handle",Vector3.new(2.39999986, 1.20000005, 1.39999998)) | |
| 883 | 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)) | |
| 884 | CreateMesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 885 | LLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Really Pearl","LLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 886 | 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)) | |
| 887 | CreateMesh("SpecialMesh",LLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 888 | LLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","LLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 889 | 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)) | |
| 890 | CreateMesh("SpecialMesh",LLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 891 | NeckHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","NeckHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994)) | |
| 892 | 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)) | |
| 893 | CreateMesh("SpecialMesh",NeckHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 894 | RLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","RLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 895 | 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)) | |
| 896 | CreateMesh("SpecialMesh",RLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 897 | RLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","RLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 898 | 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)) | |
| 899 | CreateMesh("SpecialMesh",RLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 900 | TailHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","TailHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994)) | |
| 901 | 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)) | |
| 902 | CreateMesh("SpecialMesh",TailHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 903 | Wings=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Wings",Vector3.new(1.38, 0.600000024, 0.400000006)) | |
| 904 | 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)) | |
| 905 | 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))
| |
| 906 | HeadHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","HeadHandleConnector",Vector3.new(0.799999774, 0.800000012, 1.19999993)) | |
| 907 | 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)) | |
| 908 | CreateMesh("SpecialMesh",HeadHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 909 | HeadHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","HeadHandle",Vector3.new(0.799999774, 0.800000012, 1.19999993)) | |
| 910 | HeadHandleweld=CreateWeld(m,HeadHandleConnector,HeadHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(.5,.3,0)) | |
| 911 | CreateMesh("SpecialMesh",HeadHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 912 | BlinkPartL=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","BlinkPartL",Vector3.new(0.430000007, 0.349999994, 0.209999993)) | |
| 913 | 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)) | |
| 914 | CreateMesh("SpecialMesh",BlinkPartL,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 915 | BlinkPartR=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","BlinkPartR",Vector3.new(0.430000007, 0.349999994, 0.209999919)) | |
| 916 | 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)) | |
| 917 | CreateMesh("SpecialMesh",BlinkPartR,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 918 | Head=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Head",Vector3.new(1.59999979, 1, 1.19999993)) | |
| 919 | 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)) | |
| 920 | CreateMesh("SpecialMesh",Head,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 921 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003)) | |
| 922 | 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)) | |
| 923 | CreateMesh("SpecialMesh",Part,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.400000006, 1.39999998, 0.400000006)) | |
| 925 | 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)) | |
| 926 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 927 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006)) | |
| 928 | 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)) | |
| 929 | CreateMesh("SpecialMesh",Part,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,"Ghost grey","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003)) | |
| 931 | 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)) | |
| 932 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 933 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917)) | |
| 934 | 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)) | |
| 935 | CreateMesh("SpecialMesh",Part,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,"Ghost grey","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917)) | |
| 937 | 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)) | |
| 938 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 939 | LLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","LLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 940 | 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)) | |
| 941 | CreateMesh("SpecialMesh",LLeg1Handle,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(0.599999726, 1.20000005, 0.600000024)) | |
| 943 | 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)) | |
| 944 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 945 | LLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","LLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 946 | 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)) | |
| 947 | CreateMesh("SpecialMesh",LLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 948 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) | |
| 949 | 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)) | |
| 950 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 951 | RLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","RLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 952 | 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)) | |
| 953 | CreateMesh("SpecialMesh",RLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 954 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024)) | |
| 955 | 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)) | |
| 956 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 957 | RLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","RLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024)) | |
| 958 | 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)) | |
| 959 | CreateMesh("SpecialMesh",RLeg2Handle,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(0.599999726, 1.20000005, 0.600000024)) | |
| 961 | 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)) | |
| 962 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 963 | NeckHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","NeckHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994)) | |
| 964 | 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)) | |
| 965 | CreateMesh("SpecialMesh",NeckHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 966 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.5999999, 0.800000012, 0.99999994)) | |
| 967 | 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)) | |
| 968 | CreateMesh("SpecialMesh",Part,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,"Pearl","Part",Vector3.new(1.5999999, 1, 1.39999998)) | |
| 970 | 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)) | |
| 971 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 972 | TailHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","TailHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994)) | |
| 973 | 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)) | |
| 974 | CreateMesh("SpecialMesh",TailHandle,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,"Pearl","Part",Vector3.new(1.39999974, 0.800000012, 0.99999994)) | |
| 976 | 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)) | |
| 977 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 978 | Tail2HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","Tail2HandleConnector",Vector3.new(0.599999726, 0.800000012, 0.799999952)) | |
| 979 | 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)) | |
| 980 | CreateMesh("SpecialMesh",Tail2HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 981 | Tail2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","Tail2Handle",Vector3.new(0.599999726, 0.800000012, 0.799999952)) | |
| 982 | 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)) | |
| 983 | CreateMesh("SpecialMesh",Tail2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 984 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.39999974, 0.800000012, 0.799999952)) | |
| 985 | 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)) | |
| 986 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 987 | Tail3HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","Tail3HandleConnector",Vector3.new(0.599999845, 0.800000012, 0.799999952)) | |
| 988 | 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)) | |
| 989 | CreateMesh("SpecialMesh",Tail3HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 990 | Tail3Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","Tail3Handle",Vector3.new(0.599999845, 0.800000012, 0.799999952)) | |
| 991 | 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)) | |
| 992 | CreateMesh("SpecialMesh",Tail3Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 993 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(1.79999983, 0.800000012, 0.200000003)) | |
| 994 | 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)) | |
| 995 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 996 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003)) | |
| 997 | 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)) | |
| 998 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 999 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003)) | |
| 1000 | 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)) | |
| 1001 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1002 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.39999986, 0.800000012, 0.799999952)) | |
| 1003 | 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)) | |
| 1004 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1005 | ||
| 1006 | mouse.Button1Down:connect(function() | |
| 1007 | end) | |
| 1008 | ||
| 1009 | mouse.KeyDown:connect(function(k) | |
| 1010 | k = k:lower() | |
| 1011 | if k == "f" and attack == false and Flying == false then | |
| 1012 | Humanoid.CameraOffset = Vector3.new(0, -1, 0) | |
| 1013 | Humanoid.WalkSpeed = 200 | |
| 1014 | Flying = true | |
| 1015 | elseif k == "f" and attack == false and Flying == true then | |
| 1016 | Humanoid.CameraOffset = Vector3.new(0, -2, 0) | |
| 1017 | Humanoid.WalkSpeed = 16 | |
| 1018 | Flying = false | |
| 1019 | end | |
| 1020 | end) | |
| 1021 | ||
| 1022 | ||
| 1023 | inputserv.InputBegan:connect(function(k) | |
| 1024 | if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then | |
| 1025 | elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then | |
| 1026 | elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then | |
| 1027 | elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then | |
| 1028 | end | |
| 1029 | end) | |
| 1030 | ||
| 1031 | inputserv.InputBegan:connect(function(k) | |
| 1032 | if k.KeyCode == Enum.KeyCode.Slash then | |
| 1033 | local fin = nil | |
| 1034 | typing = true | |
| 1035 | fin = inputserv.InputBegan:connect(function(k) | |
| 1036 | if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 1037 | typing = false | |
| 1038 | fin:disconnect() | |
| 1039 | end | |
| 1040 | end) | |
| 1041 | end | |
| 1042 | end) | |
| 1043 | ||
| 1044 | function updateskills() | |
| 1045 | if cooldown1 <= co1 then | |
| 1046 | cooldown1 = cooldown1 + 1 / 30 | |
| 1047 | end | |
| 1048 | if cooldown2 <= co2 then | |
| 1049 | cooldown2 = cooldown2 + 1 / 30 | |
| 1050 | end | |
| 1051 | if cooldown3 <= co3 then | |
| 1052 | cooldown3 = cooldown3 + 1 / 30 | |
| 1053 | end | |
| 1054 | if cooldown4 <= co4 then | |
| 1055 | cooldown4 = cooldown4 + 1 / 30 | |
| 1056 | end | |
| 1057 | if stamina <= maxstamina then | |
| 1058 | stamina = stamina + recovermana / 30 | |
| 1059 | end | |
| 1060 | end | |
| 1061 | ||
| 1062 | coroutine.resume(coroutine.create(function(Part,Weld) | |
| 1063 | while Part.Parent~=nil do | |
| 1064 | wait(5) | |
| 1065 | for i=0,1,0.2 do | |
| 1066 | wait() | |
| 1067 | BlinkPartR.Mesh.Scale = Vector3.new(.7-1*i,1,1) | |
| 1068 | end | |
| 1069 | for i=0,1,0.2 do | |
| 1070 | wait() | |
| 1071 | BlinkPartR.Mesh.Scale = Vector3.new(.7+.3*i,1,1) | |
| 1072 | end | |
| 1073 | end | |
| 1074 | end),BlinkPartR,BlinkPartRweld) | |
| 1075 | ||
| 1076 | coroutine.resume(coroutine.create(function(Part,Weld) | |
| 1077 | while Part.Parent~=nil do | |
| 1078 | wait(5) | |
| 1079 | for i=0,1,0.2 do | |
| 1080 | wait() | |
| 1081 | BlinkPartL.Mesh.Scale = Vector3.new(.7-1*i,1,1) | |
| 1082 | end | |
| 1083 | for i=0,1,0.2 do | |
| 1084 | wait() | |
| 1085 | BlinkPartL.Mesh.Scale = Vector3.new(.7+.3*i,1,1) | |
| 1086 | end | |
| 1087 | end | |
| 1088 | end),BlinkPartL,BlinkPartLweld) | |
| 1089 | ||
| 1090 | game:GetService'RunService'.Heartbeat:connect(function() | |
| 1091 | updateskills() | |
| 1092 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1093 | velocity = RootPart.Velocity.y | |
| 1094 | sine = sine + change | |
| 1095 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
| 1096 | if equipped == true or equipped == false then | |
| 1097 | if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then | |
| 1098 | Anim = "Jump" | |
| 1099 | if attack == false then | |
| 1100 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 2) * angles(math.rad(50), math.rad(0), math.rad(0)), .3) | |
| 1101 | NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) | |
| 1102 | HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
| 1103 | LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
| 1104 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
| 1105 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
| 1106 | RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3) | |
| 1107 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3) | |
| 1108 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3) | |
| 1109 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3) | |
| 1110 | end | |
| 1111 | elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then | |
| 1112 | Anim = "Fall" | |
| 1113 | if attack == false then | |
| 1114 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 1) * angles(math.rad(20), math.rad(0), math.rad(0)), .3) | |
| 1115 | NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), .3) | |
| 1116 | HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
| 1117 | LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
| 1118 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
| 1119 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
| 1120 | RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
| 1121 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) | |
| 1122 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) | |
| 1123 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3) | |
| 1124 | end | |
| 1125 | elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then | |
| 1126 | Anim = "Idle" | |
| 1127 | if attack == false and Flying == false then | |
| 1128 | change = 1 | |
| 1129 | Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
| 1130 | 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) | |
| 1131 | 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) | |
| 1132 | 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) | |
| 1133 | 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) | |
| 1134 | 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) | |
| 1135 | 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) | |
| 1136 | 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) | |
| 1137 | 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) | |
| 1138 | 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) | |
| 1139 | elseif attack == false and Flying == true then | |
| 1140 | 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) | |
| 1141 | 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) | |
| 1142 | 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) | |
| 1143 | 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) | |
| 1144 | 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) | |
| 1145 | 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) | |
| 1146 | 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) | |
| 1147 | 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) | |
| 1148 | 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) | |
| 1149 | 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) | |
| 1150 | end | |
| 1151 | elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then | |
| 1152 | Anim = "Walk" | |
| 1153 | if attack == false and Flying == false then | |
| 1154 | change = 1 | |
| 1155 | 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) | |
| 1156 | 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) | |
| 1157 | 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) | |
| 1158 | 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) | |
| 1159 | LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3) | |
| 1160 | RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3) | |
| 1161 | 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) | |
| 1162 | TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3) | |
| 1163 | Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2*math.cos(sine/15))), .3) | |
| 1164 | Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3) | |
| 1165 | elseif attack == false and Flying == true then | |
| 1166 | change = 1 | |
| 1167 | 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) | |
| 1168 | 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) | |
| 1169 | 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) | |
| 1170 | 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) | |
| 1171 | 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) | |
| 1172 | 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) | |
| 1173 | 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) | |
| 1174 | 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) | |
| 1175 | 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) | |
| 1176 | 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) | |
| 1177 | end | |
| 1178 | end | |
| 1179 | end | |
| 1180 | end) | |
| 1181 | local p = game.Players:findFirstChild("EnderWolfMage") -- Put your name where it says pingfuzz
| |
| 1182 | script.Name = "FusScript" | |
| 1183 | local go = true --for normal shouts | |
| 1184 | local skygo = true --for sky-related shouts | |
| 1185 | --19 Shouts: Fus Ro Dah, Wuld Nah Kest, Liz Slen Nus, Yol Toor Shul, Feim Zii Gron, Strun Bah Qo, Fo Krah Diin, Laas Yah Nir, | |
| 1186 | --Zun Haal Viik, Krii Lun Aus, Tiid Klo Ul, Faas Ru Maar, Toor Bah Yol, Joor Zah Frul, Kaan Drem Ov, Ven Mul Riik, Lok Vah Koor, | |
| 1187 | --Nahl Daal Vus, and Bex | |
| 1188 | p.Chatted:connect(function(message) | |
| 1189 | local msg = string.lower(message) | |
| 1190 | if string.find(msg, "fus ro dah") and go == true then | |
| 1191 | go = false | |
| 1192 | fus = Instance.new("Part")
| |
| 1193 | fus.formFactor = "Custom" | |
| 1194 | fus.Size = Vector3.new(1, 1, 4) | |
| 1195 | fus.TopSurface = "Smooth" | |
| 1196 | fus.BottomSurface = "Smooth" | |
| 1197 | fus.Anchored = false | |
| 1198 | fus.CanCollide = false | |
| 1199 | fus.BrickColor = BrickColor.new("Bright blue")
| |
| 1200 | fus.Transparency = 0.6 | |
| 1201 | fus.Reflectance = 0.5 | |
| 1202 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
| 1203 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
| 1204 | local f = Instance.new("Fire")
| |
| 1205 | f.Name = "FusFire" | |
| 1206 | f.Size = fus:GetMass() | |
| 1207 | f.Heat = 0 | |
| 1208 | f.Color = Color3.new(1, 1, 1) | |
| 1209 | f.SecondaryColor = Color3.new(1, 1, 1) | |
| 1210 | f.Parent = fus | |
| 1211 | local mesh = Instance.new("SpecialMesh")
| |
| 1212 | mesh.MeshType = "Sphere" | |
| 1213 | mesh.Parent = fus | |
| 1214 | local bp = Instance.new("BodyPosition")
| |
| 1215 | bp.position = p.Character.Head.Position | |
| 1216 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
| 1217 | bp.Parent = fus | |
| 1218 | fus.Parent = workspace | |
| 1219 | fus.Touched:connect(fused) | |
| 1220 | coroutine.resume(coroutine.create(function() | |
| 1221 | wait(0.5) | |
| 1222 | for i = 1, 20 do | |
| 1223 | wait(0.01) | |
| 1224 | local cf = fus.CFrame | |
| 1225 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
| 1226 | f.Size = fus:GetMass()/2 | |
| 1227 | fus.CFrame = cf | |
| 1228 | end | |
| 1229 | wait(3) | |
| 1230 | for i = 1, 40 do | |
| 1231 | fus.Transparency = fus.Transparency + 0.1 | |
| 1232 | f.Size = f.Size - (fus:GetMass()/40) | |
| 1233 | wait(0.1) | |
| 1234 | end | |
| 1235 | wait() | |
| 1236 | fus.Transparency = 1 | |
| 1237 | f:remove() | |
| 1238 | fus:remove() | |
| 1239 | go = true | |
| 1240 | end)) | |
| 1241 | game:GetService("Debris"):AddItem(fus, 15)
| |
| 1242 | elseif string.find(msg, "wuld nah kest") then | |
| 1243 | local speed = p.Character.Humanoid.WalkSpeed --Speed prior to sprinting | |
| 1244 | local cf = p.Character.Torso.CFrame * CFrame.new(0, 0, -50) | |
| 1245 | local pos = cf.p | |
| 1246 | p.Character.Humanoid.WalkSpeed = 200 | |
| 1247 | p.Character.Humanoid:MoveTo(pos, workspace.Base) | |
| 1248 | wait(0.275) | |
| 1249 | p.Character.Humanoid.WalkSpeed = speed | |
| 1250 | p.Character.Humanoid:MoveTo(p.Character.Torso.Position, p.Character.Torso) | |
| 1251 | elseif string.find(msg, "liz slen nus") and go == true then | |
| 1252 | --local succ, ret = pcall(function() | |
| 1253 | go = false | |
| 1254 | fus = Instance.new("Part")
| |
| 1255 | fus.formFactor = "Custom" | |
| 1256 | fus.Size = Vector3.new(3, 3, 6) | |
| 1257 | fus.TopSurface = "Smooth" | |
| 1258 | fus.BottomSurface = "Smooth" | |
| 1259 | fus.Anchored = false | |
| 1260 | fus.CanCollide = false | |
| 1261 | fus.BrickColor = BrickColor.new("White")
| |
| 1262 | fus.Transparency = 0.5 | |
| 1263 | fus.Reflectance = 0.6 | |
| 1264 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -6) | |
| 1265 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
| 1266 | local s = Instance.new("Sparkles")
| |
| 1267 | s.Name = "LizSparkle" | |
| 1268 | s.SparkleColor = Color3.new(1, 1, 1) | |
| 1269 | s.Parent = fus | |
| 1270 | local mesh = Instance.new("SpecialMesh")
| |
| 1271 | mesh.MeshType = "Sphere" | |
| 1272 | mesh.Parent = fus | |
| 1273 | local bp = Instance.new("BodyPosition")
| |
| 1274 | bp.position = p.Character.Head.Position | |
| 1275 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
| 1276 | bp.Parent = fus | |
| 1277 | fus.Parent = workspace | |
| 1278 | fus.Touched:connect(lized) | |
| 1279 | --[end) | |
| 1280 | if ret then | |
| 1281 | local m = Instance.new("Part", p.PlayerGui)
| |
| 1282 | m.Text = "ERROR: " ..ret | |
| 1283 | game:GetService("Debris"):AddItem(m, 15)
| |
| 1284 | end | |
| 1285 | coroutine.resume(coroutine.create(function() | |
| 1286 | wait(3) | |
| 1287 | for i = 1, 40 do | |
| 1288 | fus.Transparency = fus.Transparency + 0.1 | |
| 1289 | wait(0.1) | |
| 1290 | end | |
| 1291 | wait() | |
| 1292 | fus.Transparency = 1 | |
| 1293 | fus:remove() | |
| 1294 | go = true | |
| 1295 | end)) | |
| 1296 | game:GetService("Debris"):AddItem(fus, 15)
| |
| 1297 | elseif string.find(msg, "yol toor shul") and go == true then | |
| 1298 | go = false | |
| 1299 | fus = Instance.new("Part")
| |
| 1300 | fus.formFactor = "Custom" | |
| 1301 | fus.Size = Vector3.new(3, 3, 6) | |
| 1302 | fus.TopSurface = "Smooth" | |
| 1303 | fus.BottomSurface = "Smooth" | |
| 1304 | fus.Anchored = false | |
| 1305 | fus.CanCollide = false | |
| 1306 | fus.BrickColor = BrickColor.new("Bright orange")
| |
| 1307 | fus.Transparency = 0.5 | |
| 1308 | fus.Reflectance = 0.6 | |
| 1309 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -6) | |
| 1310 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
| 1311 | local f = Instance.new("Fire")
| |
| 1312 | f.Name = "FusFire" | |
| 1313 | f.Size = fus:GetMass()/3 | |
| 1314 | f.Heat = 0 | |
| 1315 | f.Parent = fus | |
| 1316 | local mesh = Instance.new("SpecialMesh")
| |
| 1317 | mesh.MeshType = "Sphere" | |
| 1318 | mesh.Parent = fus | |
| 1319 | local bp = Instance.new("BodyPosition")
| |
| 1320 | bp.position = p.Character.Head.Position | |
| 1321 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
| 1322 | bp.Parent = fus | |
| 1323 | fus.Parent = workspace | |
| 1324 | fus.Touched:connect(yoled) | |
| 1325 | coroutine.resume(coroutine.create(function() | |
| 1326 | wait(0.5) | |
| 1327 | for i = 1, 20 do | |
| 1328 | wait(0.01) | |
| 1329 | local cf = fus.CFrame | |
| 1330 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
| 1331 | f.Size = fus:GetMass()/2 | |
| 1332 | fus.CFrame = cf | |
| 1333 | end | |
| 1334 | wait(3) | |
| 1335 | for i = 1, 40 do | |
| 1336 | fus.Transparency = fus.Transparency + 0.1 | |
| 1337 | f.Size = f.Size - (fus:GetMass()/3)/40 | |
| 1338 | wait(0.1) | |
| 1339 | end | |
| 1340 | wait() | |
| 1341 | fus.Transparency = 1 | |
| 1342 | f:remove() | |
| 1343 | fus:remove() | |
| 1344 | go = true | |
| 1345 | end)) | |
| 1346 | game:GetService("Debris"):AddItem(fus, 15)
| |
| 1347 | elseif string.find(msg, "feim zii gron") then | |
| 1348 | p.Character.Humanoid.WalkSpeed = 30 | |
| 1349 | for a, b in pairs(p.Character:children()) do | |
| 1350 | if b.Name == "Head" then | |
| 1351 | if b:findFirstChild("face") ~= nil then
| |
| 1352 | coroutine.resume(coroutine.create(function() | |
| 1353 | for i = 1, 110 do | |
| 1354 | b.face.Transparency = b.face.Transparency + 0.01 | |
| 1355 | wait(0.01) | |
| 1356 | end | |
| 1357 | b.face.Transparency = 1 | |
| 1358 | end)) | |
| 1359 | end | |
| 1360 | end | |
| 1361 | if b.className == "Part" then | |
| 1362 | coroutine.resume(coroutine.create(function() | |
| 1363 | for i = 1, 110 do | |
| 1364 | b.Transparency = b.Transparency + 0.01 | |
| 1365 | wait(0.01) | |
| 1366 | end | |
| 1367 | b.Transparency = 1 | |
| 1368 | end)) | |
| 1369 | elseif b.className == "Hat" then | |
| 1370 | coroutine.resume(coroutine.create(function() | |
| 1371 | for i = 1, 110 do | |
| 1372 | b.Handle.Transparency = b.Handle.Transparency + 0.01 | |
| 1373 | wait(0.01) | |
| 1374 | end | |
| 1375 | b.Handle.Transparency = 1 | |
| 1376 | end)) | |
| 1377 | end | |
| 1378 | end | |
| 1379 | wait(15) | |
| 1380 | p.Character.Humanoid.WalkSpeed = 16 | |
| 1381 | for a, b in pairs(p.Character:children()) do | |
| 1382 | if b.Name == "Head" then | |
| 1383 | if b:findFirstChild("face") ~= nil then
| |
| 1384 | coroutine.resume(coroutine.create(function() | |
| 1385 | for i = 1, 110 do | |
| 1386 | b.face.Transparency = b.face.Transparency - 0.01 | |
| 1387 | wait(0.01) | |
| 1388 | end | |
| 1389 | b.face.Transparency = 0 | |
| 1390 | end)) | |
| 1391 | end | |
| 1392 | end | |
| 1393 | if b.className == "Part" then | |
| 1394 | coroutine.resume(coroutine.create(function() | |
| 1395 | for i = 1, 110 do | |
| 1396 | b.Transparency = b.Trans0arency - 0.01 | |
| 1397 | wait(0.01) | |
| 1398 | end | |
| 1399 | b.Transparency = 0 | |
| 1400 | end)) | |
| 1401 | elseif b.className == "Hat" then | |
| 1402 | coroutine.resume(coroutine.create(function() | |
| 1403 | for i = 1, 110 do | |
| 1404 | b.Handle.Transparency = b.Handle.Transparency - 0.01 | |
| 1405 | wait(0.01) | |
| 1406 | end | |
| 1407 | b.Handle.Transparency = 0 | |
| 1408 | end)) | |
| 1409 | end | |
| 1410 | end | |
| 1411 | elseif string.find(msg, "strun bah qo") and skygo == true then | |
| 1412 | skygo = false | |
| 1413 | local clouds = {}
| |
| 1414 | function lightning(cl) | |
| 1415 | local lights = {}
| |
| 1416 | for i = 1, 15 do | |
| 1417 | local l = Instance.new("Part")
| |
| 1418 | l.Name = "FusLightning" | |
| 1419 | table.insert(lights, l) | |
| 1420 | game:GetService("Debris"):AddItem(l, 15)
| |
| 1421 | l.formFactor = "Custom" | |
| 1422 | l.Size = Vector3.new(1, math.random(50, 75), 1) | |
| 1423 | l.BrickColor = BrickColor.new("Institutional white")
| |
| 1424 | l.Transparency = 0.45 | |
| 1425 | l.Reflectance = 0.5 | |
| 1426 | l.Anchored = true | |
| 1427 | l.CanCollide = false | |
| 1428 | local xnum = 6 | |
| 1429 | local znum = 6 | |
| 1430 | if i == 1 then | |
| 1431 | l.CFrame = cl.CFrame * CFrame.Angles(math.random(-(math.pi/xnum), math.pi/xnum), 0, math.random(-(math.pi/znum), math.pi/znum)) * CFrame.new(0, -1 * (l.Size.Y/2), 0) | |
| 1432 | elseif i > 1 then | |
| 1433 | local llight = lights[i - 1] | |
| 1434 | l.CFrame = llight.CFrame * CFrame.Angles(math.random(-(math.pi/xnum), math.pi/xnum), 0, math.random(-(math.pi/znum), math.pi/znum)) * CFrame.new(0, -1 * (l.Size.Y/2), 0) | |
| 1435 | end | |
| 1436 | l.Parent = workspace | |
| 1437 | l.Touched:connect(function(part) struned(part, l) end) | |
| 1438 | coroutine.resume(coroutine.create(function() | |
| 1439 | repeat | |
| 1440 | l.Transparency = l.Transparency + 0.02 | |
| 1441 | wait() | |
| 1442 | until l.Transparency >= 1 | |
| 1443 | l:remove() | |
| 1444 | end)) | |
| 1445 | end | |
| 1446 | end | |
| 1447 | for i = 1, 100 do | |
| 1448 | game.Lighting.Brightness = game.Lighting.Brightness - 0.01 | |
| 1449 | wait(0.05) | |
| 1450 | end | |
| 1451 | game.Lighting.Brightness = 0 | |
| 1452 | local cloud = Instance.new("Part")
| |
| 1453 | cloud.Name = "StrunCloud" | |
| 1454 | cloud.Size = Vector3.new(1, 1, 1) | |
| 1455 | cloud.Anchored = true | |
| 1456 | cloud.CanCollide = false | |
| 1457 | cloud.BrickColor = BrickColor.new("Black")
| |
| 1458 | cloud.Transparency = 1 | |
| 1459 | local mesh = Instance.new("SpecialMesh")
| |
| 1460 | mesh.MeshType = "FileMesh" | |
| 1461 | mesh.Scale = Vector3.new(math.random(100, 150), math.random(50, 100), math.random(100, 150)) | |
| 1462 | mesh.MeshId = "www.roblox.com/asset/?id=1095708" | |
| 1463 | mesh.Parent = cloud | |
| 1464 | for i = 1, (math.random(4, 8)) do | |
| 1465 | local newc = cloud:clone() | |
| 1466 | newc.Parent = workspace | |
| 1467 | game:GetService("Debris"):AddItem(newc, 300)
| |
| 1468 | table.insert(clouds, newc) | |
| 1469 | newc.CFrame = CFrame.new(p.Character.Torso.Position + Vector3.new(math.random(-250, 250), math.random(150, 200), math.random(-250, 250))) | |
| 1470 | coroutine.resume(coroutine.create(function() | |
| 1471 | repeat | |
| 1472 | newc.Transparency = newc.Transparency - 0.01 | |
| 1473 | wait() | |
| 1474 | until newc.Transparency <= 0.2 | |
| 1475 | newc.Transparency = 0.2 | |
| 1476 | end)) | |
| 1477 | end | |
| 1478 | for i = 1, (math.random(7, 15)) do | |
| 1479 | if skygo == true then break end | |
| 1480 | local s = Instance.new("Sound")
| |
| 1481 | game:GetService("Debris"):AddItem(s, 5)
| |
| 1482 | s.Name = "Lighting" | |
| 1483 | s.SoundId = "rbxasset://sounds/HalloweenLightning.wav" | |
| 1484 | s.Pitch = (math.random(10, 15) * 0.1) | |
| 1485 | s.PlayOnRemove = true | |
| 1486 | s.Looped = false | |
| 1487 | s.Parent = workspace | |
| 1488 | wait(0.5) | |
| 1489 | s:play() | |
| 1490 | for i = 1, #clouds do | |
| 1491 | lightning(clouds[i]) | |
| 1492 | end | |
| 1493 | game.Lighting.Brightness = 1 | |
| 1494 | wait(0.001) | |
| 1495 | game.Lighting.Brightness = 0 | |
| 1496 | s:remove() | |
| 1497 | wait(math.random(3, 6)) | |
| 1498 | end | |
| 1499 | wait(2) | |
| 1500 | for i = 1, #clouds do | |
| 1501 | coroutine.resume(coroutine.create(function() | |
| 1502 | repeat | |
| 1503 | clouds[i].Transparency = clouds[i].Transparency + 0.01 | |
| 1504 | wait(0.05) | |
| 1505 | until clouds[i].Transparency >= 1 | |
| 1506 | clouds[i]:remove() | |
| 1507 | end)) | |
| 1508 | end | |
| 1509 | for i = 1, 110 do | |
| 1510 | game.Lighting.Brightness = game.Lighting.Brightness + 0.01 | |
| 1511 | wait(0.01) | |
| 1512 | end | |
| 1513 | skygo = true | |
| 1514 | game.Lighting.Brightness = 1 | |
| 1515 | elseif string.find(msg, "fo krah diin") and go == true then | |
| 1516 | go = false | |
| 1517 | for i = 1, 50 do | |
| 1518 | fus = Instance.new("Part")
| |
| 1519 | fus.formFactor = "Custom" | |
| 1520 | fus.Size = Vector3.new(0.5, 0.5, 0.5) | |
| 1521 | fus.TopSurface = "Smooth" | |
| 1522 | fus.BottomSurface = "Smooth" | |
| 1523 | fus.Anchored = false | |
| 1524 | fus.CanCollide = false | |
| 1525 | fus.BrickColor = BrickColor.new("Institutional white")
| |
| 1526 | fus.Transparency = 0.6 | |
| 1527 | fus.Reflectance = 0.5 | |
| 1528 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(math.random(-15, 15)*0.1, math.random(-15, 15)*0.1, -4) | |
| 1529 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
| 1530 | local f = Instance.new("Fire")
| |
| 1531 | f.Name = "FusFire" | |
| 1532 | f.Size = fus:GetMass() | |
| 1533 | f.Heat = 0 | |
| 1534 | f.Color = Color3.new(1, 1, 1) | |
| 1535 | f.SecondaryColor = Color3.new(1, 1, 1) | |
| 1536 | f.Parent = fus | |
| 1537 | local mesh = Instance.new("SpecialMesh")
| |
| 1538 | mesh.MeshType = "Sphere" | |
| 1539 | mesh.Parent = fus | |
| 1540 | local bp = Instance.new("BodyPosition")
| |
| 1541 | bp.position = fus.Position | |
| 1542 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
| 1543 | bp.Parent = fus | |
| 1544 | fus.Parent = workspace | |
| 1545 | fus.Touched:connect(function(part) foed(part, fus) end) | |
| 1546 | game:Ge4Service("Debris"):AddItem(fus, 15)
| |
| 1547 | end | |
| 1548 | go = true | |
| 1549 | elseif string.find(msg, "laas yah nir") then | |
| 1550 | for i = 1, 30 do | |
| 1551 | for a, b in pairs(game.Players:children()) do | |
| 1552 | if b.Character ~= nil then | |
| 1553 | if (p.Character.Torso.Position - b.Character.Torso.Position).magnitude <= 100 and b ~= p then | |
| 1554 | if b.Character.Torso:findFirstChild("LaasFire") == nil then
| |
| 1555 | local f = Instance.new("Fire", b.Character.Torso)
| |
| 1556 | f.Name = "LaasFire" | |
| 1557 | f.Size = b.Character.Torso:GetMass()*2 | |
| 1558 | f.Color = Color3.new(0, 0, 0) | |
| 1559 | f.SecondaryColor = Color3.new(1, 1, 1) | |
| 1560 | end | |
| 1561 | elseif (p.Character.Torso.Position - b.Character.Torso.Position).magnitude > 100 then | |
| 1562 | if b.Character.Torso:findFirstChild("LaasFire") ~= nil then
| |
| 1563 | b.Character.Torso.LaasFire:remove() | |
| 1564 | end | |
| 1565 | end | |
| 1566 | end | |
| 1567 | end | |
| 1568 | wait(1) | |
| 1569 | end | |
| 1570 | for a, b in pairs(game.Players:children()) do | |
| 1571 | if b.Character.Torso:findFirstChild("LaasFire") ~= nil then
| |
| 1572 | b.Character.Torso.LaasFire:remove() | |
| 1573 | end | |
| 1574 | end | |
| 1575 | elseif string.find(msg, "zun haal viik") and go == true then | |
| 1576 | go = false | |
| 1577 | fus = Instance.new("Part")
| |
| 1578 | fus.formFactor = "Custom" | |
| 1579 | fus.Size = Vector3.new(1, 1, 4) | |
| 1580 | fus.TopSurface = "Smooth" | |
| 1581 | fus.BottomSurface = "Smooth" | |
| 1582 | fus.Anchored = false | |
| 1583 | fus.CanCollide = false | |
| 1584 | fus.BrickColor = BrickColor.new("Lime green")
| |
| 1585 | fus.Transparency = 0.6 | |
| 1586 | fus.Reflectance = 0.5 | |
| 1587 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
| 1588 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -200 | |
| 1589 | local f = Instance.new("Fire")
| |
| 1590 | f.Name = "FusFire" | |
| 1591 | f.Size = fus:GetMass() | |
| 1592 | f.Heat = 0 | |
| 1593 | f.Color = Color3.new(1, 1, 1) | |
| 1594 | f.SecondaryColor = Color3.new(1, 1, 1) | |
| 1595 | f.Parent = fus | |
| 1596 | local mesh = In3tance.new("SpecialMesh")
| |
| 1597 | mesh.MeshType = "Sphere" | |
| 1598 | mesh.Parent = fus | |
| 1599 | local bp = Instance.new("BodyPosition")
| |
| 1600 | bp.position = p.Character.Head.Position | |
| 1601 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
| 1602 | bp.Parent = fus | |
| 1603 | fus.Paren4 = workspace | |
| 1604 | fus.Touched:connect(function(part) zuned(part, fus) end) | |
| 1605 | coroutine.resume(coroutine.create(function() | |
| 1606 | wait(0.5) | |
| 1607 | for i = 1, 9 do | |
| 1608 | wait(0.01) | |
| 1609 | local cf = fus.CFrame | |
| 1610 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
| 1611 | f.Size = fus:GetMass()/2 | |
| 1612 | fus.CFrame = cf | |
| 1613 | end | |
| 1614 | wait(3) | |
| 1615 | for i = 1, 40 do | |
| 1616 | fus.Transparency = fus.Transparency + 0.1 | |
| 1617 | f.Size = f.Size - (fus:GetMass()/40) | |
| 1618 | wait(0.1) | |
| 1619 | end | |
| 1620 | wait() | |
| 1621 | fus.Transparency = 1 | |
| 1622 | f:remove() | |
| 1623 | fus:remove() | |
| 1624 | go = true | |
| 1625 | end)) | |
| 1626 | game:GetService("Debris"):AddItem(fus, 15)
| |
| 1627 | elseif string.find(msg, "krii lun aus") and go == true then | |
| 1628 | go = false | |
| 1629 | fus = Instance.new("Part")
| |
| 1630 | fus.formFactor = "Custom" | |
| 1631 | fus.Size = Vector3.new(1, 1, 4) | |
| 1632 | fus.TopSurface = "Smooth" | |
| 1633 | fus.BottomSurface = "Smooth" | |
| 1634 | fus.Anchored = false | |
| 1635 | fus.CanCollide = false | |
| 1636 | fus.BrickColor = BrickColor.new("Bright purple")
| |
| 1637 | fus.Transparency = 0.6 | |
| 1638 | fus.Reflectance = 0.5 | |
| 1639 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
| 1640 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
| 1641 | local f = Instance.new("Fire")
| |
| 1642 | f.Name = "FusFire" | |
| 1643 | f.Size = fus:GetMass() | |
| 1644 | f.Heat = 0 | |
| 1645 | f.Color = Color3.new(0, 0, 0) | |
| 1646 | f.SecondaryColor = Color3.new(0, 0, 0) | |
| 1647 | f.Parent = fus | |
| 1648 | local mesh = Instance.new("SpecialMesh")
| |
| 1649 | mesh.MeshType = "Sphere" | |
| 1650 | mesh.Parent = fus | |
| 1651 | local bp = Instance.new("BodyPosition")
| |
| 1652 | bp.position = p.Character.Head.Position | |
| 1653 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
| 1654 | bp.Parent = fus | |
| 1655 | fus.Parent = workspace | |
| 1656 | fus.Touched:connect(function(part) kriied(part, fus) end) | |
| 1657 | coroutine.resume(coroutine.create(function() | |
| 1658 | wait(0.5) | |
| 1659 | for i = 1, 19 do | |
| 1660 | wait(0.01) | |
| 1661 | local cf = fus.CFrame | |
| 1662 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
| 1663 | f.Size = fus:GetMass()/2 | |
| 1664 | fus.CFrame = cf | |
| 1665 | end | |
| 1666 | wait(3) | |
| 1667 | for i = 1, 40 do | |
| 1668 | fus.Transparency = fus.Transparency + 0.1 | |
| 1669 | f.Size = f.Size - (fus:GetMass()/40) | |
| 1670 | wait(0.1) | |
| 1671 | end | |
| 1672 | wait() | |
| 1673 | fus.Transparency = 1 | |
| 1674 | f:remove() | |
| 1675 | fus:remove() | |
| 1676 | go = true | |
| 1677 | end)) | |
| 1678 | game:GetService("Debris"):AddItem(fus, 15)
| |
| 1679 | elseif string.find(msg, "tiid klo ul") then | |
| 1680 | for a, b in pairs(game.Players:children()) do | |
| 1681 | if b.Character ~= nil and b ~= p then | |
| 1682 | for c, d in pairs(b.Character:children()) do | |
| 1683 | if d.className == "Part" then | |
| 1684 | if d.Anchored == false then | |
| 1685 | local cf = nil | |
| 1686 | if d.Name == "Torso" then | |
| 1687 | cf = d.CFrame | |
| 1688 | end | |
| 1689 | d.Anchored = true | |
| 1690 | coroutine.resume(coroutine.create(function() | |
| 1691 | wait(10) | |
| 1692 | if d ~= nil then | |
| 1693 | d.Anchored = false | |
| 1694 | d.CFrame = cf | |
| 1695 | end | |
| 1696 | end)) | |
| 1697 | end | |
| 1698 | elseif d.className == "Hat" then | |
| 1699 | if d.Handle.Anchored == false then | |
| 1700 | d.Handle.Anchored = true | |
| 1701 | coroutine.resume(coroutine.create(function() | |
| 1702 | wait(10) | |
| 1703 | if d ~= nil then | |
| 1704 | if d.Handle ~= nil then | |
| 1705 | d.Handle.Anchored = false | |
| 1706 | end | |
| 1707 | end | |
| 1708 | end)) | |
| 1709 | end | |
| 1710 | end | |
| 1711 | end | |
| 1712 | end | |
| 1713 | end | |
| 1714 | elseif string.find(msg, "faas ru maar") and go == true then | |
| 1715 | go = false | |
| 1716 | fus = Instance.new("Part")
| |
| 1717 | fus.formFactor = "Custom" | |
| 1718 | fus.Size = Vector3.new(1, 1, 4) | |
| 1719 | fus.TopSurface = "Smooth" | |
| 1720 | fus.BottomSurface = "Smooth" | |
| 1721 | fus.Anchored = false | |
| 1722 | fus.CanCollide = false | |
| 1723 | fus.BrickColor = BrickColor.new("Really black")
| |
| 1724 | fus.Transparency = 0.6 | |
| 1725 | fus.Reflectance = 0.5 | |
| 1726 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
| 1727 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
| 1728 | local f = Instance.new("Fire")
| |
| 1729 | f.Name = "FusFire" | |
| 1730 | f.Size = fus:GetMass() | |
| 1731 | f.Heat = 0 | |
| 1732 | f.Color = Color3.new(0, 0, 0) | |
| 1733 | f.SecondaryColor = Color3.new(0, 0, 0) | |
| 1734 | f.Parent = fus | |
| 1735 | local mesh = Instance.new("SpecialMesh")
| |
| 1736 | mesh.MeshType = "Sphere" | |
| 1737 | mesh.Parent = fus | |
| 1738 | local bp = Instance.new("BodyPosition")
| |
| 1739 | bp.position = p.Character.Head.Position | |
| 1740 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
| 1741 | bp.Parent = fus | |
| 1742 | fus.Parent = workspace | |
| 1743 | fus.Touched:connect(function(part) faased(part) end) | |
| 1744 | coroutine.resume(coroutine.create(function() | |
| 1745 | wait(0.5) | |
| 1746 | for i = 1, 19 do | |
| 1747 | wait(0.01) | |
| 1748 | local cf = fus.CFrame | |
| 1749 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
| 1750 | f.Size = fus:GetMass()/2 | |
| 1751 | fus.CFrame = cf | |
| 1752 | end | |
| 1753 | wait(3) | |
| 1754 | for i = 1, 40 do | |
| 1755 | fus.Transparency = fus.Transparency + 0.1 | |
| 1756 | f.Size = f.Size - (fus:GetMass()/40) | |
| 1757 | wait(0.1) | |
| 1758 | end | |
| 1759 | wait() | |
| 1760 | fus.Transparency = 1 | |
| 1761 | f:remove() | |
| 1762 | fus:remove() | |
| 1763 | go = true | |
| 1764 | end)) | |
| 1765 | game:GetService("Debris"):AddItem(fus, 15)
| |
| 1766 | elseif string.find(msg, "toor bah yol") and skygo == true then | |
| 1767 | skygo = false | |
| 1768 | local clouds = {}
| |
| 1769 | function meteor(cloud) | |
| 1770 | local cf = CFrame.new(cloud.Position + Vector3.new(math.random(-10, 10), 20, math.random(-10, 10))) | |
| 1771 | local m = Instance.new("Part")
| |
| 1772 | m.Name = "FusRock" | |
| 1773 | m.Shape = "Ball" | |
| 1774 | m.formFactor = "Symmetric" | |
| 1775 | m.Anchored = false | |
| 1776 | m.CanCollide = false | |
| 1777 | m.TopSurface = "Smooth" | |
| 1778 | m.BottomSurface = "Smooth" | |
| 1779 | local size = math.random(10, 20) | |
| 1780 | m.Size = Vector3.new(size, size, size) | |
| 1781 | m.BrickColor = BrickColor.new("Bright red")
| |
| 1782 | m.Reflectance = 0.4 | |
| 1783 | m.CFrame = cf | |
| 1784 | Instance.new("Fire", m).Size = m:GetMass()
| |
| 1785 | m.Velocity = Vector3.new(0, -50, 0) | |
| 1786 | m.Parent = workspace | |
| 1787 | game:GetService("Debris"):AddItem(m, 30)
| |
| 1788 | m.Touched:connect(function(part) toored(part, m) end) | |
| 1789 | end | |
| 1790 | for i = 1, 100 do | |
| 1791 | game.Lighting.Brightness = game.Lighting.Brightness - 0.01 | |
| 1792 | wait(0.05) | |
| 1793 | end | |
| 1794 | game.Lighting.Brightness = 0 | |
| 1795 | local cloud = Instance.new("Part")
| |
| 1796 | cloud.Name = "ToorCloud" | |
| 1797 | cloud.Size = Vector3.new(1, 1, 1) | |
| 1798 | cloud.Anchored = true | |
| 1799 | cloud.CanCollide = false | |
| 1800 | cloud.BrickColor = BrickColor.new("Black")
| |
| 1801 | cloud.Transparency = 1 | |
| 1802 | local mesh = Instance.new("SpecialMesh")
| |
| 1803 | mesh.MeshType = "FileMesh" | |
| 1804 | mesh.Scale = Vector3.new(math.random(100, 150), math.random(50, 100), math.random(100, 150)) | |
| 1805 | mesh.MeshId = "www.roblox.com/asset/?id=1095708" | |
| 1806 | mesh.Parent = cloud | |
| 1807 | for i = 1, (math.random(4, 8)) do | |
| 1808 | local newc = cloud:clone() | |
| 1809 | newc.Parent = workspace | |
| 1810 | game:GetService("Debris"):AddItem(newc, 180)
| |
| 1811 | table.insert(clouds, newc) | |
| 1812 | newc.CFrame = CFrame.new(p.Character.Torso.Position + Vector3.new(math.random(-250, 250), math.random(150, 200), math.random(-250, 250))) | |
| 1813 | coroutine.resume(coroutine.create(function() | |
| 1814 | repeat | |
| 1815 | newc.Transparency = newc.Transparency - 0.01 | |
| 1816 | wait() | |
| 1817 | until newc.Transparency <= 0.2 | |
| 1818 | newc.Transparency = 0.2 | |
| 1819 | end)) | |
| 1820 | end | |
| 1821 | for launch = 1, math.random(20, 30) do | |
| 1822 | if skygo == true then break end | |
| 1823 | wait(math.random(2, 4)) | |
| 1824 | meteor(clouds[math.random(1, #clouds)]) | |
| 1825 | end | |
| 1826 | wait(1) | |
| 1827 | for c = 1, #clouds do | |
| 1828 | coroutine.resume(coroutine.create(function() | |
| 1829 | repeat | |
| 1830 | clouds[c].Transparency = clouds[c].Transparency + 0.01 | |
| 1831 | wait() | |
| 1832 | until clouds[c].Transparency >= 1 | |
| 1833 | clouds[c].Transparency = 1 | |
| 1834 | clouds[c]:remove() | |
| 1835 | end)) | |
| 1836 | end | |
| 1837 | repeat | |
| 1838 | game.Lighting.Brightness = game.Lighting.Brightness + 0.01 | |
| 1839 | wait(0.01) | |
| 1840 | until game.Lighting.Brightness >= 1 | |
| 1841 | game.Lighting.Brightness = 1 | |
| 1842 | skygo = true | |
| 1843 | elseif string.find(msg, "joor zah frul") and go == true then | |
| 1844 | go = false | |
| 1845 | fus = Instance.new("Part")
| |
| 1846 | fus.formFactor = "Custom" | |
| 1847 | fus.Size = Vector3.new(1, 1, 4) | |
| 1848 | fus.TopSurface = "Smooth" | |
| 1849 | fus.BottomSurface = "Smooth" | |
| 1850 | fus.Anchored = false | |
| 1851 | fus.CanCollide = false | |
| 1852 | fus.BrickColor = BrickColor.new("Bright yellow")
| |
| 1853 | fus.Transparency = 0.7 | |
| 1854 | fus.Reflectance = 0.5 | |
| 1855 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
| 1856 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
| 1857 | local f = Instance.new("Sparkles")
| |
| 1858 | f.Name = "FusSparkles" | |
| 1859 | f.SparkleColor = Color3.new(0, 0, 0) | |
| 1860 | f.Parent = fus | |
| 1861 | local mesh = Instance.new("SpecialMesh")
| |
| 1862 | mesh.MeshType = "Sphere" | |
| 1863 | mesh.Parent = fus | |
| 1864 | local bp = Instance.new("BodyPosition")
| |
| 1865 | bp.position = p.Character.Head.Position | |
| 1866 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
| 1867 | bp.Parent = fus | |
| 1868 | fus.Parent = workspace | |
| 1869 | fus.Touched:connect(function(part) joored(part, fus) end) | |
| 1870 | coroutine.resume(coroutine.create(function() | |
| 1871 | wait(0.5) | |
| 1872 | for i = 1, 19 do | |
| 1873 | wait(0.01) | |
| 1874 | local cf = fus.CFrame | |
| 1875 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
| 1876 | fus.CFrame = cf | |
| 1877 | end | |
| 1878 | wait(3) | |
| 1879 | for i = 1, 40 do | |
| 1880 | fus.Transparency = fus.Transparency + 0.1 | |
| 1881 | wait(0.1) | |
| 1882 | end | |
| 1883 | wait() | |
| 1884 | fus.Transparency = 1 | |
| 1885 | f:remove() | |
| 1886 | fus:remove() | |
| 1887 | go = true | |
| 1888 | end)) | |
| 1889 | game:GetService("Debris"):AddItem(fus, 15)
| |
| 1890 | elseif string.find(msg, "kaan drem ov") and go == true then | |
| 1891 | go = false | |
| 1892 | fus = Instance.new("Part")
| |
| 1893 | fus.formFactor = "Custom" | |
| 1894 | fus.Size = Vector3.new(1, 1, 4) | |
| 1895 | fus.TopSurface = "Smooth" | |
| 1896 | fus.BottomSurface = "Smooth" | |
| 1897 | fus.Anchored = false | |
| 1898 | fus.CanCollide = false | |
| 1899 | fus.BrickColor = BrickColor.new("White")
| |
| 1900 | fus.Transparency = 0.7 | |
| 1901 | fus.Reflectance = 0.5 | |
| 1902 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
| 1903 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
| 1904 | local f = Instance.new("Sparkles")
| |
| 1905 | f.Name = "FusSparkles" | |
| 1906 | f.SparkleColor = Color3.new(1, 1, 1) | |
| 1907 | f.Parent = fus | |
| 1908 | local mesh = Instance.new("SpecialMesh")
| |
| 1909 | mesh.MeshType = "Sphere" | |
| 1910 | mesh.Parent = fus | |
| 1911 | local bp = Instance.new("BodyPosition")
| |
| 1912 | bp.position = p.Character.Head.Position | |
| 1913 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
| 1914 | bp.Parent = fus | |
| 1915 | fus.Parent = workspace | |
| 1916 | fus.Touched:connect(function(part) kaaned(part) end) | |
| 1917 | coroutine.resume(coroutine.create(function() | |
| 1918 | wait(0.5) | |
| 1919 | for i = 1, 19 do | |
| 1920 | wait(0.01) | |
| 1921 | local cf = fus.CFrame | |
| 1922 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
| 1923 | fus.CFrame = cf | |
| 1924 | end | |
| 1925 | wait(3) | |
| 1926 | for i = 1, 40 do | |
| 1927 | fus.Transparency = fus.Transparency + 0.1 | |
| 1928 | wait(0.1) | |
| 1929 | end | |
| 1930 | wait() | |
| 1931 | fus.Transparency = 1 | |
| 1932 | f:remove() | |
| 1933 | fus:remove() | |
| 1934 | go = true | |
| 1935 | end)) | |
| 1936 | game:GetService("Debris"):AddItem(fus, 15)
| |
| 1937 | elseif string.find(msg, "ven mul riik") and skygo == true then | |
| 1938 | skygo = false | |
| 1939 | local l = game.Lighting | |
| 1940 | l.FogEnd = 1000 | |
| 1941 | coroutine.resume(coroutine.create(function() | |
| 1942 | repeat | |
| 1943 | l.FogEnd = l.FogEnd - 3 | |
| 1944 | wait() | |
| 1945 | until l.FogEnd < 50 | |
| 1946 | wait(10) | |
| 1947 | repeat | |
| 1948 | l.FogEnd = l.FogEnd + 5 | |
| 1949 | wait() | |
| 1950 | until l.FogEnd > 5000 | |
| 1951 | l.FogEnd = 10000 | |
| 1952 | skygo = true | |
| 1953 | end)) | |
| 1954 | elseif string.find(msg, "lok vah koor") and skygo == false and go == true then | |
| 1955 | skygo = true | |
| 1956 | --Not changing go because this is an instantaneous reaction. | |
| 1957 | coroutine.resume(coroutine.create(function() | |
| 1958 | local b = Instance.new("Part")
| |
| 1959 | b.Shape = "Ball" | |
| 1960 | b.formFactor = "Symmetric" | |
| 1961 | b.Size = Vector3.new(1, 1, 1) | |
| 1962 | b.CFrame = p.Character.Torso.CFrame | |
| 1963 | b.TopSurface = "Smooth" | |
| 1964 | b.BottomSurface = "Smooth" | |
| 1965 | b.Anchored = true | |
| 1966 | b.CanCollide = false | |
| 1967 | b.Name = "LokBall" | |
| 1968 | b.BrickColor = BrickColor.new("White")
| |
| 1969 | b.Parent = p.Character | |
| 1970 | game:GetService("Debris"):AddItem(b, 20)
| |
| 1971 | repeat | |
| 1972 | b.Size = b.Size + Vector3.new(1, 1, 1) | |
| 1973 | b.CFrame = p.Character.Torso.CFrame | |
| 1974 | b.Transparency = b.Transparency + 1/29 | |
| 1975 | wait() | |
| 1976 | until b.Size.x == 30 | |
| 1977 | b:remove() | |
| 1978 | end)) | |
| 1979 | local l = game.Lighting | |
| 1980 | coroutine.resume(coroutine.create(function() | |
| 1981 | repeat | |
| 1982 | l.FogEnd = l.FogEnd + 5 | |
| 1983 | wait() | |
| 1984 | until l.FogEnd > 5000 | |
| 1985 | l.FogEnd = 10000 | |
| 1986 | end)) | |
| 1987 | elseif string.find(msg, "nahl daal vus") and go == true then | |
| 1988 | go = false | |
| 1989 | fus = Instance.new("Part")
| |
| 1990 | fus.formFactor = "Custom" | |
| 1991 | fus.Size = Vector3.new(2, 2, 4) | |
| 1992 | fus.TopSurface = "Smooth" | |
| 1993 | fus.BottomSurface = "Smooth" | |
| 1994 | fus.Anchored = false | |
| 1995 | fus.CanCollide = false | |
| 1996 | fus.BrickColor = BrickColor.new("Bright green")
| |
| 1997 | fus.Transparency = 0.7 | |
| 1998 | fus.Reflectance = 0.5 | |
| 1999 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
| 2000 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
| 2001 | local f = Instance.new("Sparkles")
| |
| 2002 | f.Name = "FusSparkles" | |
| 2003 | f.SparkleColor = Color3.new(1, 1, 1) | |
| 2004 | f.Parent = fus | |
| 2005 | local mesh = Instance.new("SpecialMesh")
| |
| 2006 | mesh.MeshType = "Sphere" | |
| 2007 | mesh.Parent = fus | |
| 2008 | local bp = Instance.new("BodyPosition")
| |
| 2009 | bp.position = p.Character.Head.Position | |
| 2010 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
| 2011 | bp.Parent = fus | |
| 2012 | fus.Parent = workspace | |
| 2013 | fus.Touched:connect(function(part) nahled(part) end) | |
| 2014 | coroutine.resume(coroutine.create(function() | |
| 2015 | wait(0.5) | |
| 2016 | for i = 1, 19 do | |
| 2017 | wait(0.01) | |
| 2018 | local cf = fus.CFrame | |
| 2019 | fus.Size = fus.Size + Vector3.new(1, 1, -1) | |
| 2020 | fus.CFrame = cf | |
| 2021 | end | |
| 2022 | wait(3) | |
| 2023 | for i = 1, 40 do | |
| 2024 | fus.Transparency = fus.Transparency + 0.1 | |
| 2025 | wait(0.1) | |
| 2026 | end | |
| 2027 | wait() | |
| 2028 | fus.Transparency = 1 | |
| 2029 | f:remove() | |
| 2030 | fus:remove() | |
| 2031 | go = true | |
| 2032 | end)) | |
| 2033 | game:GetService("Debris"):AddItem(fus, 15)
| |
| 2034 | elseif string.find(msg, "bex") and go == true then | |
| 2035 | go = false | |
| 2036 | fus = Instance.new("Part")
| |
| 2037 | fus.formFactor = "Custom" | |
| 2038 | fus.Size = Vector3.new(1, 1, 4) | |
| 2039 | fus.TopSurface = "Smooth" | |
| 2040 | fus.BottomSurface = "Smooth" | |
| 2041 | fus.Anchored = false | |
| 2042 | fus.CanCollide = false | |
| 2043 | fus.BrickColor = BrickColor.new("White")
| |
| 2044 | fus.Transparency = 0.7 | |
| 2045 | fus.Reflectance = 0.5 | |
| 2046 | fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4) | |
| 2047 | fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150 | |
| 2048 | local mesh = Instance.new("SpecialMesh")
| |
| 2049 | mesh.MeshType = "Sphere" | |
| 2050 | mesh.Parent = fus | |
| 2051 | local bp = Instance.new("BodyPosition")
| |
| 2052 | bp.position = p.Character.Head.Position | |
| 2053 | bp.maxForce = Vector3.new(0, math.huge, 0) | |
| 2054 | bp.Parent = fus | |
| 2055 | fus.Parent = workspace | |
| 2056 | fus.Touched:connect(function(part) bexed(part) end) | |
| 2057 | coroutine.resume(coroutine.create(function() | |
| 2058 | wait(1) | |
| 2059 | for i = 1, 40 do | |
| 2060 | fus.Transparency = fus.Transparency + 0.1 | |
| 2061 | wait(0.1) | |
| 2062 | end | |
| 2063 | wait() | |
| 2064 | fus.Transparency = 1 | |
| 2065 | fus:remove() | |
| 2066 | go = true | |
| 2067 | end)) | |
| 2068 | game:GetService("Debris"):AddItem(fus, 15)
| |
| 2069 | end | |
| 2070 | end) | |
| 2071 | function bexed(part) | |
| 2072 | if part.Parent then | |
| 2073 | if part.Name == "Door" then | |
| 2074 | local d = part:clone() | |
| 2075 | coroutine.resume(coroutine.create(function() | |
| 2076 | repeat | |
| 2077 | part.Transparency = part.Transparency + 0.05 | |
| 2078 | wait() | |
| 2079 | until part.Transparency >= 1 | |
| 2080 | part.Anchored = true | |
| 2081 | part.CanCollide = false | |
| 2082 | wait(3) | |
| 2083 | repeat | |
| 2084 | part.Transparency = part.Transparency - 0.05 | |
| 2085 | wait() | |
| 2086 | until part.Transparency <= d.Transparency | |
| 2087 | part.Transparency = d.Transparency | |
| 2088 | if d.CanCollide == true then | |
| 2089 | part.CanCollide = true | |
| 2090 | end | |
| 2091 | if d.Anchored == true then | |
| 2092 | part.Anchored = d.Anchored | |
| 2093 | end | |
| 2094 | end)) | |
| 2095 | end | |
| 2096 | end | |
| 2097 | end | |
| 2098 | function nahled(part) | |
| 2099 | if workspace:findFirstChild("Base") ~= nil then
| |
| 2100 | if part.Parent then | |
| 2101 | if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil and part.Parent ~= p.Character then
| |
| 2102 | part.Parent.Torso.CFrame = workspace.Base.CFrame * CFrame.new(0, 5, 0) | |
| 2103 | end | |
| 2104 | end | |
| 2105 | end | |
| 2106 | end | |
| 2107 | function kaaned(part) | |
| 2108 | if part.Parent then | |
| 2109 | if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil and part.Parent ~= p.Character then
| |
| 2110 | if part.Parent:findFirstChild("Kaaned") == nil then
| |
| 2111 | local k = Instance.new("IntValue", part.Parent)
| |
| 2112 | k.Name = "Kaaned" | |
| 2113 | game:GetService("Debris"):AddItem(k, 2)
| |
| 2114 | local hum = part.Parent.Humanoid | |
| 2115 | local speed = hum.WalkSpeed | |
| 2116 | coroutine.resume(coroutine.create(function() | |
| 2117 | hum.WalkSpeed = 0 | |
| 2118 | wait(10) | |
| 2119 | hum.WalkSpeed = speed | |
| 2120 | end)) | |
| 2121 | end | |
| 2122 | end | |
| 2123 | end | |
| 2124 | end | |
| 2125 | function joored(part, shout) | |
| 2126 | shout.Anchored = false | |
| 2127 | shout.CanCollide = false | |
| 2128 | if part.Parent then | |
| 2129 | if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil and part.Parent ~= p.Character then
| |
| 2130 | if part.Parent:findFirstChild("Joored") == nil then
| |
| 2131 | local j = Instance.new("IntValue", part.Parent)
| |
| 2132 | j.Name = "Joored" | |
| 2133 | game:GetService("Debris"):AddItem(j, 2)
| |
| 2134 | local hum = part.Parent.Humanoid | |
| 2135 | tag(hum) | |
| 2136 | hum.Parent:BreakJoints() | |
| 2137 | for a, b in pairs(hum.Parent:children()) do | |
| 2138 | if b.className == "Part" then | |
| 2139 | b.Velocity = (p.Character.Torso.Position - b.Position).unit * -50 | |
| 2140 | local f = Instance.new("Fire", b)
| |
| 2141 | f.Color = Color3.new(0, 0, 0) | |
| 2142 | f.SecondaryColor = Color3.new(0, 0, 0) | |
| 2143 | f.Heat = 0 | |
| 2144 | f.Size = ":GetMass()" | |
| 2145 | local bf = Instance.new("BodyVelocity")
| |
| 2146 | bf.Parent = b | |
| 2147 | bf.P = 196*b:GetMass() | |
| 2148 | bf.maxForce = Vector3.new(0, 196*b:GetMass(), 0) | |
| 2149 | bf.velocity = Vector3.new(0, 196*b:GetMass(), 0) | |
| 2150 | elseif b.className == "Hat" then | |
| 2151 | local b = b.Handle | |
| 2152 | b.Velocity = (p.Character.Torso.Position - b.Position).unit * -50 | |
| 2153 | local f = Instance.new("Fire", b)
| |
| 2154 | f.Color = Color3.new(0, 0, 0) | |
| 2155 | f.SecondaryColor = Color3.new(0, 0, 0) | |
| 2156 | f.Heat = 0 | |
| 2157 | f.Size = 3 | |
| 2158 | local bf = Instance.new("BodyVelocity")
| |
| 2159 | bf.Parent = b | |
| 2160 | bf.P = 196*b:GetMass() | |
| 2161 | bf.maxForce = Vector3.new(0, 196*b:GetMass(), 0) | |
| 2162 | bf.velocity = Vector3.new(0, 196*b:GetMass(), 0) | |
| 2163 | elseif b.className == "ForceField" then | |
| 2164 | b:remove() | |
| 2165 | local e = Instance.new("Explosion", hum.Parent.Torso)
| |
| 2166 | e.BlastRadius = 1 | |
| 2167 | e.BlastPressure = 1 | |
| 2168 | e.position = hum.Parent.Torso.Position | |
| 2169 | end | |
| 2170 | end | |
| 2171 | end | |
| 2172 | end | |
| 2173 | end | |
| 2174 | end | |
| 2175 | function toored(part, m) | |
| 2176 | if part.Name ~= "FusRock" and part.Name ~= "ToorCloud" and part.CanCollide == true then | |
| 2177 | m.Anchored = true | |
| 2178 | m.CanCollide = true | |
| 2179 | if m:findFirstChild("Touched") == nil then
| |
| 2180 | Instance.new("IntValue", m).Name = "Touched"
| |
| 2181 | m.CFrame = CFrame.new(m.Position.x, part.Position.y, m.Position.z) | |
| 2182 | end | |
| 2183 | local e = Instance.new("Explosion")
| |
| 2184 | e.BlastPressure = 50000 | |
| 2185 | e.BlastRadius = 15 | |
| 2186 | e.Position = m.Position | |
| 2187 | e.Parent = m | |
| 2188 | e.Hit:connect(function(hit) | |
| 2189 | if hit.Parent then | |
| 2190 | if hit.Parent:findFirstChild("Humanoid") ~= nil then
| |
| 2191 | tag(hit.Parent.Humanoid) | |
| 2192 | end | |
| 2193 | end | |
| 2194 | end) | |
| 2195 | end | |
| 2196 | end | |
| 2197 | function faased(part) | |
| 2198 | if part.Parent then | |
| 2199 | if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil then
| |
| 2200 | if part.Parent:findFirstChild("Faased") == nil then
| |
| 2201 | local f = Instance.new("IntValue", part.Parent)
| |
| 2202 | f.Name = "Faased" | |
| 2203 | game:GetService("Debris"):AddItem(f, 2)
| |
| 2204 | local hum = part.Parent.Humanoid | |
| 2205 | local speed = hum.WalkSpeed --Speed prior to fleeing | |
| 2206 | hum.WalkSpeed = speed * -1 | |
| 2207 | game:GetService("Chat"):Chat(hum.Parent.Head, "Ahh!!!", "Red")
| |
| 2208 | for i = 1, 10 do | |
| 2209 | hum:MoveTo(hum.Parent.Torso.Position + Vector3.new(math.random(-30, 30), 0, math.random(-30, 20)), hum.Parent.Torso) | |
| 2210 | wait(math.random(1, 2)) | |
| 2211 | end | |
| 2212 | hum.WalkSpeed = speed | |
| 2213 | hum:MoveTo(hum.Parent.Torso.Position, hum.Parent.Torso) | |
| 2214 | end | |
| 2215 | end | |
| 2216 | end | |
| 2217 | end | |
| 2218 | function struned(part, lightning) | |
| 2219 | if part.Parent then | |
| 2220 | if part.Parent:findFirstChild("Humanoid") ~= nil then
| |
| 2221 | local hum = part.Parent.Humanoid | |
| 2222 | tag(part.Parent.Humanoid) | |
| 2223 | local e = Instance.new("Explosion")
| |
| 2224 | e.position = part.Position | |
| 2225 | e.BlastPressure = 35000 | |
| 2226 | e.BlastRadius = 2 | |
| 2227 | e.Parent = part | |
| 2228 | hum:TakeDamage(math.huge) | |
| 2229 | for a, b in pairs(hum.Parent:children()) do | |
| 2230 | if b.className == "Part" then | |
| 2231 | Instance.new("Fire", part).Size = part:GetMass()
| |
| 2232 | end | |
| 2233 | end | |
| 2234 | end | |
| 2235 | end | |
| 2236 | end | |
| 2237 | function kriied(part, shout) | |
| 2238 | if part.Parent then | |
| 2239 | if part.Parent == p.Character then return end | |
| 2240 | if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild(p.Name.. "Kriied") == nil then
| |
| 2241 | Instance.new("IntValue", part.Parent).Name = p.Name.. "Kriied"
| |
| 2242 | local hum = part.Parent.Humanoid | |
| 2243 | hum.MaxHealth = hum.MaxHealth - 75 | |
| 2244 | hum.Health = hum.MaxHealth | |
| 2245 | for i = 1, 60 do | |
| 2246 | tag(part.Parent.Humanoid) | |
| 2247 | hum:TakeDamage(1.5) | |
| 2248 | wait(1) | |
| 2249 | end | |
| 2250 | hum.MaxHealth = hum.MaxHealth + 75 | |
| 2251 | end | |
| 2252 | end | |
| 2253 | end | |
| 2254 | function zuned(part, shout) | |
| 2255 | if part.Parent == p.Character then return end | |
| 2256 | if part.Parent then | |
| 2257 | if part.Parent:findFirstChild("Humanoid") ~= nil then
| |
| 2258 | for a, b in pairs(part.Parent:children()) do | |
| 2259 | if b.className == "Tool" then | |
| 2260 | if b:findFirstChild("Handle") ~= nil then
| |
| 2261 | b.Parent = workspace | |
| 2262 | wait() | |
| 2263 | b.Handle.Velocity = (b.Handle.Position - p.Character.Torso.Position).unit * -100 | |
| 2264 | repeat | |
| 2265 | shout.Size = shout.Size - Vector3.new(1, 1, 1) | |
| 2266 | wait(0.1) | |
| 2267 | until shout.Shout.Size == Vector3.new(1, 1, 1) | |
| 2268 | shout:remove() | |
| 2269 | end | |
| 2270 | end | |
| 2271 | end | |
| 2272 | end | |
| 2273 | end | |
| 2274 | end | |
| 2275 | function foed(part, shout) | |
| 2276 | if part.Parent == p.Character then return end | |
| 2277 | if part.Parent:findFirstChild("Humanoid") ~= nil then
| |
| 2278 | local hum = part.Parent.Humanoid | |
| 2279 | hum.Sit = true | |
| 2280 | hum:TakeDamage(7.5) | |
| 2281 | if hum.Parent:findFirstChild(p.Name.. "Foed") == nil then | |
| 2282 | hum.WalkSpeed = 8 | |
| 2283 | local foer = Instance.new("IntValue", workspace)
| |
| 2284 | foer.Name = p.Name.. "Foed" | |
| 2285 | game:GetService("Debris"):AddItem(foer, 2)
| |
| 2286 | wait(5) | |
| 2287 | hum.WalkSpeed = 16 | |
| 2288 | hum.Sit = false | |
| 2289 | end | |
| 2290 | shout:remove() | |
| 2291 | end | |
| 2292 | end | |
| 2293 | function yoled(part) | |
| 2294 | if part.Parent == p.Character then return end | |
| 2295 | if part.Parent:findFirstChild("Humanoid") ~= nil then
| |
| 2296 | local f = Instance.new("Fire", part)
| |
| 2297 | f.Size = part:GetMass() | |
| 2298 | f.Heat = 100 | |
| 2299 | game:GetService("Debris"):AddItem(f, 10)
| |
| 2300 | if part:findFirstChild(p.Name.. "Yoled") == nil then | |
| 2301 | local tag = Instance.new("IntValue")
| |
| 2302 | tag.Name = p.Name.. "Yoled" | |
| 2303 | tag.Parent = part | |
| 2304 | game:GetService("Debris"):AddItem(tag, 2)
| |
| 2305 | end | |
| 2306 | tag(part.Parent.Humanoid) | |
| 2307 | part.Parent.Humanoid:TakeDamage(7.5) | |
| 2308 | end | |
| 2309 | end | |
| 2310 | function lized(part) | |
| 2311 | if part.Parent then | |
| 2312 | if part.Parent == p.Character then return end | |
| 2313 | if part.Parent:findFirstChild("Humanoid") ~= nil then
| |
| 2314 | if part.Parent:findFirstChild("Lized") ~= nil then return end
| |
| 2315 | local Lizvictim = Instance.new("IntValue")
| |
| 2316 | Lizvictim.Name = "Lized" | |
| 2317 | Lizvictim.Parent = part.Parent | |
| 2318 | game:GetService("Debris"):AddItem(Lizvictim, 10)
| |
| 2319 | part.Parent.Animate.Disabled = true | |
| 2320 | part.Parent.Humanoid.PlatformStand = true | |
| 2321 | local speed = part.Parent.Humanoid.WalkSpeed | |
| 2322 | part.Parent.Humanoid.WalkSpeed = 0 | |
| 2323 | wait(0.01) | |
| 2324 | part.Parent.Torso.Velocity = (fus.Position - part.Parent.Torso.Position).unt * -50 | |
| 2325 | tag(part.Parent.Humanoid) | |
| 2326 | part.Parent.Humanoid:TakeDamage(part.Parent.Humanoid.MaxHealth/2) | |
| 2327 | for a, b in pairs(part.Parent:children()) do | |
| 2328 | if b:findFirstChild("Fire") ~= nil then
| |
| 2329 | b.Fire:remove() | |
| 2330 | end | |
| 2331 | local frost = Instance.new("Part")
| |
| 2332 | frost.Name = "Frost" | |
| 2333 | frost.formFactor = "Custom" | |
| 2334 | frost.BrickColor = BrickColor.new("Pastel blue-green")
| |
| 2335 | frost.Reflectance = 0.5 | |
| 2336 | frost.Transparency = 0.6 | |
| 2337 | frost.Anchored = false | |
| 2338 | frost.CanCollide = true | |
| 2339 | if b.className == "Part" then | |
| 2340 | frost.Size = b.Size + Vector3.new(0.5, 0.5, 0.5) | |
| 2341 | local w = Instance.new("Weld")
| |
| 2342 | w.Part0 = b | |
| 2343 | w.Part1 = frost | |
| 2344 | w.Parent = frost | |
| 2345 | frost.Parent = part.Parent | |
| 2346 | game:GetService("Debris"):AddItem(frost, 10)
| |
| 2347 | end | |
| 2348 | end | |
| 2349 | wait(10) | |
| 2350 | part.Parent.Humanoid.PlatformStand = false | |
| 2351 | part.Parent.Animate.Disabled = false | |
| 2352 | part.Parent.Humanoid.WalkSpeed = speed | |
| 2353 | end | |
| 2354 | end | |
| 2355 | end | |
| 2356 | function fused(part) | |
| 2357 | if part.Parent then | |
| 2358 | if part.Parent == p.Character then return end | |
| 2359 | if part.Parent:findFirstChild("Humanoid") ~= nil then
| |
| 2360 | if part.Parent:findFirstChild(p.Name.. "Fused") ~= nil then return end | |
| 2361 | local fusvictim = Instance.new("IntValue")
| |
| 2362 | fusvictim.Name = p.Name.. "Fused" | |
| 2363 | fusvictim.Parent = part.Parent | |
| 2364 | game:GetService("Debris"):AddItem(fusvictim, 2)
| |
| 2365 | part.Parent.Humanoid.Sit = true | |
| 2366 | tag(part.Parent.Humanoid) | |
| 2367 | part.Parent.Humanoid:TakeDamage(part.Parent.Humanoid.MaxHealth/4) | |
| 2368 | for a, b in pairs(part.Parent:children()) do | |
| 2369 | if b.className == "Part" then | |
| 2370 | b.Velocity = fus.Velocity | |
| 2371 | elseif b.className == "Hat" then | |
| 2372 | b.Handle.Velocity = fus.Velocity | |
| 2373 | end | |
| 2374 | end | |
| 2375 | wait(2) | |
| 2376 | part.Parent.Humanoid.Sit = false | |
| 2377 | elseif part.Anchored == false and part.Parent:findFirstChild("Humanoid") == nil then
| |
| 2378 | part.Velocity = fus.Velocity | |
| 2379 | end | |
| 2380 | end | |
| 2381 | end | |
| 2382 | function tag(victim) | |
| 2383 | local creator_tag = Instance.new("ObjectValue")
| |
| 2384 | creator_tag.Value = p | |
| 2385 | creator_tag.Name = "creator" | |
| 2386 | creator_tag.Parent = victim | |
| 2387 | game:GetService("Debris"):AddItem(creator_tag, 1)
| |
| 2388 | end | |
| 2389 | --[Skyrim Shouting Rules.]]-- | |
| 2390 | base = Instance.new("ScreenGui",plr.PlayerGui)
| |
| 2391 | bbg = Instance.new("BillboardGui",plr.Character.Head)
| |
| 2392 | bbg.Size = UDim2.new(0,200,0,50) | |
| 2393 | bbg.StudsOffset = Vector3.new(0,3,0) | |
| 2394 | bbgTl = Instance.new("TextLabel",bbg)
| |
| 2395 | bbgTl.BackgroundTransparency = 1 | |
| 2396 | bbgTl.Size = UDim2.new(10,0,1,0) | |
| 2397 | bbgTl.Position = UDim2.new(-4.5,0,0,0) | |
| 2398 | bbgTl.Font = "Code" | |
| 2399 | bbgTl.Text = " " | |
| 2400 | bbgTl.TextSize = 25 | |
| 2401 | bbgTl.TextStrokeColor3 = Color3.new(1,1,1) | |
| 2402 | bbgTl.TextColor3 = Color3.new(5,5,0) | |
| 2403 | bbgTl.TextStrokeTransparency = 0 | |
| 2404 | bbgTl.TextWrapped = true | |
| 2405 | plr.Chatted:connect(function(msg) | |
| 2406 | bbgTl.Text = msg | |
| 2407 | wait(5) | |
| 2408 | if bbgTl.Text == msg then | |
| 2409 | bbgTl.Text = " " | |
| 2410 | end | |
| 2411 | end) |