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