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