SHOW:
|
|
- or go back to the newest paste.
| 1 | -----------/XESTER THE CARD MASTER\\----------- | |
| 2 | --[[Movelist | |
| 3 | Q = The disappearing act. | |
| 4 | E = Full house | |
| 5 | R = Cardnado | |
| 6 | T = Teleport | |
| 7 | Y = Big card(Click to smash.) | |
| 8 | U = Black hole | |
| 9 | P = Card shield(Click to bounce people off, press p again to shred.) | |
| 10 | F = Transform(You can switch between modes any time.) | |
| 11 | -----------/SECOND FORM MOVES\----------- | |
| 12 | T = Laugh | |
| 13 | G = Fire ball | |
| 14 | H = Huge fire ball | |
| 15 | J = Dragon's breath(The longer you hold, the more insaner it gets.) | |
| 16 | K = Beam(The longer you hold down the key, the stronger it gets/longer it lasts.) | |
| 17 | ---------]] | |
| 18 | ||
| 19 | --"Now you see me 2" is a good movie, which is why i've made this.-- | |
| 20 | --IF YOU'RE USING THIS IN A SB, BE SURE TO ALWAYS TYPE G/NL AFTER USING THIS SCRIPT!, IF YOU DON'T, IT'LL MESS UP!-- | |
| 21 | --DON'T YOU DARE REMOVE SB'S ROBLOX!!!-- | |
| 22 | --Do you hear those heavy footsteps? Hmmmm, what could it be?-- | |
| 23 | --Don't you guys just hate it when people come in sb just to be "overpowered"? Pisses me off.-- | |
| 24 | --If your character gets bugged, such as missing limbs, you can press . to fix yourself!-- | |
| 25 | ||
| 26 | ||
| 27 | --Look if this was logged cause I used it on VSB I'm sorry Supr, I know you won't be able to trust me again. | |
| 28 | --Creterisk | |
| 29 | f game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 30 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 31 | do | |
| 32 | - | Player=game:GetService("Players").LocalPlayer
|
| 32 | + | print("FE Compatibility code by Mokiros")
|
| 33 | script.Parent = Player.Character | |
| 34 | ||
| 35 | --RemoteEvent for communicating | |
| 36 | local Event = Instance.new("RemoteEvent")
| |
| 37 | Event.Name = "UserInput_Event" | |
| 38 | ||
| 39 | --Fake event to make stuff like Mouse.KeyDown work | |
| 40 | local function fakeEvent() | |
| 41 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 42 | t.connect = t.Connect | |
| 43 | return t | |
| 44 | end | |
| 45 | ||
| 46 | --Creating fake input objects with fake variables | |
| 47 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 48 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 49 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 50 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 51 | end} | |
| 52 | --Merged 2 functions into one by checking amount of arguments | |
| 53 | CAS.UnbindAction = CAS.BindAction | |
| 54 | ||
| 55 | --This function will trigger the events that have been :Connect()'ed | |
| 56 | local function te(self,ev,...) | |
| 57 | local t = m[ev] | |
| 58 | if t and t._fakeEvent and t.Function then | |
| 59 | t.Function(...) | |
| 60 | end | |
| 61 | end | |
| 62 | m.TrigEvent = te | |
| 63 | UIS.TrigEvent = te | |
| 64 | ||
| 65 | Event.OnServerEvent:Connect(function(plr,io) | |
| 66 | if plr~=Player then return end | |
| 67 | if io.isMouse then | |
| 68 | m.Target = io.Target | |
| 69 | m.Hit = io.Hit | |
| 70 | else | |
| 71 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 72 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 73 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 74 | end | |
| 75 | for _,t in pairs(CAS.Actions) do | |
| 76 | for _,k in pairs(t.Keys) do | |
| 77 | if k==io.KeyCode then | |
| 78 | t.Function(t.Name,io.UserInputState,io) | |
| 79 | end | |
| 80 | end | |
| 81 | end | |
| 82 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 83 | - | mouse = Player:GetMouse() |
| 83 | + | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) |
| 84 | end | |
| 85 | end) | |
| 86 | Event.Parent = NLS([==[ | |
| 87 | local Player = game:GetService("Players").LocalPlayer
| |
| 88 | local Event = script:WaitForChild("UserInput_Event")
| |
| 89 | ||
| 90 | local UIS = game:GetService("UserInputService")
| |
| 91 | local input = function(io,a) | |
| 92 | if a then return end | |
| 93 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 94 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 95 | end | |
| 96 | UIS.InputBegan:Connect(input) | |
| 97 | UIS.InputEnded:Connect(input) | |
| 98 | ||
| 99 | local Mouse = Player:GetMouse() | |
| 100 | local h,t | |
| 101 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 102 | --If player is not moving their mouse, client won't fire events | |
| 103 | while wait(1/30) do | |
| 104 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 105 | h,t=Mouse.Hit,Mouse.Target | |
| 106 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 107 | end | |
| 108 | end]==],Player.Character) | |
| 109 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 110 | end | |
| 111 | wait(1/60) | |
| 112 | ||
| 113 | Player=game:owner | |
| 114 | Character=Player.Character | |
| 115 | Character.Humanoid.Name = "noneofurbusiness" | |
| 116 | hum = Character.noneofurbusiness | |
| 117 | LeftArm=Character["Left Arm"] | |
| 118 | LeftLeg=Character["Left Leg"] | |
| 119 | RightArm=Character["Right Arm"] | |
| 120 | RightLeg=Character["Right Leg"] | |
| 121 | Root=Character["HumanoidRootPart"] | |
| 122 | Head=Character["Head"] | |
| 123 | Torso=Character["Torso"] | |
| 124 | Neck=Torso["Neck"] | |
| 125 | walking = false | |
| 126 | jumping = false | |
| 127 | allowgrassy = false | |
| 128 | zxc = false | |
| 129 | matte = nil | |
| 130 | colori = nil | |
| 131 | bigball = false | |
| 132 | attacking = false | |
| 133 | laughing = false | |
| 134 | running = false | |
| 135 | downpress = false | |
| 136 | taim = nil | |
| 137 | change = 0 | |
| 138 | ws = 10 | |
| 139 | appi = false | |
| 140 | tauntdebounce = false | |
| 141 | position = nil | |
| 142 | staybooming = false | |
| 143 | MseGuide = true | |
| 144 | levitate = false | |
| 145 | firsttime5 = false | |
| 146 | notallowedtransform = false | |
| 147 | settime = 0 | |
| 148 | firsttime2 = false | |
| 149 | sine = 0 | |
| 150 | t = 0 | |
| 151 | combo1 = true | |
| 152 | dgs = 75 | |
| 153 | combo2 = false | |
| 154 | firsttime3 = false | |
| 155 | combo3 = false | |
| 156 | local bl = {907530553,907527750,907527912}
| |
| 157 | colortable = {"Really black","Really red"}
| |
| 158 | colors = #colortable | |
| 159 | blz = #bl | |
| 160 | local aces = {1880203893,1881287656,1881287420,1881288034}
| |
| 161 | ace = #aces | |
| 162 | local laughs = {2011349649,2011349983,2011351501,2011352223,2011355991,2011356475}
| |
| 163 | laugh = #laughs | |
| 164 | ||
| 165 | RunSrv = game:GetService("RunService")
| |
| 166 | RenderStepped = game:GetService("RunService").RenderStepped
| |
| 167 | removeuseless = game:GetService("Debris")
| |
| 168 | damageall={}
| |
| 169 | Repeater={}
| |
| 170 | Repeater2={}
| |
| 171 | magictable={}
| |
| 172 | nonmeshRepeater={}
| |
| 173 | nonmeshRepeater2={}
| |
| 174 | dmgii={}
| |
| 175 | DamageAll2={}
| |
| 176 | SlowlyFade={}
| |
| 177 | th1={}
| |
| 178 | lolzor={}
| |
| 179 | lolzor2={}
| |
| 180 | th2={}
| |
| 181 | keyYsize={}
| |
| 182 | blocktrail={}
| |
| 183 | keyYtransparency={}
| |
| 184 | th3={}
| |
| 185 | laughingtable={}
| |
| 186 | Extreme={}
| |
| 187 | ExtremeM={}
| |
| 188 | ExtremeM2={}
| |
| 189 | m3={}
| |
| 190 | th4={}
| |
| 191 | th5={}
| |
| 192 | UpMover={}
| |
| 193 | openshocktable={}
| |
| 194 | LessSize={}
| |
| 195 | ForwardMover={}
| |
| 196 | FadeIn={}
| |
| 197 | signtransparency={}
| |
| 198 | signmover={}
| |
| 199 | signrotator={}
| |
| 200 | ||
| 201 | screenGui = Instance.new("ScreenGui")
| |
| 202 | screenGui.Parent = script.Parent | |
| 203 | ||
| 204 | FireBall = Instance.new("Sound",LeftArm)
| |
| 205 | FireBall.SoundId = "rbxassetid://842332424" | |
| 206 | FireBall.Volume = 5 | |
| 207 | FireBall.Pitch = 2.5 | |
| 208 | ||
| 209 | BigFireBall = Instance.new("Sound",LeftArm)
| |
| 210 | BigFireBall.SoundId = "rbxassetid://842332424" | |
| 211 | BigFireBall.Volume = 8 | |
| 212 | BigFireBall.Pitch = 1.5 | |
| 213 | ||
| 214 | local HEADLERP = Instance.new("ManualWeld")
| |
| 215 | HEADLERP.Parent = Head | |
| 216 | HEADLERP.Part0 = Head | |
| 217 | HEADLERP.Part1 = Head | |
| 218 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 219 | ||
| 220 | local TORSOLERP = Instance.new("ManualWeld")
| |
| 221 | TORSOLERP.Parent = Root | |
| 222 | TORSOLERP.Part0 = Torso | |
| 223 | TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 224 | ||
| 225 | local ROOTLERP = Instance.new("ManualWeld")
| |
| 226 | ROOTLERP.Parent = Root | |
| 227 | ROOTLERP.Part0 = Root | |
| 228 | ROOTLERP.Part1 = Torso | |
| 229 | ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 230 | ||
| 231 | local RIGHTARMLERP = Instance.new("ManualWeld")
| |
| 232 | RIGHTARMLERP.Parent = RightArm | |
| 233 | RIGHTARMLERP.Part0 = RightArm | |
| 234 | RIGHTARMLERP.Part1 = Torso | |
| 235 | RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 236 | ||
| 237 | local LEFTARMLERP = Instance.new("ManualWeld")
| |
| 238 | LEFTARMLERP.Parent = LeftArm | |
| 239 | LEFTARMLERP.Part0 = LeftArm | |
| 240 | LEFTARMLERP.Part1 = Torso | |
| 241 | LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 242 | ||
| 243 | local RIGHTLEGLERP = Instance.new("ManualWeld")
| |
| 244 | RIGHTLEGLERP.Parent = RightLeg | |
| 245 | RIGHTLEGLERP.Part0 = RightLeg | |
| 246 | RIGHTLEGLERP.Part1 = Torso | |
| 247 | RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 248 | ||
| 249 | local LEFTLEGLERP = Instance.new("ManualWeld")
| |
| 250 | LEFTLEGLERP.Parent = LeftLeg | |
| 251 | LEFTLEGLERP.Part0 = LeftLeg | |
| 252 | LEFTLEGLERP.Part1 = Torso | |
| 253 | LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 254 | ||
| 255 | local function weldBetween(a, b) | |
| 256 | local weld = Instance.new("ManualWeld", a)
| |
| 257 | weld.Part0 = a | |
| 258 | weld.Part1 = b | |
| 259 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 260 | return weld | |
| 261 | end | |
| 262 | ||
| 263 | function makeblockytrail() | |
| 264 | coroutine.wrap(function() | |
| 265 | while true do | |
| 266 | for i,v in pairs(blocktrail) do | |
| 267 | smke = Instance.new("Part",v)
| |
| 268 | smke.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
| 269 | smke.Material = "Neon" | |
| 270 | smke.Anchored = true | |
| 271 | smke.CanCollide = false | |
| 272 | removeuseless:AddItem(smke,2) | |
| 273 | end | |
| 274 | swait() | |
| 275 | end | |
| 276 | end)() | |
| 277 | end | |
| 278 | ||
| 279 | local function ci(x, c, y, n) | |
| 280 | so = Instance.new("Sound", x)
| |
| 281 | so.SoundId = c | |
| 282 | so.Volume = y | |
| 283 | so.Looped = n | |
| 284 | end | |
| 285 | ||
| 286 | function ghost() | |
| 287 | fakeeyo2 = Instance.new("Part",Head)
| |
| 288 | fakeeyo2.BrickColor = BrickColor.new("White")
| |
| 289 | fakeeyo2.Material = "Neon" | |
| 290 | fakeeyo2.Shape = "Ball" | |
| 291 | fakeeyo2.Anchored = true | |
| 292 | fakeeyo2.CFrame = eyo2.CFrame | |
| 293 | fakeeyo2.CanCollide = false | |
| 294 | fakeeyo2.Size = Vector3.new(0.33, 0.33, 0.33) | |
| 295 | table.insert(ghosttable,fakeeyo2) | |
| 296 | removeuseless:AddItem(fakeeyo2,3) | |
| 297 | ||
| 298 | fakeeyo1 = Instance.new("Part",Head)
| |
| 299 | fakeeyo1.BrickColor = BrickColor.new("White")
| |
| 300 | fakeeyo1.Material = "Neon" | |
| 301 | fakeeyo1.Shape = "Ball" | |
| 302 | fakeeyo1.CanCollide = false | |
| 303 | fakeeyo1.Anchored = true | |
| 304 | fakeeyo1.CFrame = eyo1.CFrame | |
| 305 | fakeeyo1.Size = Vector3.new(0.33, 0.33, 0.33) | |
| 306 | table.insert(ghosttable,fakeeyo1) | |
| 307 | removeuseless:AddItem(fakeeyo1,3) | |
| 308 | ||
| 309 | fakemask = Instance.new("Part",Character)
| |
| 310 | fakemask.Size = Vector3.new(1,1,1) | |
| 311 | fakemask.CFrame = mask.CFrame | |
| 312 | fakemask.Material = "Neon" | |
| 313 | fakemask.CanCollide = false | |
| 314 | fakemask.Anchored = true | |
| 315 | fakemask.BrickColor = BrickColor.new("White")
| |
| 316 | fakemask.Transparency = .5 | |
| 317 | mfMask = Instance.new("SpecialMesh", fakemask)
| |
| 318 | mfMask.MeshType = "FileMesh" | |
| 319 | mfMask.Scale = Vector3.new(0.13, 0.13, 0.1) | |
| 320 | mfMask.MeshId = 'http://www.roblox.com/asset/?id=5158270' | |
| 321 | table.insert(ghosttable,fakemask) | |
| 322 | removeuseless:AddItem(fakemask,3) | |
| 323 | ||
| 324 | ||
| 325 | fakejester = Instance.new("Part",Character)
| |
| 326 | fakejester.Size = Vector3.new(2,2,2) | |
| 327 | fakejester.CFrame = jester.CFrame | |
| 328 | fakejester.CanCollide = false | |
| 329 | fakejester.Transparency = .5 | |
| 330 | fakejester.Anchored = true | |
| 331 | fakejester.BrickColor = BrickColor.new("White")
| |
| 332 | fakejesterm = Instance.new("SpecialMesh", fakejester)
| |
| 333 | fakejesterm.MeshType = "FileMesh" | |
| 334 | fakejesterm.Scale = Vector3.new(1.1, 1.1, 1.1) | |
| 335 | fakejesterm.MeshId = 'rbxassetid://1241662062' | |
| 336 | table.insert(ghosttable,fakejester) | |
| 337 | removeuseless:AddItem(fakejester,3) | |
| 338 | ||
| 339 | ||
| 340 | fakehead = Instance.new("Part",Character)
| |
| 341 | fakehead.Size = Vector3.new(1.01,1.01,1.01) | |
| 342 | fakehead.Anchored = true | |
| 343 | fakehead.CanCollide = false | |
| 344 | fakehead.Transparency = .5 | |
| 345 | fakehead.BrickColor = BrickColor.new("White")
| |
| 346 | fakehead.Material = "Neon" | |
| 347 | fakehead.CFrame = Head.CFrame | |
| 348 | fakeheadmesh = Instance.new("SpecialMesh",fakehead)
| |
| 349 | fakeheadmesh.MeshType = "Head" | |
| 350 | fakeheadmesh.Scale = Vector3.new(1.255,1.255,1.255) | |
| 351 | table.insert(ghosttable,fakehead) | |
| 352 | removeuseless:AddItem(fakehead,3) | |
| 353 | ||
| 354 | ||
| 355 | fakelarm = Instance.new("Part",Character)
| |
| 356 | fakelarm.CFrame = LeftArm.CFrame | |
| 357 | fakelarm.Size = Vector3.new(1,2,1) | |
| 358 | fakelarm.CanCollide = false | |
| 359 | fakelarm.Transparency = .5 | |
| 360 | fakelarm.Material = "Neon" | |
| 361 | fakelarm.Anchored = true | |
| 362 | table.insert(ghosttable,fakelarm) | |
| 363 | removeuseless:AddItem(fakelarm,3) | |
| 364 | ||
| 365 | ||
| 366 | fakerarm = Instance.new("Part",Character)
| |
| 367 | fakerarm.CFrame = RightArm.CFrame | |
| 368 | fakerarm.Size = Vector3.new(1,2,1) | |
| 369 | fakerarm.Transparency = .5 | |
| 370 | fakerarm.CanCollide = false | |
| 371 | fakerarm.Material = "Neon" | |
| 372 | fakerarm.Anchored = true | |
| 373 | table.insert(ghosttable,fakerarm) | |
| 374 | removeuseless:AddItem(fakerarm,3) | |
| 375 | ||
| 376 | ||
| 377 | fakelleg = Instance.new("Part",Character)
| |
| 378 | fakelleg.CFrame = LeftLeg.CFrame | |
| 379 | fakelleg.Size = Vector3.new(1,2,1) | |
| 380 | fakelleg.Transparency = .5 | |
| 381 | fakelleg.CanCollide = false | |
| 382 | fakelleg.Material = "Neon" | |
| 383 | fakelleg.Anchored = true | |
| 384 | table.insert(ghosttable,fakelleg) | |
| 385 | removeuseless:AddItem(fakelleg,3) | |
| 386 | ||
| 387 | ||
| 388 | fakerleg = Instance.new("Part",Character)
| |
| 389 | fakerleg.CFrame = RightLeg.CFrame | |
| 390 | fakerleg.Size = Vector3.new(1,2,1) | |
| 391 | fakerleg.Transparency = .5 | |
| 392 | fakerleg.CanCollide = false | |
| 393 | fakerleg.Material = "Neon" | |
| 394 | fakerleg.Anchored = true | |
| 395 | table.insert(ghosttable,fakerleg) | |
| 396 | removeuseless:AddItem(fakerleg,3) | |
| 397 | ||
| 398 | ||
| 399 | fakeTorso = Instance.new("Part",Character)
| |
| 400 | fakeTorso.CFrame = Torso.CFrame | |
| 401 | fakeTorso.Size = Vector3.new(2,2,1) | |
| 402 | fakeTorso.Transparency = .5 | |
| 403 | fakeTorso.CanCollide = false | |
| 404 | fakeTorso.Material = "Neon" | |
| 405 | fakeTorso.Anchored = true | |
| 406 | table.insert(ghosttable,fakeTorso) | |
| 407 | removeuseless:AddItem(fakeTorso,3) | |
| 408 | end | |
| 409 | ||
| 410 | ghosttable={}
| |
| 411 | coroutine.wrap(function() | |
| 412 | while true do | |
| 413 | for i,v in pairs(ghosttable) do | |
| 414 | v.Transparency = v.Transparency + 0.025 | |
| 415 | end | |
| 416 | wait() | |
| 417 | end | |
| 418 | end)() | |
| 419 | ||
| 420 | function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR) | |
| 421 | A = Instance.new("Attachment", PARENT)
| |
| 422 | A.Position = POSITION1 | |
| 423 | A.Name = "A" | |
| 424 | B = Instance.new("Attachment", PARENT)
| |
| 425 | B.Position = POSITION2 | |
| 426 | B.Name = "B" | |
| 427 | tr1 = Instance.new("Trail", PARENT)
| |
| 428 | tr1.Attachment0 = A | |
| 429 | tr1.Attachment1 = B | |
| 430 | tr1.Enabled = true | |
| 431 | tr1.Lifetime = LIFETIME | |
| 432 | tr1.TextureMode = "Static" | |
| 433 | tr1.LightInfluence = 0 | |
| 434 | tr1.Color = COLOR | |
| 435 | tr1.Transparency = NumberSequence.new(0, 1) | |
| 436 | end | |
| 437 | ||
| 438 | function clean() | |
| 439 | damageall={}
| |
| 440 | Repeater={}
| |
| 441 | Repeater2={}
| |
| 442 | nonmeshRepeater={}
| |
| 443 | nonmeshRepeater2={}
| |
| 444 | dmgii={}
| |
| 445 | DamageAll2={}
| |
| 446 | SlowlyFade={}
| |
| 447 | th1={}
| |
| 448 | th2={}
| |
| 449 | th3={}
| |
| 450 | Extreme={}
| |
| 451 | ExtremeM={}
| |
| 452 | ExtremeM2={}
| |
| 453 | m3={}
| |
| 454 | th4={}
| |
| 455 | th5={}
| |
| 456 | UpMover={}
| |
| 457 | openshocktable={}
| |
| 458 | LessSize={}
| |
| 459 | ForwardMover={}
| |
| 460 | FadeIn={}
| |
| 461 | signtransparency={}
| |
| 462 | signmover={}
| |
| 463 | signrotator={}
| |
| 464 | end | |
| 465 | ||
| 466 | coroutine.wrap(function() | |
| 467 | while wait() do | |
| 468 | hum.WalkSpeed = ws | |
| 469 | LeftArm.BrickColor = BrickColor.new("Really black")
| |
| 470 | RightArm.BrickColor = BrickColor.new("Really black")
| |
| 471 | Head.BrickColor = BrickColor.new("Really black")
| |
| 472 | end | |
| 473 | end)() | |
| 474 | godmode = coroutine.wrap(function() | |
| 475 | for i,v in pairs(Character:GetChildren()) do | |
| 476 | if v:IsA("BasePart") and v ~= Root then
| |
| 477 | v.Anchored = false | |
| 478 | end | |
| 479 | end | |
| 480 | while true do | |
| 481 | hum.MaxHealth = math.huge | |
| 482 | wait(0.0000001) | |
| 483 | hum.Health = math.huge | |
| 484 | wait() | |
| 485 | end | |
| 486 | end) | |
| 487 | godmode() | |
| 488 | ff = Instance.new("ForceField", Character)
| |
| 489 | ff.Visible = false | |
| 490 | ||
| 491 | coroutine.wrap(function() | |
| 492 | for i,v in pairs(Character:GetChildren()) do | |
| 493 | if v.Name == "Animate" then v:Remove() | |
| 494 | end | |
| 495 | end | |
| 496 | end)() | |
| 497 | ||
| 498 | function damagealll(Radius,Position) | |
| 499 | local Returning = {}
| |
| 500 | for _,v in pairs(workspace:GetChildren()) do | |
| 501 | if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
| |
| 502 | if v:FindFirstChild("Torso") then
| |
| 503 | local Mag = (v.Torso.Position - Position).magnitude | |
| 504 | if Mag < Radius then | |
| 505 | table.insert(Returning,v) | |
| 506 | end | |
| 507 | elseif v:FindFirstChild("UpperTorso") then
| |
| 508 | local Mag = (v.UpperTorso.Position - Position).magnitude | |
| 509 | if Mag < Radius then | |
| 510 | table.insert(Returning,v) | |
| 511 | end | |
| 512 | end | |
| 513 | end | |
| 514 | end | |
| 515 | return Returning | |
| 516 | end | |
| 517 | ||
| 518 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 519 | ArtificialHB.Name = "Heartbeat" | |
| 520 | script:WaitForChild("Heartbeat")
| |
| 521 | ||
| 522 | frame = 1 / 60 | |
| 523 | tf = 0 | |
| 524 | allowframeloss = false | |
| 525 | tossremainder = false | |
| 526 | ||
| 527 | ||
| 528 | lastframe = tick() | |
| 529 | script.Heartbeat:Fire() | |
| 530 | ||
| 531 | ||
| 532 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 533 | tf = tf + s | |
| 534 | if tf >= frame then | |
| 535 | if allowframeloss then | |
| 536 | script.Heartbeat:Fire() | |
| 537 | lastframe = tick() | |
| 538 | else | |
| 539 | for i = 1, math.floor(tf / frame) do | |
| 540 | script.Heartbeat:Fire() | |
| 541 | end | |
| 542 | lastframe = tick() | |
| 543 | end | |
| 544 | if tossremainder then | |
| 545 | tf = 0 | |
| 546 | else | |
| 547 | tf = tf - frame * math.floor(tf / frame) | |
| 548 | end | |
| 549 | end | |
| 550 | end) | |
| 551 | ||
| 552 | function swait(num) | |
| 553 | if num == 0 or num == nil then | |
| 554 | game:service("RunService").Stepped:wait(0)
| |
| 555 | else | |
| 556 | for i = 0, num do | |
| 557 | game:service("RunService").Stepped:wait(0)
| |
| 558 | end | |
| 559 | end | |
| 560 | end | |
| 561 | ||
| 562 | doomtheme = Instance.new("Sound", Torso)
| |
| 563 | doomtheme.Volume = 0 | |
| 564 | doomtheme.Name = "doomtheme" | |
| 565 | doomtheme.Looped = true | |
| 566 | doomtheme.SoundId = "rbxassetid://1843358057" | |
| 567 | doomtheme:Play() | |
| 568 | ||
| 569 | Torso.ChildRemoved:connect(function(removed) | |
| 570 | if removed.Name == "doomtheme" then | |
| 571 | if levitate then | |
| 572 | doomtheme = Instance.new("Sound", Torso)
| |
| 573 | doomtheme.Volume = 3 | |
| 574 | doomtheme.Name = "doomtheme" | |
| 575 | doomtheme.Looped = true | |
| 576 | doomtheme.SoundId = "rbxassetid://1382488262" | |
| 577 | doomtheme:Play() | |
| 578 | else | |
| 579 | doomtheme = Instance.new("Sound", Torso)
| |
| 580 | doomtheme.Volume = 3 | |
| 581 | doomtheme.Name = "doomtheme" | |
| 582 | doomtheme.Looped = true | |
| 583 | doomtheme.SoundId = "rbxassetid://1843358057" | |
| 584 | doomtheme:Play() | |
| 585 | doomtheme.TimePosition = 20.7 | |
| 586 | end | |
| 587 | end | |
| 588 | end) | |
| 589 | ||
| 590 | for _,n in pairs(Character:GetChildren()) do | |
| 591 | if n:IsA("Accessory") then n:Remove() end
| |
| 592 | end | |
| 593 | for _,x in pairs(Character:GetChildren()) do | |
| 594 | if x:IsA("Decal") then x:Remove() end
| |
| 595 | end | |
| 596 | ||
| 597 | glow = Instance.new("Part",Head)
| |
| 598 | glow.Size = Vector3.new(.488,.3,.1) | |
| 599 | glow.CanCollide = false | |
| 600 | glow.Material = "Neon" | |
| 601 | glow.Transparency = 1 | |
| 602 | glow.BrickColor = BrickColor.new("Really white")
| |
| 603 | glowweld = weldBetween(glow,Head) | |
| 604 | glowweld.C0 = CFrame.new(0,.2,.565) | |
| 605 | ||
| 606 | leftlocation = Instance.new("Part",LeftArm)
| |
| 607 | leftlocation.Size = Vector3.new(1,1,1) | |
| 608 | leftlocation.Transparency = 1 | |
| 609 | leftlocationweld = weldBetween(leftlocation,LeftArm) | |
| 610 | leftlocationweld.C0 = CFrame.new(0,1.2,0) | |
| 611 | rightlocation = Instance.new("Part",RightArm)
| |
| 612 | rightlocation.Size = Vector3.new(1,1,1) | |
| 613 | rightlocation.Transparency = 1 | |
| 614 | rightlocationweld = weldBetween(rightlocation,RightArm) | |
| 615 | rightlocationweld.C0 = CFrame.new(0,1.2,0) | |
| 616 | ||
| 617 | shirt = Instance.new("Shirt", Character)
| |
| 618 | shirt.Name = "Shirt" | |
| 619 | pants = Instance.new("Pants", Character)
| |
| 620 | pants.Name = "Pants" | |
| 621 | Character.Shirt.ShirtTemplate = "rbxassetid://676428254"----lol | |
| 622 | Character.Pants.PantsTemplate = "rbxassetid://676428351" | |
| 623 | ||
| 624 | fakehed = Instance.new("Part",Character)
| |
| 625 | fakehed.Size = Vector3.new(1.01,1.01,1.01) | |
| 626 | fakehed.Anchored = false | |
| 627 | fakehed.CanCollide = false | |
| 628 | fakehed.Transparency = 0 | |
| 629 | fakehed.BrickColor = BrickColor.new("Really black")
| |
| 630 | fakehed.Material = "Neon" | |
| 631 | fakehed.CFrame = Head.CFrame | |
| 632 | fakehedweld = weldBetween(fakehed,Head) | |
| 633 | fakehedmesh = Instance.new("SpecialMesh",fakehed)
| |
| 634 | fakehedmesh.MeshType = "Head" | |
| 635 | fakehedmesh.Scale = Vector3.new(1.255,1.255,1.255) | |
| 636 | ||
| 637 | jester = Instance.new("Part",Character)
| |
| 638 | jester.Size = Vector3.new(2,2,2) | |
| 639 | jester.CFrame = Head.CFrame | |
| 640 | jester.CanCollide = false | |
| 641 | jesterWeld = Instance.new("Weld",jester)
| |
| 642 | jesterWeld.Part0 = jester | |
| 643 | jesterWeld.Part1 = Head | |
| 644 | jesterWeld.C0 = jester.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(0),math.rad(90),0) | |
| 645 | mjester = Instance.new("SpecialMesh", jester)
| |
| 646 | mjester.MeshType = "FileMesh" | |
| 647 | mjester.Scale = Vector3.new(1.1, 1.1, 1.1) | |
| 648 | mjester.MeshId,mjester.TextureId = 'rbxassetid://1241662062','rbxassetid://1241662395' | |
| 649 | ||
| 650 | mask = Instance.new("Part",Character)
| |
| 651 | mask.Size = Vector3.new(1,1,1) | |
| 652 | mask.CFrame = Head.CFrame | |
| 653 | mask.CanCollide = false | |
| 654 | maskweld = weldBetween(mask,Head) | |
| 655 | maskweld.C0 = CFrame.new(0,-.555,0) * CFrame.Angles(math.rad(90),0,0) | |
| 656 | mMask = Instance.new("SpecialMesh", mask)
| |
| 657 | mMask.MeshType = "FileMesh" | |
| 658 | mMask.Scale = Vector3.new(0.13, 0.13, 0.1) | |
| 659 | mMask.MeshId,mMask.TextureId = 'http://www.roblox.com/asset/?id=5158270','http://www.roblox.com/asset/?id=9543585' | |
| 660 | ||
| 661 | eyo1 = Instance.new("Part",Head)
| |
| 662 | eyo1.BrickColor = BrickColor.new("White")
| |
| 663 | eyo1.Material = "Neon" | |
| 664 | eyo1.Shape = "Ball" | |
| 665 | eyo1.Name = "eyo1" | |
| 666 | eyo1.CanCollide = false | |
| 667 | eyo1.Size = Vector3.new(0.33, 0.33, 0.33) | |
| 668 | eyo1weld = weldBetween(eyo1,Head) | |
| 669 | eyo1weld.C0 = CFrame.new(.215,-.05,.52) | |
| 670 | ||
| 671 | light = Instance.new("PointLight", eyo1)
| |
| 672 | light.Color = Color3.new(1,1,1) | |
| 673 | light.Range = 3 | |
| 674 | light.Brightness = 4 | |
| 675 | light.Enabled = true | |
| 676 | ||
| 677 | eyo2 = Instance.new("Part",Head)
| |
| 678 | eyo2.BrickColor = BrickColor.new("White")
| |
| 679 | eyo2.Material = "Neon" | |
| 680 | eyo2.Shape = "Ball" | |
| 681 | eyo2.Name = "eyo2" | |
| 682 | eyo2.CanCollide = false | |
| 683 | eyo2.Size = Vector3.new(0.33, 0.33, 0.33) | |
| 684 | eyo2weld = weldBetween(eyo2,Head) | |
| 685 | eyo2weld.C0 = CFrame.new(-.215,-.05,.52) | |
| 686 | ||
| 687 | light2 = Instance.new("PointLight", eyo2)
| |
| 688 | light2.Color = Color3.new(1,1,1) | |
| 689 | light2.Range = 3 | |
| 690 | light2.Brightness = 4 | |
| 691 | light2.Enabled = true | |
| 692 | ||
| 693 | function SOUND(PARENT,ID,VOL,LOOP,REMOVE) | |
| 694 | so = Instance.new("Sound")
| |
| 695 | so.Parent = PARENT | |
| 696 | so.SoundId = "rbxassetid://"..ID | |
| 697 | so.Volume = VOL | |
| 698 | so.Looped = LOOP | |
| 699 | so:Play() | |
| 700 | removeuseless:AddItem(so,REMOVE) | |
| 701 | end | |
| 702 | ||
| 703 | ||
| 704 | mouse.KeyDown:connect(function(Press) | |
| 705 | Press=Press:lower() | |
| 706 | if Press=='r' then | |
| 707 | if levitate then return end | |
| 708 | if debounce then return end | |
| 709 | debounce = true | |
| 710 | attacking = true | |
| 711 | appi = true | |
| 712 | ws = 0 | |
| 713 | coroutine.wrap(function() | |
| 714 | while appi do | |
| 715 | wait() | |
| 716 | if Root.Velocity.Magnitude < 2 and attacking == true then | |
| 717 | position = "Idle2" | |
| 718 | end | |
| 719 | end | |
| 720 | end)() | |
| 721 | coroutine.wrap(function() | |
| 722 | while appi do | |
| 723 | wait() | |
| 724 | settime = 0.05 | |
| 725 | sine = sine + change | |
| 726 | if position == "Idle2" and attacking == true and appi == true then | |
| 727 | change = .4 | |
| 728 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 729 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 730 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3) | |
| 731 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
| 732 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3) | |
| 733 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 734 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 735 | end | |
| 736 | end | |
| 737 | end)() | |
| 738 | for i = 1, 20 do | |
| 739 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3) | |
| 740 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 741 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 742 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,1.5,-.1),.5) | |
| 743 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(10)),.3) | |
| 744 | swait() | |
| 745 | end | |
| 746 | SOUND(RightArm,342337569,6,false,1) | |
| 747 | coroutine.wrap(function() | |
| 748 | for i = 1, 9 do | |
| 749 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(.1,1.6,-.1),.5) | |
| 750 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(15)),.3) | |
| 751 | swait() | |
| 752 | end | |
| 753 | for i = 1, 9 do | |
| 754 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,1.5,-.1),.5) | |
| 755 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(10)),.3) | |
| 756 | swait() | |
| 757 | end | |
| 758 | end)() | |
| 759 | shockwave = Instance.new("Part",Torso)
| |
| 760 | shockwave.Shape = "Ball" | |
| 761 | shockwave.Size = Vector3.new(1,1,1) | |
| 762 | shockwave.BrickColor = BrickColor.new("White")
| |
| 763 | shockwave.Material = "Neon" | |
| 764 | shockwave.CFrame = Torso.CFrame | |
| 765 | shockwave.CanCollide = false | |
| 766 | shockwave.Anchored = true | |
| 767 | coroutine.wrap(function() | |
| 768 | for i = 1, 20 do | |
| 769 | shockwave.Size = shockwave.Size + Vector3.new(1.8,1.8,1.8) | |
| 770 | shockwave.Transparency = shockwave.Transparency + 0.05 | |
| 771 | wait() | |
| 772 | end | |
| 773 | end)() | |
| 774 | SOUND(Torso,1072606965,0,false,10) | |
| 775 | coroutine.wrap(function() | |
| 776 | for i = 1, 10 do | |
| 777 | so.Volume = so.Volume + 0.3 | |
| 778 | wait() | |
| 779 | end | |
| 780 | end)() | |
| 781 | for i = 1, 35 do | |
| 782 | local Hit = damagealll(22,Torso.Position) | |
| 783 | for _,v in pairs(Hit) do | |
| 784 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(17,35))
| |
| 785 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 786 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 787 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 788 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*20 | |
| 789 | removeuseless:AddItem(vel,.1) | |
| 790 | end | |
| 791 | wave = Instance.new("Part", Torso)
| |
| 792 | wave.Size = Vector3.new(1, 1, 1) | |
| 793 | wave.Transparency = 0 | |
| 794 | wave.BrickColor = BrickColor.new("White")
| |
| 795 | wave.Anchored = true | |
| 796 | wave.CanCollide = false | |
| 797 | wave.CFrame = Root.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 798 | wavemesh = Instance.new("SpecialMesh", wave)
| |
| 799 | wavemesh.MeshId = "rbxassetid://20329976" | |
| 800 | wavemesh.Scale = Vector3.new(1, 1, 1) | |
| 801 | table.insert(th2,wave) | |
| 802 | table.insert(SlowlyFade,wave) | |
| 803 | table.insert(th5,wavemesh) | |
| 804 | removeuseless:AddItem(wave,2) | |
| 805 | CardStorm = Instance.new("Part",Torso)
| |
| 806 | CardStorm.Size = Vector3.new(.1,.1,.1) | |
| 807 | CardStorm.CFrame = Root.CFrame * CFrame.new(0,3.2,0) | |
| 808 | CardStorm.Anchored = true | |
| 809 | CardStormMesh = Instance.new("SpecialMesh", CardStorm)
| |
| 810 | CardStormMesh.Scale = Vector3.new(1,1,1) | |
| 811 | CardStormMesh.MeshId = "rbxassetid://6512150" | |
| 812 | CardStormMesh.TextureId = "rbxassetid://55364685" | |
| 813 | table.insert(SlowlyFade,CardStorm) | |
| 814 | table.insert(m3,CardStormMesh) | |
| 815 | table.insert(th1,CardStorm) | |
| 816 | removeuseless:AddItem(CardStorm,3) | |
| 817 | wait(.1) | |
| 818 | end | |
| 819 | coroutine.wrap(function() | |
| 820 | for i = 1, 10 do | |
| 821 | so.Volume = so.Volume - 0.3 | |
| 822 | wait() | |
| 823 | end | |
| 824 | end)() | |
| 825 | wait(1) | |
| 826 | ws = 10 | |
| 827 | clean() | |
| 828 | attacking = false | |
| 829 | debounce = false | |
| 830 | appi = false | |
| 831 | end | |
| 832 | end) | |
| 833 | ||
| 834 | mouse.KeyDown:connect(function(Press) | |
| 835 | Press=Press:lower() | |
| 836 | if Press=='e' then | |
| 837 | if levitate then return end | |
| 838 | if debounce then return end | |
| 839 | attacking = true | |
| 840 | debounce = true | |
| 841 | damagedebounce = false | |
| 842 | clickdisallowance = true | |
| 843 | clickdebounce = false | |
| 844 | notallowed = true | |
| 845 | appi = true | |
| 846 | ws = 0 | |
| 847 | coroutine.wrap(function() | |
| 848 | while appi do | |
| 849 | wait() | |
| 850 | if Root.Velocity.y > 1 and attacking == true then | |
| 851 | position = "Jump2" | |
| 852 | elseif Root.Velocity.y < -1 and attacking == true then | |
| 853 | position = "Falling2" | |
| 854 | elseif Root.Velocity.Magnitude < 2 and attacking == true then | |
| 855 | position = "Idle2" | |
| 856 | elseif Root.Velocity.Magnitude > 2 and attacking == true then | |
| 857 | position = "Walking2" | |
| 858 | end | |
| 859 | end | |
| 860 | end)() | |
| 861 | coroutine.wrap(function() | |
| 862 | while appi do | |
| 863 | wait() | |
| 864 | settime = 0.05 | |
| 865 | sine = sine + change | |
| 866 | if position == "Jump2" and attacking == true and appi == true then | |
| 867 | change = 1 | |
| 868 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 869 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 870 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
| 871 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 872 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4) | |
| 873 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 874 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
| 875 | elseif position == "Falling2" and attacking == true and appi == true then | |
| 876 | change = 1 | |
| 877 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 878 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 879 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
| 880 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
| 881 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2) | |
| 882 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2) | |
| 883 | elseif position == "Idle2" and attacking == true and appi == true then | |
| 884 | change = .4 | |
| 885 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 886 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 887 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3) | |
| 888 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
| 889 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3) | |
| 890 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 891 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 892 | elseif position == "Walking2" and attacking == true and appi == true then | |
| 893 | change = .8 | |
| 894 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 895 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 896 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3) | |
| 897 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
| 898 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.sin(25*math.sin(sine/8))),.3) | |
| 899 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.sin(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.sin(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.sin(25 * math.sin(sine/8))), 0.3) | |
| 900 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.sin(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.sin(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.sin(25 * math.sin(sine/8))), 0.3) | |
| 901 | end | |
| 902 | end | |
| 903 | end)() | |
| 904 | coroutine.wrap(function() | |
| 905 | for i = 1, 40 do | |
| 906 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0),.5) | |
| 907 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1.5,0) * CFrame.Angles(math.rad(180 - 7 * math.sin(sine/6)),math.rad(7 * math.sin(sine/6)),math.rad(7*math.sin(sine/6))), 0.5) | |
| 908 | swait() | |
| 909 | end | |
| 910 | end)() | |
| 911 | haloh = Instance.new("Part", Torso)
| |
| 912 | haloh.Size = Vector3.new(1,1,1) | |
| 913 | haloh.Anchored = false | |
| 914 | haloh.Transparency = 1 | |
| 915 | haloh.CanCollide = false | |
| 916 | halohweld = weldBetween(haloh,Torso) | |
| 917 | halohweld.C0 = CFrame.new(0,0,0) | |
| 918 | n = 0 | |
| 919 | x = 0 | |
| 920 | tab={}
| |
| 921 | tab2={}
| |
| 922 | SOUND(Torso,1882057730,6,false,2) | |
| 923 | for i = 1, 20 do | |
| 924 | n = n + 20 | |
| 925 | x = x + 5 | |
| 926 | halo = Instance.new("Part", Torso)
| |
| 927 | halo.Size = Vector3.new(0.71, 0.07, 0.99) | |
| 928 | halo.Transparency = 1 | |
| 929 | halo.CanCollide = false | |
| 930 | halo.Material = "Neon" | |
| 931 | halo.BrickColor = BrickColor.new("White")
| |
| 932 | halow = weldBetween(halo,haloh) | |
| 933 | halow.C0 = CFrame.new(-4,0,0) * CFrame.Angles(math.rad(90),math.rad(n),math.rad(0)) | |
| 934 | table.insert(FadeIn,halo) | |
| 935 | table.insert(tab,halow) | |
| 936 | table.insert(tab2,halo) | |
| 937 | wait() | |
| 938 | end | |
| 939 | ws = 10 | |
| 940 | clickdisallowance = false | |
| 941 | coroutine.wrap(function() | |
| 942 | g1 = Instance.new("BodyGyro", Root)
| |
| 943 | g1.D = 175 | |
| 944 | g1.P = 20000 | |
| 945 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 946 | while notallowed do | |
| 947 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 948 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
| 949 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3) | |
| 950 | swait() | |
| 951 | end | |
| 952 | end)() | |
| 953 | coroutine.wrap(function() | |
| 954 | mouse.Button1Down:connect(function() | |
| 955 | if clickdisallowance then return end | |
| 956 | if clickdebounce then return end | |
| 957 | wait(.2) | |
| 958 | clickdebounce = true | |
| 959 | notallowed = false | |
| 960 | end) | |
| 961 | end)() | |
| 962 | while notallowed do | |
| 963 | for i,v in pairs(tab) do | |
| 964 | v.C0 = v.C0 * CFrame.Angles(math.rad(0),math.rad(0 + 1.2),math.rad(0)) | |
| 965 | end | |
| 966 | swait() | |
| 967 | end | |
| 968 | appi = false | |
| 969 | ws = 0 | |
| 970 | for i = 1, 15 do | |
| 971 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 972 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 973 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)), 0.3) | |
| 974 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-50 - 2 * math.sin(sine/12)), math.rad(12), math.rad(9)), 0.3) | |
| 975 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-.65, .6, 1) * CFrame.Angles(0,0,0),.3) | |
| 976 | swait() | |
| 977 | end | |
| 978 | for i,v in pairs(tab) do | |
| 979 | v:Remove() | |
| 980 | end | |
| 981 | for i,v in pairs(tab2) do | |
| 982 | removeuseless:AddItem(v,6) | |
| 983 | MAKETRAIL(v,Vector3.new(.1,0,0),Vector3.new(-.1,0,0),.8,ColorSequence.new(BrickColor.new("White").Color,BrickColor.new("Really black").Color))
| |
| 984 | BodyGyro=Instance.new('BodyGyro',v)
| |
| 985 | BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge) | |
| 986 | BodyGyro.P=2e4 | |
| 987 | removeuseless:AddItem(BodyGyro,.1) | |
| 988 | PB2 = Instance.new("BodyVelocity", v)
| |
| 989 | PB2.MaxForce = Vector3.new(999999, 999999, 999999) | |
| 990 | v.CFrame = CFrame.new(v.Position,mouse.Hit.p) | |
| 991 | PB2.Velocity = v.CFrame.lookVector * 80 | |
| 992 | end | |
| 993 | SOUND(Torso,1499747506,3,false,1) | |
| 994 | for i,v in pairs(tab2) do | |
| 995 | v.Touched:connect(function(hit) | |
| 996 | if hit.Parent:IsA("Part") then
| |
| 997 | elseif hit.Parent:IsA("SpecialMesh") then
| |
| 998 | elseif hit.Parent.Name == game.Players.LocalPlayer.Name then | |
| 999 | elseif hit.Parent:findFirstChildOfClass("Humanoid") then
| |
| 1000 | if damagedebounce == true then return end | |
| 1001 | damagedebounce = true | |
| 1002 | Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid")
| |
| 1003 | tor = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
| |
| 1004 | Slachtoffer:TakeDamage(math.random(17,35)) | |
| 1005 | SOUND(tor,694703797,6,false,1) | |
| 1006 | wait(.1) | |
| 1007 | damagedebounce = false | |
| 1008 | end | |
| 1009 | end) | |
| 1010 | end | |
| 1011 | for i = 1, 20 do | |
| 1012 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 1013 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 1014 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-25), math.rad(0)), 0.3) | |
| 1015 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) | |
| 1016 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(-15), math.rad(4)), 0.3) | |
| 1017 | swait() | |
| 1018 | end | |
| 1019 | clean() | |
| 1020 | g1:Remove() | |
| 1021 | haloh:Remove() | |
| 1022 | attacking = false | |
| 1023 | debounce = false | |
| 1024 | damagedebounce = false | |
| 1025 | clickdebounce = false | |
| 1026 | appi = false | |
| 1027 | ws = 10 | |
| 1028 | end | |
| 1029 | end) | |
| 1030 | ||
| 1031 | mouse.KeyDown:connect(function(Press) | |
| 1032 | Press=Press:lower() | |
| 1033 | if Press=='y' then | |
| 1034 | if levitate then return end | |
| 1035 | if debounce then return end | |
| 1036 | clickdisallowance = true | |
| 1037 | clickdebounce = false | |
| 1038 | debounce = true | |
| 1039 | attacking = true | |
| 1040 | appi = true | |
| 1041 | ws = 0 | |
| 1042 | coroutine.wrap(function() | |
| 1043 | while appi do | |
| 1044 | wait() | |
| 1045 | if Root.Velocity.y > 1 and attacking == true then | |
| 1046 | position = "Jump2" | |
| 1047 | elseif Root.Velocity.y < -1 and attacking == true then | |
| 1048 | position = "Falling2" | |
| 1049 | elseif Root.Velocity.Magnitude < 2 and attacking == true then | |
| 1050 | position = "Idle2" | |
| 1051 | elseif Root.Velocity.Magnitude > 2 and attacking == true then | |
| 1052 | position = "Walking2" | |
| 1053 | end | |
| 1054 | end | |
| 1055 | end)() | |
| 1056 | coroutine.wrap(function() | |
| 1057 | while appi do | |
| 1058 | wait() | |
| 1059 | settime = 0.05 | |
| 1060 | sine = sine + change | |
| 1061 | if position == "Jump2" and attacking == true and appi == true then | |
| 1062 | change = 1 | |
| 1063 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 1064 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 1065 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
| 1066 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 1067 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4) | |
| 1068 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 1069 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
| 1070 | elseif position == "Falling2" and attacking == true and appi == true then | |
| 1071 | change = 1 | |
| 1072 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 1073 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 1074 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
| 1075 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
| 1076 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2) | |
| 1077 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) | |
| 1078 | elseif position == "Idle2" and attacking == true and appi == true then | |
| 1079 | change = .4 | |
| 1080 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 1081 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 1082 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3) | |
| 1083 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
| 1084 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3) | |
| 1085 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 1086 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 1087 | elseif position == "Walking2" and attacking == true and appi == true then | |
| 1088 | change = .8 | |
| 1089 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 1090 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 1091 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3) | |
| 1092 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
| 1093 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.cos(25*math.cos(sine/8))),.3) | |
| 1094 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3) | |
| 1095 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3) | |
| 1096 | end | |
| 1097 | end | |
| 1098 | end)() | |
| 1099 | bigcard = Instance.new("Part",Torso)
| |
| 1100 | bigcard.Material = "Neon" | |
| 1101 | bigcard.Transparency = 1 | |
| 1102 | bigcard.BrickColor = BrickColor.new("White")
| |
| 1103 | bigcard.Size = Vector3.new(15.65, 23.84, 0.3) | |
| 1104 | bigcard.CFrame = Root.CFrame * CFrame.new(0,18,0) | |
| 1105 | bigcard.Anchored = true | |
| 1106 | SOUND(bigcard,236989198,6,false,1) | |
| 1107 | ace = aces[math.random(1,#aces)] | |
| 1108 | acer = Instance.new("Decal",bigcard)
| |
| 1109 | acer.Texture = "rbxassetid://"..ace | |
| 1110 | acer.Transparency = 1 | |
| 1111 | acer.Face = "Front" | |
| 1112 | ace2 = acer:Clone() | |
| 1113 | ace2.Parent = bigcard | |
| 1114 | ace2.Face = "Back" | |
| 1115 | table.insert(FadeIn,acer) | |
| 1116 | table.insert(FadeIn,ace2) | |
| 1117 | table.insert(FadeIn,bigcard) | |
| 1118 | for i = 1, 30 do | |
| 1119 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,1.5,-.1),.5) | |
| 1120 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(10)),.3) | |
| 1121 | swait() | |
| 1122 | end | |
| 1123 | ws = 10 | |
| 1124 | g1 = Instance.new("BodyGyro", Root)
| |
| 1125 | g1.D = 175 | |
| 1126 | g1.P = 20000 | |
| 1127 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 1128 | clickdisallowance = false | |
| 1129 | coroutine.wrap(function() | |
| 1130 | mouse.Button1Down:connect(function() | |
| 1131 | if clickdisallowance then return end | |
| 1132 | if clickdebounce then return end | |
| 1133 | wait(.2) | |
| 1134 | clickdebounce = true | |
| 1135 | end) | |
| 1136 | end)() | |
| 1137 | while not clickdebounce do | |
| 1138 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
| 1139 | bigcard.CFrame = Root.CFrame * CFrame.new(0,18,0) | |
| 1140 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10 + 2 *math.sin(sine/12)),math.rad(10 - 2*math.sin(sine/12))),.3) | |
| 1141 | swait() | |
| 1142 | end | |
| 1143 | g1:Remove() | |
| 1144 | ws = 0 | |
| 1145 | for i = 1, 13 do | |
| 1146 | bigcard.CFrame = bigcard.CFrame:lerp(Root.CFrame * CFrame.new(0,18,3) * CFrame.Angles(math.rad(10),0,0),.3) | |
| 1147 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0.2) * CFrame.Angles(math.rad(160),math.rad(10),math.rad(10)),.3) | |
| 1148 | swait() | |
| 1149 | end | |
| 1150 | locationpart = Instance.new("Part",bigcard)
| |
| 1151 | locationpart.Size = Vector3.new(1,1,1) | |
| 1152 | locationpart.Transparency = 1 | |
| 1153 | locationpart.CanCollide = false | |
| 1154 | locationpart.Anchored = true | |
| 1155 | locationpart.CFrame = Root.CFrame * CFrame.new(0,-3,-21) | |
| 1156 | shockwave = Instance.new("Part", Torso)
| |
| 1157 | shockwave.Size = Vector3.new(1,1,1) | |
| 1158 | shockwave.CanCollide = false | |
| 1159 | shockwave.Anchored = true | |
| 1160 | shockwave.Transparency = 0 | |
| 1161 | shockwave.BrickColor = BrickColor.new("White")
| |
| 1162 | shockwave.CFrame = CFrame.new(locationpart.Position) | |
| 1163 | shockwavemesh = Instance.new("SpecialMesh", shockwave)
| |
| 1164 | shockwavemesh.Scale = Vector3.new(5,2,5) | |
| 1165 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
| 1166 | removeuseless:AddItem(shockwave,4) | |
| 1167 | shockwave2 = Instance.new("Part", Torso)
| |
| 1168 | shockwave2.Size = Vector3.new(1,1,1) | |
| 1169 | shockwave2.CanCollide = false | |
| 1170 | shockwave2.Anchored = true | |
| 1171 | shockwave2.Transparency = 0 | |
| 1172 | shockwave2.BrickColor = BrickColor.new("White")
| |
| 1173 | shockwave2.CFrame = CFrame.new(locationpart.Position) | |
| 1174 | shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
| |
| 1175 | shockwavemesh2.Scale = Vector3.new(5,2,5) | |
| 1176 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
| 1177 | removeuseless:AddItem(shockwave2,4) | |
| 1178 | shockwave3 = Instance.new("Part", Torso)
| |
| 1179 | shockwave3.Size = Vector3.new(1,1,1) | |
| 1180 | shockwave3.CanCollide = false | |
| 1181 | shockwave3.Anchored = true | |
| 1182 | shockwave3.Transparency = 0 | |
| 1183 | shockwave3.BrickColor = BrickColor.new("White")
| |
| 1184 | shockwave3.CFrame = CFrame.new(locationpart.Position) | |
| 1185 | shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
| |
| 1186 | shockwavemesh3.Scale = Vector3.new(5,2,5) | |
| 1187 | shockwavemesh3.MeshId = "rbxassetid://20329976" | |
| 1188 | removeuseless:AddItem(shockwave3,4) | |
| 1189 | shockwave4 = Instance.new("Part", Torso)
| |
| 1190 | shockwave4.Size = Vector3.new(1,1,1) | |
| 1191 | shockwave4.CanCollide = false | |
| 1192 | shockwave4.Anchored = true | |
| 1193 | shockwave4.Transparency = 0 | |
| 1194 | shockwave4.BrickColor = BrickColor.new("White")
| |
| 1195 | shockwave4.CFrame = CFrame.new(locationpart.Position) | |
| 1196 | shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
| |
| 1197 | shockwavemesh4.Scale = Vector3.new(5,2,5) | |
| 1198 | shockwavemesh4.MeshId = "rbxassetid://20329976" | |
| 1199 | removeuseless:AddItem(shockwave4,4) | |
| 1200 | Hit = damagealll(20,locationpart.Position) | |
| 1201 | for _,v in pairs(Hit) do | |
| 1202 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(55,85))
| |
| 1203 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 1204 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 1205 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 1206 | vel.velocity = CFrame.new(locationpart.Position,torso.Position).lookVector*110 | |
| 1207 | removeuseless:AddItem(vel,.1) | |
| 1208 | end | |
| 1209 | coroutine.wrap(function() | |
| 1210 | for i = 1, 90 do | |
| 1211 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+12),0) | |
| 1212 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(1.5,.1,1.5) | |
| 1213 | shockwave.Transparency = shockwave.Transparency + 0.025 | |
| 1214 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0+6),0) | |
| 1215 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(1.25,.25,1.25) | |
| 1216 | shockwave2.Transparency = shockwave2.Transparency + 0.04 | |
| 1217 | shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(0,math.rad(0+12),0) | |
| 1218 | shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(.75,.75,.75) | |
| 1219 | shockwave3.Transparency = shockwave3.Transparency + 0.035 | |
| 1220 | shockwave4.CFrame = shockwave3.CFrame * CFrame.Angles(0,math.rad(0+5),0) | |
| 1221 | shockwavemesh4.Scale = shockwavemesh3.Scale + Vector3.new(2.5,.5,2.5) | |
| 1222 | shockwave4.Transparency = shockwave3.Transparency + 0.03 | |
| 1223 | swait() | |
| 1224 | end | |
| 1225 | end)() | |
| 1226 | SOUND(locationpart,765590102,6,false,2) | |
| 1227 | for i = 1, 24 do | |
| 1228 | bigcard.CFrame = bigcard.CFrame:lerp(Root.CFrame * CFrame.new(0,-3,-21) * CFrame.Angles(math.rad(90),0,0),.25) | |
| 1229 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(.2,.2,.2) * CFrame.Angles(0,0,0),.5) | |
| 1230 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 1.1, 0.4) * CFrame.Angles(math.rad(-75), math.rad(15), math.rad(4)), 0.5) | |
| 1231 | swait() | |
| 1232 | end | |
| 1233 | for i = 1, 40 do | |
| 1234 | bigcard.Transparency = bigcard.Transparency + 0.2 | |
| 1235 | acer.Transparency = acer.Transparency + .2 | |
| 1236 | ace2.Transparency = ace2.Transparency + .2 | |
| 1237 | swait() | |
| 1238 | end | |
| 1239 | attacking = false | |
| 1240 | debounce = false | |
| 1241 | appi = false | |
| 1242 | clickdisallowance = false | |
| 1243 | clickdebounce = false | |
| 1244 | ws = 10 | |
| 1245 | bigcard:Remove() | |
| 1246 | clean() | |
| 1247 | end | |
| 1248 | end) | |
| 1249 | ||
| 1250 | mouse.KeyDown:connect(function(Press) | |
| 1251 | Press=Press:lower() | |
| 1252 | if Press=='u' then | |
| 1253 | if levitate then return end | |
| 1254 | if mouse.Target ~= nil then end | |
| 1255 | if debounce then return end | |
| 1256 | debounce = true | |
| 1257 | attacking = true | |
| 1258 | appi = true | |
| 1259 | ws = 0 | |
| 1260 | appi = true | |
| 1261 | coroutine.wrap(function() | |
| 1262 | while appi do | |
| 1263 | wait() | |
| 1264 | if Root.Velocity.y > 1 and attacking == true then | |
| 1265 | position = "Jump2" | |
| 1266 | elseif Root.Velocity.y < -1 and attacking == true then | |
| 1267 | position = "Falling2" | |
| 1268 | elseif Root.Velocity.Magnitude < 2 and attacking == true then | |
| 1269 | position = "Idle2" | |
| 1270 | elseif Root.Velocity.Magnitude > 2 and attacking == true then | |
| 1271 | position = "Walking2" | |
| 1272 | end | |
| 1273 | end | |
| 1274 | end)() | |
| 1275 | coroutine.wrap(function() | |
| 1276 | while appi do | |
| 1277 | wait() | |
| 1278 | settime = 0.05 | |
| 1279 | sine = sine + change | |
| 1280 | if position == "Jump2" and attacking == true and appi == true then | |
| 1281 | change = 1 | |
| 1282 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 1283 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 1284 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
| 1285 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 1286 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4) | |
| 1287 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 1288 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
| 1289 | elseif position == "Falling2" and attacking == true and appi == true then | |
| 1290 | change = 1 | |
| 1291 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 1292 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 1293 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
| 1294 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
| 1295 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2) | |
| 1296 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) | |
| 1297 | elseif position == "Idle2" and attacking == true and appi == true then | |
| 1298 | change = .4 | |
| 1299 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 1300 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 1301 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3) | |
| 1302 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
| 1303 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3) | |
| 1304 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 1305 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 1306 | elseif position == "Walking2" and attacking == true and appi == true then | |
| 1307 | change = .8 | |
| 1308 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 1309 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 1310 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3) | |
| 1311 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
| 1312 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.cos(25*math.cos(sine/8))),.3) | |
| 1313 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3) | |
| 1314 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3) | |
| 1315 | end | |
| 1316 | end | |
| 1317 | end)() | |
| 1318 | g1 = Instance.new("BodyGyro", Root)
| |
| 1319 | g1.D = 175 | |
| 1320 | g1.P = 20000 | |
| 1321 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 1322 | g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p) | |
| 1323 | for i = 1, 15 do | |
| 1324 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
| 1325 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,1.5,-.1),.5) | |
| 1326 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(10)),.3) | |
| 1327 | swait() | |
| 1328 | end | |
| 1329 | cardportal = Instance.new("Part", Torso)
| |
| 1330 | cardportal.Size = Vector3.new(0.5, 0.5, 0.5) | |
| 1331 | cardportal.Material = "Neon" | |
| 1332 | cardportal.BrickColor = BrickColor.new("White")
| |
| 1333 | cardportal.Transparency = 0 | |
| 1334 | cardportal.Anchored = true | |
| 1335 | cardportal.CanCollide = false | |
| 1336 | cardportalMESH = Instance.new("SpecialMesh", cardportal)
| |
| 1337 | cardportalMESH.MeshType = "Cylinder" | |
| 1338 | cardportalMESH.Scale = Vector3.new(.2,0.01,0.01) | |
| 1339 | cardportal.CFrame = CFrame.new(mouse.Hit.p) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)) | |
| 1340 | for i = 1, 10 do | |
| 1341 | cardportalMESH.Scale = cardportalMESH.Scale + Vector3.new(0,4,4) | |
| 1342 | swait() | |
| 1343 | end | |
| 1344 | bigzcard = Instance.new("Part",Torso)
| |
| 1345 | bigzcard.Material = "Neon" | |
| 1346 | bigzcard.Transparency = 0 | |
| 1347 | bigzcard.BrickColor = BrickColor.new("White")
| |
| 1348 | bigzcard.Size = Vector3.new(10, 15, 0.3) | |
| 1349 | bigzcard.CFrame = cardportal.CFrame * CFrame.new(-8,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)) | |
| 1350 | bigzcard.Anchored = true | |
| 1351 | SOUND(bigzcard,1888686669,6,false,1) | |
| 1352 | acer = Instance.new("Decal",bigzcard)
| |
| 1353 | acer.Texture = "rbxassetid://1881287656" | |
| 1354 | acer.Transparency = 0 | |
| 1355 | acer.Face = "Front" | |
| 1356 | ace2 = acer:Clone() | |
| 1357 | ace2.Parent = bigzcard | |
| 1358 | ace2.Face = "Back" | |
| 1359 | spinning = true | |
| 1360 | coroutine.wrap(function() | |
| 1361 | while spinning do | |
| 1362 | bigzcard.CFrame = bigzcard.CFrame * CFrame.Angles(0,math.rad(0+5),0) | |
| 1363 | swait() | |
| 1364 | end | |
| 1365 | end)() | |
| 1366 | for i = 1, 20 do | |
| 1367 | bigzcard.CFrame = bigzcard.CFrame * CFrame.new(0,-.9,0) | |
| 1368 | swait() | |
| 1369 | end | |
| 1370 | coroutine.wrap(function() | |
| 1371 | for i = 1, 10 do | |
| 1372 | cardportalMESH.Scale = cardportalMESH.Scale - Vector3.new(0,4,4) | |
| 1373 | swait() | |
| 1374 | end | |
| 1375 | cardportal:Remove() | |
| 1376 | end)() | |
| 1377 | wait(.7) | |
| 1378 | ace3 = Instance.new("Decal",bigzcard)
| |
| 1379 | ace3.Texture = "rbxassetid://1880203893" | |
| 1380 | ace3.Transparency = 1 | |
| 1381 | ace3.Face = "Front" | |
| 1382 | ace4 = ace3:Clone() | |
| 1383 | ace4.Parent = bigzcard | |
| 1384 | ace4.Face = "Back" | |
| 1385 | bigzcard2 = Instance.new("Part",Torso)
| |
| 1386 | bigzcard2.Material = "Neon" | |
| 1387 | bigzcard2.Transparency = 1 | |
| 1388 | bigzcard2.BrickColor = BrickColor.new("Really black")
| |
| 1389 | bigzcard2.Size = Vector3.new(10, 15, 0.29) | |
| 1390 | bigzcard2.CFrame = bigzcard.CFrame | |
| 1391 | bigzcard2.CanCollide = false | |
| 1392 | bigzcard2.Anchored = true | |
| 1393 | coroutine.wrap(function() | |
| 1394 | while spinning do | |
| 1395 | bigzcard2.CFrame = bigzcard2.CFrame * CFrame.Angles(0,math.rad(0+5),0) | |
| 1396 | swait() | |
| 1397 | end | |
| 1398 | end)() | |
| 1399 | blz = bl[math.random(1,#bl)] | |
| 1400 | woos = Instance.new("Sound",Torso)
| |
| 1401 | woos.SoundId = "rbxassetid://"..blz | |
| 1402 | woos.Volume = 4 | |
| 1403 | woos:Play() | |
| 1404 | for i = 1, 20 do | |
| 1405 | bigzcard2.Transparency = bigzcard2.Transparency - .05 | |
| 1406 | bigzcard.Transparency = bigzcard.Transparency + .05 | |
| 1407 | ace3.Transparency = ace3.Transparency - 0.05 | |
| 1408 | ace4.Transparency = ace4.Transparency - 0.05 | |
| 1409 | acer.Transparency = acer.Transparency + 0.05 | |
| 1410 | ace2.Transparency = ace2.Transparency + 0.05 | |
| 1411 | wait() | |
| 1412 | end | |
| 1413 | ace3.Parent = bigzcard2 | |
| 1414 | ace3.Face = "Front" | |
| 1415 | ace4.Parent = bigzcard2 | |
| 1416 | ace4.Face = "Back" | |
| 1417 | bigzcard:Remove() | |
| 1418 | spinning = false | |
| 1419 | blackholeactive = true | |
| 1420 | coroutine.wrap(function() | |
| 1421 | blackhole={}
| |
| 1422 | orbzfade={}
| |
| 1423 | for i = 1, 100 do | |
| 1424 | orbz = Instance.new("Part", Torso)
| |
| 1425 | orbz.Shape = "Ball" | |
| 1426 | orbz.Material = "Neon" | |
| 1427 | orbz.BrickColor = BrickColor.new("Really black")
| |
| 1428 | orbz.Size = Vector3.new(2,2,2) | |
| 1429 | orbz.Anchored = true | |
| 1430 | orbz.CanCollide = false | |
| 1431 | removeuseless:AddItem(orbz,1) | |
| 1432 | orbz.CFrame = bigzcard2.CFrame * CFrame.new(math.random(-25,25),math.random(-25,25),math.random(-25,25)) * CFrame.Angles(math.rad(-180,180),math.rad(-180,180),math.rad(-180,180)) | |
| 1433 | table.insert(blackhole,orbz) | |
| 1434 | table.insert(orbzfade,orbz) | |
| 1435 | for i,v in pairs(blackhole) do | |
| 1436 | v.CFrame = v.CFrame:lerp(CFrame.new(bigzcard2.Position),.05) | |
| 1437 | end | |
| 1438 | for i,v in pairs(orbzfade) do | |
| 1439 | v.Transparency = v.Transparency + 0.025 | |
| 1440 | end | |
| 1441 | swait() | |
| 1442 | end | |
| 1443 | end)() | |
| 1444 | coroutine.wrap(function() | |
| 1445 | while blackholeactive do | |
| 1446 | local Hit = damagealll(45,bigzcard2.Position) | |
| 1447 | for _,v in pairs(Hit) do | |
| 1448 | coroutine.wrap(function() | |
| 1449 | wait(.15) | |
| 1450 | if blackholeactive == false then return end | |
| 1451 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(.1,1))
| |
| 1452 | end)() | |
| 1453 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 1454 | torso.CFrame = torso.CFrame:lerp(CFrame.new(bigzcard2.Position),.1) | |
| 1455 | end | |
| 1456 | wait() | |
| 1457 | end | |
| 1458 | end)() | |
| 1459 | for i = 1, 100 do | |
| 1460 | bigzcard2.CFrame = bigzcard2.CFrame * CFrame.Angles(0,math.rad(0+20),0) | |
| 1461 | cataclysmics = Instance.new("Part", Torso)
| |
| 1462 | cataclysmics.Shape = "Ball" | |
| 1463 | cataclysmics.Material = "Neon" | |
| 1464 | cataclysmics.BrickColor = BrickColor.new("Really black")
| |
| 1465 | cataclysmics.Size = Vector3.new(11,11,11) | |
| 1466 | cataclysmics.Transparency = .3 | |
| 1467 | cataclysmics.Anchored = true | |
| 1468 | cataclysmics.CanCollide = false | |
| 1469 | cataclysmics.CFrame = CFrame.new(bigzcard2.Position) | |
| 1470 | table.insert(LessSize,cataclysmics) | |
| 1471 | table.insert(keyYtransparency,cataclysmics) | |
| 1472 | removeuseless:AddItem(cataclysmics,1) | |
| 1473 | swait() | |
| 1474 | end | |
| 1475 | coroutine.wrap(function() | |
| 1476 | for i = 1, 20 do | |
| 1477 | for i,v in pairs(orbzfade) do | |
| 1478 | v.Transparency = v.Transparency + 0.05 | |
| 1479 | end | |
| 1480 | swait() | |
| 1481 | end | |
| 1482 | end)() | |
| 1483 | explosiontable={}
| |
| 1484 | ringtable={}
| |
| 1485 | ringtable2={}
| |
| 1486 | soundboks = Instance.new("Part",Torso)
| |
| 1487 | soundboks.CanCollide = false | |
| 1488 | soundboks.Anchored = true | |
| 1489 | soundboks.Transparency = 1 | |
| 1490 | soundboks.CFrame = bigzcard2.CFrame | |
| 1491 | removeuseless:AddItem(soundboks,6) | |
| 1492 | SOUND(soundboks,472579737,6,false,1) | |
| 1493 | blackholeactive = false | |
| 1494 | bigzcard2:Remove() | |
| 1495 | Hit = damagealll(60,soundboks.Position) | |
| 1496 | for _,v in pairs(Hit) do | |
| 1497 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(36,55))
| |
| 1498 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 1499 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 1500 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 1501 | vel.velocity = CFrame.new(soundboks.Position,torso.Position).lookVector*200 | |
| 1502 | removeuseless:AddItem(vel,.1) | |
| 1503 | end | |
| 1504 | coroutine.wrap(function() | |
| 1505 | shockwave = Instance.new("Part", Torso)
| |
| 1506 | shockwave.Size = Vector3.new(1,1,1) | |
| 1507 | shockwave.CanCollide = false | |
| 1508 | shockwave.Anchored = true | |
| 1509 | shockwave.Transparency = 0 | |
| 1510 | shockwave.BrickColor = BrickColor.new("Really black")
| |
| 1511 | shockwave.CFrame = CFrame.new(soundboks.Position) * CFrame.new(0,-6,0) | |
| 1512 | shockwavemesh = Instance.new("SpecialMesh", shockwave)
| |
| 1513 | shockwavemesh.Scale = Vector3.new(5,2,5) | |
| 1514 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
| 1515 | shockwave2 = Instance.new("Part", Torso)
| |
| 1516 | shockwave2.Size = Vector3.new(1,1,1) | |
| 1517 | shockwave2.CanCollide = false | |
| 1518 | shockwave2.Anchored = true | |
| 1519 | shockwave2.Transparency = 0 | |
| 1520 | shockwave2.BrickColor = BrickColor.new("Really black")
| |
| 1521 | shockwave2.CFrame = CFrame.new(soundboks.Position) * CFrame.new(0,-6,0) | |
| 1522 | shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
| |
| 1523 | shockwavemesh2.Scale = Vector3.new(5,2,5) | |
| 1524 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
| 1525 | for i = 1, 40 do | |
| 1526 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+15),0) | |
| 1527 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0+8),0) | |
| 1528 | shockwave.Transparency = shockwave.Transparency + 0.025 | |
| 1529 | shockwave2.Transparency = shockwave2.Transparency + 0.025 | |
| 1530 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(9,.9,9) | |
| 1531 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,.8,8) | |
| 1532 | swait() | |
| 1533 | end | |
| 1534 | shockwave:Remove() | |
| 1535 | shockwave2:Remove() | |
| 1536 | end)() | |
| 1537 | for i = 1, 4 do | |
| 1538 | explosion = Instance.new("Part", Torso)
| |
| 1539 | explosion.Shape = "Ball" | |
| 1540 | explosion.Size = Vector3.new(1,1,1) | |
| 1541 | explosion.Transparency = 0 | |
| 1542 | explosion.CanCollide = false | |
| 1543 | explosion.Anchored = true | |
| 1544 | explosion.BrickColor = BrickColor.new("Really black")
| |
| 1545 | explosion.Material = "Neon" | |
| 1546 | explosion.CFrame = CFrame.new(bigzcard2.Position) | |
| 1547 | table.insert(ExtremeM,explosion) | |
| 1548 | table.insert(SlowlyFade,explosion) | |
| 1549 | removeuseless:AddItem(explosion,4) | |
| 1550 | ring = Instance.new("Part", Torso)
| |
| 1551 | ring.Size = Vector3.new(5, 5, 5) | |
| 1552 | ring.Transparency = 0 | |
| 1553 | ring.BrickColor = BrickColor.new("Really black")
| |
| 1554 | ring.Anchored = true | |
| 1555 | ring.CanCollide = false | |
| 1556 | ring.CFrame = bigzcard2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180))) | |
| 1557 | ringh = Instance.new("SpecialMesh", ring)
| |
| 1558 | ringh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1559 | ringh.Scale = Vector3.new(2, 2, .1) | |
| 1560 | table.insert(keyYsize,ringh) | |
| 1561 | table.insert(keyYtransparency,ring) | |
| 1562 | removeuseless:AddItem(ring,4) | |
| 1563 | swait() | |
| 1564 | end | |
| 1565 | wait(1.2) | |
| 1566 | clean() | |
| 1567 | keyYsize={}
| |
| 1568 | keyYtransparency={}
| |
| 1569 | blackholev = false | |
| 1570 | appi = false | |
| 1571 | g1:Remove() | |
| 1572 | ws = 10 | |
| 1573 | attacking = false | |
| 1574 | debounce = false | |
| 1575 | end | |
| 1576 | end) | |
| 1577 | ||
| 1578 | mouse.KeyDown:connect(function(Press) | |
| 1579 | Press=Press:lower() | |
| 1580 | if Press=='t' then | |
| 1581 | if levitate then | |
| 1582 | if tauntdebounce then return end | |
| 1583 | tauntdebounce = true | |
| 1584 | laughing = true | |
| 1585 | coroutine.wrap(function() | |
| 1586 | while laughing do | |
| 1587 | local b1 = Instance.new("BillboardGui",Head)
| |
| 1588 | b1.Size = UDim2.new(0,4,0,1.6) | |
| 1589 | b1.StudsOffset = Vector3.new(0,0,0) | |
| 1590 | b1.Name = "laff" | |
| 1591 | b1.AlwaysOnTop = true | |
| 1592 | b1.Adornee = Head | |
| 1593 | removeuseless:AddItem(b1,3) | |
| 1594 | local b2 = Instance.new("TextLabel",b1)
| |
| 1595 | b2.BackgroundTransparency = 1 | |
| 1596 | b2.Text = "HaHaHaHaHaHa..." | |
| 1597 | b2.Font = "Garamond" | |
| 1598 | b2.TextSize = 0 | |
| 1599 | b2.Name = "lafftext" | |
| 1600 | b2.TextStrokeTransparency = 0 | |
| 1601 | b2.TextColor3 = BrickColor.new("Really red").Color
| |
| 1602 | b2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 1603 | b2.Size = UDim2.new(1,0,.5,0) | |
| 1604 | table.insert(laughingtable,b2) | |
| 1605 | removeuseless:AddItem(b1,2) | |
| 1606 | coroutine.wrap(function() | |
| 1607 | if zxc then return end | |
| 1608 | zxc = true | |
| 1609 | while true do | |
| 1610 | swait() | |
| 1611 | for i,v in pairs(Head:GetChildren()) do | |
| 1612 | if v.Name == "laff" then | |
| 1613 | v.StudsOffset = v.StudsOffset + Vector3.new(math.random(-2,2),.3,math.random(-2,2)) | |
| 1614 | end | |
| 1615 | end | |
| 1616 | for i,v in pairs(laughingtable) do | |
| 1617 | v.TextTransparency = v.TextTransparency + .025 | |
| 1618 | v.TextStrokeTransparency = v.TextStrokeTransparency + 0.25 | |
| 1619 | v.TextSize = v.TextSize + 2 | |
| 1620 | v.Rotation = v.Rotation + .1 | |
| 1621 | end | |
| 1622 | end | |
| 1623 | end)() | |
| 1624 | swait(10) | |
| 1625 | end | |
| 1626 | end)() | |
| 1627 | laugh = laughs[math.random(1,#laughs)] | |
| 1628 | laughy = Instance.new("Sound",Head)
| |
| 1629 | laughy.SoundId = "rbxassetid://"..laugh | |
| 1630 | laughy.Volume = 10 | |
| 1631 | laughy:Play() | |
| 1632 | wait(1) | |
| 1633 | wait(laughy.TimeLength) | |
| 1634 | laughing = false | |
| 1635 | laughy:Remove() | |
| 1636 | tauntdebounce = false | |
| 1637 | else | |
| 1638 | if mouse.Target ~= nil then | |
| 1639 | if debounce then return end | |
| 1640 | attacking = true | |
| 1641 | ghost() | |
| 1642 | tps = Instance.new("Sound", Torso)
| |
| 1643 | tps.Volume = 5 | |
| 1644 | tps.SoundId = "rbxassetid://1894958339" | |
| 1645 | tps:Play() | |
| 1646 | removeuseless:AddItem(tps,2) | |
| 1647 | g1 = Instance.new("BodyGyro", Root)
| |
| 1648 | g1.D = 175 | |
| 1649 | g1.P = 20000 | |
| 1650 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 1651 | g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p) | |
| 1652 | removeuseless:AddItem(g1,.05) | |
| 1653 | Root.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,3.3,0) | |
| 1654 | wait(.1) | |
| 1655 | attacking = false | |
| 1656 | debounce = false | |
| 1657 | end | |
| 1658 | end | |
| 1659 | end | |
| 1660 | end) | |
| 1661 | ||
| 1662 | mouse.KeyDown:connect(function(Press) | |
| 1663 | Press=Press:lower() | |
| 1664 | if Press=='q' then | |
| 1665 | if levitate then return end | |
| 1666 | if mouse.Target ~= nil and mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health ~= 0 then
| |
| 1667 | if debounce then return end | |
| 1668 | debounce = true | |
| 1669 | attacking = true | |
| 1670 | appi = true | |
| 1671 | ws = 0 | |
| 1672 | coroutine.wrap(function() | |
| 1673 | while appi do | |
| 1674 | wait() | |
| 1675 | if Root.Velocity.y > 1 and attacking == true then | |
| 1676 | position = "Jump2" | |
| 1677 | elseif Root.Velocity.y < -1 and attacking == true then | |
| 1678 | position = "Falling2" | |
| 1679 | elseif Root.Velocity.Magnitude < 2 and attacking == true then | |
| 1680 | position = "Idle2" | |
| 1681 | elseif Root.Velocity.Magnitude > 2 and attacking == true then | |
| 1682 | position = "Walking2" | |
| 1683 | end | |
| 1684 | end | |
| 1685 | end)() | |
| 1686 | coroutine.wrap(function() | |
| 1687 | while appi do | |
| 1688 | wait() | |
| 1689 | settime = 0.05 | |
| 1690 | sine = sine + change | |
| 1691 | if position == "Jump2" and attacking == true and appi == true then | |
| 1692 | change = 1 | |
| 1693 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 1694 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 1695 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
| 1696 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 1697 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4) | |
| 1698 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 1699 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
| 1700 | elseif position == "Falling2" and attacking == true and appi == true then | |
| 1701 | change = 1 | |
| 1702 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 1703 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 1704 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
| 1705 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
| 1706 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2) | |
| 1707 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2) | |
| 1708 | elseif position == "Idle2" and attacking == true and appi == true then | |
| 1709 | change = .4 | |
| 1710 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 1711 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 1712 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3) | |
| 1713 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
| 1714 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 1715 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 1716 | elseif position == "Walking2" and attacking == true and appi == true then | |
| 1717 | change = .8 | |
| 1718 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 1719 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 1720 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3) | |
| 1721 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
| 1722 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.cos(25*math.cos(sine/8))),.3) | |
| 1723 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3) | |
| 1724 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3) | |
| 1725 | end | |
| 1726 | end | |
| 1727 | end)() | |
| 1728 | enemyhum = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1729 | ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso")
| |
| 1730 | EHead = enemyhum.Parent:FindFirstChild("Head")
| |
| 1731 | g1 = Instance.new("BodyGyro", Root)
| |
| 1732 | g1.D = 175 | |
| 1733 | g1.P = 20000 | |
| 1734 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 1735 | brick = Instance.new("Part",Torso)
| |
| 1736 | brick.Anchored = true | |
| 1737 | brick.CanCollide = false | |
| 1738 | brick.Material = "Neon" | |
| 1739 | brick.Transparency = 1 | |
| 1740 | brick.BrickColor = BrickColor.new("White")
| |
| 1741 | brick.Size = Vector3.new(8,.3,12) | |
| 1742 | brick.CFrame = Root.CFrame * CFrame.new(math.random(-15,15),-3,math.random(-15,15)) | |
| 1743 | SOUND(brick,1888686669,6,false,1.5) | |
| 1744 | ace = aces[math.random(1,#aces)] | |
| 1745 | acer = Instance.new("Decal",brick)
| |
| 1746 | acer.Texture = "rbxassetid://1898092341" | |
| 1747 | acer.Transparency = 1 | |
| 1748 | acer.Face = "Top" | |
| 1749 | coroutine.wrap(function() | |
| 1750 | for i = 1, 20 do | |
| 1751 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.2) | |
| 1752 | brick.Transparency = brick.Transparency - .05 | |
| 1753 | acer.Transparency = acer.Transparency - .1 | |
| 1754 | swait() | |
| 1755 | end | |
| 1756 | end)() | |
| 1757 | ETorso.Anchored = true | |
| 1758 | EHead.Anchored = true | |
| 1759 | for i = 1, 25 do | |
| 1760 | swait() | |
| 1761 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.2) | |
| 1762 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2,0) * CFrame.Angles(0,0,0),.3) | |
| 1763 | LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
| 1764 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3) | |
| 1765 | brick.CFrame = brick.CFrame:lerp(CFrame.new(ETorso.Position) * CFrame.new(0,-3,0) * CFrame.Angles(0,math.rad(0+10),0),.2) | |
| 1766 | end | |
| 1767 | SOUND(brick,472214107,6,false,2) | |
| 1768 | coroutine.wrap(function() | |
| 1769 | for i = 1, 10 do | |
| 1770 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.2) | |
| 1771 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, .8, 0.4) * CFrame.Angles(math.rad(-60 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3) | |
| 1772 | swait() | |
| 1773 | end | |
| 1774 | end)() | |
| 1775 | shockwave = Instance.new("Part", Torso)
| |
| 1776 | shockwave.Size = Vector3.new(1,1,1) | |
| 1777 | shockwave.CanCollide = false | |
| 1778 | shockwave.Anchored = true | |
| 1779 | shockwave.Transparency = 0 | |
| 1780 | shockwave.BrickColor = BrickColor.new("White")
| |
| 1781 | shockwave.CFrame = CFrame.new(brick.Position) | |
| 1782 | shockwavemesh = Instance.new("SpecialMesh", shockwave)
| |
| 1783 | shockwavemesh.Scale = Vector3.new(1,1,1) | |
| 1784 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
| 1785 | removeuseless:AddItem(shockwave,4) | |
| 1786 | shockwave2 = Instance.new("Part", Torso)
| |
| 1787 | shockwave2.Size = Vector3.new(1,1,1) | |
| 1788 | shockwave2.CanCollide = false | |
| 1789 | shockwave2.Anchored = true | |
| 1790 | shockwave2.Transparency = 0 | |
| 1791 | shockwave2.BrickColor = BrickColor.new("White")
| |
| 1792 | shockwave2.CFrame = CFrame.new(brick.Position) | |
| 1793 | shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
| |
| 1794 | shockwavemesh2.Scale = Vector3.new(1,1,1) | |
| 1795 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
| 1796 | removeuseless:AddItem(shockwave2,4) | |
| 1797 | for i = 1, 35 do | |
| 1798 | swait() | |
| 1799 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(2,.1,2) | |
| 1800 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+12),0) | |
| 1801 | shockwave.Transparency = shockwave.Transparency + .05 | |
| 1802 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(.5,.1,.5) | |
| 1803 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0+4),0) | |
| 1804 | shockwave2.Transparency = shockwave2.Transparency + .03 | |
| 1805 | EHead.CFrame = EHead.CFrame * CFrame.new(0,-.20,0) | |
| 1806 | ETorso.CFrame = ETorso.CFrame * CFrame.new(0,-.25,0) | |
| 1807 | end | |
| 1808 | for i = 1, 8 do | |
| 1809 | brick.Size = brick.Size + Vector3.new(1.5,0,2.5) | |
| 1810 | swait() | |
| 1811 | end | |
| 1812 | n = 0 | |
| 1813 | SOUND(brick,54111471,6,false,1) | |
| 1814 | for i = 1, 40 do | |
| 1815 | n = n + 6 | |
| 1816 | brick.Transparency = brick.Transparency + .025 | |
| 1817 | acer.Transparency = acer.Transparency + .075 | |
| 1818 | brick.CFrame = brick.CFrame * CFrame.Angles(0,math.rad(n),0) | |
| 1819 | brick.Size = brick.Size - Vector3.new(1.5,.025,2.5) | |
| 1820 | swait() | |
| 1821 | end | |
| 1822 | ws = 10 | |
| 1823 | brick:Remove() | |
| 1824 | enemyhum.Parent:Remove() | |
| 1825 | attacking = false | |
| 1826 | removeuseless:AddItem(g1,0.001) | |
| 1827 | debounce = false | |
| 1828 | appi = false | |
| 1829 | end | |
| 1830 | end | |
| 1831 | end) | |
| 1832 | ||
| 1833 | mouse.KeyDown:connect(function(Press) | |
| 1834 | Press=Press:lower() | |
| 1835 | if Press=='p' then | |
| 1836 | if levitate then return end | |
| 1837 | if blocking then | |
| 1838 | if blockedoff then return end | |
| 1839 | clickallowance = false | |
| 1840 | appi = false | |
| 1841 | attacking = true | |
| 1842 | blocking = false | |
| 1843 | throwing = true | |
| 1844 | ws = 0 | |
| 1845 | n = 0 | |
| 1846 | blockcard.CanCollide = false | |
| 1847 | for i = 1, 35 do | |
| 1848 | n = n + 20 | |
| 1849 | blockcard.CFrame = Root.CFrame * CFrame.new(0,3,-5) * CFrame.Angles(0,math.rad(n),0) | |
| 1850 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(25), math.rad(0)), 0.3) | |
| 1851 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-50 - 2 * math.sin(sine/12)), math.rad(12), math.rad(9)), 0.3) | |
| 1852 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-.65, .6, 1) * CFrame.Angles(0,0,0),.3) | |
| 1853 | swait() | |
| 1854 | end | |
| 1855 | blockcard.CFrame = Root.CFrame * CFrame.new(0,3,-5 + -1) * CFrame.Angles(0,0,0) | |
| 1856 | blockcard.CanCollide = false | |
| 1857 | locater1 = Instance.new("Part",blockcard)
| |
| 1858 | locater1.Size = Vector3.new(1,1,1) | |
| 1859 | locater1.CanCollide = false | |
| 1860 | locater1.Anchored = true | |
| 1861 | locater1.Transparency = 1 | |
| 1862 | locater2 = Instance.new("Part",blockcard)
| |
| 1863 | locater2.Size = Vector3.new(1,1,1) | |
| 1864 | locater2.CanCollide = false | |
| 1865 | locater2.Transparency = 1 | |
| 1866 | locater2.Anchored = true | |
| 1867 | locater3 = Instance.new("Part",blockcard)
| |
| 1868 | locater3.Size = Vector3.new(1,1,1) | |
| 1869 | locater3.Transparency = 1 | |
| 1870 | locater3.CFrame = blockcard.CFrame * CFrame.Angles(math.rad(90),0,0) | |
| 1871 | locater3.CanCollide = false | |
| 1872 | locater3.Anchored = true | |
| 1873 | fushfush = Instance.new("Sound",blockcard)
| |
| 1874 | fushfush.SoundId = "rbxassetid://288641686" | |
| 1875 | fushfush.Volume = 8 | |
| 1876 | fushfush:Play() | |
| 1877 | boosh:Play() | |
| 1878 | coroutine.wrap(function() | |
| 1879 | n = 0 | |
| 1880 | for i = 1, 35 do | |
| 1881 | n = n + 10 | |
| 1882 | shockwave = Instance.new("Part", Torso)
| |
| 1883 | shockwave.Size = Vector3.new(1,1,1) | |
| 1884 | shockwave.CanCollide = false | |
| 1885 | shockwave.Anchored = true | |
| 1886 | shockwave.Transparency = .5 | |
| 1887 | shockwave.BrickColor = BrickColor.new("White")
| |
| 1888 | shockwave.CFrame = locater3.CFrame | |
| 1889 | shockwavemesh = Instance.new("SpecialMesh", shockwave)
| |
| 1890 | shockwavemesh.Scale = Vector3.new(15,.7,15) | |
| 1891 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
| 1892 | shockwave.CFrame = locater3.CFrame * CFrame.Angles(math.rad(0),math.rad(1),0) | |
| 1893 | removeuseless:AddItem(shockwave,1) | |
| 1894 | table.insert(lolzor2,shockwave) | |
| 1895 | for i,v in pairs(lolzor2) do | |
| 1896 | v.Transparency = v.Transparency + .1 | |
| 1897 | v.CFrame = v.CFrame * CFrame.Angles(math.rad(0),math.rad(n),0) | |
| 1898 | end | |
| 1899 | swait() | |
| 1900 | end | |
| 1901 | end)() | |
| 1902 | for i = 1, 35 do | |
| 1903 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3) | |
| 1904 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) | |
| 1905 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(-20), math.rad(4)), 0.3) | |
| 1906 | fushfush.Volume = fushfush.Volume - .2 | |
| 1907 | Hit = damagealll(20,blockcard.Position) | |
| 1908 | for _,v in pairs(Hit) do | |
| 1909 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(7,12))
| |
| 1910 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 1911 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 1912 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 1913 | vel.velocity = CFrame.new(blockcard.Position,torso.Position).lookVector*120 | |
| 1914 | removeuseless:AddItem(vel,.1) | |
| 1915 | end | |
| 1916 | locater1.CFrame = blockcard.CFrame * CFrame.new(-5,-6,0) | |
| 1917 | locater3.CFrame = blockcard.CFrame * CFrame.new(0,0,-1) * CFrame.Angles(math.rad(90),0,0) | |
| 1918 | locater2.CFrame = blockcard.CFrame * CFrame.new(5,-6,0) | |
| 1919 | grassblocks = Instance.new("Part",Torso)
| |
| 1920 | grassblocks.Size = Vector3.new(4,4,4) | |
| 1921 | grassblocks.Material = "Grass" | |
| 1922 | grassblocks.Anchored = true | |
| 1923 | grassblocks.BrickColor = BrickColor.new("Bright green")
| |
| 1924 | grassblocks.CFrame = locater1.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 1925 | removeuseless:AddItem(grassblocks,5) | |
| 1926 | grassblocks2 = Instance.new("Part",Torso)
| |
| 1927 | grassblocks2.Size = Vector3.new(4,4,4) | |
| 1928 | grassblocks2.Material = "Grass" | |
| 1929 | grassblocks2.Anchored = true | |
| 1930 | grassblocks2.BrickColor = BrickColor.new("Bright green")
| |
| 1931 | grassblocks2.CFrame = locater2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 1932 | removeuseless:AddItem(grassblocks2,5) | |
| 1933 | blockcardshadow = Instance.new("Part",Torso)
| |
| 1934 | blockcardshadow.Transparency = .5 | |
| 1935 | blockcardshadow.Anchored = true | |
| 1936 | blockcardshadow.Material = "Neon" | |
| 1937 | blockcardshadow.BrickColor = BrickColor.new("White")
| |
| 1938 | blockcardshadow.Size = Vector3.new(8, 13, 0.3) | |
| 1939 | blockcardshadow.CanCollide = false | |
| 1940 | blockcardshadow.CFrame = blockcard.CFrame | |
| 1941 | removeuseless:AddItem(blockcardshadow,2) | |
| 1942 | table.insert(lolzor,blockcardshadow) | |
| 1943 | for i,v in pairs(lolzor) do | |
| 1944 | v.Transparency = v.Transparency + 0.05 | |
| 1945 | end | |
| 1946 | blockcard.CFrame = blockcard.CFrame * CFrame.new(0,0,-4) | |
| 1947 | swait() | |
| 1948 | end | |
| 1949 | blockcard.Name = "Getthisshitoutofhere" | |
| 1950 | for i = 1, 10 do | |
| 1951 | blockcard.CFrame = blockcard.CFrame * CFrame.new(0,0,-2) | |
| 1952 | blockcard.Transparency = blockcard.Transparency + .1 | |
| 1953 | acer.Transparency = blockcard.Transparency | |
| 1954 | ace2.Transparency = blockcard.Transparency | |
| 1955 | for i,v in pairs(lolzor) do | |
| 1956 | v.Transparency = v.Transparency + .05 | |
| 1957 | end | |
| 1958 | for i,v in pairs(lolzor2) do | |
| 1959 | v.Transparency = v.Transparency + .1 | |
| 1960 | end | |
| 1961 | swait() | |
| 1962 | end | |
| 1963 | lolzor={}
| |
| 1964 | lolzor2={}
| |
| 1965 | attacking = false | |
| 1966 | debounce = false | |
| 1967 | blocking = false | |
| 1968 | throwing = false | |
| 1969 | fushfush:Remove() | |
| 1970 | clickallowance = false | |
| 1971 | appi = false | |
| 1972 | blockcard:Remove() | |
| 1973 | g1:Remove() | |
| 1974 | ws = 10 | |
| 1975 | else | |
| 1976 | if debounce then return end | |
| 1977 | if throwing then return end | |
| 1978 | debounce = true | |
| 1979 | ws = 10 | |
| 1980 | attacking = true | |
| 1981 | blocking = true | |
| 1982 | boosh = Instance.new("Sound",nil)
| |
| 1983 | boosh.SoundId = "rbxassetid://413682983" | |
| 1984 | boosh.Volume = 6 | |
| 1985 | appi = true | |
| 1986 | coroutine.wrap(function() | |
| 1987 | while appi do | |
| 1988 | wait() | |
| 1989 | if Root.Velocity.y > 1 and attacking == true then | |
| 1990 | position = "Jump2" | |
| 1991 | elseif Root.Velocity.y < -1 and attacking == true then | |
| 1992 | position = "Falling2" | |
| 1993 | elseif Root.Velocity.Magnitude < 2 and attacking == true then | |
| 1994 | position = "Idle2" | |
| 1995 | elseif Root.Velocity.Magnitude > 2 and attacking == true then | |
| 1996 | position = "Walking2" | |
| 1997 | end | |
| 1998 | end | |
| 1999 | end)() | |
| 2000 | coroutine.wrap(function() | |
| 2001 | while appi do | |
| 2002 | wait() | |
| 2003 | settime = 0.05 | |
| 2004 | sine = sine + change | |
| 2005 | if position == "Jump2" and attacking == true and appi == true then | |
| 2006 | change = 1 | |
| 2007 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 2008 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 2009 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
| 2010 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 2011 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4) | |
| 2012 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 2013 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
| 2014 | elseif position == "Falling2" and attacking == true and appi == true then | |
| 2015 | change = 1 | |
| 2016 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 2017 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 2018 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
| 2019 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
| 2020 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2) | |
| 2021 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2) | |
| 2022 | elseif position == "Idle2" and attacking == true and appi == true then | |
| 2023 | change = .4 | |
| 2024 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 2025 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 2026 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3) | |
| 2027 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
| 2028 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 2029 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 2030 | elseif position == "Walking2" and attacking == true and appi == true then | |
| 2031 | change = .8 | |
| 2032 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 2033 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 2034 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3) | |
| 2035 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
| 2036 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.cos(25*math.cos(sine/8))),.3) | |
| 2037 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3) | |
| 2038 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3) | |
| 2039 | end | |
| 2040 | end | |
| 2041 | end)() | |
| 2042 | blockcard = Instance.new("Part",Torso)
| |
| 2043 | blockcard.Material = "Neon" | |
| 2044 | blockcard.Transparency = 1 | |
| 2045 | blockcard.BrickColor = BrickColor.new("White")
| |
| 2046 | blockcard.Size = Vector3.new(8, 13, 0.3) | |
| 2047 | blockcard.CFrame = Root.CFrame * CFrame.new(0,2,-5) | |
| 2048 | blockcard.Anchored = true | |
| 2049 | boosh.Parent = blockcard | |
| 2050 | SOUND(blockcard,236989198,6,false,1) | |
| 2051 | ace = aces[math.random(1,#aces)] | |
| 2052 | acer = Instance.new("Decal",blockcard)
| |
| 2053 | acer.Texture = "rbxassetid://"..ace | |
| 2054 | acer.Transparency = 1 | |
| 2055 | acer.Face = "Front" | |
| 2056 | ace2 = acer:Clone() | |
| 2057 | ace2.Parent = blockcard | |
| 2058 | ace2.Face = "Back" | |
| 2059 | coroutine.wrap(function() | |
| 2060 | for i = 1, 20 do | |
| 2061 | blockcard.Transparency = blockcard.Transparency - 0.05 | |
| 2062 | acer.Transparency = blockcard.Transparency | |
| 2063 | ace2.Transparency = blockcard.Transparency | |
| 2064 | swait() | |
| 2065 | end | |
| 2066 | clickallowance = true | |
| 2067 | end)() | |
| 2068 | g1 = Instance.new("BodyGyro", Root)
| |
| 2069 | g1.D = 175 | |
| 2070 | g1.P = 20000 | |
| 2071 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 2072 | coroutine.wrap(function() | |
| 2073 | while blocking do | |
| 2074 | if not blockedoff then | |
| 2075 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2076 | blockcard.CFrame = Root.CFrame * CFrame.new(0,3,-5) | |
| 2077 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
| 2078 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
| 2079 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3) | |
| 2080 | end | |
| 2081 | swait() | |
| 2082 | end | |
| 2083 | end)() | |
| 2084 | wait(1) | |
| 2085 | mouse.Button1Down:connect(function() | |
| 2086 | if throwing then return end | |
| 2087 | if not clickallowance then return end | |
| 2088 | clickallowance = false | |
| 2089 | blockedoff = true | |
| 2090 | ws = 0 | |
| 2091 | for i = 1, 15 do | |
| 2092 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(25), math.rad(0)), 0.3) | |
| 2093 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-50 - 2 * math.sin(sine/12)), math.rad(12), math.rad(9)), 0.3) | |
| 2094 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-.65, .6, 1) * CFrame.Angles(0,0,0),.3) | |
| 2095 | swait() | |
| 2096 | end | |
| 2097 | boosh:Play() | |
| 2098 | hitdebounce = false | |
| 2099 | blockcard.Touched:connect(function(hit) | |
| 2100 | if hit.Parent:IsA("Part") then
| |
| 2101 | elseif hit.Parent:IsA("SpecialMesh") then
| |
| 2102 | elseif hit.Parent.Name == game.Players.LocalPlayer.Name then | |
| 2103 | elseif hit.Parent:findFirstChildOfClass("Humanoid") then
| |
| 2104 | for i,v in pairs(hit.Parent:GetChildren()) do | |
| 2105 | Slachtoffer = v.Parent:FindFirstChildOfClass("Humanoid")
| |
| 2106 | if hitdebounce then return end | |
| 2107 | hitdebounce = true | |
| 2108 | vel = Instance.new("BodyVelocity",hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso"))
| |
| 2109 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 2110 | if Slachtoffer.RigType == Enum.HumanoidRigType.R15 then | |
| 2111 | tors = hit.Parent:FindFirstChild("UpperTorso")
| |
| 2112 | else | |
| 2113 | tors = hit.Parent:FindFirstChild("Torso")
| |
| 2114 | end | |
| 2115 | vel.velocity = CFrame.new(Root.Position,tors.Position).lookVector*120 | |
| 2116 | removeuseless:AddItem(vel,.1) | |
| 2117 | Slachtoffer:TakeDamage(math.random(23,44)) | |
| 2118 | end | |
| 2119 | end | |
| 2120 | end) | |
| 2121 | for i = 1, 10 do | |
| 2122 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3) | |
| 2123 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) | |
| 2124 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(-20), math.rad(4)), 0.3) | |
| 2125 | blockcard.CFrame = blockcard.CFrame * CFrame.new(0,0,0-1) | |
| 2126 | swait() | |
| 2127 | end | |
| 2128 | for i = 1, 10 do | |
| 2129 | blockcard.CFrame = blockcard.CFrame * CFrame.new(0,0,0+1) | |
| 2130 | swait() | |
| 2131 | end | |
| 2132 | hitdebounce = true | |
| 2133 | ws = 10 | |
| 2134 | clickallowance = true | |
| 2135 | blockedoff = false | |
| 2136 | end) | |
| 2137 | end | |
| 2138 | end | |
| 2139 | end) | |
| 2140 | ||
| 2141 | ||
| 2142 | mouse.KeyDown:connect(function(Press) | |
| 2143 | Press=Press:lower() | |
| 2144 | if Press=='f' then | |
| 2145 | if debounce then return end | |
| 2146 | if notallowedtransform then return end | |
| 2147 | debounce = true | |
| 2148 | if levitate then | |
| 2149 | levitate = false | |
| 2150 | mjester.VertexColor = Vector3.new(1, 1, 1) | |
| 2151 | glow.Transparency = 1 | |
| 2152 | blastwave = Instance.new("Part",Torso)
| |
| 2153 | blastwave.CFrame = Torso.CFrame | |
| 2154 | blastwave.Anchored = true | |
| 2155 | blastwave.Material = "Neon" | |
| 2156 | blastwave.CanCollide = false | |
| 2157 | blastwave.Shape = "Ball" | |
| 2158 | blastwave.Size = Vector3.new(3,3,3) | |
| 2159 | coroutine.wrap(function() | |
| 2160 | for i = 1, 20 do | |
| 2161 | levitatewave.Transparency = levitatewave.Transparency + 0.05 | |
| 2162 | levitatewave2.Transparency = levitatewave2.Transparency + 0.05 | |
| 2163 | blastwave.Size = blastwave.Size + Vector3.new(2,2,2) | |
| 2164 | blastwave.Transparency = blastwave.Transparency + 0.05 | |
| 2165 | swait() | |
| 2166 | end | |
| 2167 | blastwave:Remove() | |
| 2168 | levitatewave2:Remove() | |
| 2169 | levitatewave:Remove() | |
| 2170 | end)() | |
| 2171 | ws = 10 | |
| 2172 | notallowedtransform = true | |
| 2173 | attacking = true | |
| 2174 | coroutine.wrap(function() | |
| 2175 | for i = 1, 10 do | |
| 2176 | for i,v in pairs(LeftArm:GetChildren()) do if v.Name == lmagic.Name then | |
| 2177 | v.Transparency = v.Transparency + 0.1 | |
| 2178 | end | |
| 2179 | end | |
| 2180 | for i,v in pairs(RightArm:GetChildren()) do if v.Name == rmagic.Name then | |
| 2181 | v.Transparency = v.Transparency + 0.1 | |
| 2182 | end | |
| 2183 | end | |
| 2184 | wait() | |
| 2185 | end | |
| 2186 | end)() | |
| 2187 | doomtheme.SoundId = "rbxassetid://1843358057" | |
| 2188 | jesterWeld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
| 2189 | wait(0.000001) | |
| 2190 | jesterWeld.C0 = jester.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(0),math.rad(90),0) | |
| 2191 | mjester.Scale = Vector3.new(1.1, 1.1, 1.1) | |
| 2192 | mjester.MeshId,mjester.TextureId = 'rbxassetid://1241662062','rbxassetid://1241662395' | |
| 2193 | ||
| 2194 | mMask.Scale = Vector3.new(0.13, 0.13, 0.1) | |
| 2195 | mMask.MeshId,mMask.TextureId = 'http://www.roblox.com/asset/?id=5158270','http://www.roblox.com/asset/?id=9543585' | |
| 2196 | maskweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
| 2197 | wait(0.000001) | |
| 2198 | maskweld.C0 = CFrame.new(0,-.555,0) * CFrame.Angles(math.rad(90),0,0) | |
| 2199 | ||
| 2200 | eyo1 = Instance.new("Part",Head)
| |
| 2201 | eyo1.BrickColor = BrickColor.new("White")
| |
| 2202 | eyo1.Material = "Neon" | |
| 2203 | eyo1.Shape = "Ball" | |
| 2204 | eyo1.Name = "eyo1" | |
| 2205 | eyo1.CanCollide = false | |
| 2206 | eyo1.Size = Vector3.new(0.33, 0.33, 0.33) | |
| 2207 | eyo1weld = weldBetween(eyo1,Head) | |
| 2208 | eyo1weld.C0 = CFrame.new(.215,-.05,.52) | |
| 2209 | ||
| 2210 | light = Instance.new("PointLight", eyo1)
| |
| 2211 | light.Color = Color3.new(1,1,1) | |
| 2212 | light.Range = 3 | |
| 2213 | light.Brightness = 4 | |
| 2214 | light.Enabled = true | |
| 2215 | ||
| 2216 | eyo2 = Instance.new("Part",Head)
| |
| 2217 | eyo2.BrickColor = BrickColor.new("White")
| |
| 2218 | eyo2.Material = "Neon" | |
| 2219 | eyo2.Shape = "Ball" | |
| 2220 | eyo2.Name = "eyo2" | |
| 2221 | eyo2.CanCollide = false | |
| 2222 | eyo2.Size = Vector3.new(0.33, 0.33, 0.33) | |
| 2223 | eyo2weld = weldBetween(eyo2,Head) | |
| 2224 | eyo2weld.C0 = CFrame.new(-.215,-.05,.52) | |
| 2225 | ||
| 2226 | light2 = Instance.new("PointLight", eyo2)
| |
| 2227 | light2.Color = Color3.new(1,1,1) | |
| 2228 | light2.Range = 3 | |
| 2229 | light2.Brightness = 4 | |
| 2230 | light2.Enabled = true | |
| 2231 | ||
| 2232 | Character.Shirt.ShirtTemplate = "rbxassetid://676428254" | |
| 2233 | Character.Pants.PantsTemplate = "rbxassetid://676428351" | |
| 2234 | hum.HipHeight = 0 | |
| 2235 | ws = 10 | |
| 2236 | debounce = false | |
| 2237 | attacking = false | |
| 2238 | coroutine.wrap(function() | |
| 2239 | wait(3) | |
| 2240 | notallowedtransform = false | |
| 2241 | end)() | |
| 2242 | else | |
| 2243 | ws = 50 | |
| 2244 | notallowedtransform = true | |
| 2245 | levitate = true | |
| 2246 | ws = 50 | |
| 2247 | glow.Transparency = 0 | |
| 2248 | eyo1:Remove() | |
| 2249 | eyo2:Remove() | |
| 2250 | coroutine.wrap(function() | |
| 2251 | while levitate do | |
| 2252 | for i,v in pairs(Head:GetChildren()) do | |
| 2253 | if v.Name == "eyo1" or v.Name == "eyo2" then | |
| 2254 | v:Remove() | |
| 2255 | end | |
| 2256 | end | |
| 2257 | wait() | |
| 2258 | end | |
| 2259 | end)() | |
| 2260 | mnb = 0 | |
| 2261 | levitatewave = Instance.new("Part", Torso)
| |
| 2262 | levitatewave.Size = Vector3.new(1,1,1) | |
| 2263 | levitatewave.CanCollide = false | |
| 2264 | levitatewave.Anchored = true | |
| 2265 | levitatewave.Transparency = .5 | |
| 2266 | levitatewave.BrickColor = BrickColor.new("Really black")
| |
| 2267 | levitatewave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0) | |
| 2268 | levitatewavemesh = Instance.new("SpecialMesh", levitatewave)
| |
| 2269 | levitatewavemesh.Scale = Vector3.new(2.5,.3,2.5) | |
| 2270 | levitatewavemesh.MeshId = "rbxassetid://20329976" | |
| 2271 | levitatewave2 = Instance.new("Part", Torso)
| |
| 2272 | levitatewave2.Size = Vector3.new(1,1,1) | |
| 2273 | levitatewave2.CanCollide = false | |
| 2274 | levitatewave2.Anchored = true | |
| 2275 | levitatewave2.Transparency = .5 | |
| 2276 | levitatewave2.BrickColor = BrickColor.new("Really red")
| |
| 2277 | levitatewave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0) | |
| 2278 | levitatewavemesh2 = Instance.new("SpecialMesh", levitatewave2)
| |
| 2279 | levitatewavemesh2.Scale = Vector3.new(2,.4,2) | |
| 2280 | levitatewavemesh2.MeshId = "rbxassetid://20329976" | |
| 2281 | blastwave = Instance.new("Part",Torso)
| |
| 2282 | blastwave.CFrame = Torso.CFrame | |
| 2283 | blastwave.Anchored = true | |
| 2284 | blastwave.Material = "Neon" | |
| 2285 | blastwave.CanCollide = false | |
| 2286 | blastwave.Shape = "Ball" | |
| 2287 | blastwave.Size = Vector3.new(3,3,3) | |
| 2288 | coroutine.wrap(function() | |
| 2289 | for i = 1, 20 do | |
| 2290 | blastwave.Size = blastwave.Size + Vector3.new(2,2,2) | |
| 2291 | blastwave.Transparency = blastwave.Transparency + 0.05 | |
| 2292 | swait() | |
| 2293 | end | |
| 2294 | blastwave:Remove() | |
| 2295 | end)() | |
| 2296 | coroutine.wrap(function() | |
| 2297 | while levitate do | |
| 2298 | mnb = mnb + 15 | |
| 2299 | levitatewave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-6 + .5 * math.sin(sine/9),0) * CFrame.Angles(0,math.rad(mnb),0) | |
| 2300 | levitatewave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-6 + .5 * math.sin(sine/9),0) * CFrame.Angles(0,math.rad(mnb),0) | |
| 2301 | colors = colortable[math.random(1,#colortable)] | |
| 2302 | lmagic = Instance.new("Part",LeftArm)
| |
| 2303 | lmagic.Material = "Neon" | |
| 2304 | lmagic.CanCollide = false | |
| 2305 | lmagic.Anchored = true | |
| 2306 | lmagic.BrickColor = BrickColor.new(colors) | |
| 2307 | lmagic.Size = Vector3.new(1,1,1) | |
| 2308 | lmagic.CFrame = leftlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
| 2309 | removeuseless:AddItem(lmagic,2) | |
| 2310 | rmagic = Instance.new("Part",RightArm)
| |
| 2311 | rmagic.Material = "Neon" | |
| 2312 | rmagic.CanCollide = false | |
| 2313 | rmagic.Anchored = true | |
| 2314 | rmagic.BrickColor = BrickColor.new(colors) | |
| 2315 | rmagic.Size = Vector3.new(1,1,1) | |
| 2316 | rmagic.CFrame = rightlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
| 2317 | removeuseless:AddItem(rmagic,2) | |
| 2318 | for i,v in pairs(LeftArm:GetChildren()) do if v.Name == lmagic.Name then | |
| 2319 | v.Transparency = v.Transparency + 0.05 | |
| 2320 | end | |
| 2321 | end | |
| 2322 | for i,v in pairs(RightArm:GetChildren()) do if v.Name == rmagic.Name then | |
| 2323 | v.Transparency = v.Transparency + 0.05 | |
| 2324 | end | |
| 2325 | end | |
| 2326 | swait() | |
| 2327 | end | |
| 2328 | end)() | |
| 2329 | framee = Instance.new("Frame")
| |
| 2330 | framee.Parent = screenGui | |
| 2331 | framee.Position = UDim2.new(0, 8, 0, -500) | |
| 2332 | framee.Size = UDim2.new(100000000,10000000,10000000,10000000) | |
| 2333 | framee.BackgroundColor3 = BrickColor.new("White").Color
| |
| 2334 | framee.BackgroundTransparency = 0 | |
| 2335 | coroutine.wrap(function() | |
| 2336 | wait(.2) | |
| 2337 | for i = 1, 40 do | |
| 2338 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-0,0)) | |
| 2339 | framee.BackgroundTransparency = framee.BackgroundTransparency + 0.025 | |
| 2340 | swait() | |
| 2341 | end | |
| 2342 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 2343 | framee:Remove() | |
| 2344 | end)() | |
| 2345 | doomtheme.SoundId = "rbxassetid://1382488262" | |
| 2346 | doomtheme:Play() | |
| 2347 | doomtheme.Volume = 2 | |
| 2348 | doomtheme.TimePosition = 20.7 | |
| 2349 | jesterWeld.C0 = jesterWeld.C0 * CFrame.new(.3,-.3,0) * CFrame.Angles(math.rad(0),math.rad(-90),0) | |
| 2350 | mjester.MeshId = "rbxassetid://193760002" | |
| 2351 | mjester.TextureId = "rbxassetid://379225327" | |
| 2352 | mjester.VertexColor = Vector3.new(1, 0, 0) | |
| 2353 | Character.Shirt.ShirtTemplate = "rbxassetid://238537827" | |
| 2354 | Character.Pants.PantsTemplate = "rbxassetid://486031443" | |
| 2355 | maskweld.C0 = maskweld.C0 * CFrame.new(0,.55,-.5) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)) | |
| 2356 | mMask.MeshId = "rbxassetid://13520257" | |
| 2357 | mMask.Scale = Vector3.new(1.1, 1, 1) | |
| 2358 | mMask.TextureId = "rbxassetid://13520260" | |
| 2359 | eyo1:Remove() | |
| 2360 | eyo2:Remove() | |
| 2361 | coroutine.wrap(function() | |
| 2362 | while levitate do | |
| 2363 | hum.HipHeight = 3 - .5 * math.sin(sine/9) | |
| 2364 | swait() | |
| 2365 | end | |
| 2366 | end)() | |
| 2367 | attacking = false | |
| 2368 | debounce = false | |
| 2369 | coroutine.wrap(function() | |
| 2370 | wait(3) | |
| 2371 | notallowedtransform = false | |
| 2372 | end)() | |
| 2373 | end | |
| 2374 | end | |
| 2375 | end) | |
| 2376 | ||
| 2377 | mouse.KeyDown:connect(function(Press) | |
| 2378 | Press=Press:lower() | |
| 2379 | if Press=='.' then | |
| 2380 | hum.Parent:BreakJoints() | |
| 2381 | end | |
| 2382 | end) | |
| 2383 | ||
| 2384 | checks1 = coroutine.wrap(function() -------Checks | |
| 2385 | while true do | |
| 2386 | if Root.Velocity.y > 1 and levitate == false then | |
| 2387 | position = "Jump" | |
| 2388 | elseif Root.Velocity.y < -1 and levitate == false then | |
| 2389 | position = "Falling" | |
| 2390 | elseif Root.Velocity.Magnitude < 2 and running == false and not levitate then | |
| 2391 | position = "Idle" | |
| 2392 | elseif Root.Velocity.Magnitude < 2 and running == false then | |
| 2393 | position = "Idle2" | |
| 2394 | elseif Root.Velocity.Magnitude < 20 and running == false and levitate == false then | |
| 2395 | position = "Walking" | |
| 2396 | elseif Root.Velocity.Magnitude > 20 and running == false and levitate then | |
| 2397 | position = "Walking2" | |
| 2398 | elseif Root.Velocity.Magnitude > 20 and levitate == false then | |
| 2399 | position = "Running" | |
| 2400 | else | |
| 2401 | end | |
| 2402 | wait() | |
| 2403 | end | |
| 2404 | end) | |
| 2405 | checks1() | |
| 2406 | ||
| 2407 | function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 2408 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 2409 | end | |
| 2410 | ||
| 2411 | function ray2(StartPos, EndPos, Distance, Ignore) | |
| 2412 | local DIRECTION = CFrame.new(StartPos,EndPos).lookVector | |
| 2413 | return ray(StartPos, DIRECTION, Distance, Ignore) | |
| 2414 | end | |
| 2415 | ||
| 2416 | OrgnC0 = Neck.C0 | |
| 2417 | local movelimbs = coroutine.wrap(function() | |
| 2418 | while RunSrv.RenderStepped:wait() do | |
| 2419 | TrsoLV = Torso.CFrame.lookVector | |
| 2420 | Dist = nil | |
| 2421 | Diff = nil | |
| 2422 | if not MseGuide then | |
| 2423 | print("Failed to recognize")
| |
| 2424 | else | |
| 2425 | local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
| 2426 | Dist = (Head.CFrame.p-Point).magnitude | |
| 2427 | Diff = Head.CFrame.Y-Point.Y | |
| 2428 | local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
| 2429 | Dist2 = (LeftArm.CFrame.p-Point).magnitude | |
| 2430 | Diff2 = LeftArm.CFrame.Y-Point.Y | |
| 2431 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 2432 | Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1) | |
| 2433 | end | |
| 2434 | end | |
| 2435 | end) | |
| 2436 | movelimbs() | |
| 2437 | immortal = {}
| |
| 2438 | for i,v in pairs(Character:GetDescendants()) do | |
| 2439 | if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
| |
| 2440 | if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then | |
| 2441 | v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 2442 | end | |
| 2443 | table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
| |
| 2444 | elseif v:IsA("JointInstance") then
| |
| 2445 | table.insert(immortal,{v,v.Parent,nil,nil,nil})
| |
| 2446 | end | |
| 2447 | end | |
| 2448 | for e = 1, #immortal do | |
| 2449 | if immortal[e] ~= nil then | |
| 2450 | local STUFF = immortal[e] | |
| 2451 | local PART = STUFF[1] | |
| 2452 | local PARENT = STUFF[2] | |
| 2453 | local MATERIAL = STUFF[3] | |
| 2454 | local COLOR = STUFF[4] | |
| 2455 | local TRANSPARENCY = STUFF[5] | |
| 2456 | if levitate then | |
| 2457 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
| 2458 | PART.Material = MATERIAL | |
| 2459 | PART.Color = COLOR | |
| 2460 | PART.Transparency = TRANSPARENCY | |
| 2461 | end | |
| 2462 | PART.AncestryChanged:connect(function() | |
| 2463 | PART.Parent = PARENT | |
| 2464 | end) | |
| 2465 | else | |
| 2466 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
| 2467 | PART.Material = MATERIAL | |
| 2468 | PART.Color = COLOR | |
| 2469 | PART.Transparency = TRANSPARENCY | |
| 2470 | end | |
| 2471 | PART.AncestryChanged:connect(function() | |
| 2472 | PART.Parent = PARENT | |
| 2473 | end) | |
| 2474 | end | |
| 2475 | end | |
| 2476 | end | |
| 2477 | function immortality() | |
| 2478 | for e = 1, #immortal do | |
| 2479 | if immortal[e] ~= nil then | |
| 2480 | local STUFF = immortal[e] | |
| 2481 | local PART = STUFF[1] | |
| 2482 | local PARENT = STUFF[2] | |
| 2483 | local MATERIAL = STUFF[3] | |
| 2484 | local COLOR = STUFF[4] | |
| 2485 | local TRANSPARENCY = STUFF[5] | |
| 2486 | if PART.ClassName == "Part" and PART == Root then | |
| 2487 | PART.Material = MATERIAL | |
| 2488 | PART.Color = COLOR | |
| 2489 | PART.Transparency = TRANSPARENCY | |
| 2490 | end | |
| 2491 | if PART.Parent ~= PARENT then | |
| 2492 | hum:Remove() | |
| 2493 | PART.Parent = PARENT | |
| 2494 | hum = Instance.new("Humanoid",Character)
| |
| 2495 | if levitate then | |
| 2496 | eyo1:Remove() | |
| 2497 | eyo2:Remove() | |
| 2498 | end | |
| 2499 | hum.Name = "noneofurbusiness" | |
| 2500 | end | |
| 2501 | end | |
| 2502 | end | |
| 2503 | end | |
| 2504 | coroutine.wrap(function() | |
| 2505 | while true do | |
| 2506 | if hum.Health < .1 then | |
| 2507 | deadsound = Instance.new("Sound", Torso)
| |
| 2508 | deadsound.Volume = 6 | |
| 2509 | deadsound.SoundId = "rbxassetid://1411352723" | |
| 2510 | deadsound:Play() | |
| 2511 | immortality() | |
| 2512 | end | |
| 2513 | wait() | |
| 2514 | end | |
| 2515 | end)() | |
| 2516 | ||
| 2517 | mouse.KeyDown:connect(function(Press) | |
| 2518 | Press=Press:lower() | |
| 2519 | if Press=='g' then | |
| 2520 | if not levitate then return end | |
| 2521 | if debounce then return end | |
| 2522 | debounce = true | |
| 2523 | attacking = true | |
| 2524 | FireBall:Play() | |
| 2525 | ws = 15 | |
| 2526 | g1 = Instance.new("BodyGyro", Root)
| |
| 2527 | g1.D = 175 | |
| 2528 | g1.P = 20000 | |
| 2529 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 2530 | for i = 1, 15 do | |
| 2531 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
| 2532 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5) | |
| 2533 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
| 2534 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3) | |
| 2535 | swait() | |
| 2536 | end | |
| 2537 | local swoosh = Instance.new("Part",Torso)
| |
| 2538 | swoosh.Name = "swoosh" | |
| 2539 | swoosh.CFrame = rightlocation.CFrame * CFrame.new(0,0,0) | |
| 2540 | swoosh.Size = Vector3.new(1.7,1.7,1.7) | |
| 2541 | swoosh.Shape = "Ball" | |
| 2542 | swoosh.Material = "Neon" | |
| 2543 | swoosh.BrickColor = BrickColor.new("Really black")
| |
| 2544 | swoosh.CanCollide = false | |
| 2545 | swoosh.Touched:connect(function(hit) | |
| 2546 | if hit.Parent:IsA("Part") then
| |
| 2547 | elseif hit.Parent:IsA("SpecialMesh") then
| |
| 2548 | elseif hit.Parent.Name == game.Players.LocalPlayer.Name then | |
| 2549 | elseif hit.Parent:findFirstChildOfClass("Humanoid") then
| |
| 2550 | Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid")
| |
| 2551 | if Slachtoffer.Health < 1 then return end | |
| 2552 | if damagedebounce == true then return end | |
| 2553 | damagedebounce = true | |
| 2554 | swoosh:Remove() | |
| 2555 | explosion = Instance.new("Part",LeftArm)
| |
| 2556 | explosion.CFrame = hit.CFrame | |
| 2557 | explosion.Anchored = true | |
| 2558 | explosion.CanCollide = false | |
| 2559 | explosion.Name = "explo" | |
| 2560 | explosion.Shape = "Ball" | |
| 2561 | explosion.BrickColor = swoosh.BrickColor | |
| 2562 | explosion.Material = "Neon" | |
| 2563 | vel = Instance.new("BodyVelocity",hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso"))
| |
| 2564 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 2565 | torso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
| |
| 2566 | vel.velocity = CFrame.new(swoosh.Position,torso.Position).lookVector*60 | |
| 2567 | removeuseless:AddItem(vel,.1) | |
| 2568 | shockwavevv = Instance.new("Part",LeftArm)
| |
| 2569 | shockwavevv.Size = Vector3.new(1,1,1) | |
| 2570 | shockwavevv.CanCollide = false | |
| 2571 | shockwavevv.Anchored = true | |
| 2572 | shockwavevv.Name = "shock" | |
| 2573 | shockwavevv.Transparency = 0 | |
| 2574 | shockwavevv.BrickColor = BrickColor.new("Really black")
| |
| 2575 | shockwavevv.CFrame = CFrame.new(explosion.Position) * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
| 2576 | shockwavemeshs = Instance.new("SpecialMesh", shockwavevv)
| |
| 2577 | shockwavemeshs.Name = "ring" | |
| 2578 | shockwavemeshs.Scale = Vector3.new(.1,3,3) | |
| 2579 | shockwavemeshs.MeshId = "rbxassetid://3270017" | |
| 2580 | shockwave2vv = Instance.new("Part", LeftArm)
| |
| 2581 | shockwave2vv.Size = Vector3.new(1,1,1) | |
| 2582 | shockwave2vv.CanCollide = false | |
| 2583 | shockwave2vv.Anchored = true | |
| 2584 | shockwave2vv.Name = "shock2" | |
| 2585 | shockwave2vv.Transparency = 0 | |
| 2586 | shockwave2vv.BrickColor = BrickColor.new("Really black")
| |
| 2587 | shockwave2vv.CFrame = CFrame.new(explosion.Position) * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
| 2588 | shockwavemeshs2 = Instance.new("SpecialMesh", shockwave2vv)
| |
| 2589 | shockwavemeshs2.Scale = Vector3.new(.1,3,3) | |
| 2590 | shockwavemeshs2.Name = "ring2" | |
| 2591 | shockwavemeshs2.MeshId = "rbxassetid://3270017" | |
| 2592 | removeuseless:AddItem(shockwavevv,3) | |
| 2593 | removeuseless:AddItem(shockwavevv2,3) | |
| 2594 | removeuseless:AddItem(explosion,3) | |
| 2595 | SOUND(explosion,472579737,6,false,3) | |
| 2596 | coroutine.wrap(function() | |
| 2597 | if firsttime2 then return end | |
| 2598 | firsttime2 = true | |
| 2599 | while true do | |
| 2600 | for i,v in pairs(LeftArm:GetChildren()) do | |
| 2601 | if v.Name == "explo" then | |
| 2602 | v.Size = v.Size + Vector3.new(2.5,2.5,2.5) | |
| 2603 | v.Transparency = v.Transparency + .05 | |
| 2604 | end | |
| 2605 | end | |
| 2606 | for i,v in pairs(shockwavevv:GetChildren()) do | |
| 2607 | if v.Name == "ring" then | |
| 2608 | v.Scale = v.Scale + Vector3.new(2.5,2.5,0) | |
| 2609 | end | |
| 2610 | end | |
| 2611 | for i,v in pairs(shockwave2vv:GetChildren()) do | |
| 2612 | if v.Name == "ring2" then | |
| 2613 | v.Scale = v.Scale + Vector3.new(2.5,2.5,0) | |
| 2614 | end | |
| 2615 | end | |
| 2616 | for i,v in pairs(LeftArm:GetChildren()) do | |
| 2617 | if v.Name == "shock" then | |
| 2618 | v.Transparency = v.Transparency + .05 | |
| 2619 | end | |
| 2620 | end | |
| 2621 | for i,v in pairs(LeftArm:GetChildren()) do | |
| 2622 | if v.Name == "shock2" then | |
| 2623 | v.Transparency = v.Transparency + .05 | |
| 2624 | end | |
| 2625 | end | |
| 2626 | swait() | |
| 2627 | end | |
| 2628 | end)() | |
| 2629 | Slachtoffer:TakeDamage(math.random(27,48)) | |
| 2630 | wait(.1) | |
| 2631 | damagedebounce = false | |
| 2632 | end | |
| 2633 | end) | |
| 2634 | coroutine.wrap(function() | |
| 2635 | if firsttime then return end | |
| 2636 | firsttime = true | |
| 2637 | while wait() do | |
| 2638 | for i,v in pairs(Torso:GetChildren()) do | |
| 2639 | if v.Name == "swoosh" then | |
| 2640 | magiccc = Instance.new("Part",RightArm)
| |
| 2641 | magiccc.Material = "Neon" | |
| 2642 | magiccc.CanCollide = false | |
| 2643 | magiccc.Anchored = true | |
| 2644 | magiccc.BrickColor = BrickColor.new(colors) | |
| 2645 | magiccc.Size = Vector3.new(1.5,1.5,1.5) | |
| 2646 | magiccc.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
| 2647 | removeuseless:AddItem(magiccc,2) | |
| 2648 | end | |
| 2649 | end | |
| 2650 | end | |
| 2651 | end)() | |
| 2652 | bov = Instance.new("BodyVelocity",swoosh)
| |
| 2653 | bov.maxForce = Vector3.new(99999,99999,99999) | |
| 2654 | swoosh.CFrame = CFrame.new(swoosh.Position,mouse.Hit.p) | |
| 2655 | bov.velocity = swoosh.CFrame.lookVector*120 | |
| 2656 | removeuseless:AddItem(swoosh,4) | |
| 2657 | for i = 1, 15 do | |
| 2658 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5) | |
| 2659 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) | |
| 2660 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5) | |
| 2661 | swait() | |
| 2662 | end | |
| 2663 | ws = 50 | |
| 2664 | removeuseless:AddItem(g1,0.01) | |
| 2665 | debounce = false | |
| 2666 | attacking = false | |
| 2667 | end | |
| 2668 | end) | |
| 2669 | ||
| 2670 | mouse.KeyDown:connect(function(Press) | |
| 2671 | Press=Press:lower() | |
| 2672 | if Press=='h' then | |
| 2673 | if not levitate then return end | |
| 2674 | if debounce then return end | |
| 2675 | debounce = true | |
| 2676 | attacking = true | |
| 2677 | ws = 0 | |
| 2678 | appi = true | |
| 2679 | coroutine.wrap(function() | |
| 2680 | while appi do | |
| 2681 | swait() | |
| 2682 | if Root.Velocity.Magnitude < 2 and attacking == true then | |
| 2683 | position = "Idle3" | |
| 2684 | end | |
| 2685 | end | |
| 2686 | end)() | |
| 2687 | coroutine.wrap(function() | |
| 2688 | while appi do | |
| 2689 | swait() | |
| 2690 | settime = 0.05 | |
| 2691 | sine = sine + change | |
| 2692 | if position == "Idle3" and attacking == true and appi == true then | |
| 2693 | change = .4 | |
| 2694 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 2695 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1) | |
| 2696 | LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
| 2697 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4) | |
| 2698 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4) | |
| 2699 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4) | |
| 2700 | end | |
| 2701 | end | |
| 2702 | end)() | |
| 2703 | coroutine.wrap(function() | |
| 2704 | for i = 1, 20 do | |
| 2705 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
| 2706 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0,math.rad(50),0),.3) | |
| 2707 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.1,1.3,1.1) * CFrame.Angles(math.rad(180),math.rad(-50),math.rad(0)), 0.3) | |
| 2708 | swait() | |
| 2709 | end | |
| 2710 | end)() | |
| 2711 | SOUND(LeftArm,1982011510,8,false,15) | |
| 2712 | blackhole={}
| |
| 2713 | orbzfade={}
| |
| 2714 | xz = 0 | |
| 2715 | for i = 1, 220 do | |
| 2716 | xz = xz + .009 | |
| 2717 | bigrmagic = Instance.new("Part",RightArm)
| |
| 2718 | bigrmagic.Material = "Neon" | |
| 2719 | bigrmagic.CanCollide = false | |
| 2720 | bigrmagic.Anchored = true | |
| 2721 | bigrmagic.BrickColor = BrickColor.new(colors) | |
| 2722 | bigrmagic.Size = Vector3.new(xz,xz,xz) | |
| 2723 | bigrmagic.CFrame = rightlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
| 2724 | removeuseless:AddItem(bigrmagic,1) | |
| 2725 | orbz = Instance.new("Part", Torso)
| |
| 2726 | orbz.Material = "Neon" | |
| 2727 | orbz.BrickColor = BrickColor.new(colors) | |
| 2728 | orbz.Size = Vector3.new(2,2,2) | |
| 2729 | orbz.Anchored = true | |
| 2730 | orbz.CanCollide = false | |
| 2731 | removeuseless:AddItem(orbz,1) | |
| 2732 | orbz.CFrame = rightlocation.CFrame * CFrame.new(math.random(-25,25),math.random(-25,25),math.random(-25,25)) * CFrame.Angles(math.rad(-180,180),math.rad(-180,180),math.rad(-180,180)) | |
| 2733 | table.insert(blackhole,orbz) | |
| 2734 | table.insert(orbzfade,orbz) | |
| 2735 | for i,v in pairs(blackhole) do | |
| 2736 | v.Size = v.Size - Vector3.new(.1,.1,.1) | |
| 2737 | v.CFrame = v.CFrame:lerp(CFrame.new(rightlocation.Position),.09) | |
| 2738 | end | |
| 2739 | for i,v in pairs(orbzfade) do | |
| 2740 | v.Transparency = v.Transparency + 0.025 | |
| 2741 | end | |
| 2742 | swait() | |
| 2743 | end | |
| 2744 | coroutine.wrap(function() | |
| 2745 | for i = 1, 10 do | |
| 2746 | for i,v in pairs(blackhole) do | |
| 2747 | v.Size = v.Size + Vector3.new(.5,.5,.5) | |
| 2748 | v.Transparency = v.Transparency + .1 | |
| 2749 | end | |
| 2750 | swait() | |
| 2751 | end | |
| 2752 | for i,v in pairs(blackhole) do | |
| 2753 | v:Remove() | |
| 2754 | end | |
| 2755 | clean() | |
| 2756 | end)() | |
| 2757 | charging = true | |
| 2758 | coroutine.wrap(function() | |
| 2759 | while charging do | |
| 2760 | bigrmagic = Instance.new("Part",RightArm)
| |
| 2761 | bigrmagic.Material = "Neon" | |
| 2762 | bigrmagic.CanCollide = false | |
| 2763 | bigrmagic.Anchored = true | |
| 2764 | bigrmagic.BrickColor = BrickColor.new(colors) | |
| 2765 | bigrmagic.Size = Vector3.new(xz,xz,xz) | |
| 2766 | bigrmagic.CFrame = rightlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
| 2767 | removeuseless:AddItem(bigrmagic,.2) | |
| 2768 | swait() | |
| 2769 | end | |
| 2770 | end)() | |
| 2771 | g1 = Instance.new("BodyGyro", Root)
| |
| 2772 | g1.D = 175 | |
| 2773 | g1.P = 20000 | |
| 2774 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 2775 | BigFireBall:Play() | |
| 2776 | for i = 1, 15 do | |
| 2777 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
| 2778 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5) | |
| 2779 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
| 2780 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3) | |
| 2781 | swait() | |
| 2782 | end | |
| 2783 | coroutine.wrap(function() | |
| 2784 | for i = 1, 15 do | |
| 2785 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5) | |
| 2786 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) | |
| 2787 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5) | |
| 2788 | swait() | |
| 2789 | end | |
| 2790 | end)() | |
| 2791 | charging = false | |
| 2792 | local ballzor = Instance.new("Part",Torso)
| |
| 2793 | ballzor.Name = "ballzor" | |
| 2794 | ballzor.Material = "Neon" | |
| 2795 | ballzor.BrickColor = BrickColor.new("Really black")
| |
| 2796 | ballzor.CanCollide = false | |
| 2797 | ballzor.Size = Vector3.new(xz,xz,xz) | |
| 2798 | ballzor.Anchored = false | |
| 2799 | ballzor.CFrame = Root.CFrame * CFrame.new(1,0,-5) | |
| 2800 | ballzor.Shape = "Ball" | |
| 2801 | removeuseless:AddItem(g1,.0001) | |
| 2802 | zx = xz + .05 | |
| 2803 | coroutine.wrap(function() | |
| 2804 | if firsttime5 then return end | |
| 2805 | firsttime5 = true | |
| 2806 | while true do | |
| 2807 | swait() | |
| 2808 | for i,v in pairs(Torso:GetChildren()) do | |
| 2809 | if v.Name == "ballzor" then | |
| 2810 | magicccc = Instance.new("Part",RightArm)
| |
| 2811 | magicccc.Material = "Neon" | |
| 2812 | magicccc.CanCollide = false | |
| 2813 | magicccc.Name = "magicccc" | |
| 2814 | magicccc.Anchored = true | |
| 2815 | magicccc.Transparency = 0 | |
| 2816 | magicccc.BrickColor = BrickColor.new(colors) | |
| 2817 | magicccc.Size = Vector3.new(zx,zx,zx) | |
| 2818 | magicccc.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
| 2819 | removeuseless:AddItem(magicccc,2) | |
| 2820 | end | |
| 2821 | end | |
| 2822 | for i,v in pairs(RightArm:GetChildren()) do | |
| 2823 | if v.Name == "magicccc" then | |
| 2824 | v.Transparency = v.Transparency + 0.025 | |
| 2825 | end | |
| 2826 | end | |
| 2827 | end | |
| 2828 | end)() | |
| 2829 | ballzor.Touched:connect(function(hit) | |
| 2830 | if hit.Name ~= "magicccc" then | |
| 2831 | if bigball then return end | |
| 2832 | bigball = true | |
| 2833 | local explosionwave = Instance.new("Part",Torso)
| |
| 2834 | explosionwave.Shape = "Ball" | |
| 2835 | explosionwave.BrickColor = BrickColor.new("Really black")
| |
| 2836 | explosionwave.Anchored = true | |
| 2837 | explosionwave.CanCollide = false | |
| 2838 | explosionwave.Transparency = .2 | |
| 2839 | explosionwave.Material = "Neon" | |
| 2840 | explosionwave.Size = Vector3.new(1,1,1) | |
| 2841 | explosionwave.CFrame = ballzor.CFrame | |
| 2842 | render = Instance.new("Sound",explosionwave)
| |
| 2843 | render.SoundId = "rbxassetid://2006635781" | |
| 2844 | render.Volume = 10 * 10 | |
| 2845 | render:Play() | |
| 2846 | local explosionwave2 = Instance.new("Part",Torso)
| |
| 2847 | explosionwave2.Shape = "Ball" | |
| 2848 | explosionwave2.BrickColor = BrickColor.new("Really red")
| |
| 2849 | explosionwave2.Anchored = true | |
| 2850 | explosionwave2.CanCollide = false | |
| 2851 | explosionwave2.Material = "Neon" | |
| 2852 | explosionwave2.Size = Vector3.new(.8,.8,.8) | |
| 2853 | explosionwave2.CFrame = ballzor.CFrame | |
| 2854 | deadlywave = Instance.new("Part", explosionwave)
| |
| 2855 | deadlywave.Size = Vector3.new(1,1,1) | |
| 2856 | deadlywave.CanCollide = false | |
| 2857 | deadlywave.Anchored = true | |
| 2858 | deadlywave.Transparency = .5 | |
| 2859 | deadlywave.BrickColor = BrickColor.new("Really red")
| |
| 2860 | deadlywave.CFrame = CFrame.new(explosionwave.Position) | |
| 2861 | deadlywavemesh = Instance.new("SpecialMesh", deadlywave)
| |
| 2862 | deadlywavemesh.Scale = Vector3.new(1,2,1) | |
| 2863 | deadlywavemesh.MeshId = "rbxassetid://20329976" | |
| 2864 | deadlywave2 = Instance.new("Part", explosionwave)
| |
| 2865 | deadlywave2.Size = Vector3.new(1,1,1) | |
| 2866 | deadlywave2.CanCollide = false | |
| 2867 | deadlywave2.Anchored = true | |
| 2868 | deadlywave2.Transparency = .5 | |
| 2869 | deadlywave2.BrickColor = BrickColor.new("Really black")
| |
| 2870 | deadlywave2.CFrame = CFrame.new(explosionwave.Position) | |
| 2871 | deadlywave2mesh = Instance.new("SpecialMesh", deadlywave2)
| |
| 2872 | deadlywave2mesh.Scale = Vector3.new(3,2,3) | |
| 2873 | deadlywave2mesh.MeshId = "rbxassetid://20329976" | |
| 2874 | deadlyring = Instance.new("Part", Torso)
| |
| 2875 | deadlyring.Size = Vector3.new(5, 5, 5) | |
| 2876 | deadlyring.Transparency = 0.5 | |
| 2877 | deadlyring.BrickColor = BrickColor.new("Really black")
| |
| 2878 | deadlyring.Anchored = true | |
| 2879 | deadlyring.CanCollide = false | |
| 2880 | deadlyring.CFrame = deadlywave.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180))) | |
| 2881 | deadlyringh = Instance.new("SpecialMesh", deadlyring)
| |
| 2882 | deadlyringh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2883 | deadlyringh.Scale = Vector3.new(8, 8, .1) | |
| 2884 | deadlyring2 = Instance.new("Part", Torso)
| |
| 2885 | deadlyring2.Size = Vector3.new(5, 5, 5) | |
| 2886 | deadlyring2.Transparency = 0.5 | |
| 2887 | deadlyring2.BrickColor = BrickColor.new("Really black")
| |
| 2888 | deadlyring2.Anchored = true | |
| 2889 | deadlyring2.CanCollide = false | |
| 2890 | deadlyring2.CFrame = deadlywave.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180))) | |
| 2891 | deadlyringh2 = Instance.new("SpecialMesh", deadlyring2)
| |
| 2892 | deadlyringh2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2893 | deadlyringh2.Scale = Vector3.new(8, 8, .1) | |
| 2894 | ballzor:Remove() | |
| 2895 | bigball = false | |
| 2896 | staybooming = true | |
| 2897 | d = 5 | |
| 2898 | coroutine.wrap(function() | |
| 2899 | while staybooming do | |
| 2900 | Hit = damagealll(d,deadlywave.Position) | |
| 2901 | for _,v in pairs(Hit) do | |
| 2902 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(10,20))
| |
| 2903 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 2904 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 2905 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 2906 | vel.velocity = CFrame.new(deadlywave.Position,torso.Position).lookVector*50 | |
| 2907 | removeuseless:AddItem(vel,.1) | |
| 2908 | end | |
| 2909 | wait(.1) | |
| 2910 | end | |
| 2911 | end)() | |
| 2912 | for i = 1, 70 do | |
| 2913 | d = d + 1 | |
| 2914 | deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(.5, .5, .1) | |
| 2915 | deadlyringh.Scale = deadlyringh.Scale + Vector3.new(.5, .5, .1) | |
| 2916 | deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+7),math.rad(0-7),math.rad(0+7)) | |
| 2917 | deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-7),math.rad(0+7),math.rad(0-7)) | |
| 2918 | deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+7),0) | |
| 2919 | deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+4),0) | |
| 2920 | deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(.4,0,.4) | |
| 2921 | deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(.5,0,.5) | |
| 2922 | explosionwave.Size = explosionwave.Size + Vector3.new(.5,.5,.5) | |
| 2923 | explosionwave2.Size = explosionwave2.Size + Vector3.new(.5,.5,.5) | |
| 2924 | swait() | |
| 2925 | end | |
| 2926 | for i = 1, 80 do | |
| 2927 | d = d + 3 | |
| 2928 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
| 2929 | deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(4, 4, .2) | |
| 2930 | deadlyringh.Scale = deadlyringh.Scale + Vector3.new(4, 4, .2) | |
| 2931 | deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+12),math.rad(0-12),math.rad(0+12)) | |
| 2932 | deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-12),math.rad(0+12),math.rad(0-12)) | |
| 2933 | deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+20),0) | |
| 2934 | deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+14),0) | |
| 2935 | deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(3,2,3) | |
| 2936 | deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(4,1,4) | |
| 2937 | explosionwave.Size = explosionwave.Size + Vector3.new(4,4,4) | |
| 2938 | explosionwave2.Size = explosionwave2.Size + Vector3.new(4,4,4) | |
| 2939 | swait() | |
| 2940 | end | |
| 2941 | staybooming = false | |
| 2942 | for i = 1, 20 do | |
| 2943 | d = d + 3 | |
| 2944 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
| 2945 | deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(4, 4, .2) | |
| 2946 | deadlyringh.Scale = deadlyringh.Scale + Vector3.new(4, 4, .2) | |
| 2947 | deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+12),math.rad(0-12),math.rad(0+12)) | |
| 2948 | deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-12),math.rad(0+12),math.rad(0-12)) | |
| 2949 | deadlyring.Transparency = deadlyring.Transparency + .25 | |
| 2950 | deadlyring2.Transparency = deadlyring2.Transparency + .25 | |
| 2951 | deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+20),0) | |
| 2952 | deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+14),0) | |
| 2953 | deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(3,0,3) | |
| 2954 | deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(4,0,4) | |
| 2955 | deadlywave.Transparency = deadlywave.Transparency + .25 | |
| 2956 | deadlywave2.Transparency = deadlywave2.Transparency + .25 | |
| 2957 | explosionwave.Size = explosionwave.Size + Vector3.new(4,4,4) | |
| 2958 | explosionwave2.Size = explosionwave2.Size + Vector3.new(4,4,4) | |
| 2959 | explosionwave.Transparency = explosionwave.Transparency + 0.25 | |
| 2960 | explosionwave2.Transparency = explosionwave2.Transparency + 0.05 | |
| 2961 | swait() | |
| 2962 | end | |
| 2963 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 2964 | explosionwave:Remove() | |
| 2965 | explosionwave2:Remove() | |
| 2966 | end | |
| 2967 | end) | |
| 2968 | bov = Instance.new("BodyVelocity",ballzor)
| |
| 2969 | bov.maxForce = Vector3.new(99999,99999,99999) | |
| 2970 | ballzor.CFrame = CFrame.new(ballzor.Position,mouse.Hit.p) | |
| 2971 | bov.velocity = ballzor.CFrame.lookVector*200 | |
| 2972 | removeuseless:AddItem(ballzor,4) | |
| 2973 | ws = 50 | |
| 2974 | attacking = false | |
| 2975 | debounce = false | |
| 2976 | appi = false | |
| 2977 | end | |
| 2978 | end) | |
| 2979 | ||
| 2980 | mouse.KeyDown:connect(function(Press) | |
| 2981 | Press=Press:lower() | |
| 2982 | if Press=='j' then | |
| 2983 | if not levitate then return end | |
| 2984 | if debounce then return end | |
| 2985 | debounce = true | |
| 2986 | charging = true | |
| 2987 | attacking = true | |
| 2988 | downpress = false | |
| 2989 | x = 1 | |
| 2990 | ws = 0 | |
| 2991 | g1 = Instance.new("BodyGyro", Root)
| |
| 2992 | g1.D = 175 | |
| 2993 | g1.P = 20000 | |
| 2994 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 2995 | SOUND(RightArm,2014087015,8,false,3) | |
| 2996 | coroutine.wrap(function() | |
| 2997 | Charge = Instance.new("Sound",RightArm)
| |
| 2998 | Charge.SoundId = "rbxassetid://101153932" | |
| 2999 | Charge.Looped = false | |
| 3000 | Charge.Volume = 8 | |
| 3001 | Charge:Play() | |
| 3002 | end)() | |
| 3003 | appi = true | |
| 3004 | coroutine.wrap(function() | |
| 3005 | while appi do | |
| 3006 | swait() | |
| 3007 | if Root.Velocity.Magnitude < 2 and attacking == true then | |
| 3008 | position = "Idle3" | |
| 3009 | end | |
| 3010 | end | |
| 3011 | end)() | |
| 3012 | coroutine.wrap(function() | |
| 3013 | while appi do | |
| 3014 | swait() | |
| 3015 | settime = 0.05 | |
| 3016 | sine = sine + change | |
| 3017 | if position == "Idle3" and attacking == true and appi == true then | |
| 3018 | change = .4 | |
| 3019 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 3020 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1) | |
| 3021 | LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
| 3022 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4) | |
| 3023 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4) | |
| 3024 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4) | |
| 3025 | end | |
| 3026 | end | |
| 3027 | end)() | |
| 3028 | for i = 1, 15 do | |
| 3029 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
| 3030 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5) | |
| 3031 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
| 3032 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3) | |
| 3033 | swait() | |
| 3034 | end | |
| 3035 | for i = 1, 3 do | |
| 3036 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
| 3037 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5) | |
| 3038 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
| 3039 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3) | |
| 3040 | x = x + .1 | |
| 3041 | blastborb = Instance.new("Part",Torso)
| |
| 3042 | blastborb.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 3043 | blastborb.BrickColor = BrickColor.new(colors) | |
| 3044 | blastborb.Anchored = true | |
| 3045 | blastborb.Size = Vector3.new(10,10,10) | |
| 3046 | blastborb.CanCollide = false | |
| 3047 | blastborb.Material = "Neon" | |
| 3048 | for i = 1, 5 do | |
| 3049 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
| 3050 | blastborb.Size = blastborb.Size - Vector3.new(1,1,1) | |
| 3051 | swait() | |
| 3052 | end | |
| 3053 | blastborb:Remove() | |
| 3054 | swait() | |
| 3055 | end | |
| 3056 | downpress = true | |
| 3057 | while charging and x < 5 do | |
| 3058 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
| 3059 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5) | |
| 3060 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
| 3061 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3) | |
| 3062 | x = x + .1 | |
| 3063 | blastborb = Instance.new("Part",Torso)
| |
| 3064 | blastborb.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 3065 | blastborb.BrickColor = BrickColor.new(colors) | |
| 3066 | blastborb.Anchored = true | |
| 3067 | blastborb.Size = Vector3.new(10,10,10) | |
| 3068 | blastborb.CanCollide = false | |
| 3069 | blastborb.Material = "Neon" | |
| 3070 | for i = 1, 5 do | |
| 3071 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4) | |
| 3072 | blastborb.Size = blastborb.Size - Vector3.new(1,1,1) | |
| 3073 | swait() | |
| 3074 | end | |
| 3075 | blastborb:Remove() | |
| 3076 | swait() | |
| 3077 | end | |
| 3078 | coroutine.wrap(function() | |
| 3079 | for i = 1, 20 do | |
| 3080 | Charge.Volume = Charge.Volume - .5 | |
| 3081 | swait() | |
| 3082 | end | |
| 3083 | end)() | |
| 3084 | local bigswoosh = Instance.new("Part",Torso)
| |
| 3085 | bigswoosh.Name = "bigswoosh" | |
| 3086 | bigswoosh.CFrame = Root.CFrame * CFrame.new(1,0,-5) | |
| 3087 | bigswoosh.Size = Vector3.new(1,1,1) | |
| 3088 | bigswoosh.Material = "Neon" | |
| 3089 | bigswoosh.Anchored = true | |
| 3090 | bigswoosh.Transparency = 1 | |
| 3091 | bigswoosh.BrickColor = BrickColor.new("Really red")
| |
| 3092 | bigswoosh.CanCollide = false | |
| 3093 | SOUND(bigswoosh,842332424,10,false,6) | |
| 3094 | SOUND(bigswoosh,2017948224,10,false,6) | |
| 3095 | SOUND(bigswoosh,138677306,10,false,4) | |
| 3096 | coroutine.wrap(function() | |
| 3097 | local loc1 = Instance.new("Part",bigswoosh)
| |
| 3098 | loc1.CFrame = bigswoosh.CFrame * CFrame.new(-3,0,0) | |
| 3099 | loc1.Size = Vector3.new(2,2,2) | |
| 3100 | loc1.Anchored = true | |
| 3101 | loc1.Transparency = 1 | |
| 3102 | loc1.CanCollide = false | |
| 3103 | local loc2 = Instance.new("Part",bigswoosh)
| |
| 3104 | loc2.CFrame = bigswoosh.CFrame * CFrame.new(3,0,0) | |
| 3105 | loc2.Size = Vector3.new(2,2,2) | |
| 3106 | loc2.Anchored = true | |
| 3107 | loc2.Transparency = 1 | |
| 3108 | loc2.CanCollide = false | |
| 3109 | n = 0 | |
| 3110 | nb = 0 | |
| 3111 | for i = 1, 125 do | |
| 3112 | n = n + x | |
| 3113 | nb = nb - x | |
| 3114 | Hit = damagealll(n,bigswoosh.Position) | |
| 3115 | for _,v in pairs(Hit) do | |
| 3116 | if x > 4.5 then | |
| 3117 | v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
| |
| 3118 | else | |
| 3119 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(4+x,10+x))
| |
| 3120 | end | |
| 3121 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 3122 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 3123 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 3124 | vel.velocity = CFrame.new(bigswoosh.Position,torso.Position).lookVector*150 | |
| 3125 | removeuseless:AddItem(vel,.1) | |
| 3126 | end | |
| 3127 | local bigtrail = Instance.new("Part",LeftArm)
| |
| 3128 | bigtrail.Size = bigswoosh.Size | |
| 3129 | bigtrail.BrickColor = BrickColor.new(colors) | |
| 3130 | bigtrail.Anchored = true | |
| 3131 | bigtrail.Material = "Neon" | |
| 3132 | bigtrail.CFrame = bigswoosh.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 3133 | bigtrail.CanCollide = false | |
| 3134 | removeuseless:AddItem(bigtrail,2) | |
| 3135 | local irritatedground = Instance.new("Part",Torso)
| |
| 3136 | irritatedground.Size = Vector3.new(n*1.5,1,3*x) | |
| 3137 | irritatedground.BrickColor = BrickColor.new(colors) | |
| 3138 | irritatedground.Material = "Neon" | |
| 3139 | irritatedground.CFrame = bigswoosh.CFrame * CFrame.new(0,-6,0) | |
| 3140 | irritatedground.CanCollide = false | |
| 3141 | irritatedground.Anchored = true | |
| 3142 | removeuseless:AddItem(irritatedground,10) | |
| 3143 | local grassblocks = Instance.new("Part",Torso)
| |
| 3144 | grassblocks.Size = Vector3.new(n/2,n/2,n/2) | |
| 3145 | grassblocks.Material = "Grass" | |
| 3146 | grassblocks.Anchored = true | |
| 3147 | grassblocks.Name = "grassblocks" | |
| 3148 | grassblocks.BrickColor = BrickColor.new("Bright green")
| |
| 3149 | grassblocks.CFrame = loc1.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 3150 | removeuseless:AddItem(grassblocks,10) | |
| 3151 | local grassblocks2 = Instance.new("Part",Torso)
| |
| 3152 | grassblocks2.Size = Vector3.new(n/2,n/2,n/2) | |
| 3153 | grassblocks2.Material = "Grass" | |
| 3154 | grassblocks2.Anchored = true | |
| 3155 | grassblocks2.Name = "grassblocks2" | |
| 3156 | grassblocks2.BrickColor = BrickColor.new("Bright green")
| |
| 3157 | grassblocks2.CFrame = loc2.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 3158 | removeuseless:AddItem(grassblocks2,10) | |
| 3159 | bigswoosh.Size = bigswoosh.Size + Vector3.new(x,x,x) | |
| 3160 | loc1.CFrame = bigswoosh.CFrame * CFrame.new(n,-3,0) | |
| 3161 | loc2.CFrame = bigswoosh.CFrame * CFrame.new(nb,-3,0) | |
| 3162 | bigswoosh.CFrame = bigswoosh.CFrame * CFrame.new(0,0,-3 - x) | |
| 3163 | swait() | |
| 3164 | end | |
| 3165 | for i = 1, 20 do | |
| 3166 | bigswoosh.CFrame = bigswoosh.CFrame * CFrame.new(0,0,-3) | |
| 3167 | bigswoosh.Transparency = bigswoosh.Transparency + 0.05 | |
| 3168 | swait() | |
| 3169 | end | |
| 3170 | bigswoosh:Remove() | |
| 3171 | end)() | |
| 3172 | for i = 1, 50 do | |
| 3173 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5) | |
| 3174 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) | |
| 3175 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5) | |
| 3176 | swait() | |
| 3177 | end | |
| 3178 | ws = 50 | |
| 3179 | attacking = false | |
| 3180 | debounce = false | |
| 3181 | appi = false | |
| 3182 | g1:Remove() | |
| 3183 | end | |
| 3184 | end) | |
| 3185 | ||
| 3186 | mouse.KeyDown:connect(function(Press) | |
| 3187 | Press=Press:lower() | |
| 3188 | if Press=='k' then | |
| 3189 | if debounce then return end | |
| 3190 | debounce = true | |
| 3191 | attacking = true | |
| 3192 | charging = true | |
| 3193 | appi = true | |
| 3194 | coroutine.wrap(function() | |
| 3195 | while appi do | |
| 3196 | swait() | |
| 3197 | if Root.Velocity.Magnitude < 2 and attacking == true then | |
| 3198 | position = "Idle3" | |
| 3199 | end | |
| 3200 | end | |
| 3201 | end)() | |
| 3202 | coroutine.wrap(function() | |
| 3203 | while appi do | |
| 3204 | swait() | |
| 3205 | settime = 0.05 | |
| 3206 | sine = sine + change | |
| 3207 | if position == "Idle3" and attacking == true and appi == true then | |
| 3208 | change = .4 | |
| 3209 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 3210 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1) | |
| 3211 | LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
| 3212 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4) | |
| 3213 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4) | |
| 3214 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4) | |
| 3215 | end | |
| 3216 | end | |
| 3217 | end)() | |
| 3218 | ws = 0 | |
| 3219 | g1 = Instance.new("BodyGyro", Root)
| |
| 3220 | g1.D = 175 | |
| 3221 | g1.P = 20000 | |
| 3222 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 3223 | g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p) | |
| 3224 | for i = 1, 15 do | |
| 3225 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
| 3226 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
| 3227 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 3228 | swait() | |
| 3229 | end | |
| 3230 | r = 0 | |
| 3231 | for i = 1, 10 do | |
| 3232 | r = r + .1 | |
| 3233 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
| 3234 | blass = Instance.new("Part",RightArm)
| |
| 3235 | blass.Size = Vector3.new(r,r,r) | |
| 3236 | blass.Material = "Neon" | |
| 3237 | blass.CFrame = rightlocation.CFrame * CFrame.new(0,-r/1.5,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 3238 | blass.Anchored = true | |
| 3239 | blass.CanCollide = false | |
| 3240 | blass.BrickColor = BrickColor.new(colors) | |
| 3241 | removeuseless:AddItem(blass,2) | |
| 3242 | swait() | |
| 3243 | end | |
| 3244 | while r < 16 and charging == true do | |
| 3245 | r = r + .1 | |
| 3246 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
| 3247 | blass = Instance.new("Part",RightArm)
| |
| 3248 | blass.Size = Vector3.new(r,r,r) | |
| 3249 | blass.Material = "Neon" | |
| 3250 | blass.CFrame = rightlocation.CFrame * CFrame.new(0,-r/1.5,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 3251 | blass.Anchored = true | |
| 3252 | blass.CanCollide = false | |
| 3253 | blass.BrickColor = BrickColor.new(colors) | |
| 3254 | removeuseless:AddItem(blass,2) | |
| 3255 | swait() | |
| 3256 | end | |
| 3257 | local TheBeam = Instance.new("Part",RightArm)
| |
| 3258 | TheBeam.Name = "zebeam" | |
| 3259 | TheBeam.Size = Vector3.new(1,1,1) | |
| 3260 | TheBeam.Material = "Neon" | |
| 3261 | TheBeam.Shape = "Cylinder" | |
| 3262 | TheBeam.BrickColor = BrickColor.new("Really red")
| |
| 3263 | TheBeam.Anchored = true | |
| 3264 | TheBeam.CanCollide = false | |
| 3265 | ws = 12 | |
| 3266 | bemmo = Instance.new("Sound",RightArm)
| |
| 3267 | bemmo.SoundId = "rbxassetid://1910988873" | |
| 3268 | bemmo.Volume = 8 | |
| 3269 | bemmo.Looped = false | |
| 3270 | bemmo:Play() | |
| 3271 | bemmo.TimePosition = 2 | |
| 3272 | for i = 1, 100 * r/3 do | |
| 3273 | if r > 15 then | |
| 3274 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-0,0)) | |
| 3275 | end | |
| 3276 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
| 3277 | local blass = Instance.new("Part",RightArm)
| |
| 3278 | blass.Size = Vector3.new(r,r,r) | |
| 3279 | blass.Material = "Neon" | |
| 3280 | blass.CFrame = rightlocation.CFrame * CFrame.new(0,-r/1.5,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 3281 | blass.Anchored = true | |
| 3282 | blass.CanCollide = false | |
| 3283 | blass.BrickColor = BrickColor.new(colors) | |
| 3284 | removeuseless:AddItem(blass,2) | |
| 3285 | local STARTPOS = blass.CFrame*CFrame.new(0,0,0).p | |
| 3286 | local ENDHIT,ENDPOS = ray2(STARTPOS,mouse.Hit.p,650,Character) | |
| 3287 | local DISTANCE = (STARTPOS - ENDPOS).magnitude | |
| 3288 | TheBeam.CFrame = CFrame.new(STARTPOS,ENDPOS)*CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)) | |
| 3289 | TheBeam.Size = Vector3.new(DISTANCE,r/math.random(1,2),r/math.random(1,2)) | |
| 3290 | boom = Instance.new("Part",RightArm)
| |
| 3291 | boom.Size = Vector3.new(r,r,r) | |
| 3292 | boom.BrickColor = BrickColor.new(colors) | |
| 3293 | boom.Anchored = true | |
| 3294 | boom.CanCollide = false | |
| 3295 | boom.Material = "Neon" | |
| 3296 | boom.CFrame = CFrame.new(ENDPOS) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 3297 | removeuseless:AddItem(boom,3) | |
| 3298 | boom.Touched:connect(function(getbase) | |
| 3299 | if hitdebounce then return end | |
| 3300 | hitdebounce = true | |
| 3301 | if getbase:IsA("Part") then
| |
| 3302 | damagedground = Instance.new("Part",RightArm)
| |
| 3303 | damagedground.Size = Vector3.new(.1,5+r,.1) | |
| 3304 | damagedground.Material = "Neon" | |
| 3305 | damagedground.CanCollide = false | |
| 3306 | damagedground.BrickColor = BrickColor.new(colors) | |
| 3307 | damagedground.Anchored = true | |
| 3308 | damagedground.CFrame = boom.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 3309 | removeuseless:AddItem(damagedground,2) | |
| 3310 | wait(.1) | |
| 3311 | hitdebounce = false | |
| 3312 | end | |
| 3313 | end) | |
| 3314 | Hit = damagealll(r+3,boom.Position) | |
| 3315 | for _,v in pairs(Hit) do | |
| 3316 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(r/1.1,r))
| |
| 3317 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 3318 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 3319 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 3320 | vel.velocity = CFrame.new(boom.Position,torso.Position).lookVector*r | |
| 3321 | removeuseless:AddItem(vel,.1) | |
| 3322 | end | |
| 3323 | swait() | |
| 3324 | end | |
| 3325 | removeuseless:AddItem(g1,.001) | |
| 3326 | coroutine.wrap(function() | |
| 3327 | for i = 1, 20 do | |
| 3328 | bemmo.Volume = bemmo.Volume - 0.5 | |
| 3329 | blass.Transparency = blass.Transparency + 0.05 | |
| 3330 | TheBeam.Transparency = TheBeam.Transparency + 0.05 | |
| 3331 | swait() | |
| 3332 | end | |
| 3333 | bemmo:Remove() | |
| 3334 | if r > 15 then | |
| 3335 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 3336 | end | |
| 3337 | blass:Remove() | |
| 3338 | TheBeam:Remove() | |
| 3339 | end)() | |
| 3340 | ws = 50 | |
| 3341 | appi = false | |
| 3342 | attacking = false | |
| 3343 | debounce = false | |
| 3344 | end | |
| 3345 | end) | |
| 3346 | ||
| 3347 | mouse.KeyUp:connect(function(Press) | |
| 3348 | Press=Press:lower() | |
| 3349 | if Press=='j' then | |
| 3350 | charging = false | |
| 3351 | end | |
| 3352 | end) | |
| 3353 | ||
| 3354 | mouse.KeyUp:connect(function(Press) | |
| 3355 | Press=Press:lower() | |
| 3356 | if Press=='k' then | |
| 3357 | charging = false | |
| 3358 | end | |
| 3359 | end) | |
| 3360 | ||
| 3361 | doit = coroutine.wrap(function() | |
| 3362 | while true do | |
| 3363 | for _,v in pairs(Repeater) do | |
| 3364 | v.Scale = v.Scale + Vector3.new(1, 1, 1) | |
| 3365 | end | |
| 3366 | ||
| 3367 | for _,v in pairs(openshocktable) do | |
| 3368 | v.Scale = v.Scale + Vector3.new(3, 3, 3) | |
| 3369 | end | |
| 3370 | ||
| 3371 | for _,v in pairs(nonmeshRepeater) do | |
| 3372 | v.Size = v.Size + Vector3.new(2, 2, 2) | |
| 3373 | end | |
| 3374 | ||
| 3375 | for _,v in pairs(Extreme) do | |
| 3376 | v.Size = v.Size + Vector3.new(6, 6, 6) | |
| 3377 | end | |
| 3378 | ||
| 3379 | for _,v in pairs(LessSize) do | |
| 3380 | v.Size = v.Size - Vector3.new(1, 1, 1) | |
| 3381 | end | |
| 3382 | ||
| 3383 | for _,v in pairs(nonmeshRepeater2) do | |
| 3384 | v.Transparency = v.Transparency + 0.05 | |
| 3385 | end | |
| 3386 | ||
| 3387 | for _,v in pairs(Repeater2) do | |
| 3388 | v.Transparency = v.Transparency - 0.05 | |
| 3389 | end | |
| 3390 | ||
| 3391 | for _,v in pairs(th1) do | |
| 3392 | v.CFrame = v.CFrame * CFrame.new(0,0+.3,0) * CFrame.Angles(0,math.rad(0+8),0) | |
| 3393 | end | |
| 3394 | ||
| 3395 | for _,v in pairs(th2) do | |
| 3396 | v.CFrame = v.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0+15),0) | |
| 3397 | end | |
| 3398 | ||
| 3399 | for _,v in pairs(th3) do | |
| 3400 | v.Scale = v.Scale + Vector3.new(2, 2, 2) | |
| 3401 | end | |
| 3402 | ||
| 3403 | for _,v in pairs(th5) do | |
| 3404 | v.Scale = v.Scale + Vector3.new(1, .1, 1) | |
| 3405 | end | |
| 3406 | ||
| 3407 | for _,v in pairs(ExtremeM) do | |
| 3408 | v.Size = v.Size + Vector3.new(8, 8, 8) | |
| 3409 | end | |
| 3410 | ||
| 3411 | for _,v in pairs(m3) do | |
| 3412 | v.Scale = v.Scale + Vector3.new(.2,.2,.2) | |
| 3413 | end | |
| 3414 | ||
| 3415 | for _,v in pairs(ExtremeM2) do | |
| 3416 | v.Size = v.Size - Vector3.new(2,2,2) | |
| 3417 | end | |
| 3418 | ||
| 3419 | for _,v in pairs(keyYsize) do | |
| 3420 | v.Scale = v.Scale + Vector3.new(8, 8, 1) | |
| 3421 | end | |
| 3422 | ||
| 3423 | for _,v in pairs(th4) do | |
| 3424 | v.Transparency = v.Transparency + 0.009 | |
| 3425 | v.Rotation = v.Rotation + Vector3.new(3,0,0) | |
| 3426 | end | |
| 3427 | ||
| 3428 | for _,v in pairs(SlowlyFade) do | |
| 3429 | v.Transparency = v.Transparency + 0.05 | |
| 3430 | end | |
| 3431 | ||
| 3432 | for _,v in pairs(keyYtransparency) do | |
| 3433 | v.Transparency = v.Transparency + 0.05 | |
| 3434 | end | |
| 3435 | ||
| 3436 | for _,v in pairs(UpMover) do | |
| 3437 | v.Position = v.Position + Vector3.new(0, 3, 0) | |
| 3438 | end | |
| 3439 | ||
| 3440 | for _,v in pairs(ForwardMover) do | |
| 3441 | v.CFrame = v.CFrame * CFrame.new(0, 0, 2.4 +(i/.1)) * CFrame.Angles(0, 0, math.rad(0)) | |
| 3442 | end | |
| 3443 | ||
| 3444 | for _,v in pairs(FadeIn) do | |
| 3445 | v.Transparency = v.Transparency - .05 | |
| 3446 | end | |
| 3447 | ||
| 3448 | for _,v in pairs(signtransparency) do | |
| 3449 | v.TextTransparency = v.TextTransparency + 0.025 | |
| 3450 | end | |
| 3451 | ||
| 3452 | for _,v in pairs(signmover) do | |
| 3453 | v.StudsOffset = v.StudsOffset + Vector3.new(math.random(-2,2),.3,math.random(-2,2)) | |
| 3454 | end | |
| 3455 | ||
| 3456 | for _,v in pairs(signrotator) do | |
| 3457 | v.Rotation = v.Rotation + 2 | |
| 3458 | end | |
| 3459 | swait() | |
| 3460 | end | |
| 3461 | end) | |
| 3462 | doit() | |
| 3463 | t = 0 | |
| 3464 | ||
| 3465 | mouse.KeyDown:connect(function(Press) | |
| 3466 | Press=Press:lower() | |
| 3467 | if Press=='0' then | |
| 3468 | if levitate then return end | |
| 3469 | shoov = true | |
| 3470 | if debounce then return end | |
| 3471 | ws = 50 | |
| 3472 | end | |
| 3473 | end) | |
| 3474 | ||
| 3475 | mouse.KeyUp:connect(function(Press) | |
| 3476 | Press=Press:lower() | |
| 3477 | if Press=='0' then | |
| 3478 | if levitate then return end | |
| 3479 | shoov = false | |
| 3480 | if debounce then return end | |
| 3481 | ws = 10 | |
| 3482 | end | |
| 3483 | end) | |
| 3484 | ||
| 3485 | ||
| 3486 | local anims = coroutine.wrap(function() | |
| 3487 | while true do | |
| 3488 | settime = 0.05 | |
| 3489 | sine = sine + change | |
| 3490 | if position == "Jump" and attacking == false then | |
| 3491 | change = 1 | |
| 3492 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 3493 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 3494 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
| 3495 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
| 3496 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 3497 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4) | |
| 3498 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4) | |
| 3499 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 3500 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
| 3501 | elseif position == "Jump2" and attacking == false and levitate then | |
| 3502 | change = 1 | |
| 3503 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3) | |
| 3504 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) | |
| 3505 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) | |
| 3506 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3) | |
| 3507 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
| 3508 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3) | |
| 3509 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
| 3510 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3) | |
| 3511 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3) | |
| 3512 | elseif position == "Falling" and attacking == false and levitate == false then | |
| 3513 | change = 1 | |
| 3514 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 3515 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 3516 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
| 3517 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
| 3518 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
| 3519 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2) | |
| 3520 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) | |
| 3521 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2) | |
| 3522 | elseif position == "Falling2" and attacking == false and levitate then | |
| 3523 | change = 1 | |
| 3524 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3) | |
| 3525 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) | |
| 3526 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) | |
| 3527 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3) | |
| 3528 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
| 3529 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3) | |
| 3530 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
| 3531 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3) | |
| 3532 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3) | |
| 3533 | elseif position == "Walking" and attacking == false and running == false then | |
| 3534 | change = 1 | |
| 3535 | walking = true | |
| 3536 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 3537 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 3538 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3) | |
| 3539 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
| 3540 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3) | |
| 3541 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
| 3542 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(5 * math.cos(sine/7)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.3) | |
| 3543 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3) | |
| 3544 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3) | |
| 3545 | elseif position == "Idle" and attacking == false and running == false and not levitate then | |
| 3546 | change = .5 | |
| 3547 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.1) | |
| 3548 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.1) | |
| 3549 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.1) | |
| 3550 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.1) | |
| 3551 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.1) | |
| 3552 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 3553 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1) | |
| 3554 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 3555 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) | |
| 3556 | elseif position == "Idle2" and attacking == false and running == false then | |
| 3557 | change = .75 | |
| 3558 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1) | |
| 3559 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 3560 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1) | |
| 3561 | LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
| 3562 | RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
| 3563 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4) | |
| 3564 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 - 3 * math.sin(sine/9)), math.rad(-35 + 5 * math.sin(sine/9))), 0.4) | |
| 3565 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4) | |
| 3566 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4) | |
| 3567 | elseif position == "Walking2" and attacking == false and running == false then | |
| 3568 | ws = 50 | |
| 3569 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3) | |
| 3570 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3) | |
| 3571 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) | |
| 3572 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3) | |
| 3573 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3) | |
| 3574 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3) | |
| 3575 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3) | |
| 3576 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3) | |
| 3577 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3) | |
| 3578 | elseif position == "Running" and attacking == false then | |
| 3579 | change = 1 | |
| 3580 | RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(1.24+.6*math.sin(sine/4)/1.4, 0.54, 0+0.8*math.sin(sine/4)) * CFrame.Angles(math.rad(6-140*math.sin(sine/4)/1.2), math.rad(0), math.rad(-20+70*math.sin(sine/4))), 0.3) | |
| 3581 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3) | |
| 3582 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-1.24+.6*math.sin(sine/4)/1.4, 0.54, 0-0.8*math.sin(sine/4))*CFrame.Angles(math.rad(6+140*math.sin(sine/4)/1.2), math.rad(0), math.rad(20+70*math.sin(sine/4))), 0.3) | |
| 3583 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 3584 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-20 - 0 * math.sin(sine/4)), math.rad(0 + 6 * math.sin(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.sin(10 * math.sin(sine/4))), 0.3) | |
| 3585 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3) | |
| 3586 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.6+0.1*math.sin(sine/4),.7*-math.sin(sine/4)) * CFrame.Angles(math.rad(15+ -50 * math.sin(sine/4)),0,0),.3) | |
| 3587 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3) | |
| 3588 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.6-0.1*math.sin(sine/4),.7*math.sin(sine/4)) * CFrame.Angles(math.rad(15 + 50 * math.sin(sine/4)),0,0),.3) | |
| 3589 | end | |
| 3590 | swait() | |
| 3591 | end | |
| 3592 | end) | |
| 3593 | anims() | |
| 3594 | warn("Prepare for a magic trick full of pain and regret. Made by Supr14") |