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