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