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