SHOW:
|
|
- or go back to the newest paste.
| 1 | -----------//EXECUTIONER BRUTALLUS\\----------- | |
| 2 | --[[Movelist | |
| 3 | Mouseclick = 2 attacks | |
| 4 | 1 = Slice | |
| 5 | 2 = Smash | |
| 6 | R = Axe throw | |
| 7 | T = Gigantic roar | |
| 8 | Y = Obliterating kick | |
| 9 | F = Power(Makes you extremely powerful) | |
| 10 | ---------]] | |
| 11 | ||
| 12 | 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 = {}
| |
| 13 | do | |
| 14 | script.Parent = owner.Character | |
| 15 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
| |
| 16 | local function NewFakeEvent() | |
| 17 | local Bind = Instance.new("BindableEvent")
| |
| 18 | local Fake;Fake = {Connections = {},
| |
| 19 | fakeEvent=true; | |
| 20 | Connect=function(self,Func) | |
| 21 | Bind.Event:connect(Func) | |
| 22 | self.Connections[Bind] = true | |
| 23 | return setmetatable({Connected = true},{
| |
| 24 | __index = function (self,Index) | |
| 25 | if Index:lower() == "disconnect" then | |
| 26 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
| 27 | end | |
| 28 | return Fake[Index] | |
| 29 | end; | |
| 30 | __tostring = function() return "Connection" end; | |
| 31 | }) | |
| 32 | end} | |
| 33 | Fake.connect = Fake.Connect;return Fake; | |
| 34 | end | |
| 35 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
| |
| 36 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
| |
| 37 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
| |
| 38 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
| |
| 39 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
| 40 | local function TriggerEvent(self,Event,...) | |
| 41 | local Trigger = Mouse[Event] | |
| 42 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
| 43 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
| 44 | end | |
| 45 | end | |
| 46 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
| 47 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
| 48 | if FiredBy.Name ~= owner.Name then return end | |
| 49 | if Input.MouseEvent then | |
| 50 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
| 51 | else | |
| 52 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
| 53 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
| 54 | for _,Action in pairs(ContextActionService.Actions) do | |
| 55 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
| 56 | end | |
| 57 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
| 58 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
| 62 | Event.Parent = NLS([[ | |
| 63 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
| |
| 64 | local Input = function(Input,gameProcessedEvent) | |
| 65 | if gameProcessedEvent then return end | |
| 66 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
| |
| 67 | end | |
| 68 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
| 69 | local Hit,Target | |
| 70 | while wait(1/30) do | |
| 71 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
| 72 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
| |
| 73 | end | |
| 74 | end | |
| 75 | ]],owner.Character) | |
| 76 | end | |
| 77 | RealGame = game;game = setmetatable({},{
| |
| 78 | __index = function (self,Index) | |
| 79 | local Sandbox = function (Thing) | |
| 80 | if Thing:IsA("Player") then
| |
| 81 | local RealPlayer = Thing | |
| 82 | return setmetatable({},{
| |
| 83 | __index = function (self,Index) | |
| 84 | local Type = type(RealPlayer[Index]) | |
| 85 | if Type == "function" then | |
| 86 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
| 87 | return function (self)return InternalData["Mouse"] end | |
| 88 | end | |
| 89 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
| 90 | end | |
| 91 | return RealPlayer[Index] | |
| 92 | end; | |
| 93 | __tostring = function(self) return RealPlayer.Name end | |
| 94 | }) | |
| 95 | end | |
| 96 | end | |
| 97 | if RealGame[Index] then | |
| 98 | local Type = type(RealGame[Index]) | |
| 99 | if Type == "function" then | |
| 100 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
| 101 | return function (self,Service) | |
| 102 | local FakeServices = {
| |
| 103 | ["players"] = function() | |
| 104 | return setmetatable({},{
| |
| 105 | __index = function (self2,Index2) | |
| 106 | local RealService = RealGame:GetService(Service) | |
| 107 | local Type2 = type(Index2) | |
| 108 | if Type2 == "function" then | |
| 109 | return function (self,...) return RealService[Index2](RealService,...)end | |
| 110 | else | |
| 111 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
| 112 | return RealService[Index2] | |
| 113 | end | |
| 114 | end; | |
| 115 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
| 116 | }) | |
| 117 | end; | |
| 118 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
| 119 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
| 120 | ["runservice"] = function() | |
| 121 | return setmetatable({},{
| |
| 122 | __index = function(self2,Index2) | |
| 123 | local RealService = RealGame:GetService(Service) | |
| 124 | local Type2 = type(Index2) | |
| 125 | if Type2 == "function" then | |
| 126 | return function (self,...) return RealService[Index2](RealService,...) end | |
| 127 | else | |
| 128 | local RunServices = {
| |
| 129 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
| |
| 130 | ["renderstepped"] = function() return RealService["Stepped"] end | |
| 131 | } | |
| 132 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
| 133 | return RealService[Index2] | |
| 134 | end | |
| 135 | end | |
| 136 | }) | |
| 137 | end | |
| 138 | } | |
| 139 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
| 140 | return RealGame:GetService(Service) | |
| 141 | end | |
| 142 | end | |
| 143 | return function (self,...) return RealGame[Index](RealGame,...) end | |
| 144 | else | |
| 145 | if game:GetService(Index) then return game:GetService(Index) end | |
| 146 | return RealGame[Index] | |
| 147 | end | |
| 148 | end | |
| 149 | return nil | |
| 150 | end | |
| 151 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
| |
| 152 | ||
| 153 | Player=game:GetService("Players").LocalPlayer
| |
| 154 | Character=Player.Character | |
| 155 | Character.Humanoid.Name = "noneofurbusiness" | |
| 156 | hum = Character.noneofurbusiness | |
| 157 | LeftArm=Character["Left Arm"] | |
| 158 | LeftLeg=Character["Left Leg"] | |
| 159 | RightArm=Character["Right Arm"] | |
| 160 | RightLeg=Character["Right Leg"] | |
| 161 | Root=Character["HumanoidRootPart"] | |
| 162 | Head=Character["Head"] | |
| 163 | Torso=Character["Torso"] | |
| 164 | Neck=Torso["Neck"] | |
| 165 | RootJoint = Root["RootJoint"] | |
| 166 | Neck = Torso["Neck"] | |
| 167 | RightShoulder = Torso["Right Shoulder"] | |
| 168 | LeftShoulder = Torso["Left Shoulder"] | |
| 169 | RightHip = Torso["Right Hip"] | |
| 170 | LeftHip = Torso["Left Hip"] | |
| 171 | RunSrv = game:GetService("RunService")
| |
| 172 | RenderStepped = game:GetService("RunService").RenderStepped
| |
| 173 | removeuseless = game:GetService("Debris")
| |
| 174 | tween = game:GetService("TweenService")
| |
| 175 | mouse = Player:GetMouse() | |
| 176 | MseGuide = true | |
| 177 | attacking = false | |
| 178 | debounce = false | |
| 179 | pickdebounce = true | |
| 180 | pickingup = false | |
| 181 | levitate = false | |
| 182 | rotate1 = true | |
| 183 | rotate2 = false | |
| 184 | hitdebounce = false | |
| 185 | blockspawned = false | |
| 186 | darkmode = false | |
| 187 | notthrow = false | |
| 188 | smashdebounce = true | |
| 189 | smashdebounce2 = false | |
| 190 | tauntdebounce = false | |
| 191 | phammerthrow = false | |
| 192 | position = "Idle" | |
| 193 | swingforit = false | |
| 194 | change = 0 | |
| 195 | darkvolume = 0 | |
| 196 | ws = 26 | |
| 197 | jp = 150 | |
| 198 | sine = 0 | |
| 199 | settime = 0 | |
| 200 | dgs = 75 | |
| 201 | combo1 = true | |
| 202 | combo2 = false | |
| 203 | ||
| 204 | screenGui = Instance.new("ScreenGui")
| |
| 205 | screenGui.Parent = script.Parent | |
| 206 | ||
| 207 | ||
| 208 | id = 2291912291 | |
| 209 | ||
| 210 | ---Titan--- | |
| 211 | Root.Size = Root.Size * 3.9 | |
| 212 | LeftArm.Size = LeftArm.Size * 4 | |
| 213 | Torso.Size = Torso.Size * 4 | |
| 214 | RightArm.Size = RightArm.Size * 4 | |
| 215 | RightLeg.Size = RightLeg.Size * 4 | |
| 216 | LeftLeg.Size = LeftLeg.Size * 4 | |
| 217 | Head.Size = Head.Size * 4 | |
| 218 | RootJoint.Parent = RootPart | |
| 219 | Neck.Parent = Torso | |
| 220 | RightShoulder.Parent = Torso | |
| 221 | LeftShoulder.Parent = Torso | |
| 222 | RightHip.Parent = Torso | |
| 223 | LeftHip.Parent = Torso | |
| 224 | ||
| 225 | local HEADLERP = Instance.new("ManualWeld")
| |
| 226 | HEADLERP.Parent = Head | |
| 227 | HEADLERP.Part0 = Head | |
| 228 | HEADLERP.Part1 = Head | |
| 229 | HEADLERP.C0 = CFrame.new(0, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 230 | ||
| 231 | local TORSOLERP = Instance.new("ManualWeld")
| |
| 232 | TORSOLERP.Parent = Torso | |
| 233 | TORSOLERP.Part0 = Torso | |
| 234 | TORSOLERP.Part1 = Torso | |
| 235 | TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 236 | ||
| 237 | local ROOTLERP = Instance.new("ManualWeld")
| |
| 238 | ROOTLERP.Parent = Root | |
| 239 | ROOTLERP.Part0 = Root | |
| 240 | ROOTLERP.Part1 = Torso | |
| 241 | ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 242 | ||
| 243 | local RIGHTARMLERP = Instance.new("ManualWeld")
| |
| 244 | RIGHTARMLERP.Parent = RightArm | |
| 245 | RIGHTARMLERP.Part0 = RightArm | |
| 246 | RIGHTARMLERP.Part1 = Torso | |
| 247 | RIGHTARMLERP.C1 = CFrame.new(5.5,0,0) | |
| 248 | ||
| 249 | local LEFTARMLERP = Instance.new("ManualWeld")
| |
| 250 | LEFTARMLERP.Parent = LeftArm | |
| 251 | LEFTARMLERP.Part0 = LeftArm | |
| 252 | LEFTARMLERP.Part1 = Torso | |
| 253 | LEFTARMLERP.C1 = CFrame.new(-5.5,0,0) | |
| 254 | ||
| 255 | local RIGHTLEGLERP = Instance.new("ManualWeld")
| |
| 256 | RIGHTLEGLERP.Parent = RightLeg | |
| 257 | RIGHTLEGLERP.Part0 = RightLeg | |
| 258 | RIGHTLEGLERP.Part1 = Torso | |
| 259 | RIGHTLEGLERP.C1 = CFrame.new(2, -8, 0) | |
| 260 | RIGHTLEGLERP.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(180), math.rad(1.63), math.rad(-173.169998)) | |
| 261 | ||
| 262 | local LEFTLEGLERP = Instance.new("ManualWeld")
| |
| 263 | LEFTLEGLERP.Parent = LeftLeg | |
| 264 | LEFTLEGLERP.Part0 = LeftLeg | |
| 265 | LEFTLEGLERP.Part1 = Torso | |
| 266 | LEFTLEGLERP.C1 = CFrame.new(-2, -8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 267 | ||
| 268 | local function weldBetween(a, b) | |
| 269 | local weld = Instance.new("ManualWeld", a)
| |
| 270 | weld.Part0 = a | |
| 271 | weld.Part1 = b | |
| 272 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 273 | return weld | |
| 274 | end | |
| 275 | ||
| 276 | function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR) | |
| 277 | A = Instance.new("Attachment", PARENT)
| |
| 278 | A.Position = POSITION1 | |
| 279 | A.Name = "A" | |
| 280 | B = Instance.new("Attachment", PARENT)
| |
| 281 | B.Position = POSITION2 | |
| 282 | B.Name = "B" | |
| 283 | trail = Instance.new("Trail", PARENT)
| |
| 284 | trail.Attachment0 = A | |
| 285 | trail.Attachment1 = B | |
| 286 | trail.Enabled = true | |
| 287 | trail.Lifetime = LIFETIME | |
| 288 | trail.TextureMode = "Static" | |
| 289 | trail.LightInfluence = 0 | |
| 290 | trail.Color = COLOR | |
| 291 | trail.Transparency = NumberSequence.new(0, 1) | |
| 292 | end | |
| 293 | ||
| 294 | shirt = Instance.new("Shirt", Character)
| |
| 295 | shirt.Name = "Shirt" | |
| 296 | pants = Instance.new("Pants", Character)
| |
| 297 | pants.Name = "Pants" | |
| 298 | Character.Shirt.ShirtTemplate = "rbxassetid://471875841"----lol | |
| 299 | Character.Pants.PantsTemplate = "rbxassetid://471875960" | |
| 300 | ||
| 301 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 302 | ArtificialHB.Name = "Heartbeat" | |
| 303 | script:WaitForChild("Heartbeat")
| |
| 304 | ||
| 305 | frame = 1 / 60 | |
| 306 | tf = 0 | |
| 307 | allowframeloss = false | |
| 308 | tossremainder = false | |
| 309 | ||
| 310 | ||
| 311 | lastframe = tick() | |
| 312 | script.Heartbeat:Fire() | |
| 313 | ||
| 314 | ||
| 315 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 316 | tf = tf + s | |
| 317 | if tf >= frame then | |
| 318 | if allowframeloss then | |
| 319 | script.Heartbeat:Fire() | |
| 320 | lastframe = tick() | |
| 321 | else | |
| 322 | for i = 1, math.floor(tf / frame) do | |
| 323 | script.Heartbeat:Fire() | |
| 324 | end | |
| 325 | lastframe = tick() | |
| 326 | end | |
| 327 | if tossremainder then | |
| 328 | tf = 0 | |
| 329 | else | |
| 330 | tf = tf - frame * math.floor(tf / frame) | |
| 331 | end | |
| 332 | end | |
| 333 | end) | |
| 334 | ||
| 335 | function swait(num) | |
| 336 | if num == 0 or num == nil then | |
| 337 | game:service("RunService").Stepped:wait(0)
| |
| 338 | else | |
| 339 | for i = 0, num do | |
| 340 | game:service("RunService").Stepped:wait(0)
| |
| 341 | end | |
| 342 | end | |
| 343 | end | |
| 344 | ||
| 345 | leftblockarm = Instance.new("Part",LeftArm)
| |
| 346 | leftblockarm.Size = LeftArm.Size + Vector3.new(.1,.1,.1) | |
| 347 | leftblockarm.BrickColor = BrickColor.new("Really black")
| |
| 348 | leftblockarm.Anchored = false | |
| 349 | leftblockarm.CanCollide = false | |
| 350 | leftblockarm.Transparency = 1 | |
| 351 | leftblockarm.Material = "Neon" | |
| 352 | leftweld = weldBetween(leftblockarm,LeftArm) | |
| 353 | rightblockarm = Instance.new("Part",RightArm)
| |
| 354 | rightblockarm.Size = RightArm.Size + Vector3.new(.1,.1,.1) | |
| 355 | rightblockarm.BrickColor = BrickColor.new("Really black")
| |
| 356 | rightblockarm.Anchored = false | |
| 357 | rightblockarm.CanCollide = false | |
| 358 | rightblockarm.Transparency = 1 | |
| 359 | rightblockarm.Material = "Neon" | |
| 360 | rightweld = weldBetween(rightblockarm,RightArm) | |
| 361 | torsoblock = Instance.new("Part",Torso)
| |
| 362 | torsoblock.Size = Torso.Size + Vector3.new(.1,.1,.1) | |
| 363 | torsoblock.BrickColor = BrickColor.new("Really black")
| |
| 364 | torsoblock.Anchored = false | |
| 365 | torsoblock.CanCollide = false | |
| 366 | torsoblock.Transparency = 1 | |
| 367 | torsoblock.Material = "Neon" | |
| 368 | torsoblockweld = weldBetween(torsoblock,Torso) | |
| 369 | rightlegg = Instance.new("Part",RightLeg)
| |
| 370 | rightlegg.Size = RightLeg.Size + Vector3.new(.1,.1,.1) | |
| 371 | rightlegg.BrickColor = BrickColor.new("Really black")
| |
| 372 | rightlegg.Anchored = false | |
| 373 | rightlegg.CanCollide = false | |
| 374 | rightlegg.Transparency = 1 | |
| 375 | rightlegg.Material = "Neon" | |
| 376 | rightlegweld = weldBetween(rightlegg,RightLeg) | |
| 377 | leftlegg = Instance.new("Part",LeftLeg)
| |
| 378 | leftlegg.Size = LeftLeg.Size + Vector3.new(.1,.1,.1) | |
| 379 | leftlegg.BrickColor = BrickColor.new("Really black")
| |
| 380 | leftlegg.Anchored = false | |
| 381 | leftlegg.CanCollide = false | |
| 382 | leftlegg.Transparency = 1 | |
| 383 | leftlegg.Material = "Neon" | |
| 384 | leftlegweld = weldBetween(leftlegg,LeftLeg) | |
| 385 | ||
| 386 | ||
| 387 | TheBull = Instance.new("Part",Character)
| |
| 388 | TheBull.Size = Vector3.new(2,2,2) | |
| 389 | TheBull.CFrame = Head.CFrame | |
| 390 | TheBull.CanCollide = false | |
| 391 | TheBull.Name = "tbull" | |
| 392 | TheBullWeld = Instance.new("Weld",TheBull)
| |
| 393 | TheBullWeld.Part0 = TheBull | |
| 394 | TheBullWeld.Part1 = Head | |
| 395 | TheBullWeld.C0 = TheBull.CFrame:inverse() * Head.CFrame * CFrame.new(0,-2,-.3) | |
| 396 | mTheBull = Instance.new("SpecialMesh", TheBull)
| |
| 397 | mTheBull.MeshType = "FileMesh" | |
| 398 | mTheBull.Scale = Vector3.new(4, 4, 4) | |
| 399 | mTheBull.MeshId,mTheBull.TextureId = 'rbxassetid://101850502','rbxassetid://101850460' | |
| 400 | coroutine.wrap(function() | |
| 401 | m = -.18 | |
| 402 | b = 0 | |
| 403 | p = 0 | |
| 404 | for i = 1, 20 do | |
| 405 | m = m + .2 | |
| 406 | p = p + .03 | |
| 407 | b = b + 0.01 | |
| 408 | local lightpart = Instance.new("Part",Head)
| |
| 409 | lightpart.Size = Vector3.new(.7 + p,.2,.5) | |
| 410 | lightpart.Material = "Neon" | |
| 411 | lightpart.Name = "lightpart" | |
| 412 | lightpart.BrickColor = BrickColor.new("Really white")
| |
| 413 | local lightpartweld = weldBetween(lightpart,Head) | |
| 414 | lightpartweld.C0 = CFrame.new(0,3.59 - m,3 - b) | |
| 415 | lightpart.CanCollide = false | |
| 416 | end | |
| 417 | end)() | |
| 418 | ||
| 419 | coroutine.wrap(function() | |
| 420 | v = 0 | |
| 421 | c = 0 | |
| 422 | for i = 1, 20 do | |
| 423 | v = v + .1 | |
| 424 | c = c + 0.1 | |
| 425 | local lightpart2 = Instance.new("Part",Head)
| |
| 426 | lightpart2.Size = Vector3.new(.2,.6,.2 + v) | |
| 427 | lightpart2.Material = "Neon" | |
| 428 | lightpart2.Name = "lightpart2" | |
| 429 | lightpart2.BrickColor = BrickColor.new("Really white")
| |
| 430 | local lightpart2weld = weldBetween(lightpart2,Head) | |
| 431 | lightpart2weld.C0 = CFrame.new(2 - c ,.2,2) | |
| 432 | lightpart2.CanCollide = false | |
| 433 | local lightpart3 = Instance.new("Part",Head)
| |
| 434 | lightpart3.Size = Vector3.new(.2,.6,.2 + v) | |
| 435 | lightpart3.Material = "Neon" | |
| 436 | lightpart3.Name = "lightpart3" | |
| 437 | lightpart3.BrickColor = BrickColor.new("Really white")
| |
| 438 | local lightpart3weld = weldBetween(lightpart3,Head) | |
| 439 | lightpart3weld.C0 = CFrame.new(-2 + c ,.2,2) | |
| 440 | lightpart3.CanCollide = false | |
| 441 | end | |
| 442 | end)() | |
| 443 | ||
| 444 | Phammerhandle = Instance.new("Part",Torso)
| |
| 445 | Phammerhandle.Size = Vector3.new(2,20,2) | |
| 446 | Phammerhandle.Material = "Slate" | |
| 447 | Phammerhandle.CanCollide = false | |
| 448 | Phammerhandle.BrickColor = BrickColor.new("Really black")
| |
| 449 | Phammerhandleweld = weldBetween(Phammerhandle,RightArm) | |
| 450 | Phammerhandleweld.C0 = CFrame.new(0,0,3) * CFrame.Angles(math.rad(20),0,0) | |
| 451 | axehammer = Instance.new("SpecialMesh", Phammerhandle)
| |
| 452 | axehammer.MeshType = "FileMesh" | |
| 453 | axehammer.Scale = Vector3.new(.162, .23, .137) | |
| 454 | axehammer.MeshId,axehammer.TextureId = 'rbxassetid://2379879660','rbxassetid://2379879768' | |
| 455 | r = 0 | |
| 456 | e = 0 | |
| 457 | ||
| 458 | Phammerholder = Instance.new("Part",Phammerhandle)
| |
| 459 | Phammerholder.Size = Vector3.new(15,6,10) | |
| 460 | Phammerholder.Material = "Slate" | |
| 461 | Phammerholder.CanCollide = false | |
| 462 | Phammerholder.Transparency = 1 | |
| 463 | Phammerholder.BrickColor = BrickColor.new("Really black")
| |
| 464 | Phammerholderweld = weldBetween(Phammerholder,Phammerhandle) | |
| 465 | Phammerholderweld.C0 = CFrame.new(0,0,10) | |
| 466 | ||
| 467 | hitbox = Instance.new("Part",Phammerhandle)
| |
| 468 | hitbox.Size = Vector3.new(22,5,22) | |
| 469 | hitbox.CanCollide = false | |
| 470 | hitbox.Transparency = 1 | |
| 471 | hitboxweld = weldBetween(hitbox,Phammerholder) | |
| 472 | hitboxweld.C0 = CFrame.new(0,11,5) | |
| 473 | hitbox.CanCollide = false | |
| 474 | ||
| 475 | darkheartbeat = Instance.new("Sound",Torso)
| |
| 476 | darkheartbeat.Looped = true | |
| 477 | darkheartbeat.Volume = darkvolume | |
| 478 | darkheartbeat.Name = "darkness" | |
| 479 | darkheartbeat.SoundId = 'rbxassetid://2094108818' | |
| 480 | darkheartbeat:Play() | |
| 481 | ||
| 482 | coroutine.wrap(function() | |
| 483 | while wait() do | |
| 484 | hum.JumpPower = jp | |
| 485 | hum.WalkSpeed = ws | |
| 486 | LeftArm.BrickColor = BrickColor.new("Really black")
| |
| 487 | RightArm.BrickColor = BrickColor.new("Really black")
| |
| 488 | Head.BrickColor = BrickColor.new("Really black")
| |
| 489 | end | |
| 490 | end)() | |
| 491 | godmode = coroutine.wrap(function() | |
| 492 | for i,v in pairs(Character:GetChildren()) do | |
| 493 | if v:IsA("BasePart") and v ~= Root then
| |
| 494 | v.Anchored = false | |
| 495 | end | |
| 496 | end | |
| 497 | while true do | |
| 498 | hum.MaxHealth = math.huge | |
| 499 | wait(0.0000001) | |
| 500 | hum.Health = math.huge | |
| 501 | wait() | |
| 502 | end | |
| 503 | end) | |
| 504 | godmode() | |
| 505 | ff = Instance.new("ForceField", Character)
| |
| 506 | ff.Visible = true | |
| 507 | ||
| 508 | heavyslash = Instance.new("Sound",Phammerholder)
| |
| 509 | heavyslash.SoundId = "rbxassetid://2315879303" | |
| 510 | heavyslash.Name = "hevsls" | |
| 511 | heavyslash.Volume = 7 | |
| 512 | ||
| 513 | coroutine.wrap(function() | |
| 514 | for i,v in pairs(Character:GetChildren()) do | |
| 515 | if v.Name == "Animate" then v:Remove() | |
| 516 | end | |
| 517 | end | |
| 518 | end)() | |
| 519 | ||
| 520 | function damagealll(Radius,Position) | |
| 521 | local Returning = {}
| |
| 522 | for _,v in pairs(workspace:GetChildren()) do | |
| 523 | if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
| |
| 524 | if v:FindFirstChild("Torso") then
| |
| 525 | local Mag = (v.Torso.Position - Position).magnitude | |
| 526 | if Mag < Radius then | |
| 527 | table.insert(Returning,v) | |
| 528 | end | |
| 529 | elseif v:FindFirstChild("UpperTorso") then
| |
| 530 | local Mag = (v.UpperTorso.Position - Position).magnitude | |
| 531 | if Mag < Radius then | |
| 532 | table.insert(Returning,v) | |
| 533 | end | |
| 534 | end | |
| 535 | end | |
| 536 | end | |
| 537 | return Returning | |
| 538 | end | |
| 539 | ||
| 540 | doomtheme = Instance.new("Sound", Torso)
| |
| 541 | doomtheme.Volume = 5 | |
| 542 | doomtheme.Name = "doomtheme" | |
| 543 | doomtheme.Looped = true | |
| 544 | - | doomtheme.SoundId = "rbxassetid://"..id |
| 544 | + | |
| 545 | doomtheme:Play() | |
| 546 | ||
| 547 | heavyfootsteps = Instance.new("Sound",Torso)
| |
| 548 | heavyfootsteps.SoundId = "rbxassetid://1134050898" | |
| 549 | heavyfootsteps.Volume = 0 | |
| 550 | heavyfootsteps.Name = "hfs" | |
| 551 | heavyfootsteps.Pitch = .93 | |
| 552 | heavyfootsteps.Looped = true | |
| 553 | heavyfootsteps:Play() | |
| 554 | ||
| 555 | drag = Instance.new("Sound",Phammerholder)
| |
| 556 | drag.SoundId = "rbxassetid://2293193405" | |
| 557 | drag.Volume = 0 | |
| 558 | drag.Name = "drag" | |
| 559 | drag.Pitch = 1 | |
| 560 | drag.Looped = true | |
| 561 | drag:Play() | |
| 562 | ||
| 563 | drag2 = Instance.new("Sound",Phammerholder)
| |
| 564 | drag2.SoundId = "rbxassetid://2385312610" | |
| 565 | drag2.Volume = 0 | |
| 566 | drag2.Name = "drag2" | |
| 567 | drag2.Pitch = 1 | |
| 568 | drag2.Looped = true | |
| 569 | drag2:Play() | |
| 570 | ||
| 571 | twirlsound = Instance.new("Sound",Phammerhandle)
| |
| 572 | twirlsound.Volume = 10 | |
| 573 | twirlsound.Name = "twirlsound" | |
| 574 | twirlsound.SoundId = "rbxassetid://229409838" | |
| 575 | twirlsound.Looped = true | |
| 576 | twirlsound.Pitch = .7 | |
| 577 | phamsmash = Instance.new("Sound",Phammerholder)
| |
| 578 | phamsmash.SoundId = "rbxassetid://2315879496" | |
| 579 | phamsmash.Volume = 7 | |
| 580 | phamsmash.Name = "phamsmash" | |
| 581 | ||
| 582 | Torso.ChildRemoved:connect(function(removed) | |
| 583 | if removed.Name == "hfs" then | |
| 584 | heavyfootsteps = Instance.new("Sound",Torso)
| |
| 585 | heavyfootsteps.SoundId = "rbxassetid://1134050898" | |
| 586 | heavyfootsteps.Volume = 0 | |
| 587 | heavyfootsteps.Name = "hfs" | |
| 588 | heavyfootsteps.Pitch = .93 | |
| 589 | heavyfootsteps.Looped = true | |
| 590 | heavyfootsteps:Play() | |
| 591 | end | |
| 592 | end) | |
| 593 | ||
| 594 | Phammerholder.ChildRemoved:connect(function(removed) | |
| 595 | if removed.Name == "hevsls" then | |
| 596 | heavyslash = Instance.new("Sound",Phammerholder)
| |
| 597 | heavyslash.SoundId = "rbxassetid://2315879303" | |
| 598 | heavyslash.Name = "hevsls" | |
| 599 | heavyslash.Volume = 7 | |
| 600 | end | |
| 601 | end) | |
| 602 | ||
| 603 | Phammerholder.ChildRemoved:connect(function(removed) | |
| 604 | if removed.Name == "drag" then | |
| 605 | drag = Instance.new("Sound",Phammerholder)
| |
| 606 | drag.SoundId = "rbxassetid://2293193405" | |
| 607 | drag.Volume = 0 | |
| 608 | drag.Pitch = 1 | |
| 609 | drag.Looped = true | |
| 610 | drag:Play() | |
| 611 | end | |
| 612 | end) | |
| 613 | ||
| 614 | Phammerholder.ChildRemoved:connect(function(removed) | |
| 615 | if removed.Name == "drag2" then | |
| 616 | drag2 = Instance.new("Sound",Phammerholder)
| |
| 617 | drag2.SoundId = "rbxassetid://2385312610" | |
| 618 | drag2.Volume = 0 | |
| 619 | drag2.Name = "drag2" | |
| 620 | drag2.Pitch = 1 | |
| 621 | drag2.Looped = true | |
| 622 | drag2:Play() | |
| 623 | end | |
| 624 | end) | |
| 625 | ||
| 626 | Torso.ChildRemoved:connect(function(removed) | |
| 627 | if removed.Name == "twirlsound" then | |
| 628 | twirlsound = Instance.new("Sound",Phammerhandle)
| |
| 629 | twirlsound.Volume = 8 | |
| 630 | twirlsound.Name = "twirlsound" | |
| 631 | twirlsound.SoundId = "rbxassetid://229409838" | |
| 632 | twirlsound.Looped = true | |
| 633 | twirlsound.Pitch = .7 | |
| 634 | end | |
| 635 | end) | |
| 636 | ||
| 637 | Torso.ChildRemoved:connect(function(removed) | |
| 638 | if removed.Name == "darkness" then | |
| 639 | darkheartbeat = Instance.new("Sound",Torso)
| |
| 640 | darkheartbeat.Looped = true | |
| 641 | darkheartbeat.Name = "darkness" | |
| 642 | darkheartbeat.Volume = darkvolume | |
| 643 | darkheartbeat.SoundId = 'rbxassetid://2094108818' | |
| 644 | darkheartbeat:Play() | |
| 645 | end | |
| 646 | end) | |
| 647 | ||
| 648 | Phammerholder.ChildRemoved:connect(function(removed) | |
| 649 | if removed.Name == "phamsmash" then | |
| 650 | phamsmash = Instance.new("Sound",Phammerhandle)
| |
| 651 | phamsmash.SoundId = "rbxassetid://2315879496" | |
| 652 | phamsmash.Volume = 7 | |
| 653 | phamsmash.Name = "phamsmash" | |
| 654 | end | |
| 655 | end) | |
| 656 | ||
| 657 | Torso.ChildRemoved:connect(function(removed) | |
| 658 | if removed.Name == "doomtheme" then | |
| 659 | doomtheme = Instance.new("Sound", Torso)
| |
| 660 | doomtheme.Volume = 3 | |
| 661 | doomtheme.Name = "doomtheme" | |
| 662 | doomtheme.Looped = true | |
| 663 | doomtheme.SoundId = "rbxassetid://613035749" | |
| 664 | doomtheme:Play() | |
| 665 | end | |
| 666 | end) | |
| 667 | ||
| 668 | for _,n in pairs(Character:GetChildren()) do | |
| 669 | if n:IsA("Accessory") then n:Remove() end
| |
| 670 | end | |
| 671 | for _,x in pairs(Character:GetChildren()) do | |
| 672 | if x:IsA("Decal") then x:Remove() end
| |
| 673 | end | |
| 674 | ||
| 675 | function SOUND(PARENT,ID,VOL,LOOP,REMOVE) | |
| 676 | so = Instance.new("Sound")
| |
| 677 | so.Parent = PARENT | |
| 678 | so.SoundId = "rbxassetid://"..ID | |
| 679 | so.Volume = VOL | |
| 680 | so.Looped = LOOP | |
| 681 | so:Play() | |
| 682 | removeuseless:AddItem(so,REMOVE) | |
| 683 | end | |
| 684 | ||
| 685 | mouse.KeyDown:connect(function(Press) | |
| 686 | Press=Press:lower() | |
| 687 | if Press=='.' then | |
| 688 | hum.Parent:BreakJoints() | |
| 689 | end | |
| 690 | end) | |
| 691 | ||
| 692 | mouse.Button1Down:connect(function() | |
| 693 | if debounce then return end | |
| 694 | debounce = true | |
| 695 | attacking = true | |
| 696 | if combo2 then | |
| 697 | phamsmash:Play() | |
| 698 | heavyfootsteps.Volume = 0 | |
| 699 | drag.Volume = 0 | |
| 700 | drag2.Volume = 0 | |
| 701 | combo2 = false | |
| 702 | combo1 = true | |
| 703 | ws = 6 | |
| 704 | jp = 0 | |
| 705 | g1 = Instance.new("BodyGyro", Root)
| |
| 706 | g1.D = 175 | |
| 707 | g1.P = 20000 | |
| 708 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 709 | for i = 1, 20 do | |
| 710 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5,0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(-10)), 0.3) | |
| 711 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5,0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 712 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1) | |
| 713 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,.6) * CFrame.Angles(math.rad(-35),0,math.rad(35)),.3) | |
| 714 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.5,0) * CFrame.Angles(math.rad(0),math.rad(-35),math.rad(0)),.3) | |
| 715 | Phammerhandleweld.C1 = Phammerhandleweld.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(20),0,0),.3) | |
| 716 | Phammerhandleweld.C0 = Phammerhandleweld.C0:lerp(CFrame.new(-4.75,0,7) * CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)),.3) | |
| 717 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0,5,0) * CFrame.Angles(math.rad(180),math.rad(-3),math.rad(-2)), 0.4) | |
| 718 | swait() | |
| 719 | end | |
| 720 | ws = 0 | |
| 721 | smashdebounce = false | |
| 722 | removeuseless:AddItem(g1,.001) | |
| 723 | swoosh = Instance.new("Sound",Phammerholder)
| |
| 724 | swoosh.SoundId = "rbxassetid://1513044886" | |
| 725 | swoosh.Volume = 8 | |
| 726 | swoosh.Pitch = .85 | |
| 727 | removeuseless:AddItem(swoosh,4) | |
| 728 | swoosh:Play() | |
| 729 | pobrick = Instance.new("Part",Torso)
| |
| 730 | pobrick.CFrame = Root.CFrame * CFrame.new(0,-11,-16) | |
| 731 | pobrick.Anchored = true | |
| 732 | pobrick.Name = "pobrick" | |
| 733 | pobrick.Transparency = 1 | |
| 734 | removeuseless:AddItem(pobrick,5) | |
| 735 | shockwave = Instance.new("Part", Torso)
| |
| 736 | shockwave.Size = Vector3.new(1,1,1) | |
| 737 | shockwave.CanCollide = false | |
| 738 | shockwave.Anchored = true | |
| 739 | shockwave.Name = "shockwave" | |
| 740 | shockwave.Transparency = .75 | |
| 741 | shockwave.BrickColor = BrickColor.new("White")
| |
| 742 | shockwave.CFrame = CFrame.new(pobrick.Position) | |
| 743 | shockwavemesh = Instance.new("SpecialMesh", shockwave)
| |
| 744 | shockwavemesh.Scale = Vector3.new(6,3,6) | |
| 745 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
| 746 | shockwave2 = Instance.new("Part", Torso)
| |
| 747 | shockwave2.Size = Vector3.new(1,1,1) | |
| 748 | shockwave2.CanCollide = false | |
| 749 | shockwave2.Anchored = true | |
| 750 | shockwave2.Name = "shockwave2" | |
| 751 | shockwave2.Transparency = .75 | |
| 752 | shockwave2.BrickColor = BrickColor.new("White")
| |
| 753 | shockwave2.CFrame = CFrame.new(pobrick.Position) | |
| 754 | shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
| |
| 755 | shockwavemesh2.Scale = Vector3.new(4,3,4) | |
| 756 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
| 757 | SOUND(pobrick,168586621,8,false,5) | |
| 758 | Hit = damagealll(30,pobrick.Position) | |
| 759 | for _,v in pairs(Hit) do | |
| 760 | if darkmode then | |
| 761 | v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
| |
| 762 | else | |
| 763 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(34,53))
| |
| 764 | end | |
| 765 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 766 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 767 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 768 | vel.velocity = CFrame.new(pobrick.Position,torso.Position).lookVector*150 | |
| 769 | removeuseless:AddItem(vel,.1) | |
| 770 | end | |
| 771 | coroutine.wrap(function() | |
| 772 | for i = 1, 15 do | |
| 773 | hum.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
| 774 | swait() | |
| 775 | end | |
| 776 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 777 | end)() | |
| 778 | for i = 1, 50 do | |
| 779 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(3,.3,3) | |
| 780 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(1.5,.4,1.5) | |
| 781 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+18),0) | |
| 782 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0-19),0) | |
| 783 | shockwave.Transparency = shockwave.Transparency + 0.014 | |
| 784 | shockwave2.Transparency = shockwave2.Transparency + 0.0125 | |
| 785 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5,0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(-10)), 0.3) | |
| 786 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5,0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 787 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.8 - .2 * math.sin(sine/12), -.2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/12)), math.rad(15 - 5 * math.sin(sine/12))), 0.36) | |
| 788 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.5,0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.36) | |
| 789 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0,1,1) * CFrame.Angles(math.rad(-45),math.rad(-3),math.rad(-2)), 0.36) | |
| 790 | swait() | |
| 791 | end | |
| 792 | jp = 150 | |
| 793 | ws = 35 | |
| 794 | debounce = false | |
| 795 | attacking = false | |
| 796 | smashdebounce = true | |
| 797 | shockwave:Remove() | |
| 798 | shockwave2:Remove() | |
| 799 | elseif combo1 then | |
| 800 | heavyfootsteps.Volume = 0 | |
| 801 | drag.Volume = 0 | |
| 802 | drag2.Volume = 0 | |
| 803 | combo1 = false | |
| 804 | combo2 = true | |
| 805 | ws = 12 | |
| 806 | g1 = Instance.new("BodyGyro", Root)
| |
| 807 | g1.D = 175 | |
| 808 | g1.P = 20000 | |
| 809 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 810 | for i = 1, 15 do | |
| 811 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1) | |
| 812 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5,0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(-10)), 0.3) | |
| 813 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5,0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 814 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,-.2) * CFrame.Angles(math.rad(35),0,math.rad(35)),.3) | |
| 815 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.4,0) * CFrame.Angles(math.rad(0),math.rad(35),math.rad(0)),.3) | |
| 816 | Phammerhandleweld.C0 = Phammerhandleweld.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-0)),.3) | |
| 817 | Phammerhandleweld.C1 = Phammerhandleweld.C1:lerp(CFrame.new(-1,-10,0) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(-0)),.3) | |
| 818 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5, 1.5, 1.2) * CFrame.Angles(math.rad(-60), math.rad(-48), math.rad(0)), 0.3) | |
| 819 | swait() | |
| 820 | end | |
| 821 | hitdebounce = false | |
| 822 | Hit = damagealll(27,Phammerholder.Position) | |
| 823 | for _,v in pairs(Hit) do | |
| 824 | if darkmode then | |
| 825 | v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
| |
| 826 | else | |
| 827 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(43,59))
| |
| 828 | end | |
| 829 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 830 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 831 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 832 | heavyslash:Play() | |
| 833 | vel.velocity = CFrame.new(Phammerholder.Position,torso.Position).lookVector*125 | |
| 834 | removeuseless:AddItem(vel,.1) | |
| 835 | end | |
| 836 | hitbox.Touched:connect(function(hit) | |
| 837 | if hit.Parent:IsA("Part") then
| |
| 838 | elseif hit.Parent:IsA("SpecialMesh") then
| |
| 839 | elseif hit.Parent.Name == game.Players.LocalPlayer.Name then | |
| 840 | elseif hit.Parent:findFirstChildOfClass("Humanoid") and hit.Parent:findFirstChildOfClass("Humanoid").Health ~= 0 then
| |
| 841 | if hitdebounce then return end | |
| 842 | hitdebounce = true | |
| 843 | Slachtoffer = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 844 | vel = Instance.new("BodyVelocity",hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso"))
| |
| 845 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 846 | if Slachtoffer.RigType == Enum.HumanoidRigType.R15 then | |
| 847 | tors = hit.Parent:FindFirstChild("UpperTorso")
| |
| 848 | else | |
| 849 | tors = hit.Parent:FindFirstChild("Torso")
| |
| 850 | end | |
| 851 | SOUND(tors,541909913,10,false,2) | |
| 852 | coroutine.wrap(function() | |
| 853 | for i = 1, 5 do | |
| 854 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
| 855 | swait() | |
| 856 | end | |
| 857 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 858 | end)() | |
| 859 | vel.velocity = CFrame.new(Phammerholder.Position,tors.Position).lookVector*160 | |
| 860 | removeuseless:AddItem(vel,.1) | |
| 861 | if darkmode then | |
| 862 | Slachtoffer.Parent:BreakJoints() | |
| 863 | else | |
| 864 | Slachtoffer:TakeDamage(math.random(44,63)) | |
| 865 | end | |
| 866 | end | |
| 867 | end) | |
| 868 | SOUND(Phammerholder,1513044886,8,false,2) | |
| 869 | for i = 1, 20 do | |
| 870 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5,0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(-10)), 0.3) | |
| 871 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5,0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 872 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,.6) * CFrame.Angles(math.rad(-35),0,math.rad(35)),.3) | |
| 873 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.4,0) * CFrame.Angles(math.rad(0),math.rad(-35),math.rad(0)),.3) | |
| 874 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, 3.5, 2) * CFrame.Angles(math.rad(-120), math.rad(120), math.rad(0)), 0.3) | |
| 875 | swait() | |
| 876 | end | |
| 877 | removeuseless:AddItem(g1,.001) | |
| 878 | ws = 35 | |
| 879 | hitdebounce = true | |
| 880 | attacking = false | |
| 881 | debounce = false | |
| 882 | end | |
| 883 | end) | |
| 884 | ||
| 885 | mouse.KeyDown:connect(function(Press) | |
| 886 | Press=Press:lower() | |
| 887 | if Press=='y' then | |
| 888 | if debounce then return end | |
| 889 | heavyfootsteps.Volume = 0 | |
| 890 | drag.Volume = 0 | |
| 891 | drag2.Volume = 0 | |
| 892 | debounce = true | |
| 893 | attacking = true | |
| 894 | damagedebounce = false | |
| 895 | ws = 0 | |
| 896 | for i = 1, 15 do | |
| 897 | Phammerhandleweld.C1 = Phammerhandleweld.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) | |
| 898 | Phammerhandleweld.C0 = Phammerhandleweld.C0:lerp(CFrame.new(-4.5,0,1) * CFrame.Angles(math.rad(0),math.rad(-75),math.rad(90)),.3) | |
| 899 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, 0.7, 1 - .25 * math.sin(sine/12)) * CFrame.Angles(math.rad(-60 + 2 *math.sin(sine/12)), math.rad(48 + 2 * math.sin(sine/12)), math.rad(2 * math.sin(sine/12))), 0.5) | |
| 900 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,.6) * CFrame.Angles(math.rad(-35),0,math.rad(35)),.45) | |
| 901 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.45) | |
| 902 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(0, 0, 2) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.45) | |
| 903 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0, 0, -1.7) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.45) | |
| 904 | swait() | |
| 905 | end | |
| 906 | knockbackbox = Instance.new("Part",Root)
| |
| 907 | knockbackbox.Size = Vector3.new(1,1,1) | |
| 908 | knockbackbox.CanCollide = false | |
| 909 | knockbackbox.Transparency = 1 | |
| 910 | knockbackboxweld = weldBetween(knockbackbox,Root) | |
| 911 | knockbackboxweld.C0 = CFrame.new(2,5,5) | |
| 912 | Hit = damagealll(10,knockbackbox.Position) | |
| 913 | for _,v in pairs(Hit) do | |
| 914 | if darkmode then | |
| 915 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(99)
| |
| 916 | else | |
| 917 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(42,50))
| |
| 918 | end | |
| 919 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 920 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 921 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 922 | hitsound = Instance.new("Sound", torso)
| |
| 923 | hitsound.SoundId = "rbxassetid://212197666" | |
| 924 | hitsound.Volume = 10 | |
| 925 | hitsound:Play() | |
| 926 | coroutine.wrap(function() | |
| 927 | for i = 1, 15 do | |
| 928 | hum.CameraOffset = Vector3.new(math.random(-3,3),math.random(-3,3),math.random(-3,3)) | |
| 929 | swait() | |
| 930 | end | |
| 931 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 932 | end)() | |
| 933 | SOUND(LeftLeg,2053414752,10,false,4) | |
| 934 | removeuseless:AddItem(hitsound,3) | |
| 935 | if darkmode then | |
| 936 | vel.velocity = CFrame.new(LeftLeg.Position,torso.Position).lookVector*1000 | |
| 937 | else | |
| 938 | vel.velocity = CFrame.new(LeftLeg.Position,torso.Position).lookVector*300 | |
| 939 | end | |
| 940 | removeuseless:AddItem(vel,.1) | |
| 941 | end | |
| 942 | for i = 1, 30 do | |
| 943 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.2,.7,-1.3) * CFrame.Angles(math.rad(50),math.rad(10),math.rad(0)),.5) | |
| 944 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.5) | |
| 945 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(0, 0, -4) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)), 0.5) | |
| 946 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0, -.5, 2.5) * CFrame.Angles(math.rad(-35), math.rad(0), math.rad(0)), 0.5) | |
| 947 | swait() | |
| 948 | end | |
| 949 | ws = 35 | |
| 950 | knockbackbox:Remove() | |
| 951 | damagedebounce = true | |
| 952 | attacking = false | |
| 953 | debounce = false | |
| 954 | end | |
| 955 | end) | |
| 956 | ||
| 957 | mouse.KeyDown:connect(function(Press) | |
| 958 | Press=Press:lower() | |
| 959 | if Press=='t' then | |
| 960 | if debounce then return end | |
| 961 | heavyfootsteps.Volume = 0 | |
| 962 | drag.Volume = 0 | |
| 963 | drag2.Volume = 0 | |
| 964 | debounce = true | |
| 965 | attacking = true | |
| 966 | ws = 0 | |
| 967 | SOUND(Head,246480487,10,false,10) | |
| 968 | for i = 1, 30 do | |
| 969 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.4,0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),.5) | |
| 970 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,3,1.5) * CFrame.Angles(math.rad(-90),math.rad(25),math.rad(0)), 0.5) | |
| 971 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0,3,1.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5) | |
| 972 | swait() | |
| 973 | end | |
| 974 | for i = 1, 10 do | |
| 975 | Hit = damagealll(60,Torso.Position) | |
| 976 | for _,v in pairs(Hit) do | |
| 977 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(1)
| |
| 978 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 979 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 980 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 981 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*100 | |
| 982 | removeuseless:AddItem(vel,.1) | |
| 983 | end | |
| 984 | Phammerhandleweld.C0 = Phammerhandleweld.C0:lerp(CFrame.new(-3.8,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
| 985 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
| 986 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.75,0) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0)),.5) | |
| 987 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 2, .5) * CFrame.Angles(math.rad(14), math.rad(-20), math.rad(90)), 0.5) | |
| 988 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 2, .5) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.5) | |
| 989 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.5, .3, -1.8) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-10)), 0.5) | |
| 990 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.5, .3, -1.8) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(10)), 0.5) | |
| 991 | swait() | |
| 992 | end | |
| 993 | for i = 1, 150 do | |
| 994 | if darkmode then | |
| 995 | Hit = damagealll(999999999999,Torso.Position) | |
| 996 | else | |
| 997 | Hit = damagealll(60,Torso.Position) | |
| 998 | end | |
| 999 | for _,v in pairs(Hit) do | |
| 1000 | if darkmode then | |
| 1001 | v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
| |
| 1002 | else | |
| 1003 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(1)
| |
| 1004 | end | |
| 1005 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 1006 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 1007 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 1008 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*100 | |
| 1009 | removeuseless:AddItem(vel,.1) | |
| 1010 | end | |
| 1011 | hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
| 1012 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-1,0) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0)),.01) | |
| 1013 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 2, .5) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(90)), 0.01) | |
| 1014 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 2, .5) * CFrame.Angles(math.rad(40), math.rad(20), math.rad(-90)), 0.01) | |
| 1015 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.5, .3, -1.8) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-10)), 0.01) | |
| 1016 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.5, .3, -1.8) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(10)), 0.01) | |
| 1017 | swait() | |
| 1018 | end | |
| 1019 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 1020 | ws = 35 | |
| 1021 | attacking = false | |
| 1022 | debounce = false | |
| 1023 | end | |
| 1024 | end) | |
| 1025 | ||
| 1026 | mouse.KeyDown:connect(function(Press) | |
| 1027 | Press=Press:lower() | |
| 1028 | if Press=='r' then | |
| 1029 | if debounce then return end | |
| 1030 | heavyfootsteps.Volume = 0 | |
| 1031 | drag.Volume = 0 | |
| 1032 | drag2.Volume = 0 | |
| 1033 | debounce = true | |
| 1034 | attacking = true | |
| 1035 | ws = 0 | |
| 1036 | g1 = Instance.new("BodyGyro", Root)
| |
| 1037 | g1.D = 175 | |
| 1038 | g1.P = 20000 | |
| 1039 | g1.MaxTorque = Vector3.new(0,9000,0) | |
| 1040 | for i = 1, 35 do | |
| 1041 | swait() | |
| 1042 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 0 - .0 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(-10)), 0.3) | |
| 1043 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 0 - .0 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 1044 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1) | |
| 1045 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.4,0) * CFrame.Angles(math.rad(0),math.rad(-60),0),.25) | |
| 1046 | Phammerhandleweld.C1 = Phammerhandleweld.C1:lerp(CFrame.new(0,-2,-.5) * CFrame.Angles(math.rad(0),0,0),.25) | |
| 1047 | Phammerhandleweld.C0 = Phammerhandleweld.C0:lerp(CFrame.new(-4,0,4) * CFrame.Angles(math.rad(90),math.rad(180),math.rad(-50)),.25) | |
| 1048 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,5,1.4) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0)), 0.25) | |
| 1049 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0,2,1.4) * CFrame.Angles(math.rad(-90), math.rad(45), math.rad(0)), 0.25) | |
| 1050 | end | |
| 1051 | removeuseless:AddItem(g1,.01) | |
| 1052 | for i = 1, 6 do | |
| 1053 | swait() | |
| 1054 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.4,0) * CFrame.Angles(math.rad(0),math.rad(-0),0),.25) | |
| 1055 | Phammerhandleweld.C1 = Phammerhandleweld.C1:lerp(CFrame.new(0,-2,-.5) * CFrame.Angles(math.rad(0),0,0),.25) | |
| 1056 | Phammerhandleweld.C0 = Phammerhandleweld.C0:lerp(CFrame.new(-4,0,4) * CFrame.Angles(math.rad(90),math.rad(180),math.rad(-50)),.25) | |
| 1057 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,1.1,.7) * CFrame.Angles(math.rad(-60), math.rad(-25), math.rad(0)), 0.35) | |
| 1058 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0,2,1.4) * CFrame.Angles(math.rad(-73), math.rad(42), math.rad(0)), 0.35) | |
| 1059 | end | |
| 1060 | phammerthrow = true | |
| 1061 | twirlsound:Play() | |
| 1062 | SOUND(Phammerhandle,608600954,10,false,5) | |
| 1063 | coroutine.wrap(function() | |
| 1064 | repeat | |
| 1065 | wait(.1) | |
| 1066 | Hit = damagealll(30,Phammerhandle.Position) | |
| 1067 | for _,v in pairs(Hit) do | |
| 1068 | if darkmode then | |
| 1069 | v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
| |
| 1070 | else | |
| 1071 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(38,52))
| |
| 1072 | end | |
| 1073 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 1074 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 1075 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 1076 | vel.velocity = CFrame.new(Phammerhandle.Position,torso.Position).lookVector*100 | |
| 1077 | removeuseless:AddItem(vel,.1) | |
| 1078 | end | |
| 1079 | until phammerthrow == false | |
| 1080 | end)() | |
| 1081 | l = -3 | |
| 1082 | k = 0 | |
| 1083 | Phammerhandleweld.Part1 = Root | |
| 1084 | for i = 1, 35 do | |
| 1085 | k = k + 15 | |
| 1086 | l = l - 6 | |
| 1087 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.4,0) * CFrame.Angles(math.rad(0),math.rad(20),0),.1) | |
| 1088 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,1.4,1.1) * CFrame.Angles(math.rad(-72), math.rad(-30), math.rad(0)), 0.05) | |
| 1089 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0,2,1.4) * CFrame.Angles(math.rad(-62), math.rad(42), math.rad(0)), 0.05) | |
| 1090 | Phammerhandleweld.C1 = Phammerhandleweld.C1:lerp(CFrame.new(0,0,l) * CFrame.Angles(0,math.rad(0),math.rad(0)),.3) | |
| 1091 | Phammerhandleweld.C0 = Phammerhandleweld.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(k),math.rad(0)),.3) | |
| 1092 | swait() | |
| 1093 | end | |
| 1094 | for i = 1, 35 do | |
| 1095 | k = k + 11 | |
| 1096 | l = l + 6 | |
| 1097 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.4,0) * CFrame.Angles(math.rad(0),math.rad(20),0),.1) | |
| 1098 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,1.4,1.1) * CFrame.Angles(math.rad(-72), math.rad(-30), math.rad(0)), 0.05) | |
| 1099 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0,2,1.4) * CFrame.Angles(math.rad(-62), math.rad(42), math.rad(0)), 0.05) | |
| 1100 | Phammerhandleweld.C1 = Phammerhandleweld.C1:lerp(CFrame.new(0,0,l) * CFrame.Angles(math.rad(0),math.rad(0),0),.3) | |
| 1101 | Phammerhandleweld.C0 = Phammerhandleweld.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(k),math.rad(0)),.3) | |
| 1102 | swait() | |
| 1103 | end | |
| 1104 | phammerthrow = false | |
| 1105 | twirlsound:Stop() | |
| 1106 | Phammerhandleweld.Part1 = RightArm | |
| 1107 | ws = 35 | |
| 1108 | pickdebounce = true | |
| 1109 | attacking = false | |
| 1110 | hitdebounce = true | |
| 1111 | debounce = false | |
| 1112 | end | |
| 1113 | end) | |
| 1114 | ||
| 1115 | mouse.KeyDown:connect(function(Press) | |
| 1116 | Press=Press:lower() | |
| 1117 | if Press=='f' then | |
| 1118 | if debounce then return end | |
| 1119 | heavyfootsteps.Volume = 0 | |
| 1120 | drag.Volume = 0 | |
| 1121 | drag2.Volume = 0 | |
| 1122 | if darkmode then | |
| 1123 | debounce = true | |
| 1124 | tweentable = {}
| |
| 1125 | tweentable.Color = BrickColor.new("White").Color
| |
| 1126 | for i,v in pairs(Head:GetChildren()) do | |
| 1127 | if v.Name == "lightpart" then | |
| 1128 | tweenn = tween:Create(v, TweenInfo.new(3),tweentable) | |
| 1129 | tweenn:Play() | |
| 1130 | end | |
| 1131 | end | |
| 1132 | for i,v in pairs(Head:GetChildren()) do | |
| 1133 | if v.Name == "lightpart2" then | |
| 1134 | tweenn = tween:Create(v, TweenInfo.new(3),tweentable) | |
| 1135 | tweenn:Play() | |
| 1136 | end | |
| 1137 | end | |
| 1138 | for i,v in pairs(Head:GetChildren()) do | |
| 1139 | if v.Name == "lightpart3" then | |
| 1140 | tweenn = tween:Create(v, TweenInfo.new(3),tweentable) | |
| 1141 | tweenn:Play() | |
| 1142 | end | |
| 1143 | end | |
| 1144 | for i = 1, 50 do | |
| 1145 | darkvolume = darkvolume - 0.2 | |
| 1146 | darkheartbeat.Volume = darkvolume | |
| 1147 | leftblockarm.Transparency = leftblockarm.Transparency + .011 | |
| 1148 | rightblockarm.Transparency = rightblockarm.Transparency + .011 | |
| 1149 | torsoblock.Transparency = torsoblock.Transparency + .011 | |
| 1150 | leftlegg.Transparency = leftlegg.Transparency + .011 | |
| 1151 | rightlegg.Transparency = rightlegg.Transparency + .011 | |
| 1152 | swait() | |
| 1153 | end | |
| 1154 | darkvolume = 0 | |
| 1155 | debounce = false | |
| 1156 | darkmode = false | |
| 1157 | else | |
| 1158 | debounce = true | |
| 1159 | attacking = true | |
| 1160 | darkmode = true | |
| 1161 | ws = 0 | |
| 1162 | jp = 0 | |
| 1163 | HEADLERP.Part1 = Torso | |
| 1164 | horn = Instance.new("Part",Torso)
| |
| 1165 | horn.Size = Vector3.new(1,1,1) | |
| 1166 | horn.CanCollide = false | |
| 1167 | horn.BrickColor = BrickColor.new("Really black")
| |
| 1168 | hornweld = weldBetween(horn,LeftArm) | |
| 1169 | hornweld.C0 = hornweld.C0 * CFrame.Angles(math.rad(90),math.rad(20),math.rad(45)) | |
| 1170 | hornweld.C1 = CFrame.new(.25,-6,0) | |
| 1171 | fuckhorn = Instance.new("SpecialMesh", horn)
| |
| 1172 | fuckhorn.MeshType = "FileMesh" | |
| 1173 | fuckhorn.Scale = Vector3.new(12, 12, 12) | |
| 1174 | fuckhorn.MeshId = 'rbxassetid://114019861' | |
| 1175 | fuckhorn.TextureId = 'rbxassetid://114019769' | |
| 1176 | SOUND(horn,147703453,10,false,10) | |
| 1177 | coroutine.wrap(function() | |
| 1178 | for i = 1, 30 do | |
| 1179 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.6,0) * CFrame.Angles(math.rad(10),0,0),.5) | |
| 1180 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,3,1.5) * CFrame.Angles(math.rad(-105),math.rad(25),math.rad(0)), 0.5) | |
| 1181 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.5, 0, -.5) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(10)), 0.5) | |
| 1182 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.5, 0, -.5) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-10)), 0.5) | |
| 1183 | swait() | |
| 1184 | end | |
| 1185 | end)() | |
| 1186 | tweentable = {}
| |
| 1187 | tweentable.Color = BrickColor.new("Really red").Color
| |
| 1188 | for i,v in pairs(Head:GetChildren()) do | |
| 1189 | if v.Name == "lightpart" then | |
| 1190 | tweenn = tween:Create(v, TweenInfo.new(15),tweentable) | |
| 1191 | tweenn:Play() | |
| 1192 | end | |
| 1193 | end | |
| 1194 | for i,v in pairs(Head:GetChildren()) do | |
| 1195 | if v.Name == "lightpart2" then | |
| 1196 | tweenn = tween:Create(v, TweenInfo.new(15),tweentable) | |
| 1197 | tweenn:Play() | |
| 1198 | end | |
| 1199 | end | |
| 1200 | for i,v in pairs(Head:GetChildren()) do | |
| 1201 | if v.Name == "lightpart3" then | |
| 1202 | tweenn = tween:Create(v, TweenInfo.new(15),tweentable) | |
| 1203 | tweenn:Play() | |
| 1204 | end | |
| 1205 | end | |
| 1206 | for i = 1, 500 do | |
| 1207 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, 0.7, 1 - .25 * math.sin(sine/12)) * CFrame.Angles(math.rad(-60 + 2 *math.sin(sine/12)), math.rad(48 + 2 * math.sin(sine/12)), math.rad(2 * math.sin(sine/12))), 0.5) | |
| 1208 | hum.CameraOffset = Vector3.new(math.random(-.6,.6),math.random(-.6,.6),math.random(-.6,.6)) | |
| 1209 | darkvolume = darkvolume + 0.015 | |
| 1210 | darkheartbeat.Volume = darkvolume | |
| 1211 | leftblockarm.Transparency = leftblockarm.Transparency - .0011 | |
| 1212 | rightblockarm.Transparency = rightblockarm.Transparency - .0011 | |
| 1213 | torsoblock.Transparency = torsoblock.Transparency - .0011 | |
| 1214 | leftlegg.Transparency = leftlegg.Transparency - .0011 | |
| 1215 | rightlegg.Transparency = rightlegg.Transparency - .0011 | |
| 1216 | swait() | |
| 1217 | end | |
| 1218 | ws = 35 | |
| 1219 | jp = 150 | |
| 1220 | HEADLERP.Part1 = Head | |
| 1221 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 1222 | attacking = false | |
| 1223 | debounce = false | |
| 1224 | horn:Remove() | |
| 1225 | end | |
| 1226 | end | |
| 1227 | end) | |
| 1228 | ||
| 1229 | ||
| 1230 | coroutine.wrap(function() | |
| 1231 | while true do | |
| 1232 | if darkmode then | |
| 1233 | darkheartbeat.Volume = darkvolume | |
| 1234 | end | |
| 1235 | swait() | |
| 1236 | end | |
| 1237 | end)() | |
| 1238 | ||
| 1239 | function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 1240 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 1241 | end | |
| 1242 | ||
| 1243 | function ray2(StartPos, EndPos, Distance, Ignore) | |
| 1244 | local DIRECTION = CFrame.new(StartPos,EndPos).lookVector | |
| 1245 | return ray(StartPos, DIRECTION, Distance, Ignore) | |
| 1246 | end | |
| 1247 | ||
| 1248 | checks1 = coroutine.wrap(function() -------Checks | |
| 1249 | while true do | |
| 1250 | hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,-1,0))).lookVector,4*4,Character) | |
| 1251 | if Root.Velocity.y > 1 and hf == nil then | |
| 1252 | position = "Jump" | |
| 1253 | elseif Root.Velocity.y < -1 and hf == nil then | |
| 1254 | position = "Falling" | |
| 1255 | elseif Root.Velocity.Magnitude < 10 and hf ~= nil then | |
| 1256 | position = "Idle" | |
| 1257 | elseif Root.Velocity.Magnitude > 10 and hf ~= nil then | |
| 1258 | position = "Walking" | |
| 1259 | end | |
| 1260 | swait() | |
| 1261 | end | |
| 1262 | end) | |
| 1263 | checks1() | |
| 1264 | ||
| 1265 | OrgnC0 = Neck.C0 * CFrame.new(0,0,4.5) | |
| 1266 | local movelimbs = coroutine.wrap(function() | |
| 1267 | while RunSrv.RenderStepped:wait() do | |
| 1268 | TrsoLV = Torso.CFrame.lookVector | |
| 1269 | Dist = nil | |
| 1270 | Diff = nil | |
| 1271 | if not MseGuide then | |
| 1272 | print("Failed to recognize")
| |
| 1273 | else | |
| 1274 | local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
| 1275 | Dist = (Head.CFrame.p-Point).magnitude | |
| 1276 | Diff = Head.CFrame.Y-Point.Y | |
| 1277 | HEADLERP.C0 = CFrame.new(0, -6, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1278 | Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*.5), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1.5), .1) | |
| 1279 | end | |
| 1280 | end | |
| 1281 | end) | |
| 1282 | movelimbs() | |
| 1283 | immortal = {}
| |
| 1284 | for i,v in pairs(Character:GetDescendants()) do | |
| 1285 | if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
| |
| 1286 | 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 | |
| 1287 | v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 1288 | end | |
| 1289 | table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
| |
| 1290 | elseif v:IsA("JointInstance") then
| |
| 1291 | table.insert(immortal,{v,v.Parent,nil,nil,nil})
| |
| 1292 | end | |
| 1293 | end | |
| 1294 | for e = 1, #immortal do | |
| 1295 | if immortal[e] ~= nil then | |
| 1296 | local STUFF = immortal[e] | |
| 1297 | local PART = STUFF[1] | |
| 1298 | local PARENT = STUFF[2] | |
| 1299 | local MATERIAL = STUFF[3] | |
| 1300 | local COLOR = STUFF[4] | |
| 1301 | local TRANSPARENCY = STUFF[5] | |
| 1302 | if levitate then | |
| 1303 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
| 1304 | PART.Material = MATERIAL | |
| 1305 | PART.Color = COLOR | |
| 1306 | PART.Transparency = TRANSPARENCY | |
| 1307 | end | |
| 1308 | PART.AncestryChanged:connect(function() | |
| 1309 | PART.Parent = PARENT | |
| 1310 | end) | |
| 1311 | else | |
| 1312 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
| 1313 | PART.Material = MATERIAL | |
| 1314 | PART.Color = COLOR | |
| 1315 | PART.Transparency = TRANSPARENCY | |
| 1316 | end | |
| 1317 | PART.AncestryChanged:connect(function() | |
| 1318 | PART.Parent = PARENT | |
| 1319 | end) | |
| 1320 | end | |
| 1321 | end | |
| 1322 | end | |
| 1323 | function immortality() | |
| 1324 | for e = 1, #immortal do | |
| 1325 | if immortal[e] ~= nil then | |
| 1326 | local STUFF = immortal[e] | |
| 1327 | local PART = STUFF[1] | |
| 1328 | local PARENT = STUFF[2] | |
| 1329 | local MATERIAL = STUFF[3] | |
| 1330 | local COLOR = STUFF[4] | |
| 1331 | local TRANSPARENCY = STUFF[5] | |
| 1332 | if PART.ClassName == "Part" and PART == Root then | |
| 1333 | PART.Material = MATERIAL | |
| 1334 | PART.Color = COLOR | |
| 1335 | PART.Transparency = TRANSPARENCY | |
| 1336 | end | |
| 1337 | if PART.Parent ~= PARENT then | |
| 1338 | hum:Remove() | |
| 1339 | PART.Parent = PARENT | |
| 1340 | hum = Instance.new("Humanoid",Character)
| |
| 1341 | if levitate then | |
| 1342 | eyo1:Remove() | |
| 1343 | eyo2:Remove() | |
| 1344 | end | |
| 1345 | hum.Name = "noneofurbusiness" | |
| 1346 | end | |
| 1347 | end | |
| 1348 | end | |
| 1349 | end | |
| 1350 | coroutine.wrap(function() | |
| 1351 | while true do | |
| 1352 | if hum.Health < .1 then | |
| 1353 | immortality() | |
| 1354 | end | |
| 1355 | wait() | |
| 1356 | end | |
| 1357 | end)() | |
| 1358 | ||
| 1359 | ||
| 1360 | local anims = coroutine.wrap(function() | |
| 1361 | while true do | |
| 1362 | settime = 0.05 | |
| 1363 | sine = sine + change | |
| 1364 | if position == "Jump" and attacking == false then | |
| 1365 | change = 1 | |
| 1366 | ws = 60 | |
| 1367 | heavyfootsteps.Volume = 0 | |
| 1368 | drag.Volume = 0 | |
| 1369 | drag2.Volume = 0 | |
| 1370 | Phammerhandleweld.C1 = Phammerhandleweld.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) | |
| 1371 | Phammerhandleweld.C0 = Phammerhandleweld.C0:lerp(CFrame.new(-4.5,0,1) * CFrame.Angles(math.rad(0),math.rad(-75),math.rad(90)),.3) | |
| 1372 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0),.3) | |
| 1373 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
| 1374 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.3) | |
| 1375 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, 0.7, 1) * CFrame.Angles(math.rad(-60), math.rad(48), math.rad(0)), 0.5) | |
| 1376 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.3) | |
| 1377 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0, -1, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1378 | elseif position == "Falling" and attacking == false then | |
| 1379 | change = 1 | |
| 1380 | heavyfootsteps.Volume = 0 | |
| 1381 | drag.Volume = 0 | |
| 1382 | drag2.Volume = 0 | |
| 1383 | Phammerhandleweld.C1 = Phammerhandleweld.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) | |
| 1384 | Phammerhandleweld.C0 = Phammerhandleweld.C0:lerp(CFrame.new(-4.5,0,1) * CFrame.Angles(math.rad(0),math.rad(-75),math.rad(90)),.3) | |
| 1385 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0),.3) | |
| 1386 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
| 1387 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.3) | |
| 1388 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0, 0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.3) | |
| 1389 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), 0.3) | |
| 1390 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, 0.7, 1) * CFrame.Angles(math.rad(-60), math.rad(48), math.rad(0)), 0.5) | |
| 1391 | elseif position == "Walking" and attacking == false then | |
| 1392 | change = .6 | |
| 1393 | ws = 24 | |
| 1394 | heavyfootsteps.Volume = 6 | |
| 1395 | drag.Volume = 8 | |
| 1396 | drag2.Volume = 9 | |
| 1397 | Phammerhandleweld.C1 = Phammerhandleweld.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) | |
| 1398 | Phammerhandleweld.C0 = Phammerhandleweld.C0:lerp(CFrame.new(-2,-2,13) * CFrame.Angles(math.rad(103),math.rad(-12),0),.3) | |
| 1399 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.8,0,1*math.sin(sine/6)) * CFrame.Angles(math.rad(-20*math.sin(sine/6)),math.rad(10*math.sin(sine/6)),math.rad(10)),.3) | |
| 1400 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, 1.2, -1.15) * CFrame.Angles(math.rad(60), math.rad(8 + 7 * math.sin(sine/6)), math.rad(0)), 0.5) | |
| 1401 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0),.3) | |
| 1402 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.4 - .05 * math.sin(sine/4), 0) * CFrame.Angles(math.rad(0),math.rad(8 * math.sin(sine/6)),math.rad(0) + Root.RotVelocity.Y / 45, math.sin(20 * math.sin(sine/6))), 0.3) | |
| 1403 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(0, 0 - 0.35 * math.cos(sine/6)/2.8, -.4+ 2* math.sin(sine/6)) * CFrame.Angles(math.rad(10) + -math.sin(sine/6)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(25 * math.cos(sine/6))), 0.3) | |
| 1404 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0, 0 + 0.35 * math.cos(sine/8)/2.8, -.4 - 2 * math.sin(sine/6)) * CFrame.Angles(math.rad(10) - -math.sin(sine/6)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(25 * math.cos(sine/6))), 0.3) | |
| 1405 | elseif position == "Idle" and attacking == false then | |
| 1406 | change = .5 | |
| 1407 | heavyfootsteps.Volume = 0 | |
| 1408 | drag.Volume = 0 | |
| 1409 | drag2.Volume = 0 | |
| 1410 | Phammerhandleweld.C1 = Phammerhandleweld.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3) | |
| 1411 | Phammerhandleweld.C0 = Phammerhandleweld.C0:lerp(CFrame.new(-4.5,0,1) * CFrame.Angles(math.rad(0),math.rad(-75),math.rad(90)),.3) | |
| 1412 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.4 + -.125 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3) | |
| 1413 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0),.3) | |
| 1414 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.8 - .2 * math.sin(sine/12), -.2 - .0 * math.sin(sine/12), .2 * -math.sin(sine/12)) * CFrame.Angles(math.rad(2 + 4 * math.sin(sine/12)), math.rad(0 + 3 * math.sin(sine/12)), math.rad(15 - 5 * math.sin(sine/12))), 0.3) | |
| 1415 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, 0.7, 1 - .25 * math.sin(sine/12)) * CFrame.Angles(math.rad(-60 + 2 *math.sin(sine/12)), math.rad(48 + 2 * math.sin(sine/12)), math.rad(2 * math.sin(sine/12))), 0.5) | |
| 1416 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 0 - .125 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(-10)), 0.3) | |
| 1417 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 0 - .125 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 1418 | end | |
| 1419 | swait() | |
| 1420 | end | |
| 1421 | end) | |
| 1422 | anims() | |
| 1423 | warn("Shred through everything that stands in your way. Made by Supr14") |