SHOW:
|
|
- or go back to the newest paste.
| 1 | 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 = {}
| |
| 2 | do | |
| 3 | script.Parent = owner.Character | |
| 4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
| |
| 5 | local function NewFakeEvent() | |
| 6 | local Bind = Instance.new("BindableEvent")
| |
| 7 | local Fake;Fake = {Connections = {},
| |
| 8 | fakeEvent=true; | |
| 9 | Connect=function(self,Func) | |
| 10 | Bind.Event:connect(Func) | |
| 11 | self.Connections[Bind] = true | |
| 12 | return setmetatable({Connected = true},{
| |
| 13 | __index = function (self,Index) | |
| 14 | if Index:lower() == "disconnect" then | |
| 15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
| 16 | end | |
| 17 | return Fake[Index] | |
| 18 | end; | |
| 19 | __tostring = function() return "Connection" end; | |
| 20 | }) | |
| 21 | end} | |
| 22 | Fake.connect = Fake.Connect;return Fake; | |
| 23 | end | |
| 24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
| |
| 25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
| |
| 26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
| |
| 27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
| |
| 28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
| 29 | local function TriggerEvent(self,Event,...) | |
| 30 | local Trigger = Mouse[Event] | |
| 31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
| 32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
| 33 | end | |
| 34 | end | |
| 35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
| 36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
| 37 | if FiredBy.Name ~= owner.Name then return end | |
| 38 | if Input.MouseEvent then | |
| 39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
| 40 | else | |
| 41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
| 42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
| 43 | for _,Action in pairs(ContextActionService.Actions) do | |
| 44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
| 45 | end | |
| 46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
| 47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
| 48 | end | |
| 49 | end) | |
| 50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
| 51 | Event.Parent = NLS([[ | |
| 52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
| |
| 53 | local Input = function(Input,gameProcessedEvent) | |
| 54 | if gameProcessedEvent then return end | |
| 55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
| |
| 56 | end | |
| 57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
| 58 | local Hit,Target | |
| 59 | while wait(1/30) do | |
| 60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
| 61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
| |
| 62 | end | |
| 63 | end | |
| 64 | ]],owner.Character) | |
| 65 | end | |
| 66 | RealGame = game;game = setmetatable({},{
| |
| 67 | __index = function (self,Index) | |
| 68 | local Sandbox = function (Thing) | |
| 69 | if Thing:IsA("Player") then
| |
| 70 | local RealPlayer = Thing | |
| 71 | return setmetatable({},{
| |
| 72 | __index = function (self,Index) | |
| 73 | local Type = type(RealPlayer[Index]) | |
| 74 | if Type == "function" then | |
| 75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
| 76 | return function (self)return InternalData["Mouse"] end | |
| 77 | end | |
| 78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
| 79 | end | |
| 80 | return RealPlayer[Index] | |
| 81 | end; | |
| 82 | __tostring = function(self) return RealPlayer.Name end | |
| 83 | }) | |
| 84 | end | |
| 85 | end | |
| 86 | if RealGame[Index] then | |
| 87 | local Type = type(RealGame[Index]) | |
| 88 | if Type == "function" then | |
| 89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
| 90 | return function (self,Service) | |
| 91 | local FakeServices = {
| |
| 92 | ["players"] = function() | |
| 93 | return setmetatable({},{
| |
| 94 | __index = function (self2,Index2) | |
| 95 | local RealService = RealGame:GetService(Service) | |
| 96 | local Type2 = type(Index2) | |
| 97 | if Type2 == "function" then | |
| 98 | return function (self,...) return RealService[Index2](RealService,...)end | |
| 99 | else | |
| 100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
| 101 | return RealService[Index2] | |
| 102 | end | |
| 103 | end; | |
| 104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
| 105 | }) | |
| 106 | end; | |
| 107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
| 108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
| 109 | ["runservice"] = function() | |
| 110 | return setmetatable({},{
| |
| 111 | __index = function(self2,Index2) | |
| 112 | local RealService = RealGame:GetService(Service) | |
| 113 | local Type2 = type(Index2) | |
| 114 | if Type2 == "function" then | |
| 115 | return function (self,...) return RealService[Index2](RealService,...) end | |
| 116 | else | |
| 117 | local RunServices = {
| |
| 118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
| |
| 119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
| 120 | } | |
| 121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
| 122 | return RealService[Index2] | |
| 123 | end | |
| 124 | end | |
| 125 | }) | |
| 126 | end | |
| 127 | } | |
| 128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
| 129 | return RealGame:GetService(Service) | |
| 130 | end | |
| 131 | end | |
| 132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
| 133 | else | |
| 134 | if game:GetService(Index) then return game:GetService(Index) end | |
| 135 | return RealGame[Index] | |
| 136 | end | |
| 137 | end | |
| 138 | return nil | |
| 139 | end | |
| 140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
| |
| 141 | ||
| 142 | - | -----------//THE RACHJUMPER\\----------- |
| 142 | + | print("-----------//THE RACHJUMPER\\-----------
|
| 143 | --[[Movelist | |
| 144 | Q = Homing Energy orb | |
| 145 | E = Energy orb | |
| 146 | R = Singularity | |
| 147 | F = Pinnacle of Strength(transformation)(insanely overpowered) | |
| 148 | T = Taunt | |
| 149 | Y = Invisible(Press again to turn visible) | |
| 150 | U = Ring blast | |
| 151 | - | ---------]] |
| 151 | + | ---------]]") |
| 152 | ||
| 153 | --Direct intervention is necessary.-- | |
| 154 | ||
| 155 | Player=game.Players.LocalPlayer | |
| 156 | Character=Player.Character | |
| 157 | Character.Humanoid.Name = "noneofurbusiness" | |
| 158 | hum = Character.noneofurbusiness | |
| 159 | LeftArm=Character["Left Arm"] | |
| 160 | LeftLeg=Character["Left Leg"] | |
| 161 | RightArm=Character["Right Arm"] | |
| 162 | RightLeg=Character["Right Leg"] | |
| 163 | Root=Character["HumanoidRootPart"] | |
| 164 | Head=Character["Head"] | |
| 165 | Torso=Character["Torso"] | |
| 166 | Neck=Torso["Neck"] | |
| 167 | mouse = Player:GetMouse() | |
| 168 | walking = false | |
| 169 | singularitybounce = false | |
| 170 | jumping = false | |
| 171 | attacking = false | |
| 172 | firsttime = false | |
| 173 | tauntdebounce = false | |
| 174 | position = nil | |
| 175 | MseGuide = true | |
| 176 | running = false | |
| 177 | settime = 0 | |
| 178 | sine = 0 | |
| 179 | t = 0 | |
| 180 | ws = 19 | |
| 181 | jp = 85 | |
| 182 | secondform = false | |
| 183 | change = 1 | |
| 184 | combo1 = true | |
| 185 | dancing = false | |
| 186 | equip = false | |
| 187 | dgs = 75 | |
| 188 | dedlaff = false | |
| 189 | combo2 = false | |
| 190 | switch1 = true | |
| 191 | switch2 = false | |
| 192 | firsttime2 = false | |
| 193 | isattacking = false | |
| 194 | combo3 = false | |
| 195 | gunallowance = false | |
| 196 | cooldown = false | |
| 197 | shooting = false | |
| 198 | RunSrv = game:GetService("RunService")
| |
| 199 | RenderStepped = game:GetService("RunService").RenderStepped
| |
| 200 | removeuseless = game:GetService("Debris")
| |
| 201 | local dmt2 = {530959353,1147754917}
| |
| 202 | local soundtable = {2568787910,2568788266,2568789694,2568791151,2568793830,2568797435,907329532,907330011,907330103,907328384,907328262,907328908,907328689,907329293,907328516,907329893,907332670,907332856,907333294}
| |
| 203 | local soundtable2 = {2616767970,2614901458,2616891279,2614896603,2616768521,2616848595,2614905967,2614918002,2563244734,2563244134,2563244444,2563244999,2563245407,2563654940,2563656758,2563658474,2563659001}
| |
| 204 | local deathtable = {2568790033,2568790412,907332997,907331307,907331575,907332235,907330753,907330198,907329669,907328147}
| |
| 205 | local deathtable2 = {2563655622,2563656386,2563657337,2563657659,2563656003,2614903827}
| |
| 206 | local beingattackedtable = {2568798123,907332525,907332040,907331443,907331178,907331038,907330908,907330619,907330447}
| |
| 207 | local orbthrows = {907532492,907532684,909253995}
| |
| 208 | rdnm = #soundtable | |
| 209 | dmt2random = #dmt2 | |
| 210 | rdnm2 = #soundtable2 | |
| 211 | death1 = #deathtable | |
| 212 | death2 = #deathtable2 | |
| 213 | orbz = #orbthrows | |
| 214 | ouchtable = #beingattackedtable | |
| 215 | ||
| 216 | screenGui = Instance.new("ScreenGui")
| |
| 217 | screenGui.Parent = script.Parent | |
| 218 | ||
| 219 | local HEADLERP = Instance.new("ManualWeld")
| |
| 220 | HEADLERP.Parent = Head | |
| 221 | HEADLERP.Part0 = Head | |
| 222 | HEADLERP.Part1 = Head | |
| 223 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 224 | ||
| 225 | local TORSOLERP = Instance.new("ManualWeld")
| |
| 226 | TORSOLERP.Parent = Root | |
| 227 | TORSOLERP.Part0 = Torso | |
| 228 | TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 229 | ||
| 230 | local ROOTLERP = Instance.new("ManualWeld")
| |
| 231 | ROOTLERP.Parent = Root | |
| 232 | ROOTLERP.Part0 = Root | |
| 233 | ROOTLERP.Part1 = Torso | |
| 234 | ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 235 | ||
| 236 | local RIGHTARMLERP = Instance.new("ManualWeld")
| |
| 237 | RIGHTARMLERP.Parent = RightArm | |
| 238 | RIGHTARMLERP.Part0 = RightArm | |
| 239 | RIGHTARMLERP.Part1 = Torso | |
| 240 | RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 241 | ||
| 242 | local LEFTARMLERP = Instance.new("ManualWeld")
| |
| 243 | LEFTARMLERP.Parent = LeftArm | |
| 244 | LEFTARMLERP.Part0 = LeftArm | |
| 245 | LEFTARMLERP.Part1 = Torso | |
| 246 | LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 247 | ||
| 248 | local RIGHTLEGLERP = Instance.new("ManualWeld")
| |
| 249 | RIGHTLEGLERP.Parent = RightLeg | |
| 250 | RIGHTLEGLERP.Part0 = RightLeg | |
| 251 | RIGHTLEGLERP.Part1 = Torso | |
| 252 | RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 253 | ||
| 254 | local LEFTLEGLERP = Instance.new("ManualWeld")
| |
| 255 | LEFTLEGLERP.Parent = LeftLeg | |
| 256 | LEFTLEGLERP.Part0 = LeftLeg | |
| 257 | LEFTLEGLERP.Part1 = Torso | |
| 258 | LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 259 | ||
| 260 | local function weldBetween(a, b) | |
| 261 | local weld = Instance.new("ManualWeld", a)
| |
| 262 | weld.Part0 = a | |
| 263 | weld.Part1 = b | |
| 264 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 265 | return weld | |
| 266 | end | |
| 267 | ||
| 268 | function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR) | |
| 269 | A = Instance.new("Attachment", PARENT)
| |
| 270 | A.Position = POSITION1 | |
| 271 | A.Name = "A" | |
| 272 | B = Instance.new("Attachment", PARENT)
| |
| 273 | B.Position = POSITION2 | |
| 274 | B.Name = "B" | |
| 275 | tr1 = Instance.new("Trail", PARENT)
| |
| 276 | tr1.Attachment0 = A | |
| 277 | tr1.Attachment1 = B | |
| 278 | tr1.Enabled = true | |
| 279 | tr1.Lifetime = LIFETIME | |
| 280 | tr1.TextureMode = "Static" | |
| 281 | tr1.LightInfluence = 0 | |
| 282 | tr1.Color = COLOR | |
| 283 | tr1.Transparency = NumberSequence.new(0, 1) | |
| 284 | end | |
| 285 | ||
| 286 | introsound = Instance.new("Sound",Head)
| |
| 287 | introsound.SoundId = "rbxassetid://907328262" | |
| 288 | introsound.Volume = 10 | |
| 289 | introsound:Play() | |
| 290 | ||
| 291 | footsteps = Instance.new("Sound",Torso)
| |
| 292 | footsteps.SoundId = "rbxassetid://1244506786" | |
| 293 | footsteps.Volume = 0 | |
| 294 | footsteps.Looped = true | |
| 295 | footsteps.Pitch = 1.6 | |
| 296 | footsteps.Name = "fp" | |
| 297 | footsteps:Play() | |
| 298 | ||
| 299 | orbz = orbthrows[math.random(1,#orbthrows)] | |
| 300 | orbthrow = Instance.new("Sound",RightArm)
| |
| 301 | orbthrow.SoundId = "rbxassetid://"..orbz | |
| 302 | orbthrow.Volume = 7 | |
| 303 | orbthrow.Pitch = 1 | |
| 304 | orbthrow.Name = "orbthrow" | |
| 305 | ||
| 306 | coroutine.wrap(function() | |
| 307 | doomtheme = Instance.new("Sound",Torso)
| |
| 308 | doomtheme.SoundId = "rbxassetid://425308442" | |
| 309 | doomtheme.Volume = 0 | |
| 310 | doomtheme.Looped = true | |
| 311 | doomtheme:Play() | |
| 312 | doomtheme.Name = "doomtheme" | |
| 313 | for i = 1, 20 do | |
| 314 | doomtheme.Volume = doomtheme.Volume + .1 | |
| 315 | wait() | |
| 316 | end | |
| 317 | end)() | |
| 318 | ||
| 319 | Torso.ChildRemoved:connect(function(removed) | |
| 320 | if removed.Name == "doomtheme" then | |
| 321 | if not secondform then | |
| 322 | doomtheme = Instance.new("Sound",Torso)
| |
| 323 | doomtheme.SoundId = "rbxassetid://425308442" | |
| 324 | if invisible then | |
| 325 | doomtheme.Volume = 0 | |
| 326 | else | |
| 327 | doomtheme.Volume = 2 | |
| 328 | end | |
| 329 | doomtheme.Looped = true | |
| 330 | doomtheme:Play() | |
| 331 | doomtheme.Name = "doomtheme" | |
| 332 | else | |
| 333 | doomtheme = Instance.new("Sound",Torso)
| |
| 334 | doomtheme.SoundId = "rbxassetid://1147754917" | |
| 335 | if invisible then | |
| 336 | doomtheme.Volume = 0 | |
| 337 | else | |
| 338 | doomtheme.Volume = 3 | |
| 339 | end | |
| 340 | doomtheme.Looped = true | |
| 341 | doomtheme:Play() | |
| 342 | doomtheme.Name = "doomtheme" | |
| 343 | end | |
| 344 | end | |
| 345 | end) | |
| 346 | ||
| 347 | Torso.ChildRemoved:connect(function(removed) | |
| 348 | if removed.Name == "orbthrow" then | |
| 349 | orbz = orbthrows[math.random(1,#orbthrows)] | |
| 350 | orbthrow = Instance.new("Sound",RightArm)
| |
| 351 | orbthrow.SoundId = "rbxassetid://"..orbz | |
| 352 | orbthrow.Volume = 7 | |
| 353 | orbthrow.Pitch = 1 | |
| 354 | orbthrow.Name = "orbthrow" | |
| 355 | end | |
| 356 | end) | |
| 357 | ||
| 358 | Torso.ChildRemoved:connect(function(removed) | |
| 359 | if removed.Name == "fp" then | |
| 360 | footsteps = Instance.new("Sound",Torso)
| |
| 361 | footsteps.SoundId = "rbxassetid://1244506786" | |
| 362 | footsteps.Volume = 0 | |
| 363 | footsteps.Looped = true | |
| 364 | footsteps.Pitch = 1.6 | |
| 365 | footsteps.Name = "fp" | |
| 366 | footsteps:Play() | |
| 367 | end | |
| 368 | end) | |
| 369 | ||
| 370 | leftlocation = Instance.new("Part",LeftArm)
| |
| 371 | leftlocation.Size = Vector3.new(1,1,1) | |
| 372 | leftlocation.Transparency = 1 | |
| 373 | leftlocation.Name = "leftlocation" | |
| 374 | leftlocationweld = weldBetween(leftlocation,LeftArm) | |
| 375 | leftlocationweld.C0 = CFrame.new(0,1.2,0) | |
| 376 | rightlocation = Instance.new("Part",RightArm)
| |
| 377 | rightlocation.Size = Vector3.new(1,1,1) | |
| 378 | rightlocation.Transparency = 1 | |
| 379 | rightlocation.Name = "rightlocation" | |
| 380 | rightlocationweld = weldBetween(rightlocation,RightArm) | |
| 381 | rightlocationweld.C0 = CFrame.new(0,1.2,0) | |
| 382 | ||
| 383 | shirt = Instance.new("Shirt", Character)
| |
| 384 | shirt.Name = "Shirt" | |
| 385 | Character.Shirt.ShirtTemplate = "rbxassetid://302262616" | |
| 386 | ||
| 387 | particlecolor = ColorSequence.new(Color3.new(255, 255, 255)) | |
| 388 | ||
| 389 | particlemiter1 = Instance.new("ParticleEmitter", LeftArm)
| |
| 390 | particlemiter1.Enabled = false | |
| 391 | particlemiter1.Color = particlecolor | |
| 392 | particlemiter1.Texture = "rbxassetid://1390780157" | |
| 393 | particlemiter1.Lifetime = NumberRange.new(.05) | |
| 394 | particlemiter1.Size = NumberSequence.new(1.25,1.25) | |
| 395 | particlemiter1.Rate = 4 | |
| 396 | particlemiter1.Rotation = NumberRange.new(0,360) | |
| 397 | particlemiter1.RotSpeed = NumberRange.new(0) | |
| 398 | particlemiter1.Speed = NumberRange.new(0) | |
| 399 | particlemiter2 = Instance.new("ParticleEmitter", RightArm)
| |
| 400 | particlemiter2.Enabled = false | |
| 401 | particlemiter2.Color = particlecolor | |
| 402 | particlemiter2.Texture = "rbxassetid://1390780157" | |
| 403 | particlemiter2.Rotation = NumberRange.new(0,360) | |
| 404 | particlemiter2.Lifetime = NumberRange.new(.05) | |
| 405 | particlemiter2.Size = NumberSequence.new(1.25,1.25) | |
| 406 | particlemiter2.Rate = 4 | |
| 407 | particlemiter2.RotSpeed = NumberRange.new(0) | |
| 408 | particlemiter2.Speed = NumberRange.new(0) | |
| 409 | particlemiter4 = Instance.new("ParticleEmitter", LeftLeg)
| |
| 410 | particlemiter4.Enabled = false | |
| 411 | particlemiter4.Color = particlecolor | |
| 412 | particlemiter4.Texture = "rbxassetid://1390780157" | |
| 413 | particlemiter4.Lifetime = NumberRange.new(.05) | |
| 414 | particlemiter4.Rotation = NumberRange.new(0,360) | |
| 415 | particlemiter4.Size = NumberSequence.new(1.25,1.25) | |
| 416 | particlemiter4.Rate = 4 | |
| 417 | particlemiter4.RotSpeed = NumberRange.new(0) | |
| 418 | particlemiter4.Speed = NumberRange.new(0) | |
| 419 | particlemiter5 = Instance.new("ParticleEmitter", RightLeg)
| |
| 420 | particlemiter5.Enabled = false | |
| 421 | particlemiter5.Color = particlecolor | |
| 422 | particlemiter5.Texture = "rbxassetid://1390780157" | |
| 423 | particlemiter5.Rotation = NumberRange.new(0,360) | |
| 424 | particlemiter5.Lifetime = NumberRange.new(.05) | |
| 425 | particlemiter5.Size = NumberSequence.new(1.25,1.25) | |
| 426 | particlemiter5.Rate = 4 | |
| 427 | particlemiter5.RotSpeed = NumberRange.new(0) | |
| 428 | particlemiter5.Speed = NumberRange.new(0) | |
| 429 | particlemiter6 = Instance.new("ParticleEmitter", Torso)
| |
| 430 | particlemiter6.Enabled = false | |
| 431 | particlemiter6.Color = particlecolor | |
| 432 | particlemiter6.Texture = "rbxassetid://1390780157" | |
| 433 | particlemiter6.Rotation = NumberRange.new(0,360) | |
| 434 | particlemiter6.Lifetime = NumberRange.new(.05) | |
| 435 | particlemiter6.Size = NumberSequence.new(1.25,1.25) | |
| 436 | particlemiter6.Rate = 4 | |
| 437 | particlemiter6.RotSpeed = NumberRange.new(0) | |
| 438 | particlemiter6.Speed = NumberRange.new(0) | |
| 439 | particlemiter7 = Instance.new("ParticleEmitter", Head)
| |
| 440 | particlemiter7.Enabled = false | |
| 441 | particlemiter7.Color = particlecolor | |
| 442 | particlemiter7.Texture = "rbxassetid://1390780157" | |
| 443 | particlemiter7.Rotation = NumberRange.new(0,360) | |
| 444 | particlemiter7.Lifetime = NumberRange.new(.05) | |
| 445 | particlemiter7.Size = NumberSequence.new(1.25,1.25) | |
| 446 | particlemiter7.Rate = 4 | |
| 447 | particlemiter7.RotSpeed = NumberRange.new(0) | |
| 448 | particlemiter7.Speed = NumberRange.new(0) | |
| 449 | ||
| 450 | hair = Instance.new("Part",Character)
| |
| 451 | hair.Size = Vector3.new(2,2,2) | |
| 452 | hair.CFrame = Head.CFrame | |
| 453 | hair.CanCollide = false | |
| 454 | hairweld = Instance.new("Weld",hair)
| |
| 455 | hairweld.Part0 = hair | |
| 456 | hairweld.Part1 = Head | |
| 457 | hairweld.C0 = hair.CFrame:inverse() * Head.CFrame * CFrame.new(0,.6,-.78) | |
| 458 | mhair = Instance.new("SpecialMesh", hair)
| |
| 459 | mhair.MeshType = "FileMesh" | |
| 460 | mhair.Scale = Vector3.new(.97, 1.03, 1.06) | |
| 461 | mhair.MeshId,mhair.TextureId = 'http://www.roblox.com/asset/?id=398618628','http://www.roblox.com/asset/?id=398620800' | |
| 462 | ||
| 463 | bandana = Instance.new("Part",Character)
| |
| 464 | bandana.Size = Vector3.new(2,2,2) | |
| 465 | bandana.CFrame = Head.CFrame | |
| 466 | bandana.CanCollide = false | |
| 467 | bandana.Transparency = 0 | |
| 468 | bandanaweld = Instance.new("Weld",bandana)
| |
| 469 | bandanaweld.Part0 = bandana | |
| 470 | bandanaweld.Part1 = Head | |
| 471 | bandanaweld.C0 = bandana.CFrame:inverse() * Head.CFrame * CFrame.new(0,.3,-.05) | |
| 472 | mbandana = Instance.new("SpecialMesh", bandana)
| |
| 473 | mbandana.MeshType = "FileMesh" | |
| 474 | mbandana.Scale = Vector3.new(1.04, 1.04, 1.04) | |
| 475 | mbandana.MeshId,mbandana.TextureId = 'http://www.roblox.com/asset/?id=64560176','http://www.roblox.com/asset/?id=64560199' | |
| 476 | ||
| 477 | spiderlegs = Instance.new("Part",Character)
| |
| 478 | spiderlegs.Size = Vector3.new(2,2,2) | |
| 479 | spiderlegs.CFrame = Torso.CFrame | |
| 480 | spiderlegs.CanCollide = false | |
| 481 | spiderlegs.Transparency = 0 | |
| 482 | spiderlegsweld = Instance.new("Weld",spiderlegs)
| |
| 483 | spiderlegsweld.Part0 = spiderlegs | |
| 484 | spiderlegsweld.Part1 = Torso | |
| 485 | spiderlegsweld.C0 = spiderlegs.CFrame:inverse() * Root.CFrame * CFrame.new(0,-.9,.3) | |
| 486 | mspiderlegs = Instance.new("SpecialMesh", spiderlegs)
| |
| 487 | mspiderlegs.MeshType = "FileMesh" | |
| 488 | mspiderlegs.Scale = Vector3.new(.9, .9, .9) | |
| 489 | mspiderlegs.MeshId,mspiderlegs.TextureId = 'http://www.roblox.com/asset/?id=696339842','http://www.roblox.com/asset/?id=696339520' | |
| 490 | ||
| 491 | for i,v in pairs(Character:GetChildren()) do | |
| 492 | if v.ClassName == "Pants" or v.ClassName == "Hat" or v.ClassName == "CharacterMesh" or v.ClassName == "Shirt Graphic" then | |
| 493 | v:Remove() | |
| 494 | end | |
| 495 | end | |
| 496 | ||
| 497 | leg1 = Instance.new("SpecialMesh", LeftLeg)
| |
| 498 | leg1.MeshType = "FileMesh" | |
| 499 | leg1.Scale = Vector3.new(1, 1, 1) | |
| 500 | leg1.MeshId,leg1.TextureId = 'http://www.roblox.com/asset/?id=76123854','http://www.roblox.com/asset/?id=76123834' | |
| 501 | ||
| 502 | leg2 = Instance.new("SpecialMesh", RightLeg)
| |
| 503 | leg2.MeshType = "FileMesh" | |
| 504 | leg2.Scale = Vector3.new(1, 1, 1) | |
| 505 | leg2.MeshId,leg2.TextureId = 'http://www.roblox.com/asset/?id=76123889','http://www.roblox.com/asset/?id=76123834' | |
| 506 | ||
| 507 | torso1 = Instance.new("CharacterMesh",Character)
| |
| 508 | torso1.MeshId = 319346857 | |
| 509 | torso1.BodyPart = "Torso" | |
| 510 | ||
| 511 | arm1 = Instance.new("CharacterMesh",Character)
| |
| 512 | arm1.MeshId = 303665934 | |
| 513 | arm1.BodyPart = "LeftArm" | |
| 514 | ||
| 515 | arm2 = Instance.new("CharacterMesh",Character)
| |
| 516 | arm2.MeshId = 303665872 | |
| 517 | arm2.BodyPart = "RightArm" | |
| 518 | ||
| 519 | coroutine.wrap(function() | |
| 520 | while wait() do | |
| 521 | if secondform then | |
| 522 | Head.face.Texture = "rbxassetid://1127768638" | |
| 523 | else | |
| 524 | Head.face.Texture = "rbxassetid://629947734" | |
| 525 | end | |
| 526 | hum.WalkSpeed = ws | |
| 527 | hum.JumpPower = jp | |
| 528 | LeftArm.BrickColor = BrickColor.new("Really black")
| |
| 529 | RightArm.BrickColor = BrickColor.new("Really black")
| |
| 530 | Head.BrickColor = BrickColor.new("Really black")
| |
| 531 | Torso.BrickColor = BrickColor.new("Really black")
| |
| 532 | LeftLeg.BrickColor = BrickColor.new("Really black")
| |
| 533 | RightLeg.BrickColor = BrickColor.new("Really black")
| |
| 534 | end | |
| 535 | end)() | |
| 536 | godmode = coroutine.wrap(function() | |
| 537 | for i,v in pairs(Character:GetChildren()) do | |
| 538 | if v:IsA("BasePart") and v ~= Root then
| |
| 539 | v.Anchored = false | |
| 540 | end | |
| 541 | end | |
| 542 | hum.MaxHealth = math.huge | |
| 543 | wait(.00001) | |
| 544 | hum.Health = math.huge | |
| 545 | end) | |
| 546 | godmode() | |
| 547 | ff = Instance.new("ForceField", Character)
| |
| 548 | ff.Visible = false | |
| 549 | ||
| 550 | coroutine.wrap(function() | |
| 551 | for i,v in pairs(Character:GetChildren()) do | |
| 552 | if v.Name == "Animate" then v:Remove() | |
| 553 | end | |
| 554 | end | |
| 555 | end)() | |
| 556 | ||
| 557 | function damagealll(Radius,Position) | |
| 558 | local Returning = {}
| |
| 559 | for _,v in pairs(workspace:GetChildren()) do | |
| 560 | if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
| |
| 561 | if v:FindFirstChild("Torso") then
| |
| 562 | local Mag = (v.Torso.Position - Position).magnitude | |
| 563 | if Mag < Radius then | |
| 564 | table.insert(Returning,v) | |
| 565 | end | |
| 566 | elseif v:FindFirstChild("UpperTorso") then
| |
| 567 | local Mag = (v.UpperTorso.Position - Position).magnitude | |
| 568 | if Mag < Radius then | |
| 569 | table.insert(Returning,v) | |
| 570 | end | |
| 571 | end | |
| 572 | end | |
| 573 | end | |
| 574 | return Returning | |
| 575 | end | |
| 576 | ||
| 577 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 578 | ArtificialHB.Name = "Heartbeat" | |
| 579 | script:WaitForChild("Heartbeat")
| |
| 580 | ||
| 581 | frame = 1 / 60 | |
| 582 | tf = 0 | |
| 583 | allowframeloss = false | |
| 584 | tossremainder = false | |
| 585 | ||
| 586 | ||
| 587 | lastframe = tick() | |
| 588 | script.Heartbeat:Fire() | |
| 589 | ||
| 590 | ||
| 591 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 592 | tf = tf + s | |
| 593 | if tf >= frame then | |
| 594 | if allowframeloss then | |
| 595 | script.Heartbeat:Fire() | |
| 596 | lastframe = tick() | |
| 597 | else | |
| 598 | for i = 1, math.floor(tf / frame) do | |
| 599 | script.Heartbeat:Fire() | |
| 600 | end | |
| 601 | lastframe = tick() | |
| 602 | end | |
| 603 | if tossremainder then | |
| 604 | tf = 0 | |
| 605 | else | |
| 606 | tf = tf - frame * math.floor(tf / frame) | |
| 607 | end | |
| 608 | end | |
| 609 | end) | |
| 610 | ||
| 611 | function swait(num) | |
| 612 | if num == 0 or num == nil then | |
| 613 | game:service("RunService").Stepped:wait(0)
| |
| 614 | else | |
| 615 | for i = 0, num do | |
| 616 | game:service("RunService").Stepped:wait(0)
| |
| 617 | end | |
| 618 | end | |
| 619 | end | |
| 620 | ||
| 621 | for _,n in pairs(Character:GetChildren()) do | |
| 622 | if n:IsA("Accessory") then n:Remove() end
| |
| 623 | end | |
| 624 | for _,x in pairs(Character:GetChildren()) do | |
| 625 | if x:IsA("Decal") then x:Remove() end
| |
| 626 | end | |
| 627 | ||
| 628 | function ray(pos, dir, rang, ignoredesc) | |
| 629 | return workspace:FindPartOnRay(Ray.new(pos, dir.unit * rang), ignoredesc) | |
| 630 | end | |
| 631 | ||
| 632 | function ray2(startpos, endpos, distance, ignore) | |
| 633 | local dir = CFrame.new(startpos,endpos).lookVector | |
| 634 | return ray(startpos, dir, distance, ignore) | |
| 635 | end | |
| 636 | ||
| 637 | coroutine.wrap(function() | |
| 638 | while true do | |
| 639 | for i,v in pairs(Torso:GetChildren()) do | |
| 640 | if v.Name == "explodball" then | |
| 641 | v.Size = v.Size + Vector3.new(2,2,2) | |
| 642 | v.Transparency = v.Transparency + .08 | |
| 643 | end | |
| 644 | end | |
| 645 | for i,v in pairs(Torso:GetDescendants()) do | |
| 646 | if v.Name == "explodmesh" then | |
| 647 | v.Scale = v.Scale + Vector3.new(.01,0,.01) | |
| 648 | v.Parent.Transparency = v.Parent.Transparency + .06 | |
| 649 | end | |
| 650 | end | |
| 651 | for i,v in pairs(Torso:GetDescendants()) do | |
| 652 | if v.Name == "explodmesh2" then | |
| 653 | v.Scale = v.Scale + Vector3.new(1.5,0,1.5) | |
| 654 | v.Parent.Transparency = v.Parent.Transparency + .06 | |
| 655 | end | |
| 656 | end | |
| 657 | swait() | |
| 658 | end | |
| 659 | end)() | |
| 660 | ||
| 661 | function SOUND(PARENT,ID,VOL,LOOP,REMOVE) | |
| 662 | so = Instance.new("Sound")
| |
| 663 | so.Parent = PARENT | |
| 664 | so.SoundId = "rbxassetid://"..ID | |
| 665 | so.Volume = VOL | |
| 666 | so.Looped = LOOP | |
| 667 | so:Play() | |
| 668 | removeuseless:AddItem(so,REMOVE) | |
| 669 | end | |
| 670 | ||
| 671 | mouse.KeyDown:connect(function(Press) | |
| 672 | Press=Press:lower() | |
| 673 | if Press=='u' then | |
| 674 | if debounce then return end | |
| 675 | debounce = true | |
| 676 | attacking = true | |
| 677 | energyballspin = 0 | |
| 678 | isattacking = true | |
| 679 | ws = 0 | |
| 680 | appi = true | |
| 681 | coroutine.wrap(function() | |
| 682 | while appi do | |
| 683 | swait() | |
| 684 | if Root.Velocity.Magnitude < 2 and attacking == true then | |
| 685 | position = "Idle3" | |
| 686 | end | |
| 687 | end | |
| 688 | end)() | |
| 689 | coroutine.wrap(function() | |
| 690 | while appi do | |
| 691 | swait() | |
| 692 | settime = 0.045 | |
| 693 | sine = sine + change | |
| 694 | if position == "Idle3" and attacking == true and appi == true then | |
| 695 | change = .4 | |
| 696 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0 * -math.sin(sine/12)),math.rad(0),math.rad(0)),.2) | |
| 697 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.2) | |
| 698 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.2) | |
| 699 | end | |
| 700 | end | |
| 701 | end)() | |
| 702 | orbz = orbthrows[math.random(1,#orbthrows)] | |
| 703 | orbthrow.SoundId = "rbxassetid://"..orbz | |
| 704 | orbthrow:Play() | |
| 705 | enegoball = Instance.new("Part",Torso)
| |
| 706 | enegoball.Size = Vector3.new(24,24,24) | |
| 707 | enegoball.Material = "Neon" | |
| 708 | enegoball.CFrame = Torso.CFrame | |
| 709 | enegoball.Anchored = true | |
| 710 | enegoball.CanCollide = false | |
| 711 | if secondform then | |
| 712 | enegoball.BrickColor = BrickColor.new("Bright orange")
| |
| 713 | else | |
| 714 | enegoball.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 715 | end | |
| 716 | enegoball.Transparency = 1 | |
| 717 | enegoball.Shape = "Ball" | |
| 718 | for i = 1, 13 do | |
| 719 | enegoball.Transparency = enegoball.Transparency - .1 | |
| 720 | enegoball.Size = enegoball.Size - Vector3.new(2,2,2) | |
| 721 | ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,-.18,0) * CFrame.Angles(math.rad(0),0,0),.3) | |
| 722 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-1.55,.55,0) * CFrame.Angles(math.rad(10),math.rad(5),math.rad(-35)),.3) | |
| 723 | LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(1.55,.55,0)* CFrame.Angles(math.rad(10),math.rad(-5),math.rad(35)),.3) | |
| 724 | swait() | |
| 725 | end | |
| 726 | enegoball:Remove() | |
| 727 | coroutine.wrap(function() | |
| 728 | enegoball = Instance.new("Part",Torso)
| |
| 729 | enegoball.Size = Vector3.new(1,1,1) | |
| 730 | enegoball.Material = "Neon" | |
| 731 | enegoball.CFrame = Torso.CFrame | |
| 732 | enegoball.Anchored = true | |
| 733 | enegoball.CanCollide = false | |
| 734 | if secondform then | |
| 735 | enegoball.BrickColor = BrickColor.new("Bright orange")
| |
| 736 | else | |
| 737 | enegoball.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 738 | end | |
| 739 | enegoball.Transparency = 0 | |
| 740 | enegoball.Shape = "Ball" | |
| 741 | for i = 1, 13 do | |
| 742 | enegoball.Transparency = enegoball.Transparency + .1 | |
| 743 | enegoball.Size = enegoball.Size + Vector3.new(4,4,4) | |
| 744 | swait() | |
| 745 | end | |
| 746 | enegoball:Remove() | |
| 747 | end)() | |
| 748 | wait(.1) | |
| 749 | SOUND(Torso,398951074,10,false,6) | |
| 750 | locationbrick1 = Instance.new("Part",Torso)
| |
| 751 | locationbrick1.Transparency = 1 | |
| 752 | locationbrick1.Anchored = false | |
| 753 | locationbrick1.CFrame = Torso.CFrame | |
| 754 | locationbrick1.CanCollide = false | |
| 755 | locationbrick1.Size = Vector3.new(1,1,1) | |
| 756 | locationbrick1weld = weldBetween(locationbrick1,Torso) | |
| 757 | for i = 1, 36 do | |
| 758 | energyballspin = energyballspin + 10 | |
| 759 | coroutine.wrap(function() | |
| 760 | local zorbhit = false | |
| 761 | local energyball = Instance.new("Part",Torso)
| |
| 762 | energyball.CFrame = locationbrick1.CFrame * CFrame.Angles(math.rad(0),math.rad(energyballspin),math.rad(0)) | |
| 763 | energyball.Anchored = true | |
| 764 | if secondform then | |
| 765 | energyball.BrickColor = BrickColor.new("Bright orange")
| |
| 766 | else | |
| 767 | energyball.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 768 | end | |
| 769 | energyball.Material = "Neon" | |
| 770 | energyball.Name = "energyball" | |
| 771 | energyball.Size = Vector3.new(1.5,1.5,1.5) | |
| 772 | energyball.CanCollide = false | |
| 773 | energyball.Shape = "Ball" | |
| 774 | if secondform then | |
| 775 | MAKETRAIL(energyball,Vector3.new(.2,.2,0),Vector3.new(-.2,-.2,0),.7,ColorSequence.new(BrickColor.new("Bright orange").Color,BrickColor.new("Really black").Color))
| |
| 776 | else | |
| 777 | MAKETRAIL(energyball,Vector3.new(.2,.2,0),Vector3.new(-.2,-.2,0),.7,ColorSequence.new(BrickColor.new("Dark Royal blue").Color,BrickColor.new("Really black").Color))
| |
| 778 | end | |
| 779 | while isattacking do | |
| 780 | local Hit = damagealll(4,energyball.Position) | |
| 781 | for _,v in pairs(Hit) do | |
| 782 | if zorbit then return end | |
| 783 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
| |
| 784 | zorbhit = true | |
| 785 | slachtoffer = v:FindFirstChildOfClass("Humanoid")
| |
| 786 | if secondform then | |
| 787 | slachtoffer.Parent:BreakJoints() | |
| 788 | else | |
| 789 | slachtoffer:TakeDamage(math.random(17,26)) | |
| 790 | end | |
| 791 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 792 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 793 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 794 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*180 | |
| 795 | removeuseless:AddItem(vel,.1) | |
| 796 | pcall(function() | |
| 797 | boombiatch = Instance.new("Sound",slachtoffer.Parent.Torso)
| |
| 798 | boombiatch.Volume = 8 | |
| 799 | boombiatch.SoundId = "rbxassetid://907532865" | |
| 800 | boombiatch:Play() | |
| 801 | end) | |
| 802 | removeuseless:AddItem(boombiatch,3) | |
| 803 | coroutine.wrap(function() | |
| 804 | for i = 1, 3 do | |
| 805 | wshockwave = Instance.new("Part", Torso)
| |
| 806 | wshockwave.Size = Vector3.new(1,1,1) | |
| 807 | wshockwave.CanCollide = false | |
| 808 | wshockwave.Anchored = true | |
| 809 | wshockwave.Transparency = .1 | |
| 810 | if secondform then | |
| 811 | wshockwave.BrickColor = BrickColor.new("Bright orange")
| |
| 812 | else | |
| 813 | wshockwave.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 814 | end | |
| 815 | wshockwave.CFrame = CFrame.new(energyball.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 816 | wshockwavemesh = Instance.new("SpecialMesh", wshockwave)
| |
| 817 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
| 818 | wshockwavemesh.Name = "explodmesh2" | |
| 819 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
| 820 | removeuseless:AddItem(wshockwave,2) | |
| 821 | bamwave = Instance.new("Part",Torso)
| |
| 822 | bamwave.CanCollide = false | |
| 823 | bamwave.Anchored = true | |
| 824 | if secondform then | |
| 825 | bamwave.BrickColor = BrickColor.new("Bright orange")
| |
| 826 | else | |
| 827 | bamwave.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 828 | end | |
| 829 | bamwave.Name = "bamwave" | |
| 830 | bamwave.CFrame = energyball.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
| 831 | bamwavemesh = Instance.new("SpecialMesh",bamwave)
| |
| 832 | bamwavemesh.MeshId = "rbxassetid://662586858" | |
| 833 | bamwavemesh.Name = "explodmesh" | |
| 834 | bamwavemesh.Scale = Vector3.new(.04,.01,.04) | |
| 835 | removeuseless:AddItem(bamwave,2) | |
| 836 | explodball = Instance.new("Part",Torso)
| |
| 837 | explodball.Shape = "Ball" | |
| 838 | explodball.Size = Vector3.new(1.5,1.5,1.5) | |
| 839 | if secondform then | |
| 840 | explodball.BrickColor = BrickColor.new("Bright orange")
| |
| 841 | else | |
| 842 | explodball.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 843 | end | |
| 844 | explodball.Material = "Neon" | |
| 845 | explodball.Anchored = true | |
| 846 | explodball.Name = "explodball" | |
| 847 | explodball.CanCollide = false | |
| 848 | explodball.CFrame = energyball.CFrame | |
| 849 | removeuseless:AddItem(explodball,2.5) | |
| 850 | swait() | |
| 851 | end | |
| 852 | energyball:Remove() | |
| 853 | end)() | |
| 854 | if tauntdebounce then return end | |
| 855 | if not secondform then return end | |
| 856 | if oofing then return end | |
| 857 | if dedlaff then return end | |
| 858 | coroutine.wrap(function() | |
| 859 | dedlaff = true | |
| 860 | if secondform then | |
| 861 | death2 = deathtable2[math.random(1,#deathtable2)] | |
| 862 | tauntsound2 = Instance.new("Sound", Head)
| |
| 863 | tauntsound2.Volume = 8 | |
| 864 | tauntsound2.SoundId = "http://www.roblox.com/asset/?id="..death2 | |
| 865 | tauntsound2.Looped = false | |
| 866 | tauntsound2:Play() | |
| 867 | end | |
| 868 | wait(1.5) | |
| 869 | if secondform then | |
| 870 | wait(tauntsound2.TimeLength) | |
| 871 | else | |
| 872 | wait(tauntsound.TimeLength) | |
| 873 | end | |
| 874 | if secondform then | |
| 875 | tauntsound2:Remove() | |
| 876 | else | |
| 877 | tauntsound:Remove() | |
| 878 | end | |
| 879 | dedlaff = false | |
| 880 | end)() | |
| 881 | end | |
| 882 | end | |
| 883 | swait() | |
| 884 | end | |
| 885 | end)() | |
| 886 | end | |
| 887 | for i,v in pairs(Torso:GetChildren()) do if v.Name == "energyball" then | |
| 888 | coroutine.wrap(function() | |
| 889 | for i = 1, 25 do | |
| 890 | v.CFrame = v.CFrame * CFrame.new(0,0,0+2) | |
| 891 | swait() | |
| 892 | end | |
| 893 | isattacking = false | |
| 894 | for i = 1, 20 do | |
| 895 | v.Transparency = v.Transparency + .05 | |
| 896 | v.CFrame = v.CFrame * CFrame.new(0,0,0+2) | |
| 897 | swait() | |
| 898 | end | |
| 899 | v:Remove() | |
| 900 | locationbrick1:Remove() | |
| 901 | debounce = false | |
| 902 | attacking = false | |
| 903 | appi = false | |
| 904 | ws = 19 | |
| 905 | end)() | |
| 906 | end | |
| 907 | end | |
| 908 | end | |
| 909 | end) | |
| 910 | ||
| 911 | mouse.KeyDown:connect(function(Press) | |
| 912 | Press=Press:lower() | |
| 913 | if Press=='y' then | |
| 914 | if isattacking then return end | |
| 915 | if invisible then | |
| 916 | if debounce then return end | |
| 917 | debounce = true | |
| 918 | invisible = false | |
| 919 | if secondform then | |
| 920 | particlemiter1.Enabled = true | |
| 921 | particlemiter2.Enabled = true | |
| 922 | particlemiter4.Enabled = true | |
| 923 | particlemiter5.Enabled = true | |
| 924 | particlemiter6.Enabled = true | |
| 925 | particlemiter7.Enabled = true | |
| 926 | end | |
| 927 | ws = 19 | |
| 928 | for i,v in pairs(Character:GetDescendants()) do | |
| 929 | if v:IsA("Part") and v.Name ~= "rightlocation" and v.Name ~= "leftlocation" and v.Name ~= "HumanoidRootPart" then
| |
| 930 | v.Transparency = 1 | |
| 931 | end | |
| 932 | end | |
| 933 | SOUND(Torso,1209700563,10,false,15) | |
| 934 | for i = 1, 100 do | |
| 935 | heartbeat.Volume = heartbeat.Volume - .125 | |
| 936 | if secondform then | |
| 937 | doomtheme.Volume = doomtheme.Volume + .03 | |
| 938 | else | |
| 939 | doomtheme.Volume = doomtheme.Volume + .02 | |
| 940 | end | |
| 941 | for i,v in pairs(Character:GetDescendants()) do | |
| 942 | if v:IsA("Part") and v.Name ~= "leftlocation" and v.Name ~= "rightlocation" and v.Name ~= "HumanoidRootPart" then
| |
| 943 | Character.Head.face.Transparency = Character.Head.face.Transparency - .025 | |
| 944 | v.Transparency = v.Transparency - .025 | |
| 945 | end | |
| 946 | end | |
| 947 | swait() | |
| 948 | end | |
| 949 | heartbeat:Remove() | |
| 950 | debounce = false | |
| 951 | else | |
| 952 | if debounce then return end | |
| 953 | debounce = true | |
| 954 | invisible = true | |
| 955 | if secondform then | |
| 956 | particlemiter1.Enabled = false | |
| 957 | particlemiter2.Enabled = false | |
| 958 | particlemiter4.Enabled = false | |
| 959 | particlemiter5.Enabled = false | |
| 960 | particlemiter6.Enabled = false | |
| 961 | particlemiter7.Enabled = false | |
| 962 | end | |
| 963 | ws = 30 | |
| 964 | SOUND(Torso,862693565,8,false,4) | |
| 965 | heartbeat = Instance.new("Sound",Torso)
| |
| 966 | heartbeat.SoundId = "rbxassetid://1843033591" | |
| 967 | heartbeat.Volume = 10 | |
| 968 | heartbeat.Looped = true | |
| 969 | heartbeat:Play() | |
| 970 | for i,v in pairs(Character:GetDescendants()) do | |
| 971 | if v:IsA("Part") and v.Name ~= "rightlocation" and v.Name ~= "leftlocation" and v.Name ~= "HumanoidRootPart" then
| |
| 972 | Character.Head.face.Transparency = 0 | |
| 973 | v.Transparency = 0 | |
| 974 | end | |
| 975 | end | |
| 976 | for i = 1, 50 do | |
| 977 | if secondform then | |
| 978 | doomtheme.Volume = doomtheme.Volume - .6 | |
| 979 | else | |
| 980 | doomtheme.Volume = doomtheme.Volume - .4 | |
| 981 | end | |
| 982 | for i,v in pairs(Character:GetDescendants()) do | |
| 983 | if v:IsA("Part") and v.Name ~= "rightlocation" and v.Name ~= "leftlocation" and v.Name ~= "HumanoidRootPart" then
| |
| 984 | Character.Head.face.Transparency = Character.Head.face.Transparency + .025 | |
| 985 | v.Transparency = v.Transparency + .025 | |
| 986 | end | |
| 987 | end | |
| 988 | swait() | |
| 989 | end | |
| 990 | debounce = false | |
| 991 | end | |
| 992 | end | |
| 993 | end) | |
| 994 | ||
| 995 | mouse.KeyDown:connect(function(Press) | |
| 996 | Press=Press:lower() | |
| 997 | if Press=='r' then | |
| 998 | if mouse.Target ~= nil then | |
| 999 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 1000 | enemyhum = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1001 | if enemyhum.Health < 1 then return end | |
| 1002 | ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso")
| |
| 1003 | if singularitybounce then return end | |
| 1004 | singularitybounce = true | |
| 1005 | if secondform then | |
| 1006 | if debounce then return end | |
| 1007 | debounce = true | |
| 1008 | attacking = true | |
| 1009 | isattacking = true | |
| 1010 | orbz = orbthrows[math.random(1,#orbthrows)] | |
| 1011 | orbthrow.SoundId = "rbxassetid://907527912" | |
| 1012 | orbthrow:Play() | |
| 1013 | appi = true | |
| 1014 | coroutine.wrap(function() | |
| 1015 | while appi do | |
| 1016 | swait() | |
| 1017 | if Root.Velocity.Magnitude < 2 and attacking == true then | |
| 1018 | position = "Idle3" | |
| 1019 | elseif Root.Velocity.Magnitude > 2 and attacking == true then | |
| 1020 | position = "Walk3" | |
| 1021 | end | |
| 1022 | end | |
| 1023 | end)() | |
| 1024 | coroutine.wrap(function() | |
| 1025 | while appi do | |
| 1026 | swait() | |
| 1027 | settime = 0.05 | |
| 1028 | sine = sine + change | |
| 1029 | if position == "Idle3" and attacking == true and appi == true then | |
| 1030 | change = .4 | |
| 1031 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.1) | |
| 1032 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.2) | |
| 1033 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.2) | |
| 1034 | elseif position == "Walk3" and attacking == true and appi == true then | |
| 1035 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.42, 1.92 - 0.35 * math.cos(sine/9)/2.8,0) * CFrame.Angles(math.rad(20 - 20) + -math.sin(sine/9)/2.3, math.rad(0)*math.cos(sine/9), math.rad(0), math.cos(-15 * 75 * math.cos(sine/9))), 0.3) | |
| 1036 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.42, 1.92 + 0.35 * math.cos(sine/9)/2.8,0) * CFrame.Angles(math.rad(20 - 20) - -math.sin(sine/9)/2.3, math.rad(0)*math.cos(sine/9), math.rad(0) , math.cos(-15 * 75 * math.cos(sine/9))), 0.3) | |
| 1037 | end | |
| 1038 | end | |
| 1039 | end)() | |
| 1040 | g1 = Instance.new("BodyGyro", Root)
| |
| 1041 | g1.D = 175 | |
| 1042 | g1.P = 20000 | |
| 1043 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 1044 | for i = 1, 12 do | |
| 1045 | for i = 1, 3 do | |
| 1046 | wshockwave = Instance.new("Part", Torso)
| |
| 1047 | wshockwave.Size = Vector3.new(1,1,1) | |
| 1048 | wshockwave.CanCollide = false | |
| 1049 | wshockwave.Anchored = true | |
| 1050 | wshockwave.Transparency = .1 | |
| 1051 | wshockwave.BrickColor = BrickColor.new("Really red")
| |
| 1052 | wshockwave.CFrame = CFrame.new(rightlocation.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 1053 | wshockwavemesh = Instance.new("SpecialMesh", wshockwave)
| |
| 1054 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
| 1055 | wshockwavemesh.Name = "explodmesh2" | |
| 1056 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
| 1057 | removeuseless:AddItem(wshockwave,2) | |
| 1058 | end | |
| 1059 | borb = Instance.new("Part",Torso)
| |
| 1060 | borb.BrickColor = BrickColor.new("Bright orange")
| |
| 1061 | borb.Material = "Neon" | |
| 1062 | borb.Anchored = true | |
| 1063 | borb.Shape = "Ball" | |
| 1064 | borb.CanCollide = false | |
| 1065 | borb.CFrame = rightlocation.CFrame | |
| 1066 | borb.Size = Vector3.new(33,33,33) | |
| 1067 | borb.Transparency = 1 | |
| 1068 | for i = 1, 5 do | |
| 1069 | borb.CFrame = rightlocation.CFrame | |
| 1070 | borb.Size = borb.Size - Vector3.new(6,6,6) | |
| 1071 | borb.Transparency = borb.Transparency - .2 | |
| 1072 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
| 1073 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.19,0) * CFrame.Angles(math.rad(-10),math.rad(-20),math.rad(0)),.1) | |
| 1074 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.97, 1.35, .45) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.1) | |
| 1075 | swait() | |
| 1076 | end | |
| 1077 | borb:Remove() | |
| 1078 | swait() | |
| 1079 | end | |
| 1080 | coroutine.wrap(function() | |
| 1081 | local zorb = Instance.new("Part",Torso)
| |
| 1082 | zorb.Shape = "Ball" | |
| 1083 | zorb.Size = Vector3.new(3,3,3) | |
| 1084 | zorb.BrickColor = BrickColor.new("Really red")
| |
| 1085 | zorb.Material = "Neon" | |
| 1086 | zorb.Anchored = false | |
| 1087 | zorb.CanCollide = false | |
| 1088 | zorb.CFrame = rightlocation.CFrame | |
| 1089 | MAKETRAIL(zorb,Vector3.new(.2,.2,0),Vector3.new(-.2,-.2,0),.7,ColorSequence.new(BrickColor.new("Really red").Color,BrickColor.new("Really black").Color))
| |
| 1090 | Hit = damagealll(100,Root.Position) | |
| 1091 | maxsped = 45 | |
| 1092 | local bov = Instance.new("RocketPropulsion",zorb)
| |
| 1093 | bov.MaxThrust = 4000 | |
| 1094 | bov.MaxSpeed = maxsped | |
| 1095 | bov.MaxTorque = Vector3.new(99999999,99999999,99999999) | |
| 1096 | bov.Target = ETorso | |
| 1097 | bov.TargetRadius = math.huge | |
| 1098 | bov:fire() | |
| 1099 | local zorbhit = false | |
| 1100 | for i = 1, 425 do | |
| 1101 | if zorbhit then break end | |
| 1102 | maxsped = maxsped + 2.5 | |
| 1103 | bov.MaxSpeed = maxsped | |
| 1104 | Hit = damagealll(10,zorb.Position) | |
| 1105 | for _,v in pairs(Hit) do | |
| 1106 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
| |
| 1107 | slachtoffer = v:FindFirstChildOfClass("Humanoid")
| |
| 1108 | zorbhit = true | |
| 1109 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 1110 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 1111 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 1112 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*40 | |
| 1113 | removeuseless:AddItem(vel,.1) | |
| 1114 | pcall(function() | |
| 1115 | boombiatch = Instance.new("Sound",slachtoffer.Parent.Torso)
| |
| 1116 | boombiatch.Volume = 10 | |
| 1117 | boombiatch.SoundId = "rbxassetid://2467762386" | |
| 1118 | boombiatch:Play() | |
| 1119 | end) | |
| 1120 | removeuseless:AddItem(boombiatch,3) | |
| 1121 | removeuseless:AddItem(bamwave,2) | |
| 1122 | local explodball = Instance.new("Part",Torso)
| |
| 1123 | explodball.Shape = "Ball" | |
| 1124 | explodball.Size = Vector3.new(1.5,1.5,1.5) | |
| 1125 | explodball.BrickColor = BrickColor.new("Really red")
| |
| 1126 | explodball.Material = "Neon" | |
| 1127 | explodball.Anchored = true | |
| 1128 | explodball.Transparency = .25 | |
| 1129 | explodball.CanCollide = false | |
| 1130 | explodball.CFrame = zorb.CFrame | |
| 1131 | local explodball2 = Instance.new("Part",Torso)
| |
| 1132 | explodball2.Shape = "Ball" | |
| 1133 | explodball2.Size = Vector3.new(1.5,1.5,1.5) | |
| 1134 | explodball2.BrickColor = BrickColor.new("Bright orange")
| |
| 1135 | explodball2.Material = "Neon" | |
| 1136 | explodball2.Anchored = true | |
| 1137 | explodball2.Transparency = .5 | |
| 1138 | explodball2.CanCollide = false | |
| 1139 | explodball2.CFrame = zorb.CFrame | |
| 1140 | local explodball3 = Instance.new("Part",Torso)
| |
| 1141 | explodball3.Shape = "Ball" | |
| 1142 | explodball3.Size = Vector3.new(1.5,1.5,1.5) | |
| 1143 | explodball3.BrickColor = BrickColor.new("Really black")
| |
| 1144 | explodball3.Material = "Neon" | |
| 1145 | explodball3.Transparency = .75 | |
| 1146 | explodball3.Anchored = true | |
| 1147 | explodball3.CanCollide = false | |
| 1148 | explodball3.CFrame = zorb.CFrame | |
| 1149 | coroutine.wrap(function() | |
| 1150 | for i = 1, 30 do | |
| 1151 | local bamwave = Instance.new("Part",Torso)
| |
| 1152 | bamwave.CanCollide = false | |
| 1153 | bamwave.Anchored = true | |
| 1154 | bamwave.BrickColor = BrickColor.new("Really red")
| |
| 1155 | bamwave.Name = "bamwave" | |
| 1156 | bamwave.Transparency = .85 | |
| 1157 | bamwave.CFrame = explodball.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
| 1158 | bamwavemesh = Instance.new("SpecialMesh",bamwave)
| |
| 1159 | bamwavemesh.MeshId = "rbxassetid://662586858" | |
| 1160 | bamwavemesh.Name = "explodmesh34" | |
| 1161 | bamwavemesh.Scale = Vector3.new(.04,.01,.04) | |
| 1162 | local wshockwave2 = Instance.new("Part", Torso)
| |
| 1163 | wshockwave2.Size = Vector3.new(1,1,1) | |
| 1164 | wshockwave2.CanCollide = false | |
| 1165 | wshockwave2.Anchored = true | |
| 1166 | wshockwave2.Transparency = .9 | |
| 1167 | wshockwave2.BrickColor = BrickColor.new("Bright orange")
| |
| 1168 | wshockwave2.CFrame = CFrame.new(explodball.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 1169 | wshockwavemesh2 = Instance.new("SpecialMesh",wshockwave2)
| |
| 1170 | wshockwavemesh2.Scale = Vector3.new(1,.05,1) | |
| 1171 | wshockwavemesh2.Name = "explodmesh33" | |
| 1172 | wshockwavemesh2.MeshId = "rbxassetid://20329976" | |
| 1173 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh33" then | |
| 1174 | v.Scale = v.Scale + Vector3.new(3,.05,3) | |
| 1175 | end | |
| 1176 | end | |
| 1177 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh34" then | |
| 1178 | v.Scale = v.Scale + Vector3.new(.01,0,.01) | |
| 1179 | end | |
| 1180 | end | |
| 1181 | explodball.Size = explodball.Size + Vector3.new(1,1,1) | |
| 1182 | explodball2.Size = explodball2.Size + Vector3.new(2,2,2) | |
| 1183 | explodball3.Size = explodball3.Size + Vector3.new(4,4,4) | |
| 1184 | swait() | |
| 1185 | end | |
| 1186 | for i = 1, 15 do | |
| 1187 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh33" then | |
| 1188 | v.Scale = v.Scale + Vector3.new(1.5,.025,1.5) | |
| 1189 | end | |
| 1190 | end | |
| 1191 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh34" then | |
| 1192 | v.Scale = v.Scale + Vector3.new(.01,0,.01) | |
| 1193 | end | |
| 1194 | end | |
| 1195 | explodball.Size = explodball.Size + Vector3.new(.5,.5,.5) | |
| 1196 | explodball2.Size = explodball2.Size + Vector3.new(1,1,1) | |
| 1197 | explodball3.Size = explodball3.Size + Vector3.new(2,2,2) | |
| 1198 | swait() | |
| 1199 | end | |
| 1200 | blackholesound = Instance.new("Sound",explodball)
| |
| 1201 | blackholesound.SoundId = "rbxassetid://1529939980" | |
| 1202 | blackholesound.Volume = 10 | |
| 1203 | blackholesound.Pitch = 1.25 | |
| 1204 | blackholesound:Play() | |
| 1205 | local wuwuwu = Instance.new("Sound",explodball)
| |
| 1206 | wuwuwu.Volume = 0 | |
| 1207 | wuwuwu.SoundId = "rbxassetid://907530407" | |
| 1208 | wuwuwu.Looped = true | |
| 1209 | wuwuwu:Play() | |
| 1210 | for i = 1, 750 do | |
| 1211 | Hit = damagealll(50,explodball.Position) | |
| 1212 | for _,v in pairs(Hit) do | |
| 1213 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
| |
| 1214 | slachtoffer = v:FindFirstChildOfClass("Humanoid")
| |
| 1215 | zorbhit = true | |
| 1216 | slachtoffer.Parent:BreakJoints() | |
| 1217 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 1218 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 1219 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 1220 | vel.velocity = CFrame.new(torso.Position,explodball.Position).lookVector*100 | |
| 1221 | removeuseless:AddItem(vel,.1) | |
| 1222 | end | |
| 1223 | end | |
| 1224 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh33" then | |
| 1225 | v.Scale = v.Scale - Vector3.new(.1,0,.1) | |
| 1226 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0+3),math.rad(0-4),math.rad(0+2)) | |
| 1227 | end | |
| 1228 | end | |
| 1229 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh34" then | |
| 1230 | v.Scale = v.Scale - Vector3.new(.00035,0,.00035) | |
| 1231 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0+3),math.rad(0-3),math.rad(0+1)) | |
| 1232 | end | |
| 1233 | end | |
| 1234 | wuwuwu.Volume = wuwuwu.Volume + .05 | |
| 1235 | explodball.Size = explodball.Size - Vector3.new(.05,.05,.05) | |
| 1236 | explodball2.Size = explodball2.Size - Vector3.new(.1,.1,.1) | |
| 1237 | explodball3.Size = explodball3.Size - Vector3.new(.2,.2,.2) | |
| 1238 | swait() | |
| 1239 | end | |
| 1240 | local soundbox = Instance.new("Part",Torso)
| |
| 1241 | soundbox.CFrame = explodball.CFrame | |
| 1242 | soundbox.Size = Vector3.new(1,1,1) | |
| 1243 | soundbox.Transparency = 1 | |
| 1244 | soundbox.Anchored = true | |
| 1245 | soundbox.CanCollide = false | |
| 1246 | removeuseless:AddItem(soundbox,6) | |
| 1247 | SOUND(soundbox,265581252,10,false,6) | |
| 1248 | wuwuwu:Remove() | |
| 1249 | Hit = damagealll(76,explodball.Position) | |
| 1250 | for _,v in pairs(Hit) do | |
| 1251 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
| |
| 1252 | slachtoffer = v:FindFirstChildOfClass("Humanoid")
| |
| 1253 | zorbhit = true | |
| 1254 | slachtoffer.Parent:BreakJoints() | |
| 1255 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 1256 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 1257 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 1258 | vel.velocity = CFrame.new(explodball.Position,torso.Position).lookVector*225 | |
| 1259 | removeuseless:AddItem(vel,.1) | |
| 1260 | end | |
| 1261 | end | |
| 1262 | for i = 1, 105 do | |
| 1263 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh33" then | |
| 1264 | v.Scale = v.Scale + Vector3.new(12,.05,12) | |
| 1265 | v.Parent.Transparency = v.Parent.Transparency + .003 | |
| 1266 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0+3),math.rad(0-4),math.rad(0+2)) | |
| 1267 | end | |
| 1268 | end | |
| 1269 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh34" then | |
| 1270 | v.Scale = v.Scale + Vector3.new(.04,0,.04) | |
| 1271 | v.Parent.Transparency = v.Parent.Transparency + .002 | |
| 1272 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0-3),math.rad(0+4),math.rad(0-2)) | |
| 1273 | end | |
| 1274 | end | |
| 1275 | explodball.Size = explodball.Size + Vector3.new(2,2,2) | |
| 1276 | explodball2.Size = explodball2.Size + Vector3.new(4,4,4) | |
| 1277 | explodball3.Size = explodball3.Size + Vector3.new(8,8,8) | |
| 1278 | explodball3.Transparency = explodball3.Transparency + .01 | |
| 1279 | explodball2.Transparency = explodball2.Transparency + .01 | |
| 1280 | explodball.Transparency = explodball.Transparency + .01 | |
| 1281 | swait() | |
| 1282 | end | |
| 1283 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh33" then | |
| 1284 | v.Parent:Remove() | |
| 1285 | end | |
| 1286 | end | |
| 1287 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh34" then | |
| 1288 | v.Parent:Remove() | |
| 1289 | end | |
| 1290 | end | |
| 1291 | explodball:Remove() | |
| 1292 | explodball2:Remove() | |
| 1293 | explodball3:Remove() | |
| 1294 | singularitybounce = false | |
| 1295 | isattacking = false | |
| 1296 | end)() | |
| 1297 | bov:Remove() | |
| 1298 | zorb:Remove() | |
| 1299 | end | |
| 1300 | end | |
| 1301 | swait() | |
| 1302 | end | |
| 1303 | if not zorbhit then | |
| 1304 | bov:Remove() | |
| 1305 | for i = 1, 10 do | |
| 1306 | zorb.Size = zorb.Size + Vector3.new(.5,.5,.5) | |
| 1307 | zorb.Transparency = zorb.Transparency + .1 | |
| 1308 | swait() | |
| 1309 | end | |
| 1310 | zorb:Remove() | |
| 1311 | singularitybounce = false | |
| 1312 | elseif zorbhit then | |
| 1313 | zorbhit = false | |
| 1314 | zorb:Remove() | |
| 1315 | end | |
| 1316 | end)() | |
| 1317 | for i = 1, 10 do | |
| 1318 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
| 1319 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.19,0) * CFrame.Angles(math.rad(10),math.rad(20),math.rad(0)),.3) | |
| 1320 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.45,.1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)),.3) | |
| 1321 | swait() | |
| 1322 | end | |
| 1323 | removeuseless:AddItem(g1,.001) | |
| 1324 | debounce = false | |
| 1325 | attacking = false | |
| 1326 | appi = false | |
| 1327 | else | |
| 1328 | isattacking = true | |
| 1329 | debounce = true | |
| 1330 | attacking = true | |
| 1331 | orbz = orbthrows[math.random(1,#orbthrows)] | |
| 1332 | orbthrow.SoundId = "rbxassetid://907527912" | |
| 1333 | orbthrow:Play() | |
| 1334 | appi = true | |
| 1335 | coroutine.wrap(function() | |
| 1336 | while appi do | |
| 1337 | swait() | |
| 1338 | if Root.Velocity.Magnitude < 2 and attacking == true then | |
| 1339 | position = "Idle3" | |
| 1340 | elseif Root.Velocity.Magnitude > 2 and attacking == true then | |
| 1341 | position = "Walk3" | |
| 1342 | end | |
| 1343 | end | |
| 1344 | end)() | |
| 1345 | coroutine.wrap(function() | |
| 1346 | while appi do | |
| 1347 | swait() | |
| 1348 | settime = 0.05 | |
| 1349 | sine = sine + change | |
| 1350 | if position == "Idle3" and attacking == true and appi == true then | |
| 1351 | change = .4 | |
| 1352 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.1) | |
| 1353 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.2) | |
| 1354 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.2) | |
| 1355 | elseif position == "Walk3" and attacking == true and appi == true then | |
| 1356 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.42, 1.92 - 0.35 * math.cos(sine/9)/2.8,0) * CFrame.Angles(math.rad(20 - 20) + -math.sin(sine/9)/2.3, math.rad(0)*math.cos(sine/9), math.rad(0), math.cos(-15 * 75 * math.cos(sine/9))), 0.3) | |
| 1357 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.42, 1.92 + 0.35 * math.cos(sine/9)/2.8,0) * CFrame.Angles(math.rad(20 - 20) - -math.sin(sine/9)/2.3, math.rad(0)*math.cos(sine/9), math.rad(0) , math.cos(-15 * 75 * math.cos(sine/9))), 0.3) | |
| 1358 | end | |
| 1359 | end | |
| 1360 | end)() | |
| 1361 | g1 = Instance.new("BodyGyro", Root)
| |
| 1362 | g1.D = 175 | |
| 1363 | g1.P = 20000 | |
| 1364 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 1365 | for i = 1, 12 do | |
| 1366 | for i = 1, 3 do | |
| 1367 | wshockwave = Instance.new("Part", Torso)
| |
| 1368 | wshockwave.Size = Vector3.new(1,1,1) | |
| 1369 | wshockwave.CanCollide = false | |
| 1370 | wshockwave.Anchored = true | |
| 1371 | wshockwave.Transparency = .1 | |
| 1372 | wshockwave.BrickColor = BrickColor.new("Bright blue")
| |
| 1373 | wshockwave.CFrame = CFrame.new(rightlocation.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 1374 | wshockwavemesh = Instance.new("SpecialMesh", wshockwave)
| |
| 1375 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
| 1376 | wshockwavemesh.Name = "explodmesh2" | |
| 1377 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
| 1378 | removeuseless:AddItem(wshockwave,2) | |
| 1379 | end | |
| 1380 | borb = Instance.new("Part",Torso)
| |
| 1381 | borb.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 1382 | borb.Material = "Neon" | |
| 1383 | borb.Anchored = true | |
| 1384 | borb.Shape = "Ball" | |
| 1385 | borb.CanCollide = false | |
| 1386 | borb.CFrame = rightlocation.CFrame | |
| 1387 | borb.Size = Vector3.new(33,33,33) | |
| 1388 | borb.Transparency = 1 | |
| 1389 | for i = 1, 5 do | |
| 1390 | borb.CFrame = rightlocation.CFrame | |
| 1391 | borb.Size = borb.Size - Vector3.new(6,6,6) | |
| 1392 | borb.Transparency = borb.Transparency - .2 | |
| 1393 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
| 1394 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.19,0) * CFrame.Angles(math.rad(-10),math.rad(-20),math.rad(0)),.1) | |
| 1395 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.97, 1.35, .45) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.1) | |
| 1396 | swait() | |
| 1397 | end | |
| 1398 | borb:Remove() | |
| 1399 | swait() | |
| 1400 | end | |
| 1401 | coroutine.wrap(function() | |
| 1402 | local zorb = Instance.new("Part",Torso)
| |
| 1403 | zorb.Shape = "Ball" | |
| 1404 | zorb.Size = Vector3.new(3,3,3) | |
| 1405 | zorb.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 1406 | zorb.Material = "Neon" | |
| 1407 | zorb.Anchored = false | |
| 1408 | zorb.CanCollide = false | |
| 1409 | zorb.CFrame = rightlocation.CFrame | |
| 1410 | MAKETRAIL(zorb,Vector3.new(.2,.2,0),Vector3.new(-.2,-.2,0),.7,ColorSequence.new(BrickColor.new("Dark Royal blue").Color,BrickColor.new("Really black").Color))
| |
| 1411 | Hit = damagealll(100,Root.Position) | |
| 1412 | maxsped = 40 | |
| 1413 | local bov = Instance.new("RocketPropulsion",zorb)
| |
| 1414 | bov.MaxThrust = 4000 | |
| 1415 | bov.MaxSpeed = maxsped | |
| 1416 | bov.MaxTorque = Vector3.new(99999999,99999999,99999999) | |
| 1417 | bov.Target = ETorso | |
| 1418 | bov.TargetRadius = math.huge | |
| 1419 | bov:fire() | |
| 1420 | local zorbhit = false | |
| 1421 | for i = 1, 425 do | |
| 1422 | if zorbhit then break end | |
| 1423 | maxsped = maxsped + 1.5 | |
| 1424 | bov.MaxSpeed = maxsped | |
| 1425 | Hit = damagealll(10,zorb.Position) | |
| 1426 | for _,v in pairs(Hit) do | |
| 1427 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
| |
| 1428 | slachtoffer = v:FindFirstChildOfClass("Humanoid")
| |
| 1429 | zorbhit = true | |
| 1430 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 1431 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 1432 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 1433 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*40 | |
| 1434 | removeuseless:AddItem(vel,.1) | |
| 1435 | pcall(function() | |
| 1436 | boombiatch = Instance.new("Sound",slachtoffer.Parent.Torso)
| |
| 1437 | boombiatch.Volume = 10 | |
| 1438 | boombiatch.SoundId = "rbxassetid://2467762386" | |
| 1439 | boombiatch:Play() | |
| 1440 | end) | |
| 1441 | removeuseless:AddItem(boombiatch,3) | |
| 1442 | removeuseless:AddItem(bamwave,2) | |
| 1443 | local explodball = Instance.new("Part",Torso)
| |
| 1444 | explodball.Shape = "Ball" | |
| 1445 | explodball.Size = Vector3.new(1.5,1.5,1.5) | |
| 1446 | explodball.BrickColor = BrickColor.new("Bright blue")
| |
| 1447 | explodball.Material = "Neon" | |
| 1448 | explodball.Anchored = true | |
| 1449 | explodball.Transparency = .25 | |
| 1450 | explodball.CanCollide = false | |
| 1451 | explodball.CFrame = zorb.CFrame | |
| 1452 | local explodball2 = Instance.new("Part",Torso)
| |
| 1453 | explodball2.Shape = "Ball" | |
| 1454 | explodball2.Size = Vector3.new(1.5,1.5,1.5) | |
| 1455 | explodball2.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 1456 | explodball2.Material = "Neon" | |
| 1457 | explodball2.Anchored = true | |
| 1458 | explodball2.Transparency = .5 | |
| 1459 | explodball2.CanCollide = false | |
| 1460 | explodball2.CFrame = zorb.CFrame | |
| 1461 | local explodball3 = Instance.new("Part",Torso)
| |
| 1462 | explodball3.Shape = "Ball" | |
| 1463 | explodball3.Size = Vector3.new(1.5,1.5,1.5) | |
| 1464 | explodball3.BrickColor = BrickColor.new("Really black")
| |
| 1465 | explodball3.Material = "Neon" | |
| 1466 | explodball3.Transparency = .75 | |
| 1467 | explodball3.Anchored = true | |
| 1468 | explodball3.CanCollide = false | |
| 1469 | explodball3.CFrame = zorb.CFrame | |
| 1470 | coroutine.wrap(function() | |
| 1471 | for i = 1, 30 do | |
| 1472 | local bamwave = Instance.new("Part",Torso)
| |
| 1473 | bamwave.CanCollide = false | |
| 1474 | bamwave.Anchored = true | |
| 1475 | bamwave.BrickColor = BrickColor.new("Bright blue")
| |
| 1476 | bamwave.Name = "bamwave" | |
| 1477 | bamwave.Transparency = .85 | |
| 1478 | bamwave.CFrame = explodball.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
| 1479 | bamwavemesh = Instance.new("SpecialMesh",bamwave)
| |
| 1480 | bamwavemesh.MeshId = "rbxassetid://662586858" | |
| 1481 | bamwavemesh.Name = "explodmesh34" | |
| 1482 | bamwavemesh.Scale = Vector3.new(.04,.01,.04) | |
| 1483 | local wshockwave2 = Instance.new("Part", Torso)
| |
| 1484 | wshockwave2.Size = Vector3.new(1,1,1) | |
| 1485 | wshockwave2.CanCollide = false | |
| 1486 | wshockwave2.Anchored = true | |
| 1487 | wshockwave2.Transparency = .9 | |
| 1488 | wshockwave2.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 1489 | wshockwave2.CFrame = CFrame.new(explodball.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 1490 | wshockwavemesh2 = Instance.new("SpecialMesh",wshockwave2)
| |
| 1491 | wshockwavemesh2.Scale = Vector3.new(1,.05,1) | |
| 1492 | wshockwavemesh2.Name = "explodmesh33" | |
| 1493 | wshockwavemesh2.MeshId = "rbxassetid://20329976" | |
| 1494 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh33" then | |
| 1495 | v.Scale = v.Scale + Vector3.new(3,.05,3) | |
| 1496 | end | |
| 1497 | end | |
| 1498 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh34" then | |
| 1499 | v.Scale = v.Scale + Vector3.new(.01,0,.01) | |
| 1500 | end | |
| 1501 | end | |
| 1502 | explodball.Size = explodball.Size + Vector3.new(1,1,1) | |
| 1503 | explodball2.Size = explodball2.Size + Vector3.new(2,2,2) | |
| 1504 | explodball3.Size = explodball3.Size + Vector3.new(4,4,4) | |
| 1505 | swait() | |
| 1506 | end | |
| 1507 | for i = 1, 15 do | |
| 1508 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh33" then | |
| 1509 | v.Scale = v.Scale + Vector3.new(1.5,.025,1.5) | |
| 1510 | end | |
| 1511 | end | |
| 1512 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh34" then | |
| 1513 | v.Scale = v.Scale + Vector3.new(.01,0,.01) | |
| 1514 | end | |
| 1515 | end | |
| 1516 | explodball.Size = explodball.Size + Vector3.new(.5,.5,.5) | |
| 1517 | explodball2.Size = explodball2.Size + Vector3.new(1,1,1) | |
| 1518 | explodball3.Size = explodball3.Size + Vector3.new(2,2,2) | |
| 1519 | swait() | |
| 1520 | end | |
| 1521 | blackholesound = Instance.new("Sound",explodball)
| |
| 1522 | blackholesound.SoundId = "rbxassetid://1529939980" | |
| 1523 | blackholesound.Volume = 10 | |
| 1524 | blackholesound.Pitch = 1.25 | |
| 1525 | blackholesound:Play() | |
| 1526 | local wuwuwu = Instance.new("Sound",explodball)
| |
| 1527 | wuwuwu.Volume = 0 | |
| 1528 | wuwuwu.SoundId = "rbxassetid://907530407" | |
| 1529 | wuwuwu.Looped = true | |
| 1530 | wuwuwu:Play() | |
| 1531 | for i = 1, 750 do | |
| 1532 | Hit = damagealll(50,explodball.Position) | |
| 1533 | for _,v in pairs(Hit) do | |
| 1534 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
| |
| 1535 | slachtoffer = v:FindFirstChildOfClass("Humanoid")
| |
| 1536 | zorbhit = true | |
| 1537 | slachtoffer:TakeDamage(1) | |
| 1538 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 1539 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 1540 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 1541 | vel.velocity = CFrame.new(torso.Position,explodball.Position).lookVector*100 | |
| 1542 | removeuseless:AddItem(vel,.1) | |
| 1543 | end | |
| 1544 | end | |
| 1545 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh33" then | |
| 1546 | v.Scale = v.Scale - Vector3.new(.1,0,.1) | |
| 1547 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0+3),math.rad(0-4),math.rad(0+2)) | |
| 1548 | end | |
| 1549 | end | |
| 1550 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh34" then | |
| 1551 | v.Scale = v.Scale - Vector3.new(.00035,0,.00035) | |
| 1552 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0+3),math.rad(0-3),math.rad(0+1)) | |
| 1553 | end | |
| 1554 | end | |
| 1555 | wuwuwu.Volume = wuwuwu.Volume + .05 | |
| 1556 | explodball.Size = explodball.Size - Vector3.new(.05,.05,.05) | |
| 1557 | explodball2.Size = explodball2.Size - Vector3.new(.1,.1,.1) | |
| 1558 | explodball3.Size = explodball3.Size - Vector3.new(.2,.2,.2) | |
| 1559 | swait() | |
| 1560 | end | |
| 1561 | local soundbox = Instance.new("Part",Torso)
| |
| 1562 | soundbox.CFrame = explodball.CFrame | |
| 1563 | soundbox.Size = Vector3.new(1,1,1) | |
| 1564 | soundbox.Transparency = 1 | |
| 1565 | soundbox.Anchored = true | |
| 1566 | soundbox.CanCollide = false | |
| 1567 | removeuseless:AddItem(soundbox,6) | |
| 1568 | SOUND(soundbox,265581252,10,false,6) | |
| 1569 | wuwuwu:Remove() | |
| 1570 | Hit = damagealll(76,explodball.Position) | |
| 1571 | for _,v in pairs(Hit) do | |
| 1572 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
| |
| 1573 | slachtoffer = v:FindFirstChildOfClass("Humanoid")
| |
| 1574 | zorbhit = true | |
| 1575 | slachtoffer:TakeDamage(math.random(37,68)) | |
| 1576 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 1577 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 1578 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 1579 | vel.velocity = CFrame.new(explodball.Position,torso.Position).lookVector*225 | |
| 1580 | removeuseless:AddItem(vel,.1) | |
| 1581 | end | |
| 1582 | end | |
| 1583 | for i = 1, 105 do | |
| 1584 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh33" then | |
| 1585 | v.Scale = v.Scale + Vector3.new(12,.05,12) | |
| 1586 | v.Parent.Transparency = v.Parent.Transparency + .003 | |
| 1587 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0+3),math.rad(0-4),math.rad(0+2)) | |
| 1588 | end | |
| 1589 | end | |
| 1590 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh34" then | |
| 1591 | v.Scale = v.Scale + Vector3.new(.04,0,.04) | |
| 1592 | v.Parent.Transparency = v.Parent.Transparency + .002 | |
| 1593 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0-3),math.rad(0+4),math.rad(0-2)) | |
| 1594 | end | |
| 1595 | end | |
| 1596 | explodball.Size = explodball.Size + Vector3.new(2,2,2) | |
| 1597 | explodball2.Size = explodball2.Size + Vector3.new(4,4,4) | |
| 1598 | explodball3.Size = explodball3.Size + Vector3.new(8,8,8) | |
| 1599 | explodball3.Transparency = explodball3.Transparency + .01 | |
| 1600 | explodball2.Transparency = explodball2.Transparency + .01 | |
| 1601 | explodball.Transparency = explodball.Transparency + .01 | |
| 1602 | swait() | |
| 1603 | end | |
| 1604 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh33" then | |
| 1605 | v.Parent:Remove() | |
| 1606 | end | |
| 1607 | end | |
| 1608 | for i,v in pairs(Torso:GetDescendants()) do if v.Name == "explodmesh34" then | |
| 1609 | v.Parent:Remove() | |
| 1610 | end | |
| 1611 | end | |
| 1612 | explodball:Remove() | |
| 1613 | explodball2:Remove() | |
| 1614 | explodball3:Remove() | |
| 1615 | isattacking = false | |
| 1616 | singularitybounce = false | |
| 1617 | end)() | |
| 1618 | bov:Remove() | |
| 1619 | zorb:Remove() | |
| 1620 | end | |
| 1621 | end | |
| 1622 | swait() | |
| 1623 | end | |
| 1624 | if not zorbhit then | |
| 1625 | bov:Remove() | |
| 1626 | for i = 1, 10 do | |
| 1627 | zorb.Size = zorb.Size + Vector3.new(.5,.5,.5) | |
| 1628 | zorb.Transparency = zorb.Transparency + .1 | |
| 1629 | swait() | |
| 1630 | end | |
| 1631 | zorb:Remove() | |
| 1632 | singularitybounce = false | |
| 1633 | elseif zorbhit then | |
| 1634 | zorbhit = false | |
| 1635 | zorb:Remove() | |
| 1636 | end | |
| 1637 | end)() | |
| 1638 | for i = 1, 10 do | |
| 1639 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
| 1640 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.19,0) * CFrame.Angles(math.rad(10),math.rad(20),math.rad(0)),.3) | |
| 1641 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.45,.1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)),.3) | |
| 1642 | swait() | |
| 1643 | end | |
| 1644 | removeuseless:AddItem(g1,.001) | |
| 1645 | debounce = false | |
| 1646 | attacking = false | |
| 1647 | appi = false | |
| 1648 | end | |
| 1649 | end | |
| 1650 | end | |
| 1651 | end | |
| 1652 | end) | |
| 1653 | ||
| 1654 | mouse.KeyDown:connect(function(Press) | |
| 1655 | Press=Press:lower() | |
| 1656 | if Press=='q' then | |
| 1657 | if mouse.Target ~= nil then | |
| 1658 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 1659 | enemyhum = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1660 | if enemyhum.Health < 1 then return end | |
| 1661 | ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso")
| |
| 1662 | if secondform then | |
| 1663 | if debounce then return end | |
| 1664 | debounce = true | |
| 1665 | attacking = true | |
| 1666 | orbz = orbthrows[math.random(1,#orbthrows)] | |
| 1667 | orbthrow.SoundId = "rbxassetid://"..orbz | |
| 1668 | orbthrow:Play() | |
| 1669 | appi = true | |
| 1670 | coroutine.wrap(function() | |
| 1671 | while appi do | |
| 1672 | swait() | |
| 1673 | if Root.Velocity.Magnitude < 2 and attacking == true then | |
| 1674 | position = "Idle3" | |
| 1675 | elseif Root.Velocity.Magnitude > 2 and attacking == true then | |
| 1676 | position = "Walk3" | |
| 1677 | end | |
| 1678 | end | |
| 1679 | end)() | |
| 1680 | coroutine.wrap(function() | |
| 1681 | while appi do | |
| 1682 | swait() | |
| 1683 | settime = 0.05 | |
| 1684 | sine = sine + change | |
| 1685 | if position == "Idle3" and attacking == true and appi == true then | |
| 1686 | change = .4 | |
| 1687 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.1) | |
| 1688 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.2) | |
| 1689 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.2) | |
| 1690 | elseif position == "Walk3" and attacking == true and appi == true then | |
| 1691 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.42, 1.92 - 0.35 * math.cos(sine/9)/2.8,0) * CFrame.Angles(math.rad(20 - 20) + -math.sin(sine/9)/2.3, math.rad(0)*math.cos(sine/9), math.rad(0), math.cos(-15 * 75 * math.cos(sine/9))), 0.3) | |
| 1692 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.42, 1.92 + 0.35 * math.cos(sine/9)/2.8,0) * CFrame.Angles(math.rad(20 - 20) - -math.sin(sine/9)/2.3, math.rad(0)*math.cos(sine/9), math.rad(0) , math.cos(-15 * 75 * math.cos(sine/9))), 0.3) | |
| 1693 | end | |
| 1694 | end | |
| 1695 | end)() | |
| 1696 | g1 = Instance.new("BodyGyro", Root)
| |
| 1697 | g1.D = 175 | |
| 1698 | g1.P = 20000 | |
| 1699 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 1700 | borb = Instance.new("Part",Torso)
| |
| 1701 | borb.BrickColor = BrickColor.new("Bright orange")
| |
| 1702 | borb.Material = "Neon" | |
| 1703 | borb.Anchored = true | |
| 1704 | borb.Shape = "Ball" | |
| 1705 | borb.CanCollide = false | |
| 1706 | borb.CFrame = rightlocation.CFrame | |
| 1707 | borb.Size = Vector3.new(11.5,11.5,11.5) | |
| 1708 | borb.Transparency = 1 | |
| 1709 | for i = 1, 10 do | |
| 1710 | borb.CFrame = rightlocation.CFrame | |
| 1711 | borb.Size = borb.Size - Vector3.new(1,1,1) | |
| 1712 | borb.Transparency = borb.Transparency - .1 | |
| 1713 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
| 1714 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.19,0) * CFrame.Angles(math.rad(-10),math.rad(-20),math.rad(0)),.3) | |
| 1715 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.97, 1.35, .45) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3) | |
| 1716 | swait() | |
| 1717 | end | |
| 1718 | borb:Remove() | |
| 1719 | coroutine.wrap(function() | |
| 1720 | local zorb = Instance.new("Part",Torso)
| |
| 1721 | SOUND(zorb,1310929645,10,false,4) | |
| 1722 | zorb.Shape = "Ball" | |
| 1723 | zorb.Size = Vector3.new(1.5,1.5,1.5) | |
| 1724 | zorb.BrickColor = BrickColor.new("Really red")
| |
| 1725 | zorb.Material = "Neon" | |
| 1726 | zorb.Anchored = false | |
| 1727 | zorb.CanCollide = false | |
| 1728 | zorb.CFrame = rightlocation.CFrame | |
| 1729 | MAKETRAIL(zorb,Vector3.new(.2,.2,0),Vector3.new(-.2,-.2,0),.7,ColorSequence.new(BrickColor.new("Really red").Color,BrickColor.new("Really black").Color))
| |
| 1730 | Hit = damagealll(100,Root.Position) | |
| 1731 | maxsped = 50 | |
| 1732 | local bov = Instance.new("RocketPropulsion",zorb)
| |
| 1733 | bov.MaxThrust = 4000 | |
| 1734 | bov.MaxSpeed = maxsped | |
| 1735 | bov.MaxTorque = Vector3.new(99999999,99999999,99999999) | |
| 1736 | bov.Target = ETorso | |
| 1737 | bov.TargetRadius = math.huge | |
| 1738 | bov:fire() | |
| 1739 | local zorbhit = false | |
| 1740 | for i = 1, 250 do | |
| 1741 | if zorbhit then break end | |
| 1742 | maxsped = maxsped + 3 | |
| 1743 | bov.MaxSpeed = maxsped | |
| 1744 | Hit = damagealll(12,zorb.Position) | |
| 1745 | for _,v in pairs(Hit) do | |
| 1746 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 and v:FindFirstChildOfClass("Humanoid").Parent.Name == enemyhum.Parent.Name then
| |
| 1747 | slachtoffer = v:FindFirstChildOfClass("Humanoid")
| |
| 1748 | zorbhit = true | |
| 1749 | slachtoffer.Parent:BreakJoints() | |
| 1750 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 1751 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 1752 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 1753 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*180 | |
| 1754 | removeuseless:AddItem(vel,.1) | |
| 1755 | pcall(function() | |
| 1756 | boombiatch = Instance.new("Sound",slachtoffer.Parent.Torso)
| |
| 1757 | boombiatch.Volume = 8 | |
| 1758 | boombiatch.SoundId = "rbxassetid://907532865" | |
| 1759 | boombiatch:Play() | |
| 1760 | end) | |
| 1761 | removeuseless:AddItem(boombiatch,3) | |
| 1762 | coroutine.wrap(function() | |
| 1763 | for i = 1, 3 do | |
| 1764 | wshockwave = Instance.new("Part", Torso)
| |
| 1765 | wshockwave.Size = Vector3.new(1,1,1) | |
| 1766 | wshockwave.CanCollide = false | |
| 1767 | wshockwave.Anchored = true | |
| 1768 | wshockwave.Transparency = .1 | |
| 1769 | wshockwave.BrickColor = BrickColor.new("Bright orange")
| |
| 1770 | wshockwave.CFrame = CFrame.new(zorb.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 1771 | wshockwavemesh = Instance.new("SpecialMesh", wshockwave)
| |
| 1772 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
| 1773 | wshockwavemesh.Name = "explodmesh2" | |
| 1774 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
| 1775 | removeuseless:AddItem(wshockwave,2) | |
| 1776 | bamwave = Instance.new("Part",Torso)
| |
| 1777 | bamwave.CanCollide = false | |
| 1778 | bamwave.Anchored = true | |
| 1779 | bamwave.BrickColor = BrickColor.new("Bright orange")
| |
| 1780 | bamwave.Name = "bamwave" | |
| 1781 | bamwave.CFrame = zorb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
| 1782 | bamwavemesh = Instance.new("SpecialMesh",bamwave)
| |
| 1783 | bamwavemesh.MeshId = "rbxassetid://662586858" | |
| 1784 | bamwavemesh.Name = "explodmesh" | |
| 1785 | bamwavemesh.Scale = Vector3.new(.04,.01,.04) | |
| 1786 | removeuseless:AddItem(bamwave,2) | |
| 1787 | explodball = Instance.new("Part",Torso)
| |
| 1788 | explodball.Shape = "Ball" | |
| 1789 | explodball.Size = Vector3.new(1.5,1.5,1.5) | |
| 1790 | explodball.BrickColor = BrickColor.new("Bright orange")
| |
| 1791 | explodball.Material = "Neon" | |
| 1792 | explodball.Anchored = true | |
| 1793 | explodball.Name = "explodball" | |
| 1794 | explodball.CanCollide = false | |
| 1795 | explodball.CFrame = zorb.CFrame | |
| 1796 | removeuseless:AddItem(explodball,2.5) | |
| 1797 | swait() | |
| 1798 | end | |
| 1799 | end)() | |
| 1800 | bov:Remove() | |
| 1801 | zorb:Remove() | |
| 1802 | if tauntdebounce then return end | |
| 1803 | if oofing then return end | |
| 1804 | if dedlaff then return end | |
| 1805 | coroutine.wrap(function() | |
| 1806 | dedlaff = true | |
| 1807 | death2 = deathtable2[math.random(1,#deathtable2)] | |
| 1808 | tauntsound2 = Instance.new("Sound", Head)
| |
| 1809 | tauntsound2.Volume = 8 | |
| 1810 | tauntsound2.SoundId = "http://www.roblox.com/asset/?id="..death2 | |
| 1811 | tauntsound2.Looped = false | |
| 1812 | tauntsound2:Play() | |
| 1813 | wait(1.5) | |
| 1814 | wait(tauntsound2.TimeLength) | |
| 1815 | tauntsound2:Remove() | |
| 1816 | dedlaff = false | |
| 1817 | end)() | |
| 1818 | end | |
| 1819 | end | |
| 1820 | swait() | |
| 1821 | end | |
| 1822 | if not zorbhit then | |
| 1823 | bov:Remove() | |
| 1824 | for i = 1, 10 do | |
| 1825 | zorb.Size = zorb.Size + Vector3.new(.5,.5,.5) | |
| 1826 | zorb.Transparency = zorb.Transparency + .1 | |
| 1827 | swait() | |
| 1828 | end | |
| 1829 | zorb:Remove() | |
| 1830 | elseif zorbhit then | |
| 1831 | zorbhit = false | |
| 1832 | zorb:Remove() | |
| 1833 | end | |
| 1834 | end)() | |
| 1835 | for i = 1, 10 do | |
| 1836 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
| 1837 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.19,0) * CFrame.Angles(math.rad(10),math.rad(20),math.rad(0)),.3) | |
| 1838 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.45,.1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)),.3) | |
| 1839 | swait() | |
| 1840 | end | |
| 1841 | removeuseless:AddItem(g1,.001) | |
| 1842 | debounce = false | |
| 1843 | attacking = false | |
| 1844 | appi = false | |
| 1845 | else | |
| 1846 | if debounce then return end | |
| 1847 | debounce = true | |
| 1848 | attacking = true | |
| 1849 | orbz = orbthrows[math.random(1,#orbthrows)] | |
| 1850 | orbthrow.SoundId = "rbxassetid://"..orbz | |
| 1851 | orbthrow:Play() | |
| 1852 | appi = true | |
| 1853 | coroutine.wrap(function() | |
| 1854 | while appi do | |
| 1855 | swait() | |
| 1856 | if Root.Velocity.Magnitude < 2 and attacking == true then | |
| 1857 | position = "Idle3" | |
| 1858 | elseif Root.Velocity.Magnitude > 2 and attacking == true then | |
| 1859 | position = "Walk3" | |
| 1860 | end | |
| 1861 | end | |
| 1862 | end)() | |
| 1863 | coroutine.wrap(function() | |
| 1864 | while appi do | |
| 1865 | swait() | |
| 1866 | settime = 0.05 | |
| 1867 | sine = sine + change | |
| 1868 | if position == "Idle3" and attacking == true and appi == true then | |
| 1869 | change = .4 | |
| 1870 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.1) | |
| 1871 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.2) | |
| 1872 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.2) | |
| 1873 | elseif position == "Walk3" and attacking == true and appi == true then | |
| 1874 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.42, 1.92 - 0.35 * math.cos(sine/9)/2.8,0) * CFrame.Angles(math.rad(20 - 20) + -math.sin(sine/9)/2.3, math.rad(0)*math.cos(sine/9), math.rad(0), math.cos(-15 * 75 * math.cos(sine/9))), 0.3) | |
| 1875 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.42, 1.92 + 0.35 * math.cos(sine/9)/2.8,0) * CFrame.Angles(math.rad(20 - 20) - -math.sin(sine/9)/2.3, math.rad(0)*math.cos(sine/9), math.rad(0) , math.cos(-15 * 75 * math.cos(sine/9))), 0.3) | |
| 1876 | end | |
| 1877 | end | |
| 1878 | end)() | |
| 1879 | g1 = Instance.new("BodyGyro", Root)
| |
| 1880 | g1.D = 175 | |
| 1881 | g1.P = 20000 | |
| 1882 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 1883 | borb = Instance.new("Part",Torso)
| |
| 1884 | borb.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 1885 | borb.Material = "Neon" | |
| 1886 | borb.Anchored = true | |
| 1887 | borb.Shape = "Ball" | |
| 1888 | borb.CanCollide = false | |
| 1889 | borb.CFrame = rightlocation.CFrame | |
| 1890 | borb.Size = Vector3.new(11.5,11.5,11.5) | |
| 1891 | borb.Transparency = 1 | |
| 1892 | for i = 1, 10 do | |
| 1893 | borb.CFrame = rightlocation.CFrame | |
| 1894 | borb.Size = borb.Size - Vector3.new(1,1,1) | |
| 1895 | borb.Transparency = borb.Transparency - .1 | |
| 1896 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
| 1897 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.19,0) * CFrame.Angles(math.rad(-10),math.rad(-20),math.rad(0)),.3) | |
| 1898 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.97, 1.35, .45) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3) | |
| 1899 | swait() | |
| 1900 | end | |
| 1901 | borb:Remove() | |
| 1902 | coroutine.wrap(function() | |
| 1903 | local zorb = Instance.new("Part",Torso)
| |
| 1904 | SOUND(zorb,1310929645,10,false,4) | |
| 1905 | zorb.Shape = "Ball" | |
| 1906 | zorb.Size = Vector3.new(1.5,1.5,1.5) | |
| 1907 | zorb.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 1908 | zorb.Material = "Neon" | |
| 1909 | zorb.Anchored = false | |
| 1910 | zorb.CanCollide = false | |
| 1911 | zorb.CFrame = rightlocation.CFrame | |
| 1912 | MAKETRAIL(zorb,Vector3.new(.2,.2,0),Vector3.new(-.2,-.2,0),.7,ColorSequence.new(BrickColor.new("Dark Royal blue").Color,BrickColor.new("Really black").Color))
| |
| 1913 | Hit = damagealll(100,Root.Position) | |
| 1914 | maxsped = 100 | |
| 1915 | local bov = Instance.new("RocketPropulsion",zorb)
| |
| 1916 | bov.MaxThrust = 4000 | |
| 1917 | bov.MaxSpeed = maxsped | |
| 1918 | bov.MaxTorque = Vector3.new(99999,99999,99999) | |
| 1919 | bov.Target = ETorso | |
| 1920 | bov.TargetRadius = math.huge | |
| 1921 | bov:fire() | |
| 1922 | local zorbhit = false | |
| 1923 | for i = 1, 250 do | |
| 1924 | if zorbhit then break end | |
| 1925 | maxsped = maxsped + 3 | |
| 1926 | bov.MaxSpeed = maxsped | |
| 1927 | Hit = damagealll(12,zorb.Position) | |
| 1928 | for _,v in pairs(Hit) do | |
| 1929 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 and v:FindFirstChildOfClass("Humanoid").Parent.Name == enemyhum.Parent.Name then
| |
| 1930 | slachtoffer = v:FindFirstChildOfClass("Humanoid")
| |
| 1931 | zorbhit = true | |
| 1932 | slachtoffer:TakeDamage(math.random(24,39)) | |
| 1933 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 1934 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 1935 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 1936 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*90 | |
| 1937 | removeuseless:AddItem(vel,.1) | |
| 1938 | pcall(function() | |
| 1939 | boombiatch = Instance.new("Sound",slachtoffer.Parent.Torso)
| |
| 1940 | boombiatch.Volume = 8 | |
| 1941 | boombiatch.SoundId = "rbxassetid://907532865" | |
| 1942 | boombiatch:Play() | |
| 1943 | end) | |
| 1944 | removeuseless:AddItem(boombiatch,3) | |
| 1945 | coroutine.wrap(function() | |
| 1946 | for i = 1, 3 do | |
| 1947 | wshockwave = Instance.new("Part", Torso)
| |
| 1948 | wshockwave.Size = Vector3.new(1,1,1) | |
| 1949 | wshockwave.CanCollide = false | |
| 1950 | wshockwave.Anchored = true | |
| 1951 | wshockwave.Transparency = .1 | |
| 1952 | wshockwave.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 1953 | wshockwave.CFrame = CFrame.new(zorb.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 1954 | wshockwavemesh = Instance.new("SpecialMesh", wshockwave)
| |
| 1955 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
| 1956 | wshockwavemesh.Name = "explodmesh2" | |
| 1957 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
| 1958 | removeuseless:AddItem(wshockwave,2) | |
| 1959 | bamwave = Instance.new("Part",Torso)
| |
| 1960 | bamwave.CanCollide = false | |
| 1961 | bamwave.Anchored = true | |
| 1962 | bamwave.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 1963 | bamwave.Name = "bamwave" | |
| 1964 | bamwave.CFrame = zorb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
| 1965 | bamwavemesh = Instance.new("SpecialMesh",bamwave)
| |
| 1966 | bamwavemesh.MeshId = "rbxassetid://662586858" | |
| 1967 | bamwavemesh.Name = "explodmesh" | |
| 1968 | bamwavemesh.Scale = Vector3.new(.04,.01,.04) | |
| 1969 | removeuseless:AddItem(bamwave,2) | |
| 1970 | explodball = Instance.new("Part",Torso)
| |
| 1971 | explodball.Shape = "Ball" | |
| 1972 | explodball.Size = Vector3.new(1.5,1.5,1.5) | |
| 1973 | explodball.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 1974 | explodball.Material = "Neon" | |
| 1975 | explodball.Anchored = true | |
| 1976 | explodball.Name = "explodball" | |
| 1977 | explodball.CanCollide = false | |
| 1978 | explodball.CFrame = zorb.CFrame | |
| 1979 | removeuseless:AddItem(explodball,2.5) | |
| 1980 | swait() | |
| 1981 | end | |
| 1982 | end)() | |
| 1983 | if slachtoffer.Health < 1 then | |
| 1984 | bov:Remove() | |
| 1985 | zorb:Remove() | |
| 1986 | if tauntdebounce then return end | |
| 1987 | if oofing then return end | |
| 1988 | if dedlaff then return end | |
| 1989 | dedlaff = true | |
| 1990 | coroutine.wrap(function() | |
| 1991 | death1 = deathtable[math.random(1,#deathtable)] | |
| 1992 | tauntsound2 = Instance.new("Sound", Head)
| |
| 1993 | tauntsound2.Volume = 8 | |
| 1994 | tauntsound2.SoundId = "http://www.roblox.com/asset/?id="..death1 | |
| 1995 | tauntsound2.Looped = false | |
| 1996 | tauntsound2:Play() | |
| 1997 | wait(1.5) | |
| 1998 | wait(tauntsound2.TimeLength) | |
| 1999 | tauntsound2:Remove() | |
| 2000 | dedlaff = false | |
| 2001 | end)() | |
| 2002 | end | |
| 2003 | end | |
| 2004 | end | |
| 2005 | swait() | |
| 2006 | end | |
| 2007 | if not zorbhit then | |
| 2008 | bov:Remove() | |
| 2009 | for i = 1, 10 do | |
| 2010 | zorb.Size = zorb.Size + Vector3.new(.5,.5,.5) | |
| 2011 | zorb.Transparency = zorb.Transparency + .1 | |
| 2012 | swait() | |
| 2013 | end | |
| 2014 | zorb:Remove() | |
| 2015 | elseif zorbhit then | |
| 2016 | zorbhit = false | |
| 2017 | zorb:Remove() | |
| 2018 | end | |
| 2019 | end)() | |
| 2020 | for i = 1, 10 do | |
| 2021 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
| 2022 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.19,0) * CFrame.Angles(math.rad(10),math.rad(20),math.rad(0)),.3) | |
| 2023 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.45,.1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)),.3) | |
| 2024 | swait() | |
| 2025 | end | |
| 2026 | removeuseless:AddItem(g1,.001) | |
| 2027 | debounce = false | |
| 2028 | attacking = false | |
| 2029 | appi = false | |
| 2030 | end | |
| 2031 | end | |
| 2032 | end | |
| 2033 | end | |
| 2034 | end) | |
| 2035 | ||
| 2036 | mouse.KeyDown:connect(function(Press) | |
| 2037 | Press=Press:lower() | |
| 2038 | if Press=='f' then | |
| 2039 | if invisible then return end | |
| 2040 | if cooldown then return end | |
| 2041 | if debounce then return end | |
| 2042 | if secondform then | |
| 2043 | SOUND(Torso,1316455158,10,false,6) | |
| 2044 | particlemiter1.Enabled = false | |
| 2045 | particlemiter2.Enabled = false | |
| 2046 | particlemiter4.Enabled = false | |
| 2047 | particlemiter5.Enabled = false | |
| 2048 | particlemiter6.Enabled = false | |
| 2049 | particlemiter7.Enabled = false | |
| 2050 | cooldown = true | |
| 2051 | debounce = true | |
| 2052 | coroutine.wrap(function() | |
| 2053 | for i = 1, 10 do | |
| 2054 | imageLabelo.ImageTransparency = imageLabelo.ImageTransparency + .05 | |
| 2055 | framee.BackgroundTransparency = framee.BackgroundTransparency + .0423 | |
| 2056 | swait() | |
| 2057 | end | |
| 2058 | imageLabelo:Remove() | |
| 2059 | framee:Remove() | |
| 2060 | end)() | |
| 2061 | leg1.TextureId = "rbxassetid://76123834" | |
| 2062 | leg2.TextureId = "rbxassetid://76123834" | |
| 2063 | mhair.TextureId = "rbxassetid://398620800" | |
| 2064 | mbandana.TextureId = "rbxassetid://64560199" | |
| 2065 | transformwave = Instance.new("Part",Torso)
| |
| 2066 | transformwave.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 2067 | transformwave.Anchored = true | |
| 2068 | transformwave.CFrame = Torso.CFrame | |
| 2069 | transformwave.CanCollide = false | |
| 2070 | transformwave.Size = Vector3.new(5,5,5) | |
| 2071 | transformwave.Transparency = 0 | |
| 2072 | transformwave.Material = "Neon" | |
| 2073 | transformwave.Shape = "Ball" | |
| 2074 | for i = 1, 20 do | |
| 2075 | transformwave.Size = transformwave.Size + Vector3.new(2,2,2) | |
| 2076 | transformwave.Transparency = transformwave.Transparency + .09 | |
| 2077 | doomtheme.Volume = doomtheme.Volume - .25 | |
| 2078 | swait() | |
| 2079 | end | |
| 2080 | transformwave:Remove() | |
| 2081 | secondform = false | |
| 2082 | doomtheme.SoundId = "rbxassetid://425308442" | |
| 2083 | doomtheme:Play() | |
| 2084 | for i = 1, 20 do | |
| 2085 | doomtheme.Volume = doomtheme.Volume + .15 | |
| 2086 | swait() | |
| 2087 | end | |
| 2088 | debounce = false | |
| 2089 | wait(5) | |
| 2090 | cooldown = false | |
| 2091 | else | |
| 2092 | particlemiter1.Enabled = true | |
| 2093 | particlemiter2.Enabled = true | |
| 2094 | particlemiter4.Enabled = true | |
| 2095 | particlemiter5.Enabled = true | |
| 2096 | particlemiter6.Enabled = true | |
| 2097 | particlemiter7.Enabled = true | |
| 2098 | coroutine.wrap(function() | |
| 2099 | for i = 1, 12 do | |
| 2100 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
| 2101 | swait() | |
| 2102 | end | |
| 2103 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 2104 | end)() | |
| 2105 | tauntdebounce = true | |
| 2106 | cooldown = true | |
| 2107 | debounce = true | |
| 2108 | secondform = true | |
| 2109 | coroutine.wrap(function() | |
| 2110 | transformwave = Instance.new("Part",Torso)
| |
| 2111 | transformwave.BrickColor = BrickColor.new("Really red")
| |
| 2112 | transformwave.Anchored = true | |
| 2113 | transformwave.CFrame = Torso.CFrame | |
| 2114 | transformwave.CanCollide = false | |
| 2115 | transformwave.Size = Vector3.new(5,5,5) | |
| 2116 | transformwave.Transparency = 0 | |
| 2117 | transformwave.Material = "Neon" | |
| 2118 | transformwave.Shape = "Ball" | |
| 2119 | for i = 1, 20 do | |
| 2120 | transformwave.Size = transformwave.Size + Vector3.new(2,2,2) | |
| 2121 | transformwave.Transparency = transformwave.Transparency + .09 | |
| 2122 | doomtheme.Volume = doomtheme.Volume - .25 | |
| 2123 | swait() | |
| 2124 | end | |
| 2125 | transformwave:Remove() | |
| 2126 | end)() | |
| 2127 | leg1.TextureId = "rbxassetid://91838241" | |
| 2128 | leg2.TextureId = "rbxassetid://91838241" | |
| 2129 | mhair.TextureId = "rbxassetid://1461382301" | |
| 2130 | mbandana.TextureId = "rbxassetid://1326186614" | |
| 2131 | transformsound = Instance.new("Sound",Torso)
| |
| 2132 | transformsound.Volume = 10 | |
| 2133 | transformsound.SoundId = "rbxassetid://159576182" | |
| 2134 | transformsound:Play() | |
| 2135 | coroutine.wrap(function() | |
| 2136 | wait(1) | |
| 2137 | realmofexistence = Instance.new("Sound",Torso)
| |
| 2138 | realmofexistence.Volume = 8 | |
| 2139 | realmofexistence.SoundId = "rbxassetid://2565721367" | |
| 2140 | realmofexistence:Play() | |
| 2141 | end)() | |
| 2142 | imageLabelo = Instance.new("ImageLabel")
| |
| 2143 | imageLabelo.Parent = screenGui | |
| 2144 | imageLabelo.BackgroundTransparency = 1 | |
| 2145 | imageLabelo.ImageTransparency = 1 | |
| 2146 | imageLabelo.Position = UDim2.new(0, 0, 0, -60) | |
| 2147 | imageLabelo.Size = UDim2.new(0, 1570, 0, 950) | |
| 2148 | imageLabelo.Image = "rbxassetid://2095565469" | |
| 2149 | framee = Instance.new("Frame")
| |
| 2150 | framee.Parent = screenGui | |
| 2151 | framee.Position = UDim2.new(0, 8, 0, -500) | |
| 2152 | framee.Size = UDim2.new(100000000,10000000,10000000,10000000) | |
| 2153 | framee.BackgroundColor3 = BrickColor.new("Really red").Color
| |
| 2154 | framee.BackgroundTransparency = 1 | |
| 2155 | coroutine.wrap(function() | |
| 2156 | for i = 1, 10 do | |
| 2157 | imageLabelo.ImageTransparency = imageLabelo.ImageTransparency -.05 | |
| 2158 | framee.BackgroundTransparency = framee.BackgroundTransparency - .0423 | |
| 2159 | swait() | |
| 2160 | end | |
| 2161 | end)() | |
| 2162 | wait(2.2) | |
| 2163 | dmt2random = dmt2[math.random(1,#dmt2)] | |
| 2164 | doomtheme.SoundId = "rbxassetid://"..dmt2random | |
| 2165 | if doomtheme.SoundId == "rbxassetid://530959353" then | |
| 2166 | doomtheme.TimePosition = 57 | |
| 2167 | elseif doomtheme.SoundId == "rbxassetid://1147754917" then | |
| 2168 | doomtheme.TimePosition = 39.929965046201687073 | |
| 2169 | end | |
| 2170 | doomtheme:Play() | |
| 2171 | for i = 1, 20 do | |
| 2172 | doomtheme.Volume = doomtheme.Volume + .25 | |
| 2173 | swait() | |
| 2174 | end | |
| 2175 | end | |
| 2176 | debounce = false | |
| 2177 | coroutine.wrap(function() | |
| 2178 | wait(2) | |
| 2179 | tauntdebounce = false | |
| 2180 | end)() | |
| 2181 | wait(5) | |
| 2182 | cooldown = false | |
| 2183 | end | |
| 2184 | end) | |
| 2185 | ||
| 2186 | mouse.KeyDown:connect(function(Press) | |
| 2187 | Press=Press:lower() | |
| 2188 | if Press=='e' then | |
| 2189 | if secondform then | |
| 2190 | if debounce then return end | |
| 2191 | debounce = true | |
| 2192 | attacking = true | |
| 2193 | orbz = orbthrows[math.random(1,#orbthrows)] | |
| 2194 | orbthrow.SoundId = "rbxassetid://"..orbz | |
| 2195 | orbthrow:Play() | |
| 2196 | appi = true | |
| 2197 | coroutine.wrap(function() | |
| 2198 | while appi do | |
| 2199 | swait() | |
| 2200 | if Root.Velocity.Magnitude < 2 and attacking == true then | |
| 2201 | position = "Idle3" | |
| 2202 | elseif Root.Velocity.Magnitude > 2 and attacking == true then | |
| 2203 | position = "Walk3" | |
| 2204 | end | |
| 2205 | end | |
| 2206 | end)() | |
| 2207 | coroutine.wrap(function() | |
| 2208 | while appi do | |
| 2209 | swait() | |
| 2210 | settime = 0.05 | |
| 2211 | sine = sine + change | |
| 2212 | if position == "Idle3" and attacking == true and appi == true then | |
| 2213 | change = .4 | |
| 2214 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.1) | |
| 2215 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.2) | |
| 2216 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.2) | |
| 2217 | elseif position == "Walk3" and attacking == true and appi == true then | |
| 2218 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.42, 1.92 - 0.35 * math.cos(sine/9)/2.8,0) * CFrame.Angles(math.rad(20 - 20) + -math.sin(sine/9)/2.3, math.rad(0)*math.cos(sine/9), math.rad(0), math.cos(-15 * 75 * math.cos(sine/9))), 0.3) | |
| 2219 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.42, 1.92 + 0.35 * math.cos(sine/9)/2.8,0) * CFrame.Angles(math.rad(20 - 20) - -math.sin(sine/9)/2.3, math.rad(0)*math.cos(sine/9), math.rad(0) , math.cos(-15 * 75 * math.cos(sine/9))), 0.3) | |
| 2220 | end | |
| 2221 | end | |
| 2222 | end)() | |
| 2223 | g1 = Instance.new("BodyGyro", Root)
| |
| 2224 | g1.D = 175 | |
| 2225 | g1.P = 20000 | |
| 2226 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 2227 | borb = Instance.new("Part",Torso)
| |
| 2228 | borb.BrickColor = BrickColor.new("Bright orange")
| |
| 2229 | borb.Material = "Neon" | |
| 2230 | borb.Anchored = true | |
| 2231 | borb.Shape = "Ball" | |
| 2232 | borb.CanCollide = false | |
| 2233 | borb.CFrame = rightlocation.CFrame | |
| 2234 | borb.Size = Vector3.new(11.5,11.5,11.5) | |
| 2235 | borb.Transparency = 1 | |
| 2236 | for i = 1, 10 do | |
| 2237 | borb.CFrame = rightlocation.CFrame | |
| 2238 | borb.Size = borb.Size - Vector3.new(1,1,1) | |
| 2239 | borb.Transparency = borb.Transparency - .1 | |
| 2240 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
| 2241 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.19,0) * CFrame.Angles(math.rad(-10),math.rad(-20),math.rad(0)),.3) | |
| 2242 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.97, 1.35, .45) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3) | |
| 2243 | swait() | |
| 2244 | end | |
| 2245 | borb:Remove() | |
| 2246 | coroutine.wrap(function() | |
| 2247 | local zorb = Instance.new("Part",Torso)
| |
| 2248 | zorb.Shape = "Ball" | |
| 2249 | zorb.Size = Vector3.new(1.5,1.5,1.5) | |
| 2250 | zorb.BrickColor = BrickColor.new("Really red")
| |
| 2251 | zorb.Material = "Neon" | |
| 2252 | zorb.Anchored = false | |
| 2253 | zorb.CanCollide = false | |
| 2254 | zorb.CFrame = rightlocation.CFrame | |
| 2255 | MAKETRAIL(zorb,Vector3.new(.2,.2,0),Vector3.new(-.2,-.2,0),.7,ColorSequence.new(BrickColor.new("Really red").Color,BrickColor.new("Really black").Color))
| |
| 2256 | Hit = damagealll(100,Root.Position) | |
| 2257 | local bov = Instance.new("BodyVelocity",zorb)
| |
| 2258 | bov.maxForce = Vector3.new(99999,99999,99999) | |
| 2259 | zorb.CFrame = CFrame.new(zorb.Position,mouse.Hit.p) | |
| 2260 | bov.velocity = zorb.CFrame.lookVector*180 | |
| 2261 | local zorbhit = false | |
| 2262 | for i = 1, 250 do | |
| 2263 | if zorbhit then break end | |
| 2264 | Hit = damagealll(6,zorb.Position) | |
| 2265 | for _,v in pairs(Hit) do | |
| 2266 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
| |
| 2267 | slachtoffer = v:FindFirstChildOfClass("Humanoid")
| |
| 2268 | zorbhit = true | |
| 2269 | slachtoffer.Parent:BreakJoints() | |
| 2270 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 2271 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 2272 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 2273 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*180 | |
| 2274 | removeuseless:AddItem(vel,.1) | |
| 2275 | pcall(function() | |
| 2276 | boombiatch = Instance.new("Sound",slachtoffer.Parent.Torso)
| |
| 2277 | boombiatch.Volume = 8 | |
| 2278 | boombiatch.SoundId = "rbxassetid://907532865" | |
| 2279 | boombiatch:Play() | |
| 2280 | end) | |
| 2281 | removeuseless:AddItem(boombiatch,3) | |
| 2282 | coroutine.wrap(function() | |
| 2283 | for i = 1, 3 do | |
| 2284 | wshockwave = Instance.new("Part", Torso)
| |
| 2285 | wshockwave.Size = Vector3.new(1,1,1) | |
| 2286 | wshockwave.CanCollide = false | |
| 2287 | wshockwave.Anchored = true | |
| 2288 | wshockwave.Transparency = .1 | |
| 2289 | wshockwave.BrickColor = BrickColor.new("Bright orange")
| |
| 2290 | wshockwave.CFrame = CFrame.new(zorb.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 2291 | wshockwavemesh = Instance.new("SpecialMesh", wshockwave)
| |
| 2292 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
| 2293 | wshockwavemesh.Name = "explodmesh2" | |
| 2294 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
| 2295 | removeuseless:AddItem(wshockwave,2) | |
| 2296 | bamwave = Instance.new("Part",Torso)
| |
| 2297 | bamwave.CanCollide = false | |
| 2298 | bamwave.Anchored = true | |
| 2299 | bamwave.BrickColor = BrickColor.new("Bright orange")
| |
| 2300 | bamwave.Name = "bamwave" | |
| 2301 | bamwave.CFrame = zorb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
| 2302 | bamwavemesh = Instance.new("SpecialMesh",bamwave)
| |
| 2303 | bamwavemesh.MeshId = "rbxassetid://662586858" | |
| 2304 | bamwavemesh.Name = "explodmesh" | |
| 2305 | bamwavemesh.Scale = Vector3.new(.04,.01,.04) | |
| 2306 | removeuseless:AddItem(bamwave,2) | |
| 2307 | explodball = Instance.new("Part",Torso)
| |
| 2308 | explodball.Shape = "Ball" | |
| 2309 | explodball.Size = Vector3.new(1.5,1.5,1.5) | |
| 2310 | explodball.BrickColor = BrickColor.new("Bright orange")
| |
| 2311 | explodball.Material = "Neon" | |
| 2312 | explodball.Anchored = true | |
| 2313 | explodball.Name = "explodball" | |
| 2314 | explodball.CanCollide = false | |
| 2315 | explodball.CFrame = zorb.CFrame | |
| 2316 | removeuseless:AddItem(explodball,2.5) | |
| 2317 | swait() | |
| 2318 | end | |
| 2319 | end)() | |
| 2320 | bov:Remove() | |
| 2321 | zorb:Remove() | |
| 2322 | if tauntdebounce then return end | |
| 2323 | if oofing then return end | |
| 2324 | if dedlaff then return end | |
| 2325 | coroutine.wrap(function() | |
| 2326 | dedlaff = true | |
| 2327 | death2 = deathtable2[math.random(1,#deathtable2)] | |
| 2328 | tauntsound2 = Instance.new("Sound", Head)
| |
| 2329 | tauntsound2.Volume = 8 | |
| 2330 | tauntsound2.SoundId = "http://www.roblox.com/asset/?id="..death2 | |
| 2331 | tauntsound2.Looped = false | |
| 2332 | tauntsound2:Play() | |
| 2333 | wait(1.5) | |
| 2334 | wait(tauntsound2.TimeLength) | |
| 2335 | tauntsound2:Remove() | |
| 2336 | dedlaff = false | |
| 2337 | end)() | |
| 2338 | end | |
| 2339 | end | |
| 2340 | swait() | |
| 2341 | end | |
| 2342 | if not zorbhit then | |
| 2343 | bov:Remove() | |
| 2344 | for i = 1, 10 do | |
| 2345 | zorb.Size = zorb.Size + Vector3.new(.5,.5,.5) | |
| 2346 | zorb.Transparency = zorb.Transparency + .1 | |
| 2347 | swait() | |
| 2348 | end | |
| 2349 | zorb:Remove() | |
| 2350 | elseif zorbhit then | |
| 2351 | zorbhit = false | |
| 2352 | zorb:Remove() | |
| 2353 | end | |
| 2354 | end)() | |
| 2355 | for i = 1, 10 do | |
| 2356 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
| 2357 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.19,0) * CFrame.Angles(math.rad(10),math.rad(20),math.rad(0)),.3) | |
| 2358 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.45,.1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)),.3) | |
| 2359 | swait() | |
| 2360 | end | |
| 2361 | removeuseless:AddItem(g1,.001) | |
| 2362 | debounce = false | |
| 2363 | attacking = false | |
| 2364 | appi = false | |
| 2365 | else | |
| 2366 | if debounce then return end | |
| 2367 | debounce = true | |
| 2368 | attacking = true | |
| 2369 | orbz = orbthrows[math.random(1,#orbthrows)] | |
| 2370 | orbthrow.SoundId = "rbxassetid://"..orbz | |
| 2371 | orbthrow:Play() | |
| 2372 | appi = true | |
| 2373 | coroutine.wrap(function() | |
| 2374 | while appi do | |
| 2375 | swait() | |
| 2376 | if Root.Velocity.Magnitude < 2 and attacking == true then | |
| 2377 | position = "Idle3" | |
| 2378 | elseif Root.Velocity.Magnitude > 2 and attacking == true then | |
| 2379 | position = "Walk3" | |
| 2380 | end | |
| 2381 | end | |
| 2382 | end)() | |
| 2383 | coroutine.wrap(function() | |
| 2384 | while appi do | |
| 2385 | swait() | |
| 2386 | settime = 0.05 | |
| 2387 | sine = sine + change | |
| 2388 | if position == "Idle3" and attacking == true and appi == true then | |
| 2389 | change = .4 | |
| 2390 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.1) | |
| 2391 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.2) | |
| 2392 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2, 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.2) | |
| 2393 | elseif position == "Walk3" and attacking == true and appi == true then | |
| 2394 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.42, 1.92 - 0.35 * math.cos(sine/9)/2.8,0) * CFrame.Angles(math.rad(20 - 20) + -math.sin(sine/9)/2.3, math.rad(0)*math.cos(sine/9), math.rad(0), math.cos(-15 * 75 * math.cos(sine/9))), 0.3) | |
| 2395 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.42, 1.92 + 0.35 * math.cos(sine/9)/2.8,0) * CFrame.Angles(math.rad(20 - 20) - -math.sin(sine/9)/2.3, math.rad(0)*math.cos(sine/9), math.rad(0) , math.cos(-15 * 75 * math.cos(sine/9))), 0.3) | |
| 2396 | end | |
| 2397 | end | |
| 2398 | end)() | |
| 2399 | g1 = Instance.new("BodyGyro", Root)
| |
| 2400 | g1.D = 175 | |
| 2401 | g1.P = 20000 | |
| 2402 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 2403 | borb = Instance.new("Part",Torso)
| |
| 2404 | borb.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 2405 | borb.Material = "Neon" | |
| 2406 | borb.Anchored = true | |
| 2407 | borb.Shape = "Ball" | |
| 2408 | borb.CanCollide = false | |
| 2409 | borb.CFrame = rightlocation.CFrame | |
| 2410 | borb.Size = Vector3.new(11.5,11.5,11.5) | |
| 2411 | borb.Transparency = 1 | |
| 2412 | for i = 1, 10 do | |
| 2413 | borb.CFrame = rightlocation.CFrame | |
| 2414 | borb.Size = borb.Size - Vector3.new(1,1,1) | |
| 2415 | borb.Transparency = borb.Transparency - .1 | |
| 2416 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
| 2417 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.19,0) * CFrame.Angles(math.rad(-10),math.rad(-20),math.rad(0)),.3) | |
| 2418 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.97, 1.35, .45) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3) | |
| 2419 | swait() | |
| 2420 | end | |
| 2421 | borb:Remove() | |
| 2422 | coroutine.wrap(function() | |
| 2423 | local zorb = Instance.new("Part",Torso)
| |
| 2424 | zorb.Shape = "Ball" | |
| 2425 | zorb.Size = Vector3.new(1.5,1.5,1.5) | |
| 2426 | zorb.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 2427 | zorb.Material = "Neon" | |
| 2428 | zorb.Anchored = false | |
| 2429 | zorb.CanCollide = false | |
| 2430 | zorb.CFrame = rightlocation.CFrame | |
| 2431 | MAKETRAIL(zorb,Vector3.new(.2,.2,0),Vector3.new(-.2,-.2,0),.7,ColorSequence.new(BrickColor.new("Dark Royal blue").Color,BrickColor.new("Really black").Color))
| |
| 2432 | Hit = damagealll(100,Root.Position) | |
| 2433 | local bov = Instance.new("BodyVelocity",zorb)
| |
| 2434 | bov.maxForce = Vector3.new(99999,99999,99999) | |
| 2435 | zorb.CFrame = CFrame.new(zorb.Position,mouse.Hit.p) | |
| 2436 | bov.velocity = zorb.CFrame.lookVector*180 | |
| 2437 | local zorbhit = false | |
| 2438 | for i = 1, 250 do | |
| 2439 | if zorbhit then break end | |
| 2440 | Hit = damagealll(6,zorb.Position) | |
| 2441 | for _,v in pairs(Hit) do | |
| 2442 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
| |
| 2443 | slachtoffer = v:FindFirstChildOfClass("Humanoid")
| |
| 2444 | zorbhit = true | |
| 2445 | slachtoffer:TakeDamage(math.random(37,55)) | |
| 2446 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 2447 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 2448 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 2449 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*90 | |
| 2450 | removeuseless:AddItem(vel,.1) | |
| 2451 | pcall(function() | |
| 2452 | boombiatch = Instance.new("Sound",slachtoffer.Parent.Torso)
| |
| 2453 | boombiatch.Volume = 8 | |
| 2454 | boombiatch.SoundId = "rbxassetid://907532865" | |
| 2455 | boombiatch:Play() | |
| 2456 | end) | |
| 2457 | removeuseless:AddItem(boombiatch,3) | |
| 2458 | coroutine.wrap(function() | |
| 2459 | for i = 1, 3 do | |
| 2460 | wshockwave = Instance.new("Part", Torso)
| |
| 2461 | wshockwave.Size = Vector3.new(1,1,1) | |
| 2462 | wshockwave.CanCollide = false | |
| 2463 | wshockwave.Anchored = true | |
| 2464 | wshockwave.Transparency = .1 | |
| 2465 | wshockwave.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 2466 | wshockwave.CFrame = CFrame.new(zorb.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
| 2467 | wshockwavemesh = Instance.new("SpecialMesh", wshockwave)
| |
| 2468 | wshockwavemesh.Scale = Vector3.new(1,.05,1) | |
| 2469 | wshockwavemesh.Name = "explodmesh2" | |
| 2470 | wshockwavemesh.MeshId = "rbxassetid://20329976" | |
| 2471 | removeuseless:AddItem(wshockwave,2) | |
| 2472 | bamwave = Instance.new("Part",Torso)
| |
| 2473 | bamwave.CanCollide = false | |
| 2474 | bamwave.Anchored = true | |
| 2475 | bamwave.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 2476 | bamwave.Name = "bamwave" | |
| 2477 | bamwave.CFrame = zorb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
| 2478 | bamwavemesh = Instance.new("SpecialMesh",bamwave)
| |
| 2479 | bamwavemesh.MeshId = "rbxassetid://662586858" | |
| 2480 | bamwavemesh.Name = "explodmesh" | |
| 2481 | bamwavemesh.Scale = Vector3.new(.04,.01,.04) | |
| 2482 | removeuseless:AddItem(bamwave,2) | |
| 2483 | explodball = Instance.new("Part",Torso)
| |
| 2484 | explodball.Shape = "Ball" | |
| 2485 | explodball.Size = Vector3.new(1.5,1.5,1.5) | |
| 2486 | explodball.BrickColor = BrickColor.new("Dark Royal blue")
| |
| 2487 | explodball.Material = "Neon" | |
| 2488 | explodball.Anchored = true | |
| 2489 | explodball.Name = "explodball" | |
| 2490 | explodball.CanCollide = false | |
| 2491 | explodball.CFrame = zorb.CFrame | |
| 2492 | removeuseless:AddItem(explodball,2.5) | |
| 2493 | swait() | |
| 2494 | end | |
| 2495 | end)() | |
| 2496 | if slachtoffer.Health < 1 then | |
| 2497 | bov:Remove() | |
| 2498 | zorb:Remove() | |
| 2499 | if tauntdebounce then return end | |
| 2500 | if oofing then return end | |
| 2501 | if dedlaff then return end | |
| 2502 | dedlaff = true | |
| 2503 | coroutine.wrap(function() | |
| 2504 | death1 = deathtable[math.random(1,#deathtable)] | |
| 2505 | tauntsound2 = Instance.new("Sound", Head)
| |
| 2506 | tauntsound2.Volume = 8 | |
| 2507 | tauntsound2.SoundId = "http://www.roblox.com/asset/?id="..death1 | |
| 2508 | tauntsound2.Looped = false | |
| 2509 | tauntsound2:Play() | |
| 2510 | wait(1.5) | |
| 2511 | wait(tauntsound2.TimeLength) | |
| 2512 | tauntsound2:Remove() | |
| 2513 | dedlaff = false | |
| 2514 | end)() | |
| 2515 | end | |
| 2516 | end | |
| 2517 | end | |
| 2518 | swait() | |
| 2519 | end | |
| 2520 | if not zorbhit then | |
| 2521 | bov:Remove() | |
| 2522 | for i = 1, 10 do | |
| 2523 | zorb.Size = zorb.Size + Vector3.new(.5,.5,.5) | |
| 2524 | zorb.Transparency = zorb.Transparency + .1 | |
| 2525 | swait() | |
| 2526 | end | |
| 2527 | zorb:Remove() | |
| 2528 | elseif zorbhit then | |
| 2529 | zorbhit = false | |
| 2530 | zorb:Remove() | |
| 2531 | end | |
| 2532 | end)() | |
| 2533 | for i = 1, 10 do | |
| 2534 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3) | |
| 2535 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.19,0) * CFrame.Angles(math.rad(10),math.rad(20),math.rad(0)),.3) | |
| 2536 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.45,.1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)),.3) | |
| 2537 | swait() | |
| 2538 | end | |
| 2539 | removeuseless:AddItem(g1,.001) | |
| 2540 | debounce = false | |
| 2541 | attacking = false | |
| 2542 | appi = false | |
| 2543 | end | |
| 2544 | end | |
| 2545 | end) | |
| 2546 | ||
| 2547 | mouse.KeyDown:connect(function(Press) | |
| 2548 | Press=Press:lower() | |
| 2549 | if Press=='t' then | |
| 2550 | if oofing then return end | |
| 2551 | if dedlaff then return end | |
| 2552 | if tauntdebounce == true then return end | |
| 2553 | tauntdebounce = true | |
| 2554 | if not secondform then | |
| 2555 | rdnm = soundtable[math.random(1,#soundtable)] | |
| 2556 | tauntsound = Instance.new("Sound", Head)
| |
| 2557 | tauntsound.Volume = 8 | |
| 2558 | tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm | |
| 2559 | tauntsound.Looped = false | |
| 2560 | tauntsound:Play() | |
| 2561 | wait(3) | |
| 2562 | wait(tauntsound.TimeLength) | |
| 2563 | tauntsound:Remove() | |
| 2564 | wait(1) | |
| 2565 | tauntdebounce = false | |
| 2566 | else | |
| 2567 | rdnm2 = soundtable2[math.random(1,#soundtable2)] | |
| 2568 | tauntsound = Instance.new("Sound", Head)
| |
| 2569 | tauntsound.Volume = 8 | |
| 2570 | tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2 | |
| 2571 | tauntsound.Looped = false | |
| 2572 | tauntsound:Play() | |
| 2573 | wait(3) | |
| 2574 | wait(tauntsound.TimeLength) | |
| 2575 | tauntsound:Remove() | |
| 2576 | wait(1) | |
| 2577 | tauntdebounce = false | |
| 2578 | end | |
| 2579 | end | |
| 2580 | end) | |
| 2581 | ||
| 2582 | ||
| 2583 | checks1 = coroutine.wrap(function() -------Checks | |
| 2584 | while true do | |
| 2585 | hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,-1,0))).lookVector,3*3,Character) | |
| 2586 | if Root.Velocity.y > 1 and hf == nil then | |
| 2587 | position = "Jump" | |
| 2588 | elseif Root.Velocity.y < -1 and hf == nil then | |
| 2589 | position = "Falling" | |
| 2590 | elseif Root.Velocity.Magnitude < 2 and hf ~= nil then | |
| 2591 | position = "Idle" | |
| 2592 | elseif Root.Velocity.Magnitude > 2 and hf ~= nil then | |
| 2593 | position = "Walking" | |
| 2594 | end | |
| 2595 | wait() | |
| 2596 | end | |
| 2597 | end) | |
| 2598 | checks1() | |
| 2599 | ||
| 2600 | oofing = true | |
| 2601 | hum.HealthChanged:Connect(function(healthz) | |
| 2602 | if tauntdebounce then return end | |
| 2603 | if dedlaff then return end | |
| 2604 | if oofing then return end | |
| 2605 | oofing = true | |
| 2606 | ouchtable = beingattackedtable[math.random(1,#beingattackedtable)] | |
| 2607 | ouch = Instance.new("Sound",Head)
| |
| 2608 | ouch.SoundId = "rbxassetid://"..ouchtable | |
| 2609 | ouch.Volume = 8 | |
| 2610 | ouch:Play() | |
| 2611 | wait(1) | |
| 2612 | wait(ouch.TimeLength) | |
| 2613 | ouch:Remove() | |
| 2614 | wait(1) | |
| 2615 | oofing = false | |
| 2616 | end) | |
| 2617 | coroutine.wrap(function() | |
| 2618 | wait(2) | |
| 2619 | oofing = false | |
| 2620 | end)() | |
| 2621 | ||
| 2622 | OrgnC0 = Neck.C0 | |
| 2623 | local movelimbs = coroutine.wrap(function() | |
| 2624 | while RunSrv.RenderStepped:wait() do | |
| 2625 | TrsoLV = Torso.CFrame.lookVector | |
| 2626 | Dist = nil | |
| 2627 | Diff = nil | |
| 2628 | if not MseGuide then | |
| 2629 | print("Failed to recognize")
| |
| 2630 | else | |
| 2631 | local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
| 2632 | Dist = (Head.CFrame.p-Point).magnitude | |
| 2633 | Diff = Head.CFrame.Y-Point.Y | |
| 2634 | local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
| 2635 | Dist2 = (LeftArm.CFrame.p-Point).magnitude | |
| 2636 | Diff2 = LeftArm.CFrame.Y-Point.Y | |
| 2637 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 2638 | 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) | |
| 2639 | end | |
| 2640 | end | |
| 2641 | end) | |
| 2642 | movelimbs() | |
| 2643 | immortal = {}
| |
| 2644 | for i,v in pairs(Character:GetDescendants()) do | |
| 2645 | if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
| |
| 2646 | 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 | |
| 2647 | v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 2648 | end | |
| 2649 | table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
| |
| 2650 | elseif v:IsA("JointInstance") then
| |
| 2651 | table.insert(immortal,{v,v.Parent,nil,nil,nil})
| |
| 2652 | end | |
| 2653 | end | |
| 2654 | for e = 1, #immortal do | |
| 2655 | if immortal[e] ~= nil then | |
| 2656 | local STUFF = immortal[e] | |
| 2657 | local PART = STUFF[1] | |
| 2658 | local PARENT = STUFF[2] | |
| 2659 | local MATERIAL = STUFF[3] | |
| 2660 | local COLOR = STUFF[4] | |
| 2661 | local TRANSPARENCY = STUFF[5] | |
| 2662 | if levitate then | |
| 2663 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
| 2664 | PART.Material = MATERIAL | |
| 2665 | PART.Color = COLOR | |
| 2666 | PART.Transparency = TRANSPARENCY | |
| 2667 | end | |
| 2668 | PART.AncestryChanged:connect(function() | |
| 2669 | PART.Parent = PARENT | |
| 2670 | end) | |
| 2671 | else | |
| 2672 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
| 2673 | PART.Material = MATERIAL | |
| 2674 | PART.Color = COLOR | |
| 2675 | PART.Transparency = TRANSPARENCY | |
| 2676 | end | |
| 2677 | PART.AncestryChanged:connect(function() | |
| 2678 | PART.Parent = PARENT | |
| 2679 | end) | |
| 2680 | end | |
| 2681 | end | |
| 2682 | end | |
| 2683 | function immortality() | |
| 2684 | for e = 1, #immortal do | |
| 2685 | if immortal[e] ~= nil then | |
| 2686 | local STUFF = immortal[e] | |
| 2687 | local PART = STUFF[1] | |
| 2688 | local PARENT = STUFF[2] | |
| 2689 | local MATERIAL = STUFF[3] | |
| 2690 | local COLOR = STUFF[4] | |
| 2691 | local TRANSPARENCY = STUFF[5] | |
| 2692 | if PART.ClassName == "Part" and PART == Root then | |
| 2693 | PART.Material = MATERIAL | |
| 2694 | PART.Color = COLOR | |
| 2695 | PART.Transparency = TRANSPARENCY | |
| 2696 | end | |
| 2697 | if PART.Parent ~= PARENT then | |
| 2698 | hum:Remove() | |
| 2699 | PART.Parent = PARENT | |
| 2700 | hum = Instance.new("Humanoid",Character)
| |
| 2701 | hum.Name = "noneofurbusiness" | |
| 2702 | end | |
| 2703 | end | |
| 2704 | end | |
| 2705 | end | |
| 2706 | alreadyflip = false | |
| 2707 | function jumpsound() | |
| 2708 | if alreadyflip then return end | |
| 2709 | alreadyflip = true | |
| 2710 | flipsound = Instance.new("Sound",Torso)
| |
| 2711 | flipsound.SoundId = "rbxassetid://1031614266" | |
| 2712 | flipsound.Volume = 2 | |
| 2713 | flipsound.Pitch = 1 | |
| 2714 | flipsound:Play() | |
| 2715 | removeuseless:AddItem(flipsound,2) | |
| 2716 | wait(1) | |
| 2717 | alreadyflip = false | |
| 2718 | end | |
| 2719 | coroutine.wrap(function() | |
| 2720 | while true do | |
| 2721 | if hum.Health < .1 then | |
| 2722 | deadsound = Instance.new("Sound", Torso)
| |
| 2723 | deadsound.Volume = 6 | |
| 2724 | deadsound.SoundId = "rbxassetid://1411352723" | |
| 2725 | deadsound:Play() | |
| 2726 | immortality() | |
| 2727 | end | |
| 2728 | wait() | |
| 2729 | end | |
| 2730 | end)() | |
| 2731 | spinny = 0 | |
| 2732 | local anims = coroutine.wrap(function() | |
| 2733 | while true do | |
| 2734 | settime = 0.05 | |
| 2735 | sine = sine + change | |
| 2736 | if position == "Jump" and attacking == false then | |
| 2737 | coroutine.wrap(function() | |
| 2738 | jumpsound() | |
| 2739 | end)() | |
| 2740 | spinny = spinny - 18 | |
| 2741 | change = 1 | |
| 2742 | ws = 35 | |
| 2743 | footsteps.Volume = 0 | |
| 2744 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 2745 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 2746 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
| 2747 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(spinny), math.rad(0), math.rad(0)), 0.4) | |
| 2748 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.2) | |
| 2749 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-10)), 0.2) | |
| 2750 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1., .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4) | |
| 2751 | 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) | |
| 2752 | elseif position == "Falling" and attacking == false then | |
| 2753 | change = 1 | |
| 2754 | ws = 19 | |
| 2755 | spinny = 0 | |
| 2756 | footsteps.Volume = 0 | |
| 2757 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.15) | |
| 2758 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1) | |
| 2759 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1) | |
| 2760 | LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4) | |
| 2761 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2) | |
| 2762 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(-4), math.rad(0)), 0.2) | |
| 2763 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.64 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2) | |
| 2764 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.64 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2) | |
| 2765 | elseif position == "Walking" and attacking == false and running == false then | |
| 2766 | change = 1.2 | |
| 2767 | if invisible then | |
| 2768 | ws = 30 | |
| 2769 | else | |
| 2770 | ws = 19 | |
| 2771 | end | |
| 2772 | walking = true | |
| 2773 | spinny = 0 | |
| 2774 | footsteps.Volume = 2 | |
| 2775 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.3,-.3) * CFrame.Angles(math.rad(50 + 5 * math.sin(sine/8)),math.rad(0),math.rad(-10)),.3) | |
| 2776 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.3,-.3) * CFrame.Angles(math.rad(50 + 5 * math.sin(sine/8)),math.rad(0),math.rad(10)),.3) | |
| 2777 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.45 + 0.2*math.sin(sine/3.5), 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/7))), 0.3) | |
| 2778 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.42, 1.52 - 0.35 * math.cos(sine/7)/2.8, -.1 + 0.2 - math.sin(sine/7)/3.4) * CFrame.Angles(math.rad(25 - 35) + -math.sin(sine/7)/2.3, math.rad(0)*math.cos(sine/7), math.rad(0), math.cos(-15 * 75 * math.cos(sine/7))), 0.3) | |
| 2779 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.42, 1.52 + 0.35 * math.cos(sine/7)/2.8, -.1 + 0.2 + math.sin(sine/7)/3.4) * CFrame.Angles(math.rad(25 - 35) - -math.sin(sine/7)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(-15 * 75 * math.cos(sine/7))), 0.3) | |
| 2780 | elseif position == "Idle" and attacking == false and running == false then | |
| 2781 | change = .5 | |
| 2782 | if invisible then | |
| 2783 | ws = 30 | |
| 2784 | else | |
| 2785 | ws = 19 | |
| 2786 | end | |
| 2787 | spinny = 0 | |
| 2788 | footsteps.Volume = 0 | |
| 2789 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.165 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)),math.rad(0),math.rad(0)),.1) | |
| 2790 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.14 + .02 * math.sin(sine/12),-.125) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.1) | |
| 2791 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.34 + .02 * math.sin(sine/12),.10 * -math.sin(sine/12)) * CFrame.Angles(math.rad(-10 + 10 * math.sin(sine/12)),math.rad(0),math.rad(-25)), 0.1) | |
| 2792 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.1) | |
| 2793 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.1) | |
| 2794 | end | |
| 2795 | swait() | |
| 2796 | end | |
| 2797 | end) | |
| 2798 | anims() |