SHOW:
|
|
- or go back to the newest paste.
1 | -----------//VEREUS\\----------- | |
2 | --[[Movelist | |
3 | Q = The reverse penance stare, | |
4 | E = Doom Pillars | |
5 | T = Unleashed evil ball | |
6 | Y = The hunt is on | |
7 | Z = CRAZY XESTER SWITCH!!! | |
8 | X = Re_*101011Dact/^ed.exe | |
9 | ---------]] | |
10 | ||
11 | --To get this shit out of the way, this is NOT a edit of void boss, it was a little project of mine to see how easy it was to animate 2 hands and a head.-- | |
12 | --Also stop calling this void boss v2, void boss switcher or any other name you come up with.-- | |
13 | --I'm not proud of this project however, having a script this powerful is uncreative and boring + that's what skids care about anyway.-- | |
14 | --Alright enjoy it guys please do not abuse the shit out of this.-- | |
15 | ||
16 | Player=game:GetService("Players").LocalPlayer | |
17 | Character=Player.Character | |
18 | Character.Humanoid.Name = "vereus" | |
19 | hum = Character.vereus | |
20 | LeftArm=Character["Left Arm"] | |
21 | LeftLeg=Character["Left Leg"] | |
22 | RightArm=Character["Right Arm"] | |
23 | RightLeg=Character["Right Leg"] | |
24 | Root=Character["HumanoidRootPart"] | |
25 | Head=Character["Head"] | |
26 | Torso=Character["Torso"] | |
27 | Neck=Torso["Neck"] | |
28 | attacking = false | |
29 | snoring = false | |
30 | laughing = false | |
31 | taim = nil | |
32 | secondform = false | |
33 | change = 0 | |
34 | xester = false | |
35 | rachjumper = false | |
36 | ws = 92 | |
37 | hpheight = 5 | |
38 | huntdown = false | |
39 | visualizer = false | |
40 | jumpscared = false | |
41 | appi = false | |
42 | stoplev = false | |
43 | tauntdebounce = false | |
44 | allowlev = true | |
45 | MseGuide = true | |
46 | position = nil | |
47 | levitate = false | |
48 | mouse = Player:GetMouse() | |
49 | settime = 0 | |
50 | sine = 0 | |
51 | t = 0 | |
52 | dgs = 75 | |
53 | RunSrv = game:GetService("RunService") | |
54 | RenderStepped = game:GetService("RunService").RenderStepped | |
55 | removeuseless = game:GetService("Debris") | |
56 | smoothen = game:GetService("TweenService") | |
57 | randomcolortable={"Cyan","Really red","Cyan","Royal purple","Lime green","Crimson","Daisy yellow","Eggplant"} | |
58 | random = #randomcolortable | |
59 | smoothen = game:GetService("TweenService") | |
60 | local dmt2 = {143536946,2858940717} | |
61 | local laughs = {2011349649,2011349983,2011351501,2011352223,2011355991,2011356475} | |
62 | local soundtable2 = {2616767970,2614901458,2616891279,2614896603,2616768521,2616848595,2614905967,2614918002,2563244734,2563244134,2563244444,2563244999,2563245407,2563654940,2563656758,2563658474,2563659001} | |
63 | laugh = #laughs | |
64 | ||
65 | local HEADLERP = Instance.new("ManualWeld") | |
66 | HEADLERP.Parent = Head | |
67 | HEADLERP.Part0 = Head | |
68 | HEADLERP.Part1 = Head | |
69 | HEADLERP.C0 = CFrame.new(0, -1.5, -.5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)) | |
70 | ||
71 | local TORSOLERP = Instance.new("ManualWeld") | |
72 | TORSOLERP.Parent = Root | |
73 | TORSOLERP.Part0 = Torso | |
74 | TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
75 | ||
76 | local ROOTLERP = Instance.new("ManualWeld") | |
77 | ROOTLERP.Parent = Root | |
78 | ROOTLERP.Part0 = Root | |
79 | ROOTLERP.Part1 = Torso | |
80 | ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
81 | ||
82 | local RIGHTARMLERP = Instance.new("ManualWeld") | |
83 | RIGHTARMLERP.Parent = RightArm | |
84 | RIGHTARMLERP.Part0 = RightArm | |
85 | RIGHTARMLERP.Part1 = Torso | |
86 | RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
87 | ||
88 | local LEFTARMLERP = Instance.new("ManualWeld") | |
89 | LEFTARMLERP.Parent = LeftArm | |
90 | LEFTARMLERP.Part0 = LeftArm | |
91 | LEFTARMLERP.Part1 = Torso | |
92 | LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
93 | ||
94 | local RIGHTLEGLERP = Instance.new("ManualWeld") | |
95 | RIGHTLEGLERP.Parent = RightLeg | |
96 | RIGHTLEGLERP.Part0 = RightLeg | |
97 | RIGHTLEGLERP.Part1 = Torso | |
98 | RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
99 | ||
100 | local LEFTLEGLERP = Instance.new("ManualWeld") | |
101 | LEFTLEGLERP.Parent = LeftLeg | |
102 | LEFTLEGLERP.Part0 = LeftLeg | |
103 | LEFTLEGLERP.Part1 = Torso | |
104 | LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
105 | ||
106 | local function weldBetween(a, b) | |
107 | local weld = Instance.new("ManualWeld", a) | |
108 | weld.Part0 = a | |
109 | weld.Part1 = b | |
110 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
111 | return weld | |
112 | end | |
113 | ||
114 | function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR) | |
115 | A = Instance.new("Attachment", PARENT) | |
116 | A.Position = POSITION1 | |
117 | A.Name = "A" | |
118 | B = Instance.new("Attachment", PARENT) | |
119 | B.Position = POSITION2 | |
120 | B.Name = "B" | |
121 | tr1 = Instance.new("Trail", PARENT) | |
122 | tr1.Attachment0 = A | |
123 | tr1.Attachment1 = B | |
124 | tr1.Enabled = true | |
125 | tr1.Lifetime = LIFETIME | |
126 | tr1.TextureMode = "Static" | |
127 | tr1.LightInfluence = 0 | |
128 | tr1.Color = COLOR | |
129 | tr1.Transparency = NumberSequence.new(0, 1) | |
130 | end | |
131 | ||
132 | coroutine.wrap(function() | |
133 | while wait() do | |
134 | hum.WalkSpeed = ws | |
135 | end | |
136 | end)() | |
137 | godmode = coroutine.wrap(function() | |
138 | for i,v in pairs(Character:GetChildren()) do | |
139 | if v:IsA("BasePart") and v ~= Root then | |
140 | v.Anchored = false | |
141 | end | |
142 | end | |
143 | while true do | |
144 | hum.MaxHealth = math.huge | |
145 | wait(0.0000001) | |
146 | hum.Health = math.huge | |
147 | wait() | |
148 | end | |
149 | end) | |
150 | godmode() | |
151 | ff = Instance.new("ForceField", Character) | |
152 | ff.Visible = false | |
153 | ||
154 | coroutine.wrap(function() | |
155 | for i,v in pairs(Character:GetChildren()) do | |
156 | if v.Name == "Animate" then v:Remove() | |
157 | end | |
158 | end | |
159 | end)() | |
160 | ||
161 | for _,x in pairs(Character:GetChildren()) do | |
162 | if x:IsA("Decal") then x:Remove() end | |
163 | end | |
164 | ||
165 | function damagealll(Radius,Position) | |
166 | local Returning = {} | |
167 | for _,v in pairs(workspace:GetChildren()) do | |
168 | if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then | |
169 | if v:FindFirstChild("Torso") then | |
170 | local Mag = (v.Torso.Position - Position).magnitude | |
171 | if Mag < Radius then | |
172 | table.insert(Returning,v) | |
173 | end | |
174 | elseif v:FindFirstChild("UpperTorso") then | |
175 | local Mag = (v.UpperTorso.Position - Position).magnitude | |
176 | if Mag < Radius then | |
177 | table.insert(Returning,v) | |
178 | end | |
179 | end | |
180 | end | |
181 | end | |
182 | return Returning | |
183 | end | |
184 | ||
185 | ArtificialHB = Instance.new("BindableEvent", script) | |
186 | ArtificialHB.Name = "Heartbeat" | |
187 | script:WaitForChild("Heartbeat") | |
188 | ||
189 | frame = 1 / 60 | |
190 | tf = 0 | |
191 | allowframeloss = false | |
192 | tossremainder = false | |
193 | ||
194 | ||
195 | lastframe = tick() | |
196 | script.Heartbeat:Fire() | |
197 | ||
198 | ||
199 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
200 | tf = tf + s | |
201 | if tf >= frame then | |
202 | if allowframeloss then | |
203 | script.Heartbeat:Fire() | |
204 | lastframe = tick() | |
205 | else | |
206 | for i = 1, math.floor(tf / frame) do | |
207 | script.Heartbeat:Fire() | |
208 | end | |
209 | lastframe = tick() | |
210 | end | |
211 | if tossremainder then | |
212 | tf = 0 | |
213 | else | |
214 | tf = tf - frame * math.floor(tf / frame) | |
215 | end | |
216 | end | |
217 | end) | |
218 | ||
219 | function swait(num) | |
220 | if num == 0 or num == nil then | |
221 | game:service("RunService").Stepped:wait(0) | |
222 | else | |
223 | for i = 0, num do | |
224 | game:service("RunService").Stepped:wait(0) | |
225 | end | |
226 | end | |
227 | end | |
228 | ||
229 | for i,v in pairs(Root.Parent:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end | |
230 | ||
231 | - | id = "rbxassetid://2858940717" |
231 | + | id = "rbxassetid://788000973" |
232 | ||
233 | ||
234 | dmt2random = dmt2[math.random(1,#dmt2)] | |
235 | doomtheme = Instance.new("Sound", Torso) | |
236 | doomtheme.Volume = 4 | |
237 | doomtheme.Name = "doomtheme" | |
238 | doomtheme.Looped = true | |
239 | doomtheme.SoundId = "rbxassetid://"..dmt2random | |
240 | if doomtheme.SoundId == "rbxassetid://2858940717" then | |
241 | doomtheme.Pitch = .49 | |
242 | else | |
243 | doomtheme.Pitch = 1 | |
244 | end | |
245 | doomtheme:Play() | |
246 | ||
247 | ||
248 | Torso.ChildRemoved:connect(function(removed) | |
249 | if removed.Name == "doomtheme" then | |
250 | if xester then | |
251 | doomtheme = Instance.new("Sound",Torso) | |
252 | doomtheme.Volume = 4 | |
253 | doomtheme.Name = "doomtheme" | |
254 | doomtheme.Looped = true | |
255 | doomtheme.SoundId = "rbxassetid://1382488262" | |
256 | doomtheme.TimePosition = 20.72 | |
257 | doomtheme:Play() | |
258 | else | |
259 | dmt2random = dmt2[math.random(1,#dmt2)] | |
260 | doomtheme = Instance.new("Sound",Torso) | |
261 | doomtheme.Volume = 4 | |
262 | doomtheme.Name = "doomtheme" | |
263 | doomtheme.Looped = true | |
264 | doomtheme.SoundId = "rbxassetid://"..dmt2random | |
265 | if doomtheme.SoundId == "rbxassetid://2858940717" then | |
266 | doomtheme.Pitch = .49 | |
267 | else | |
268 | doomtheme.Pitch = 1 | |
269 | end | |
270 | doomtheme:Play() | |
271 | end | |
272 | end | |
273 | end) | |
274 | ||
275 | function SOUND(PARENT,ID,VOL,LOOP,REMOVE) | |
276 | local so = Instance.new("Sound") | |
277 | so.Parent = PARENT | |
278 | so.SoundId = "rbxassetid://"..ID | |
279 | so.Volume = VOL | |
280 | so.Looped = LOOP | |
281 | so:Play() | |
282 | removeuseless:AddItem(so,REMOVE) | |
283 | end | |
284 | ||
285 | bighead = Instance.new("Part",Torso) | |
286 | bighead.Size = Vector3.new(1,1,1) | |
287 | bighead.Anchored = false | |
288 | bighead.CanCollide = false | |
289 | bighead.Locked = true | |
290 | bighead.Size = Vector3.new(4.75, 4.89, 4.77) | |
291 | bighead.BrickColor = BrickColor.new("Really black") | |
292 | bighead.CFrame = Head.CFrame | |
293 | bigheadweld = weldBetween(bighead,Head) | |
294 | headmesh = Instance.new("SpecialMesh",bighead) | |
295 | headmesh.MeshType = "Head" | |
296 | headmesh.Scale = Vector3.new(1.25,1.25,1.25) | |
297 | ||
298 | mask = Instance.new("Part",Torso) | |
299 | mask.Size = Vector3.new(.1, 0.39, .1) | |
300 | mask.Anchored = false | |
301 | mask.Locked = true | |
302 | mask.CanCollide = false | |
303 | mask.BrickColor = BrickColor.new("White") | |
304 | mask.Material = "Corroded Metal" | |
305 | maskweld = weldBetween(mask,bighead) | |
306 | maskweld.C0 = CFrame.new(0,-2.4,0) * CFrame.Angles(math.rad(90),0,0) | |
307 | maskmesh = Instance.new("SpecialMesh",mask) | |
308 | maskmesh.MeshId = "rbxassetid://5158270" | |
309 | maskmesh.TextureId = "rbxassetid://128212042" | |
310 | maskmesh.Scale = Vector3.new(0.7, 0.5, 0.5) | |
311 | ||
312 | lightpart1 = Instance.new("Part",Head) | |
313 | lightpart1.Size = Vector3.new(2.42,2,.516) | |
314 | lightpart1.Anchored = false | |
315 | lightpart1.Transparency = 1 | |
316 | lightpart1.BrickColor = BrickColor.new("White") | |
317 | lightpart1.Material = "Neon" | |
318 | lightpart1weld = weldBetween(lightpart1,Head) | |
319 | lightpart1weld.C0 = CFrame.new(0,.9,2.595) | |
320 | ||
321 | horns = Instance.new("Part",Torso) | |
322 | horns.Size = Vector3.new(.1,.1,.1) | |
323 | horns.Material = "Slate" | |
324 | horns.Locked = true | |
325 | horns.BrickColor = BrickColor.new("Really black") | |
326 | horns.CFrame = Head.CFrame * CFrame.new(0,3,0) | |
327 | hornsmesh = Instance.new("SpecialMesh",horns) | |
328 | hornsmesh.MeshId = "rbxassetid://434078905" | |
329 | hornsmesh.Scale = Vector3.new(13,12,12) | |
330 | hornsweld = weldBetween(horns,bighead) | |
331 | hornsweld.C0 = CFrame.new(0,-3.3,.82) * CFrame.Angles(math.rad(0),math.rad(180),0) | |
332 | ||
333 | hand1 = Instance.new("Part",Torso) | |
334 | hand1.Size = Vector3.new(.1,.1,.1) | |
335 | hand1.Anchored = false | |
336 | hand1.Locked = true | |
337 | hand1.CanCollide = false | |
338 | hand1.BrickColor = BrickColor.new("White") | |
339 | hand1.Material = "Slate" | |
340 | hand1mesh = Instance.new("SpecialMesh",hand1) | |
341 | hand1mesh.MeshId = "rbxassetid://37241605" | |
342 | hand1mesh.Scale = Vector3.new(8, 8, 8) | |
343 | HAND1LERP = weldBetween(hand1,Torso) | |
344 | HAND1LERP.C0 = CFrame.new(4.5,-5,6) * CFrame.Angles(math.rad(10),math.rad(-5),math.rad(-36)) | |
345 | ||
346 | hand2 = Instance.new("Part",Torso) | |
347 | hand2.Size = Vector3.new(.1,.1,.1) | |
348 | hand2.Anchored = false | |
349 | hand2.CanCollide = false | |
350 | hand2.Locked = true | |
351 | hand2.BrickColor = BrickColor.new("White") | |
352 | hand2.Material = "Slate" | |
353 | hand2mesh = Instance.new("SpecialMesh",hand2) | |
354 | hand2mesh.MeshId = "rbxassetid://2899129749" | |
355 | hand2mesh.Scale = Vector3.new(.8, .8, .8) | |
356 | HAND2LERP = weldBetween(hand2,Torso) | |
357 | HAND2LERP.C0 = HAND2LERP.C0:Inverse() * CFrame.new(-5,-5,6) * CFrame.Angles(math.rad(90),math.rad(90),math.rad(95)) | |
358 | ||
359 | mg1 = Instance.new("Part",Torso) | |
360 | mg1.Anchored = false | |
361 | mg1.CanCollide = false | |
362 | mg1.Locked = true | |
363 | mg1.Size = Vector3.new(4,4,4) | |
364 | mg1.Shape = "Ball" | |
365 | mg1.BrickColor = BrickColor.new("Really black") | |
366 | mg1.Material = "Neon" | |
367 | mg1.CFrame = hand1.CFrame | |
368 | mg1weld = weldBetween(mg1,hand1) | |
369 | mg1weld.C0 = CFrame.new(0,2.7,-4) | |
370 | blackhole = Instance.new("ParticleEmitter",mg1) | |
371 | blackhole.Texture = "rbxassetid://258128463" | |
372 | blackhole.Size = NumberSequence.new(2,2) | |
373 | blackhole.Rate = 50 | |
374 | blackhole.LockedToPart = true | |
375 | blackhole.Color = ColorSequence.new(BrickColor.new("Really black").Color,BrickColor.new("Really black").Color) | |
376 | blackhole.RotSpeed = NumberRange.new(50) | |
377 | blackhole.Lifetime = NumberRange.new(1) | |
378 | blackhole.Speed = NumberRange.new(0) | |
379 | ||
380 | mg2 = Instance.new("Part",Torso) | |
381 | mg2.Anchored = false | |
382 | mg2.CanCollide = false | |
383 | mg2.Shape = "Ball" | |
384 | mg2.Locked = true | |
385 | mg2.Size = Vector3.new(4,4,4) | |
386 | mg2.BrickColor = BrickColor.new("Really black") | |
387 | mg2.Material = "Neon" | |
388 | mg2.CFrame = hand2.CFrame | |
389 | mg2weld = weldBetween(mg2,hand2) | |
390 | mg2weld.C0 = CFrame.new(0,2.7,-4) | |
391 | blackhole2 = Instance.new("ParticleEmitter",mg2) | |
392 | blackhole2.Texture = "rbxassetid://258128463" | |
393 | blackhole2.Size = NumberSequence.new(2,2) | |
394 | blackhole2.Rate = 50 | |
395 | blackhole2.Color = ColorSequence.new(BrickColor.new("Really black").Color,BrickColor.new("Really black").Color) | |
396 | blackhole2.RotSpeed = NumberRange.new(50) | |
397 | blackhole2.Lifetime = NumberRange.new(1) | |
398 | blackhole2.LockedToPart = true | |
399 | blackhole2.Speed = NumberRange.new(0) | |
400 | ||
401 | slaten = Instance.new("Decal",hand2) | |
402 | slaten.Texture = "rbxassetid://647441616" | |
403 | slaten.Color3 = Color3.new(0, 0, 0) | |
404 | slaten.Face = "Top" | |
405 | ||
406 | slaten2 = Instance.new("Decal",hand2) | |
407 | slaten2.Texture = "rbxassetid://647417318" | |
408 | slaten2.Color3 = Color3.new(0,0,0) | |
409 | slaten2.Face = "Top" | |
410 | ||
411 | slatez = Instance.new("Decal",hand1) | |
412 | slatez.Texture = "rbxassetid://647441616" | |
413 | slatez.Color3 = Color3.new(0, 0, 0) | |
414 | slatez.Face = "Top" | |
415 | ||
416 | slatez2 = Instance.new("Decal",hand1) | |
417 | slatez2.Texture = "rbxassetid://647417318" | |
418 | slatez2.Color3 = Color3.new(0,0,0) | |
419 | slatez2.Face = "Top" | |
420 | ||
421 | slatez3 = Instance.new("Decal",hand1) | |
422 | slatez3.Texture = "rbxassetid://647410994" | |
423 | slatez3.Color3 = Color3.new(1,1,1) | |
424 | slatez3.Face = "Top" | |
425 | ||
426 | slatez4 = Instance.new("Decal",hand1) | |
427 | slatez4.Texture = "rbxassetid://647413967" | |
428 | slatez4.Color3 = Color3.new(1,1,1) | |
429 | slatez4.Face = "Top" | |
430 | ||
431 | slatex = Instance.new("Decal",horns) | |
432 | slatex.Texture = "rbxassetid://647441616" | |
433 | slatex.Color3 = Color3.new(0, 0, 0) | |
434 | slatex.Face = "Top" | |
435 | ||
436 | slatex2 = Instance.new("Decal",horns) | |
437 | slatex2.Texture = "rbxassetid://647417318" | |
438 | slatex2.Color3 = Color3.new(0,0,0) | |
439 | slatex2.Face = "Top" | |
440 | ||
441 | slatex3 = Instance.new("Decal",horns) | |
442 | slatex3.Texture = "rbxassetid://647410994" | |
443 | slatex3.Color3 = Color3.new(1,1,1) | |
444 | slatex3.Face = "Top" | |
445 | ||
446 | slatex4 = Instance.new("Decal",horns) | |
447 | slatex4.Texture = "rbxassetid://647413967" | |
448 | slatex4.Color3 = Color3.new(1,1,1) | |
449 | slatex4.Face = "Top" | |
450 | ||
451 | slatex5 = Instance.new("Decal",horns) | |
452 | slatex5.Texture = "rbxassetid://64739326f6" | |
453 | slatex5.Color3 = Color3.new(1, 1, 1) | |
454 | slatex5.Face = "Top" | |
455 | ||
456 | eyeball1 = Instance.new("Part",Torso) | |
457 | eyeball1.Anchored = false | |
458 | eyeball1.CanCollide = false | |
459 | eyeball1.Locked = true | |
460 | eyeball1.Shape = "Ball" | |
461 | eyeball1.Material = "Glass" | |
462 | eyeball1.Size = Vector3.new(3.25, 3.25, 3.25) | |
463 | eyeball1.BrickColor = BrickColor.new("Really black") | |
464 | eyeball1weld = weldBetween(eyeball1,Head) | |
465 | eyeball1weld.C0 = CFrame.new(.6,-.2,1.25) | |
466 | ||
467 | eyeball2 = Instance.new("Part",Torso) | |
468 | eyeball2.Anchored = false | |
469 | eyeball2.CanCollide = false | |
470 | eyeball2.Shape = "Ball" | |
471 | eyeball2.Locked = true | |
472 | eyeball2.Material = "Glass" | |
473 | eyeball2.Size = Vector3.new(3.25, 3.25, 3.25) | |
474 | eyeball2.BrickColor = BrickColor.new("Really black") | |
475 | eyeball2weld = weldBetween(eyeball2,Head) | |
476 | eyeball2weld.C0 = CFrame.new(-.6,-.2,1.25) | |
477 | ||
478 | eyeball3 = Instance.new("Part",Torso) | |
479 | eyeball3.Anchored = false | |
480 | eyeball3.CanCollide = false | |
481 | eyeball3.Locked = true | |
482 | eyeball3.Material = "Neon" | |
483 | eyeball3.Size = Vector3.new(0.4, 0.4, 0.4) | |
484 | eyeball3.BrickColor = BrickColor.new("Crimson") | |
485 | eyeball3mesh = Instance.new("SpecialMesh",eyeball3) | |
486 | eyeball3mesh.MeshType = "Sphere" | |
487 | eyeball3weld = weldBetween(eyeball3,Head) | |
488 | eyeball3weld.C0 = CFrame.new(-1.2,-.3,2.65) | |
489 | ||
490 | eyeball4 = Instance.new("Part",Torso) | |
491 | eyeball4.Anchored = false | |
492 | eyeball4.CanCollide = false | |
493 | eyeball4.Material = "Neon" | |
494 | eyeball4.Locked = true | |
495 | eyeball4.Size = Vector3.new(0.4, 0.4, 0.4) | |
496 | eyeball4.BrickColor = BrickColor.new("Crimson") | |
497 | eyeball4mesh = Instance.new("SpecialMesh",eyeball4) | |
498 | eyeball4mesh.MeshType = "Sphere" | |
499 | eyeball4weld = weldBetween(eyeball4,Head) | |
500 | eyeball4weld.C0 = CFrame.new(1.2,-.3,2.65) | |
501 | ||
502 | coroutine.wrap(function() | |
503 | while true do | |
504 | wait(5) | |
505 | for i = 1, 10 do | |
506 | eyeball3.Size = eyeball3.Size - Vector3.new(0,.04,0) | |
507 | eyeball4.Size = eyeball4.Size - Vector3.new(0,.04,0) | |
508 | swait() | |
509 | end | |
510 | for i = 1, 10 do | |
511 | eyeball3.Size = eyeball3.Size + Vector3.new(0,.04,0) | |
512 | eyeball4.Size = eyeball4.Size + Vector3.new(0,.04,0) | |
513 | swait() | |
514 | end | |
515 | swait() | |
516 | end | |
517 | end)() | |
518 | ||
519 | slateh = Instance.new("Decal",mask) | |
520 | slateh.Texture = "rbxassetid://647441616" | |
521 | slateh.Color3 = Color3.new(0, 0, 0) | |
522 | slateh.Face = "Top" | |
523 | ||
524 | slateh2 = Instance.new("Decal",mask) | |
525 | slateh2.Texture = "rbxassetid://647417318" | |
526 | slateh2.Color3 = Color3.new(0,0,0) | |
527 | slateh2.Face = "Top" | |
528 | ||
529 | slateh3 = Instance.new("Decal",mask) | |
530 | slateh3.Texture = "rbxassetid://647410994" | |
531 | slateh3.Color3 = Color3.new(1,1,1) | |
532 | slateh3.Face = "Top" | |
533 | ||
534 | slateh4 = Instance.new("Decal",mask) | |
535 | slateh4.Texture = "rbxassetid://647413967" | |
536 | slateh4.Color3 = Color3.new(1,1,1) | |
537 | slateh4.Face = "Top" | |
538 | ||
539 | slateh5 = Instance.new("Decal",mask) | |
540 | slateh5.Texture = "rbxassetid://64739326f6" | |
541 | slateh5.Color3 = Color3.new(1, 1, 1) | |
542 | slateh5.Face = "Top" | |
543 | ||
544 | mouse.KeyDown:connect(function(Press) | |
545 | Press=Press:lower() | |
546 | if Press=='m' then | |
547 | immortality() | |
548 | elseif Press=='t' then | |
549 | if xester then | |
550 | if tauntdebounce then return end | |
551 | tauntdebounce = true | |
552 | laughing = true | |
553 | laugh = laughs[math.random(1,#laughs)] | |
554 | laughy = Instance.new("Sound",Head) | |
555 | laughy.SoundId = "rbxassetid://"..laugh | |
556 | laughy.Volume = 10 | |
557 | laughy:Play() | |
558 | wait(1) | |
559 | wait(laughy.TimeLength) | |
560 | laughing = false | |
561 | laughy:Remove() | |
562 | tauntdebounce = false | |
563 | elseif rachjumper then | |
564 | if tauntdebounce == true then return end | |
565 | tauntdebounce = true | |
566 | rdnm2 = soundtable2[math.random(1,#soundtable2)] | |
567 | tauntsound = Instance.new("Sound", Head) | |
568 | tauntsound.Volume = 8 | |
569 | tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2 | |
570 | tauntsound.Looped = false | |
571 | tauntsound:Play() | |
572 | wait(3) | |
573 | wait(tauntsound.TimeLength) | |
574 | tauntsound:Remove() | |
575 | wait(1) | |
576 | tauntdebounce = false | |
577 | else | |
578 | if debounce then return end | |
579 | debounce = true | |
580 | attacking = true | |
581 | ws = 0 | |
582 | local energball = Instance.new("Part",Torso) | |
583 | energball.Shape = "Ball" | |
584 | energball.Material = "Neon" | |
585 | energball.Size = Vector3.new(.1,.1,.1) | |
586 | energball.Anchored = true | |
587 | energball.CanCollide = false | |
588 | energball.BrickColor = BrickColor.new("Really black") | |
589 | energball.CFrame = hand1.CFrame * CFrame.new(0,1,-2.5) | |
590 | SOUND(energball,2880335731,10,false,10) | |
591 | local g1 = Instance.new("BodyGyro", Root) | |
592 | g1.D = 175 | |
593 | g1.P = 20000 | |
594 | g1.MaxTorque = Vector3.new(0,9000,0) | |
595 | for i = 1, 250 do | |
596 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
597 | coroutine.wrap(function() | |
598 | local sk = Instance.new("Part",Torso) | |
599 | sk.CanCollide = false | |
600 | sk.Anchored = true | |
601 | sk.BrickColor = BrickColor.new("Really black") | |
602 | sk.Name = "sk" | |
603 | sk.CFrame = energball.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
604 | local skmesh = Instance.new("SpecialMesh",sk) | |
605 | skmesh.MeshId = "rbxassetid://662586858" | |
606 | skmesh.Name = "wave" | |
607 | skmesh.Scale = Vector3.new(.02,.005,.02) | |
608 | for i = 1, 20 do | |
609 | skmesh.Scale = skmesh.Scale + Vector3.new(.004,0,.004) | |
610 | sk.Transparency = sk.Transparency + .05 | |
611 | swait() | |
612 | end | |
613 | sk:Remove() | |
614 | end)() | |
615 | coroutine.wrap(function() | |
616 | local shockwave = Instance.new("Part", Torso) | |
617 | shockwave.Size = Vector3.new(1,1,1) | |
618 | shockwave.CanCollide = false | |
619 | shockwave.Anchored = true | |
620 | shockwave.Transparency = .7 | |
621 | shockwave.BrickColor = BrickColor.new("Really black") | |
622 | shockwave.CFrame = CFrame.new(energball.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
623 | local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
624 | shockwavemesh.Scale = Vector3.new(7,.1,7) | |
625 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
626 | for i = 1, 20 do | |
627 | shockwave.Transparency = shockwave.Transparency + .05 | |
628 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(.5,0,.5) | |
629 | swait() | |
630 | end | |
631 | shockwave:Remove() | |
632 | end)() | |
633 | coroutine.wrap(function() | |
634 | local shockwave = Instance.new("Part", Torso) | |
635 | shockwave.Size = Vector3.new(1,1,1) | |
636 | shockwave.CanCollide = false | |
637 | shockwave.Anchored = true | |
638 | shockwave.Transparency = .4 | |
639 | shockwave.BrickColor = BrickColor.new("Really black") | |
640 | shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0) | |
641 | local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
642 | shockwavemesh.Scale = Vector3.new(10,1,10) | |
643 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
644 | local shockwave2 = Instance.new("Part", Torso) | |
645 | shockwave2.Size = Vector3.new(1,1,1) | |
646 | shockwave2.CanCollide = false | |
647 | shockwave2.Anchored = true | |
648 | shockwave2.Transparency = .4 | |
649 | shockwave2.BrickColor = BrickColor.new("Really black") | |
650 | shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0) | |
651 | local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
652 | shockwavemesh2.Scale = Vector3.new(1,1,1) | |
653 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
654 | for i = 1, 30 do | |
655 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(-4,12)),0) | |
656 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(-4,12)),0) | |
657 | shockwave.Transparency = shockwave.Transparency + 0.05 | |
658 | shockwave2.Transparency = shockwave2.Transparency + 0.05 | |
659 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,1,8) | |
660 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(10,.5,10) | |
661 | swait() | |
662 | end | |
663 | shockwave:Remove() | |
664 | shockwave2:Remove() | |
665 | end)() | |
666 | energball.Size = energball.Size + Vector3.new(.02,.02,.02) | |
667 | energball.CFrame = hand1.CFrame * CFrame.new(0,0,-3) | |
668 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(6.5,0,-1) * CFrame.Angles(math.rad(70),math.rad(90),math.rad(0)),.2) | |
669 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(6.5,0,-5) * CFrame.Angles(math.rad(-110),math.rad(90),math.rad(0)),.2) | |
670 | swait() | |
671 | end | |
672 | local bwoo = Instance.new("Sound",Torso) | |
673 | bwoo.SoundId = "rbxassetid://134012322" | |
674 | bwoo.Volume = 10 | |
675 | bwoo.Pitch = .85 | |
676 | bwoo:Play() | |
677 | removeuseless:AddItem(bwoo,10) | |
678 | for i = 1, 20 do | |
679 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
680 | energball.CFrame = hand2.CFrame * CFrame.new(0,0,-3) | |
681 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(-35),0),.2) | |
682 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(4.5,-5 + .5 * math.sin(sine/14),6) * CFrame.Angles(math.rad(10 + 1 * math.sin(sine/13)),math.rad(-5 + 5 * math.sin(sine/12)),math.rad(-36 - 4 * math.sin(sine/11))),.2) | |
683 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-4.5,0,7) * CFrame.Angles(math.rad(-90),math.rad(18),math.rad(37)),.2) | |
684 | swait() | |
685 | end | |
686 | energball.Anchored = false | |
687 | local bov = Instance.new("BodyVelocity",energball) | |
688 | bov.maxForce = Vector3.new(99999,99999,99999) | |
689 | energball.CFrame = CFrame.new(energball.Position,mouse.Hit.p) | |
690 | bov.velocity = energball.CFrame.lookVector*300 | |
691 | local hitted = false | |
692 | energball.Touched:connect(function(hit) | |
693 | if hit:IsA("Part") and hit.Parent ~= Character and hit.Name ~= "rachjumper" and hit.Parent.Parent ~= Character then | |
694 | if hitted then return end | |
695 | hitted = true | |
696 | print("hit") | |
697 | energball.Anchored = true | |
698 | local energballplosion = energball:Clone() energballplosion.Parent = Torso | |
699 | energball.Transparency = 1 | |
700 | local render = Instance.new("Sound",energball) | |
701 | render.SoundId = "rbxassetid://2006635781" | |
702 | render.Volume = 10 * 10 | |
703 | render:Play() | |
704 | local zm = 0 | |
705 | for i = 1, 70 do | |
706 | zm = zm + 2 | |
707 | Hit = damagealll(zm,energball.Position) | |
708 | for _,v in pairs(Hit) do | |
709 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
710 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
711 | coroutine.wrap(function() | |
712 | local w = Instance.new("Part",Torso) | |
713 | w.Anchored = true | |
714 | w.CanCollide = false | |
715 | w.Material = "Neon" | |
716 | w.BrickColor = BrickColor.new("Really black") | |
717 | if slachtoffer.RigType == Enum.HumanoidRigType.R15 then | |
718 | w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame | |
719 | elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then | |
720 | w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame | |
721 | end | |
722 | w.Size = Vector3.new(3,3,3) | |
723 | w.Shape = "Ball" | |
724 | for i = 1, 50 do | |
725 | w.Transparency = w.Transparency + .05 | |
726 | w.Size = w.Size + Vector3.new(3.5,3.5,3.5) | |
727 | swait() | |
728 | end | |
729 | w:Remove() | |
730 | end)() | |
731 | for i = 1, 8 do | |
732 | coroutine.wrap(function() | |
733 | local ps = Instance.new("Part",Torso) | |
734 | ps.Size = Vector3.new(1,1,1) | |
735 | ps.Anchored = true | |
736 | ps.BrickColor = BrickColor.new("Really black") | |
737 | ps.Material = "Neon" | |
738 | if slachtoffer.RigType == Enum.HumanoidRigType.R6 then | |
739 | ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
740 | elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then | |
741 | ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
742 | end | |
743 | local psm = Instance.new("SpecialMesh",ps) | |
744 | psm.MeshType = "Sphere" | |
745 | psm.Scale = Vector3.new(3,1,3) | |
746 | for i = 1, 50 do | |
747 | psm.Scale = psm.Scale + Vector3.new(0,5,0) | |
748 | ps.Transparency = ps.Transparency + .025 | |
749 | swait() | |
750 | end | |
751 | ps:Remove() | |
752 | end)() | |
753 | end | |
754 | for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Clone() x.Parent = workspace x.Material = "Glass" x.BrickColor = BrickColor.new("Really black") x.Anchored = false | |
755 | x.CanCollide = true x:BreakJoints() end end | |
756 | for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Remove() end end | |
757 | slachtoffer.Parent:BreakJoints() | |
758 | end | |
759 | end | |
760 | coroutine.wrap(function() | |
761 | local shockwave = Instance.new("Part", Torso) | |
762 | shockwave.Size = Vector3.new(1,1,1) | |
763 | shockwave.CanCollide = false | |
764 | shockwave.Anchored = true | |
765 | shockwave.Transparency = .4 | |
766 | shockwave.BrickColor = BrickColor.new("Really black") | |
767 | shockwave.CFrame = CFrame.new(energballplosion.Position) * CFrame.new(0,-8,0) | |
768 | local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
769 | shockwavemesh.Scale = Vector3.new(10,2,10) | |
770 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
771 | local shockwave2 = Instance.new("Part", Torso) | |
772 | shockwave2.Size = Vector3.new(1,1,1) | |
773 | shockwave2.CanCollide = false | |
774 | shockwave2.Anchored = true | |
775 | shockwave2.Transparency = .4 | |
776 | shockwave2.BrickColor = BrickColor.new("Really black") | |
777 | shockwave2.CFrame = CFrame.new(energballplosion.Position) * CFrame.new(0,-8,0) | |
778 | local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
779 | shockwavemesh2.Scale = Vector3.new(11,2,11) | |
780 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
781 | local biggar = 0 | |
782 | for i = 1, 30 do | |
783 | biggar = biggar + 4 | |
784 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(-4,12)),0) | |
785 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(-4,12)),0) | |
786 | shockwave.Transparency = shockwave.Transparency + 0.05 | |
787 | shockwave2.Transparency = shockwave2.Transparency + 0.05 | |
788 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8 + biggar,4,8 + biggar) | |
789 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(10 + biggar,4,10 + biggar) | |
790 | swait() | |
791 | end | |
792 | shockwave:Remove() | |
793 | shockwave2:Remove() | |
794 | end)() | |
795 | energballplosion.Size = energballplosion.Size + Vector3.new(2,2,2) | |
796 | swait() | |
797 | end | |
798 | for i = 1, 80 do | |
799 | zm = zm + 3.5 | |
800 | Hit = damagealll(zm,energball.Position) | |
801 | for _,v in pairs(Hit) do | |
802 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
803 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
804 | coroutine.wrap(function() | |
805 | local w = Instance.new("Part",Torso) | |
806 | w.Anchored = true | |
807 | w.CanCollide = false | |
808 | w.Material = "Neon" | |
809 | w.BrickColor = BrickColor.new("Really black") | |
810 | if slachtoffer.RigType == Enum.HumanoidRigType.R15 then | |
811 | w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame | |
812 | elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then | |
813 | w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame | |
814 | end | |
815 | w.Size = Vector3.new(3,3,3) | |
816 | w.Shape = "Ball" | |
817 | for i = 1, 50 do | |
818 | w.Transparency = w.Transparency + .05 | |
819 | w.Size = w.Size + Vector3.new(3.5,3.5,3.5) | |
820 | swait() | |
821 | end | |
822 | w:Remove() | |
823 | end)() | |
824 | for i = 1, 8 do | |
825 | coroutine.wrap(function() | |
826 | local ps = Instance.new("Part",Torso) | |
827 | ps.Size = Vector3.new(1,1,1) | |
828 | ps.Anchored = true | |
829 | ps.BrickColor = BrickColor.new("Really black") | |
830 | ps.Material = "Neon" | |
831 | if slachtoffer.RigType == Enum.HumanoidRigType.R6 then | |
832 | ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
833 | elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then | |
834 | ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
835 | end | |
836 | local psm = Instance.new("SpecialMesh",ps) | |
837 | psm.MeshType = "Sphere" | |
838 | psm.Scale = Vector3.new(3,1,3) | |
839 | for i = 1, 50 do | |
840 | psm.Scale = psm.Scale + Vector3.new(0,5,0) | |
841 | ps.Transparency = ps.Transparency + .025 | |
842 | swait() | |
843 | end | |
844 | ps:Remove() | |
845 | end)() | |
846 | end | |
847 | for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Clone() x.Parent = workspace x.Material = "Glass" x.BrickColor = BrickColor.new("Really black") x.Anchored = false | |
848 | x.CanCollide = true x:BreakJoints() end end | |
849 | for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Remove() end end | |
850 | slachtoffer.Parent:BreakJoints() | |
851 | end | |
852 | end | |
853 | coroutine.wrap(function() | |
854 | local shockwave = Instance.new("Part", Torso) | |
855 | shockwave.Size = Vector3.new(1,1,1) | |
856 | shockwave.CanCollide = false | |
857 | shockwave.Anchored = true | |
858 | shockwave.Transparency = .4 | |
859 | shockwave.BrickColor = BrickColor.new("Really black") | |
860 | shockwave.CFrame = CFrame.new(energballplosion.Position) * CFrame.new(0,-8,0) | |
861 | local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
862 | shockwavemesh.Scale = Vector3.new(10,6,10) | |
863 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
864 | local shockwave2 = Instance.new("Part", Torso) | |
865 | shockwave2.Size = Vector3.new(1,1,1) | |
866 | shockwave2.CanCollide = false | |
867 | shockwave2.Anchored = true | |
868 | shockwave2.Transparency = .4 | |
869 | shockwave2.BrickColor = BrickColor.new("Really black") | |
870 | shockwave2.CFrame = CFrame.new(energballplosion.Position) * CFrame.new(0,-8,0) | |
871 | local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
872 | shockwavemesh2.Scale = Vector3.new(11,6,11) | |
873 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
874 | local biggar = 0 | |
875 | local biggar2 = 0 | |
876 | for i = 1, 30 do | |
877 | biggar = biggar + 14 | |
878 | biggar2 = biggar2 + 22 | |
879 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(-4,12)),0) | |
880 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(-4,12)),0) | |
881 | shockwave.Transparency = shockwave.Transparency + 0.05 | |
882 | shockwave2.Transparency = shockwave2.Transparency + 0.05 | |
883 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(16 + biggar,12 + biggar,16 + biggar) | |
884 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(18 + biggar2,12,18 + biggar2) | |
885 | swait() | |
886 | end | |
887 | shockwave:Remove() | |
888 | shockwave2:Remove() | |
889 | end)() | |
890 | energballplosion.Size = energballplosion.Size + Vector3.new(7,7,7) | |
891 | swait() | |
892 | end | |
893 | for i = 1, 50 do | |
894 | energballplosion.Size = energballplosion.Size + Vector3.new(5,5,5) | |
895 | energballplosion.Transparency = energballplosion.Transparency + .025 | |
896 | swait() | |
897 | end | |
898 | energballplosion:Remove() | |
899 | end | |
900 | end) | |
901 | for i = 1, 20 do | |
902 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(6,-5 + .5 * math.sin(sine/14),6) * CFrame.Angles(math.rad(20 + 1 * math.sin(sine/13)),math.rad(-5 + 5 * math.sin(sine/12)),math.rad(-36 - 4 * math.sin(sine/11))),.2) | |
903 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.5,0,5) * CFrame.Angles(math.rad(30),math.rad(-28),math.rad(37)),.2) | |
904 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(35),0),.2) | |
905 | swait() | |
906 | end | |
907 | removeuseless:AddItem(g1,.001) | |
908 | debounce = false | |
909 | if xester then | |
910 | ws = 155 | |
911 | else | |
912 | ws = 92 | |
913 | end | |
914 | attacking = false | |
915 | end | |
916 | elseif Press=='x' then | |
917 | if debounce then return end | |
918 | debounce = true | |
919 | attacking = true | |
920 | ws = 0 | |
921 | for i = 1, 70 do | |
922 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.1) | |
923 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 + 1 * math.sin(sine)),math.rad(30 + 2 * math.sin(sine))),.1) | |
924 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 - 1 * math.sin(sine)),math.rad(-30 - 2 * math.sin(sine))),.1) | |
925 | swait() | |
926 | end | |
927 | for i = 1, 40 do | |
928 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05) | |
929 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 + 2 * math.sin(sine)),math.rad(30 + 4 * math.sin(sine))),.05) | |
930 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 - 2 * math.sin(sine)),math.rad(-30 - 4 * math.sin(sine))),.05) | |
931 | swait() | |
932 | end | |
933 | rachjumper = true | |
934 | xester = false | |
935 | doomtheme.Volume = 0 | |
936 | coroutine.wrap(function() | |
937 | local shockwave = Instance.new("Part", Torso) | |
938 | shockwave.Size = Vector3.new(1,1,1) | |
939 | shockwave.CanCollide = false | |
940 | shockwave.Anchored = true | |
941 | shockwave.Transparency = .2 | |
942 | shockwave.BrickColor = BrickColor.new("Really red") | |
943 | shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0) | |
944 | local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
945 | shockwavemesh.Scale = Vector3.new(10,1,10) | |
946 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
947 | local shockwave2 = Instance.new("Part", Torso) | |
948 | shockwave2.Size = Vector3.new(1,1,1) | |
949 | shockwave2.CanCollide = false | |
950 | shockwave2.Anchored = true | |
951 | shockwave2.Transparency = .2 | |
952 | shockwave2.BrickColor = BrickColor.new("Really red") | |
953 | shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0) | |
954 | local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
955 | shockwavemesh2.Scale = Vector3.new(1,1,1) | |
956 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
957 | for i = 1, 30 do | |
958 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+16),0) | |
959 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-16),0) | |
960 | shockwave.Transparency = shockwave.Transparency + 0.05 | |
961 | shockwave2.Transparency = shockwave2.Transparency + 0.05 | |
962 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(10,1,10) | |
963 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(14,2,14) | |
964 | swait() | |
965 | end | |
966 | shockwave:Remove() | |
967 | shockwave2:Remove() | |
968 | end)() | |
969 | coroutine.wrap(function() | |
970 | local nball = Instance.new("Part",Torso) | |
971 | nball.Size = Vector3.new(4,4,4) | |
972 | nball.Material = "Neon" | |
973 | nball.BrickColor = BrickColor.new("Really red") | |
974 | nball.Shape = "Ball" | |
975 | nball.Anchored = true | |
976 | nball.CanCollide = false | |
977 | nball.CFrame = Torso.CFrame | |
978 | for i = 1, 40 do | |
979 | nball.Size = nball.Size + Vector3.new(5.5,5.5,5.5) | |
980 | nball.Transparency = nball.Transparency + .05 | |
981 | swait() | |
982 | end | |
983 | nball:Remove() | |
984 | end)() | |
985 | particlecolor = ColorSequence.new(Color3.new(255, 255, 255)) | |
986 | ||
987 | particlemiter1 = Instance.new("ParticleEmitter", bighead) | |
988 | particlemiter1.Enabled = true | |
989 | particlemiter1.Color = particlecolor | |
990 | particlemiter1.Texture = "rbxassetid://1390780157" | |
991 | particlemiter1.Lifetime = NumberRange.new(.05) | |
992 | particlemiter1.Size = NumberSequence.new(7.5,7.5) | |
993 | particlemiter1.Rate = 4 | |
994 | particlemiter1.Rotation = NumberRange.new(0,360) | |
995 | particlemiter1.RotSpeed = NumberRange.new(0) | |
996 | particlemiter1.Speed = NumberRange.new(0) | |
997 | ||
998 | particlemiter2 = Instance.new("ParticleEmitter", hand1) | |
999 | particlemiter2.Enabled = true | |
1000 | particlemiter2.Color = particlecolor | |
1001 | particlemiter2.Texture = "rbxassetid://1390780157" | |
1002 | particlemiter2.Lifetime = NumberRange.new(.05) | |
1003 | particlemiter2.Size = NumberSequence.new(5,5) | |
1004 | particlemiter2.Rate = 4 | |
1005 | particlemiter2.Rotation = NumberRange.new(0,360) | |
1006 | particlemiter2.RotSpeed = NumberRange.new(0) | |
1007 | particlemiter2.Speed = NumberRange.new(0) | |
1008 | ||
1009 | particlemiter3 = Instance.new("ParticleEmitter", hand2) | |
1010 | particlemiter3.Enabled = true | |
1011 | particlemiter3.Color = particlecolor | |
1012 | particlemiter3.Texture = "rbxassetid://1390780157" | |
1013 | particlemiter3.Lifetime = NumberRange.new(.05) | |
1014 | particlemiter3.Size = NumberSequence.new(5,5) | |
1015 | particlemiter3.Rate = 4 | |
1016 | particlemiter3.Rotation = NumberRange.new(0,360) | |
1017 | particlemiter3.RotSpeed = NumberRange.new(0) | |
1018 | particlemiter3.Speed = NumberRange.new(0) | |
1019 | coroutine.wrap(function() | |
1020 | transformsound = Instance.new("Sound",Torso) | |
1021 | transformsound.Volume = 10 | |
1022 | transformsound.SoundId = "rbxassetid://159576182" | |
1023 | transformsound:Play() | |
1024 | coroutine.wrap(function() | |
1025 | wait(1) | |
1026 | realmofexistence = Instance.new("Sound",Torso) | |
1027 | realmofexistence.Volume = 8 | |
1028 | realmofexistence.SoundId = "rbxassetid://2565721367" | |
1029 | realmofexistence:Play() | |
1030 | end)() | |
1031 | wait(2.2) | |
1032 | doomtheme.SoundId = "rbxassetid://2902017580" | |
1033 | doomtheme:Play() | |
1034 | doomtheme.Pitch = 1 | |
1035 | doomtheme.TimePosition = 0 | |
1036 | for i = 1, 30 do | |
1037 | doomtheme.Volume = doomtheme.Volume + .25 | |
1038 | swait() | |
1039 | end | |
1040 | end)() | |
1041 | ||
1042 | slaten.Transparency = 1 | |
1043 | slaten2.Transparency = 1 | |
1044 | slateh.Transparency = 1 | |
1045 | slateh2.Transparency = 1 | |
1046 | slateh3.Transparency = 1 | |
1047 | slateh4.Transparency = 1 | |
1048 | slateh5.Transparency = 1 | |
1049 | slatex.Transparency = 1 | |
1050 | slatex2.Transparency = 1 | |
1051 | slatex3.Transparency = 1 | |
1052 | slatex4.Transparency = 1 | |
1053 | slatex5.Transparency = 1 | |
1054 | slatez.Transparency = 1 | |
1055 | slatez2.Transparency = 1 | |
1056 | slatez3.Transparency = 1 | |
1057 | slatez4.Transparency = 1 | |
1058 | eyeball1.Transparency = 1 | |
1059 | eyeball2.Transparency = 1 | |
1060 | eyeball3.Transparency = 1 | |
1061 | eyeball4.Transparency = 1 | |
1062 | lightpart1.Transparency = 1 | |
1063 | Root.Anchored = false | |
1064 | horns.Material = "Slate" | |
1065 | horns.Locked = true | |
1066 | horns.BrickColor = BrickColor.new("Really black") | |
1067 | hornsmesh.MeshId = "rbxassetid://398618628" | |
1068 | hornsmesh.VertexColor = Vector3.new(1,0,0) | |
1069 | hornsmesh.TextureId = "rbxassetid://1461382301" | |
1070 | hornsmesh.Scale = Vector3.new(4.9, 5.5, 5.8) | |
1071 | hornsweld.C0 = CFrame.new(0,3.8,-4.5) * CFrame.Angles(math.rad(0),math.rad(0),0) | |
1072 | mask.Anchored = false | |
1073 | mask.Locked = true | |
1074 | mask.CanCollide = false | |
1075 | mask.Transparency = 0 | |
1076 | mask.BrickColor = BrickColor.new("White") | |
1077 | mask.Material = "Corroded Metal" | |
1078 | maskweld.C0 = CFrame.new(0,1.45,-.4) * CFrame.Angles(math.rad(0),0,0) | |
1079 | maskmesh.MeshId = "rbxassetid://64560176" | |
1080 | maskmesh.TextureId = "rbxassetid://1326186614" | |
1081 | maskmesh.Scale = Vector3.new(5.04, 5.04, 5.04) | |
1082 | hand2.BrickColor = BrickColor.new("Really black") | |
1083 | hand1.BrickColor = BrickColor.new("Really black") | |
1084 | face = Instance.new("Decal",bighead) | |
1085 | face.Texture = "rbxassetid://1127768638" | |
1086 | face.Color3 = Color3.new(255, 255, 255) | |
1087 | face.Face = "Front" | |
1088 | attacking = false | |
1089 | ws = 92 | |
1090 | debounce = false | |
1091 | elseif Press=='z' then | |
1092 | if debounce then return end | |
1093 | debounce = true | |
1094 | attacking = true | |
1095 | ws = 0 | |
1096 | for i = 1, 70 do | |
1097 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.1) | |
1098 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 + 1 * math.sin(sine)),math.rad(30 + 2 * math.sin(sine))),.1) | |
1099 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 - 1 * math.sin(sine)),math.rad(-30 - 2 * math.sin(sine))),.1) | |
1100 | swait() | |
1101 | end | |
1102 | for i = 1, 40 do | |
1103 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05) | |
1104 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 + 2 * math.sin(sine)),math.rad(30 + 4 * math.sin(sine))),.05) | |
1105 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 - 2 * math.sin(sine)),math.rad(-30 - 4 * math.sin(sine))),.05) | |
1106 | swait() | |
1107 | end | |
1108 | if rachjumper then | |
1109 | face:Remove() | |
1110 | particlemiter1:Remove() | |
1111 | particlemiter2:Remove() | |
1112 | particlemiter3:Remove() | |
1113 | end | |
1114 | xester = true | |
1115 | rachjumper = false | |
1116 | hand1.BrickColor = BrickColor.new("White") | |
1117 | hand2.BrickColor = BrickColor.new("White") | |
1118 | coroutine.wrap(function() | |
1119 | local shockwave = Instance.new("Part", Torso) | |
1120 | shockwave.Size = Vector3.new(1,1,1) | |
1121 | shockwave.CanCollide = false | |
1122 | shockwave.Anchored = true | |
1123 | shockwave.Transparency = .2 | |
1124 | shockwave.BrickColor = BrickColor.new("White") | |
1125 | shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0) | |
1126 | local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
1127 | shockwavemesh.Scale = Vector3.new(10,1,10) | |
1128 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
1129 | local shockwave2 = Instance.new("Part", Torso) | |
1130 | shockwave2.Size = Vector3.new(1,1,1) | |
1131 | shockwave2.CanCollide = false | |
1132 | shockwave2.Anchored = true | |
1133 | shockwave2.Transparency = .2 | |
1134 | shockwave2.BrickColor = BrickColor.new("White") | |
1135 | shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0) | |
1136 | local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
1137 | shockwavemesh2.Scale = Vector3.new(1,1,1) | |
1138 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
1139 | for i = 1, 30 do | |
1140 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+16),0) | |
1141 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-16),0) | |
1142 | shockwave.Transparency = shockwave.Transparency + 0.05 | |
1143 | shockwave2.Transparency = shockwave2.Transparency + 0.05 | |
1144 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(10,1,10) | |
1145 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(14,2,14) | |
1146 | swait() | |
1147 | end | |
1148 | shockwave:Remove() | |
1149 | shockwave2:Remove() | |
1150 | end)() | |
1151 | coroutine.wrap(function() | |
1152 | local nball = Instance.new("Part",Torso) | |
1153 | nball.Size = Vector3.new(4,4,4) | |
1154 | nball.Material = "Neon" | |
1155 | nball.BrickColor = BrickColor.new("White") | |
1156 | nball.Shape = "Ball" | |
1157 | nball.Anchored = true | |
1158 | nball.CanCollide = false | |
1159 | nball.CFrame = Torso.CFrame | |
1160 | for i = 1, 40 do | |
1161 | nball.Size = nball.Size + Vector3.new(5.5,5.5,5.5) | |
1162 | nball.Transparency = nball.Transparency + .05 | |
1163 | swait() | |
1164 | end | |
1165 | nball:Remove() | |
1166 | end)() | |
1167 | doomtheme.SoundId = "rbxassetid://1382488262" | |
1168 | doomtheme:Play() | |
1169 | doomtheme.Volume = 6 | |
1170 | doomtheme.Pitch = 1 | |
1171 | doomtheme.TimePosition = 20.7 | |
1172 | slaten.Transparency = 1 | |
1173 | slaten2.Transparency = 1 | |
1174 | slateh.Transparency = 1 | |
1175 | slateh2.Transparency = 1 | |
1176 | slateh3.Transparency = 1 | |
1177 | slateh4.Transparency = 1 | |
1178 | slateh5.Transparency = 1 | |
1179 | slatex.Transparency = 1 | |
1180 | slatex2.Transparency = 1 | |
1181 | slatex3.Transparency = 1 | |
1182 | slatex4.Transparency = 1 | |
1183 | slatex5.Transparency = 1 | |
1184 | slatez.Transparency = 1 | |
1185 | slatez2.Transparency = 1 | |
1186 | slatez3.Transparency = 1 | |
1187 | slatez4.Transparency = 1 | |
1188 | eyeball1.Transparency = 1 | |
1189 | eyeball2.Transparency = 1 | |
1190 | eyeball3.Transparency = 1 | |
1191 | eyeball4.Transparency = 1 | |
1192 | lightpart1.Transparency = 0 | |
1193 | laugh = laughs[math.random(1,#laughs)] | |
1194 | local laughy = Instance.new("Sound",Head) | |
1195 | laughy.SoundId = "rbxassetid://"..laugh | |
1196 | laughy.Volume = 10 | |
1197 | laughy:Play() | |
1198 | removeuseless:AddItem(laughy,10) | |
1199 | Root.Anchored = false | |
1200 | horns.Material = "Slate" | |
1201 | horns.Locked = true | |
1202 | horns.BrickColor = BrickColor.new("Really black") | |
1203 | hornsmesh.MeshId = "rbxassetid://193760002" | |
1204 | hornsmesh.VertexColor = Vector3.new(1,0,0) | |
1205 | hornsmesh.TextureId = "rbxassetid://379225327" | |
1206 | hornsmesh.Scale = Vector3.new(5.41,5.41,5.41) | |
1207 | hornsweld.C0 = CFrame.new(0,-2.75,-1.7) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
1208 | mask.Anchored = false | |
1209 | mask.Locked = true | |
1210 | mask.CanCollide = false | |
1211 | mask.BrickColor = BrickColor.new("White") | |
1212 | mask.Material = "Corroded Metal" | |
1213 | maskweld.C0 = CFrame.new(0,0,2.5) * CFrame.Angles(math.rad(0),0,0) | |
1214 | maskmesh.MeshId = "rbxassetid://13520257" | |
1215 | maskmesh.TextureId = "rbxassetid://13520260" | |
1216 | maskmesh.Scale = Vector3.new(5.53, 5, 5.1) | |
1217 | for i = 1, 30 do | |
1218 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(30),math.rad(0 * math.sin(sine/16)),math.rad(0)),.1) | |
1219 | swait() | |
1220 | end | |
1221 | for i = 1, 50 do | |
1222 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-140 + 2 * math.sin(sine)),math.rad(180 - 1 * math.sin(sine)),math.rad(-30 - 2 * math.sin(sine))),.03) | |
1223 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-140 + 2 * math.sin(sine)),math.rad(180 + 1 * math.sin(sine)),math.rad(30 + 2 * math.sin(sine))),.03) | |
1224 | swait() | |
1225 | end | |
1226 | for i = 1, 50 do | |
1227 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-140 + 8 * math.sin(sine)),math.rad(180 - 5 * math.sin(sine)),math.rad(-30 - 8 * math.sin(sine))),.03) | |
1228 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-140 + 8 * math.sin(sine)),math.rad(180 + 5 * math.sin(sine)),math.rad(30 + 8 * math.sin(sine))),.03) | |
1229 | swait() | |
1230 | end | |
1231 | ws = 155 | |
1232 | Root.Anchored = false | |
1233 | debounce = false | |
1234 | attacking = false | |
1235 | xester = true | |
1236 | elseif Press=='r' then | |
1237 | if mouse.Target ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then | |
1238 | if debounce then return end | |
1239 | debounce = true | |
1240 | attacking = true | |
1241 | local enemy = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
1242 | local targ = mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Parent | |
1243 | SOUND(Head,1837106999,10,false,10) | |
1244 | ws = 0 | |
1245 | local z = { | |
1246 | Color = BrickColor.new("Crimson").Color | |
1247 | } | |
1248 | local z2 = { | |
1249 | Color = BrickColor.new("Really black").Color | |
1250 | } | |
1251 | eyeball1.Material = "Neon" | |
1252 | eyeball2.Material = "Neon" | |
1253 | for i = 1, 7 do | |
1254 | local lol = smoothen:Create(eyeball1,TweenInfo.new(.3,Enum.EasingStyle.Linear),z) | |
1255 | lol:Play() | |
1256 | local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.3,Enum.EasingStyle.Linear),z) | |
1257 | lol2:Play() | |
1258 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50),math.rad(180),math.rad(10)),.2) | |
1259 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50),math.rad(180),math.rad(-10)),.2) | |
1260 | swait() | |
1261 | end | |
1262 | for i = 1, 70 do | |
1263 | local lol = smoothen:Create(eyeball1,TweenInfo.new(.3,Enum.EasingStyle.Linear),z) | |
1264 | lol:Play() | |
1265 | local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.3,Enum.EasingStyle.Linear),z) | |
1266 | lol2:Play() | |
1267 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05) | |
1268 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 + 1 * math.sin(sine)),math.rad(30 + 2 * math.sin(sine))),.05) | |
1269 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 - 1 * math.sin(sine)),math.rad(-30 - 2 * math.sin(sine))),.05) | |
1270 | swait() | |
1271 | end | |
1272 | for i = 1, 40 do | |
1273 | local lol = smoothen:Create(eyeball1,TweenInfo.new(.3,Enum.EasingStyle.Linear),z) | |
1274 | lol:Play() | |
1275 | local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.3,Enum.EasingStyle.Linear),z) | |
1276 | lol2:Play() | |
1277 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05) | |
1278 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 + 2 * math.sin(sine)),math.rad(30 + 4 * math.sin(sine))),.05) | |
1279 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 - 2 * math.sin(sine)),math.rad(-30 - 4 * math.sin(sine))),.05) | |
1280 | swait() | |
1281 | end | |
1282 | attacking = false | |
1283 | local targetfound = false | |
1284 | local chasemusic = Instance.new("Sound",Head) | |
1285 | chasemusic.Volume = 10 | |
1286 | chasemusic.SoundId = "rbxassetid://2866313732" | |
1287 | chasemusic.Looped = true | |
1288 | chasemusic:Play() | |
1289 | for i = 1, 1000 do | |
1290 | if targetfound then break end | |
1291 | local Hit = damagealll(15,Torso.Position) | |
1292 | for _,v in pairs(Hit) do | |
1293 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Parent.Name == enemy.Parent.Name then | |
1294 | targetfound = true | |
1295 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1296 | end | |
1297 | end | |
1298 | huntdown = true | |
1299 | hum:MoveTo(enemy.Parent.Torso.Position) | |
1300 | ws = 150 | |
1301 | swait() | |
1302 | end | |
1303 | if targetfound then | |
1304 | attacking = true | |
1305 | local lweld = weldBetween(enemy.Parent.Torso,hand1) | |
1306 | lweld.C0 = CFrame.new(2,-2,0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90)) | |
1307 | ws = 0 | |
1308 | enemy.WalkSpeed = 0 | |
1309 | enemy.JumpPower = 0 | |
1310 | local IAMHERE = Instance.new("Sound",Head) | |
1311 | IAMHERE.SoundId = "rbxassetid://2867055627" | |
1312 | IAMHERE.Volume = 10 | |
1313 | IAMHERE:Play() | |
1314 | removeuseless:AddItem(IAMHERE,10) | |
1315 | for i = 1, 220 do | |
1316 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05) | |
1317 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(2,-7.5,-2.2) * CFrame.Angles(math.rad(90 + 2 * math.sin(sine)),math.rad(2 * math.sin(sine)),math.rad(-80 + 2 * math.sin(sine))),.2) | |
1318 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-2,-7.5,-2.2) * CFrame.Angles(math.rad(90 - 2 * math.sin(sine)),math.rad(2 * math.sin(sine)),math.rad(80 - 2 * math.sin(sine))),.2) | |
1319 | swait() | |
1320 | end | |
1321 | lweld:Remove() | |
1322 | coroutine.wrap(function() | |
1323 | local w = Instance.new("Part",Torso) | |
1324 | w.Anchored = true | |
1325 | w.CanCollide = false | |
1326 | w.Material = "Neon" | |
1327 | w.BrickColor = BrickColor.new("Really black") | |
1328 | if targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R15 then | |
1329 | w.CFrame = targ:FindFirstChild("UpperTorso").CFrame | |
1330 | elseif targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then | |
1331 | w.CFrame = targ:FindFirstChild("Torso").CFrame | |
1332 | end | |
1333 | w.Size = Vector3.new(3,3,3) | |
1334 | w.Shape = "Ball" | |
1335 | for i = 1, 50 do | |
1336 | w.Transparency = w.Transparency + .05 | |
1337 | w.Size = w.Size + Vector3.new(3.5,3.5,3.5) | |
1338 | swait() | |
1339 | end | |
1340 | w:Remove() | |
1341 | end)() | |
1342 | for i = 1, 8 do | |
1343 | coroutine.wrap(function() | |
1344 | local ps = Instance.new("Part",Torso) | |
1345 | ps.Size = Vector3.new(1,1,1) | |
1346 | ps.Anchored = true | |
1347 | ps.BrickColor = BrickColor.new("Really black") | |
1348 | ps.Material = "Neon" | |
1349 | if targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R15 then | |
1350 | ps.CFrame = targ:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
1351 | elseif targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then | |
1352 | ps.CFrame = targ:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
1353 | end | |
1354 | local psm = Instance.new("SpecialMesh",ps) | |
1355 | psm.MeshType = "Sphere" | |
1356 | psm.Scale = Vector3.new(3,1,3) | |
1357 | for i = 1, 50 do | |
1358 | psm.Scale = psm.Scale + Vector3.new(0,5,0) | |
1359 | ps.Transparency = ps.Transparency + .025 | |
1360 | swait() | |
1361 | end | |
1362 | ps:Remove() | |
1363 | end)() | |
1364 | end | |
1365 | for i,x in pairs(targ:GetDescendants()) do if x:IsA("Part") then x:Clone() x.Parent = workspace x.Material = "Glass" x.BrickColor = BrickColor.new("Really black") x.Anchored = false | |
1366 | x.CanCollide = true x:BreakJoints() end end | |
1367 | for i,x in pairs(targ:GetDescendants()) do if x:IsA("Part") then x:Remove() end end | |
1368 | targ:BreakJoints() | |
1369 | SOUND(hand1,264486467,8,false,10) | |
1370 | huntdown = false | |
1371 | for i = 1, 25 do | |
1372 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-25),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05) | |
1373 | local lol = smoothen:Create(eyeball1,TweenInfo.new(.5,Enum.EasingStyle.Linear),z2) | |
1374 | lol:Play() | |
1375 | local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.5,Enum.EasingStyle.Linear),z2) | |
1376 | lol2:Play() | |
1377 | chasemusic.Volume = chasemusic.Volume - .5 | |
1378 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(2,-7.5,-1) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-80)),.2) | |
1379 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-2,-7.5,-1) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(80)),.2) | |
1380 | swait() | |
1381 | end | |
1382 | chasemusic:Remove() | |
1383 | if xester then | |
1384 | ws = 155 | |
1385 | else | |
1386 | ws = 92 | |
1387 | end | |
1388 | eyeball1.Material = "Glass" | |
1389 | eyeball2.Material = "Glass" | |
1390 | attacking = false | |
1391 | debounce = false | |
1392 | else | |
1393 | if xester then | |
1394 | ws = 155 | |
1395 | else | |
1396 | ws = 92 | |
1397 | end | |
1398 | huntdown = false | |
1399 | eyeball1.Material = "Glass" | |
1400 | eyeball2.Material = "Glass" | |
1401 | debounce = false | |
1402 | attacking = false | |
1403 | coroutine.wrap(function() | |
1404 | for i = 1, 25 do | |
1405 | if debounce then break end | |
1406 | local lol = smoothen:Create(eyeball1,TweenInfo.new(.5,Enum.EasingStyle.Linear),z2) | |
1407 | lol:Play() | |
1408 | local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.5,Enum.EasingStyle.Linear),z2) | |
1409 | lol2:Play() | |
1410 | swait() | |
1411 | end | |
1412 | end)() | |
1413 | chasemusic:Remove() | |
1414 | end | |
1415 | end | |
1416 | elseif Press=='e' then | |
1417 | if debounce then return end | |
1418 | debounce = true | |
1419 | attacking = true | |
1420 | g1 = Instance.new("BodyGyro", Root) | |
1421 | g1.D = 175 | |
1422 | g1.P = 20000 | |
1423 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1424 | ws = 30 | |
1425 | for i = 1, 75 do | |
1426 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
1427 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(5.2 + .6 * math.sin(sine/14),-5,6) * CFrame.Angles(math.rad(15 * math.sin(sine/12)),math.rad(16 * math.sin(sine/14)),math.rad(0)),.2) | |
1428 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.2 + .6 * math.sin(sine/14),-5,6) * CFrame.Angles(math.rad(-15 * math.sin(sine/12)),math.rad(-16 * math.sin(sine/14)),math.rad(0)),.2) | |
1429 | swait() | |
1430 | end | |
1431 | local bwoo = Instance.new("Sound",Torso) | |
1432 | bwoo.SoundId = "rbxassetid://134012322" | |
1433 | bwoo.Volume = 10 | |
1434 | bwoo.Pitch = .85 | |
1435 | bwoo:Play() | |
1436 | removeuseless:AddItem(bwoo,7) | |
1437 | for i = 1, 25 do | |
1438 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
1439 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(25),math.rad(0 * math.sin(sine/16)),math.rad(0)),.2) | |
1440 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(5.2,-5,6) * CFrame.Angles(math.rad(-94 + 8 * math.sin(sine/12)),math.rad(3 * math.sin(sine/10)),math.rad(0)),.2) | |
1441 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.2,-5,6) * CFrame.Angles(math.rad(-94 - 8 * math.sin(sine/12)),math.rad(3 * -math.sin(sine/10)),math.rad(0)),.2) | |
1442 | swait() | |
1443 | end | |
1444 | ws = 0 | |
1445 | for i = 1, 3 do | |
1446 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0 * math.sin(sine/16)),math.rad(0)),.2) | |
1447 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(5.2,-5,6) * CFrame.Angles(math.rad(-76 + 8 * math.sin(sine/12)),math.rad(3 * math.sin(sine/10)),math.rad(0)),.2) | |
1448 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.2,-5,6) * CFrame.Angles(math.rad(-76 - 8 * math.sin(sine/12)),math.rad(3 * -math.sin(sine/10)),math.rad(0)),.2) | |
1449 | swait() | |
1450 | end | |
1451 | local rocksm = Instance.new("Sound",Torso) | |
1452 | rocksm.SoundId = "rbxassetid://168514932" | |
1453 | rocksm.Volume = 10 | |
1454 | rocksm.Pitch = .94 | |
1455 | rocksm:Play() | |
1456 | removeuseless:AddItem(rocksm,7) | |
1457 | removeuseless:AddItem(g1,.001) | |
1458 | local rb = Instance.new("Part",Torso) | |
1459 | rb.Size = Vector3.new(.1,.1,.1) | |
1460 | rb.Anchored = false | |
1461 | rb.Transparency = 1 | |
1462 | rb.CanCollide = false | |
1463 | rb.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,30,10) | |
1464 | local rbweld = weldBetween(rb,Root) | |
1465 | rbweld.C0 = CFrame.new(0,10,45) | |
1466 | local txc = 10 | |
1467 | coroutine.wrap(function() | |
1468 | for i = 1, 10 do | |
1469 | coroutine.wrap(function() | |
1470 | local sondb = Instance.new("Part",rb) | |
1471 | sondb.Anchored = true | |
1472 | sondb.Transparency = 1 | |
1473 | sondb.CanCollide = false | |
1474 | sondb.CFrame = rb.CFrame | |
1475 | local booms = Instance.new("Sound",sondb) | |
1476 | booms.SoundId = "rbxassetid://2175667385" | |
1477 | booms.Volume = 5 | |
1478 | booms.Pitch = .8 | |
1479 | for i = 1, 20 do | |
1480 | swait() | |
1481 | end | |
1482 | wait(1) | |
1483 | booms:Play() | |
1484 | end)() | |
1485 | swait(6) | |
1486 | end | |
1487 | end)() | |
1488 | for i = 1, 90 do | |
1489 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),math.rad(0 * math.sin(sine/16)),math.rad(0)),.2) | |
1490 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(5.2,-2,7.2 + .95 * math.sin(sine/12)) * CFrame.Angles(math.rad(45),math.rad(-9),math.rad(0)),.2) | |
1491 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.2,-2,7.2+ .95 * math.sin(sine/12)) * CFrame.Angles(math.rad(45),math.rad(9),math.rad(0)),.2) | |
1492 | coroutine.wrap(function() | |
1493 | local cyl = Instance.new("Part",Torso) | |
1494 | cyl.Shape = "Cylinder" | |
1495 | cyl.BrickColor = BrickColor.new("Really black") | |
1496 | cyl.Anchored = true | |
1497 | cyl.Transparency = 1 | |
1498 | cyl.CanCollide = false | |
1499 | cyl.Material = "Neon" | |
1500 | cyl.CFrame = rb.CFrame * CFrame.new(math.random(-30,30),2,math.random(-30,30)) * CFrame.Angles(math.rad(90),math.rad(90),0) | |
1501 | cyl.Size = Vector3.new(4,6 * math.random(4,8),6 * math.random(4,8)) | |
1502 | for i = 1, 20 do | |
1503 | cyl.Transparency = cyl.Transparency - .05 | |
1504 | swait() | |
1505 | end | |
1506 | wait(1) | |
1507 | local brock = Instance.new("Part",Torso) | |
1508 | brock.Size = Vector3.new(9,70 + math.random(10,33),9) | |
1509 | brock.Anchored = true | |
1510 | brock.Transparency = .3 | |
1511 | brock.CanCollide = false | |
1512 | brock.Material = "Neon" | |
1513 | brock.BrickColor = BrickColor.new("Really black") | |
1514 | brock.CFrame = cyl.CFrame * CFrame.new(0,70,0) | |
1515 | coroutine.wrap(function() | |
1516 | local shockwave = Instance.new("Part", Torso) | |
1517 | shockwave.Size = Vector3.new(1,1,1) | |
1518 | shockwave.CanCollide = false | |
1519 | shockwave.Anchored = true | |
1520 | shockwave.Transparency = .4 | |
1521 | shockwave.BrickColor = BrickColor.new("White") | |
1522 | shockwave.CFrame = CFrame.new(cyl.Position) * CFrame.new(0,-1,0) | |
1523 | local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
1524 | shockwavemesh.Scale = Vector3.new(10,1,10) | |
1525 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
1526 | local shockwave2 = Instance.new("Part", Torso) | |
1527 | shockwave2.Size = Vector3.new(1,1,1) | |
1528 | shockwave2.CanCollide = false | |
1529 | shockwave2.Anchored = true | |
1530 | shockwave2.Transparency = .4 | |
1531 | shockwave2.BrickColor = BrickColor.new("White") | |
1532 | shockwave2.CFrame = CFrame.new(cyl.Position) * CFrame.new(0,-1,0) | |
1533 | local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
1534 | shockwavemesh2.Scale = Vector3.new(1,1,1) | |
1535 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
1536 | for i = 1, 30 do | |
1537 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(-4,12)),0) | |
1538 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(-4,12)),0) | |
1539 | shockwave.Transparency = shockwave.Transparency + 0.05 | |
1540 | shockwave2.Transparency = shockwave2.Transparency + 0.05 | |
1541 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,2.5,8) | |
1542 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(10,2,10) | |
1543 | swait() | |
1544 | end | |
1545 | shockwave:Remove() | |
1546 | shockwave2:Remove() | |
1547 | end)() | |
1548 | Hit = damagealll(52,brock.Position) | |
1549 | for _,v in pairs(Hit) do | |
1550 | if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
1551 | slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
1552 | coroutine.wrap(function() | |
1553 | local w = Instance.new("Part",Torso) | |
1554 | w.Anchored = true | |
1555 | w.CanCollide = false | |
1556 | w.Material = "Neon" | |
1557 | w.BrickColor = BrickColor.new("Really black") | |
1558 | if slachtoffer.RigType == Enum.HumanoidRigType.R15 then | |
1559 | w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame | |
1560 | elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then | |
1561 | w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame | |
1562 | end | |
1563 | w.Size = Vector3.new(3,3,3) | |
1564 | w.Shape = "Ball" | |
1565 | for i = 1, 50 do | |
1566 | w.Transparency = w.Transparency + .05 | |
1567 | w.Size = w.Size + Vector3.new(3.5,3.5,3.5) | |
1568 | swait() | |
1569 | end | |
1570 | w:Remove() | |
1571 | end)() | |
1572 | for i = 1, 8 do | |
1573 | coroutine.wrap(function() | |
1574 | local ps = Instance.new("Part",Torso) | |
1575 | ps.Size = Vector3.new(1,1,1) | |
1576 | ps.Anchored = true | |
1577 | ps.BrickColor = BrickColor.new("Really black") | |
1578 | ps.Material = "Neon" | |
1579 | if slachtoffer.RigType == Enum.HumanoidRigType.R6 then | |
1580 | ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
1581 | elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then | |
1582 | ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
1583 | end | |
1584 | local psm = Instance.new("SpecialMesh",ps) | |
1585 | psm.MeshType = "Sphere" | |
1586 | psm.Scale = Vector3.new(3,1,3) | |
1587 | for i = 1, 50 do | |
1588 | psm.Scale = psm.Scale + Vector3.new(0,5,0) | |
1589 | ps.Transparency = ps.Transparency + .025 | |
1590 | swait() | |
1591 | end | |
1592 | ps:Remove() | |
1593 | end)() | |
1594 | end | |
1595 | for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Clone() x.Parent = workspace x.Material = "Glass" x.BrickColor = BrickColor.new("Really black") x.Anchored = false | |
1596 | x.CanCollide = true x:BreakJoints() end end | |
1597 | for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Remove() end end | |
1598 | slachtoffer.Parent:BreakJoints() | |
1599 | end | |
1600 | end | |
1601 | for i = 1, 50 do | |
1602 | brock.CFrame = brock.CFrame:lerp(CFrame.new(cyl.Position) * CFrame.new(0,2,0) * CFrame.Angles(math.rad(math.random(-12,12)),math.rad(math.random(-12,12)),math.rad(math.random(-12,12))),.25) | |
1603 | swait() | |
1604 | end | |
1605 | wait(4) | |
1606 | for i = 1, 40 do | |
1607 | brock.CFrame = brock.CFrame:lerp(CFrame.new(cyl.Position) * CFrame.new(0,2,0) * CFrame.Angles(math.rad(math.random(-12,12)),math.rad(math.random(-12,12)),math.rad(math.random(-12,12))),.25) | |
1608 | swait() | |
1609 | end | |
1610 | for i = 1, 40 do | |
1611 | brock.Transparency = brock.Transparency + .025 | |
1612 | brock.CFrame = brock.CFrame:lerp(CFrame.new(cyl.Position) * CFrame.new(0,-40,0) * CFrame.Angles(math.rad(math.random(-12,12)),math.rad(math.random(-12,12)),math.rad(math.random(-12,12))),.09) | |
1613 | swait() | |
1614 | end | |
1615 | brock:Remove() | |
1616 | for i = 1, 30 do | |
1617 | cyl.Size = cyl.Size + Vector3.new(0,3,3) | |
1618 | cyl.Transparency = cyl.Transparency + .05 | |
1619 | swait() | |
1620 | end | |
1621 | cyl:Remove() | |
1622 | rb:Remove() | |
1623 | end)() | |
1624 | txc = txc + 8 | |
1625 | rbweld.C0 = rbweld.C0:lerp(CFrame.new(0,10,txc),.3) | |
1626 | swait() | |
1627 | end | |
1628 | attacking = false | |
1629 | debounce = false | |
1630 | if xester then | |
1631 | ws = 155 | |
1632 | else | |
1633 | ws = 92 | |
1634 | end | |
1635 | elseif Press=='q' then | |
1636 | if mouse.Target ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then | |
1637 | if debounce then return end | |
1638 | debounce = true | |
1639 | ws = 0 | |
1640 | g1 = Instance.new("BodyGyro", Root) | |
1641 | g1.D = 175 | |
1642 | g1.P = 20000 | |
1643 | g1.MaxTorque = Vector3.new(0,9000,0) | |
1644 | local targ = mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Parent | |
1645 | for i = 1, 20 do | |
1646 | g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,targ.Head.Position),.2) | |
1647 | swait() | |
1648 | end | |
1649 | removeuseless:AddItem(g1,.001) | |
1650 | eyeball1.BrickColor = BrickColor.new("Crimson") | |
1651 | eyeball1.Material = "Neon" | |
1652 | eyeball2.BrickColor = BrickColor.new("Crimson") | |
1653 | eyeball2.Material = "Neon" | |
1654 | local z = { | |
1655 | Color = BrickColor.new("Really black").Color | |
1656 | } | |
1657 | SOUND(Head,2175667385,10,false,10) | |
1658 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1659 | coroutine.wrap(function() | |
1660 | coroutine.wrap(function() | |
1661 | coroutine.wrap(function() | |
1662 | local w = Instance.new("Part",Torso) | |
1663 | w.Anchored = true | |
1664 | w.CanCollide = false | |
1665 | w.Material = "Neon" | |
1666 | w.BrickColor = BrickColor.new("Really black") | |
1667 | if targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R15 then | |
1668 | w.CFrame = targ:FindFirstChild("UpperTorso").CFrame | |
1669 | elseif targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then | |
1670 | w.CFrame = targ:FindFirstChild("Torso").CFrame | |
1671 | end | |
1672 | w.Size = Vector3.new(3,3,3) | |
1673 | w.Shape = "Ball" | |
1674 | for i = 1, 50 do | |
1675 | w.Transparency = w.Transparency + .05 | |
1676 | w.Size = w.Size + Vector3.new(3.5,3.5,3.5) | |
1677 | swait() | |
1678 | end | |
1679 | w:Remove() | |
1680 | end)() | |
1681 | for i = 1, 8 do | |
1682 | coroutine.wrap(function() | |
1683 | local ps = Instance.new("Part",Torso) | |
1684 | ps.Size = Vector3.new(1,1,1) | |
1685 | ps.Anchored = true | |
1686 | ps.BrickColor = BrickColor.new("Really black") | |
1687 | ps.Material = "Neon" | |
1688 | if targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R15 then | |
1689 | ps.CFrame = targ:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
1690 | elseif targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then | |
1691 | ps.CFrame = targ:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
1692 | end | |
1693 | local psm = Instance.new("SpecialMesh",ps) | |
1694 | psm.MeshType = "Sphere" | |
1695 | psm.Scale = Vector3.new(3,1,3) | |
1696 | for i = 1, 50 do | |
1697 | psm.Scale = psm.Scale + Vector3.new(0,5,0) | |
1698 | ps.Transparency = ps.Transparency + .025 | |
1699 | swait() | |
1700 | end | |
1701 | ps:Remove() | |
1702 | end)() | |
1703 | end | |
1704 | end)() | |
1705 | for i,x in pairs(targ:GetDescendants()) do if x:IsA("Part") then x:Clone() x.Parent = workspace x.Material = "Glass" x.BrickColor = BrickColor.new("Really black") x.Anchored = false | |
1706 | x.CanCollide = true x:BreakJoints() end end | |
1707 | for i,x in pairs(targ:GetDescendants()) do if x:IsA("Part") then x:Remove() end end | |
1708 | targ:BreakJoints() | |
1709 | for i = 1, 40 do | |
1710 | local lol = smoothen:Create(eyeball1,TweenInfo.new(.3,Enum.EasingStyle.Linear),z) | |
1711 | lol:Play() | |
1712 | local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.3,Enum.EasingStyle.Linear),z) | |
1713 | lol2:Play() | |
1714 | swait() | |
1715 | end | |
1716 | eyeball1.BrickColor = BrickColor.new("Really black") | |
1717 | eyeball2.BrickColor = BrickColor.new("Really black") | |
1718 | eyeball1.Material = "Glass" | |
1719 | eyeball2.Material = "Glass" | |
1720 | debounce = false | |
1721 | if xester then | |
1722 | ws = 155 | |
1723 | else | |
1724 | ws = 92 | |
1725 | end | |
1726 | end)() | |
1727 | end | |
1728 | end | |
1729 | end | |
1730 | end) | |
1731 | ||
1732 | checks1 = coroutine.wrap(function() -------Checks | |
1733 | while true do | |
1734 | if Root.Velocity.Magnitude < 10 then | |
1735 | position = "Idle" | |
1736 | elseif Root.Velocity.Magnitude > 10 then | |
1737 | position = "Walking" | |
1738 | else | |
1739 | end | |
1740 | wait() | |
1741 | end | |
1742 | end) | |
1743 | checks1() | |
1744 | ||
1745 | function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
1746 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
1747 | end | |
1748 | ||
1749 | function ray2(StartPos, EndPos, Distance, Ignore) | |
1750 | local DIRECTION = CFrame.new(StartPos,EndPos).lookVector | |
1751 | return ray(StartPos, DIRECTION, Distance, Ignore) | |
1752 | end | |
1753 | ||
1754 | OrgnC0 = Neck.C0 | |
1755 | local movelimbs = coroutine.wrap(function() | |
1756 | while RunSrv.RenderStepped:wait() do | |
1757 | TrsoLV = Torso.CFrame.lookVector | |
1758 | Dist = nil | |
1759 | Diff = nil | |
1760 | if not MseGuide then | |
1761 | print("Failed to recognize") | |
1762 | else | |
1763 | local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
1764 | Dist = (Head.CFrame.p-Point).magnitude | |
1765 | Diff = Head.CFrame.Y-Point.Y | |
1766 | local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true) | |
1767 | Dist2 = (LeftArm.CFrame.p-Point).magnitude | |
1768 | Diff2 = LeftArm.CFrame.Y-Point.Y | |
1769 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
1770 | 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) | |
1771 | end | |
1772 | end | |
1773 | end) | |
1774 | movelimbs() | |
1775 | immortal = {} | |
1776 | for i,v in pairs(Character:GetDescendants()) do | |
1777 | if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then | |
1778 | if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then | |
1779 | v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1780 | end | |
1781 | table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency}) | |
1782 | elseif v:IsA("JointInstance") then | |
1783 | table.insert(immortal,{v,v.Parent,nil,nil,nil}) | |
1784 | end | |
1785 | end | |
1786 | for e = 1, #immortal do | |
1787 | if immortal[e] ~= nil then | |
1788 | local STUFF = immortal[e] | |
1789 | local PART = STUFF[1] | |
1790 | local PARENT = STUFF[2] | |
1791 | local MATERIAL = STUFF[3] | |
1792 | local COLOR = STUFF[4] | |
1793 | local TRANSPARENCY = STUFF[5] | |
1794 | if levitate then | |
1795 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
1796 | PART.Material = MATERIAL | |
1797 | PART.Color = COLOR | |
1798 | PART.Transparency = TRANSPARENCY | |
1799 | end | |
1800 | PART.AncestryChanged:connect(function() | |
1801 | PART.Parent = PARENT | |
1802 | end) | |
1803 | else | |
1804 | if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then | |
1805 | PART.Material = MATERIAL | |
1806 | PART.Color = COLOR | |
1807 | PART.Transparency = TRANSPARENCY | |
1808 | end | |
1809 | PART.AncestryChanged:connect(function() | |
1810 | PART.Parent = PARENT | |
1811 | end) | |
1812 | end | |
1813 | end | |
1814 | end | |
1815 | function immortality() | |
1816 | for e = 1, #immortal do | |
1817 | if immortal[e] ~= nil then | |
1818 | local STUFF = immortal[e] | |
1819 | local PART = STUFF[1] | |
1820 | local PARENT = STUFF[2] | |
1821 | local MATERIAL = STUFF[3] | |
1822 | local COLOR = STUFF[4] | |
1823 | local TRANSPARENCY = STUFF[5] | |
1824 | if PART.ClassName == "Part" and PART == Root then | |
1825 | PART.Material = MATERIAL | |
1826 | PART.Color = COLOR | |
1827 | PART.Transparency = TRANSPARENCY | |
1828 | end | |
1829 | if PART.Parent ~= PARENT then | |
1830 | hum:Remove() | |
1831 | PART.Parent = PARENT | |
1832 | hum = Instance.new("Humanoid",Character) | |
1833 | if levitate then | |
1834 | eyo1:Remove() | |
1835 | eyo2:Remove() | |
1836 | end | |
1837 | hum.Name = "noneofurbusiness" | |
1838 | end | |
1839 | end | |
1840 | end | |
1841 | end | |
1842 | coroutine.wrap(function() | |
1843 | while true do | |
1844 | hum:SetStateEnabled("Dead",false) hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false) | |
1845 | if hum.Health < .1 then | |
1846 | immortality() | |
1847 | end | |
1848 | wait() | |
1849 | end | |
1850 | end)() | |
1851 | ||
1852 | leftlocation = Instance.new("Part",LeftArm) | |
1853 | leftlocation.Size = Vector3.new(1,1,1) | |
1854 | leftlocation.Transparency = 1 | |
1855 | leftlocationweld = weldBetween(leftlocation,LeftArm) | |
1856 | leftlocationweld.C0 = CFrame.new(0,1.2,0) | |
1857 | rightlocation = Instance.new("Part",RightArm) | |
1858 | rightlocation.Size = Vector3.new(1,1,1) | |
1859 | rightlocation.Transparency = 1 | |
1860 | rightlocationweld = weldBetween(rightlocation,RightArm) | |
1861 | rightlocationweld.C0 = CFrame.new(0,1.2,0) | |
1862 | ||
1863 | coroutine.wrap(function() | |
1864 | while true do | |
1865 | hpheight = 5.8 + .95 * math.sin(sine/12) | |
1866 | hum.HipHeight = hpheight | |
1867 | swait() | |
1868 | end | |
1869 | end)() | |
1870 | ||
1871 | local anims = coroutine.wrap(function() | |
1872 | while true do | |
1873 | settime = 0.05 | |
1874 | sine = sine + change | |
1875 | if position == "Walking" and attacking == false then | |
1876 | if huntdown then | |
1877 | change = .85 | |
1878 | else | |
1879 | change = .5 | |
1880 | end | |
1881 | walking = true | |
1882 | if xester then | |
1883 | ws = 155 | |
1884 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(5.9,-7 + 0 * math.sin(sine/6),5) * CFrame.Angles(math.rad(212 + 3 * math.sin(sine/6)),math.rad(-25),math.rad(2 * math.sin(sine/6))),.2) | |
1885 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.9,-7 + 0 * math.sin(sine/6),5) * CFrame.Angles(math.rad(212 + 3 * math.sin(sine/6)),math.rad(25),math.rad(2 * math.sin(sine/6))),.2) | |
1886 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0 * math.sin(sine/1.75),0) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/3.5)),math.rad(0 * math.sin(sine/3.5)) + Root.RotVelocity.Y / 15,math.rad(0) + Root.RotVelocity.Y / 19),.2) | |
1887 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.78,0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(4),math.rad(35)),.25) | |
1888 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .78, 0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(-4),math.rad(-35)), 0.25) | |
1889 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.58,1.8,0) * CFrame.Angles(math.rad(6 + 1 * math.sin(sine/12)),math.rad(-2 + 2 * math.sin(sine/12)),math.rad(5 - 1 * math.sin(sine/12))),.2) | |
1890 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(1.2,1.3, -.12) * CFrame.Angles(math.rad(-9 + .5 * math.sin(sine/12)),math.rad(2 - 1 * math.sin(sine/12)),math.rad(-35 + 1 * math.sin(sine/12))),.2) | |
1891 | else | |
1892 | ws = 92 | |
1893 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(4.2 + 1 * math.sin(sine/3.5),-5 + .5 * math.sin(sine/3.5),6) * CFrame.Angles(math.rad(150 + 120 * math.sin(sine/3.5)),math.rad(30 * math.sin(sine/3.5)),math.rad(-17 * math.sin(sine/3.5))),.2) | |
1894 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-4.2 + 1 * math.sin(sine/3.5),-5 + .5 * math.sin(sine/3.5),6) * CFrame.Angles(math.rad(150 + 120 * -math.sin(sine/3.5)),math.rad(30 * math.sin(sine/3.5)),math.rad(-17 * math.sin(sine/3.5))),.2) | |
1895 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,1 * math.sin(sine/1.75),0) * CFrame.Angles(math.rad(0 + 5 * math.sin(sine/3.5)),math.rad(10 * math.sin(sine/3.5)) + Root.RotVelocity.Y / 15,math.rad(0) + Root.RotVelocity.Y / 19),.2) | |
1896 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.78,0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(4),math.rad(35)),.25) | |
1897 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .78, 0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(-4),math.rad(-35)), 0.25) | |
1898 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.58,1.8,0) * CFrame.Angles(math.rad(6 + 1 * math.sin(sine/12)),math.rad(-2 + 2 * math.sin(sine/12)),math.rad(5 - 1 * math.sin(sine/12))),.2) | |
1899 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(1.2,1.3, -.12) * CFrame.Angles(math.rad(-9 + .5 * math.sin(sine/12)),math.rad(2 - 1 * math.sin(sine/12)),math.rad(-35 + 1 * math.sin(sine/12))),.2) | |
1900 | end | |
1901 | elseif position == "Idle" and attacking == false then | |
1902 | change = .5 | |
1903 | HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(4.5,-5 + .5 * math.sin(sine/14),6) * CFrame.Angles(math.rad(10 + 1 * math.sin(sine/13)),math.rad(-5 + 5 * math.sin(sine/12)),math.rad(-36 - 4 * math.sin(sine/11))),.2) | |
1904 | HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5,-5 + .5 * math.sin(sine/14),6) * CFrame.Angles(math.rad(13 - 3 * math.sin(sine/12)),math.rad(36 - 3 * math.sin(sine/13)),math.rad(35 + 2 * math.sin(sine/11))),.2) | |
1905 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 + 5 * math.sin(sine/12)),math.rad(0 * math.sin(sine/16)),math.rad(0)),.2) | |
1906 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.78,0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(4),math.rad(35)),.25) | |
1907 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .78, 0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(-4),math.rad(-35)), 0.25) | |
1908 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.58,1.8,0) * CFrame.Angles(math.rad(6 + 1 * math.sin(sine/12)),math.rad(-2 + 2 * math.sin(sine/12)),math.rad(5 - 1 * math.sin(sine/12))),.2) | |
1909 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(1.2,1.3, -.12) * CFrame.Angles(math.rad(-9 + .5 * math.sin(sine/12)),math.rad(2 - 1 * math.sin(sine/12)),math.rad(-35 + 1 * math.sin(sine/12))),.2) | |
1910 | end | |
1911 | swait() | |
1912 | end | |
1913 | end) | |
1914 | anims() | |
1915 | warn("The one you fear, Made by Supr14.") |