SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,game,owner = owner,game | |
3 | local RealPlayer = Player | |
4 | do | |
5 | print("FE Compatibility code by Mokiros") | |
6 | local rp = RealPlayer | |
7 | script.Parent = rp.Character | |
8 | ||
9 | --RemoteEvent for communicating | |
10 | local Event = Instance.new("RemoteEvent") | |
11 | Event.Name = "UserInput_Event" | |
12 | ||
13 | --Fake event to make stuff like Mouse.KeyDown work | |
14 | local function fakeEvent() | |
15 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
16 | t.connect = t.Connect | |
17 | return t | |
18 | end | |
19 | ||
20 | --Creating fake input objects with fake variables | |
21 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
22 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
23 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
24 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
25 | end} | |
26 | --Merged 2 functions into one by checking amount of arguments | |
27 | CAS.UnbindAction = CAS.BindAction | |
28 | ||
29 | --This function will trigger the events that have been :Connect()'ed | |
30 | local function te(self,ev,...) | |
31 | local t = m[ev] | |
32 | if t and t._fakeEvent then | |
33 | for _,f in pairs(t.Functions) do | |
34 | f(...) | |
35 | end | |
36 | end | |
37 | end | |
38 | m.TrigEvent = te | |
39 | UIS.TrigEvent = te | |
40 | ||
41 | Event.OnServerEvent:Connect(function(plr,io) | |
42 | if plr~=rp then return end | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | if not io.isMouse then | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local Mouse = Player:GetMouse() | |
66 | local UIS = game:GetService("UserInputService") | |
67 | local input = function(io,a) | |
68 | if a then return end | |
69 | --Since InputObject is a client-side instance, we create and pass table instead | |
70 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
71 | end | |
72 | UIS.InputBegan:Connect(input) | |
73 | UIS.InputEnded:Connect(input) | |
74 | ||
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | ||
85 | ----Sandboxed game object that allows the usage of client-side methods and services | |
86 | --Real game object | |
87 | local _rg = game | |
88 | ||
89 | --Metatable for fake service | |
90 | local fsmt = { | |
91 | __index = function(self,k) | |
92 | local s = rawget(self,"_RealService") | |
93 | if s then return s[k] end | |
94 | end, | |
95 | __newindex = function(self,k,v) | |
96 | local s = rawget(self,"_RealService") | |
97 | if s then s[k]=v end | |
98 | end, | |
99 | __call = function(self,...) | |
100 | local s = rawget(self,"_RealService") | |
101 | if s then return s(...) end | |
102 | end | |
103 | } | |
104 | local function FakeService(t,RealService) | |
105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
106 | return setmetatable(t,fsmt) | |
107 | end | |
108 | ||
109 | --Fake game object | |
110 | local g = { | |
111 | GetService = function(self,s) | |
112 | return self[s] | |
113 | end, | |
114 | Players = FakeService({ | |
115 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
116 | },"Players"), | |
117 | UserInputService = FakeService(UIS,"UserInputService"), | |
118 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
119 | } | |
120 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
121 | g.service = g.GetService | |
122 | ||
123 | g.RunService = FakeService({ | |
124 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
125 | BindToRenderStep = function(self,name,_,fun) | |
126 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
127 | end, | |
128 | UnbindFromRenderStep = function(self,name) | |
129 | self._btrs[name]:Disconnect() | |
130 | end, | |
131 | },"RunService") | |
132 | ||
133 | setmetatable(g,{ | |
134 | __index=function(self,s) | |
135 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
136 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
137 | end, | |
138 | __newindex = fsmt.__newindex, | |
139 | __call = fsmt.__call | |
140 | }) | |
141 | --Changing owner to fake player object to support owner:GetMouse() | |
142 | game,owner = g,g.Players.LocalPlayer | |
143 | end | |
144 | ||
145 | --//=================================\\ | |
146 | --|| SOME TAG EDIT | |
147 | --\\=================================// | |
148 | ||
149 | Player = owner | |
150 | Character = Player.Character | |
151 | local txt = Instance.new("BillboardGui", Character) | |
152 | txt.Adornee = Character.Head | |
153 | txt.Name = "_status" | |
154 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
155 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
156 | local text = Instance.new("TextLabel", txt) | |
157 | text.Size = UDim2.new(10, 0, 7, 0) | |
158 | text.FontSize = "Size24" | |
159 | text.TextScaled = true | |
160 | text.TextTransparency = 0 | |
161 | text.BackgroundTransparency = 1 | |
162 | text.TextTransparency = 0 | |
163 | text.TextStrokeTransparency = 0 | |
164 | text.Font = "Antique" | |
165 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
166 | text.Text = "Reflux" | |
167 | ||
168 | --//=================================\\ | |
169 | --\\=================================// | |
170 | -----------//REFLUX\\----------- | |
171 | --[[Movelist | |
172 | mouseclick = 3 combo attacks | |
173 | K = Kick | |
174 | P = Upwards slash | |
175 | J = Jump boost | |
176 | N = Scythe swing | |
177 | U = Scythe whirlwind | |
178 | G = Scythe combo | |
179 | E = Sword Buster | |
180 | H = Knife throw | |
181 | R = Forward dash/slash | |
182 | Y = Omega blaster | |
183 | T = Taunt | |
184 | F = Transform | |
185 | Q = ??? | |
186 | ---------]] | |
187 | ||
188 | --SB is getting boring lately, no new scripts, people still using overpowered scripts etc etc-- | |
189 | --Seen too many people running around with the old one or crappy edited ones(A.K.A dark eccentrics edit), blame Dark eccentric-- | |
190 | --Just a lil' secret for anyone that reads this. my next project is gonna be called "Blackburn" OR "Influx" ORR "Card Master"-- | |
191 | --Fuck the jade key.-- | |
192 | --Enjoy.-- | |
193 | ||
194 | Player=game:GetService("Players").LocalPlayer | |
195 | Character=Player.Character | |
196 | Character.Humanoid.Name = "noneofurbusiness" | |
197 | hum = Character.noneofurbusiness | |
198 | LeftArm=Character["Left Arm"] | |
199 | LeftLeg=Character["Left Leg"] | |
200 | RightArm=Character["Right Arm"] | |
201 | RightLeg=Character["Right Leg"] | |
202 | Root=Character["HumanoidRootPart"] | |
203 | Head=Character["Head"] | |
204 | Torso=Character["Torso"] | |
205 | Neck=Torso["Neck"] | |
206 | walking = false | |
207 | attacking = false | |
208 | running = false | |
209 | tragedy = false | |
210 | change = 0 | |
211 | doombounce = false | |
212 | swordbounce = false | |
213 | absoluteannihilation = false | |
214 | position = nil | |
215 | MseGuide = true | |
216 | settime = 0 | |
217 | sine = 0 | |
218 | t = 0 | |
219 | combo1 = true | |
220 | dgs = 75 | |
221 | combo2 = false | |
222 | combo3 = false | |
223 | mouse = Player:GetMouse() | |
224 | RunSrv = game:GetService("RunService") | |
225 | RenderStepped = game:GetService("RunService").RenderStepped | |
226 | local soundtable = {263033191,263032252,263032172,263032182,263032221} | |
227 | local lmon3 = {"My scythe will tear you apart.","Come a bit closer...","Die from my scythe.","Futile.","Take this scythe.","Where do you want your scar?","My scythe wants to introduce itself.","Feel honored to even touch my scythe.","Flee while you can.","Don't even try.","Slicing time!"} | |
228 | local lmon = {"Feeling Lucky?","I will direct this personally.","Just stay right where you are...","Let's play catch.","Where is that confidence now?","This will hurt...","Remember this.","My power is rising.","Playtime is over.","I'm gonna wipe that smug off your face.","Don't even bother to run.","All of your actions remain futile"} | |
229 | local lmon5 = {"What's wrong? You've gone pale all of the sudden.","I'll use you as target practice.","Sharper than a needle.","Just a friendly reminder...","Come on then!","Are you beginning to sweat?","This will leave a scar...","Surgery time...","Like a hot knife through butter..."} | |
230 | local lmon7 = {"Are you afraid?","Take this!","Can't dodge this.","Kaboom.","Hope is irrelevant.","Why don't you take this head on?","I'm not finished.","Dare to underestimate my power again?","Shoo.","Begone.","Out of my way!"} | |
231 | local secrettalk = {"And now you'll cease to exist.","This is the last time you've ridiculed my power.","End of the chapter for you.","I will send you to the next world with this.","I had enough of your attitude.","Consider this as a gift.","Fatality.","Another one bites the dust...","Don't come back.","Let me show you true power."} | |
232 | local mostrandomsoundtable = {527970724,1026907795,12222058,1282729525,165431824,167293985,717192545,150245085,143796003,948494432,1434756150,130801781,138124641,132470328,602163388,174658105,220042720,292838651,949987327,142347633,141679994,223147718,130759239,257642130,224299497} | |
233 | local glassshatter = {566476056,566477077,566476547,566476140,566475199,566476026} | |
234 | rdnm = #soundtable | |
235 | mostrandom = #mostrandomsoundtable | |
236 | lmon2 = #lmon | |
237 | lmon4 = #lmon3 | |
238 | lmon6 = #lmon5 | |
239 | lmon8 = #lmon7 | |
240 | secret = #secrettalk | |
241 | glasss = #glassshatter | |
242 | removeuseless = game:GetService("Debris") | |
243 | damageall={} | |
244 | Repeater={} | |
245 | Repeater2={} | |
246 | nonmeshRepeater={} | |
247 | nonmeshRepeater2={} | |
248 | dmgii={} | |
249 | DamageAll2={} | |
250 | SlowlyFade={} | |
251 | th1={} | |
252 | th2={} | |
253 | th3={} | |
254 | Extreme={} | |
255 | ExtremeM={} | |
256 | ExtremeM2={} | |
257 | m3={} | |
258 | th4={} | |
259 | th5={} | |
260 | UpMover={} | |
261 | openshocktable={} | |
262 | LessSize={} | |
263 | ForwardMover={} | |
264 | signtable={} | |
265 | signtransparency={} | |
266 | signmover={} | |
267 | signrotator={} | |
268 | TheColor = BrickColor.new("Lime green") | |
269 | ||
270 | landingsound = Instance.new("Sound", Torso) | |
271 | landingsound.SoundId = "rbxassetid://379698301" | |
272 | landingsound.Volume = 4 | |
273 | ||
274 | step = Instance.new("Sound", Torso) | |
275 | step.SoundId = "rbxassetid://337064700" | |
276 | step.Volume = 3 | |
277 | ||
278 | energyburst = Instance.new("Sound", Torso) | |
279 | energyburst.SoundId = "rbxassetid://278641993" | |
280 | energyburst.Volume = 3 | |
281 | ||
282 | charge = Instance.new("Sound", Torso) | |
283 | charge.SoundId = "rbxassetid://1620566047" | |
284 | charge.Volume = 3 | |
285 | ||
286 | energyburst2 = Instance.new("Sound", Torso) | |
287 | energyburst2.SoundId = "rbxassetid://1368637781" | |
288 | energyburst2.Volume = 3 | |
289 | ||
290 | lunge = Instance.new("Sound", Torso) | |
291 | lunge.SoundId = "rbxassetid://28144425" | |
292 | lunge.Pitch = .7 | |
293 | lunge.Volume = 5 | |
294 | ||
295 | kiready = Instance.new("Sound", Torso) | |
296 | kiready.SoundId = "rbxassetid://1619519574" | |
297 | kiready.Pitch = 1 | |
298 | kiready.Volume = 3 | |
299 | ||
300 | kigo = Instance.new("Sound", Torso) | |
301 | kigo.SoundId = "rbxassetid://1620239422" | |
302 | kigo.Pitch = 1 | |
303 | kigo.Volume = 3 | |
304 | ||
305 | lunge2 = Instance.new("Sound", Torso) | |
306 | lunge2.SoundId = "rbxassetid://28144425" | |
307 | lunge2.Pitch = .5 | |
308 | lunge2.Volume = 5 | |
309 | ||
310 | lunge3 = Instance.new("Sound", Torso) | |
311 | lunge3.SoundId = "rbxassetid://28144425" | |
312 | lunge3.Pitch = .6 | |
313 | lunge3.Volume = 5 | |
314 | ||
315 | aura = Instance.new("Sound", Torso) | |
316 | aura.Volume = 2 | |
317 | aura.Looped = true | |
318 | aura.SoundId = "rbxassetid://1382718007" | |
319 | ||
320 | swordlang = Instance.new("Sound", Torso) | |
321 | swordlang.SoundId = "rbxassetid://62339698" | |
322 | swordlang.Volume = 5 | |
323 | swordlang.Pitch = .3 | |
324 | ||
325 | daggersheet = Instance.new("Sound", Torso) | |
326 | daggersheet.SoundId = "rbxassetid://62339698" | |
327 | daggersheet.Volume = 3 | |
328 | ||
329 | local HEADLERP = Instance.new("ManualWeld") | |
330 | HEADLERP.Parent = Head | |
331 | HEADLERP.Part0 = Head | |
332 | HEADLERP.Part1 = Head | |
333 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
334 | ||
335 | local TORSOLERP = Instance.new("ManualWeld") | |
336 | TORSOLERP.Parent = Root | |
337 | TORSOLERP.Part0 = Torso | |
338 | TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
339 | ||
340 | local ROOTLERP = Instance.new("ManualWeld") | |
341 | ROOTLERP.Parent = Root | |
342 | ROOTLERP.Part0 = Root | |
343 | ROOTLERP.Part1 = Torso | |
344 | ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
345 | ||
346 | local RIGHTARMLERP = Instance.new("ManualWeld") | |
347 | RIGHTARMLERP.Parent = RightArm | |
348 | RIGHTARMLERP.Part0 = RightArm | |
349 | RIGHTARMLERP.Part1 = Torso | |
350 | RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
351 | ||
352 | local LEFTARMLERP = Instance.new("ManualWeld") | |
353 | LEFTARMLERP.Parent = LeftArm | |
354 | LEFTARMLERP.Part0 = LeftArm | |
355 | LEFTARMLERP.Part1 = Torso | |
356 | LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
357 | ||
358 | local RIGHTLEGLERP = Instance.new("ManualWeld") | |
359 | RIGHTLEGLERP.Parent = RightLeg | |
360 | RIGHTLEGLERP.Part0 = RightLeg | |
361 | RIGHTLEGLERP.Part1 = Torso | |
362 | RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
363 | ||
364 | local LEFTLEGLERP = Instance.new("ManualWeld") | |
365 | LEFTLEGLERP.Parent = LeftLeg | |
366 | LEFTLEGLERP.Part0 = LeftLeg | |
367 | LEFTLEGLERP.Part1 = Torso | |
368 | LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
369 | ||
370 | local function weldBetween(a, b) | |
371 | local weld = Instance.new("ManualWeld", a) | |
372 | weld.Part0 = a | |
373 | weld.Part1 = b | |
374 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
375 | return weld | |
376 | end | |
377 | ||
378 | local function ci(x, c, y, n) | |
379 | so = Instance.new("Sound", x) | |
380 | so.SoundId = c | |
381 | so.Volume = y | |
382 | so.Looped = n | |
383 | end | |
384 | ||
385 | ArtificialHB = Instance.new("BindableEvent", script) | |
386 | ArtificialHB.Name = "Heartbeat" | |
387 | script:WaitForChild("Heartbeat") | |
388 | ||
389 | frame = 1 / 60 | |
390 | tf = 0 | |
391 | allowframeloss = false | |
392 | tossremainder = false | |
393 | ||
394 | ||
395 | lastframe = tick() | |
396 | script.Heartbeat:Fire() | |
397 | ||
398 | ||
399 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
400 | tf = tf + s | |
401 | if tf >= frame then | |
402 | if allowframeloss then | |
403 | script.Heartbeat:Fire() | |
404 | lastframe = tick() | |
405 | else | |
406 | for i = 1, math.floor(tf / frame) do | |
407 | script.Heartbeat:Fire() | |
408 | end | |
409 | lastframe = tick() | |
410 | end | |
411 | if tossremainder then | |
412 | tf = 0 | |
413 | else | |
414 | tf = tf - frame * math.floor(tf / frame) | |
415 | end | |
416 | end | |
417 | end) | |
418 | ||
419 | function swait(num) | |
420 | if num == 0 or num == nil then | |
421 | game:service("RunService").Stepped:wait(0) | |
422 | else | |
423 | for i = 0, num do | |
424 | game:service("RunService").Stepped:wait(0) | |
425 | end | |
426 | end | |
427 | end | |
428 | ||
429 | godmode = coroutine.wrap(function() | |
430 | while true do | |
431 | hum.MaxHealth = math.huge | |
432 | wait(0.0000001) | |
433 | hum.Health = math.huge | |
434 | wait() | |
435 | end | |
436 | end) | |
437 | godmode() | |
438 | ff = Instance.new("ForceField", Character) | |
439 | ff.Visible = false | |
440 | ||
441 | function damagealll(Radius,Position) | |
442 | local Returning = {} | |
443 | for _,v in pairs(workspace:GetChildren()) do | |
444 | if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then | |
445 | if v:FindFirstChild("Torso") then | |
446 | local Mag = (v.Torso.Position - Position).magnitude | |
447 | if Mag < Radius then | |
448 | table.insert(Returning,v) | |
449 | end | |
450 | elseif v:FindFirstChild("UpperTorso") then | |
451 | local Mag = (v.UpperTorso.Position - Position).magnitude | |
452 | if Mag < Radius then | |
453 | table.insert(Returning,v) | |
454 | end | |
455 | end | |
456 | end | |
457 | end | |
458 | return Returning | |
459 | end | |
460 | ||
461 | doomtheme = Instance.new("Sound", Torso) | |
462 | doomtheme.Volume = 1 | |
463 | doomtheme.Looped = true | |
464 | doomtheme.SoundId = "rbxassetid://1535710893" | |
465 | doomtheme:Play() | |
466 | ||
467 | light = Instance.new("PointLight", Torso) | |
468 | light.Color = Color3.new(0,255,0) | |
469 | light.Range = 8 | |
470 | light.Brightness = 35 | |
471 | ||
472 | pBase = Instance.new("Part", LeftArm) | |
473 | pBase.BrickColor = BrickColor.new("Really black") | |
474 | pBase.Material = "Granite" | |
475 | pBase.Size = Vector3.new(1.05,.3,1.05) | |
476 | pBase.CanCollide = false | |
477 | pBasew = weldBetween(pBase,LeftArm) | |
478 | pBasew.C0 = CFrame.new(0,.92,0) | |
479 | ||
480 | pBase2 = Instance.new("WedgePart", pBase) | |
481 | pBase2.BrickColor = BrickColor.new("Really black") | |
482 | pBase2.Material = "Granite" | |
483 | pBase2.Size = Vector3.new(1.05,1.05,1.05) | |
484 | pBase2.CanCollide = false | |
485 | pBase2w = weldBetween(pBase2,LeftArm) | |
486 | pBase2w.C0 = CFrame.new(0,0,-.25) * CFrame.Angles(math.rad(-90),math.rad(-90),math.rad(0)) | |
487 | ||
488 | pBase3 = Instance.new("Part", pBase) | |
489 | pBase3.BrickColor = BrickColor.new("Really black") | |
490 | pBase3.Material = "Granite" | |
491 | pBase3.Size = Vector3.new(.4,.65,.85) | |
492 | pBase3.CanCollide = false | |
493 | pBase3w = weldBetween(pBase3,LeftArm) | |
494 | pBase3w.C0 = CFrame.new(0.4,.85,0) | |
495 | ||
496 | pBase4 = Instance.new("Part", pBase) | |
497 | pBase4.BrickColor = BrickColor.new("Mid Gray") | |
498 | pBase4.Material = "Ice" | |
499 | pBase4.Size = Vector3.new(.3,.45,.75) | |
500 | pBase4.CanCollide = false | |
501 | pBase4w = weldBetween(pBase4,LeftArm) | |
502 | pBase4w.C0 = CFrame.new(0.4,1.03,0) | |
503 | ||
504 | pBase5 = Instance.new("Part", pBase) | |
505 | pBase5.BrickColor = BrickColor.new("Mid Gray") | |
506 | pBase5.Material = "Glass" | |
507 | pBase5.Size = Vector3.new(.15,2,.65) | |
508 | pBase5.CanCollide = false | |
509 | pBase5w = weldBetween(pBase5,LeftArm) | |
510 | pBase5w.C0 = CFrame.new(0.4,1.53,0) | |
511 | ||
512 | pBase6 = Instance.new("WedgePart", pBase) | |
513 | pBase6.BrickColor = BrickColor.new("Mid Gray") | |
514 | pBase6.Material = "Glass" | |
515 | pBase6.Size = Vector3.new(.15,1.05,.65) | |
516 | pBase6.CanCollide = false | |
517 | pBase6w = weldBetween(pBase6,LeftArm) | |
518 | pBase6w.C0 = CFrame.new(0.4,-3.05,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)) | |
519 | ||
520 | pBase7 = Instance.new("Part", pBase) | |
521 | pBase7.BrickColor = TheColor | |
522 | pBase7.Material = "Neon" | |
523 | pBase7.Size = Vector3.new(.07,2,.67) | |
524 | pBase7.CanCollide = false | |
525 | pBase7w = weldBetween(pBase7,LeftArm) | |
526 | pBase7w.C0 = CFrame.new(0.4,1.53,0) | |
527 | ||
528 | pBase8 = Instance.new("WedgePart", pBase) | |
529 | pBase8.BrickColor = TheColor | |
530 | pBase8.Material = "Neon" | |
531 | pBase8.Size = Vector3.new(.07,1.05,.65) | |
532 | pBase8.CanCollide = false | |
533 | pBase8w = weldBetween(pBase8,LeftArm) | |
534 | pBase8w.C0 = CFrame.new(0.4,-3.05,0.016) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)) | |
535 | ||
536 | pBase9 = Instance.new("Part", pBase) | |
537 | pBase9.BrickColor = TheColor | |
538 | pBase9.Material = "Neon" | |
539 | pBase9.Size = Vector3.new(.07,2,.05) | |
540 | pBase9.CanCollide = false | |
541 | pBase9w = weldBetween(pBase9,LeftArm) | |
542 | pBase9w.C0 = CFrame.new(0.4,2.53,0.31) | |
543 | ||
544 | pBase10 = Instance.new("Part", pBase) | |
545 | pBase10.BrickColor = TheColor | |
546 | pBase10.Material = "Neon" | |
547 | pBase10.Size = Vector3.new(.4,.55,.75) | |
548 | pBase10.CanCollide = false | |
549 | pBase10w = weldBetween(pBase10,LeftArm) | |
550 | pBase10w.C0 = CFrame.new(0.42,.85,0) | |
551 | ||
552 | pBase11 = Instance.new("Part", pBase) | |
553 | pBase11.BrickColor = BrickColor.new("Really black") | |
554 | pBase11.Material = "Granite" | |
555 | pBase11.Size = Vector3.new(.4,.50,.70) | |
556 | pBase11.CanCollide = false | |
557 | pBase11w = weldBetween(pBase11,LeftArm) | |
558 | pBase11w.C0 = CFrame.new(0.43,.85,0) | |
559 | ||
560 | pBase12 = Instance.new("Part", pBase) | |
561 | pBase12.BrickColor = TheColor | |
562 | pBase12.Material = "Neon" | |
563 | pBase12.Size = Vector3.new(.2,.2,.2) | |
564 | pBase12.CanCollide = false | |
565 | pBase12.Shape = 0 | |
566 | pBase12w = weldBetween(pBase12,LeftArm) | |
567 | pBase12w.C0 = CFrame.new(0.5,.135,0) | |
568 | ||
569 | TheCore = Instance.new("Part", pBase) | |
570 | TheCore.CanCollide = false | |
571 | TheCore.Size = Vector3.new(0,0,0) | |
572 | TheCore.Material = "Fabric" | |
573 | TheCore.BrickColor = TheColor | |
574 | TheCoreMESH = Instance.new("SpecialMesh", TheCore) | |
575 | TheCoreMESH.Scale = Vector3.new(.29,.29,.29) | |
576 | TheCoreMESH.MeshId = "rbxassetid://19251107" | |
577 | TheCoreweld = weldBetween(TheCore, pBase12) | |
578 | TheCoreweld.C0 = CFrame.new(0, 0.05, 0) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) | |
579 | ||
580 | larmf = Instance.new("Part", Torso) | |
581 | larmf.BrickColor = TheColor | |
582 | larmf.Size = Vector3.new(1.001, 2.001, 1.001) | |
583 | larmf.Material = "Neon" | |
584 | larmf.Transparency = .9 | |
585 | larmf.CanCollide = false | |
586 | larmfweld = weldBetween(larmf,LeftArm) | |
587 | ||
588 | rarmf = Instance.new("Part", larmf) | |
589 | rarmf.BrickColor = TheColor | |
590 | rarmf.Size = Vector3.new(1.001, 2.001, 1.001) | |
591 | rarmf.Material = "Neon" | |
592 | rarmf.Transparency = .9 | |
593 | rarmf.CanCollide = false | |
594 | rarmfweld = weldBetween(rarmf,RightArm) | |
595 | ||
596 | llegf = Instance.new("Part", larmf) | |
597 | llegf.BrickColor = TheColor | |
598 | llegf.Size = Vector3.new(1.001, 2.001, 1.001) | |
599 | llegf.Material = "Neon" | |
600 | llegf.Transparency = .9 | |
601 | llegf.CanCollide = false | |
602 | llegffweld = weldBetween(llegf,LeftLeg) | |
603 | ||
604 | rlegf = Instance.new("Part", larmf) | |
605 | rlegf.BrickColor = TheColor | |
606 | rlegf.Size = Vector3.new(1.001, 2.001, 1.001) | |
607 | rlegf.Material = "Neon" | |
608 | rlegf.Transparency = .9 | |
609 | rlegf.CanCollide = false | |
610 | rlegfweld = weldBetween(rlegf,RightLeg) | |
611 | ||
612 | Torsof = Instance.new("Part", larmf) | |
613 | Torsof.BrickColor = TheColor | |
614 | Torsof.Size = Vector3.new(2.001, 2.001, 1.001) | |
615 | Torsof.Material = "Neon" | |
616 | Torsof.Transparency = .9 | |
617 | Torsof.CanCollide = false | |
618 | Torsofweld = weldBetween(Torsof,Torso) | |
619 | ||
620 | local turnoffandon = coroutine.wrap(function() | |
621 | while wait() do | |
622 | if transformingpart then | |
623 | else | |
624 | for i = 1, 25 do | |
625 | larmf.Transparency = larmf.Transparency + .01 | |
626 | rarmf.Transparency = rarmf.Transparency + .01 | |
627 | llegf.Transparency = llegf.Transparency + .01 | |
628 | rlegf.Transparency = rlegf.Transparency + .01 | |
629 | Torsof.Transparency = Torsof.Transparency + .01 | |
630 | swait() | |
631 | end | |
632 | end | |
633 | for i = 1, 25 do | |
634 | if transformingpart then | |
635 | else | |
636 | larmf.Transparency = larmf.Transparency - .01 | |
637 | rarmf.Transparency = rarmf.Transparency - .01 | |
638 | llegf.Transparency = llegf.Transparency - .01 | |
639 | rlegf.Transparency = rlegf.Transparency - .01 | |
640 | Torsof.Transparency = Torsof.Transparency - .01 | |
641 | swait() | |
642 | end | |
643 | end | |
644 | end | |
645 | end) | |
646 | turnoffandon() | |
647 | ||
648 | local fidgetspinner = coroutine.wrap(function() | |
649 | while true do | |
650 | TheCoreweld.C0 = TheCoreweld.C0 * CFrame.Angles(math.rad(1), math.rad(0), math.rad(0)) | |
651 | swait() | |
652 | end | |
653 | end) | |
654 | fidgetspinner() | |
655 | ||
656 | for _,n in pairs(Character:GetChildren()) do | |
657 | if n:IsA("Accessory") then n:Remove() end | |
658 | end | |
659 | for _,x in pairs(Character:GetChildren()) do | |
660 | if x:IsA("Decal") then x:Remove() end | |
661 | end | |
662 | ||
663 | shirt = Instance.new("Shirt", Character) | |
664 | shirt.Name = "Shirt" | |
665 | pants = Instance.new("Pants", Character) | |
666 | pants.Name = "Pants" | |
667 | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=765406892" | |
668 | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=783981083" | |
669 | ||
670 | local PumpkinOverlord = Instance.new("Part",Character) | |
671 | PumpkinOverlord.Size = Vector3.new(2,2,2) | |
672 | PumpkinOverlord.CFrame = Head.CFrame | |
673 | PumpkinOverlord.CanCollide = false | |
674 | local PumpkinOverlordWeld = Instance.new("Weld",PumpkinOverlord) | |
675 | PumpkinOverlordWeld.Part0 = PumpkinOverlord | |
676 | PumpkinOverlordWeld.Part1 = Head | |
677 | PumpkinOverlordWeld.C0 = PumpkinOverlord.CFrame:inverse() * Head.CFrame * CFrame.new(0.05,-.4,.1) | |
678 | mPumpkinOverlord = Instance.new("SpecialMesh", PumpkinOverlord) | |
679 | mPumpkinOverlord.MeshType = "FileMesh" | |
680 | mPumpkinOverlord.Scale = Vector3.new(.5, .5, .5) | |
681 | mPumpkinOverlord.MeshId,mPumpkinOverlord.TextureId = 'http://www.roblox.com/asset/?id=1158007','http://www.roblox.com/asset/?id=1158033' | |
682 | mPumpkinOverlord.VertexColor = Vector3.new(0,10,0) | |
683 | ||
684 | JohnDoe = Instance.new("Part", Head) | |
685 | JohnDoe.Shape = 0 | |
686 | JohnDoe.Size = Vector3.new(2.05,2.05,2.05) | |
687 | JohnDoe.Material = "Neon" | |
688 | JohnDoe.CanCollide = false | |
689 | JohnDoe.BrickColor = TheColor | |
690 | Jw = weldBetween(Head,JohnDoe) | |
691 | Jw.C0 = CFrame.new(0,0.25,.05) | |
692 | ||
693 | checks1 = coroutine.wrap(function() -------Checks | |
694 | while true do | |
695 | if Root.Velocity.Magnitude > 2 and running == false then | |
696 | trail = true | |
697 | position = "Walking" | |
698 | elseif Root.Velocity.Magnitude < 0.5 and running == false and nottransform then | |
699 | trail = false | |
700 | position = "Idle" | |
701 | elseif Root.Velocity.Magnitude < 0.5 and running == false then | |
702 | trail = false | |
703 | position = "Idle2" | |
704 | elseif Root.Velocity.Magnitude > 15 then | |
705 | position = "Running" | |
706 | else | |
707 | end | |
708 | wait() | |
709 | end | |
710 | end) | |
711 | checks1() | |
712 | ||
713 | Trail = coroutine.wrap(function() | |
714 | while true do | |
715 | if transformingpart then | |
716 | elseif trail then | |
717 | if trailntrue then | |
718 | for i = 1, 10 do | |
719 | Trailn.BrickColor = TheCore.BrickColor | |
720 | TrailnMESH.Scale = TrailnMESH.Scale + Vector3.new(0,.4,.4) | |
721 | Trailn.Transparency = Trailn.Transparency + 0.1 | |
722 | wait() | |
723 | end | |
724 | end | |
725 | elseif not trail then | |
726 | trailntrue = true | |
727 | Trailn = Instance.new("Part", Torso) | |
728 | Trailn.Size = Vector3.new(0.5, 0.5, 0.5) | |
729 | Trailn.Material = "Neon" | |
730 | Trailn.BrickColor = TheCore.BrickColor | |
731 | Trailn.Transparency = 0 | |
732 | Trailn.Anchored = true | |
733 | Trailn.CanCollide = false | |
734 | TrailnMESH = Instance.new("SpecialMesh", Trailn) | |
735 | TrailnMESH.MeshType = "Cylinder" | |
736 | TrailnMESH.Scale = Vector3.new(.1,0.01,0.01) | |
737 | Trailn.CFrame = Root.CFrame * CFrame.new(0,-2.9,0) * CFrame.Angles(math.rad(90),math.rad(90),0) | |
738 | for i = 1, 35 do | |
739 | Trailn.BrickColor = TheCore.BrickColor | |
740 | TrailnMESH.Scale = TrailnMESH.Scale + Vector3.new(0,.4,.4) | |
741 | wait() | |
742 | end | |
743 | for i = 1, 10 do | |
744 | Trailn.BrickColor = TheCore.BrickColor | |
745 | TrailnMESH.Scale = TrailnMESH.Scale + Vector3.new(0,.4,.4) | |
746 | Trailn.Transparency = Trailn.Transparency + .1 | |
747 | wait() | |
748 | end | |
749 | Trailn:Remove() | |
750 | trailntrue = false | |
751 | end | |
752 | wait() | |
753 | end | |
754 | end) | |
755 | Trail() | |
756 | ||
757 | OrgnC0 = Neck.C0 | |
758 | local movelimbs = coroutine.wrap(function() | |
759 | while RunSrv.RenderStepped:wait() do | |
760 | TrsoLV = Torso.CFrame.lookVector | |
761 | Dist = nil | |
762 | Diff = nil | |
763 | if not MseGuide then | |
764 | print("l") | |
765 | else | |
766 | local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
767 | Dist = (Head.CFrame.p-Point).magnitude | |
768 | Diff = Head.CFrame.Y-Point.Y | |
769 | local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
770 | Dist2 = (LeftArm.CFrame.p-Point).magnitude | |
771 | Diff2 = LeftArm.CFrame.Y-Point.Y | |
772 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
773 | Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1) | |
774 | end | |
775 | end | |
776 | end) | |
777 | movelimbs() | |
778 | ||
779 | mouse.Button1Down:connect(function() | |
780 | if combo1 then | |
781 | if debounce then return end | |
782 | debounce = true | |
783 | attacking = true | |
784 | combo1 = false | |
785 | tr1.Enabled = true | |
786 | combo2 = true | |
787 | hum.WalkSpeed = 10 | |
788 | for i = 1, 12 do | |
789 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(-55), math.rad(0)), 0.6) | |
790 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(-55),0),0.6) | |
791 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.5,.2,-1) * CFrame.Angles(math.rad(-165),math.rad(0),math.rad(90)), 0.6) | |
792 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.55, 0.1, 0) * CFrame.Angles(math.rad(0), math.rad(1), math.rad(-5)), 0.6) | |
793 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.6) | |
794 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(3)), 0.6) | |
795 | swait() | |
796 | end | |
797 | lunge:Play() | |
798 | htbox = Instance.new("Part", pBase5) | |
799 | htbox.CFrame = pBase5.CFrame | |
800 | htbox.Transparency = 1 | |
801 | htbox.CanCollide = false | |
802 | htbox.Size = Vector3.new(.17,4,.68) | |
803 | htboxweld = weldBetween(htbox,pBase5) | |
804 | htbox.Touched:connect(function(hit) | |
805 | if hit.Parent:IsA("Part") then | |
806 | elseif hit.Parent:IsA("SpecialMesh") then | |
807 | elseif hit.Parent.Name == game.Players.LocalPlayer.Name then | |
808 | elseif hit.Parent:findFirstChildOfClass("Humanoid") then | |
809 | if damagedebounce == true then return end | |
810 | damagedebounce = true | |
811 | Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid") | |
812 | Slachtoffer:TakeDamage(math.random(25,35)) | |
813 | rdnm = soundtable[math.random(1,#soundtable)] | |
814 | slashwound = Instance.new("Sound", Slachtoffer.Torso) | |
815 | slashwound.SoundId = "rbxassetid://"..rdnm | |
816 | slashwound.Volume = 4 | |
817 | slashwound:Play() | |
818 | removeuseless:AddItem(slashwound,2) | |
819 | end | |
820 | end) | |
821 | trailactivate = true | |
822 | for i = 1, 12 do | |
823 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(55), math.rad(0)), 0.6) | |
824 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(55),0),0.6) | |
825 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.5,1,-1) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(90)), 0.6) | |
826 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.55, 0.1, 0) * CFrame.Angles(math.rad(0), math.rad(1), math.rad(-5)), 0.6) | |
827 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.6) | |
828 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(3)), 0.6) | |
829 | swait() | |
830 | end | |
831 | attacking = false | |
832 | debounce = false | |
833 | damagedebounce = false | |
834 | htbox:Remove() | |
835 | trailactivate = false | |
836 | hum.WalkSpeed = 18 | |
837 | tr1.Enabled = false | |
838 | elseif combo2 then | |
839 | if debounce then return end | |
840 | hum.WalkSpeed = 8 | |
841 | trailactive = true | |
842 | debounce = true | |
843 | attacking = true | |
844 | tr1.Enabled = true | |
845 | combo2 = false | |
846 | combo3 = true | |
847 | swordlang:Play() | |
848 | for i = 1, 12 do | |
849 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.6) | |
850 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2, 0, 0.501) * CFrame.Angles(math.rad(-90), math.rad(45), math.rad(0)), 0.6) | |
851 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, 2, 0.5) * CFrame.Angles(math.rad(-90), math.rad(90), math.rad(0)), 0.6) | |
852 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.6) | |
853 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.6) | |
854 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(3)), 0.6) | |
855 | swait() | |
856 | end | |
857 | htbox = Instance.new("Part", pBase5) | |
858 | htbox.CFrame = pBase5.CFrame | |
859 | htbox.Transparency = 1 | |
860 | htbox.CanCollide = false | |
861 | htbox.Size = Vector3.new(.25,6,.1) | |
862 | htboxweld = weldBetween(htbox,pBase5) | |
863 | htbox.Touched:connect(function(hit) | |
864 | if hit.Parent:IsA("Part") then | |
865 | elseif hit.Parent:IsA("SpecialMesh") then | |
866 | elseif hit.Parent.Name == game.Players.LocalPlayer.Name then | |
867 | elseif hit.Parent:findFirstChildOfClass("Humanoid") then | |
868 | if damagedebounce == true then return end | |
869 | damagedebounce = true | |
870 | Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid") | |
871 | Slachtoffer:TakeDamage(math.random(31,47)) | |
872 | rdnm = soundtable[math.random(1,#soundtable)] | |
873 | slashwound = Instance.new("Sound", Slachtoffer.Torso) | |
874 | slashwound.SoundId = "rbxassetid://"..rdnm | |
875 | slashwound.Volume = 4 | |
876 | slashwound:Play() | |
877 | removeuseless:AddItem(slashwound,2) | |
878 | end | |
879 | end) | |
880 | lunge2:Play() | |
881 | for i = 1, 14 do | |
882 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4) | |
883 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0, 2, 0.5) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(90)), 0.6) | |
884 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.55, 0.1, 0) * CFrame.Angles(math.rad(0), math.rad(1), math.rad(-5)), 0.6) | |
885 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.6) | |
886 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.6) | |
887 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(3)), 0.6) | |
888 | swait() | |
889 | end | |
890 | debounce = false | |
891 | attacking = false | |
892 | damagedebounce = false | |
893 | htbox:Remove() | |
894 | hum.WalkSpeed = 18 | |
895 | tr1.Enabled = false | |
896 | elseif combo3 then | |
897 | if debounce then return end | |
898 | debounce = true | |
899 | trailactivate = true | |
900 | attacking = true | |
901 | combo3 = false | |
902 | trailactivate = false | |
903 | combo1 = true | |
904 | tr1.Enabled = true | |
905 | t = 0 | |
906 | htbox = Instance.new("Part", pBase5) | |
907 | htbox.CFrame = pBase5.CFrame | |
908 | htbox.Transparency = 1 | |
909 | htbox.CanCollide = false | |
910 | htbox.Size = Vector3.new(.17,4,.68) | |
911 | htboxweld = weldBetween(htbox,pBase5) | |
912 | htbox.Touched:connect(function(hit) | |
913 | if hit.Parent:IsA("Part") then | |
914 | elseif hit.Parent:IsA("SpecialMesh") then | |
915 | elseif hit.Parent.Name == game.Players.LocalPlayer.Name then | |
916 | elseif hit.Parent:findFirstChildOfClass("Humanoid") then | |
917 | for i = 1, 5 do | |
918 | if damagedebounce == true then return end | |
919 | damagedebounce = true | |
920 | Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid") | |
921 | Slachtoffer:TakeDamage(math.random(7,15)) | |
922 | wait(.1) | |
923 | damagedebounce = false | |
924 | wait() | |
925 | end | |
926 | rdnm = soundtable[math.random(1,#soundtable)] | |
927 | slashwound = Instance.new("Sound", Slachtoffer.Torso) | |
928 | slashwound.SoundId = "rbxassetid://"..rdnm | |
929 | slashwound.Volume = 4 | |
930 | slashwound:Play() | |
931 | removeuseless:AddItem(slashwound,2) | |
932 | end | |
933 | end) | |
934 | for i = 1, 10 do | |
935 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6) | |
936 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.6) | |
937 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.6) | |
938 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6) | |
939 | swait() | |
940 | end | |
941 | hum.WalkSpeed = 25 | |
942 | lunge3:Play() | |
943 | for i = 1, 40 do | |
944 | t = t + 80 | |
945 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6) | |
946 | swait() | |
947 | end | |
948 | htbox:Remove() | |
949 | hum.WalkSpeed = 18 | |
950 | attacking = false | |
951 | damagedebounce = false | |
952 | debounce = false | |
953 | trailactivate = false | |
954 | tr1.Enabled = false | |
955 | end | |
956 | end) | |
957 | ||
958 | mouse.KeyDown:connect(function(Press) | |
959 | Press=Press:lower() | |
960 | if Press=='t' then | |
961 | if tauntdebounce == true then return end | |
962 | tauntdebounce = true | |
963 | RAW = Instance.new("Sound", Torso) | |
964 | RAW.SoundId = "rbxassetid://347972965" | |
965 | RAW.Volume = 6 | |
966 | RAW:Play() | |
967 | RAWPOWER = Instance.new("Part", Torso) | |
968 | RAWPOWER.Size = Vector3.new(0.5, 0.5, 0.5) | |
969 | RAWPOWER.Material = "Neon" | |
970 | RAWPOWER.BrickColor = TheColor | |
971 | RAWPOWER.Transparency = 0 | |
972 | RAWPOWER.Anchored = true | |
973 | RAWPOWER.CanCollide = false | |
974 | RAWPOWERMESH = Instance.new("SpecialMesh", RAWPOWER) | |
975 | RAWPOWERMESH.MeshType = "Cylinder" | |
976 | RAWPOWERMESH.Scale = Vector3.new(.1,0.01,0.01) | |
977 | RAWPOWER.CFrame = Root.CFrame * CFrame.new(0,-2.9,0) * CFrame.Angles(math.rad(90),math.rad(90),0) | |
978 | for i = 1, 100 do | |
979 | RAWPOWER.BrickColor = TheCore.BrickColor | |
980 | RAWPOWERMESH.Scale = RAWPOWERMESH.Scale + Vector3.new(0,2,2) | |
981 | RAWPOWER.Transparency = RAWPOWER.Transparency + 0.01 | |
982 | wait() | |
983 | end | |
984 | wait(RAW.TimeLength) | |
985 | RAWPOWER:Remove() | |
986 | RAW:Remove() | |
987 | tauntdebounce = false | |
988 | end | |
989 | end) | |
990 | ||
991 | mouse.KeyDown:connect(function(Press) | |
992 | Press=Press:lower() | |
993 | if Press=='l' then ------------- Orbital cannon of doom | |
994 | if doombounce then return end | |
995 | doombounce = true | |
996 | if debounce then return end | |
997 | debounce = true | |
998 | attacking = true | |
999 | acti = true | |
1000 | hum.WalkSpeed = 0 | |
1001 | quicklerppp = coroutine.wrap(function() | |
1002 | for i = 1, 10 do | |
1003 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,1,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)), 0.4) | |
1004 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.55, 0.1, 0) * CFrame.Angles(math.rad(0), math.rad(1), math.rad(-5)), 0.5) | |
1005 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.25, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5) | |
1006 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 1.8, .2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.5) | |
1007 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 1.8, 0.2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(3)), 0.5) | |
1008 | wait() | |
1009 | end | |
1010 | end) | |
1011 | quicklerppp() | |
1012 | BallOfDeath = Instance.new("Part", Torso) | |
1013 | BallOfDeath.Material = "Neon" | |
1014 | BallOfDeath.CanCollide = false | |
1015 | BallOfDeath.Anchored = true | |
1016 | BallOfDeath.BrickColor = TheColor | |
1017 | BallOfDeath.Size = Vector3.new(.1,.1,.1) | |
1018 | BallOfDeathShape = Instance.new("SpecialMesh", BallOfDeath) | |
1019 | BallOfDeathShape.MeshType = "Sphere" | |
1020 | BallOfDeathShape.Scale = Vector3.new(1,1,1) | |
1021 | sou = coroutine.wrap(function() | |
1022 | mylegacy = Instance.new("Sound", BallOfDeath) | |
1023 | mylegacy.SoundId = "rbxassetid://907530407" | |
1024 | mylegacy.Looped = true | |
1025 | mylegacy.Volume = 0 | |
1026 | mylegacy:Play() | |
1027 | for i = 1, 50 do | |
1028 | mylegacy.Volume = mylegacy.Volume + .1 | |
1029 | wait() | |
1030 | end | |
1031 | end) | |
1032 | sou() | |
1033 | if nottransform then | |
1034 | for i = 1, 94 do | |
1035 | BallOfDeath.BrickColor = TheCore.BrickColor | |
1036 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.59 + .05 * math.sin(sine/12), 0.1 -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(-8 + 6 * math.sin(sine/12))), .2) | |
1037 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(30),math.rad(2)),.2) | |
1038 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(0)),.2) | |
1039 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
1040 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
1041 | BallOfDeath.CFrame = pBase5.CFrame * CFrame.new(0,-20,0) | |
1042 | BallOfDeathShape.Scale = BallOfDeathShape.Scale + Vector3.new(4,4,4) | |
1043 | wait() | |
1044 | end | |
1045 | elseif not nottransform then | |
1046 | for i = 1, 190 do | |
1047 | BallOfDeath.BrickColor = TheCore.BrickColor | |
1048 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5+ .02 * math.sin(sine/8), 0) * CFrame.Angles(math.rad(-8), math.rad(0 * math.cos(sine/8)), math.rad(0)), .3) | |
1049 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(0)),.4) | |
1050 | TORSOLERP.C0 = TORSOLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1051 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.55 + .02 * math.sin(sine/8), .15) * CFrame.Angles(math.rad(0 * math.sin(sine/8)), math.rad(0 + 2 * math.sin(sine/8)), math.rad(-2 - 0 * math.sin(sine/8))), .3) | |
1052 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.58, .1 + 0.05 * math.sin(sine/8), 0.1) * CFrame.Angles(math.rad(2 - 2 * math.sin(sine/8)), math.rad(15 - 2 * math.sin(sine/8)), math.rad(-8 - 1 * math.sin(sine/8))), .3) | |
1053 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.8 + .02 * math.sin(sine/8), .2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(2 + 0 * math.sin(sine/8))), .3) | |
1054 | BallOfDeath.CFrame = pBase5.CFrame * CFrame.new(0,-20,0) | |
1055 | BallOfDeathShape.Scale = BallOfDeathShape.Scale + Vector3.new(2,2,2) | |
1056 | wait() | |
1057 | end | |
1058 | end | |
1059 | minsou = coroutine.wrap(function() | |
1060 | for i = 1, 50 do | |
1061 | mylegacy.Volume = mylegacy.Volume - 0.08 | |
1062 | wait() | |
1063 | end | |
1064 | mylegacy:Remove() | |
1065 | end) | |
1066 | minsou() | |
1067 | quicklerpppp = coroutine.wrap(function() | |
1068 | for i = 1, 10 do | |
1069 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,1,0) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(0)), 0.4) | |
1070 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.55, 0.1, 0) * CFrame.Angles(math.rad(0), math.rad(1), math.rad(-5)), 0.5) | |
1071 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5) | |
1072 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.5) | |
1073 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(3)), 0.5) | |
1074 | wait() | |
1075 | end | |
1076 | hum.WalkSpeed = 18 | |
1077 | attacking = false | |
1078 | end) | |
1079 | quicklerpppp() | |
1080 | LightOfDeath = Instance.new("Part", Torso) | |
1081 | LightOfDeath.Size = Vector3.new(0.5, 0.5, 0.5) | |
1082 | LightOfDeath.Material = "Neon" | |
1083 | LightOfDeath.BrickColor = TheColor | |
1084 | LightOfDeath.Transparency = 1 | |
1085 | LightOfDeath.Anchored = true | |
1086 | LightOfDeath.CanCollide = false | |
1087 | LightOfDeathMESH = Instance.new("SpecialMesh", LightOfDeath) | |
1088 | LightOfDeathMESH.MeshType = "Cylinder" | |
1089 | LightOfDeathMESH.Scale = Vector3.new(1000,3,3) | |
1090 | LightOfDeath.CFrame = CFrame.new(mouse.Hit.p) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)) | |
1091 | removeuseless:AddItem(LightOfDeath,25) | |
1092 | removeuseless:AddItem(BallOfDeath,25) | |
1093 | positioning = coroutine.wrap(function() | |
1094 | BallOfDeath.CFrame = BallOfDeath.CFrame:lerp(CFrame.new(mouse.Hit.p) * CFrame.new(0,250,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
1095 | while acti do | |
1096 | LightOfDeath.BrickColor = TheCore.BrickColor | |
1097 | BallOfDeath.BrickColor = TheCore.BrickColor | |
1098 | BallOfDeath.CFrame = BallOfDeath.CFrame:lerp(CFrame.new(mouse.Hit.p) * CFrame.new(0,250,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),.1) | |
1099 | LightOfDeath.CFrame = LightOfDeath.CFrame:lerp(CFrame.new(mouse.Hit.p) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),.1) | |
1100 | wait() | |
1101 | end | |
1102 | end) | |
1103 | positioning() | |
1104 | wait(1) | |
1105 | debounce = false | |
1106 | attacking = false | |
1107 | quickcourrr = coroutine.wrap(function() | |
1108 | for i = 1, 100 do | |
1109 | LightOfDeath.Transparency = LightOfDeath.Transparency - 0.01 | |
1110 | wait() | |
1111 | end | |
1112 | end) | |
1113 | quickcourrr() | |
1114 | soundofdoom = Instance.new("Sound", LightOfDeath) | |
1115 | soundofdoom.SoundId = "rbxassetid://1545630949" | |
1116 | soundofdoom.Volume = 10 | |
1117 | soundofdoom:Play() | |
1118 | wait(9) | |
1119 | acti = false | |
1120 | LightOfDeath.Anchored = true | |
1121 | rays = Instance.new("Part", Torso) | |
1122 | rays.Size = Vector3.new(1, 1, 1) | |
1123 | rays.Transparency = 0 | |
1124 | rays.BrickColor = TheColor | |
1125 | rays.Material = "Neon" | |
1126 | rays.Anchored = true | |
1127 | rays.CanCollide = false | |
1128 | rays.CFrame = LightOfDeath.CFrame * CFrame.new(250,0,0) * CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)) | |
1129 | raysmesh = Instance.new("SpecialMesh", rays) | |
1130 | raysmesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1131 | raysmesh.Scale = Vector3.new(1, 1, 1) | |
1132 | rays2 = Instance.new("Part", Torso) | |
1133 | rays2.Size = Vector3.new(1, 1, 1) | |
1134 | rays2.Transparency = 0 | |
1135 | rays2.BrickColor = TheColor | |
1136 | rays2.Material = "Neon" | |
1137 | rays2.Anchored = true | |
1138 | rays2.CanCollide = false | |
1139 | rays2.CFrame = LightOfDeath.CFrame * CFrame.new(200,0,0) * CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)) | |
1140 | raysmesh2 = Instance.new("SpecialMesh", rays2) | |
1141 | raysmesh2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1142 | raysmesh2.Scale = Vector3.new(1, 1, 1) | |
1143 | rays3 = Instance.new("Part", Torso) | |
1144 | rays3.Size = Vector3.new(1, 1, 1) | |
1145 | rays3.Transparency = 0 | |
1146 | rays3.BrickColor = TheColor | |
1147 | rays3.Material = "Neon" | |
1148 | rays3.Anchored = true | |
1149 | rays3.CanCollide = false | |
1150 | rays3.CFrame = LightOfDeath.CFrame * CFrame.new(150,0,0) * CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)) | |
1151 | raysmesh3 = Instance.new("SpecialMesh", rays3) | |
1152 | raysmesh3.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1153 | raysmesh3.Scale = Vector3.new(1, 1, 1) | |
1154 | rays4 = Instance.new("Part", Torso) | |
1155 | rays4.Size = Vector3.new(1, 1, 1) | |
1156 | rays4.Transparency = 0 | |
1157 | rays4.BrickColor = TheColor | |
1158 | rays4.Material = "Neon" | |
1159 | rays4.Anchored = true | |
1160 | rays4.CanCollide = false | |
1161 | rays4.CFrame = LightOfDeath.CFrame * CFrame.new(100,0,0) * CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)) | |
1162 | raysmesh4 = Instance.new("SpecialMesh", rays4) | |
1163 | raysmesh4.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1164 | raysmesh4.Scale = Vector3.new(1, 1, 1) | |
1165 | rays5 = Instance.new("Part", Torso) | |
1166 | rays5.Size = Vector3.new(1, 1, 1) | |
1167 | rays5.Transparency = 0 | |
1168 | rays5.BrickColor = TheColor | |
1169 | rays5.Material = "Neon" | |
1170 | rays5.Anchored = true | |
1171 | rays5.CanCollide = false | |
1172 | rays5.CFrame = LightOfDeath.CFrame * CFrame.new(50,0,0) * CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)) | |
1173 | raysmesh5 = Instance.new("SpecialMesh", rays5) | |
1174 | raysmesh5.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1175 | raysmesh5.Scale = Vector3.new(1, 1, 1) | |
1176 | rays6 = Instance.new("Part", Torso) | |
1177 | rays6.Size = Vector3.new(1, 1, 1) | |
1178 | rays6.Transparency = 0 | |
1179 | rays6.BrickColor = TheColor | |
1180 | rays6.Material = "Neon" | |
1181 | rays6.Anchored = true | |
1182 | rays6.CanCollide = false | |
1183 | rays6.CFrame = LightOfDeath.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)) | |
1184 | raysmesh6 = Instance.new("SpecialMesh", rays6) | |
1185 | raysmesh6.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1186 | raysmesh6.Scale = Vector3.new(1, 1, 1) | |
1187 | ff = coroutine.wrap(function() | |
1188 | for i = 1, 100 do | |
1189 | raysmesh.Scale = raysmesh.Scale + Vector3.new(6,6,6) | |
1190 | rays.Transparency = rays.Transparency + 0.03 | |
1191 | raysmesh2.Scale = raysmesh2.Scale + Vector3.new(6,6,6) | |
1192 | rays2.Transparency = rays2.Transparency + 0.03 | |
1193 | raysmesh3.Scale = raysmesh3.Scale + Vector3.new(6,6,6) | |
1194 | rays3.Transparency = rays3.Transparency + 0.03 | |
1195 | raysmesh4.Scale = raysmesh4.Scale + Vector3.new(6,6,6) | |
1196 | rays4.Transparency = rays4.Transparency + 0.03 | |
1197 | raysmesh5.Scale = raysmesh5.Scale + Vector3.new(6,6,6) | |
1198 | rays5.Transparency = rays5.Transparency + 0.03 | |
1199 | raysmesh6.Scale = raysmesh6.Scale + Vector3.new(6,6,6) | |
1200 | rays6.Transparency = rays6.Transparency + 0.03 | |
1201 | wait() | |
1202 | end | |
1203 | end) | |
1204 | ff() | |
1205 | blastwave = Instance.new("Part", Torso) | |
1206 | blastwave.Size = Vector3.new(1, 1, 1) | |
1207 | blastwave.Transparency = 0 | |
1208 | blastwave.BrickColor = TheColor | |
1209 | blastwave.Material = "Neon" | |
1210 | blastwave.Anchored = true | |
1211 | blastwave.CanCollide = false | |
1212 | blastwave.CFrame = CFrame.new(LightOfDeath.Position) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
1213 | removeuseless:AddItem(blastwave,10) | |
1214 | DDTblastwave = Instance.new("SpecialMesh", blastwave) | |
1215 | DDTblastwave.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1216 | DDTblastwave.Scale = Vector3.new(1, 1, 1) | |
1217 | blastwave2 = Instance.new("Part", Torso) | |
1218 | blastwave2.Size = Vector3.new(1, 1, 1) | |
1219 | blastwave2.Transparency = 0 | |
1220 | blastwave2.BrickColor = TheColor | |
1221 | blastwave2.Material = "Neon" | |
1222 | blastwave2.Anchored = true | |
1223 | blastwave2.CanCollide = false | |
1224 | blastwave2.CFrame = CFrame.new(LightOfDeath.Position) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
1225 | removeuseless:AddItem(blastwave2,10) | |
1226 | DDTblastwave2 = Instance.new("SpecialMesh", blastwave2) | |
1227 | DDTblastwave2.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1228 | DDTblastwave2.Scale = Vector3.new(1, 1, 1) | |
1229 | blastwave3 = Instance.new("Part", Torso) | |
1230 | blastwave3.Size = Vector3.new(1, 1, 1) | |
1231 | blastwave3.Transparency = 0 | |
1232 | blastwave3.BrickColor = TheColor | |
1233 | blastwave3.Material = "Neon" | |
1234 | blastwave3.Anchored = true | |
1235 | blastwave3.CanCollide = false | |
1236 | blastwave3.CFrame = CFrame.new(LightOfDeath.Position) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
1237 | removeuseless:AddItem(blastwave3,10) | |
1238 | DDTblastwave3 = Instance.new("SpecialMesh", blastwave3) | |
1239 | DDTblastwave3.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1240 | DDTblastwave3.Scale = Vector3.new(1, 1, 1) | |
1241 | blastwave4 = Instance.new("Part", Torso) | |
1242 | blastwave4.Size = Vector3.new(1, 1, 1) | |
1243 | blastwave4.Transparency = 0 | |
1244 | blastwave4.BrickColor = TheColor | |
1245 | blastwave4.Material = "Neon" | |
1246 | blastwave4.Anchored = true | |
1247 | blastwave4.CanCollide = false | |
1248 | blastwave4.CFrame = CFrame.new(LightOfDeath.Position) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
1249 | removeuseless:AddItem(blastwave4,10) | |
1250 | DDTblastwave4 = Instance.new("SpecialMesh", blastwave4) | |
1251 | DDTblastwave4.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1252 | DDTblastwave4.Scale = Vector3.new(1, 1, 1) | |
1253 | blastwave5 = Instance.new("Part", Torso) | |
1254 | blastwave5.Size = Vector3.new(1, 1, 1) | |
1255 | blastwave5.Transparency = 0 | |
1256 | blastwave5.BrickColor = TheColor | |
1257 | blastwave5.Material = "Neon" | |
1258 | blastwave5.Anchored = true | |
1259 | blastwave5.CanCollide = false | |
1260 | blastwave5.CFrame = CFrame.new(LightOfDeath.Position) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
1261 | removeuseless:AddItem(blastwave5,10) | |
1262 | DDTblastwave5 = Instance.new("SpecialMesh", blastwave5) | |
1263 | DDTblastwave5.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1264 | DDTblastwave5.Scale = Vector3.new(1, 1, 1) | |
1265 | Blastcircle = Instance.new("Part", Torso) | |
1266 | Blastcircle.Material = "Neon" | |
1267 | Blastcircle.Anchored = true | |
1268 | Blastcircle.Transparency = 0 | |
1269 | Blastcircle.CanCollide = false | |
1270 | Blastcircle.BrickColor = TheColor | |
1271 | Blastcircle.Size = Vector3.new(10,10,10) | |
1272 | removeuseless:AddItem(Blastcircle,10) | |
1273 | BlastShape = Instance.new("SpecialMesh", Blastcircle) | |
1274 | BlastShape.MeshType = "Sphere" | |
1275 | BlastShape.Scale = Vector3.new(0.1,0.1,0.1) | |
1276 | Blastcircle.CFrame = LightOfDeath.CFrame | |
1277 | Blastcircle2 = Instance.new("Part", Torso) | |
1278 | Blastcircle2.Material = "Neon" | |
1279 | Blastcircle2.Anchored = true | |
1280 | Blastcircle2.Transparency = 0 | |
1281 | Blastcircle2.CanCollide = false | |
1282 | Blastcircle2.BrickColor = TheColor | |
1283 | Blastcircle2.Size = Vector3.new(10,10,10) | |
1284 | removeuseless:AddItem(Blastcircle2,10) | |
1285 | BlastShape2 = Instance.new("SpecialMesh", Blastcircle2) | |
1286 | BlastShape2.MeshType = "Sphere" | |
1287 | BlastShape2.Scale = Vector3.new(0.1,0.1,0.1) | |
1288 | Blastcircle2.CFrame = LightOfDeath.CFrame | |
1289 | Blastcircle3 = Instance.new("Part", Torso) | |
1290 | Blastcircle3.Material = "Neon" | |
1291 | Blastcircle3.Anchored = true | |
1292 | Blastcircle3.Transparency = 0 | |
1293 | Blastcircle3.CanCollide = false | |
1294 | Blastcircle3.BrickColor = TheColor | |
1295 | Blastcircle3.Size = Vector3.new(10,10,10) | |
1296 | removeuseless:AddItem(Blastcircle3,10) | |
1297 | BlastShape3 = Instance.new("SpecialMesh", Blastcircle3) | |
1298 | BlastShape3.MeshType = "Sphere" | |
1299 | BlastShape3.Scale = Vector3.new(0.1,0.1,0.1) | |
1300 | Blastcircle3.CFrame = LightOfDeath.CFrame | |
1301 | Blastcircle4 = Instance.new("Part", Torso) | |
1302 | Blastcircle4.Material = "Neon" | |
1303 | Blastcircle4.Anchored = true | |
1304 | Blastcircle4.Transparency = 0 | |
1305 | Blastcircle4.CanCollide = false | |
1306 | Blastcircle4.BrickColor = TheColor | |
1307 | Blastcircle4.Size = Vector3.new(10,10,10) | |
1308 | removeuseless:AddItem(Blastcircle4,10) | |
1309 | BlastShape4 = Instance.new("SpecialMesh", Blastcircle4) | |
1310 | BlastShape4.MeshType = "Sphere" | |
1311 | BlastShape4.Scale = Vector3.new(0.1,0.1,0.1) | |
1312 | Blastcircle4.CFrame = LightOfDeath.CFrame | |
1313 | Blastcircle5 = Instance.new("Part", Torso) | |
1314 | Blastcircle5.Material = "Neon" | |
1315 | Blastcircle5.Anchored = true | |
1316 | Blastcircle5.Transparency = 0 | |
1317 | Blastcircle5.CanCollide = false | |
1318 | Blastcircle5.BrickColor = TheColor | |
1319 | Blastcircle5.Size = Vector3.new(10,10,10) | |
1320 | removeuseless:AddItem(Blastcircle5,10) | |
1321 | BlastShape5 = Instance.new("SpecialMesh", Blastcircle5) | |
1322 | BlastShape5.MeshType = "Sphere" | |
1323 | BlastShape5.Scale = Vector3.new(0.1,0.1,0.1) | |
1324 | Blastcircle5.CFrame = LightOfDeath.CFrame | |
1325 | ||
1326 | shockwav = Instance.new("Part", Torso) | |
1327 | shockwav.Size = Vector3.new(1, 1, 1) | |
1328 | shockwav.Transparency = 0 | |
1329 | shockwav.BrickColor = TheColor | |
1330 | shockwav.Material = "Neon" | |
1331 | shockwav.Anchored = true | |
1332 | shockwav.CanCollide = false | |
1333 | shockwav.CFrame = LightOfDeath.CFrame * CFrame.new(0,-2.2,0) * CFrame.Angles(math.random(1, 100), math.random(1, 100), math.random(1, 100)) | |
1334 | removeuseless:AddItem(shockwav,10) | |
1335 | dea = Instance.new("SpecialMesh", shockwav) | |
1336 | dea.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1337 | dea.Scale = Vector3.new(0.1, 0.1, 0.1) | |
1338 | shockwav.CFrame = LightOfDeath.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(math.rad(90), 0, 0) | |
1339 | shockwav2 = Instance.new("Part", Torso) | |
1340 | shockwav2.Size = Vector3.new(1, 1, 1) | |
1341 | shockwav2.Transparency = 0 | |
1342 | shockwav2.BrickColor = TheColor | |
1343 | shockwav2.Material = "Neon" | |
1344 | shockwav2.Anchored = true | |
1345 | shockwav2.CanCollide = false | |
1346 | shockwav2.CFrame = LightOfDeath.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(math.rad(90), 0, 0) | |
1347 | removeuseless:AddItem(shockwav2,10) | |
1348 | dea2 = Instance.new("SpecialMesh", shockwav2) | |
1349 | dea2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1350 | dea2.Scale = Vector3.new(0.1, 0.4, 0.1) | |
1351 | shockwav2.CFrame = LightOfDeath.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(math.rad(90), 0, 0) | |
1352 | local Hit = damagealll(150,LightOfDeath.Position) | |
1353 | for _,v in pairs(Hit) do | |
1354 | local velo2 = Instance.new("BodyVelocity", v) | |
1355 | velo2.MaxForce = Vector3.new(999999, 999999, 999999) | |
1356 | removeuseless:AddItem(velo2,2) | |
1357 | if absoluteannihilation then | |
1358 | v:Remove() | |
1359 | else | |
1360 | v:BreakJoints() | |
1361 | end | |
1362 | end | |
1363 | opopo = coroutine.wrap(function() | |
1364 | for i = 1, 200 do | |
1365 | shockwav2.BrickColor = TheCore.BrickColor | |
1366 | shockwav.BrickColor = TheCore.BrickColor | |
1367 | Blastcircle5.BrickColor = TheCore.BrickColor | |
1368 | Blastcircle4.BrickColor = TheCore.BrickColor | |
1369 | Blastcircle3.BrickColor = TheCore.BrickColor | |
1370 | Blastcircle2.BrickColor = TheCore.BrickColor | |
1371 | Blastcircle.BrickColor = TheCore.BrickColor | |
1372 | blastwave5.BrickColor = TheCore.BrickColor | |
1373 | blastwave4.BrickColor = TheCore.BrickColor | |
1374 | blastwave3.BrickColor = TheCore.BrickColor | |
1375 | blastwave2.BrickColor = TheCore.BrickColor | |
1376 | blastwave.BrickColor = TheCore.BrickColor | |
1377 | dea.Scale = dea.Scale + Vector3.new(10,10,10) | |
1378 | shockwav.Transparency = shockwav.Transparency + 0.02 | |
1379 | dea2.Scale = dea2.Scale + Vector3.new(5,5,5) | |
1380 | shockwav2.Transparency = shockwav2.Transparency + 0.010 | |
1381 | DDTblastwave.Scale = DDTblastwave.Scale + Vector3.new(5, .5, 5) | |
1382 | DDTblastwave2.Scale = DDTblastwave2.Scale + Vector3.new(12, 12, 12) | |
1383 | DDTblastwave3.Scale = DDTblastwave3.Scale + Vector3.new(4, .5, 4) | |
1384 | DDTblastwave4.Scale = DDTblastwave4.Scale + Vector3.new(6, .5, 6) | |
1385 | DDTblastwave5.Scale = DDTblastwave5.Scale + Vector3.new(2, .1, 2) | |
1386 | blastwave.Transparency = blastwave.Transparency + .01 | |
1387 | blastwave2.Transparency = blastwave2.Transparency + .03 | |
1388 | blastwave3.Transparency = blastwave3.Transparency + .02 | |
1389 | blastwave4.Transparency = blastwave4.Transparency + .015 | |
1390 | blastwave5.Transparency = blastwave5.Transparency + .01 | |
1391 | BlastShape.Scale = BlastShape.Scale + Vector3.new(1,1,1) | |
1392 | BlastShape2.Scale = BlastShape2.Scale + Vector3.new(1.4,1.4,1.4) | |
1393 | BlastShape3.Scale = BlastShape3.Scale + Vector3.new(1.1,1.1,1.1) | |
1394 | BlastShape4.Scale = BlastShape4.Scale + Vector3.new(1.05,1.05,1.05) | |
1395 | Blastcircle.Transparency = Blastcircle.Transparency + .01 | |
1396 | Blastcircle2.Transparency = Blastcircle2.Transparency + .02 | |
1397 | Blastcircle3.Transparency = Blastcircle3.Transparency + .012 | |
1398 | Blastcircle4.Transparency = Blastcircle4.Transparency + .015 | |
1399 | Blastcircle5.Transparency = Blastcircle5.Transparency + 0.01 | |
1400 | BlastShape5.Scale = BlastShape5.Scale + Vector3.new(1.5,1.5,1.5) | |
1401 | wait() | |
1402 | end | |
1403 | end) | |
1404 | opopo() | |
1405 | waff = coroutine.wrap(function() | |
1406 | for i = 1, 100 do | |
1407 | LightOfDeath.Transparency = LightOfDeath.Transparency + 0.03 | |
1408 | BallOfDeath.Transparency = BallOfDeath.Transparency + 0.03 | |
1409 | TheEndTimeWave2 = Instance.new("Part", Torso) | |
1410 | TheEndTimeWave2.Size = Vector3.new(1, 1, 1) | |
1411 | TheEndTimeWave2.Transparency = 0.4 | |
1412 | TheEndTimeWave2.BrickColor = TheCore.BrickColor | |
1413 | TheEndTimeWave2.Material = "Neon" | |
1414 | TheEndTimeWave2.Anchored = true | |
1415 | TheEndTimeWave2.CanCollide = false | |
1416 | TheEndTimeWave2.CFrame = LightOfDeath.CFrame * CFrame.Angles(math.random(1, 100),math.random(1, 100),math.random(1, 100)) | |
1417 | DDT2 = Instance.new("SpecialMesh", TheEndTimeWave2) | |
1418 | DDT2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1419 | DDT2.Scale = Vector3.new(1, 1, 1) | |
1420 | removeuseless:AddItem(TheEndTimeWave2,3) | |
1421 | table.insert(th4,TheEndTimeWave2) | |
1422 | table.insert(ExtremeM,DDT2) | |
1423 | EnddOrb2 = Instance.new("Part", Torso) | |
1424 | EnddOrb2.Size = Vector3.new(0.5, 0.5, 0.5) | |
1425 | EnddOrb2.Material = "Neon" | |
1426 | EnddOrb2.BrickColor = TheColor | |
1427 | EnddOrb2.Transparency = 0 | |
1428 | EnddOrb2.Anchored = true | |
1429 | EnddOrb2.CanCollide = false | |
1430 | EnddOrbMESH2 = Instance.new("SpecialMesh", EnddOrb2) | |
1431 | EnddOrbMESH2.MeshType = "Sphere" | |
1432 | EnddOrbMESH2.Scale = Vector3.new(2,2,2) | |
1433 | EnddOrb2.CFrame = LightOfDeath.CFrame * CFrame.new(0, 0, 0) | |
1434 | removeuseless:AddItem(EnddOrb2,2) | |
1435 | table.insert(ExtremeM,EnddOrbMESH2) | |
1436 | table.insert(SlowlyFade,EnddOrb2) | |
1437 | TheEndTimeWave2.BrickColor = TheCore.BrickColor | |
1438 | EnddOrb2.BrickColor = TheCore.BrickColor | |
1439 | wait() | |
1440 | end | |
1441 | end) | |
1442 | waff() | |
1443 | shockingshock = coroutine.wrap(function() | |
1444 | for i = 1, 50 do | |
1445 | shockwave3 = Instance.new("Part", Torso) | |
1446 | shockwave3.Size = Vector3.new(1, 1, 1) | |
1447 | shockwave3.Transparency = 0 | |
1448 | shockwave3.BrickColor = TheCore.BrickColor | |
1449 | shockwave3.Anchored = true | |
1450 | shockwave3.CanCollide = false | |
1451 | shockwave3.CFrame = LightOfDeath.CFrame * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(-90)) | |
1452 | sh3 = Instance.new("SpecialMesh", shockwave3) | |
1453 | sh3.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1454 | sh3.Scale = Vector3.new(15, 0, 15) | |
1455 | removeuseless:AddItem(shockwave3,3) | |
1456 | table.insert(SlowlyFade,shockwave3) | |
1457 | table.insert(ExtremeM2,sh3) | |
1458 | wait(.1) | |
1459 | end | |
1460 | end) | |
1461 | shockingshock() | |
1462 | dmgcollateral = coroutine.wrap(function() | |
1463 | for i = 1, 85 do | |
1464 | local Hit2 = damagealll(90,LightOfDeath.Position) | |
1465 | for _,v in pairs(Hit2) do | |
1466 | local velo2 = Instance.new("BodyVelocity", v) | |
1467 | velo2.MaxForce = Vector3.new(999999, 999999, 999999) | |
1468 | removeuseless:AddItem(velo2,2) | |
1469 | v:BreakJoints() | |
1470 | wait() | |
1471 | end | |
1472 | end | |
1473 | end) | |
1474 | dmgcollateral() | |
1475 | rays:Remove() | |
1476 | rays2:Remove() | |
1477 | rays3:Remove() | |
1478 | rays4:Remove() | |
1479 | rays5:Remove() | |
1480 | rays6:Remove() | |
1481 | wait(5) | |
1482 | doombounce = false | |
1483 | end | |
1484 | end) | |
1485 | ||
1486 | mouse.KeyDown:connect(function(Press) | |
1487 | Press=Press:lower() | |
1488 | if Press=='r' then | |
1489 | if debounce then return end | |
1490 | debounce = true | |
1491 | attacking = true | |
1492 | tr1.Enabled = true | |
1493 | gpf = true | |
1494 | hum.WalkSpeed = 0 | |
1495 | for i = 1, 3 do | |
1496 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,3,0), .4) | |
1497 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,-.2) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.8) | |
1498 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,-.2) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.8) | |
1499 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.5) | |
1500 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.5) | |
1501 | wait() | |
1502 | end | |
1503 | quickcour2 = coroutine.wrap(function() | |
1504 | while gpf do | |
1505 | local Hit = damagealll(8,Torso.Position) | |
1506 | for _,v in pairs(Hit) do | |
1507 | local velo2 = Instance.new("BodyVelocity", v) | |
1508 | velo2.MaxForce = Vector3.new(999999, 999999, 999999) | |
1509 | removeuseless:AddItem(velo2,2) | |
1510 | if absoluteannihilation then | |
1511 | v:BreakJoints() | |
1512 | else | |
1513 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(15,30)) | |
1514 | vsound = Instance.new("Sound",v:FindFirstChildOfClass("Humanoid").Torso) | |
1515 | vsound.SoundId = "rbxassetid://944772014" | |
1516 | vsound.Volume = 3 | |
1517 | vsound:Play() | |
1518 | removeuseless:AddItem(vsound,5) | |
1519 | wait(.1) | |
1520 | end | |
1521 | end | |
1522 | wait() | |
1523 | end | |
1524 | end) | |
1525 | quickcour2() | |
1526 | socnot = coroutine.wrap(function() | |
1527 | for i = 1, 6 do | |
1528 | lunge:Play() | |
1529 | wait(.1) | |
1530 | end | |
1531 | end) | |
1532 | socnot() | |
1533 | local fly = Instance.new("BodyVelocity", Torso) | |
1534 | fly.MaxForce = Vector3.new(999999, 999999, 999999) | |
1535 | fly.Velocity = Root.CFrame.lookVector * 90 | |
1536 | Torso.CFrame = Root.CFrame * CFrame.new(0,0,-.5) | |
1537 | t = 0 | |
1538 | for i = 1, 20 do | |
1539 | leftarmeffect = Instance.new("Part", Torso) | |
1540 | leftarmeffect.BrickColor = TheColor | |
1541 | leftarmeffect.Size = Vector3.new(1.001, 2.001, 1.001) | |
1542 | leftarmeffect.Material = "Neon" | |
1543 | leftarmeffect.Anchored = true | |
1544 | leftarmeffect.CanCollide = false | |
1545 | leftarmeffect.CFrame = LeftArm.CFrame | |
1546 | table.insert(SlowlyFade,leftarmeffect) | |
1547 | removeuseless:AddItem(leftarmeffect,2) | |
1548 | rightarmeffect = Instance.new("Part", Torso) | |
1549 | rightarmeffect.BrickColor = TheColor | |
1550 | rightarmeffect.Size = Vector3.new(1.001, 2.001, 1.001) | |
1551 | rightarmeffect.Material = "Neon" | |
1552 | rightarmeffect.Anchored = true | |
1553 | rightarmeffect.CanCollide = false | |
1554 | rightarmeffect.CFrame = RightArm.CFrame | |
1555 | table.insert(SlowlyFade,rightarmeffect) | |
1556 | removeuseless:AddItem(rightarmeffect,2) | |
1557 | leftlegeffect = Instance.new("Part", Torso) | |
1558 | leftlegeffect.BrickColor = BrickColor.new("Really black") | |
1559 | leftlegeffect.Size = Vector3.new(1.001, 2.001, 1.001) | |
1560 | leftlegeffect.Material = "Neon" | |
1561 | leftlegeffect.Anchored = true | |
1562 | leftlegeffect.CanCollide = false | |
1563 | leftlegeffect.CFrame = LeftLeg.CFrame | |
1564 | table.insert(SlowlyFade,leftlegeffect) | |
1565 | removeuseless:AddItem(leftlegeffect,2) | |
1566 | rightlegeffect = Instance.new("Part", Torso) | |
1567 | rightlegeffect.BrickColor = BrickColor.new("Really black") | |
1568 | rightlegeffect.Size = Vector3.new(1.001, 2.001, 1.001) | |
1569 | rightlegeffect.Material = "Neon" | |
1570 | rightlegeffect.Anchored = true | |
1571 | rightlegeffect.CanCollide = false | |
1572 | rightlegeffect.CFrame = RightLeg.CFrame | |
1573 | table.insert(SlowlyFade,rightlegeffect) | |
1574 | removeuseless:AddItem(rightlegeffect,2) | |
1575 | t = t - 60 | |
1576 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(t), math.rad(0), math.rad(0)), 0.6) | |
1577 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.4) | |
1578 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.4) | |
1579 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.5) | |
1580 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.5) | |
1581 | wait() | |
1582 | end | |
1583 | fly:Remove() | |
1584 | debounce = false | |
1585 | damagedebounce = false | |
1586 | attacking = false | |
1587 | gpf = false | |
1588 | tr1.Enabled = false | |
1589 | hum.WalkSpeed = 18 | |
1590 | end | |
1591 | end) | |
1592 | ||
1593 | mouse.KeyDown:connect(function(Press) | |
1594 | Press=Press:lower() | |
1595 | if Press=='k' then | |
1596 | if debounce then return end | |
1597 | debounce = true | |
1598 | attacking = true | |
1599 | for i = 1, 6 do | |
1600 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.6) | |
1601 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6) | |
1602 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, .5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.6) | |
1603 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-32)), 0.6) | |
1604 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87),math.rad(80),math.rad(0)), 0.6) | |
1605 | wait() | |
1606 | end | |
1607 | htbox = Instance.new("Part", LeftLeg) | |
1608 | htbox.Transparency = 1 | |
1609 | htbox.CanCollide = false | |
1610 | htbox.Size = Vector3.new(1.001,3,1.001) | |
1611 | htboxweld = weldBetween(htbox,LeftLeg) | |
1612 | htboxweld.C0 = CFrame.new(0,0,0) | |
1613 | htbox.Touched:connect(function(hit) | |
1614 | if hit.Parent:IsA("Part") then | |
1615 | elseif hit.Parent:IsA("SpecialMesh") then | |
1616 | elseif hit.Parent.Name == game.Players.LocalPlayer.Name then | |
1617 | elseif hit.Parent:findFirstChildOfClass("Humanoid") then | |
1618 | if damagedebounce == true then return end | |
1619 | damagedebounce = true | |
1620 | Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid") | |
1621 | if absoluteannihilation then | |
1622 | Slachtoffer.Parent:BreakJoints() | |
1623 | else | |
1624 | Slachtoffer:TakeDamage(math.random(7,11)) | |
1625 | mostrandom = mostrandomsoundtable[math.random(1,#mostrandomsoundtable)] | |
1626 | hitsound = Instance.new("Sound", Slachtoffer.Torso) | |
1627 | hitsound.SoundId = "rbxassetid://"..mostrandom | |
1628 | hitsound.Volume = 4 | |
1629 | hitsound:Play() | |
1630 | removeuseless:AddItem(hitsound,4) | |
1631 | end | |
1632 | end | |
1633 | end) | |
1634 | for i = 1, 6 do | |
1635 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.6) | |
1636 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, .5) * CFrame.Angles(math.rad(36), math.rad(0), math.rad(0)), 0.6) | |
1637 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, -.5) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.6) | |
1638 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.8, 1.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-72)), 0.6) | |
1639 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87),math.rad(80),math.rad(0)), 0.6) | |
1640 | wait() | |
1641 | end | |
1642 | attacking = false | |
1643 | debounce = false | |
1644 | damagedebounce = false | |
1645 | htbox:Remove() | |
1646 | end | |
1647 | end) | |
1648 | ||
1649 | mouse.KeyDown:connect(function(Press) | |
1650 | Press=Press:lower() | |
1651 | if Press=='j' then | |
1652 | if debounce then return end | |
1653 | debounce = true | |
1654 | attacking = true | |
1655 | step:Play() | |
1656 | hum.WalkSpeed = 0 | |
1657 | for i = 1, 6 do | |
1658 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4, 1, 0.501) * CFrame.Angles(math.rad(-80), math.rad(-40), math.rad(2)), 0.4) | |
1659 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, 0, .3) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.4) | |
1660 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(7), math.rad(0)), 0.4) | |
1661 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.2, .8) * CFrame.Angles(math.rad(-80), math.rad(10), math.rad(0)), 0.4) | |
1662 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 1.9, -.34) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(10)), 0.4) | |
1663 | wait() | |
1664 | end | |
1665 | local shockwefe = coroutine.wrap(function() | |
1666 | shockwave = Instance.new("Part", Torso) | |
1667 | shockwave.Size = Vector3.new(5, 5, 5) | |
1668 | shockwave.Transparency = 0 | |
1669 | shockwave.BrickColor = TheColor | |
1670 | shockwave.Anchored = true | |
1671 | shockwave.CanCollide = false | |
1672 | shockwave.CFrame = Root.CFrame*CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1673 | sh1 = Instance.new("SpecialMesh", shockwave) | |
1674 | sh1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1675 | sh1.Scale = Vector3.new(0, 0, 0) | |
1676 | removeuseless:AddItem(shockwave,2) | |
1677 | for i = 1, 100 do | |
1678 | sh1.Scale = sh1.Scale + Vector3.new(3,3,0) | |
1679 | shockwave.Transparency = shockwave.Transparency + 0.1 | |
1680 | wait() | |
1681 | end | |
1682 | end) | |
1683 | shockwefe() | |
1684 | for i = 1, 6 do | |
1685 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4, 1, 0.501) * CFrame.Angles(math.rad(-80), math.rad(-40), math.rad(2)), 0.6) | |
1686 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, 1.2, .3) * CFrame.Angles(math.rad(-90), math.rad(30), math.rad(0)), 0.6) | |
1687 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-80), math.rad(30), math.rad(0)), 0.6) | |
1688 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.2, .8) * CFrame.Angles(math.rad(-80), math.rad(10), math.rad(0)), 0.6) | |
1689 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 1.9, -.34) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(10)), 0.6) | |
1690 | wait() | |
1691 | end | |
1692 | energblast1 = Instance.new("Part", Torso) | |
1693 | energblast1.BrickColor = TheColor | |
1694 | energblast1.Anchored = true | |
1695 | energblast1.Shape = 0 | |
1696 | energblast1.Material = "Neon" | |
1697 | energblast1.CanCollide = false | |
1698 | energblast1.Size = Vector3.new(1,1,1) | |
1699 | energblast1.Transparency = 0 | |
1700 | energblast1.CFrame = Root.CFrame | |
1701 | removeuseless:AddItem(energblast1,2) | |
1702 | shockwave2 = Instance.new("Part", Torso) | |
1703 | shockwave2.Size = Vector3.new(5, 5, 5) | |
1704 | shockwave2.Transparency = 0 | |
1705 | shockwave2.BrickColor = TheColor | |
1706 | shockwave2.Anchored = true | |
1707 | shockwave2.CanCollide = false | |
1708 | shockwave2.CFrame = energblast1.CFrame*CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1709 | sh2 = Instance.new("SpecialMesh", shockwave2) | |
1710 | sh2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1711 | sh2.Scale = Vector3.new(0, 0, 0) | |
1712 | removeuseless:AddItem(shockwave2,4) | |
1713 | shockwave3 = Instance.new("Part", Torso) | |
1714 | shockwave3.Size = Vector3.new(5, 5, 5) | |
1715 | shockwave3.Transparency = 0 | |
1716 | shockwave3.BrickColor = TheColor | |
1717 | shockwave3.Anchored = true | |
1718 | shockwave3.CanCollide = false | |
1719 | shockwave3.CFrame = energblast1.CFrame*CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
1720 | sh3 = Instance.new("SpecialMesh", shockwave3) | |
1721 | sh3.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1722 | sh3.Scale = Vector3.new(0, 0, 0) | |
1723 | removeuseless:AddItem(shockwave3,4) | |
1724 | magicsound = Instance.new("Sound", energblast1) | |
1725 | magicsound.SoundId = "rbxassetid://750094966" | |
1726 | magicsound.Volume = 6 | |
1727 | magicsound:Play() | |
1728 | soundcoroutine = coroutine.wrap(function() | |
1729 | for i = 1, 100 do | |
1730 | magicsound.Volume = magicsound.Volume - 0.05 | |
1731 | wait() | |
1732 | end | |
1733 | end) | |
1734 | soundcoroutine() | |
1735 | removeuseless:AddItem(magicsound,5) | |
1736 | local Hit = damagealll(22,energblast1.Position) | |
1737 | for _,v in pairs(Hit) do | |
1738 | removeuseless:AddItem(velo2,1) | |
1739 | if absoluteannihilation then | |
1740 | v:BreakJoints() | |
1741 | else | |
1742 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(28,40)) | |
1743 | end | |
1744 | end | |
1745 | local cc = coroutine.wrap(function() | |
1746 | for i = 1, 60 do | |
1747 | energblast1.Size = energblast1.Size + Vector3.new(5,5,5) | |
1748 | energblast1.Transparency = energblast1.Transparency + 0.1 | |
1749 | sh2.Scale = sh2.Scale + Vector3.new(4,4,0) | |
1750 | shockwave2.Transparency = shockwave2.Transparency + 0.06 | |
1751 | sh3.Scale = sh3.Scale + Vector3.new(5,2,5) | |
1752 | shockwave3.Transparency = shockwave3.Transparency + 0.07 | |
1753 | wait() | |
1754 | end | |
1755 | end) | |
1756 | cc() | |
1757 | quicklerp = coroutine.wrap(function() | |
1758 | for i = 1, 6 do | |
1759 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4, 1, 0.501) * CFrame.Angles(math.rad(-80), math.rad(-40), math.rad(2)), 0.6) | |
1760 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.6) | |
1761 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-80), math.rad(-50), math.rad(0)), 0.6) | |
1762 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.6) | |
1763 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(3)), 0.6) | |
1764 | wait() | |
1765 | end | |
1766 | end) | |
1767 | quicklerp() | |
1768 | cc2 = coroutine.wrap(function() | |
1769 | local BV = Instance.new("BodyVelocity", Root) | |
1770 | BV.maxForce = Vector3.new(0,20000,0) | |
1771 | BV.P = 1000 | |
1772 | BV.velocity = Vector3.new(0,100,0) | |
1773 | wait(1) | |
1774 | BV:Remove() | |
1775 | end) | |
1776 | cc2() | |
1777 | cc3 = coroutine.wrap(function() | |
1778 | t = 0 | |
1779 | flipsound = Instance.new("Sound", Torso) | |
1780 | flipsound.SoundId = "rbxassetid://470532887" | |
1781 | flipsound.Looped = true | |
1782 | flipsound.Volume = 2 | |
1783 | flipsound.Pitch = 1.3 | |
1784 | flipsound:Play() | |
1785 | hum.WalkSpeed = 75 | |
1786 | for i = 1, 60 do | |
1787 | t = t + 40 | |
1788 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(t), math.rad(0), math.rad(0)), 0.6) | |
1789 | wait() | |
1790 | end | |
1791 | for i = 1, 10 do | |
1792 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6) | |
1793 | wait() | |
1794 | end | |
1795 | end) | |
1796 | cc3() | |
1797 | for i = 1, 70 do | |
1798 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.6) | |
1799 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.6) | |
1800 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6) | |
1801 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.5) | |
1802 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(3)), 0.5) | |
1803 | wait() | |
1804 | end | |
1805 | hum.WalkSpeed = 0 | |
1806 | landingsound:Play() | |
1807 | flipsound:Remove() | |
1808 | local shockwefe2 = coroutine.wrap(function() | |
1809 | shockwave2 = Instance.new("Part", Torso) | |
1810 | shockwave2.Size = Vector3.new(5, 5, 5) | |
1811 | shockwave2.Transparency = 0 | |
1812 | shockwave2.BrickColor = TheColor | |
1813 | shockwave2.Anchored = true | |
1814 | shockwave2.CanCollide = false | |
1815 | shockwave2.CFrame = Root.CFrame*CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1816 | sh2 = Instance.new("SpecialMesh", shockwave2) | |
1817 | sh2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1818 | sh2.Scale = Vector3.new(0, 0, 0) | |
1819 | removeuseless:AddItem(shockwave2,1) | |
1820 | for i = 1, 100 do | |
1821 | sh2.Scale = sh2.Scale + Vector3.new(2,2,0) | |
1822 | shockwave2.Transparency = shockwave2.Transparency + 0.1 | |
1823 | wait() | |
1824 | end | |
1825 | end) | |
1826 | shockwefe2() | |
1827 | for i = 1, 20 do | |
1828 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4, 1, 0.501) * CFrame.Angles(math.rad(-80), math.rad(-5), math.rad(0)), 0.3) | |
1829 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3) | |
1830 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(-10), math.rad(0)), 0.3) | |
1831 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.2, .8) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.3) | |
1832 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 1.9, -.34) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(10)), 0.3) | |
1833 | wait() | |
1834 | end | |
1835 | hum.WalkSpeed = 18 | |
1836 | debounce = false | |
1837 | attacking = false | |
1838 | end | |
1839 | end) | |
1840 | ||
1841 | mouse.KeyDown:connect(function(Press) | |
1842 | Press=Press:lower() | |
1843 | if Press=='p' then | |
1844 | if debounce then return end | |
1845 | debounce = true | |
1846 | attacking = true | |
1847 | tr1.Enabled = true | |
1848 | for i = 1, 5 do | |
1849 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(-35), math.rad(20), math.rad(0)), .6) | |
1850 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.58, .1, 0.1) * CFrame.Angles(math.rad(2), math.rad(15), math.rad(-8)), .6) | |
1851 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5, .25, -.4) * CFrame.Angles(math.rad(80), math.rad(0), math.rad(0)), 0.6) | |
1852 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, .5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.6) | |
1853 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.55, .15) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-2)), .6) | |
1854 | wait() | |
1855 | end | |
1856 | local shockwefe2 = coroutine.wrap(function() | |
1857 | shockwave2 = Instance.new("Part", Torso) | |
1858 | shockwave2.Size = Vector3.new(5, 5, 5) | |
1859 | shockwave2.Transparency = 0 | |
1860 | shockwave2.BrickColor = TheColor | |
1861 | shockwave2.Anchored = true | |
1862 | shockwave2.CanCollide = false | |
1863 | shockwave2.CFrame = Root.CFrame*CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1864 | sh2 = Instance.new("SpecialMesh", shockwave2) | |
1865 | sh2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1866 | sh2.Scale = Vector3.new(0, 0, 0) | |
1867 | removeuseless:AddItem(shockwave2,1) | |
1868 | shockwave3 = Instance.new("Part", Torso) | |
1869 | shockwave3.Size = Vector3.new(1, 1, 1) | |
1870 | shockwave3.Transparency = 0 | |
1871 | shockwave3.BrickColor = TheColor | |
1872 | shockwave3.Anchored = true | |
1873 | shockwave3.CanCollide = false | |
1874 | shockwave3.CFrame = Root.CFrame*CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
1875 | sh3 = Instance.new("SpecialMesh", shockwave3) | |
1876 | sh3.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1877 | sh3.Scale = Vector3.new(0, 0, 0) | |
1878 | removeuseless:AddItem(shockwave3,4) | |
1879 | for i = 1, 100 do | |
1880 | sh2.Scale = sh2.Scale + Vector3.new(2,2,0) | |
1881 | shockwave2.Transparency = shockwave2.Transparency + 0.1 | |
1882 | sh3.Scale = sh3.Scale + Vector3.new(2.5,.2,2.5) | |
1883 | shockwave3.Transparency = shockwave3.Transparency + 0.1 | |
1884 | wait() | |
1885 | end | |
1886 | end) | |
1887 | shockwefe2() | |
1888 | hohoho = coroutine.wrap(function() | |
1889 | for i = 1, 10 do | |
1890 | rings = Instance.new("Part", Torso) | |
1891 | rings.Size = Vector3.new(5, 5, 5) | |
1892 | rings.Transparency = 0.5 | |
1893 | rings.BrickColor = TheColor | |
1894 | rings.Anchored = true | |
1895 | rings.CanCollide = false | |
1896 | rings.CFrame = Root.CFrame*CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1897 | ringsh = Instance.new("SpecialMesh", rings) | |
1898 | ringsh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1899 | ringsh.Scale = Vector3.new(0, 0, 0) | |
1900 | removeuseless:AddItem(rings,2) | |
1901 | table.insert(Repeater,ringsh) | |
1902 | table.insert(nonmeshRepeater2,rings) | |
1903 | wait(.1) | |
1904 | end | |
1905 | end) | |
1906 | hohoho() | |
1907 | local BV = Instance.new("BodyVelocity", Root) | |
1908 | BV.maxForce = Vector3.new(0,20000,0) | |
1909 | BV.P = 1000 | |
1910 | BV.velocity = Vector3.new(0,50,0) | |
1911 | quickcour = coroutine.wrap(function() | |
1912 | t = 0 | |
1913 | for i = 1, 25 do | |
1914 | t = t + 1 | |
1915 | Root.CFrame = Root.CFrame * CFrame.Angles(math.rad(0),math.rad(0 + 50),0) | |
1916 | wait() | |
1917 | end | |
1918 | BV:Remove() | |
1919 | Root.CFrame = Root.CFrame * CFrame.Angles(math.rad(0),math.rad(0),0) | |
1920 | end) | |
1921 | quickcour() | |
1922 | local Hit = damagealll(5,Root.Position) | |
1923 | for _,v in pairs(Hit) do | |
1924 | if absoluteannihilation then | |
1925 | v:BreakJoints() | |
1926 | else | |
1927 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(30,45) | |
1928 | end | |
1929 | end | |
1930 | quickcour2 = coroutine.wrap(function() | |
1931 | jumpsound = Instance.new("Sound", Torso) | |
1932 | jumpsound.Volume = 10 | |
1933 | jumpsound.SoundId = "rbxassetid://1574842373" | |
1934 | jumpsound:Play() | |
1935 | removeuseless:AddItem(jumpsound,3) | |
1936 | for i = 1, 9 do | |
1937 | lunge:Play() | |
1938 | wait(.1) | |
1939 | end | |
1940 | lunge2:Play() | |
1941 | end) | |
1942 | quickcour2() | |
1943 | for i = 1, 25 do | |
1944 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .6) | |
1945 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.58, .1, 0.1) * CFrame.Angles(math.rad(2), math.rad(15), math.rad(-8)), .6) | |
1946 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5, 1, -.1) * CFrame.Angles(math.rad(190), math.rad(0), math.rad(0)), 0.6) | |
1947 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.5) | |
1948 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.5) | |
1949 | wait() | |
1950 | end | |
1951 | attacking = false | |
1952 | debounce = false | |
1953 | tr1.Enabled = false | |
1954 | end | |
1955 | end) | |
1956 | ||
1957 | mouse.KeyDown:connect(function(Press) | |
1958 | Press=Press:lower() | |
1959 | if Press=='e' then | |
1960 | if debounce then return end | |
1961 | debounce = true | |
1962 | attacking = true | |
1963 | continue = true | |
1964 | hum.WalkSpeed = 0 | |
1965 | g1 = Instance.new("BodyGyro", Root) | |
1966 | g1.D = 175 | |
1967 | g1.P = 20000 | |
1968 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1969 | g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p) | |
1970 | lmon8 = lmon7[math.random(1,#lmon7)] | |
1971 | local b1 = Instance.new("BillboardGui",Head) | |
1972 | b1.Size = UDim2.new(0,100,0,40) | |
1973 | b1.StudsOffset = Vector3.new(0,3,0) | |
1974 | b1.Adornee = Head | |
1975 | local b2 = Instance.new("TextLabel",b1) | |
1976 | b2.BackgroundTransparency = 1 | |
1977 | b2.Text = ""..lmon8 | |
1978 | b2.Font = "Garamond" | |
1979 | b2.TextSize = 0 | |
1980 | b2.TextStrokeTransparency = 1 | |
1981 | b2.TextColor3 = BrickColor.new("Lime green").Color | |
1982 | b2.TextStrokeColor3 = Color3.new(0,0,0) | |
1983 | b2.Size = UDim2.new(1,0,0.5,0) | |
1984 | billboardcour = coroutine.wrap(function() | |
1985 | for i = 1, 10 do | |
1986 | b2.TextStrokeTransparency = b2.TextStrokeTransparency - 0.1 | |
1987 | b2.TextSize = b2.TextSize + 3 | |
1988 | wait() | |
1989 | end | |
1990 | wait(1) | |
1991 | for i = 1, 10 do | |
1992 | b2.TextStrokeTransparency = b2.TextStrokeTransparency + 0.1 | |
1993 | b2.TextSize = b2.TextSize - 3 | |
1994 | wait() | |
1995 | end | |
1996 | b1:Remove() | |
1997 | end) | |
1998 | billboardcour() | |
1999 | for i = 1, 10 do | |
2000 | g1.cframe = g1.cframe:lerp(CFrame.new(Root.Position,mouse.Hit.p),.5) | |
2001 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87),math.rad(80),math.rad(0)), 0.6) | |
2002 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.45,1.3,0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(5)), 0.4) | |
2003 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.25, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5) | |
2004 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 1.8, .2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.5) | |
2005 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 1.8, 0.2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(3)), 0.5) | |
2006 | wait() | |
2007 | end | |
2008 | lilball = Instance.new("Part", RightArm) | |
2009 | lilball.Material = "Neon" | |
2010 | lilball.CanCollide = false | |
2011 | lilball.Anchored = true | |
2012 | lilball.Transparency = 1 | |
2013 | lilball.BrickColor = TheColor | |
2014 | lilball.Size = Vector3.new(.1,.1,.1) | |
2015 | lilballShape = Instance.new("SpecialMesh", lilball) | |
2016 | lilballShape.MeshType = "Sphere" | |
2017 | lilballShape.Scale = Vector3.new(10,10,10) | |
2018 | lilball.CFrame = RightArm.CFrame * CFrame.new(0,-1.5,0) | |
2019 | removeuseless:AddItem(lilball,5) | |
2020 | qucicour = coroutine.wrap(function() | |
2021 | for i = 1, 10 do | |
2022 | lilball.Transparency = lilball.Transparency - 0.05 | |
2023 | wait() | |
2024 | end | |
2025 | end) | |
2026 | qucicour() | |
2027 | SwordPortal = Instance.new("Part", Torso) | |
2028 | SwordPortal.Size = Vector3.new(0.5, 0.5, 0.5) | |
2029 | SwordPortal.Material = "Neon" | |
2030 | SwordPortal.BrickColor = TheColor | |
2031 | SwordPortal.Transparency = 0 | |
2032 | SwordPortal.Anchored = true | |
2033 | SwordPortal.CanCollide = false | |
2034 | SwordPortalMESH = Instance.new("SpecialMesh", SwordPortal) | |
2035 | SwordPortalMESH.MeshType = "Cylinder" | |
2036 | SwordPortalMESH.Scale = Vector3.new(.2,0.01,0.01) | |
2037 | SwordPortal.CFrame = CFrame.new(mouse.Hit.p) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)) | |
2038 | swordportalsound = Instance.new("Sound", SwordPortal) | |
2039 | swordportalsound.SoundId = "rbxassetid://159296220" | |
2040 | swordportalsound.Volume = 5 | |
2041 | swordportalsound:Play() | |
2042 | removeuseless:AddItem(swordportalsound,3) | |
2043 | sizeincreasor = coroutine.wrap(function() | |
2044 | while continue do | |
2045 | SwordPortalMESH.Scale = SwordPortalMESH.Scale + Vector3.new(0,8,8) | |
2046 | wait() | |
2047 | end | |
2048 | end) | |
2049 | sizeincreasor() | |
2050 | for i = 1, 20 do | |
2051 | wait() | |
2052 | end | |
2053 | continue = false | |
2054 | local openshocks = coroutine.wrap(function() | |
2055 | for i = 1, 5 do | |
2056 | openshock2 = Instance.new("Part", Torso) | |
2057 | openshock2.Size = Vector3.new(1, 1, 1) | |
2058 | openshock2.Transparency = 0 | |
2059 | openshock2.BrickColor = TheColor | |
2060 | openshock2.Material = "Neon" | |
2061 | openshock2.Anchored = true | |
2062 | openshock2.CanCollide = false | |
2063 | openshock2.CFrame = CFrame.new(SwordPortal.Position) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2064 | DDTopenshock2 = Instance.new("SpecialMesh", openshock2) | |
2065 | DDTopenshock2.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2066 | DDTopenshock2.Scale = Vector3.new(1, 2, 1) | |
2067 | removeuseless:AddItem(openshock2,2) | |
2068 | table.insert(ExtremeM,DDTopenshock2) | |
2069 | table.insert(SlowlyFade,openshock2) | |
2070 | openshock = Instance.new("Part", Torso) | |
2071 | openshock.Size = Vector3.new(1, 1, 1) | |
2072 | openshock.Transparency = 0 | |
2073 | openshock.BrickColor = TheColor | |
2074 | openshock.Material = "Neon" | |
2075 | openshock.Anchored = true | |
2076 | openshock.CanCollide = false | |
2077 | openshock.CFrame = CFrame.new(SwordPortal.Position) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)) | |
2078 | DDTopenshock = Instance.new("SpecialMesh", openshock) | |
2079 | DDTopenshock.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2080 | DDTopenshock.Scale = Vector3.new(1, 2, 1) | |
2081 | removeuseless:AddItem(openshock,2) | |
2082 | table.insert(ExtremeM,DDTopenshock) | |
2083 | table.insert(SlowlyFade,openshock) | |
2084 | wait(.05) | |
2085 | end | |
2086 | end) | |
2087 | openshocks() | |
2088 | bigopenshock = coroutine.wrap(function() | |
2089 | bigopenshock = Instance.new("Part", Torso) | |
2090 | bigopenshock.Size = Vector3.new(1, 1, 1) | |
2091 | bigopenshock.Transparency = 0 | |
2092 | bigopenshock.BrickColor = TheColor | |
2093 | bigopenshock.Material = "Neon" | |
2094 | bigopenshock.Anchored = true | |
2095 | bigopenshock.CanCollide = false | |
2096 | bigopenshock.CFrame = CFrame.new(SwordPortal.Position) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)) | |
2097 | DDTbigopenshock = Instance.new("SpecialMesh", bigopenshock) | |
2098 | DDTbigopenshock.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2099 | DDTbigopenshock.Scale = Vector3.new(1, 2, 1) | |
2100 | removeuseless:AddItem(bigopenshock,2) | |
2101 | table.insert(m3,DDTbigopenshock) | |
2102 | table.insert(SlowlyFade,bigopenshock) | |
2103 | end) | |
2104 | removeuseless:AddItem(swordoutofportal,6) | |
2105 | swordoutofportal = Instance.new("Sound", SwordPortal) | |
2106 | swordoutofportal.SoundId = "rbxassetid://1201801124" | |
2107 | swordoutofportal.Volume = 5 | |
2108 | swordoutofportal:Play() | |
2109 | GiantSword = Instance.new("Part", Torso) | |
2110 | GiantSword.Size = Vector3.new(0.5, 0.5, 0.5) | |
2111 | GiantSword.Material = "Neon" | |
2112 | GiantSword.BrickColor = TheColor | |
2113 | GiantSword.Transparency = .2 | |
2114 | GiantSword.Anchored = true | |
2115 | GiantSword.CanCollide = false | |
2116 | GiantSwordMESH = Instance.new("SpecialMesh", GiantSword) | |
2117 | GiantSwordMESH.Scale = Vector3.new(15,15,15) | |
2118 | GiantSwordMESH.MeshId = "rbxassetid://94840342" | |
2119 | GiantSword.CFrame = SwordPortal.CFrame * CFrame.new(-50,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)) | |
2120 | move = coroutine.wrap(function() | |
2121 | local Hit = damagealll(35,SwordPortal.Position) | |
2122 | for _,v in pairs(Hit) do | |
2123 | if absoluteannihilation then | |
2124 | v:BreakJoints() | |
2125 | else | |
2126 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(30,40)) | |
2127 | end | |
2128 | end | |
2129 | for i = 1, 40 do | |
2130 | SwordPortal.Transparency = SwordPortal.Transparency + 0.05 | |
2131 | GiantSword.CFrame = GiantSword.CFrame * CFrame.new(0,10,0) * CFrame.Angles(math.rad(0),math.rad(0 + 20),math.rad(0)) | |
2132 | wait() | |
2133 | end | |
2134 | end) | |
2135 | move() | |
2136 | mvcm = coroutine.wrap(function() | |
2137 | wait(1) | |
2138 | SwordPortal:Remove() | |
2139 | debounce = false | |
2140 | attacking = false | |
2141 | hum.WalkSpeed = 18 | |
2142 | end) | |
2143 | mvcm() | |
2144 | g1:Remove() | |
2145 | for i = 1, 30 do | |
2146 | lilball.Transparency = lilball.Transparency + 0.05 | |
2147 | GiantSword.Transparency = GiantSword.Transparency + 0.03 | |
2148 | GiantSword.CFrame = GiantSword.CFrame * CFrame.new(0,10,0) * CFrame.Angles(math.rad(0),math.rad(0 + 20),math.rad(0)) | |
2149 | wait() | |
2150 | end | |
2151 | GiantSword:Remove() | |
2152 | end | |
2153 | end) | |
2154 | ||
2155 | mouse.KeyDown:connect(function(Press) | |
2156 | Press=Press:lower() | |
2157 | if Press=='g' then | |
2158 | if debounce then return end | |
2159 | debounce = true | |
2160 | attacking = true | |
2161 | damagedebounce = false | |
2162 | lmon4 = lmon3[math.random(1,#lmon3)] | |
2163 | local b1 = Instance.new("BillboardGui",Head) | |
2164 | b1.Size = UDim2.new(0,100,0,40) | |
2165 | b1.StudsOffset = Vector3.new(0,3,0) | |
2166 | b1.Adornee = Head | |
2167 | local b2 = Instance.new("TextLabel",b1) | |
2168 | b2.BackgroundTransparency = 1 | |
2169 | b2.Text = ""..lmon4 | |
2170 | b2.Font = "Garamond" | |
2171 | b2.TextSize = 0 | |
2172 | b2.TextStrokeTransparency = 1 | |
2173 | b2.TextColor3 = BrickColor.new("Lime green").Color | |
2174 | b2.TextStrokeColor3 = Color3.new(0,0,0) | |
2175 | b2.Size = UDim2.new(1,0,0.5,0) | |
2176 | billboardcour = coroutine.wrap(function() | |
2177 | for i = 1, 10 do | |
2178 | b2.TextStrokeTransparency = b2.TextStrokeTransparency - 0.1 | |
2179 | b2.TextSize = b2.TextSize + 3 | |
2180 | wait() | |
2181 | end | |
2182 | wait(2) | |
2183 | for i = 1, 10 do | |
2184 | b2.TextStrokeTransparency = b2.TextStrokeTransparency + 0.1 | |
2185 | b2.TextSize = b2.TextSize - 3 | |
2186 | wait() | |
2187 | end | |
2188 | b1:Remove() | |
2189 | end) | |
2190 | billboardcour() | |
2191 | quickcour = coroutine.wrap(function() | |
2192 | spawnsound = Instance.new("Sound", RightArm) | |
2193 | spawnsound.SoundId = "rbxassetid://159332197" | |
2194 | spawnsound.Volume = 5 | |
2195 | spawnsound:Play() | |
2196 | removeuseless:AddItem(spawnsound,4) | |
2197 | Scythe = Instance.new("Part", Torso) | |
2198 | Scythe.Size = Vector3.new(0.5, 0.5, 0.5) | |
2199 | Scythe.Material = "Neon" | |
2200 | Scythe.BrickColor = TheColor | |
2201 | Scythe.Transparency = 1 | |
2202 | Scythe.CanCollide = false | |
2203 | ScytheMESH = Instance.new("SpecialMesh", Scythe) | |
2204 | ScytheMESH.Scale = Vector3.new(2,2,2) | |
2205 | ScytheMESH.MeshId = "rbxassetid://218497396" | |
2206 | ScytheWeld = weldBetween(Scythe,RightArm) | |
2207 | ScytheWeld.C0 = CFrame.new(0,-1.5,-1.45) * CFrame.Angles(math.rad(-100),math.rad(180),math.rad(0)) | |
2208 | for i = 1, 20 do | |
2209 | Scythe.Transparency = Scythe.Transparency - 0.04 | |
2210 | wait() | |
2211 | end | |
2212 | end) | |
2213 | quickcour() | |
2214 | hum.WalkSpeed = 0 | |
2215 | for i = 1, 25 do | |
2216 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .5) | |
2217 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5) | |
2218 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.5) | |
2219 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(3)), 0.5) | |
2220 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) | |
2221 | wait() | |
2222 | end | |
2223 | g1 = Instance.new("BodyGyro", Root) | |
2224 | g1.D = 175 | |
2225 | g1.P = 20000 | |
2226 | g1.MaxTorque = Vector3.new(0,9000,0) | |
2227 | g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p) | |
2228 | hum.WalkSpeed = 14 | |
2229 | for i = 1, 8 do | |
2230 | g1.cframe = g1.cframe:lerp(CFrame.new(Root.Position,mouse.Hit.p),.5) | |
2231 | ScytheWeld.C0 = ScytheWeld.C0:lerp(CFrame.new(0,-1.5,-1.45) * CFrame.Angles(math.rad(-140),math.rad(90),math.rad(0)), .5) | |
2232 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .5) | |
2233 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)), 0.5) | |
2234 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-110),math.rad(-40),math.rad(0)), 0.5) | |
2235 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.5) | |
2236 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(3)), 0.5) | |
2237 | wait() | |
2238 | end | |
2239 | htbox = Instance.new("Part", Scythe) | |
2240 | htbox.CFrame = Scythe.CFrame | |
2241 | htbox.Transparency = 1 | |
2242 | htbox.CanCollide = false | |
2243 | htbox.Size = Vector3.new(.40,7,3) | |
2244 | htboxweld = weldBetween(htbox,Scythe) | |
2245 | A = Instance.new("Attachment", htbox) | |
2246 | A.Position = Vector3.new(0,-3.2,0) | |
2247 | A.Name = "A" | |
2248 | B = Instance.new("Attachment", htbox) | |
2249 | B.Position = Vector3.new(0,3.2,0) | |
2250 | B.Name = "B" | |
2251 | tr11 = Instance.new("Trail", Scythe) | |
2252 | tr11.Attachment0 = A | |
2253 | tr11.Attachment1 = B | |
2254 | tr11.Enabled = true | |
2255 | tr11.Lifetime = .8 | |
2256 | tr11.TextureMode = "Static" | |
2257 | tr11.LightInfluence = 0 | |
2258 | tr11.Color = ColorSequence.new(BrickColor.new"Lime green".Color,BrickColor.new"Really black".Color) | |
2259 | tr11.Transparency = NumberSequence.new(0, 1) | |
2260 | htbox.Touched:connect(function(hit) | |
2261 | if hit.Parent:IsA("Part") then | |
2262 | elseif hit.Parent:IsA("SpecialMesh") then | |
2263 | elseif hit.Parent.Name == game.Players.LocalPlayer.Name then | |
2264 | elseif hit.Parent:findFirstChildOfClass("Humanoid") then | |
2265 | if damagedebounce == true then return end | |
2266 | damagedebounce = true | |
2267 | Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid") | |
2268 | quickcour = coroutine.wrap(function() | |
2269 | Slachtoffer.WalkSpeed = 6 | |
2270 | wait(1) | |
2271 | Slachtoffer.WalkSpeed = 16 | |
2272 | end) | |
2273 | quickcour() | |
2274 | if absoluteannihilation then | |
2275 | Slachtoffer.Parent:BreakJoints() | |
2276 | else | |
2277 | Slachtoffer:TakeDamage(math.random(35,40)) | |
2278 | rdnm = soundtable[math.random(1,#soundtable)] | |
2279 | slashwound = Instance.new("Sound", Slachtoffer.Torso) | |
2280 | slashwound.SoundId = "rbxassetid://"..rdnm | |
2281 | slashwound.Volume = 4 | |
2282 | slashwound:Play() | |
2283 | removeuseless:AddItem(slashwound,2) | |
2284 | end | |
2285 | end | |
2286 | end) | |
2287 | lunge:Play() | |
2288 | t = 0 | |
2289 | for i = 1, 8 do | |
2290 | g1.cframe = g1.cframe:lerp(CFrame.new(Root.Position,mouse.Hit.p),.5) | |
2291 | ScytheWeld.C0 = ScytheWeld.C0:lerp(CFrame.new(0,-1.5,-1.45) * CFrame.Angles(math.rad(-150),math.rad(180),math.rad(0)), .6) | |
2292 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), .6) | |
2293 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87),math.rad(80),math.rad(0)), 0.6) | |
2294 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.55,.15) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)), .6) | |
2295 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .6) | |
2296 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.8, .2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(2)), .6) | |
2297 | wait() | |
2298 | end | |
2299 | damagedebounce = false | |
2300 | hum.WalkSpeed = 8 | |
2301 | t = 0 | |
2302 | for i = 1, 8 do | |
2303 | t = t + 50 | |
2304 | g1.cframe = g1.cframe:lerp(CFrame.new(Root.Position,mouse.Hit.p),.5) | |
2305 | ScytheWeld.C0 = ScytheWeld.C0:lerp(CFrame.new(0,-1.5,-1.45) * CFrame.Angles(math.rad(-150),math.rad(180),math.rad(0 + t)), .6) | |
2306 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5) | |
2307 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.41,1.3,0) * CFrame.Angles(math.rad(181),math.rad(5),math.rad(10)), 0.4) | |
2308 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87),math.rad(80),math.rad(0)), 0.6) | |
2309 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(40), math.rad(0)), 0.5) | |
2310 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 2, 0) * CFrame.Angles(math.rad(12), math.rad(3), math.rad(-3)), 0.5) | |
2311 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 2.0, 0) * CFrame.Angles(math.rad(-5), math.rad(7), math.rad(3)), 0.5) | |
2312 | wait() | |
2313 | end | |
2314 | htbox:Remove() | |
2315 | htbox = Instance.new("Part", Scythe) | |
2316 | htbox.CFrame = Scythe.CFrame | |
2317 | htbox.Transparency = 1 | |
2318 | htbox.CanCollide = false | |
2319 | htbox.Size = Vector3.new(.40,7,3) | |
2320 | htboxweld = weldBetween(htbox,Scythe) | |
2321 | A = Instance.new("Attachment", htbox) | |
2322 | A.Position = Vector3.new(0,-3.2,0) | |
2323 | A.Name = "A" | |
2324 | B = Instance.new("Attachment", htbox) | |
2325 | B.Position = Vector3.new(0,3.2,0) | |
2326 | B.Name = "B" | |
2327 | htbox.Touched:connect(function(hit) | |
2328 | if hit.Parent:IsA("Part") then | |
2329 | elseif hit.Parent:IsA("SpecialMesh") then | |
2330 | elseif hit.Parent.Name == game.Players.LocalPlayer.Name then | |
2331 | elseif hit.Parent:findFirstChildOfClass("Humanoid") then | |
2332 | if damagedebounce == true then return end | |
2333 | damagedebounce = true | |
2334 | Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid") | |
2335 | quickcour = coroutine.wrap(function() | |
2336 | Slachtoffer.WalkSpeed = 6 | |
2337 | wait(1) | |
2338 | Slachtoffer.WalkSpeed = 16 | |
2339 | end) | |
2340 | quickcour() | |
2341 | if absoluteannihilation then | |
2342 | Slachtoffer.Parent:BreakJoints() | |
2343 | else | |
2344 | Slachtoffer:TakeDamage(math.random(25,68)) | |
2345 | rdnm = soundtable[math.random(1,#soundtable)] | |
2346 | slashwound = Instance.new("Sound", Slachtoffer.Torso) | |
2347 | slashwound.SoundId = "rbxassetid://"..rdnm | |
2348 | slashwound.Volume = 4 | |
2349 | slashwound:Play() | |
2350 | removeuseless:AddItem(slashwound,2) | |
2351 | end | |
2352 | end | |
2353 | end) | |
2354 | lunge3:Play() | |
2355 | for i = 1, 15 do | |
2356 | g1.cframe = g1.cframe:lerp(CFrame.new(Root.Position,mouse.Hit.p),.5) | |
2357 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.6) | |
2358 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 0.7, 1) * CFrame.Angles(math.rad(-40), math.rad(48), math.rad(0)), 0.5) | |
2359 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .5) | |
2360 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(0)), 0.6) | |
2361 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.6) | |
2362 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(3)), 0.6) | |
2363 | wait() | |
2364 | end | |
2365 | htbox:Remove() | |
2366 | hum.WalkSpeed = 18 | |
2367 | tr11.Enabled = false | |
2368 | for i = 1, 10 do | |
2369 | Scythe.Transparency = Scythe.Transparency + 0.1 | |
2370 | wait() | |
2371 | end | |
2372 | tr11:Remove() | |
2373 | Scythe:Remove() | |
2374 | attacking = false | |
2375 | debounce = false | |
2376 | damagedebounce = false | |
2377 | g1:Remove() | |
2378 | end | |
2379 | end) | |
2380 | ||
2381 | mouse.KeyDown:connect(function(Press) | |
2382 | Press=Press:lower() | |
2383 | if Press=='y' then | |
2384 | if debounce then return end | |
2385 | debounce = true | |
2386 | attacking = true | |
2387 | bbno = true | |
2388 | jjo = true | |
2389 | borb = true | |
2390 | hum.WalkSpeed = 0 | |
2391 | energyburst:Play() | |
2392 | energyburst2:Play() | |
2393 | g1 = Instance.new("BodyGyro", Root) | |
2394 | g1.D = 175 | |
2395 | g1.P = 20000 | |
2396 | g1.MaxTorque = Vector3.new(0,9000,0) | |
2397 | g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p) | |
2398 | lmon2 = lmon[math.random(1,#lmon)] | |
2399 | local b1 = Instance.new("BillboardGui",Head) | |
2400 | b1.Size = UDim2.new(0,100,0,40) | |
2401 | b1.StudsOffset = Vector3.new(0,3,0) | |
2402 | b1.Adornee = Head | |
2403 | local b2 = Instance.new("TextLabel",b1) | |
2404 | b2.BackgroundTransparency = 1 | |
2405 | b2.Text = ""..lmon2 | |
2406 | b2.Font = "Garamond" | |
2407 | b2.TextSize = 0 | |
2408 | b2.TextStrokeTransparency = 1 | |
2409 | b2.TextColor3 = BrickColor.new("Lime green").Color | |
2410 | b2.TextStrokeColor3 = Color3.new(0,0,0) | |
2411 | b2.Size = UDim2.new(1,0,0.5,0) | |
2412 | billboardcour = coroutine.wrap(function() | |
2413 | for i = 1, 15 do | |
2414 | b2.TextStrokeTransparency = b2.TextStrokeTransparency - 0.05 | |
2415 | b2.TextSize = b2.TextSize + 2 | |
2416 | wait() | |
2417 | end | |
2418 | wait(2) | |
2419 | for i = 1, 15 do | |
2420 | b2.TextStrokeTransparency = b2.TextStrokeTransparency + 0.05 | |
2421 | b2.TextSize = b2.TextSize - 2 | |
2422 | wait() | |
2423 | end | |
2424 | b1:Remove() | |
2425 | end) | |
2426 | billboardcour() | |
2427 | TheWind = Instance.new("Part", Torso) | |
2428 | TheWind.Size = Vector3.new(0.5, 0.5, 0.5) | |
2429 | TheWind.Material = "Neon" | |
2430 | TheWind.BrickColor = TheColor | |
2431 | TheWind.Transparency = 1 | |
2432 | TheWind.CanCollide = false | |
2433 | TheWindMESH = Instance.new("SpecialMesh", TheWind) | |
2434 | TheWindMESH.Scale = Vector3.new(4,4,4) | |
2435 | TheWindMESH.MeshId = "rbxassetid://168892432" | |
2436 | TheWindWeld = weldBetween(TheWind,Root) | |
2437 | TheWindWeld.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2438 | TheWind2 = Instance.new("Part", Torso) | |
2439 | TheWind2.Size = Vector3.new(0.5, 0.5, 0.5) | |
2440 | TheWind2.Material = "Neon" | |
2441 | TheWind2.BrickColor = TheColor | |
2442 | TheWind2.Transparency = 1 | |
2443 | TheWind2.CanCollide = false | |
2444 | TheWindMESH2 = Instance.new("SpecialMesh", TheWind2) | |
2445 | TheWindMESH2.Scale = Vector3.new(6,6,6) | |
2446 | TheWindMESH2.MeshId = "rbxassetid://168892432" | |
2447 | TheWindWeld2 = weldBetween(TheWind2,Root) | |
2448 | TheWindWeld2.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2449 | TheWind3 = Instance.new("Part", Torso) | |
2450 | TheWind3.Size = Vector3.new(0.5, 0.5, 0.5) | |
2451 | TheWind3.Material = "Neon" | |
2452 | TheWind3.BrickColor = TheColor | |
2453 | TheWind3.Transparency = 1 | |
2454 | TheWind3.CanCollide = false | |
2455 | TheWindMESH3 = Instance.new("SpecialMesh", TheWind3) | |
2456 | TheWindMESH3.Scale = Vector3.new(2,2,2) | |
2457 | TheWindMESH3.MeshId = "rbxassetid://168892432" | |
2458 | TheWindWeld3 = weldBetween(TheWind3,Root) | |
2459 | TheWindWeld3.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2460 | quickcour = coroutine.wrap(function() | |
2461 | for i = 1, 25 do | |
2462 | TheWind.Transparency = TheWind.Transparency - 0.01 | |
2463 | TheWind2.Transparency = TheWind2.Transparency - 0.005 | |
2464 | TheWind3.Transparency = TheWind3.Transparency - 0.012 | |
2465 | wait() | |
2466 | end | |
2467 | end) | |
2468 | quickcour() | |
2469 | quickcour2 = coroutine.wrap(function() | |
2470 | while jjo do | |
2471 | TheWindWeld.C0 = TheWindWeld.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0-25),0) | |
2472 | TheWindWeld2.C0 = TheWindWeld2.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0+25),0) | |
2473 | TheWindWeld3.C0 = TheWindWeld3.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0+25),0) | |
2474 | wait() | |
2475 | end | |
2476 | end) | |
2477 | quickcour2() | |
2478 | local shockwefe2 = coroutine.wrap(function() | |
2479 | shockwave2 = Instance.new("Part", Torso) | |
2480 | shockwave2.Size = Vector3.new(5, 5, 5) | |
2481 | shockwave2.Transparency = 0 | |
2482 | shockwave2.BrickColor = TheColor | |
2483 | shockwave2.Anchored = true | |
2484 | shockwave2.CanCollide = false | |
2485 | shockwave2.CFrame = Root.CFrame*CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2486 | sh2 = Instance.new("SpecialMesh", shockwave2) | |
2487 | sh2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2488 | sh2.Scale = Vector3.new(0, 0, 0) | |
2489 | removeuseless:AddItem(shockwave2,2) | |
2490 | shockwave3 = Instance.new("Part", Torso) | |
2491 | shockwave3.Size = Vector3.new(1, 1, 1) | |
2492 | shockwave3.Transparency = 0 | |
2493 | shockwave3.BrickColor = TheColor | |
2494 | shockwave3.Anchored = true | |
2495 | shockwave3.CanCollide = false | |
2496 | shockwave3.CFrame = Root.CFrame*CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2497 | sh3 = Instance.new("SpecialMesh", shockwave3) | |
2498 | sh3.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2499 | sh3.Scale = Vector3.new(0, 0, 0) | |
2500 | removeuseless:AddItem(shockwave3,4) | |
2501 | for i = 1, 100 do | |
2502 | sh2.Scale = sh2.Scale + Vector3.new(2,2,0) | |
2503 | shockwave2.Transparency = shockwave2.Transparency + 0.1 | |
2504 | sh3.Scale = sh3.Scale + Vector3.new(2.5,.2,2.5) | |
2505 | shockwave3.Transparency = shockwave3.Transparency + 0.1 | |
2506 | wait() | |
2507 | end | |
2508 | end) | |
2509 | shockwefe2() | |
2510 | for i = 1, 5 do | |
2511 | g1.cframe = g1.cframe:lerp(CFrame.new(Root.Position,mouse.Hit.p),.5) | |
2512 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0),.6) | |
2513 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(-8)), .6) | |
2514 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .6) | |
2515 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(1), math.rad(-2)), .6) | |
2516 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)), .6) | |
2517 | wait() | |
2518 | end | |
2519 | courcour = coroutine.wrap(function() | |
2520 | while bbno do | |
2521 | sho3 = Instance.new("Part", Torso) | |
2522 | sho3.Size = Vector3.new(1, 1, 1) | |
2523 | sho3.Transparency = 0 | |
2524 | sho3.BrickColor = TheColor | |
2525 | sho3.Anchored = true | |
2526 | sho3.CanCollide = false | |
2527 | sho3.CFrame = Root.CFrame*CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2528 | shot3 = Instance.new("SpecialMesh", sho3) | |
2529 | shot3.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2530 | shot3.Scale = Vector3.new(0, 0, 0) | |
2531 | table.insert(th5,shot3) | |
2532 | table.insert(nonmeshRepeater2,sho3) | |
2533 | removeuseless:AddItem(shot3,2) | |
2534 | wait(.1) | |
2535 | end | |
2536 | end) | |
2537 | courcour() | |
2538 | charge:Play() | |
2539 | for i = 1, 6 do | |
2540 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0,math.rad(50),0),.6) | |
2541 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.1,1.3,1.1) * CFrame.Angles(math.rad(180),math.rad(-50),math.rad(0)), 0.4) | |
2542 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .6) | |
2543 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(1), math.rad(-2)), .6) | |
2544 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)), .6) | |
2545 | wait() | |
2546 | end | |
2547 | Blaster = Instance.new("Part", RightArm) | |
2548 | Blaster.Material = "Neon" | |
2549 | Blaster.Anchored = true | |
2550 | Blaster.CanCollide = false | |
2551 | Blaster.BrickColor = TheColor | |
2552 | Blaster.Size = Vector3.new(.1,.1,.1) | |
2553 | BlasterShape = Instance.new("SpecialMesh", Blaster) | |
2554 | BlasterShape.MeshType = "Sphere" | |
2555 | BlasterShape.Scale = Vector3.new(.1,.1,.1) | |
2556 | Blaster.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) | |
2557 | sou = coroutine.wrap(function() | |
2558 | sm = Instance.new("Sound", Blaster) | |
2559 | sm.SoundId = "rbxassetid://907530407" | |
2560 | sm.Looped = true | |
2561 | sm.Volume = 0 | |
2562 | sm.Pitch = .8 | |
2563 | sm:Play() | |
2564 | for i = 1, 50 do | |
2565 | sm.Volume = sm.Volume + .1 | |
2566 | wait() | |
2567 | end | |
2568 | end) | |
2569 | sou() | |
2570 | local EVENMORECIRCLES = coroutine.wrap(function() | |
2571 | for i = 1, 30 do | |
2572 | circlescircles = Instance.new("Part", Torso) | |
2573 | circlescircles.Size = Vector3.new(1, 1, 1) | |
2574 | circlescircles.Transparency = 0.3 | |
2575 | circlescircles.BrickColor = TheColor | |
2576 | circlescircles.Material = "Neon" | |
2577 | circlescircles.Anchored = true | |
2578 | circlescircles.CanCollide = false | |
2579 | circlescircles.CFrame = Blaster.CFrame * CFrame.Angles(math.random(1,100),math.random(1,100),math.random(1,100)) | |
2580 | circlescirclesmesh = Instance.new("SpecialMesh", circlescircles) | |
2581 | circlescirclesmesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2582 | circlescirclesmesh.Scale = Vector3.new(15, 15, 15) | |
2583 | removeuseless:AddItem(circlescircles,1.5) | |
2584 | table.insert(nonmeshRepeater2,circlescircles) | |
2585 | table.insert(th2,circlescirclesmesh) | |
2586 | wait(.1) | |
2587 | end | |
2588 | end) | |
2589 | EVENMORECIRCLES() | |
2590 | for i = 1, 30 do | |
2591 | BlasterShape.Scale = BlasterShape.Scale + Vector3.new(.25,.25,.25) | |
2592 | BlasterBall1 = Instance.new("Part", RightArm) | |
2593 | BlasterBall1.Material = "Neon" | |
2594 | BlasterBall1.Anchored = true | |
2595 | BlasterBall1.Transparency = .8 | |
2596 | BlasterBall1.CanCollide = false | |
2597 | BlasterBall1.BrickColor = TheColor | |
2598 | BlasterBall1.Size = Vector3.new(.1,.1,.1) | |
2599 | BlasterBall1Shape = Instance.new("SpecialMesh", BlasterBall1) | |
2600 | BlasterBall1Shape.MeshType = "Sphere" | |
2601 | BlasterBall1Shape.Scale = Vector3.new(25,25,25) | |
2602 | BlasterBall1.CFrame = Blaster.CFrame | |
2603 | table.insert(th2,BlasterBall1Shape) | |
2604 | table.insert(nonmeshRepeater2,BlasterBall1) | |
2605 | removeuseless:AddItem(BlasterBall1Shape,4) | |
2606 | wait(.1) | |
2607 | end | |
2608 | for i = 1, 3 do | |
2609 | BlasterShape.Scale = BlasterShape.Scale - Vector3.new(2,2,2) | |
2610 | wait() | |
2611 | end | |
2612 | wait(.5) | |
2613 | sm:Remove() | |
2614 | kiready:Play() | |
2615 | aura:Stop() | |
2616 | for i = 1, 5 do | |
2617 | BlasterShape.Scale = BlasterShape.Scale + Vector3.new(4,4,4) | |
2618 | wait() | |
2619 | end | |
2620 | wait(.3) | |
2621 | bbno = false | |
2622 | boomcour = coroutine.wrap(function() | |
2623 | for i = 1, 10 do | |
2624 | TheWindMESH.Scale = TheWindMESH.Scale + Vector3.new(1,1,1) | |
2625 | TheWindMESH2.Scale = TheWindMESH2.Scale + Vector3.new(1,1,1) | |
2626 | TheWindMESH3.Scale = TheWindMESH3.Scale + Vector3.new(1,1,1) | |
2627 | TheWind.Transparency = TheWind.Transparency + 0.1 | |
2628 | TheWind2.Transparency = TheWind2.Transparency + 0.1 | |
2629 | TheWind3.Transparency = TheWind3.Transparency + 0.1 | |
2630 | wait() | |
2631 | end | |
2632 | TheWind:Remove() | |
2633 | TheWind2:Remove() | |
2634 | TheWind3:Remove() | |
2635 | end) | |
2636 | boomcour() | |
2637 | for i = 1, 10 do | |
2638 | g1.cframe = g1.cframe:lerp(CFrame.new(Root.Position,mouse.Hit.p),.5) | |
2639 | Blaster.CFrame = Blaster.CFrame:lerp(RightArm.CFrame * CFrame.new(0,-2,0),.8) | |
2640 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(90)),.4) | |
2641 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15),math.rad(-0),math.rad(0)),.4) | |
2642 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, 2.1, -0.35) * CFrame.Angles(math.rad(180), math.rad(-82), math.rad(75)), 0.4) | |
2643 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.4) | |
2644 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.9, 0.2) * CFrame.Angles(math.rad(20), math.rad(1), math.rad(-2)), .4) | |
2645 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.9, 0) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(2)), .4) | |
2646 | wait() | |
2647 | end | |
2648 | local shootthemballs = coroutine.wrap(function() | |
2649 | Blaster.Anchored = false | |
2650 | local PB2 = Instance.new("BodyVelocity", Blaster) | |
2651 | PB2.MaxForce = Vector3.new(999999, 999999, 999999) | |
2652 | Blaster.CFrame = CFrame.new(Blaster.Position,mouse.Hit.p) | |
2653 | PB2.Velocity = Blaster.CFrame.lookVector * 80 | |
2654 | wait() | |
2655 | end) | |
2656 | dontallow = true | |
2657 | shootthemballs() | |
2658 | timecour = coroutine.wrap(function() | |
2659 | wait(.5) | |
2660 | dontallow = false | |
2661 | end) | |
2662 | timecour() | |
2663 | Blaster.Touched:connect(function(OnHit) | |
2664 | if dontallow then return end | |
2665 | if hitters == true then return end | |
2666 | hitters = true | |
2667 | borb = false | |
2668 | Blaster.Anchored = true | |
2669 | Blaster.Transparency = 1 | |
2670 | blastwave = Instance.new("Part", Torso) | |
2671 | blastwave.Size = Vector3.new(1, 1, 1) | |
2672 | blastwave.Transparency = 0 | |
2673 | blastwave.BrickColor = TheColor | |
2674 | blastwave.Material = "Neon" | |
2675 | blastwave.Anchored = true | |
2676 | blastwave.CanCollide = false | |
2677 | blastwave.CFrame = CFrame.new(Blaster.Position) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2678 | removeuseless:AddItem(blastwave,10) | |
2679 | Blaster:Remove() | |
2680 | BOOMZOR = Instance.new("Sound", blastwave) | |
2681 | BOOMZOR.Volume = 8 | |
2682 | BOOMZOR.SoundId = "rbxassetid://1539349118" | |
2683 | BOOMZOR:Play() | |
2684 | removeuseless:AddItem(BOOMZOR,5) | |
2685 | DDTblastwave = Instance.new("SpecialMesh", blastwave) | |
2686 | DDTblastwave.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2687 | DDTblastwave.Scale = Vector3.new(1, 1, 1) | |
2688 | blastwave2 = Instance.new("Part", Torso) | |
2689 | blastwave2.Size = Vector3.new(1, 1, 1) | |
2690 | blastwave2.Transparency = 0 | |
2691 | blastwave2.BrickColor = TheColor | |
2692 | blastwave2.Material = "Neon" | |
2693 | blastwave2.Anchored = true | |
2694 | blastwave2.CanCollide = false | |
2695 | blastwave2.CFrame = CFrame.new(blastwave.Position) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2696 | removeuseless:AddItem(blastwave2,10) | |
2697 | DDTblastwave2 = Instance.new("SpecialMesh", blastwave2) | |
2698 | DDTblastwave2.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2699 | DDTblastwave2.Scale = Vector3.new(1, 1, 1) | |
2700 | blastwave3 = Instance.new("Part", Torso) | |
2701 | blastwave3.Size = Vector3.new(1, 1, 1) | |
2702 | blastwave3.Transparency = 0 | |
2703 | blastwave3.BrickColor = TheColor | |
2704 | blastwave3.Material = "Neon" | |
2705 | blastwave3.Anchored = true | |
2706 | blastwave3.CanCollide = false | |
2707 | blastwave3.CFrame = CFrame.new(blastwave.Position) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2708 | removeuseless:AddItem(blastwave3,10) | |
2709 | DDTblastwave3 = Instance.new("SpecialMesh", blastwave3) | |
2710 | DDTblastwave3.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2711 | DDTblastwave3.Scale = Vector3.new(1, 1, 1) | |
2712 | blastwave4 = Instance.new("Part", Torso) | |
2713 | blastwave4.Size = Vector3.new(1, 1, 1) | |
2714 | blastwave4.Transparency = 0 | |
2715 | blastwave4.BrickColor = TheColor | |
2716 | blastwave4.Material = "Neon" | |
2717 | blastwave4.Anchored = true | |
2718 | blastwave4.CanCollide = false | |
2719 | blastwave4.CFrame = CFrame.new(blastwave.Position) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2720 | removeuseless:AddItem(blastwave4,10) | |
2721 | DDTblastwave4 = Instance.new("SpecialMesh", blastwave4) | |
2722 | DDTblastwave4.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2723 | DDTblastwave4.Scale = Vector3.new(1, 1, 1) | |
2724 | blastwave5 = Instance.new("Part", Torso) | |
2725 | blastwave5.Size = Vector3.new(1, 1, 1) | |
2726 | blastwave5.Transparency = 0 | |
2727 | blastwave5.BrickColor = TheColor | |
2728 | blastwave5.Material = "Neon" | |
2729 | blastwave5.Anchored = true | |
2730 | blastwave5.CanCollide = false | |
2731 | blastwave5.CFrame = CFrame.new(blastwave.Position) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2732 | removeuseless:AddItem(blastwave5,10) | |
2733 | DDTblastwave5 = Instance.new("SpecialMesh", blastwave5) | |
2734 | DDTblastwave5.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2735 | DDTblastwave5.Scale = Vector3.new(1, 1, 1) | |
2736 | Blastcircle = Instance.new("Part", Torso) | |
2737 | Blastcircle.Material = "Neon" | |
2738 | Blastcircle.Anchored = true | |
2739 | Blastcircle.Transparency = 0 | |
2740 | Blastcircle.CanCollide = false | |
2741 | Blastcircle.BrickColor = TheColor | |
2742 | Blastcircle.Size = Vector3.new(10,10,10) | |
2743 | removeuseless:AddItem(Blastcircle,10) | |
2744 | BlastShape = Instance.new("SpecialMesh", Blastcircle) | |
2745 | BlastShape.MeshType = "Sphere" | |
2746 | BlastShape.Scale = Vector3.new(0.1,0.1,0.1) | |
2747 | Blastcircle.CFrame = blastwave.CFrame | |
2748 | Blastcircle2 = Instance.new("Part", Torso) | |
2749 | Blastcircle2.Material = "Neon" | |
2750 | Blastcircle2.Anchored = true | |
2751 | Blastcircle2.Transparency = 0 | |
2752 | Blastcircle2.CanCollide = false | |
2753 | Blastcircle2.BrickColor = TheColor | |
2754 | Blastcircle2.Size = Vector3.new(10,10,10) | |
2755 | removeuseless:AddItem(Blastcircle2,10) | |
2756 | BlastShape2 = Instance.new("SpecialMesh", Blastcircle2) | |
2757 | BlastShape2.MeshType = "Sphere" | |
2758 | BlastShape2.Scale = Vector3.new(0.1,0.1,0.1) | |
2759 | Blastcircle2.CFrame = blastwave.CFrame | |
2760 | Blastcircle3 = Instance.new("Part", Torso) | |
2761 | Blastcircle3.Material = "Neon" | |
2762 | Blastcircle3.Anchored = true | |
2763 | Blastcircle3.Transparency = 0 | |
2764 | Blastcircle3.CanCollide = false | |
2765 | Blastcircle3.BrickColor = TheColor | |
2766 | Blastcircle3.Size = Vector3.new(10,10,10) | |
2767 | removeuseless:AddItem(Blastcircle3,10) | |
2768 | BlastShape3 = Instance.new("SpecialMesh", Blastcircle3) | |
2769 | BlastShape3.MeshType = "Sphere" | |
2770 | BlastShape3.Scale = Vector3.new(0.1,0.1,0.1) | |
2771 | Blastcircle3.CFrame = blastwave.CFrame | |
2772 | Blastcircle4 = Instance.new("Part", Torso) | |
2773 | Blastcircle4.Material = "Neon" | |
2774 | Blastcircle4.Anchored = true | |
2775 | Blastcircle4.Transparency = 0 | |
2776 | Blastcircle4.CanCollide = false | |
2777 | Blastcircle4.BrickColor = TheColor | |
2778 | Blastcircle4.Size = Vector3.new(10,10,10) | |
2779 | removeuseless:AddItem(Blastcircle4,10) | |
2780 | BlastShape4 = Instance.new("SpecialMesh", Blastcircle4) | |
2781 | BlastShape4.MeshType = "Sphere" | |
2782 | BlastShape4.Scale = Vector3.new(0.1,0.1,0.1) | |
2783 | Blastcircle4.CFrame = blastwave.CFrame | |
2784 | Blastcircle5 = Instance.new("Part", Torso) | |
2785 | Blastcircle5.Material = "Neon" | |
2786 | Blastcircle5.Anchored = true | |
2787 | Blastcircle5.Transparency = 0 | |
2788 | Blastcircle5.CanCollide = false | |
2789 | Blastcircle5.BrickColor = TheColor | |
2790 | Blastcircle5.Size = Vector3.new(10,10,10) | |
2791 | removeuseless:AddItem(Blastcircle5,10) | |
2792 | BlastShape5 = Instance.new("SpecialMesh", Blastcircle5) | |
2793 | BlastShape5.MeshType = "Sphere" | |
2794 | BlastShape5.Scale = Vector3.new(0.1,0.1,0.1) | |
2795 | Blastcircle5.CFrame = blastwave.CFrame | |
2796 | shockwav = Instance.new("Part", Torso) | |
2797 | shockwav.Size = Vector3.new(1, 1, 1) | |
2798 | shockwav.Transparency = 0 | |
2799 | shockwav.BrickColor = TheColor | |
2800 | shockwav.Material = "Neon" | |
2801 | shockwav.Anchored = true | |
2802 | shockwav.CanCollide = false | |
2803 | shockwav.CFrame = blastwave.CFrame * CFrame.new(0,-2.2,0) * CFrame.Angles(math.random(1, 100), math.random(1, 100), math.random(1, 100)) | |
2804 | removeuseless:AddItem(shockwav,10) | |
2805 | dea = Instance.new("SpecialMesh", shockwav) | |
2806 | dea.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2807 | dea.Scale = Vector3.new(0.1, 0.1, 0.1) | |
2808 | shockwav.CFrame = blastwave.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(math.rad(90), 0, 0) | |
2809 | shockwav2 = Instance.new("Part", Torso) | |
2810 | shockwav2.Size = Vector3.new(1, 1, 1) | |
2811 | shockwav2.Transparency = 0 | |
2812 | shockwav2.BrickColor = TheColor | |
2813 | shockwav2.Material = "Neon" | |
2814 | shockwav2.Anchored = true | |
2815 | shockwav2.CanCollide = false | |
2816 | shockwav2.CFrame = blastwave.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(math.rad(90), 0, 0) | |
2817 | removeuseless:AddItem(shockwav2,10) | |
2818 | dea2 = Instance.new("SpecialMesh", shockwav2) | |
2819 | dea2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2820 | dea2.Scale = Vector3.new(0.1, 0.4, 0.1) | |
2821 | shockwav2.CFrame = blastwave.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(math.rad(90), 0, 0) | |
2822 | local Hit = damagealll(70,blastwave.Position) | |
2823 | for _,v in pairs(Hit) do | |
2824 | local velo2 = Instance.new("BodyVelocity", v) | |
2825 | velo2.MaxForce = Vector3.new(999999, 999999, 999999) | |
2826 | removeuseless:AddItem(velo2,2) | |
2827 | if absoluteannihilation then | |
2828 | v:BreakJoints() | |
2829 | v:Remove() | |
2830 | else | |
2831 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(77,100) | |
2832 | end | |
2833 | end | |
2834 | opopo = coroutine.wrap(function() | |
2835 | for i = 1, 200 do | |
2836 | dea.Scale = dea.Scale + Vector3.new(2,1,2) | |
2837 | shockwav.Transparency = shockwav.Transparency + 0.02 | |
2838 | dea2.Scale = dea2.Scale + Vector3.new(1,1,1) | |
2839 | shockwav2.Transparency = shockwav2.Transparency + 0.010 | |
2840 | DDTblastwave.Scale = DDTblastwave.Scale + Vector3.new(2.5, .2, 2.5) | |
2841 | DDTblastwave2.Scale = DDTblastwave2.Scale + Vector3.new(2, 2, 2) | |
2842 | DDTblastwave3.Scale = DDTblastwave3.Scale + Vector3.new(2, .25, 2) | |
2843 | DDTblastwave4.Scale = DDTblastwave4.Scale + Vector3.new(3, .25, 3) | |
2844 | DDTblastwave5.Scale = DDTblastwave5.Scale + Vector3.new(1, .05, 1) | |
2845 | blastwave.Transparency = blastwave.Transparency + .01 | |
2846 | blastwave2.Transparency = blastwave2.Transparency + .03 | |
2847 | blastwave3.Transparency = blastwave3.Transparency + .02 | |
2848 | blastwave4.Transparency = blastwave4.Transparency + .015 | |
2849 | blastwave5.Transparency = blastwave5.Transparency + .01 | |
2850 | BlastShape.Scale = BlastShape.Scale + Vector3.new(1,1,1) | |
2851 | BlastShape2.Scale = BlastShape2.Scale + Vector3.new(.5,.5,.5) | |
2852 | BlastShape3.Scale = BlastShape3.Scale + Vector3.new(.6,.6,.6) | |
2853 | BlastShape4.Scale = BlastShape4.Scale + Vector3.new(.4,.4,.4) | |
2854 | Blastcircle.Transparency = Blastcircle.Transparency + .01 | |
2855 | Blastcircle2.Transparency = Blastcircle2.Transparency + .02 | |
2856 | Blastcircle3.Transparency = Blastcircle3.Transparency + .012 | |
2857 | Blastcircle4.Transparency = Blastcircle4.Transparency + .015 | |
2858 | Blastcircle5.Transparency = Blastcircle5.Transparency + 0.01 | |
2859 | BlastShape5.Scale = BlastShape5.Scale + Vector3.new(.3,.3,.3) | |
2860 | wait() | |
2861 | end | |
2862 | hitters = false | |
2863 | end) | |
2864 | opopo() | |
2865 | end) | |
2866 | kigo:Play() | |
2867 | for i = 1, 6 do | |
2868 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0,math.rad(90),0),.6) | |
2869 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10),math.rad(-0),math.rad(0)),.4) | |
2870 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(2), math.rad(10), math.rad(-90)), 0.6) | |
2871 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(13), math.rad(9), math.rad(13)), .6) | |
2872 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.9, 0) * CFrame.Angles(math.rad(-14), math.rad(6), math.rad(-2)), .6) | |
2873 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.9, 0) * CFrame.Angles(math.rad(8), math.rad(12), math.rad(2)), .6) | |
2874 | wait() | |
2875 | end | |
2876 | attacking = false | |
2877 | g1:Remove() | |
2878 | hum.WalkSpeed = 18 | |
2879 | local time = coroutine.wrap(function() | |
2880 | for i = 1, 100 do | |
2881 | if borb == false then break end | |
2882 | wait() | |
2883 | end | |
2884 | Blaster:Remove() | |
2885 | hitters = false | |
2886 | attacking = false | |
2887 | debounce = false | |
2888 | end) | |
2889 | time() | |
2890 | while wait() do | |
2891 | if borb == false then break end | |
2892 | wait() | |
2893 | end | |
2894 | attacking = false | |
2895 | debounce = false | |
2896 | jjo = false | |
2897 | end | |
2898 | end) | |
2899 | ||
2900 | mouse.KeyDown:connect(function(Press) | |
2901 | Press=Press:lower() | |
2902 | if Press=='h' then | |
2903 | if debounce then return end | |
2904 | debounce = true | |
2905 | attacking = true | |
2906 | step:Play() | |
2907 | hum.WalkSpeed = 0 | |
2908 | lmon6 = lmon5[math.random(1,#lmon5)] | |
2909 | local b1 = Instance.new("BillboardGui",Head) | |
2910 | b1.Size = UDim2.new(0,100,0,40) | |
2911 | b1.StudsOffset = Vector3.new(0,3,0) | |
2912 | b1.Adornee = Head | |
2913 | local b2 = Instance.new("TextLabel",b1) | |
2914 | b2.BackgroundTransparency = 1 | |
2915 | b2.Text = ""..lmon6 | |
2916 | b2.Font = "Garamond" | |
2917 | b2.TextSize = 0 | |
2918 | b2.TextStrokeTransparency = 1 | |
2919 | b2.TextColor3 = BrickColor.new("Lime green").Color | |
2920 | b2.TextStrokeColor3 = Color3.new(0,0,0) | |
2921 | b2.Size = UDim2.new(1,0,0.5,0) | |
2922 | billboardcour = coroutine.wrap(function() | |
2923 | for i = 1, 10 do | |
2924 | b2.TextStrokeTransparency = b2.TextStrokeTransparency - 0.1 | |
2925 | b2.TextSize = b2.TextSize + 3 | |
2926 | wait() | |
2927 | end | |
2928 | wait(1) | |
2929 | for i = 1, 10 do | |
2930 | b2.TextStrokeTransparency = b2.TextStrokeTransparency + 0.1 | |
2931 | b2.TextSize = b2.TextSize - 3 | |
2932 | wait() | |
2933 | end | |
2934 | b1:Remove() | |
2935 | end) | |
2936 | billboardcour() | |
2937 | Dagga = Instance.new("Part", Torso) | |
2938 | Dagga.Size = Vector3.new(.2, .2, .2) | |
2939 | Dagga.Material = "Neon" | |
2940 | Dagga.BrickColor = TheColor | |
2941 | Dagga.Transparency = 1 | |
2942 | Dagga.CanCollide = false | |
2943 | DaggaMESH = Instance.new("SpecialMesh", Dagga) | |
2944 | DaggaMESH.Scale = Vector3.new(.8,.8,.8) | |
2945 | DaggaMESH.MeshId = "rbxassetid://62275962" | |
2946 | DaggaWeld = weldBetween(Dagga,RightArm) | |
2947 | DaggaWeld.C0 = CFrame.new(0,-1.8,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)) | |
2948 | courou = coroutine.wrap(function() | |
2949 | for i = 1, 20 do | |
2950 | Dagga.Transparency = Dagga.Transparency - .05 | |
2951 | wait() | |
2952 | end | |
2953 | end) | |
2954 | courou() | |
2955 | for i = 1, 15 do | |
2956 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.58, 0.1, 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(-8)), .3) | |
2957 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)), 0.3) | |
2958 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .3) | |
2959 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(1), math.rad(-2)), .3) | |
2960 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)), .3) | |
2961 | wait() | |
2962 | end | |
2963 | for i = 1, 6 do | |
2964 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.45,1.3,0) * CFrame.Angles(math.rad(180),math.rad(2),math.rad(6)), 0.6) | |
2965 | wait() | |
2966 | end | |
2967 | Dagga2 = Instance.new("Part", Torso) | |
2968 | Dagga2.Size = Vector3.new(.2, .2, .2) | |
2969 | Dagga2.Material = "Neon" | |
2970 | Dagga2.BrickColor = TheColor | |
2971 | Dagga2.Transparency = 0 | |
2972 | Dagga2.CanCollide = false | |
2973 | DaggaMESH2 = Instance.new("SpecialMesh", Dagga2) | |
2974 | DaggaMESH2.Scale = Vector3.new(.8,.8,.8) | |
2975 | DaggaMESH2.MeshId = "rbxassetid://62275962" | |
2976 | DaggaWeld2 = weldBetween(Dagga2,RightArm) | |
2977 | DaggaWeld2.C0 = CFrame.new(0,-1.8,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)) | |
2978 | Dagga3 = Instance.new("Part", Torso) | |
2979 | Dagga3.Size = Vector3.new(.2, .2, .2) | |
2980 | Dagga3.Material = "Neon" | |
2981 | Dagga3.BrickColor = TheColor | |
2982 | Dagga3.Transparency = 0 | |
2983 | Dagga3.CanCollide = false | |
2984 | DaggaMESH3 = Instance.new("SpecialMesh", Dagga3) | |
2985 | DaggaMESH3.Scale = Vector3.new(.8,.8,.8) | |
2986 | DaggaMESH3.MeshId = "rbxassetid://62275962" | |
2987 | DaggaWeld3 = weldBetween(Dagga3,RightArm) | |
2988 | DaggaWeld3.C0 = CFrame.new(0,-1.8,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)) | |
2989 | daggersheet:Play() | |
2990 | for i = 1, 4 do | |
2991 | DaggaWeld2.C0 = DaggaWeld2.C0:lerp(CFrame.new(0,-1.5,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(-30)),.5) | |
2992 | DaggaWeld3.C0 = DaggaWeld3.C0:lerp(CFrame.new(0,-1.5,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(30)),.5) | |
2993 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.45,1,0) * CFrame.Angles(math.rad(180),math.rad(3),math.rad(12)), 0.5) | |
2994 | wait() | |
2995 | end | |
2996 | for i = 1, 6 do | |
2997 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.45,1.3,0) * CFrame.Angles(math.rad(180),math.rad(2),math.rad(6)), 0.5) | |
2998 | wait() | |
2999 | end | |
3000 | for i = 1, 6 do | |
3001 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.5) | |
3002 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.5) | |
3003 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(205), math.rad(0)), 0.3) | |
3004 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.4) | |
3005 | wait() | |
3006 | end | |
3007 | quicklerp = coroutine.wrap(function() | |
3008 | for i = 1, 8 do | |
3009 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.55, .15) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)), .4) | |
3010 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.8, .2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(2)), .4) | |
3011 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, .5, 0), 0.4) | |
3012 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.8,1.3,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.4) | |
3013 | wait() | |
3014 | end | |
3015 | end) | |
3016 | quicklerp() | |
3017 | n = 0 | |
3018 | movethem = coroutine.wrap(function() | |
3019 | htbox1 = Instance.new("Part",Torso) | |
3020 | htbox1.CanCollide = false | |
3021 | htbox1.Transparency = 1 | |
3022 | htbox1.Size = Vector3.new(2,2,2) | |
3023 | htbox1weld = weldBetween(htbox1,Dagga) | |
3024 | htbox2 = Instance.new("Part",Torso) | |
3025 | htbox2.CanCollide = false | |
3026 | htbox2.Transparency = 1 | |
3027 | htbox2.Size = Vector3.new(2,2,2) | |
3028 | htbox2weld = weldBetween(htbox2,Dagga2) | |
3029 | htbox3 = Instance.new("Part",Torso) | |
3030 | htbox3.CanCollide = false | |
3031 | htbox3.Transparency = 1 | |
3032 | htbox3.Size = Vector3.new(2,2,2) | |
3033 | htbox3weld = weldBetween(htbox3,Dagga3) | |
3034 | removeuseless:AddItem(Dagga,5) | |
3035 | removeuseless:AddItem(Dagga2,5) | |
3036 | removeuseless:AddItem(Dagga3,5) | |
3037 | removeuseless:AddItem(htbox,5) | |
3038 | removeuseless:AddItem(htbox2,5) | |
3039 | removeuseless:AddItem(htbox3,5) | |
3040 | DaggaWeld:Remove() | |
3041 | DaggaWeld2:Remove() | |
3042 | DaggaWeld3:Remove() | |
3043 | DaggaMESH.MeshId = "rbxassetid://202083123" | |
3044 | DaggaMESH2.MeshId = "rbxassetid://202083123" | |
3045 | DaggaMESH3.MeshId = "rbxassetid://202083123" | |
3046 | DaggaMESH.Scale = Vector3.new(1.1,1.1,1.1) | |
3047 | DaggaMESH2.Scale = Vector3.new(1.1,1.1,1.1) | |
3048 | DaggaMESH3.Scale = Vector3.new(1.1,1.1,1.1) | |
3049 | local BodyVel=Instance.new('BodyVelocity',Dagga) | |
3050 | BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
3051 | local BodyGyro=Instance.new('BodyGyro',Dagga) | |
3052 | BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge) | |
3053 | BodyGyro.P=2e4 | |
3054 | coroutine.wrap(function() | |
3055 | RenderStepped:connect(function() | |
3056 | BodyGyro.cframe=CFrame.new(Dagga.Position,mouse.Hit.p) | |
3057 | BodyVel.velocity=Dagga.CFrame.lookVector*dgs | |
3058 | end) | |
3059 | end)() | |
3060 | ||
3061 | local BodyVel2=Instance.new('BodyVelocity',Dagga2) | |
3062 | BodyVel2.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
3063 | local BodyGyro2=Instance.new('BodyGyro',Dagga2) | |
3064 | BodyGyro2.maxTorque=Vector3.new(math.huge,math.huge,math.huge) | |
3065 | BodyGyro2.P=2e4 | |
3066 | coroutine.wrap(function() | |
3067 | RenderStepped:connect(function() | |
3068 | BodyGyro2.cframe=CFrame.new(Dagga2.Position,mouse.Hit.p) | |
3069 | BodyVel2.velocity=Dagga2.CFrame.lookVector*dgs | |
3070 | end) | |
3071 | end)() | |
3072 | ||
3073 | local BodyVel3=Instance.new('BodyVelocity',Dagga3) | |
3074 | BodyVel3.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
3075 | local BodyGyro3=Instance.new('BodyGyro',Dagga3) | |
3076 | BodyGyro3.maxTorque=Vector3.new(math.huge,math.huge,math.huge) | |
3077 | BodyGyro3.P=2e4 | |
3078 | coroutine.wrap(function() | |
3079 | RenderStepped:connect(function() | |
3080 | BodyGyro3.cframe=CFrame.new(Dagga3.Position,mouse.Hit.p) | |
3081 | BodyVel3.velocity=Dagga3.CFrame.lookVector*dgs | |
3082 | end) | |
3083 | end)() | |
3084 | ||
3085 | damagedebounce = false | |
3086 | damagedebounce2 = false | |
3087 | damagedebounce3 = false | |
3088 | htbox1.Touched:connect(function(hit1) | |
3089 | if hit1.Parent.Name == game.Players.LocalPlayer.Name then | |
3090 | elseif hit1.Parent:IsA("Part") then | |
3091 | elseif hit1.Parent:IsA("SpecialMesh") then | |
3092 | elseif hit1.Parent:findFirstChildOfClass("Humanoid") then | |
3093 | if damagedebounce == true then return end | |
3094 | damagedebounce = true | |
3095 | removeuseless:AddItem(slashwound,2) | |
3096 | Dagga.Anchored = false | |
3097 | BodyVel:Remove() | |
3098 | BodyGyro:Remove() | |
3099 | Dagga.CanCollide = true | |
3100 | Slachtoffer = hit1.Parent:findFirstChildOfClass("Humanoid") | |
3101 | rdnm = soundtable[math.random(1,#soundtable)] | |
3102 | slashwound = Instance.new("Sound", Slachtoffer.Torso) | |
3103 | slashwound.SoundId = "rbxassetid://"..rdnm | |
3104 | slashwound.Volume = 4 | |
3105 | slashwound:Play() | |
3106 | if absoluteannihilation then | |
3107 | Slachtoffer.Parent:BreakJoints() | |
3108 | else | |
3109 | Slachtoffer:TakeDamage(15) | |
3110 | end | |
3111 | end | |
3112 | end) | |
3113 | htbox2.Touched:connect(function(hit1) | |
3114 | if hit1.Parent.Name == game.Players.LocalPlayer.Name then | |
3115 | elseif hit1.Parent:IsA("Part") then | |
3116 | elseif hit1.Parent:IsA("SpecialMesh") then | |
3117 | elseif hit1.Parent:findFirstChildOfClass("Humanoid") then | |
3118 | if damagedebounce2 == true then return end | |
3119 | damagedebounce2 = true | |
3120 | removeuseless:AddItem(slashwound,2) | |
3121 | Dagga2.Anchored = false | |
3122 | BodyVel2:Remove() | |
3123 | BodyGyro2:Remove() | |
3124 | Dagga2.CanCollide = true | |
3125 | Slachtoffer = hit1.Parent:findFirstChildOfClass("Humanoid") | |
3126 | rdnm = soundtable[math.random(1,#soundtable)] | |
3127 | slashwound = Instance.new("Sound", Slachtoffer.Torso) | |
3128 | slashwound.SoundId = "rbxassetid://"..rdnm | |
3129 | slashwound.Volume = 4 | |
3130 | slashwound:Play() | |
3131 | if absoluteannihilation then | |
3132 | Slachtoffer.Parent:BreakJoints() | |
3133 | else | |
3134 | Slachtoffer:TakeDamage(15) | |
3135 | end | |
3136 | end | |
3137 | end) | |
3138 | htbox3.Touched:connect(function(hit1) | |
3139 | if hit1.Parent.Name == game.Players.LocalPlayer.Name then | |
3140 | elseif hit1.Parent:IsA("Part") then | |
3141 | elseif hit1.Parent:IsA("SpecialMesh") then | |
3142 | elseif hit1.Parent:findFirstChildOfClass("Humanoid") then | |
3143 | if damagedebounce3 == true then return end | |
3144 | damagedebounce3 = true | |
3145 | removeuseless:AddItem(slashwound,2) | |
3146 | Dagga3.Anchored = false | |
3147 | BodyVel3:Remove() | |
3148 | BodyGyro3:Remove() | |
3149 | Dagga3.CanCollide = true | |
3150 | Slachtoffer = hit1.Parent:findFirstChildOfClass("Humanoid") | |
3151 | rdnm = soundtable[math.random(1,#soundtable)] | |
3152 | slashwound = Instance.new("Sound", Slachtoffer.Torso) | |
3153 | slashwound.SoundId = "rbxassetid://"..rdnm | |
3154 | slashwound.Volume = 4 | |
3155 | slashwound:Play() | |
3156 | if absoluteannihilation then | |
3157 | Slachtoffer.Parent:BreakJoints() | |
3158 | else | |
3159 | Slachtoffer:TakeDamage(15) | |
3160 | end | |
3161 | end | |
3162 | end) | |
3163 | end) | |
3164 | movethem() | |
3165 | t = 0 | |
3166 | hum.WalkSpeed = 18 | |
3167 | for i = 1, 7 do | |
3168 | t = t - 50 | |
3169 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(205 + t), math.rad(0)), 0.3) | |
3170 | wait() | |
3171 | end | |
3172 | t = 0 | |
3173 | quickcour2 = coroutine.wrap(function() | |
3174 | for i = 1, 10 do | |
3175 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.58, 0.1, 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(-8)), .5) | |
3176 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0),.5) | |
3177 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .5) | |
3178 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.5) | |
3179 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.5) | |
3180 | wait() | |
3181 | end | |
3182 | end) | |
3183 | quickcour2() | |
3184 | for i = 1, 10 do | |
3185 | t = t - 22 | |
3186 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(205 - t), math.rad(0)), 0.3) | |
3187 | wait() | |
3188 | end | |
3189 | attacking = false | |
3190 | debounce = false | |
3191 | damagedebounce = false | |
3192 | damagedebounce2 = false | |
3193 | damagedebounce3 = false | |
3194 | end | |
3195 | end) | |
3196 | ||
3197 | mouse.KeyDown:connect(function(Press) | |
3198 | Press=Press:lower() | |
3199 | if Press=='f' then | |
3200 | if nottransform then return end | |
3201 | transformingpart = true -------Reflux has become the pinnacle of strength! Can you survive his onslaught? | |
3202 | if debounce then return end | |
3203 | debounce = true | |
3204 | attacking = true | |
3205 | absoluteannihilation = true | |
3206 | hum.WalkSpeed = 0 | |
3207 | HEADLERP.Part1 = Torso | |
3208 | musiccour = coroutine.wrap(function() | |
3209 | for i = 1, 20 do | |
3210 | doomtheme.Volume = doomtheme.Volume - 0.05 | |
3211 | wait() | |
3212 | end | |
3213 | doomtheme:Remove() | |
3214 | end) | |
3215 | musiccour() | |
3216 | for i = 1, 10 do | |
3217 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.58, 0.1, 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(-8)), .5) | |
3218 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(0,0,0),.5) | |
3219 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .5) | |
3220 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.5) | |
3221 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.5) | |
3222 | wait() | |
3223 | end | |
3224 | JohnDoe2 = Instance.new("Part", Head) | |
3225 | JohnDoe2.Shape = 0 | |
3226 | JohnDoe2.Transparency = 1 | |
3227 | JohnDoe2.Size = Vector3.new(2.06,2.06,2.06) | |
3228 | JohnDoe2.Material = "Neon" | |
3229 | JohnDoe2.CanCollide = false | |
3230 | JohnDoe2.BrickColor = BrickColor.new("Really black") | |
3231 | Jw2 = weldBetween(Head,JohnDoe2) | |
3232 | Jw2.C0 = CFrame.new(0,.25,0) | |
3233 | lolcour = coroutine.wrap(function() | |
3234 | for i = 1, 20 do | |
3235 | JohnDoe2.Transparency = JohnDoe2.Transparency - 0.05 | |
3236 | wait() | |
3237 | end | |
3238 | end) | |
3239 | lolcour() | |
3240 | for i = 1, 15 do | |
3241 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,1,0) * CFrame.Angles(math.rad(200),math.rad(5),math.rad(5)), 0.4) | |
3242 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,1,0) * CFrame.Angles(math.rad(200),math.rad(-5),math.rad(-5)), 0.4) | |
3243 | wait() | |
3244 | end | |
3245 | lastbreath = Instance.new("Sound", Head) | |
3246 | lastbreath.SoundId = "rbxassetid://198606040" | |
3247 | lastbreath.Volume = 5 | |
3248 | lastbreath:Play() | |
3249 | coroutine.wrap(function() | |
3250 | for i = 1, 4 do | |
3251 | game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView - 3 | |
3252 | wait() | |
3253 | end | |
3254 | for i = 1, 4 do | |
3255 | game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView + 3 | |
3256 | wait() | |
3257 | end | |
3258 | end)() | |
3259 | for i = 1, 22 do | |
3260 | HEADLERP.C1 = HEADLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(-60),0),.6) | |
3261 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,1,0) * CFrame.Angles(math.rad(197),math.rad(3),math.rad(10)), 0.4) | |
3262 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,1,0) * CFrame.Angles(math.rad(197),math.rad(-3),math.rad(-10)), 0.4) | |
3263 | wait() | |
3264 | end | |
3265 | coroutine.wrap(function() | |
3266 | for i = 1, 10 do | |
3267 | pBase7.BrickColor = BrickColor.new("Lime green") | |
3268 | pBase8.BrickColor = BrickColor.new("Lime green") | |
3269 | pBase9.BrickColor = BrickColor.new("Lime green") | |
3270 | pBase10.BrickColor = BrickColor.new("Lime green") | |
3271 | pBase12.BrickColor = BrickColor.new("Lime green") | |
3272 | TheCore.BrickColor = BrickColor.new("Lime green") | |
3273 | wait(.05) | |
3274 | pBase7.BrickColor = BrickColor.new("Really black") | |
3275 | pBase8.BrickColor = BrickColor.new("Really black") | |
3276 | pBase9.BrickColor = BrickColor.new("Really black") | |
3277 | pBase10.BrickColor = BrickColor.new("Really black") | |
3278 | pBase12.BrickColor = BrickColor.new("Really black") | |
3279 | TheCore.BrickColor = BrickColor.new("Really black") | |
3280 | wait() | |
3281 | end | |
3282 | end)() | |
3283 | coroutine.wrap(function() | |
3284 | for i = 1, 4 do | |
3285 | game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView - 3 | |
3286 | wait() | |
3287 | end | |
3288 | for i = 1, 4 do | |
3289 | game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView + 3 | |
3290 | wait() | |
3291 | end | |
3292 | end)() | |
3293 | for i = 1, 15 do | |
3294 | HEADLERP.C1 = HEADLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(60),0),.6) | |
3295 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,1,0) * CFrame.Angles(math.rad(202),math.rad(4),math.rad(7)), 0.4) | |
3296 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,1,0) * CFrame.Angles(math.rad(202),math.rad(-4),math.rad(-7)), 0.4) | |
3297 | wait() | |
3298 | end | |
3299 | for i = 1, 15 do | |
3300 | HEADLERP.C1 = HEADLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),0),.6) | |
3301 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,1,0) * CFrame.Angles(math.rad(196),math.rad(3),math.rad(10)), 0.4) | |
3302 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,1,0) * CFrame.Angles(math.rad(196),math.rad(-3),math.rad(-10)), 0.4) | |
3303 | wait() | |
3304 | end | |
3305 | for i = 1, 75 do | |
3306 | HEADLERP.C1 = HEADLERP.C1:lerp(CFrame.new(0, 0, -0) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(0)), .05) | |
3307 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.58, 0.1, 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(-8)), .05) | |
3308 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .05) | |
3309 | wait() | |
3310 | end | |
3311 | doomtheme = Instance.new("Sound", Torso) | |
3312 | doomtheme.SoundId = "rbxassetid://1502486424" | |
3313 | doomtheme.Volume = 1.5 | |
3314 | doomtheme.Looped = true | |
3315 | doomtheme:Play() | |
3316 | CataclysmOrb = Instance.new("Part", Torso) | |
3317 | CataclysmOrb.Shape = 0 | |
3318 | CataclysmOrb.Transparency = 1 | |
3319 | CataclysmOrb.Anchored = true | |
3320 | CataclysmOrb.Size = Vector3.new(10,10,10) | |
3321 | CataclysmOrb.Material = "Neon" | |
3322 | CataclysmOrb.CanCollide = false | |
3323 | CataclysmOrb.BrickColor = BrickColor.new("Really black") | |
3324 | CataclysmOrb.CFrame = Root.CFrame | |
3325 | for i = 1, 20 do | |
3326 | CataclysmOrb.Transparency = CataclysmOrb.Transparency - 0.05 | |
3327 | wait() | |
3328 | end | |
3329 | mPumpkinOverlord.MeshId,mPumpkinOverlord.TextureId = 'http://www.roblox.com/asset/?id=1474596','http://www.roblox.com/asset/?id=1474595' | |
3330 | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=227262305" | |
3331 | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=185728896" | |
3332 | larmf2 = Instance.new("Part", Torso) | |
3333 | larmf2.BrickColor = TheColor | |
3334 | larmf2.Size = Vector3.new(1.001, 2.001, 1.001) | |
3335 | larmf2.Material = "Neon" | |
3336 | larmf2.Transparency = 0 | |
3337 | larmf2.CanCollide = false | |
3338 | larmfweld2 = weldBetween(larmf2,LeftArm) | |
3339 | ||
3340 | rarmf2 = Instance.new("Part", Torso) | |
3341 | rarmf2.BrickColor = TheColor | |
3342 | rarmf2.Size = Vector3.new(1.001, 2.001, 1.001) | |
3343 | rarmf2.Material = "Neon" | |
3344 | rarmf2.Transparency = 0 | |
3345 | rarmf2.CanCollide = false | |
3346 | rarmfweld2 = weldBetween(rarmf2,RightArm) | |
3347 | ||
3348 | llegf2 = Instance.new("Part", Torso) | |
3349 | llegf2.BrickColor = TheColor | |
3350 | llegf2.Size = Vector3.new(1.001, 2.001, 1.001) | |
3351 | llegf2.Material = "Neon" | |
3352 | llegf2.Transparency = 0 | |
3353 | llegf2.CanCollide = false | |
3354 | llegf2weld = weldBetween(llegf2,LeftLeg) | |
3355 | ||
3356 | rlegf2 = Instance.new("Part", Torso) | |
3357 | rlegf2.BrickColor = TheColor | |
3358 | rlegf2.Size = Vector3.new(1.001, 2.001, 1.001) | |
3359 | rlegf2.Material = "Neon" | |
3360 | rlegf2.Transparency = 0 | |
3361 | rlegf2.CanCollide = false | |
3362 | rlegf2weld = weldBetween(rlegf2,RightLeg) | |
3363 | ||
3364 | Torsof2 = Instance.new("Part", Torso) | |
3365 | Torsof2.BrickColor = TheColor | |
3366 | Torsof2.Size = Vector3.new(2.001, 2.001, 1.001) | |
3367 | Torsof2.Material = "Neon" | |
3368 | Torsof2.Transparency = 0 | |
3369 | Torsof2.CanCollide = false | |
3370 | Torsof2weld = weldBetween(Torsof2,Torso) | |
3371 | wait(6) | |
3372 | glasss = glassshatter[math.random(1,#glassshatter)] | |
3373 | glass = Instance.new("Sound",Torso) | |
3374 | glass.SoundId = "rbxassetid://"..glasss | |
3375 | glass.Volume = 6 | |
3376 | glass:Play() | |
3377 | removeuseless:AddItem(glass,3) | |
3378 | sond = Instance.new("Sound", Torso) | |
3379 | sond.Volume = 10 | |
3380 | sond.SoundId = "rbxassetid://176823476" | |
3381 | sond:Play() | |
3382 | larmf2.Anchored = true | |
3383 | rarmf2.Anchored = true | |
3384 | rlegf2.Anchored = true | |
3385 | llegf2.Anchored = true | |
3386 | Torsof2.Anchored = true | |
3387 | Jw2.C0 = CFrame.new(0,.25,-.15) | |
3388 | Jw.C0 = CFrame.new(0,.25,-.15) | |
3389 | coroutine.wrap(function() | |
3390 | for i = 1, 25 do | |
3391 | larmf2.Size = larmf2.Size + Vector3.new(1,1,1) | |
3392 | larmf2.Transparency = larmf2.Transparency + 0.3 | |
3393 | rarmf2.Size = rarmf2.Size + Vector3.new(1,1,1) | |
3394 | rarmf2.Transparency = rarmf2.Transparency + 0.3 | |
3395 | rlegf2.Size = rlegf2.Size + Vector3.new(1.001, 2.001, 1.001) | |
3396 | rlegf2.Transparency = rlegf2.Transparency + 0.3 | |
3397 | llegf2.Size = llegf2.Size + Vector3.new(1.001, 2.001, 1.001) | |
3398 | llegf2.Transparency = llegf2.Transparency + 0.3 | |
3399 | Torsof2.Size = Torsof2.Size + Vector3.new(2.001, 2.001, 1.001) | |
3400 | Torsof2.Transparency = Torsof2.Transparency + .3 | |
3401 | CataclysmOrb.Size = CataclysmOrb.Size + Vector3.new(10,10,10) | |
3402 | CataclysmOrb.Transparency = CataclysmOrb.Transparency + 0.05 | |
3403 | wait() | |
3404 | end | |
3405 | end)() | |
3406 | for i = 1, 20 do | |
3407 | HEADLERP.C1 = HEADLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-0), math.rad(0), math.rad(0)), .5) | |
3408 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,.8,.4) * CFrame.Angles(math.rad(-87),math.rad(20 - .1 * math.sin(sine/8)),math.rad(0)), 0.3) | |
3409 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,.8,.4) * CFrame.Angles(math.rad(-87),math.rad(-20 + .1 * math.sin(sine/8)),math.rad(0)), 0.3) | |
3410 | wait() | |
3411 | end | |
3412 | knuckscrunch = Instance.new("Sound", Torso) | |
3413 | knuckscrunch.SoundId = "rbxassetid://1629602112" | |
3414 | knuckscrunch.Volume = 5 | |
3415 | knuckscrunch:Play() | |
3416 | removeuseless:AddItem(knuckscrunch,2) | |
3417 | for i = 1, 15 do | |
3418 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,.8,.4) * CFrame.Angles(math.rad(-84),math.rad(17 - .1 * math.sin(sine/8)),math.rad(0)), 0.3) | |
3419 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,.8,.4) * CFrame.Angles(math.rad(-84),math.rad(-17 + .1 * math.sin(sine/8)),math.rad(0)), 0.3) | |
3420 | wait() | |
3421 | end | |
3422 | for i = 1, 20 do | |
3423 | HEADLERP.C1 = HEADLERP.C1:lerp(CFrame.new(0, 0, .2) * CFrame.Angles(math.rad(-18), math.rad(0), math.rad(0)), .5) | |
3424 | wait() | |
3425 | end | |
3426 | coroutine.wrap(function() | |
3427 | for i = 1, 90 do | |
3428 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2 + .1 * math.sin(sine/2),0),.7) | |
3429 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 2 + .09 * math.sin(sine/2), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-7)), 0.5) | |
3430 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 2 + .09 * math.sin(sine/2), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), 0.5) | |
3431 | wait() | |
3432 | end | |
3433 | end)() | |
3434 | coroutine.wrap(function() | |
3435 | for i = 1, 45 do | |
3436 | local b1 = Instance.new("BillboardGui",Head) | |
3437 | b1.Size = UDim2.new(0,100,0,40) | |
3438 | b1.StudsOffset = Vector3.new(0,3,0) | |
3439 | b1.Adornee = Head | |
3440 | local b2 = Instance.new("TextLabel",b1) | |
3441 | b2.BackgroundTransparency = 1 | |
3442 | b2.Text = "HaHaHaHaHaHa..." | |
3443 | b2.Font = "Garamond" | |
3444 | b2.TextSize = 0 | |
3445 | b2.TextStrokeTransparency = 1 | |
3446 | b2.TextColor3 = BrickColor.new("Lime green").Color | |
3447 | b2.TextStrokeColor3 = Color3.new(0,0,0) | |
3448 | b2.Size = UDim2.new(1,0,0.5,0) | |
3449 | removeuseless:AddItem(b1,2) | |
3450 | table.insert(signtable,b2) | |
3451 | table.insert(signmover,b1) | |
3452 | table.insert(signtransparency,b2) | |
3453 | table.insert(signrotator,b2) | |
3454 | wait(.1) | |
3455 | end | |
3456 | end)() | |
3457 | for i = 1, 90 do | |
3458 | HEADLERP.C1 = HEADLERP.C1:lerp(CFrame.new(0, 0, -.2) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(0)), .5) | |
3459 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(100)), 0.5) | |
3460 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-100)), 0.5) | |
3461 | wait() | |
3462 | end | |
3463 | theinfinitecour = coroutine.wrap(function() | |
3464 | while wait() do | |
3465 | for i = 1, 10 do | |
3466 | JohnDoe2.Transparency = JohnDoe2.Transparency + .1 | |
3467 | wait() | |
3468 | end | |
3469 | wait(.5) | |
3470 | for i = 1, 10 do | |
3471 | JohnDoe2.Transparency = JohnDoe2.Transparency - .1 | |
3472 | wait() | |
3473 | end | |
3474 | wait(3) | |
3475 | end | |
3476 | end) | |
3477 | theinfinitecour() | |
3478 | coroutine.wrap(function() | |
3479 | while true do | |
3480 | for i = 1, 10 do | |
3481 | pBase7.BrickColor = BrickColor.new("Lime green") | |
3482 | pBase8.BrickColor = BrickColor.new("Lime green") | |
3483 | pBase9.BrickColor = BrickColor.new("Lime green") | |
3484 | pBase10.BrickColor = BrickColor.new("Lime green") | |
3485 | pBase12.BrickColor = BrickColor.new("Lime green") | |
3486 | TheCore.BrickColor = BrickColor.new("Lime green") | |
3487 | wait(.05) | |
3488 | pBase7.BrickColor = BrickColor.new("Really black") | |
3489 | pBase8.BrickColor = BrickColor.new("Really black") | |
3490 | pBase9.BrickColor = BrickColor.new("Really black") | |
3491 | pBase10.BrickColor = BrickColor.new("Really black") | |
3492 | pBase12.BrickColor = BrickColor.new("Really black") | |
3493 | TheCore.BrickColor = BrickColor.new("Really black") | |
3494 | wait(.05) | |
3495 | pBase7.BrickColor = BrickColor.new("Lime green") | |
3496 | pBase8.BrickColor = BrickColor.new("Lime green") | |
3497 | pBase9.BrickColor = BrickColor.new("Lime green") | |
3498 | pBase10.BrickColor = BrickColor.new("Lime green") | |
3499 | pBase12.BrickColor = BrickColor.new("Lime green") | |
3500 | TheCore.BrickColor = BrickColor.new("Lime green") | |
3501 | wait(.05) | |
3502 | pBase7.BrickColor = BrickColor.new("Really black") | |
3503 | pBase8.BrickColor = BrickColor.new("Really black") | |
3504 | pBase9.BrickColor = BrickColor.new("Really black") | |
3505 | pBase10.BrickColor = BrickColor.new("Really black") | |
3506 | pBase12.BrickColor = BrickColor.new("Really black") | |
3507 | TheCore.BrickColor = BrickColor.new("Really black") | |
3508 | wait(4) | |
3509 | end | |
3510 | end | |
3511 | end)() | |
3512 | hum.WalkSpeed = 18 | |
3513 | HEADLERP.Part1 = Head | |
3514 | larmf2:Remove() | |
3515 | rarmf2:Remove() | |
3516 | rlegf2:Remove() | |
3517 | llegf2:Remove() | |
3518 | Torsof2:Remove() | |
3519 | CataclysmOrb:Remove() | |
3520 | attacking = false | |
3521 | debounce = false | |
3522 | nottransform = true | |
3523 | transformingpart = false | |
3524 | end | |
3525 | end) | |
3526 | ||
3527 | mouse.KeyDown:connect(function(Press) | |
3528 | Press=Press:lower() | |
3529 | if Press=='q' then | |
3530 | if not nottransform then return end | |
3531 | if mouse.Target ~= nil then | |
3532 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
3533 | if debounce then return end | |
3534 | attacking = true | |
3535 | debounce = true | |
3536 | enemyhum = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
3537 | ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso") | |
3538 | ERight = enemyhum.Parent:FindFirstChild("Right Arm") or enemyhum.Parent:FindFirstChild("RightUpperArm") | |
3539 | ELeft = enemyhum.Parent:FindFirstChild("Left Arm") or enemyhum.Parent:FindFirstChild("LeftUpperArm") | |
3540 | ERight2 = enemyhum.Parent:FindFirstChild("Right Leg") or enemyhum.Parent:FindFirstChild("RightUpperLeg") | |
3541 | ELeft2 = enemyhum.Parent:FindFirstChild("Left Leg") or enemyhum.Parent:FindFirstChild("LeftUpperLeg") | |
3542 | EHead = enemyhum.Parent:FindFirstChild("Head") | |
3543 | hum.WalkSpeed = 0 | |
3544 | secret = secrettalk[math.random(1,#secrettalk)] | |
3545 | local b1 = Instance.new("BillboardGui",Head) | |
3546 | b1.Size = UDim2.new(0,100,0,40) | |
3547 | b1.StudsOffset = Vector3.new(0,3,0) | |
3548 | b1.Adornee = Head | |
3549 | local b2 = Instance.new("TextLabel",b1) | |
3550 | b2.BackgroundTransparency = 1 | |
3551 | b2.Text = ""..secret | |
3552 | b2.Font = "Garamond" | |
3553 | b2.TextSize = 0 | |
3554 | b2.TextStrokeTransparency = 1 | |
3555 | b2.TextColor3 = BrickColor.new("Lime green").Color | |
3556 | b2.TextStrokeColor3 = Color3.new(0,0,0) | |
3557 | b2.Size = UDim2.new(1,0,0.5,0) | |
3558 | billboardcour = coroutine.wrap(function() | |
3559 | for i = 1, 10 do | |
3560 | b2.TextStrokeTransparency = b2.TextStrokeTransparency - 0.1 | |
3561 | b2.TextSize = b2.TextSize + 3 | |
3562 | wait() | |
3563 | end | |
3564 | wait(1) | |
3565 | for i = 1, 10 do | |
3566 | b2.TextStrokeTransparency = b2.TextStrokeTransparency + 0.1 | |
3567 | b2.TextSize = b2.TextSize - 3 | |
3568 | wait() | |
3569 | end | |
3570 | b1:Remove() | |
3571 | end) | |
3572 | billboardcour() | |
3573 | g1 = Instance.new("BodyGyro", Root) | |
3574 | g1.D = 175 | |
3575 | g1.P = 20000 | |
3576 | g1.MaxTorque = Vector3.new(0,9000,0) | |
3577 | g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p) | |
3578 | g1.cframe = g1.cframe:lerp(CFrame.new(Root.Position,mouse.Hit.p),.5) | |
3579 | soundze = Instance.new("Sound",ETorso) | |
3580 | soundze.SoundId = "rbxassetid://1659770705" | |
3581 | soundze.Volume = 2 | |
3582 | soundze:Play() | |
3583 | removeuseless:AddItem(soundze,3) | |
3584 | right = Instance.new("Part",Character) | |
3585 | right.Size = Vector3.new(1.01,2.01,1.01) | |
3586 | right.BrickColor = BrickColor.new("Lime green") | |
3587 | right.Material = "Neon" | |
3588 | right.Transparency = 1 | |
3589 | right.Anchored = false | |
3590 | right.CFrame = ERight.CFrame | |
3591 | rightweld = weldBetween(right,ERight) | |
3592 | left = Instance.new("Part",Character) | |
3593 | left.Size = Vector3.new(1.01,2.01,1.01) | |
3594 | left.BrickColor = BrickColor.new("Lime green") | |
3595 | left.Material = "Neon" | |
3596 | left.Transparency = 1 | |
3597 | left.Anchored = false | |
3598 | left.CFrame = ELeft.CFrame | |
3599 | leftweld = weldBetween(left,ELeft) | |
3600 | leg = Instance.new("Part",Character) | |
3601 | leg.Size = Vector3.new(1.01,2.01,1.01) | |
3602 | leg.BrickColor = BrickColor.new("Lime green") | |
3603 | leg.Material = "Neon" | |
3604 | leg.Transparency = 1 | |
3605 | leg.Anchored = false | |
3606 | leg.CFrame = ERight2.CFrame | |
3607 | legweld = weldBetween(leg,ERight2) | |
3608 | leg2 = Instance.new("Part",Character) | |
3609 | leg2.Size = Vector3.new(1.01,2.01,1.01) | |
3610 | leg2.BrickColor = BrickColor.new("Lime green") | |
3611 | leg2.Material = "Neon" | |
3612 | leg2.Transparency = 1 | |
3613 | leg2.Anchored = false | |
3614 | leg2.CFrame = ELeft2.CFrame | |
3615 | leg2weld = weldBetween(leg2,ELeft2) | |
3616 | tors = Instance.new("Part",Character) | |
3617 | tors.Size = Vector3.new(2.01,2.01,1.01) | |
3618 | tors.Anchored = false | |
3619 | tors.Transparency = 1 | |
3620 | tors.BrickColor = BrickColor.new("Lime green") | |
3621 | tors.Material = "Neon" | |
3622 | tors.CFrame = ETorso.CFrame | |
3623 | torsweld = weldBetween(tors,ETorso) | |
3624 | hed = Instance.new("Part",Character) | |
3625 | hed.Size = Vector3.new(1.01,1.01,1.01) | |
3626 | hed.Anchored = false | |
3627 | hed.Transparency = 1 | |
3628 | hed.BrickColor = BrickColor.new("Lime green") | |
3629 | hed.Material = "Neon" | |
3630 | hed.CFrame = EHead.CFrame | |
3631 | hedweld = weldBetween(hed,EHead) | |
3632 | hedmesh = Instance.new("SpecialMesh",hed) | |
3633 | hedmesh.MeshType = "Head" | |
3634 | hedmesh.Scale = Vector3.new(1.25,1.25,1.25) | |
3635 | particlemiter1 = Instance.new("ParticleEmitter", left) | |
3636 | particlemiter1.Enabled = true | |
3637 | particlemiter1.Color = ColorSequence.new(Color3.new(0, 255, 0), Color3.new(0, 255, 0)) | |
3638 | particlemiter1.Texture = "rbxassetid://304437537" | |
3639 | particlemiter1.Lifetime = NumberRange.new(2.5) | |
3640 | particlemiter1.Size = NumberSequence.new(1,0) | |
3641 | particlemiter1.Rate = 25 | |
3642 | particlemiter1.RotSpeed = NumberRange.new(70) | |
3643 | particlemiter1.Speed = NumberRange.new(0) | |
3644 | particlemiter2 = Instance.new("ParticleEmitter", right) | |
3645 | particlemiter2.Enabled = true | |
3646 | particlemiter2.Color = ColorSequence.new(Color3.new(0, 255, 0), Color3.new(0, 255, 0)) | |
3647 | particlemiter2.Texture = "rbxassetid://304437537" | |
3648 | particlemiter2.Lifetime = NumberRange.new(2.5) | |
3649 | particlemiter2.Size = NumberSequence.new(1,0) | |
3650 | particlemiter2.Rate = 25 | |
3651 | particlemiter2.RotSpeed = NumberRange.new(70) | |
3652 | particlemiter2.Speed = NumberRange.new(0) | |
3653 | particlemiter4 = Instance.new("ParticleEmitter", leg) | |
3654 | particlemiter4.Enabled = true | |
3655 | particlemiter4.Color = ColorSequence.new(Color3.new(0, 255, 0), Color3.new(0, 255, 0)) | |
3656 | particlemiter4.Texture = "rbxassetid://304437537" | |
3657 | particlemiter4.Lifetime = NumberRange.new(2.5) | |
3658 | particlemiter4.Size = NumberSequence.new(1,0) | |
3659 | particlemiter4.Rate = 25 | |
3660 | particlemiter4.RotSpeed = NumberRange.new(70) | |
3661 | particlemiter4.Speed = NumberRange.new(0) | |
3662 | particlemiter5 = Instance.new("ParticleEmitter", leg2) | |
3663 | particlemiter5.Enabled = true | |
3664 | particlemiter5.Color = ColorSequence.new(Color3.new(0, 255, 0), Color3.new(0, 255, 0)) | |
3665 | particlemiter5.Texture = "rbxassetid://304437537" | |
3666 | particlemiter5.Lifetime = NumberRange.new(2.5) | |
3667 | particlemiter5.Size = NumberSequence.new(1,0) | |
3668 | particlemiter5.Rate = 25 | |
3669 | particlemiter5.RotSpeed = NumberRange.new(70) | |
3670 | particlemiter5.Speed = NumberRange.new(0) | |
3671 | particlemiter6 = Instance.new("ParticleEmitter", tors) | |
3672 | particlemiter6.Enabled = true | |
3673 | particlemiter6.Color = ColorSequence.new(Color3.new(0, 255, 0), Color3.new(0, 255, 0)) | |
3674 | particlemiter6.Texture = "rbxassetid://304437537" | |
3675 | particlemiter6.Lifetime = NumberRange.new(2.5) | |
3676 | particlemiter6.Size = NumberSequence.new(1,0) | |
3677 | particlemiter6.Rate = 25 | |
3678 | particlemiter6.RotSpeed = NumberRange.new(70) | |
3679 | particlemiter6.Speed = NumberRange.new(0) | |
3680 | particlemiter7 = Instance.new("ParticleEmitter", hed) | |
3681 | particlemiter7.Enabled = true | |
3682 | particlemiter7.Color = ColorSequence.new(Color3.new(0, 255, 0), Color3.new(0, 255, 0)) | |
3683 | particlemiter7.Texture = "rbxassetid://304437537" | |
3684 | particlemiter7.Lifetime = NumberRange.new(2.5) | |
3685 | particlemiter7.Size = NumberSequence.new(1,0) | |
3686 | particlemiter7.Rate = 25 | |
3687 | particlemiter7.RotSpeed = NumberRange.new(70) | |
3688 | particlemiter7.Speed = NumberRange.new(0) | |
3689 | for i = 1, 15 do | |
3690 | right.Transparency = right.Transparency - 0.02 | |
3691 | left.Transparency = left.Transparency - 0.02 | |
3692 | leg.Transparency = leg.Transparency - 0.02 | |
3693 | leg2.Transparency = leg2.Transparency - 0.02 | |
3694 | tors.Transparency = tors.Transparency - 0.02 | |
3695 | hed.Transparency = hed.Transparency - 0.02 | |
3696 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(30),math.rad(2)),.2) | |
3697 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(0)),.2) | |
3698 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .2) | |
3699 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3700 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3701 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .8, .5) * CFrame.Angles(math.rad(-90), math.rad(20), math.rad(0)),.5) | |
3702 | wait() | |
3703 | end | |
3704 | g1:Remove() | |
3705 | local grav = Instance.new("BodyPosition",ETorso) | |
3706 | grav.D = 1500 | |
3707 | grav.P = 20000 | |
3708 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3709 | grav.position = ETorso.Position+Vector3.new(0,15,0) | |
3710 | for i = 1, 30 do | |
3711 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, 1.2, .1) * CFrame.Angles(math.rad(-140), math.rad(20), math.rad(0)),.3) | |
3712 | wait() | |
3713 | end | |
3714 | wait(1) | |
3715 | coroutine.wrap(function() | |
3716 | fingsnap = Instance.new("Sound", RightArm) | |
3717 | fingsnap.SoundId = "rbxassetid://217767125" | |
3718 | fingsnap.Volume = 3 | |
3719 | fingsnap:Play() | |
3720 | removeuseless:AddItem(fingsnap,2) | |
3721 | for i = 1, 5 do | |
3722 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, 1.2, .09) * CFrame.Angles(math.rad(-145), math.rad(20), math.rad(0)),.5) | |
3723 | wait() | |
3724 | end | |
3725 | for i = 1, 5 do | |
3726 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, 1.2, .1) * CFrame.Angles(math.rad(-140), math.rad(20), math.rad(0)),.5) | |
3727 | wait() | |
3728 | end | |
3729 | end)() | |
3730 | right:Remove() | |
3731 | left:Remove() | |
3732 | leg:Remove() | |
3733 | leg2:Remove() | |
3734 | tors:Remove() | |
3735 | hed:Remove() | |
3736 | rightarmblack = Instance.new("Part",Character) | |
3737 | rightarmblack.Size = Vector3.new(1,2,1) | |
3738 | rightarmblack.BrickColor = BrickColor.new("Really black") | |
3739 | rightarmblack.Material = "Neon" | |
3740 | rightarmblack.Anchored = false | |
3741 | rightarmblack.CFrame = ERight.CFrame | |
3742 | removeuseless:AddItem(rightarmblack,10) | |
3743 | leftarmblack = Instance.new("Part",Character) | |
3744 | leftarmblack.Size = Vector3.new(1,2,1) | |
3745 | leftarmblack.BrickColor = BrickColor.new("Really black") | |
3746 | leftarmblack.Material = "Neon" | |
3747 | leftarmblack.Anchored = false | |
3748 | leftarmblack.CFrame = ELeft.CFrame | |
3749 | removeuseless:AddItem(leftarmblack,10) | |
3750 | rightlegblack = Instance.new("Part",Character) | |
3751 | rightlegblack.Size = Vector3.new(1,2,1) | |
3752 | rightlegblack.BrickColor = BrickColor.new("Really black") | |
3753 | rightlegblack.Material = "Neon" | |
3754 | rightlegblack.Anchored = false | |
3755 | rightlegblack.CFrame = ERight2.CFrame | |
3756 | removeuseless:AddItem(rightlegblack,10) | |
3757 | leftlegblack = Instance.new("Part",Character) | |
3758 | leftlegblack.Size = Vector3.new(1,2,1) | |
3759 | leftlegblack.BrickColor = BrickColor.new("Really black") | |
3760 | leftlegblack.Material = "Neon" | |
3761 | leftlegblack.Anchored = false | |
3762 | leftlegblack.CFrame = ELeft2.CFrame | |
3763 | removeuseless:AddItem(leftlegblack,10) | |
3764 | torsoblack = Instance.new("Part",Character) | |
3765 | torsoblack.Size = Vector3.new(2,2,1) | |
3766 | torsoblack.Anchored = false | |
3767 | torsoblack.BrickColor = BrickColor.new("Really black") | |
3768 | torsoblack.Material = "Neon" | |
3769 | torsoblack.CFrame = ETorso.CFrame | |
3770 | removeuseless:AddItem(torsoblack,10) | |
3771 | headblack = Instance.new("Part",Character) | |
3772 | headblack.Size = Vector3.new(1,1,1) | |
3773 | headblack.Anchored = false | |
3774 | headblack.BrickColor = BrickColor.new("Really black") | |
3775 | headblack.Material = "Neon" | |
3776 | headblack.CFrame = EHead.CFrame | |
3777 | removeuseless:AddItem(headblack,10) | |
3778 | headblackmesh = Instance.new("SpecialMesh",headblack) | |
3779 | headblackmesh.MeshType = "Head" | |
3780 | headblackmesh.Scale = Vector3.new(1.25,1.25,1.25) | |
3781 | enemyhum.Parent:Remove() | |
3782 | soul = Instance.new("Sound", torsoblack) | |
3783 | soul.SoundId = "rbxassetid://160867463" | |
3784 | soul.Volume = 3 | |
3785 | soul:Play() | |
3786 | circ = Instance.new("Part", torsoblack) | |
3787 | circ.Material = "Neon" | |
3788 | circ.Anchored = true | |
3789 | circ.CanCollide = false | |
3790 | circ.BrickColor = TheColor | |
3791 | circ.Size = Vector3.new(.1,.1,.1) | |
3792 | circShape = Instance.new("SpecialMesh", circ) | |
3793 | circShape.MeshType = "Sphere" | |
3794 | circShape.Scale = Vector3.new(.1,.1,.1) | |
3795 | circ.CFrame = tors.CFrame | |
3796 | coroutine.wrap(function() | |
3797 | for i = 1, 50 do | |
3798 | circ.Transparency = circ.Transparency + 0.02 | |
3799 | circShape.Scale = circShape.Scale + Vector3.new(15,15,15) | |
3800 | wait() | |
3801 | end | |
3802 | circ:Remove() | |
3803 | end)() | |
3804 | removeuseless:AddItem(soul,5) | |
3805 | local PB = Instance.new("BodyVelocity", torsoblack) | |
3806 | PB.MaxForce = Vector3.new(999999, 999999, 999999) | |
3807 | torsoblack.CFrame = CFrame.new(torsoblack.Position) | |
3808 | PB.Velocity = Vector3.new(0,1,0) | |
3809 | local PB2 = Instance.new("BodyVelocity", rightarmblack) | |
3810 | PB2.MaxForce = Vector3.new(999999, 999999, 999999) | |
3811 | rightarmblack.CFrame = CFrame.new(rightarmblack.Position) | |
3812 | PB2.Velocity = Vector3.new(0,1,0) | |
3813 | local PB3 = Instance.new("BodyVelocity", leftarmblack) | |
3814 | PB3.MaxForce = Vector3.new(999999, 999999, 999999) | |
3815 | leftarmblack.CFrame = CFrame.new(leftarmblack.Position) | |
3816 | PB3.Velocity = Vector3.new(0,1,0) | |
3817 | local PB4 = Instance.new("BodyVelocity", rightlegblack) | |
3818 | PB4.MaxForce = Vector3.new(999999, 999999, 999999) | |
3819 | rightlegblack.CFrame = CFrame.new(rightlegblack.Position) | |
3820 | PB4.Velocity = Vector3.new(0,1,0) | |
3821 | local PB5 = Instance.new("BodyVelocity", leftlegblack) | |
3822 | PB5.MaxForce = Vector3.new(999999, 999999, 999999) | |
3823 | leftlegblack.CFrame = CFrame.new(leftlegblack.Position) | |
3824 | PB5.Velocity = Vector3.new(0,1,0) | |
3825 | local PB6 = Instance.new("BodyVelocity", headblack) | |
3826 | PB6.MaxForce = Vector3.new(999999, 999999, 999999) | |
3827 | headblack.CFrame = CFrame.new(headblack.Position) | |
3828 | PB6.Velocity = Vector3.new(0,1,0) | |
3829 | t = 0 | |
3830 | coroutine.wrap(function() | |
3831 | for i = 1, 100 do | |
3832 | t = t + 2 | |
3833 | rightarmblack.Transparency = rightarmblack.Transparency + 0.01 | |
3834 | leftarmblack.Transparency = leftarmblack.Transparency + 0.01 | |
3835 | leftlegblack.Transparency = leftlegblack.Transparency + 0.01 | |
3836 | rightlegblack.Transparency = rightlegblack.Transparency + 0.01 | |
3837 | torsoblack.Transparency = torsoblack.Transparency + 0.01 | |
3838 | headblack.Transparency = headblack.Transparency + 0.01 | |
3839 | rightarmblack.CFrame = rightarmblack.CFrame * CFrame.Angles(math.rad(0 + 3),math.rad(0 - 5),math.rad(0 + 2)) | |
3840 | leftarmblack.CFrame = leftarmblack.CFrame * CFrame.Angles(math.rad(0 - 3),math.rad(0 + 5),math.rad(0 - 2)) | |
3841 | rightlegblack.CFrame = rightlegblack.CFrame * CFrame.Angles(math.rad(0 + 7),math.rad(0 + 2),math.rad(0 - 1)) | |
3842 | leftlegblack.CFrame = leftlegblack.CFrame * CFrame.Angles(math.rad(0 - 6),math.rad(0 - 5),math.rad(0 + 4)) | |
3843 | rightlegblack.CFrame = rightlegblack.CFrame * CFrame.Angles(math.rad(0 + 7),math.rad(0 + 2),math.rad(0 - 1)) | |
3844 | torsoblack.CFrame = torsoblack.CFrame * CFrame.Angles(math.rad(0 - 3),math.rad(0 + 7),math.rad(0 + 1)) | |
3845 | headblack.CFrame = headblack.CFrame * CFrame.Angles(math.rad(0 + 2),math.rad(0 + 8),math.rad(0 + 1)) | |
3846 | wait() | |
3847 | end | |
3848 | end)() | |
3849 | wait(1) | |
3850 | hum.WalkSpeed = 18 | |
3851 | attacking = false | |
3852 | debounce = false | |
3853 | end | |
3854 | end | |
3855 | end | |
3856 | end) | |
3857 | ||
3858 | local color1 = Color3.new(TheCore.BrickColor.Color) | |
3859 | ||
3860 | A = Instance.new("Attachment", pBase5) | |
3861 | A.Position = Vector3.new(0,-1.5,0) | |
3862 | A.Name = "A" | |
3863 | B = Instance.new("Attachment", pBase5) | |
3864 | B.Position = Vector3.new(0,1.5,0) | |
3865 | B.Name = "B" | |
3866 | tr1 = Instance.new("Trail", pBase5) | |
3867 | tr1.Attachment0 = A | |
3868 | tr1.Attachment1 = B | |
3869 | tr1.Enabled = false | |
3870 | tr1.Lifetime = .8 | |
3871 | tr1.TextureMode = "Static" | |
3872 | tr1.LightInfluence = .2 | |
3873 | tr1.Color = ColorSequence.new(BrickColor.new"Lime green".Color,BrickColor.new"Really black".Color) | |
3874 | tr1.Transparency = NumberSequence.new(0, 1) | |
3875 | coroutine.wrap(function() | |
3876 | while wait() do | |
3877 | tr1.Color = ColorSequence.new(TheCore.BrickColor.Color,BrickColor.new"Really black".Color) | |
3878 | end | |
3879 | end)() | |
3880 | ||
3881 | mouse.KeyDown:connect(function(Press) | |
3882 | Press=Press:lower() | |
3883 | if Press=='u' then | |
3884 | if debounce then return end | |
3885 | debounce = true | |
3886 | attacking = true | |
3887 | damagedebounce = false | |
3888 | lmon4 = lmon3[math.random(1,#lmon3)] | |
3889 | local b1 = Instance.new("BillboardGui",Head) | |
3890 | b1.Size = UDim2.new(0,100,0,40) | |
3891 | b1.StudsOffset = Vector3.new(0,3,0) | |
3892 | b1.Adornee = Head | |
3893 | local b2 = Instance.new("TextLabel",b1) | |
3894 | b2.BackgroundTransparency = 1 | |
3895 | b2.Text = ""..lmon4 | |
3896 | b2.Font = "Garamond" | |
3897 | b2.TextSize = 0 | |
3898 | b2.TextStrokeTransparency = 1 | |
3899 | b2.TextColor3 = BrickColor.new("Lime green").Color | |
3900 | b2.TextStrokeColor3 = Color3.new(0,0,0) | |
3901 | b2.Size = UDim2.new(1,0,0.5,0) | |
3902 | billboardcour = coroutine.wrap(function() | |
3903 | for i = 1, 10 do | |
3904 | b2.TextStrokeTransparency = b2.TextStrokeTransparency - 0.1 | |
3905 | b2.TextSize = b2.TextSize + 3 | |
3906 | wait() | |
3907 | end | |
3908 | wait(2) | |
3909 | for i = 1, 10 do | |
3910 | b2.TextStrokeTransparency = b2.TextStrokeTransparency + 0.1 | |
3911 | b2.TextSize = b2.TextSize - 3 | |
3912 | wait() | |
3913 | end | |
3914 | b1:Remove() | |
3915 | end) | |
3916 | billboardcour() | |
3917 | t = 0 | |
3918 | quickcour = coroutine.wrap(function() | |
3919 | spawnsound = Instance.new("Sound", RightArm) | |
3920 | spawnsound.SoundId = "rbxassetid://159332197" | |
3921 | spawnsound.Volume = 5 | |
3922 | spawnsound:Play() | |
3923 | removeuseless:AddItem(spawnsound,4) | |
3924 | Scythe = Instance.new("Part", Torso) | |
3925 | Scythe.Size = Vector3.new(0.5, 0.5, 0.5) | |
3926 | Scythe.Material = "Neon" | |
3927 | Scythe.BrickColor = TheColor | |
3928 | Scythe.Transparency = 1 | |
3929 | Scythe.CanCollide = false | |
3930 | ScytheMESH = Instance.new("SpecialMesh", Scythe) | |
3931 | ScytheMESH.Scale = Vector3.new(2,2,2) | |
3932 | ScytheMESH.MeshId = "rbxassetid://218497396" | |
3933 | ScytheWeld = weldBetween(Scythe,RightArm) | |
3934 | ScytheWeld.C0 = CFrame.new(0,-1.5,-1.45) * CFrame.Angles(math.rad(-100),math.rad(180),math.rad(0)) | |
3935 | for i = 1, 20 do | |
3936 | Scythe.Transparency = Scythe.Transparency - 0.04 | |
3937 | wait() | |
3938 | end | |
3939 | end) | |
3940 | quickcour() | |
3941 | hum.WalkSpeed = 0 | |
3942 | for i = 1, 25 do | |
3943 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .5) | |
3944 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5) | |
3945 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.5) | |
3946 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(3)), 0.5) | |
3947 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) | |
3948 | wait() | |
3949 | end | |
3950 | for i = 1, 10 do | |
3951 | ScytheWeld.C0 = ScytheWeld.C0:lerp(CFrame.new(0,-4.13,0) * CFrame.Angles(math.rad(-180),math.rad(0),math.rad(0)),.5) | |
3952 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5, .5, -1.5) * CFrame.Angles(math.rad(-125), math.rad(0), math.rad(90)), .5) | |
3953 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(0), math.rad(-40), math.rad(0)), 0.5) | |
3954 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.9, -.3) * CFrame.Angles(math.rad(-21), math.rad(0), math.rad(0)), 0.5) | |
3955 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.9, .2) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.6) | |
3956 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, .5, -1.5) * CFrame.Angles(math.rad(-125), math.rad(0), math.rad(-90)), 0.5) | |
3957 | wait() | |
3958 | end | |
3959 | hum.WalkSpeed = 60 | |
3960 | soundcour = coroutine.wrap(function() | |
3961 | for i = 1, 25 do | |
3962 | lunge2:Play() | |
3963 | wait(.1) | |
3964 | end | |
3965 | end) | |
3966 | soundcour() | |
3967 | htbox = Instance.new("Part", Scythe) | |
3968 | htbox.CFrame = Scythe.CFrame | |
3969 | htbox.Transparency = 1 | |
3970 | htbox.CanCollide = false | |
3971 | htbox.Size = Vector3.new(.40,7,3) | |
3972 | htboxweld = weldBetween(htbox,Scythe) | |
3973 | htbox.Touched:connect(function(hit) | |
3974 | if hit.Parent:IsA("Part") then | |
3975 | elseif hit.Parent:IsA("SpecialMesh") then | |
3976 | elseif hit.Parent.Name == game.Players.LocalPlayer.Name then | |
3977 | elseif hit.Parent:findFirstChildOfClass("Humanoid") then | |
3978 | if damagedebounce == true then return end | |
3979 | damagedebounce = true | |
3980 | Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid") | |
3981 | quickcour = coroutine.wrap(function() | |
3982 | Slachtoffer.WalkSpeed = 6 | |
3983 | wait(1) | |
3984 | Slachtoffer.WalkSpeed = 16 | |
3985 | end) | |
3986 | quickcour() | |
3987 | if absoluteannihilation then | |
3988 | Slachtoffer.Parent:BreakJoints() | |
3989 | rdnm = soundtable[math.random(1,#soundtable)] | |
3990 | slashwound = Instance.new("Sound", Slachtoffer.Torso) | |
3991 | slashwound.SoundId = "rbxassetid://"..rdnm | |
3992 | slashwound.Volume = 4 | |
3993 | slashwound:Play() | |
3994 | removeuseless:AddItem(slashwound,2) | |
3995 | wait(.1) | |
3996 | damagedebounce = false | |
3997 | else | |
3998 | Slachtoffer:TakeDamage(math.random(10,15)) | |
3999 | rdnm = soundtable[math.random(1,#soundtable)] | |
4000 | slashwound = Instance.new("Sound", Slachtoffer.Torso) | |
4001 | slashwound.SoundId = "rbxassetid://"..rdnm | |
4002 | slashwound.Volume = 4 | |
4003 | slashwound:Play() | |
4004 | removeuseless:AddItem(slashwound,2) | |
4005 | wait(.1) | |
4006 | damagedebounce = false | |
4007 | end | |
4008 | end | |
4009 | end) | |
4010 | A = Instance.new("Attachment", htbox) | |
4011 | A.Position = Vector3.new(0,-3.2,0) | |
4012 | A.Name = "A" | |
4013 | B = Instance.new("Attachment", htbox) | |
4014 | B.Position = Vector3.new(0,3.2,0) | |
4015 | B.Name = "B" | |
4016 | tr11 = Instance.new("Trail", Scythe) | |
4017 | tr11.Attachment0 = A | |
4018 | tr11.Attachment1 = B | |
4019 | tr11.Enabled = true | |
4020 | tr11.Lifetime = .8 | |
4021 | tr11.TextureMode = "Static" | |
4022 | tr11.LightInfluence = 0 | |
4023 | tr11.Color = ColorSequence.new(BrickColor.new"Lime green".Color,BrickColor.new"Really black".Color) | |
4024 | tr11.Transparency = NumberSequence.new(0, 1) | |
4025 | coroutine.wrap(function() | |
4026 | so = Instance.new("Sound", Torso) | |
4027 | so.SoundId = "rbxassetid://231917758" | |
4028 | so.Volume = 1 | |
4029 | so.Pitch = .2 | |
4030 | so:Play() | |
4031 | removeuseless:AddItem(so,3) | |
4032 | wait(1) | |
4033 | so2 = Instance.new("Sound", Torso) | |
4034 | so2.SoundId = "rbxassetid://231917758" | |
4035 | so2.Volume = 1 | |
4036 | so2.Pitch = .2 | |
4037 | so2:Play() | |
4038 | removeuseless:AddItem(so2,3) | |
4039 | end)() | |
4040 | for i = 1, 80 do | |
4041 | leftarmeffect = Instance.new("Part", Torso) | |
4042 | leftarmeffect.BrickColor = TheColor | |
4043 | leftarmeffect.Size = Vector3.new(1.001, 2.001, 1.001) | |
4044 | leftarmeffect.Material = "Neon" | |
4045 | leftarmeffect.Anchored = true | |
4046 | leftarmeffect.CanCollide = false | |
4047 | leftarmeffect.CFrame = LeftArm.CFrame | |
4048 | table.insert(SlowlyFade,leftarmeffect) | |
4049 | removeuseless:AddItem(leftarmeffect,2) | |
4050 | rightarmeffect = Instance.new("Part", Torso) | |
4051 | rightarmeffect.BrickColor = TheColor | |
4052 | rightarmeffect.Size = Vector3.new(1.001, 2.001, 1.001) | |
4053 | rightarmeffect.Material = "Neon" | |
4054 | rightarmeffect.Anchored = true | |
4055 | rightarmeffect.CanCollide = false | |
4056 | rightarmeffect.CFrame = RightArm.CFrame | |
4057 | table.insert(SlowlyFade,rightarmeffect) | |
4058 | removeuseless:AddItem(rightarmeffect,2) | |
4059 | leftlegeffect = Instance.new("Part", Torso) | |
4060 | leftlegeffect.BrickColor = BrickColor.new("Really black") | |
4061 | leftlegeffect.Size = Vector3.new(1.001, 2.001, 1.001) | |
4062 | leftlegeffect.Material = "Neon" | |
4063 | leftlegeffect.Anchored = true | |
4064 | leftlegeffect.CanCollide = false | |
4065 | leftlegeffect.CFrame = LeftLeg.CFrame | |
4066 | table.insert(SlowlyFade,leftlegeffect) | |
4067 | removeuseless:AddItem(leftlegeffect,2) | |
4068 | rightlegeffect = Instance.new("Part", Torso) | |
4069 | rightlegeffect.BrickColor = BrickColor.new("Really black") | |
4070 | rightlegeffect.Size = Vector3.new(1.001, 2.001, 1.001) | |
4071 | rightlegeffect.Material = "Neon" | |
4072 | rightlegeffect.Anchored = true | |
4073 | rightlegeffect.CanCollide = false | |
4074 | rightlegeffect.CFrame = RightLeg.CFrame | |
4075 | table.insert(SlowlyFade,rightlegeffect) | |
4076 | removeuseless:AddItem(rightlegeffect,2) | |
4077 | t = t + 65 | |
4078 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.5) | |
4079 | wait() | |
4080 | end | |
4081 | hum.WalkSpeed = 0 | |
4082 | lunge3:Play() | |
4083 | despawnsound = Instance.new("Sound", RightArm) | |
4084 | despawnsound.SoundId = "rbxassetid://159332197" | |
4085 | despawnsound.Volume = 5 | |
4086 | despawnsound:Play() | |
4087 | despawnsound.PlaybackSpeed = 2 | |
4088 | removeuseless:AddItem(despawnsound,4) | |
4089 | local shockwefe2 = coroutine.wrap(function() | |
4090 | shockwave2 = Instance.new("Part", Torso) | |
4091 | shockwave2.Size = Vector3.new(5, 5, 5) | |
4092 | shockwave2.Transparency = 0 | |
4093 | shockwave2.BrickColor = TheColor | |
4094 | shockwave2.Anchored = true | |
4095 | shockwave2.CanCollide = false | |
4096 | shockwave2.CFrame = Root.CFrame*CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
4097 | sh2 = Instance.new("SpecialMesh", shockwave2) | |
4098 | sh2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
4099 | sh2.Scale = Vector3.new(0, 0, 0) | |
4100 | removeuseless:AddItem(shockwave2,1) | |
4101 | shockwave3 = Instance.new("Part", Torso) | |
4102 | shockwave3.Size = Vector3.new(1, 1, 1) | |
4103 | shockwave3.Transparency = 0 | |
4104 | shockwave3.BrickColor = TheColor | |
4105 | shockwave3.Anchored = true | |
4106 | shockwave3.CanCollide = false | |
4107 | shockwave3.CFrame = Root.CFrame*CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
4108 | sh3 = Instance.new("SpecialMesh", shockwave3) | |
4109 | sh3.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
4110 | sh3.Scale = Vector3.new(0, 0, 0) | |
4111 | removeuseless:AddItem(shockwave3,2) | |
4112 | for i = 1, 100 do | |
4113 | sh2.Scale = sh2.Scale + Vector3.new(1,1,0) | |
4114 | shockwave2.Transparency = shockwave2.Transparency + 0.1 | |
4115 | sh3.Scale = sh3.Scale + Vector3.new(1.25,.1,1.25) | |
4116 | shockwave3.Transparency = shockwave3.Transparency + 0.1 | |
4117 | wait() | |
4118 | end | |
4119 | end) | |
4120 | shockwefe2() | |
4121 | for i = 1, 30 do | |
4122 | Scythe.Transparency = Scythe.Transparency + 0.05 | |
4123 | ScytheWeld.C0 = ScytheWeld.C0:lerp(CFrame.new(0,-1.5,-1.45) * CFrame.Angles(math.rad(-150),math.rad(180),math.rad(0)), .6) | |
4124 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), .6) | |
4125 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87),math.rad(80),math.rad(0)), 0.6) | |
4126 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.55,.15) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)), .6) | |
4127 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .6) | |
4128 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.8, .2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(2)), .3) | |
4129 | wait() | |
4130 | end | |
4131 | hum.WalkSpeed = 18 | |
4132 | htbox:Remove() | |
4133 | Scythe:Remove() | |
4134 | attacking = false | |
4135 | debounce = false | |
4136 | end | |
4137 | end) | |
4138 | ||
4139 | mouse.KeyDown:connect(function(Press) | |
4140 | Press=Press:lower() | |
4141 | if Press=='n' then | |
4142 | if debounce then return end | |
4143 | debounce = true | |
4144 | attacking = true | |
4145 | appi = true | |
4146 | damagedebounce = false | |
4147 | lmon4 = lmon3[math.random(1,#lmon3)] | |
4148 | local b1 = Instance.new("BillboardGui",Head) | |
4149 | b1.Size = UDim2.new(0,100,0,40) | |
4150 | b1.StudsOffset = Vector3.new(0,3,0) | |
4151 | b1.Adornee = Head | |
4152 | local b2 = Instance.new("TextLabel",b1) | |
4153 | b2.BackgroundTransparency = 1 | |
4154 | b2.Text = ""..lmon4 | |
4155 | b2.Font = "Garamond" | |
4156 | b2.TextSize = 0 | |
4157 | b2.TextStrokeTransparency = 1 | |
4158 | b2.TextColor3 = BrickColor.new("Lime green").Color | |
4159 | b2.TextStrokeColor3 = Color3.new(0,0,0) | |
4160 | b2.Size = UDim2.new(1,0,0.5,0) | |
4161 | billboardcour = coroutine.wrap(function() | |
4162 | for i = 1, 10 do | |
4163 | b2.TextStrokeTransparency = b2.TextStrokeTransparency - 0.1 | |
4164 | b2.TextSize = b2.TextSize + 3 | |
4165 | wait() | |
4166 | end | |
4167 | wait(2) | |
4168 | for i = 1, 10 do | |
4169 | b2.TextStrokeTransparency = b2.TextStrokeTransparency + 0.1 | |
4170 | b2.TextSize = b2.TextSize - 3 | |
4171 | wait() | |
4172 | end | |
4173 | b1:Remove() | |
4174 | end) | |
4175 | billboardcour() | |
4176 | coroutine.wrap(function() | |
4177 | while appi do | |
4178 | wait() | |
4179 | if Root.Velocity.Magnitude > 2 and running == false and attacking == true then | |
4180 | trail = true | |
4181 | position = "Walking2" | |
4182 | end | |
4183 | end | |
4184 | end)() | |
4185 | coroutine.wrap(function() | |
4186 | while appi do | |
4187 | wait() | |
4188 | settime = 0.05 | |
4189 | sine = sine + change | |
4190 | if position == "Walking2" and attacking == true and running == false and appi == true then | |
4191 | change = 1 | |
4192 | walking = true | |
4193 | hum.WalkSpeed = 6 | |
4194 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.5) | |
4195 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.5) | |
4196 | end | |
4197 | end | |
4198 | end)() | |
4199 | quickcour = coroutine.wrap(function() | |
4200 | spawnsound = Instance.new("Sound", RightArm) | |
4201 | spawnsound.SoundId = "rbxassetid://159332197" | |
4202 | spawnsound.Volume = 5 | |
4203 | spawnsound:Play() | |
4204 | removeuseless:AddItem(spawnsound,4) | |
4205 | Scythe = Instance.new("Part", Torso) | |
4206 | Scythe.Size = Vector3.new(0.5, 0.5, 0.5) | |
4207 | Scythe.Material = "Neon" | |
4208 | Scythe.BrickColor = TheColor | |
4209 | Scythe.Transparency = 1 | |
4210 | Scythe.CanCollide = false | |
4211 | ScytheMESH = Instance.new("SpecialMesh", Scythe) | |
4212 | ScytheMESH.Scale = Vector3.new(2,2,2) | |
4213 | ScytheMESH.MeshId = "rbxassetid://218497396" | |
4214 | ScytheWeld = weldBetween(Scythe,RightArm) | |
4215 | ScytheWeld.C0 = CFrame.new(0,-1.5,-1.45) * CFrame.Angles(math.rad(-100),math.rad(180),math.rad(0)) | |
4216 | for i = 1, 20 do | |
4217 | Scythe.Transparency = Scythe.Transparency - 0.04 | |
4218 | wait() | |
4219 | end | |
4220 | end) | |
4221 | quickcour() | |
4222 | hum.WalkSpeed = 0 | |
4223 | for i = 1, 25 do | |
4224 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .5) | |
4225 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 0.5) | |
4226 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.5) | |
4227 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(3)), 0.5) | |
4228 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) | |
4229 | wait() | |
4230 | end | |
4231 | g1 = Instance.new("BodyGyro", Root) | |
4232 | g1.D = 175 | |
4233 | g1.P = 20000 | |
4234 | g1.MaxTorque = Vector3.new(0,9000,0) | |
4235 | g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p) | |
4236 | for i = 1, 6 do | |
4237 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.25,0),.6) | |
4238 | g1.cframe = g1.cframe:lerp(CFrame.new(Root.Position,mouse.Hit.p),.6) | |
4239 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .8, .5) * CFrame.Angles(math.rad(-90), math.rad(20), math.rad(0)),.6) | |
4240 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .2) | |
4241 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.55 + .02 * math.sin(sine/8), .15) * CFrame.Angles(math.rad(0 * math.sin(sine/8)), math.rad(0 + 2 * math.sin(sine/8)), math.rad(-2 - 0 * math.sin(sine/8))), .6) | |
4242 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.8 + .02 * math.sin(sine/8), .2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(2 + 0 * math.sin(sine/8))), .6) | |
4243 | wait() | |
4244 | end | |
4245 | t = 0 | |
4246 | htbox = Instance.new("Part", Scythe) | |
4247 | htbox.CFrame = Scythe.CFrame | |
4248 | htbox.Transparency = 1 | |
4249 | htbox.CanCollide = false | |
4250 | htbox.Size = Vector3.new(.40,7,3) | |
4251 | htboxweld = weldBetween(htbox,Scythe) | |
4252 | A = Instance.new("Attachment", htbox) | |
4253 | A.Position = Vector3.new(0,-4,0) | |
4254 | A.Name = "A" | |
4255 | B = Instance.new("Attachment", htbox) | |
4256 | B.Position = Vector3.new(0,4,0) | |
4257 | B.Name = "B" | |
4258 | tr11 = Instance.new("Trail", Scythe) | |
4259 | tr11.Attachment0 = A | |
4260 | tr11.Attachment1 = B | |
4261 | tr11.Enabled = true | |
4262 | tr11.Lifetime = .8 | |
4263 | tr11.TextureMode = "Static" | |
4264 | tr11.LightInfluence = 0 | |
4265 | tr11.Color = ColorSequence.new(BrickColor.new"Lime green".Color,BrickColor.new"Really black".Color) | |
4266 | tr11.Transparency = NumberSequence.new(0, 1) | |
4267 | htbox.Touched:connect(function(hit) | |
4268 | if hit.Parent:IsA("Part") then | |
4269 | elseif hit.Parent:IsA("SpecialMesh") then | |
4270 | elseif hit.Parent.Name == game.Players.LocalPlayer.Name then | |
4271 | elseif hit.Parent:findFirstChildOfClass("Humanoid") then | |
4272 | if damagedebounce == true then return end | |
4273 | damagedebounce = true | |
4274 | Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid") | |
4275 | quickcour = coroutine.wrap(function() | |
4276 | Slachtoffer.WalkSpeed = 2 | |
4277 | wait(1) | |
4278 | Slachtoffer.WalkSpeed = 16 | |
4279 | end) | |
4280 | quickcour() | |
4281 | if absoluteannihilation then | |
4282 | Slachtoffer.Parent:BreakJoints() | |
4283 | wait(.1) | |
4284 | damagedebounce = false | |
4285 | else | |
4286 | Slachtoffer:TakeDamage(math.random(8,14)) | |
4287 | rdnm = soundtable[math.random(1,#soundtable)] | |
4288 | slashwound = Instance.new("Sound", Slachtoffer.Torso) | |
4289 | slashwound.SoundId = "rbxassetid://"..rdnm | |
4290 | slashwound.Volume = 4 | |
4291 | slashwound:Play() | |
4292 | removeuseless:AddItem(slashwound,2) | |
4293 | wait(.1) | |
4294 | damagedebounce = false | |
4295 | end | |
4296 | end | |
4297 | end) | |
4298 | hum.WalkSpeed = 6 | |
4299 | appi = true | |
4300 | coroutine.wrap(function() | |
4301 | for i = 1, 25 do | |
4302 | lunge2:Play() | |
4303 | wait(.1) | |
4304 | end | |
4305 | end)() | |
4306 | so2 = Instance.new("Sound", Scythe) | |
4307 | so2.SoundId = "rbxassetid://231917758" | |
4308 | so2.Volume = 2 | |
4309 | so2.Pitch = .15 | |
4310 | so2:Play() | |
4311 | for i = 1, 80 do | |
4312 | t = t + 80 | |
4313 | g1.cframe = g1.cframe:lerp(CFrame.new(Root.Position,mouse.Hit.p),.5) | |
4314 | ScytheWeld.C0 = ScytheWeld.C0:lerp(CFrame.new(0,-1.4,-1.25) * CFrame.Angles(math.rad(-100 + t),math.rad(180),math.rad(0)), .6) | |
4315 | wait() | |
4316 | end | |
4317 | despawnsound = Instance.new("Sound", RightArm) | |
4318 | despawnsound.SoundId = "rbxassetid://159332197" | |
4319 | despawnsound.Volume = 5 | |
4320 | despawnsound:Play() | |
4321 | despawnsound.PlaybackSpeed = 2 | |
4322 | removeuseless:AddItem(despawnsound,4) | |
4323 | local shockwefe2 = coroutine.wrap(function() | |
4324 | shockwave2 = Instance.new("Part", Torso) | |
4325 | shockwave2.Size = Vector3.new(5, 5, 5) | |
4326 | shockwave2.Transparency = 0 | |
4327 | shockwave2.BrickColor = TheColor | |
4328 | shockwave2.Anchored = true | |
4329 | shockwave2.CanCollide = false | |
4330 | shockwave2.CFrame = Root.CFrame*CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
4331 | sh2 = Instance.new("SpecialMesh", shockwave2) | |
4332 | sh2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
4333 | sh2.Scale = Vector3.new(0, 0, 0) | |
4334 | removeuseless:AddItem(shockwave2,1) | |
4335 | shockwave3 = Instance.new("Part", Torso) | |
4336 | shockwave3.Size = Vector3.new(1, 1, 1) | |
4337 | shockwave3.Transparency = 0 | |
4338 | shockwave3.BrickColor = TheColor | |
4339 | shockwave3.Anchored = true | |
4340 | shockwave3.CanCollide = false | |
4341 | shockwave3.CFrame = Root.CFrame*CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
4342 | sh3 = Instance.new("SpecialMesh", shockwave3) | |
4343 | sh3.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
4344 | sh3.Scale = Vector3.new(0, 0, 0) | |
4345 | removeuseless:AddItem(shockwave3,2) | |
4346 | for i = 1, 100 do | |
4347 | sh2.Scale = sh2.Scale + Vector3.new(1,1,0) | |
4348 | shockwave2.Transparency = shockwave2.Transparency + 0.1 | |
4349 | sh3.Scale = sh3.Scale + Vector3.new(1.25,.1,1.25) | |
4350 | shockwave3.Transparency = shockwave3.Transparency + 0.1 | |
4351 | wait() | |
4352 | end | |
4353 | end) | |
4354 | shockwefe2() | |
4355 | appi = false | |
4356 | g1:Remove() | |
4357 | tr11.Enabled = false | |
4358 | damagedebounce = true | |
4359 | hum.WalkSpeed = 0 | |
4360 | for i = 1, 30 do | |
4361 | Scythe.Transparency = Scythe.Transparency + 0.05 | |
4362 | ScytheWeld.C0 = ScytheWeld.C0:lerp(CFrame.new(0,-1.5,-1.45) * CFrame.Angles(math.rad(-150),math.rad(180),math.rad(0)), .6) | |
4363 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), .6) | |
4364 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87),math.rad(80),math.rad(0)), 0.6) | |
4365 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.55,.15) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)), .6) | |
4366 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .6) | |
4367 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.8, .2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(2)), .3) | |
4368 | wait() | |
4369 | end | |
4370 | hum.WalkSpeed = 18 | |
4371 | htbox:Remove() | |
4372 | Scythe:Remove() | |
4373 | position = "Walking" | |
4374 | attacking = false | |
4375 | debounce = false | |
4376 | end | |
4377 | end) | |
4378 | ||
4379 | hum.Died:connect(function() | |
4380 | coroutine.wrap(function() | |
4381 | while wait() do | |
4382 | doomtheme.Volume = doomtheme.Volume - 0.05 | |
4383 | end | |
4384 | end)() | |
4385 | deadsound = Instance.new("Sound", Torso) | |
4386 | deadsound.Volume = 10 | |
4387 | deadsound.SoundId = "rbxassetid://223471024" | |
4388 | deadsound:Play() | |
4389 | end) | |
4390 | ||
4391 | ||
4392 | doit = coroutine.wrap(function() | |
4393 | while wait() do | |
4394 | for _,v in pairs(Repeater) do | |
4395 | v.Scale = v.Scale + Vector3.new(1, 1, 1) | |
4396 | end | |
4397 | ||
4398 | for _,v in pairs(openshocktable) do | |
4399 | v.Scale = v.Scale + Vector3.new(3, 3, 3) | |
4400 | end | |
4401 | ||
4402 | for _,v in pairs(nonmeshRepeater) do | |
4403 | v.Size = v.Size + Vector3.new(2, 2, 2) | |
4404 | end | |
4405 | ||
4406 | for _,v in pairs(Extreme) do | |
4407 | v.Size = v.Size + Vector3.new(6, 6, 6) | |
4408 | end | |
4409 | ||
4410 | for _,v in pairs(LessSize) do | |
4411 | v.Size = v.Size - Vector3.new(1, 1, 1) | |
4412 | end | |
4413 | ||
4414 | for _,v in pairs(nonmeshRepeater2) do | |
4415 | v.Transparency = v.Transparency + 0.05 | |
4416 | end | |
4417 | ||
4418 | for _,v in pairs(Repeater2) do | |
4419 | v.Transparency = v.Transparency + 0.01 | |
4420 | end | |
4421 | ||
4422 | for _,v in pairs(th1) do | |
4423 | v.Transparency = v.Transparency - 0.008 | |
4424 | end | |
4425 | ||
4426 | for _,v in pairs(th2) do | |
4427 | v.Scale = v.Scale - Vector3.new(1, 1, 1) | |
4428 | end | |
4429 | ||
4430 | for _,v in pairs(th3) do | |
4431 | v.Scale = v.Scale + Vector3.new(2, 2, 2) | |
4432 | end | |
4433 | ||
4434 | for _,v in pairs(th5) do | |
4435 | v.Scale = v.Scale + Vector3.new(1, .1, 1) | |
4436 | end | |
4437 | ||
4438 | for _,v in pairs(ExtremeM) do | |
4439 | v.Scale = v.Scale + Vector3.new(8, 8, 8) | |
4440 | end | |
4441 | ||
4442 | for _,v in pairs(m3) do | |
4443 | v.Scale = v.Scale + Vector3.new(12, 12, 12) | |
4444 | end | |
4445 | ||
4446 | for _,v in pairs(ExtremeM2) do | |
4447 | v.Scale = v.Scale + Vector3.new(8, 1, 8) | |
4448 | end | |
4449 | ||
4450 | for _,v in pairs(th4) do | |
4451 | v.Transparency = v.Transparency + 0.009 | |
4452 | v.Rotation = v.Rotation + Vector3.new(3,0,0) | |
4453 | end | |
4454 | ||
4455 | for _,v in pairs(SlowlyFade) do | |
4456 | v.Transparency = v.Transparency + 0.05 | |
4457 | end | |
4458 | ||
4459 | for _,v in pairs(UpMover) do | |
4460 | v.Position = v.Position + Vector3.new(0, 3, 0) | |
4461 | end | |
4462 | ||
4463 | for _,v in pairs(ForwardMover) do | |
4464 | v.CFrame = v.CFrame * CFrame.new(0, 0, 2.4 +(i/.1)) * CFrame.Angles(0, 0, math.rad(0)) | |
4465 | end | |
4466 | ||
4467 | for _,v in pairs(signtable) do | |
4468 | v.TextSize = v.TextSize + 1 | |
4469 | end | |
4470 | ||
4471 | for _,v in pairs(signtransparency) do | |
4472 | v.TextTransparency = v.TextTransparency + 0.025 | |
4473 | end | |
4474 | ||
4475 | for _,v in pairs(signmover) do | |
4476 | v.StudsOffset = v.StudsOffset + Vector3.new(math.random(-2,2),.3,math.random(-2,2)) | |
4477 | end | |
4478 | ||
4479 | for _,v in pairs(signrotator) do | |
4480 | v.Rotation = v.Rotation + 2 | |
4481 | end | |
4482 | end | |
4483 | end) | |
4484 | doit() | |
4485 | ||
4486 | local anims = coroutine.wrap(function() | |
4487 | while true do | |
4488 | settime = 0.05 | |
4489 | sine = sine + change | |
4490 | if position == "Walking" and attacking == false and running == false then | |
4491 | change = 1.5 | |
4492 | walking = true | |
4493 | hum.WalkSpeed = 18 | |
4494 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.1, 0 + .3 * math.sin(sine/8)) * CFrame.Angles(math.rad(35 * math.sin(sine/8)), math.rad(20 * math.sin(sine/8)), math.rad(-8)), 0.6)LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0.6,-.5) * CFrame.Angles(math.rad(70),math.rad(5 - 1 * math.sin(sine/8)),math.rad(0)), 0.4) | |
4495 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(5 * math.cos(sine/7)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.3) | |
4496 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.5) | |
4497 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.5) | |
4498 | elseif position == "Idle2" and attacking == false and running == false then | |
4499 | change = .6 | |
4500 | tr1.Enabled = false | |
4501 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5+ .02 * math.sin(sine/8), 0) * CFrame.Angles(math.rad(-8), math.rad(0 * math.cos(sine/8)), math.rad(0)), .3) | |
4502 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(0)),.4) | |
4503 | TORSOLERP.C0 = TORSOLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
4504 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87),math.rad(80 - 1 * math.sin(sine/8)),math.rad(0)), 0.6) | |
4505 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.55 + .02 * math.sin(sine/8), .15) * CFrame.Angles(math.rad(0 * math.sin(sine/8)), math.rad(0 + 2 * math.sin(sine/8)), math.rad(-2 - 0 * math.sin(sine/8))), .3) | |
4506 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.58, .1 + 0.05 * math.sin(sine/8), 0.1) * CFrame.Angles(math.rad(2 - 2 * math.sin(sine/8)), math.rad(15 - 2 * math.sin(sine/8)), math.rad(-8 - 1 * math.sin(sine/8))), .3) | |
4507 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.8 + .02 * math.sin(sine/8), .2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(2 + 0 * math.sin(sine/8))), .3) | |
4508 | elseif position == "Idle" and attacking == false and running == false then | |
4509 | change = .6 | |
4510 | tr1.Enabled = false | |
4511 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.59 + .05 * math.sin(sine/12), 0.1 -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(-8 + 6 * math.sin(sine/12))), .2) | |
4512 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(30),math.rad(2)),.2) | |
4513 | ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(-0),math.rad(0)),.2) | |
4514 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .2) | |
4515 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
4516 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
4517 | elseif position == "Running" and attacking == false then | |
4518 | change = 2 | |
4519 | hum.WalkSpeed = 26 | |
4520 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.45+0.50*math.cos(sine/5),0.2-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*CFrame.Angles(math.rad(-20+120*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3) | |
4521 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.45+0.50*math.cos(sine/5),0.2-0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*CFrame.Angles(math.rad(-20-120*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3) | |
4522 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.05, 0) * CFrame.Angles(math.rad(-20 - 4 * math.cos(sine/4)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3) | |
4523 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, .2) * CFrame.Angles(math.rad(-10), math.rad(0 + 20 * Head.RotVelocity.Y / 30, math.cos(15 * math.cos(sine/10))), math.rad(0 - 20 * Head.RotVelocity.Y / 30, math.cos(15 * math.cos(sine/10)))), 0.3) | |
4524 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.8 - 0.45 * math.cos(sine/4)/2.8, -0.05) * CFrame.Angles(math.rad(-35)*math.sin(sine/4), math.rad(1)*math.cos(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 90, math.cos(25 * math.cos(sine/6))), 0.3) | |
4525 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.8 + 0.45 * math.cos(sine/4)/2.8, -0.05) * CFrame.Angles(math.rad(35)*math.sin(sine/4), math.rad(-1)*math.cos(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 90, math.cos(25 * math.cos(sine/6))), 0.3) | |
4526 | end | |
4527 | swait() | |
4528 | end | |
4529 | end) | |
4530 | anims() | |
4531 | print("The power is yours!, Reflux! Made by Supr14") |