SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has been converted to FE by iPxter | |
2 | ||
3 | ||
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | do | |
7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
8 | script.Parent = Player.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | - | local mouse = plr:GetMouse() |
43 | + | m.Target = io.Target |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | ||
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | ||
94 | ||
95 | ||
96 | ||
97 | ||
98 | ----------------------- | |
99 | --MemeusV2-- | |
100 | ------------------------------------------------------- | |
101 | --A script By makhail07 | |
102 | ||
103 | --This edit by 2003boobear | |
104 | ||
105 | --Discord Creterisk#2958 (not 2003boobear's discord) | |
106 | ------------------------------------------------------- | |
107 | ||
108 | local FavIDs = { | |
109 | 340106355, --Nefl Crystals | |
110 | 927529620, --Dimension | |
111 | 876981900, --Fantasy | |
112 | 398987889, --Ordinary Days | |
113 | 1117396305, --Oh wait, it's you. | |
114 | 885996042, --Action Winter Journey | |
115 | 919231299, --Sprawling Idiot Effigy | |
116 | 743466274, --Good Day Sunshine | |
117 | 727411183, --Knife Fight | |
118 | 1402748531, --The Earth Is Counting On You! | |
119 | 595230126 --Robot Language | |
120 | } | |
121 | ||
122 | ||
123 | ||
124 | --The reality of my life isn't real but a Universe -makhail07 | |
125 | wait() | |
126 | local Player = game.Players.localPlayer | |
127 | print'user, i have to make this FE! i guess.' | |
128 | local Character = Player.Character | |
129 | local plr = game:service'Players'.LocalPlayer | |
130 | local Humanoid = Character.Humanoid | |
131 | local char = plr.Character | |
132 | local hum = char.Humanoid | |
133 | local ra = char["Right Arm"] | |
134 | local la= char["Left Arm"] | |
135 | local rl= char["Right Leg"] | |
136 | local ll = char["Left Leg"] | |
137 | local hed = char.Head | |
138 | local root = char.HumanoidRootPart | |
139 | local rootj = root.RootJoint | |
140 | local tors = char.Torso | |
141 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
142 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
143 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
144 | local cam = game.Workspace.CurrentCamera | |
145 | trazx = Instance.new("ParticleEmitter") | |
146 | c = game.Players.LocalPlayer.Character | |
147 | ||
148 | --where i put all the warn things | |
149 | ||
150 | warn ("Well Look at that, I finished it.") | |
151 | --Looks Like you decided to look though the script. Well, Hello. | |
152 | warn ("I had a fun time making this edit.") | |
153 | --I Really DID have fun editing this. | |
154 | warn ("I hope you Enjoy this. Go have Fun!") | |
155 | --Just don't abuse. | |
156 | warn ("Also, the original MemeusV2 was made by makhail07.") | |
157 | --Support makhail07 for making the original! | |
158 | warn ("This edit was made by me, 2003boobear.") | |
159 | --This is one of my best edits BY FAR, though. | |
160 | warn ("Yeas") | |
161 | Character.Head.face.Texture = "rbxassetid://620619801" | |
162 | ||
163 | ------------------------------------------------------- | |
164 | --Start Good Stuff-- | |
165 | ------------------------------------------------------- | |
166 | CF = CFrame.new | |
167 | angles = CFrame.Angles | |
168 | attack = false | |
169 | timetofly = true | |
170 | Euler = CFrame.fromEulerAnglesXYZ | |
171 | Rad = math.rad | |
172 | IT = Instance.new | |
173 | BrickC = BrickColor.new | |
174 | Cos = math.cos | |
175 | Acos = math.acos | |
176 | Sin = math.sin | |
177 | Asin = math.asin | |
178 | Abs = math.abs | |
179 | Mrandom = math.random | |
180 | Floor = math.floor | |
181 | random = math.random | |
182 | radian = math.rad | |
183 | Vec3 = Vector3.new | |
184 | cFrame = CFrame.new | |
185 | Euler = CFrame.fromEulerAnglesXYZ | |
186 | ------------------------------------------------------- | |
187 | --End Good Stuff-- | |
188 | ------------------------------------------------------- | |
189 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
190 | RSH, LSH = nil, nil | |
191 | RW = Instance.new("Weld") | |
192 | LW = Instance.new("Weld") | |
193 | RH = tors["Right Hip"] | |
194 | LH = tors["Left Hip"] | |
195 | RSH = tors["Right Shoulder"] | |
196 | LSH = tors["Left Shoulder"] | |
197 | RSH.Parent = nil | |
198 | LSH.Parent = nil | |
199 | RW.Name = "RW" | |
200 | RW.Part0 = tors | |
201 | RW.C0 = CF(1.5, 0.5, 0) | |
202 | RW.C1 = CF(0, 0.5, 0) | |
203 | RW.Part1 = ra | |
204 | RW.Parent = tors | |
205 | LW.Name = "LW" | |
206 | LW.Part0 = tors | |
207 | LW.C0 = CF(-1.5, 0.5, 0) | |
208 | LW.C1 = CF(0, 0.5, 0) | |
209 | LW.Part1 = la | |
210 | LW.Parent = tors | |
211 | Effects = {} | |
212 | ||
213 | ------------------------------------------------------- | |
214 | --Start HeartBeat-- | |
215 | ------------------------------------------------------- | |
216 | ArtificialHB = Instance.new("BindableEvent", script) | |
217 | ArtificialHB.Name = "Heartbeat" | |
218 | script:WaitForChild("Heartbeat") | |
219 | ||
220 | frame = 1 / 60 | |
221 | tf = 0 | |
222 | allowframeloss = false | |
223 | tossremainder = false | |
224 | ||
225 | ||
226 | lastframe = tick() | |
227 | script.Heartbeat:Fire() | |
228 | ||
229 | ||
230 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
231 | tf = tf + s | |
232 | if tf >= frame then | |
233 | if allowframeloss then | |
234 | script.Heartbeat:Fire() | |
235 | lastframe = tick() | |
236 | else | |
237 | for i = 1, math.floor(tf / frame) do | |
238 | script.Heartbeat:Fire() | |
239 | end | |
240 | lastframe = tick() | |
241 | end | |
242 | if tossremainder then | |
243 | tf = 0 | |
244 | else | |
245 | tf = tf - frame * math.floor(tf / frame) | |
246 | end | |
247 | end | |
248 | end) | |
249 | ------------------------------------------------------- | |
250 | --End HeartBeat-- | |
251 | ------------------------------------------------------- | |
252 | ||
253 | function CameraEnshaking(Length, Intensity) --Took Straight from StarGlitcher! | |
254 | coroutine.resume(coroutine.create(function() | |
255 | local intensity = 1 * Intensity | |
256 | local rotM = 0.01 * Intensity | |
257 | for i = 0, Length, 0.1 do | |
258 | swait() | |
259 | intensity = intensity - 0.05 * Intensity / Length | |
260 | rotM = rotM - 5.0E-4 * Intensity / Length | |
261 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
262 | cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM) | |
263 | end | |
264 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
265 | end)) | |
266 | end | |
267 | ||
268 | local joyemoji = Instance.new('ParticleEmitter', tors) | |
269 | joyemoji.VelocitySpread = 2000 | |
270 | joyemoji.Lifetime = NumberRange.new(1) | |
271 | joyemoji.Speed = NumberRange.new(40) | |
272 | joy= {} | |
273 | for i=0, 19 do | |
274 | joy[#joy+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
275 | end | |
276 | joyemoji.Size = NumberSequence.new(joy) | |
277 | joyemoji.Rate = 0 | |
278 | joyemoji.LockedToPart = false | |
279 | joyemoji.LightEmission = 0 | |
280 | joyemoji.Texture = "rbxassetid://1176402123" | |
281 | joyemoji.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
282 | ||
283 | ||
284 | local LIT = Instance.new('ParticleEmitter', tors) | |
285 | LIT.VelocitySpread = 2000 | |
286 | LIT.Lifetime = NumberRange.new(1) | |
287 | LIT.Speed = NumberRange.new(45) | |
288 | nani= {} | |
289 | for i=0, 19 do | |
290 | nani[#nani+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
291 | end | |
292 | LIT.Size = NumberSequence.new(nani) | |
293 | LIT.Rate = 0 | |
294 | LIT.LockedToPart = false | |
295 | LIT.LightEmission = 0 | |
296 | LIT.Texture = "rbxassetid://1492670151" | |
297 | LIT.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
298 | ||
299 | local toast = Instance.new('ParticleEmitter', tors) | |
300 | toast.VelocitySpread = 2000 | |
301 | toast.Lifetime = NumberRange.new(1) | |
302 | toast.Speed = NumberRange.new(60) | |
303 | toasterstoasttoast= {} | |
304 | for i=0, 19 do | |
305 | toasterstoasttoast[#toasterstoasttoast+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
306 | end | |
307 | toast.Size = NumberSequence.new(toasterstoasttoast) | |
308 | toast.Rate = 0 | |
309 | toast.LockedToPart = false | |
310 | toast.LightEmission = 0 | |
311 | toast.Texture = "rbxassetid://436096230" | |
312 | toast.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
313 | ||
314 | local ok = Instance.new('ParticleEmitter', tors) | |
315 | ok.VelocitySpread = 2000 | |
316 | ok.Lifetime = NumberRange.new(1) | |
317 | ok.Speed = NumberRange.new(50) | |
318 | cool= {} | |
319 | for i=0, 19 do | |
320 | cool[#cool+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
321 | end | |
322 | ok.Size = NumberSequence.new(cool) | |
323 | ok.Rate = 0 | |
324 | ok.LockedToPart = false | |
325 | ok.LightEmission = 0 | |
326 | ok.Texture = "rbxassetid://636768448" | |
327 | ok.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
328 | ||
329 | ------------------------------------------------------- | |
330 | --Start Kyu's shitty stuff-- | |
331 | ------------------------------------------------------- | |
332 | ||
333 | function ragdoll(model) | |
334 | local char = model | |
335 | torso = char.HumanoidRootPart | |
336 | torso2 = char.Torso | |
337 | LW.Parent = nil | |
338 | RW.Parent = nil | |
339 | LH.Parent = nil | |
340 | RH.Parent = nil | |
341 | if hum ~= nil then | |
342 | hum.PlatformStand = true | |
343 | end | |
344 | ||
345 | local Head = char:FindFirstChild("Head") | |
346 | if Head then | |
347 | local Neck = Instance.new("Weld") | |
348 | Neck.Name = "Neck" | |
349 | Neck.Part0 = torso | |
350 | Neck.Part1 = Head | |
351 | Neck.C0 = CFrame.new(0, 1.5, 0) | |
352 | Neck.C1 = CFrame.new() | |
353 | Neck.Parent = torso | |
354 | end | |
355 | local Limb = char:FindFirstChild("Right Arm") | |
356 | if Limb then | |
357 | ||
358 | Limb.CFrame = torso.CFrame * CFrame.new(1.5, 0, 0) | |
359 | local Joint = Instance.new("Glue") | |
360 | Joint.Name = "RightShoulder" | |
361 | Joint.Part0 = torso | |
362 | Joint.Part1 = Limb | |
363 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
364 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
365 | Joint.Parent = torso | |
366 | ||
367 | local B = Instance.new("Part") | |
368 | B.TopSurface = 0 | |
369 | B.BottomSurface = 0 | |
370 | B.formFactor = "Symmetric" | |
371 | B.Size = Vector3.new(1, 1, 1) | |
372 | B.Transparency = 1 | |
373 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
374 | B.Parent = char | |
375 | local W = Instance.new("Weld") | |
376 | W.Part0 = Limb | |
377 | W.Part1 = B | |
378 | W.C0 = CFrame.new(0, -0.5, 0) | |
379 | W.Parent = Limb | |
380 | ||
381 | end | |
382 | local Limb = char:FindFirstChild("Left Arm") | |
383 | if Limb then | |
384 | ||
385 | Limb.CFrame = torso.CFrame * CFrame.new(-1.5, 0, 0) | |
386 | local Joint = Instance.new("Glue") | |
387 | Joint.Name = "LeftShoulder" | |
388 | Joint.Part0 = torso | |
389 | Joint.Part1 = Limb | |
390 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
391 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
392 | Joint.Parent = torso | |
393 | ||
394 | local B = Instance.new("Part") | |
395 | B.TopSurface = 0 | |
396 | B.BottomSurface = 0 | |
397 | B.formFactor = "Symmetric" | |
398 | B.Size = Vector3.new(1, 1, 1) | |
399 | B.Transparency = 1 | |
400 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
401 | B.Parent = char | |
402 | local W = Instance.new("Weld") | |
403 | W.Part0 = Limb | |
404 | W.Part1 = B | |
405 | W.C0 = CFrame.new(0, -0.5, 0) | |
406 | W.Parent = Limb | |
407 | ||
408 | end | |
409 | local Limb = char:FindFirstChild("Right Leg") | |
410 | if Limb then | |
411 | ||
412 | Limb.CFrame = torso.CFrame * CFrame.new(0.5, -2, 0) | |
413 | local Joint = Instance.new("Glue") | |
414 | Joint.Name = "RightHip" | |
415 | Joint.Part0 = torso | |
416 | Joint.Part1 = Limb | |
417 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
418 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
419 | Joint.Parent = torso | |
420 | ||
421 | local B = Instance.new("Part") | |
422 | B.TopSurface = 0 | |
423 | B.BottomSurface = 0 | |
424 | B.formFactor = "Symmetric" | |
425 | B.Size = Vector3.new(1, 1, 1) | |
426 | B.Transparency = 1 | |
427 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
428 | B.Parent = char | |
429 | local W = Instance.new("Weld") | |
430 | W.Part0 = Limb | |
431 | W.Part1 = B | |
432 | W.C0 = CFrame.new(0, -0.5, 0) | |
433 | W.Parent = Limb | |
434 | ||
435 | end | |
436 | local Limb = char:FindFirstChild("Left Leg") | |
437 | if Limb then | |
438 | ||
439 | Limb.CFrame = torso.CFrame * CFrame.new(-0.5, -2, 0) | |
440 | local Joint = Instance.new("Glue") | |
441 | Joint.Name = "LeftHip" | |
442 | Joint.Part0 = torso | |
443 | Joint.Part1 = Limb | |
444 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
445 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
446 | Joint.Parent = torso | |
447 | ||
448 | local B = Instance.new("Part") | |
449 | B.TopSurface = 0 | |
450 | B.BottomSurface = 0 | |
451 | B.formFactor = "Symmetric" | |
452 | B.Size = Vector3.new(1, 1, 1) | |
453 | B.Transparency = 1 | |
454 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
455 | B.Parent = char | |
456 | local W = Instance.new("Weld") | |
457 | W.Part0 = Limb | |
458 | W.Part1 = B | |
459 | W.C0 = CFrame.new(0, -0.5, 0) | |
460 | W.Parent = Limb | |
461 | ||
462 | end | |
463 | --[ | |
464 | local Bar = Instance.new("Part") | |
465 | Bar.TopSurface = 0 | |
466 | Bar.BottomSurface = 0 | |
467 | Bar.formFactor = "Symmetric" | |
468 | Bar.Size = Vector3.new(1, 1, 1) | |
469 | Bar.Transparency = 1 | |
470 | Bar.CFrame = torso.CFrame * CFrame.new(0, 0.5, 0) | |
471 | Bar.Parent = char | |
472 | local Weld = Instance.new("Weld") | |
473 | Weld.Part0 = torso | |
474 | Weld.Part1 = Bar | |
475 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
476 | Weld.Parent = torso | |
477 | --]] | |
478 | ||
479 | torso.CFrame = CFrame.new(torso.Position)*CFrame.Angles(math.rad(20),math.rad(torso.Orientation.Y),math.rad(torso.Orientation.Z)) | |
480 | ||
481 | end | |
482 | ||
483 | ------------------------------------------------------- | |
484 | --End Kyu's shitty stuff-- | |
485 | ------------------------------------------------------- | |
486 | ||
487 | ------------------------------------------------------- | |
488 | --Start Important Functions-- | |
489 | ------------------------------------------------------- | |
490 | function swait(num) | |
491 | if num == 0 or num == nil then | |
492 | game:service("RunService").Stepped:wait(0) | |
493 | else | |
494 | for i = 0, num do | |
495 | game:service("RunService").Stepped:wait(0) | |
496 | end | |
497 | end | |
498 | end | |
499 | function thread(f) | |
500 | coroutine.resume(coroutine.create(f)) | |
501 | end | |
502 | function clerp(a, b, t) | |
503 | local qa = { | |
504 | QuaternionFromCFrame(a) | |
505 | } | |
506 | local qb = { | |
507 | QuaternionFromCFrame(b) | |
508 | } | |
509 | local ax, ay, az = a.x, a.y, a.z | |
510 | local bx, by, bz = b.x, b.y, b.z | |
511 | local _t = 1 - t | |
512 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
513 | end | |
514 | function QuaternionFromCFrame(cf) | |
515 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
516 | local trace = m00 + m11 + m22 | |
517 | if trace > 0 then | |
518 | local s = math.sqrt(1 + trace) | |
519 | local recip = 0.5 / s | |
520 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
521 | else | |
522 | local i = 0 | |
523 | if m00 < m11 then | |
524 | i = 1 | |
525 | end | |
526 | if m22 > (i == 0 and m00 or m11) then | |
527 | i = 2 | |
528 | end | |
529 | if i == 0 then | |
530 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
531 | local recip = 0.5 / s | |
532 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
533 | elseif i == 1 then | |
534 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
535 | local recip = 0.5 / s | |
536 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
537 | elseif i == 2 then | |
538 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
539 | local recip = 0.5 / s | |
540 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
541 | end | |
542 | end | |
543 | end | |
544 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
545 | local xs, ys, zs = x + x, y + y, z + z | |
546 | local wx, wy, wz = w * xs, w * ys, w * zs | |
547 | local xx = x * xs | |
548 | local xy = x * ys | |
549 | local xz = x * zs | |
550 | local yy = y * ys | |
551 | local yz = y * zs | |
552 | local zz = z * zs | |
553 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
554 | end | |
555 | function QuaternionSlerp(a, b, t) | |
556 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
557 | local startInterp, finishInterp | |
558 | if cosTheta >= 1.0E-4 then | |
559 | if 1 - cosTheta > 1.0E-4 then | |
560 | local theta = math.acos(cosTheta) | |
561 | local invSinTheta = 1 / Sin(theta) | |
562 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
563 | finishInterp = Sin(t * theta) * invSinTheta | |
564 | else | |
565 | startInterp = 1 - t | |
566 | finishInterp = t | |
567 | end | |
568 | elseif 1 + cosTheta > 1.0E-4 then | |
569 | local theta = math.acos(-cosTheta) | |
570 | local invSinTheta = 1 / Sin(theta) | |
571 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
572 | finishInterp = Sin(t * theta) * invSinTheta | |
573 | else | |
574 | startInterp = t - 1 | |
575 | finishInterp = t | |
576 | end | |
577 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
578 | end | |
579 | function rayCast(Position, Direction, Range, Ignore) | |
580 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
581 | end | |
582 | local RbxUtility = LoadLibrary("RbxUtility") | |
583 | local Create = RbxUtility.Create | |
584 | ||
585 | ------------------------------------------------------- | |
586 | --Start Damage Function-- | |
587 | ------------------------------------------------------- | |
588 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
589 | if hit.Parent == nil then | |
590 | return | |
591 | end | |
592 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
593 | for _, v in pairs(hit.Parent:children()) do | |
594 | if v:IsA("Humanoid") then | |
595 | h = v | |
596 | end | |
597 | end | |
598 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
599 | warn'No R15 allowed' | |
600 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
601 | end | |
602 | ||
603 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
604 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
605 | if hit.Parent.DebounceHit.Value == true then | |
606 | return | |
607 | end | |
608 | end | |
609 | if insta == true then | |
610 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
611 | end | |
612 | local c = Create("ObjectValue"){ | |
613 | Name = "creator", | |
614 | Value = game:service("Players").LocalPlayer, | |
615 | Parent = h, | |
616 | } | |
617 | game:GetService("Debris"):AddItem(c, .5) | |
618 | if HitSound ~= nil and HitPitch ~= nil then | |
619 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
620 | end | |
621 | local Damage = math.random(minim, maxim) | |
622 | local blocked = false | |
623 | local block = hit.Parent:findFirstChild("Block") | |
624 | if block ~= nil then | |
625 | if block.className == "IntValue" then | |
626 | if block.Value > 0 then | |
627 | blocked = true | |
628 | block.Value = block.Value - 1 | |
629 | print(block.Value) | |
630 | end | |
631 | end | |
632 | end | |
633 | if blocked == false then | |
634 | h.Health = h.Health - Damage | |
635 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
636 | else | |
637 | h.Health = h.Health - (Damage / 2) | |
638 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
639 | end | |
640 | if Type == "Knockdown" then | |
641 | local hum = hit.Parent.Humanoid | |
642 | hum.PlatformStand = true | |
643 | coroutine.resume(coroutine.create(function(HHumanoid) | |
644 | swait(1) | |
645 | HHumanoid.PlatformStand = false | |
646 | end), hum) | |
647 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
648 | local bodvol = Create("BodyVelocity"){ | |
649 | velocity = angle * knockback, | |
650 | P = 5000, | |
651 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
652 | Parent = hit, | |
653 | } | |
654 | local rl = Create("BodyAngularVelocity"){ | |
655 | P = 3000, | |
656 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
657 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
658 | Parent = hit, | |
659 | } | |
660 | game:GetService("Debris"):AddItem(bodvol, .5) | |
661 | game:GetService("Debris"):AddItem(rl, .5) | |
662 | elseif Type == "Normal" then | |
663 | local vp = Create("BodyVelocity"){ | |
664 | P = 500, | |
665 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
666 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
667 | } | |
668 | if knockback > 0 then | |
669 | vp.Parent = hit.Parent.Torso | |
670 | end | |
671 | game:GetService("Debris"):AddItem(vp, .5) | |
672 | elseif Type == "Up" then | |
673 | local bodyVelocity = Create("BodyVelocity"){ | |
674 | velocity = Vector3.new(0, 20, 0), | |
675 | P = 5000, | |
676 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
677 | Parent = hit, | |
678 | } | |
679 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
680 | elseif Type == "DarkUp" then | |
681 | coroutine.resume(coroutine.create(function() | |
682 | for i = 0, 1, 0.1 do | |
683 | swait() | |
684 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
685 | end | |
686 | end)) | |
687 | local bodyVelocity = Create("BodyVelocity"){ | |
688 | velocity = Vector3.new(0, 20, 0), | |
689 | P = 5000, | |
690 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
691 | Parent = hit, | |
692 | } | |
693 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
694 | elseif Type == "Snare" then | |
695 | local bp = Create("BodyPosition"){ | |
696 | P = 2000, | |
697 | D = 100, | |
698 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
699 | position = hit.Parent.Torso.Position, | |
700 | Parent = hit.Parent.Torso, | |
701 | } | |
702 | game:GetService("Debris"):AddItem(bp, 1) | |
703 | elseif Type == "Freeze" then | |
704 | local BodPos = Create("BodyPosition"){ | |
705 | P = 50000, | |
706 | D = 1000, | |
707 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
708 | position = hit.Parent.Torso.Position, | |
709 | Parent = hit.Parent.Torso, | |
710 | } | |
711 | local BodGy = Create("BodyGyro") { | |
712 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
713 | P = 20e+003, | |
714 | Parent = hit.Parent.Torso, | |
715 | cframe = hit.Parent.Torso.CFrame, | |
716 | } | |
717 | hit.Parent.Torso.Anchored = true | |
718 | coroutine.resume(coroutine.create(function(Part) | |
719 | swait(1.5) | |
720 | Part.Anchored = false | |
721 | end), hit.Parent.Torso) | |
722 | game:GetService("Debris"):AddItem(BodPos, 3) | |
723 | game:GetService("Debris"):AddItem(BodGy, 3) | |
724 | end | |
725 | local debounce = Create("BoolValue"){ | |
726 | Name = "DebounceHit", | |
727 | Parent = hit.Parent, | |
728 | Value = true, | |
729 | } | |
730 | game:GetService("Debris"):AddItem(debounce, Delay) | |
731 | c = Create("ObjectValue"){ | |
732 | Name = "creator", | |
733 | Value = Player, | |
734 | Parent = h, | |
735 | } | |
736 | game:GetService("Debris"):AddItem(c, .5) | |
737 | end | |
738 | end | |
739 | ------------------------------------------------------- | |
740 | --End Damage Function-- | |
741 | ------------------------------------------------------- | |
742 | ||
743 | ------------------------------------------------------- | |
744 | --Start Damage Function Customization-- | |
745 | ------------------------------------------------------- | |
746 | function ShowDamage(Pos, Text, Time, Color) | |
747 | local Rate = (1 / 30) | |
748 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
749 | local Text = (Text or "") | |
750 | local Time = (Time or 2) | |
751 | local Color = (Color or Color3.new(1, 0, 1)) | |
752 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
753 | EffectPart.Anchored = true | |
754 | local BillboardGui = Create("BillboardGui"){ | |
755 | Size = UDim2.new(3, 0, 3, 0), | |
756 | Adornee = EffectPart, | |
757 | Parent = EffectPart, | |
758 | } | |
759 | local TextLabel = Create("TextLabel"){ | |
760 | BackgroundTransparency = 1, | |
761 | Size = UDim2.new(1, 0, 1, 0), | |
762 | Text = Text, | |
763 | Font = "Highway", | |
764 | TextColor3 = Color, | |
765 | TextScaled = true, | |
766 | Parent = BillboardGui, | |
767 | } | |
768 | game.Debris:AddItem(EffectPart, (Time)) | |
769 | EffectPart.Parent = game:GetService("Workspace") | |
770 | delay(0, function() | |
771 | local Frames = (Time / Rate) | |
772 | for Frame = 1, Frames do | |
773 | wait(Rate) | |
774 | local Percent = (Frame / Frames) | |
775 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
776 | TextLabel.TextTransparency = Percent | |
777 | end | |
778 | if EffectPart and EffectPart.Parent then | |
779 | EffectPart:Destroy() | |
780 | end | |
781 | end) | |
782 | end | |
783 | ------------------------------------------------------- | |
784 | --End Damage Function Customization-- | |
785 | ------------------------------------------------------- | |
786 | ||
787 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
788 | for _, c in pairs(workspace:children()) do | |
789 | local hum = c:findFirstChild("Humanoid") | |
790 | if hum ~= nil then | |
791 | local head = c:findFirstChild("Head") | |
792 | if head ~= nil then | |
793 | local targ = head.Position - Part.Position | |
794 | local mag = targ.magnitude | |
795 | if magni >= mag and c.Name ~= plr.Name then | |
796 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2) | |
797 | end | |
798 | end | |
799 | end | |
800 | end | |
801 | end | |
802 | ||
803 | ||
804 | CFuncs = { | |
805 | Part = { | |
806 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
807 | local Part = Create("Part")({ | |
808 | Parent = Parent, | |
809 | Reflectance = Reflectance, | |
810 | Transparency = Transparency, | |
811 | CanCollide = false, | |
812 | Locked = true, | |
813 | BrickColor = BrickColor.new(tostring(BColor)), | |
814 | Name = Name, | |
815 | Size = Size, | |
816 | Material = Material | |
817 | }) | |
818 | RemoveOutlines(Part) | |
819 | return Part | |
820 | end | |
821 | }, | |
822 | Mesh = { | |
823 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
824 | local Msh = Create(Mesh)({ | |
825 | Parent = Part, | |
826 | Offset = OffSet, | |
827 | Scale = Scale | |
828 | }) | |
829 | if Mesh == "SpecialMesh" then | |
830 | Msh.MeshType = MeshType | |
831 | Msh.MeshId = MeshId | |
832 | end | |
833 | return Msh | |
834 | end | |
835 | }, | |
836 | Mesh = { | |
837 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
838 | local Msh = Create(Mesh)({ | |
839 | Parent = Part, | |
840 | Offset = OffSet, | |
841 | Scale = Scale | |
842 | }) | |
843 | if Mesh == "SpecialMesh" then | |
844 | Msh.MeshType = MeshType | |
845 | Msh.MeshId = MeshId | |
846 | end | |
847 | return Msh | |
848 | end | |
849 | }, | |
850 | Weld = { | |
851 | Create = function(Parent, Part0, Part1, C0, C1) | |
852 | local Weld = Create("Weld")({ | |
853 | Parent = Parent, | |
854 | Part0 = Part0, | |
855 | Part1 = Part1, | |
856 | C0 = C0, | |
857 | C1 = C1 | |
858 | }) | |
859 | return Weld | |
860 | end | |
861 | }, | |
862 | Sound = { | |
863 | Create = function(id, par, vol, pit) | |
864 | coroutine.resume(coroutine.create(function() | |
865 | local S = Create("Sound")({ | |
866 | Volume = vol, | |
867 | Pitch = pit or 1, | |
868 | SoundId = id, | |
869 | Parent = par or workspace | |
870 | }) | |
871 | wait() | |
872 | S:play() | |
873 | game:GetService("Debris"):AddItem(S, 6) | |
874 | end)) | |
875 | end | |
876 | }, | |
877 | ParticleEmitter = { | |
878 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
879 | local fp = Create("ParticleEmitter")({ | |
880 | Parent = Parent, | |
881 | Color = ColorSequence.new(Color1, Color2), | |
882 | LightEmission = LightEmission, | |
883 | Size = Size, | |
884 | Texture = Texture, | |
885 | Transparency = Transparency, | |
886 | ZOffset = ZOffset, | |
887 | Acceleration = Accel, | |
888 | Drag = Drag, | |
889 | LockedToPart = LockedToPart, | |
890 | VelocityInheritance = VelocityInheritance, | |
891 | EmissionDirection = EmissionDirection, | |
892 | Enabled = Enabled, | |
893 | Lifetime = LifeTime, | |
894 | Rate = Rate, | |
895 | Rotation = Rotation, | |
896 | RotSpeed = RotSpeed, | |
897 | Speed = Speed, | |
898 | VelocitySpread = VelocitySpread | |
899 | }) | |
900 | return fp | |
901 | end | |
902 | } | |
903 | } | |
904 | function RemoveOutlines(part) | |
905 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
906 | end | |
907 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
908 | local Part = Create("Part")({ | |
909 | formFactor = FormFactor, | |
910 | Parent = Parent, | |
911 | Reflectance = Reflectance, | |
912 | Transparency = Transparency, | |
913 | CanCollide = false, | |
914 | Locked = true, | |
915 | BrickColor = BrickColor.new(tostring(BColor)), | |
916 | Name = Name, | |
917 | Size = Size, | |
918 | Material = Material | |
919 | }) | |
920 | RemoveOutlines(Part) | |
921 | return Part | |
922 | end | |
923 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
924 | local Msh = Create(Mesh)({ | |
925 | Parent = Part, | |
926 | Offset = OffSet, | |
927 | Scale = Scale | |
928 | }) | |
929 | if Mesh == "SpecialMesh" then | |
930 | Msh.MeshType = MeshType | |
931 | Msh.MeshId = MeshId | |
932 | end | |
933 | return Msh | |
934 | end | |
935 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
936 | local Weld = Create("Weld")({ | |
937 | Parent = Parent, | |
938 | Part0 = Part0, | |
939 | Part1 = Part1, | |
940 | C0 = C0, | |
941 | C1 = C1 | |
942 | }) | |
943 | return Weld | |
944 | end | |
945 | ||
946 | ||
947 | ------------------------------------------------------- | |
948 | --Start Effect Function-- | |
949 | ------------------------------------------------------- | |
950 | EffectModel = Instance.new("Model", char) | |
951 | Effects = { | |
952 | Block = { | |
953 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
954 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
955 | prt.Anchored = true | |
956 | prt.CFrame = cframe | |
957 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
958 | game:GetService("Debris"):AddItem(prt, 10) | |
959 | if Type == 1 or Type == nil then | |
960 | table.insert(Effects, { | |
961 | prt, | |
962 | "Block1", | |
963 | delay, | |
964 | x3, | |
965 | y3, | |
966 | z3, | |
967 | msh | |
968 | }) | |
969 | elseif Type == 2 then | |
970 | table.insert(Effects, { | |
971 | prt, | |
972 | "Block2", | |
973 | delay, | |
974 | x3, | |
975 | y3, | |
976 | z3, | |
977 | msh | |
978 | }) | |
979 | else | |
980 | table.insert(Effects, { | |
981 | prt, | |
982 | "Block3", | |
983 | delay, | |
984 | x3, | |
985 | y3, | |
986 | z3, | |
987 | msh | |
988 | }) | |
989 | end | |
990 | end | |
991 | }, | |
992 | Sphere = { | |
993 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
994 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
995 | prt.Anchored = true | |
996 | prt.CFrame = cframe | |
997 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0,0,0), Vector3.new(x1, y1, z1)) | |
998 | game:GetService("Debris"):AddItem(prt, 10) | |
999 | table.insert(Effects, { | |
1000 | prt, | |
1001 | "Cylinder", | |
1002 | delay, | |
1003 | x3, | |
1004 | y3, | |
1005 | z3, | |
1006 | msh | |
1007 | }) | |
1008 | end | |
1009 | }, | |
1010 | Cylinder = { | |
1011 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1012 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1013 | prt.Anchored = true | |
1014 | prt.CFrame = cframe | |
1015 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1016 | game:GetService("Debris"):AddItem(prt, 10) | |
1017 | table.insert(Effects, { | |
1018 | prt, | |
1019 | "Cylinder", | |
1020 | delay, | |
1021 | x3, | |
1022 | y3, | |
1023 | z3, | |
1024 | msh | |
1025 | }) | |
1026 | end | |
1027 | }, | |
1028 | Wave = { | |
1029 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1030 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1031 | prt.Anchored = true | |
1032 | prt.CFrame = cframe | |
1033 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
1034 | game:GetService("Debris"):AddItem(prt, 10) | |
1035 | table.insert(Effects, { | |
1036 | prt, | |
1037 | "Cylinder", | |
1038 | delay, | |
1039 | x3 / 60, | |
1040 | y3 / 60, | |
1041 | z3 / 60, | |
1042 | msh | |
1043 | }) | |
1044 | end | |
1045 | }, | |
1046 | Ring = { | |
1047 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1048 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1049 | prt.Anchored = true | |
1050 | prt.CFrame = cframe | |
1051 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1052 | game:GetService("Debris"):AddItem(prt, 10) | |
1053 | table.insert(Effects, { | |
1054 | prt, | |
1055 | "Cylinder", | |
1056 | delay, | |
1057 | x3, | |
1058 | y3, | |
1059 | z3, | |
1060 | msh | |
1061 | }) | |
1062 | end | |
1063 | }, | |
1064 | Break = { | |
1065 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1066 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1067 | prt.Anchored = true | |
1068 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1069 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1070 | local num = math.random(10, 50) / 1000 | |
1071 | game:GetService("Debris"):AddItem(prt, 10) | |
1072 | table.insert(Effects, { | |
1073 | prt, | |
1074 | "Shatter", | |
1075 | num, | |
1076 | prt.CFrame, | |
1077 | math.random() - math.random(), | |
1078 | 0, | |
1079 | math.random(50, 100) / 100 | |
1080 | }) | |
1081 | end | |
1082 | }, | |
1083 | Spiral = { | |
1084 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1085 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1086 | prt.Anchored = true | |
1087 | prt.CFrame = cframe | |
1088 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1089 | game:GetService("Debris"):AddItem(prt, 10) | |
1090 | table.insert(Effects, { | |
1091 | prt, | |
1092 | "Cylinder", | |
1093 | delay, | |
1094 | x3, | |
1095 | y3, | |
1096 | z3, | |
1097 | msh | |
1098 | }) | |
1099 | end | |
1100 | }, | |
1101 | Push = { | |
1102 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1103 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1104 | prt.Anchored = true | |
1105 | prt.CFrame = cframe | |
1106 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1107 | game:GetService("Debris"):AddItem(prt, 10) | |
1108 | table.insert(Effects, { | |
1109 | prt, | |
1110 | "Cylinder", | |
1111 | delay, | |
1112 | x3, | |
1113 | y3, | |
1114 | z3, | |
1115 | msh | |
1116 | }) | |
1117 | end | |
1118 | } | |
1119 | } | |
1120 | ------------------------------------------------------- | |
1121 | --End Effect Function-- | |
1122 | ------------------------------------------------------- | |
1123 | ||
1124 | function CreateSound(ID, PARENT, VOLUME, PITCH) --Very important. | |
1125 | local NSound = nil | |
1126 | coroutine.resume(coroutine.create(function() | |
1127 | NSound = Instance.new("Sound", PARENT) | |
1128 | NSound.Volume = VOLUME | |
1129 | NSound.Pitch = PITCH | |
1130 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1131 | swait() | |
1132 | NSound:play() | |
1133 | game:GetService("Debris"):AddItem(NSound, 10) | |
1134 | end)) | |
1135 | return NSound | |
1136 | end | |
1137 | ||
1138 | ||
1139 | ||
1140 | ||
1141 | ||
1142 | ------------------------------------------------------- | |
1143 | --End Important Functions-- | |
1144 | ------------------------------------------------------- | |
1145 | ||
1146 | chargeup = Instance.new("Sound", hed) | |
1147 | chargeup.SoundId = "http://www.roblox.com/asset/?id=527276541" | |
1148 | chargeup.Volume = 10 | |
1149 | chargeup.Pitch = 1 | |
1150 | chargeup.Looped = true | |
1151 | chargeup.TimePosition = 1 | |
1152 | ||
1153 | meme = Instance.new("Sound", hed) | |
1154 | meme.SoundId = "http://www.roblox.com/asset/?id=291151190" | |
1155 | meme.Volume = 10 | |
1156 | meme.Pitch = 1 | |
1157 | meme.Looped = true | |
1158 | meme.TimePosition = 1 | |
1159 | ||
1160 | local ohno = Instance.new("Sound") | |
1161 | ohno.Parent = hed | |
1162 | ohno.Volume = 10 | |
1163 | ohno.Pitch = 1 | |
1164 | ohno.Looped = true | |
1165 | ||
1166 | local bass = Instance.new("Sound") --why | |
1167 | bass.Parent = hed | |
1168 | bass.Volume = 7 | |
1169 | bass.Pitch = 1 | |
1170 | bass.SoundId = "http://www.roblox.com/asset/?id=1087356234" | |
1171 | bass.Looped = true | |
1172 | ||
1173 | Cause_Im_having_a_good_time_having_a_good_time = Instance.new("Sound", hed) --DONT STOP ME NOOOOOOOOOWWWWWWWW | |
1174 | Cause_Im_having_a_good_time_having_a_good_time.SoundId = "http://www.roblox.com/asset/?id=672104253" | |
1175 | Cause_Im_having_a_good_time_having_a_good_time.Volume = 10 | |
1176 | Cause_Im_having_a_good_time_having_a_good_time.Pitch = 1 | |
1177 | Cause_Im_having_a_good_time_having_a_good_time.Looped = false | |
1178 | Cause_Im_having_a_good_time_having_a_good_time.TimePosition = 35.3 | |
1179 | ||
1180 | STHAP = Instance.new("Sound", hed) | |
1181 | STHAP.SoundId = "http://www.roblox.com/asset/?id=1591656314" | |
1182 | STHAP.Volume = 10 | |
1183 | STHAP.Pitch = 1 | |
1184 | STHAP.Looped = false | |
1185 | ||
1186 | forevergone = Instance.new("Sound", tors) | |
1187 | forevergone.SoundId = "http://www.roblox.com/asset/?id=1286436928" | |
1188 | forevergone.Volume = 10 | |
1189 | forevergone.Pitch = 1 | |
1190 | forevergone.Looped = true | |
1191 | forevergone.TimePosition = 24 | |
1192 | ||
1193 | ------------------------------------------------------- | |
1194 | --Start Music Option-- | |
1195 | ------------------------------------------------------- | |
1196 | local Music = Instance.new("Sound",tors) | |
1197 | Music.Volume = 2.5 | |
1198 | Music.SoundId = "rbxassetid://" | |
1199 | Music.Looped = true | |
1200 | Music.Pitch = 1 --Pitcher | |
1201 | Music:Play() | |
1202 | ------------------------------------------------------- | |
1203 | --End Music Option-- | |
1204 | ------------------------------------------------------- | |
1205 | --hi fat >:) | |
1206 | ------------------------------------------------------- | |
1207 | --Start Attacks N Stuff-- | |
1208 | ------------------------------------------------------- | |
1209 | local sine=0 | |
1210 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
1211 | local Hitboxpart = Instance.new("Part", EffectModel) | |
1212 | RemoveOutlines(Hitboxpart) | |
1213 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
1214 | Hitboxpart.CanCollide = false | |
1215 | Hitboxpart.Transparency = 1 | |
1216 | Hitboxpart.Anchored = true | |
1217 | Hitboxpart.CFrame = Pose | |
1218 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime) | |
1219 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
1220 | end | |
1221 | function GEtOuT() | |
1222 | attack = true | |
1223 | hum.WalkSpeed = 10 | |
1224 | Character.Head.face.Texture = "rbxassetid://494811799" | |
1225 | CreateSound("814652778", hed, 10, 1) | |
1226 | CreateSound("537371462", hed, 10, 1) | |
1227 | local vel3 = Instance.new("BodyVelocity",tors) | |
1228 | vel3.Velocity = Vector3.new(0,25,0) | |
1229 | vel3.MaxForce = Vector3.new(10000000,10000000,10000000) | |
1230 | for i = 0,12,0.1 do | |
1231 | swait() | |
1232 | CameraEnshaking(1, 2) | |
1233 | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 20, 99, 53, "Knockdown") | |
1234 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.3) | |
1235 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40), Rad(0), Rad(0)), 0.3) | |
1236 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3) | |
1237 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3) | |
1238 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -0.3) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15) | |
1239 | RH.C0 = clerp(RH.C0, CF(1, -1, 0.3) * angles(Rad(0), Rad(90), Rad(-20)), 0.3) | |
1240 | end | |
1241 | vel3:Destroy() | |
1242 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1243 | attack = false | |
1244 | Humanoid.JumpPower = 50 | |
1245 | hum.WalkSpeed = 16 | |
1246 | end | |
1247 | ||
1248 | function GEtOuT2() | |
1249 | attack = true | |
1250 | hum.WalkSpeed = 10 | |
1251 | Humanoid.JumpPower = 0 | |
1252 | Character.Head.face.Texture = "rbxassetid://494811799" | |
1253 | CreateSound("814652778", hed, 10, 1) | |
1254 | CreateSound("537371462", hed, 10, 1) | |
1255 | root.Velocity = root.CFrame.lookVector * 20 | |
1256 | for i = 0,12,0.1 do | |
1257 | swait() | |
1258 | CameraEnshaking(1, 2) | |
1259 | root.Velocity = root.CFrame.lookVector * 50 | |
1260 | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 10, 50, 53, "Knockdown") | |
1261 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0-255.45*i)), 0.3) | |
1262 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40), Rad(0), Rad(0)), 0.3) | |
1263 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3) | |
1264 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3) | |
1265 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -0.3) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15) | |
1266 | RH.C0 = clerp(RH.C0, CF(1, -1, 0.3) * angles(Rad(0), Rad(90), Rad(-20)), 0.3) | |
1267 | end | |
1268 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1269 | attack = false | |
1270 | Humanoid.JumpPower = 50 | |
1271 | hum.WalkSpeed = 16 | |
1272 | end | |
1273 | function Flight() --wowthatsdiffrent | |
1274 | attack = true | |
1275 | Character.Head.face.Texture = "rbxassetid://269748407" | |
1276 | local ColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,0,0)), | |
1277 | ColorSequenceKeypoint.new(0.16, Color3.new(1,1,1)), | |
1278 | ColorSequenceKeypoint.new(0.32, Color3.new(0,0,1)), | |
1279 | ColorSequenceKeypoint.new(0.48, Color3.new(1,1,1)), | |
1280 | ColorSequenceKeypoint.new(0.64, Color3.new(1,0,0)), | |
1281 | ColorSequenceKeypoint.new(0.80, Color3.new(1,1,1)), | |
1282 | ColorSequenceKeypoint.new(0.96, Color3.new(0,0,1)), | |
1283 | ColorSequenceKeypoint.new(1, Color3.new(1,1,1))} | |
1284 | local vel4 = Instance.new("BodyVelocity",ll) | |
1285 | vel4.Velocity = Vector3.new(0,4,0) | |
1286 | vel4.MaxForce = Vector3.new(10000000,10000000,10000000) | |
1287 | local Atch3 = Instance.new("Attachment",ll)Atch3.Position = Vector3.new(0,0.6,0) | |
1288 | local Atch4 = Instance.new("Attachment",ll)Atch4.Position = Vector3.new(0,-0.6,0) | |
1289 | local Trail2 = Instance.new("Trail",ll)Trail2.Attachment0 = Atch3 Trail2.Attachment1 = Atch4 | |
1290 | Trail2.Texture = "rbxassetid://22636887" Trail2.Lifetime = 0.2 Trail2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1291 | Trail2.Color = ColorSequence.new(ColorsArray) Trail2.LightEmission = 1 | |
1292 | Trail2.Enabled = true | |
1293 | local Atch5 = Instance.new("Attachment",rl)Atch5.Position = Vector3.new(0,0.6,0) | |
1294 | local Atch6 = Instance.new("Attachment",rl)Atch6.Position = Vector3.new(0,-0.6,0) | |
1295 | local Trail3 = Instance.new("Trail",rl)Trail3.Attachment0 = Atch5 Trail3.Attachment1 = Atch6 | |
1296 | Trail3.Texture = "rbxassetid://22636887" Trail3.Lifetime = 0.2 Trail3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1297 | Trail3.Color = ColorSequence.new(ColorsArray) Trail3.LightEmission = 1 | |
1298 | Trail3.Enabled = true | |
1299 | local Atch7 = Instance.new("Attachment",ra)Atch7.Position = Vector3.new(0,0.6,0) | |
1300 | local Atch8 = Instance.new("Attachment",ra)Atch8.Position = Vector3.new(0,-0.6,0) | |
1301 | local Trail4 = Instance.new("Trail",ra)Trail4.Attachment0 = Atch7 Trail4.Attachment1 = Atch8 | |
1302 | Trail4.Texture = "rbxassetid://22636887" Trail4.Lifetime = 0.2 Trail4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1303 | Trail4.Color = ColorSequence.new(ColorsArray) Trail4.LightEmission = 1 | |
1304 | Trail4.Enabled = true | |
1305 | local Atch9 = Instance.new("Attachment",la)Atch9.Position = Vector3.new(0,0.6,0) | |
1306 | local Atch10 = Instance.new("Attachment",la)Atch10.Position = Vector3.new(0,-0.6,0) | |
1307 | local Trail5 = Instance.new("Trail",la)Trail5.Attachment0 = Atch9 Trail5.Attachment1 = Atch10 | |
1308 | Trail5.Texture = "rbxassetid://22636887" Trail5.Lifetime = 0.2 Trail5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1309 | Trail5.Color = ColorSequence.new(ColorsArray) Trail5.LightEmission = 1 | |
1310 | Trail5.Enabled = true | |
1311 | local Atch1 = Instance.new("Attachment",Torso)Atch1.Position = Vector3.new(0,2,0) | |
1312 | local Atch2 = Instance.new("Attachment",Torso)Atch2.Position = Vector3.new(0,-2.5,0) | |
1313 | local Trail = Instance.new("Trail",Torso)Trail.Attachment0 = Atch1 Trail.Attachment1 = Atch2 | |
1314 | Trail.Texture = "rbxassetid://22636887" Trail.Lifetime = 0.2 Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1315 | Trail.Color = ColorSequence.new(ColorsArray) Trail.LightEmission = 1 | |
1316 | Trail.Enabled = false | |
1317 | ragdoll(char) | |
1318 | wait(1) | |
1319 | Character.Head.face.Texture = "rbxassetid://249062487" | |
1320 | CreateSound("948494432", hed, 10, 1) | |
1321 | wait(2) | |
1322 | Character.Head.face.Texture = "rbxassetid://269748407" | |
1323 | CreateSound("633394595", hed, 10, 1) | |
1324 | wait(2) | |
1325 | Character.Head.face.Texture = "rbxassetid://494811799" | |
1326 | STHAP:play() | |
1327 | wait(11) | |
1328 | forevergone:play() | |
1329 | end | |
1330 | ||
1331 | function OBJECTION() | |
1332 | attack = true | |
1333 | hum.WalkSpeed = 10 | |
1334 | Character.Head.face.Texture = "rbxassetid://55831869" | |
1335 | CreateSound("330859085", hed, 10, 1) | |
1336 | for i = 0,8,0.1 do | |
1337 | swait() | |
1338 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1339 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1340 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1341 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1342 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1) | |
1343 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1344 | end | |
1345 | attack = false | |
1346 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1347 | hum.WalkSpeed = 16 | |
1348 | end | |
1349 | ||
1350 | function Hello() | |
1351 | attack = true | |
1352 | hum.WalkSpeed = 10 | |
1353 | Character.Head.face.Texture = "rbxassetid://334668738" | |
1354 | CreateSound("855338765", hed, 10, 0.9) | |
1355 | for i = 0,3,0.1 do | |
1356 | swait() | |
1357 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1358 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1359 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1360 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1361 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1362 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-5)), 0.1) | |
1363 | end | |
1364 | attack = false | |
1365 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1366 | hum.WalkSpeed = 16 | |
1367 | end | |
1368 | ||
1369 | function Victory() | |
1370 | attack = true | |
1371 | hum.WalkSpeed = 1.01 | |
1372 | Character.Head.face.Texture = "rbxassetid://616284160" | |
1373 | Humanoid.Jump = true | |
1374 | CreateSound("130834939", hed, 10, 1) | |
1375 | for i = 0,3.7,0.1 do | |
1376 | swait() | |
1377 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1378 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1379 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-40)), 0.15) | |
1380 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-40)), 0.15) | |
1381 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1382 | LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-5)), 0.1) | |
1383 | end | |
1384 | Humanoid.Jump = true | |
1385 | for i = 0,3.7,0.1 do | |
1386 | swait() | |
1387 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1388 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1389 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(40)), 0.15) | |
1390 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(40)), 0.15) | |
1391 | RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-180), Rad(-25), Rad(5)), 0.1) | |
1392 | LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-0)), 0.1) | |
1393 | end | |
1394 | Humanoid.Jump = true | |
1395 | for i = 0,3.7,0.1 do | |
1396 | swait() | |
1397 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1398 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1399 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-40)), 0.15) | |
1400 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-40)), 0.15) | |
1401 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1402 | LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-5)), 0.1) | |
1403 | end | |
1404 | Humanoid.Jump = true | |
1405 | for i = 0,3.7,0.1 do | |
1406 | swait() | |
1407 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1408 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1409 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(40)), 0.15) | |
1410 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(40)), 0.15) | |
1411 | RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-180), Rad(-25), Rad(5)), 0.1) | |
1412 | LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-0)), 0.1) | |
1413 | end | |
1414 | Humanoid.Jump = true | |
1415 | for i = 0,3.7,0.1 do | |
1416 | swait() | |
1417 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1418 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1419 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-40)), 0.15) | |
1420 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-40)), 0.15) | |
1421 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1422 | LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-5)), 0.1) | |
1423 | end | |
1424 | attack = false | |
1425 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1426 | hum.WalkSpeed = 16 | |
1427 | end | |
1428 | ||
1429 | function ShutTheHellUp() | |
1430 | attack = true | |
1431 | hum.WalkSpeed = 2.01 | |
1432 | Character.Head.face.Texture = "rbxassetid://963148419" | |
1433 | CreateSound("336377340", hed, 10, 1) | |
1434 | for i = 0,3,0.1 do | |
1435 | swait() | |
1436 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1437 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1438 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1439 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1440 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1441 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1442 | end | |
1443 | for i = 0,1.2,0.1 do | |
1444 | swait() | |
1445 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1446 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1447 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1448 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1449 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1450 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1451 | end | |
1452 | for i = 0,1.2,0.1 do | |
1453 | swait() | |
1454 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1455 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3) | |
1456 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1457 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1458 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1459 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1460 | end | |
1461 | for i = 0,1.2,0.1 do | |
1462 | swait() | |
1463 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1464 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1465 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1466 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1467 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1468 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1469 | end | |
1470 | for i = 0,1.2,0.1 do | |
1471 | swait() | |
1472 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1473 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3) | |
1474 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1475 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1476 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1477 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1478 | end | |
1479 | for i = 0,2,0.1 do | |
1480 | swait() | |
1481 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1482 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1483 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1484 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1485 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(120), Rad(0), Rad(5)), 0.1) | |
1486 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1487 | end | |
1488 | for i = 0,2,0.1 do | |
1489 | swait() | |
1490 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1491 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1492 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1493 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1494 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1495 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1496 | end | |
1497 | hum.WalkSpeed = 16 | |
1498 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1499 | attack = false | |
1500 | end | |
1501 | ||
1502 | function SpinMeDad() --YOU SPIN ME RIGHT ROUND BABY RIGHT ROUND | |
1503 | attack = true | |
1504 | hum.WalkSpeed = 5 | |
1505 | Humanoid.JumpPower = 175 | |
1506 | Character.Head.face.Texture = "rbxassetid://1223903433" | |
1507 | CreateSound("145799973", hed, 10, 1) | |
1508 | local vel2 = Instance.new("BodyVelocity",tors) | |
1509 | vel2.Velocity = Vector3.new(0,1.2,0) | |
1510 | vel2.MaxForce = Vector3.new(10000000,10000000,10000000) | |
1511 | for i = 0,60,0.1 do | |
1512 | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 20, 53, "Knockdown") | |
1513 | swait() | |
1514 | CameraEnshaking(1, 1) | |
1515 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) | |
1516 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1517 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1518 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1519 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
1520 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1) | |
1521 | end | |
1522 | hum.WalkSpeed = 16 | |
1523 | vel2:Destroy() | |
1524 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1525 | Humanoid.JumpPower = 50 | |
1526 | attack = false | |
1527 | end | |
1528 | ||
1529 | function EndMySufferingV2() --why | |
1530 | attack = true | |
1531 | hum.WalkSpeed = 1.01 | |
1532 | Character.Head.face.Texture = "rbxassetid://202210455" | |
1533 | local A = math.random(1,5) | |
1534 | if A == 1 then | |
1535 | meme.SoundId = "rbxassetid://295810519" | |
1536 | end | |
1537 | if A == 2 then | |
1538 | meme.SoundId = "rbxassetid://1124778077" | |
1539 | end | |
1540 | if A == 3 then | |
1541 | meme.SoundId = "rbxassetid://464157070" | |
1542 | end | |
1543 | if A == 4 then | |
1544 | meme.SoundId = "rbxassetid://146334595" | |
1545 | end | |
1546 | if A == 5 then | |
1547 | meme.SoundId = "rbxassetid://145536915" | |
1548 | end | |
1549 | meme:Play() | |
1550 | bass:Play() | |
1551 | joyemoji.Rate = 70 | |
1552 | LIT.Rate = 70 | |
1553 | ok.Rate = 70 | |
1554 | toast.Rate = 70 | |
1555 | ||
1556 | for i = 0,50,0.1 do | |
1557 | swait() | |
1558 | CameraEnshaking(1, 10) | |
1559 | bass.Parent = hed | |
1560 | meme.Parent = hed | |
1561 | rootj.C0=clerp(rootj.C0,RootCF*CF(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(15),math.rad(-10),math.rad(0)),0.15) | |
1562 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.3) | |
1563 | RH.C0=clerp(RH.C0,CF(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15) | |
1564 | LH.C0=clerp(LH.C0,CF(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-20)),0.15) | |
1565 | RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5+0.1*math.sin(sine/30), -0.6) * angles(math.rad(-0), math.rad(10), math.rad(-110)), 0.1) | |
1566 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-10), math.rad(-105)), 0.1) | |
1567 | end | |
1568 | bass:Stop() | |
1569 | meme:Stop() | |
1570 | joyemoji.Rate = 0 | |
1571 | LIT.Rate = 0 | |
1572 | ok.Rate = 0 | |
1573 | toast.Rate = 0 | |
1574 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1575 | attack = false | |
1576 | hum.WalkSpeed = 16 | |
1577 | end | |
1578 | ||
1579 | function HELP() | |
1580 | attack = true | |
1581 | hum.WalkSpeed = 1.01 | |
1582 | Character.Head.face.Texture = "rbxassetid://307972876" | |
1583 | CreateSound("1123321019", hed, 10, 1) | |
1584 | for i = 0,15,0.1 do | |
1585 | swait() | |
1586 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1587 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1588 | RH.C0 = clerp(RH.C0, CF(0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1589 | LH.C0 = clerp(LH.C0, CF(-0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1590 | RW.C0 = clerp(RW.C0, CF(0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1591 | LW.C0 = clerp(LW.C0, CF(-0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1592 | end | |
1593 | CreateSound("198462271", hed, 10, 1) | |
1594 | for i = 0,8,0.1 do | |
1595 | Character.Head.face.Texture = "rbxassetid://341497730" | |
1596 | swait() | |
1597 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1598 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1599 | RH.C0 = clerp(RH.C0, CF(0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1600 | LH.C0 = clerp(LH.C0, CF(-0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1601 | RW.C0 = clerp(RW.C0, CF(0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1602 | LW.C0 = clerp(LW.C0, CF(-0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1603 | end | |
1604 | for i = 0,8,0.1 do | |
1605 | Character.Head.face.Texture = "rbxassetid://341497730" | |
1606 | swait() | |
1607 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1608 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(60), Rad(0), Rad(0)), 0.3) | |
1609 | RH.C0 = clerp(RH.C0, CF(0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1610 | LH.C0 = clerp(LH.C0, CF(-0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1611 | RW.C0 = clerp(RW.C0, CF(0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1612 | LW.C0 = clerp(LW.C0, CF(-0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1613 | end | |
1614 | CreateSound("948494432", hed, 10, 1) | |
1615 | for i = 0,7.5,0.1 do | |
1616 | Character.Head.face.Texture = "rbxassetid://249062487" | |
1617 | swait() | |
1618 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1619 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(60), Rad(0), Rad(0)), 0.3) | |
1620 | RH.C0 = clerp(RH.C0, CF(0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1621 | LH.C0 = clerp(LH.C0, CF(-0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1622 | RW.C0 = clerp(RW.C0, CF(0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1623 | LW.C0 = clerp(LW.C0, CF(-0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1624 | end | |
1625 | CreateSound("1542642349", hed, 10, 1) | |
1626 | for i = 0,10,0.1 do | |
1627 | Character.Head.face.Texture = "rbxassetid://270636807" | |
1628 | swait() | |
1629 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1630 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1631 | RH.C0 = clerp(RH.C0, CF(0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1632 | LH.C0 = clerp(LH.C0, CF(-0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1633 | RW.C0 = clerp(RW.C0, CF(0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1634 | LW.C0 = clerp(LW.C0, CF(-0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1635 | end | |
1636 | CreateSound("269597232", hed, 10, 1) | |
1637 | for i = 0,6,0.1 do | |
1638 | Character.Head.face.Texture = "rbxassetid://265057155" | |
1639 | swait() | |
1640 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1641 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1642 | RH.C0 = clerp(RH.C0, CF(0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1643 | LH.C0 = clerp(LH.C0, CF(-0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1644 | RW.C0 = clerp(RW.C0, CF(0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1645 | LW.C0 = clerp(LW.C0, CF(-0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1646 | end | |
1647 | attack = false | |
1648 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1649 | hum.WalkSpeed = 16 | |
1650 | end | |
1651 | ||
1652 | function Choose() | |
1653 | attack = true | |
1654 | hum.WalkSpeed = 1.01 | |
1655 | Character.Head.face.Texture = "rbxassetid://374187112" | |
1656 | CreateSound("130784263", hed, 10, 1) | |
1657 | for i = 0,4,0.1 do | |
1658 | swait() | |
1659 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1660 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1661 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1662 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1663 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(110), Rad(0), Rad(0)), 0.1) | |
1664 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(110), Rad(0), Rad(0)), 0.1) | |
1665 | end | |
1666 | for i = 0,5,0.1 do | |
1667 | swait() | |
1668 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1669 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1670 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1671 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1672 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(-10)), 0.1) | |
1673 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(10)), 0.1) | |
1674 | end | |
1675 | attack = false | |
1676 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1677 | hum.WalkSpeed = 16 | |
1678 | end | |
1679 | ||
1680 | function slap() | |
1681 | attack = true | |
1682 | hum.WalkSpeed = 10 | |
1683 | CreateSound("146163534", hed, 10, 1) | |
1684 | Character.Head.face.Texture = "rbxassetid://293603561" | |
1685 | game.Players.LocalPlayer.Character.Humanoid:TakeDamage(7) | |
1686 | CameraEnshaking(1, 2) | |
1687 | for i = 0,4,0.1 do | |
1688 | swait() | |
1689 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1690 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1691 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1692 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1693 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(5)), 0.1) | |
1694 | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115 + 4), Rad(45), Rad(50)), 0.1) | |
1695 | end | |
1696 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1697 | attack = false | |
1698 | hum.WalkSpeed = 16 | |
1699 | end | |
1700 | ||
1701 | function MYSPAGHETTTTTTT() --ow | |
1702 | attack = true | |
1703 | hum.WalkSpeed = 1.01 | |
1704 | CreateSound("1282149571", hed, 10, 1) | |
1705 | Character.Head.face.Texture = "rbxassetid://1329282756" | |
1706 | game.Players.LocalPlayer.Character.Humanoid:TakeDamage(10) | |
1707 | CameraEnshaking(1, 2.2) | |
1708 | for i = 0,4,0.1 do | |
1709 | swait() | |
1710 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1711 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1712 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1713 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1714 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(5)), 0.1) | |
1715 | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115 + 4), Rad(45), Rad(50)), 0.1) | |
1716 | end | |
1717 | for i = 0,5,0.1 do | |
1718 | swait() | |
1719 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1720 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1721 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1722 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1723 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(110), Rad(0), Rad(0)), 0.1) | |
1724 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(110), Rad(0), Rad(0)), 0.1) | |
1725 | end | |
1726 | for i = 0,6,0.1 do | |
1727 | swait() | |
1728 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1729 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1730 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1731 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1732 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(-10)), 0.1) | |
1733 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(10)), 0.1) | |
1734 | end | |
1735 | attack = false | |
1736 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1737 | hum.WalkSpeed = 16 | |
1738 | end | |
1739 | ||
1740 | ||
1741 | function dead() | |
1742 | attack = true | |
1743 | hum.WalkSpeed = 0.20 | |
1744 | CreateSound("137225991", hed, 10, 1) | |
1745 | Character.Head.face.Texture = "rbxassetid://297512410" | |
1746 | for i = 0,1.1,0.1 do | |
1747 | swait() | |
1748 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1749 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
1750 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15) | |
1751 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15) | |
1752 | RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1) | |
1753 | LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1) | |
1754 | end | |
1755 | for i = 0,1.1,0.1 do | |
1756 | swait() | |
1757 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(90), Rad(0)), 0.15) | |
1758 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
1759 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15) | |
1760 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15) | |
1761 | RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1) | |
1762 | LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1) | |
1763 | end | |
1764 | for i = 0,1.1,0.1 do | |
1765 | swait() | |
1766 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(180), Rad(0)), 0.15) | |
1767 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
1768 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15) | |
1769 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15) | |
1770 | RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1) | |
1771 | LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1) | |
1772 | end | |
1773 | for i = 0,1.1,0.1 do | |
1774 | swait() | |
1775 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(270), Rad(0)), 0.15) | |
1776 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
1777 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15) | |
1778 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15) | |
1779 | RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1) | |
1780 | LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1) | |
1781 | end | |
1782 | for i = 0,1.1,0.1 do | |
1783 | swait() | |
1784 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1785 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
1786 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15) | |
1787 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15) | |
1788 | RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1) | |
1789 | LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1) | |
1790 | end | |
1791 | for i = 0,1.1,0.1 do | |
1792 | swait() | |
1793 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(90), Rad(0)), 0.15) | |
1794 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
1795 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15) | |
1796 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15) | |
1797 | RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1) | |
1798 | LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1) | |
1799 | end | |
1800 | for i = 0,1.1,0.1 do | |
1801 | swait() | |
1802 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(180), Rad(0)), 0.15) | |
1803 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
1804 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15) | |
1805 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15) | |
1806 | RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1) | |
1807 | LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1) | |
1808 | end | |
1809 | for i = 0,1.1,0.1 do | |
1810 | swait() | |
1811 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(270), Rad(0)), 0.15) | |
1812 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
1813 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15) | |
1814 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15) | |
1815 | RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1) | |
1816 | LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1) | |
1817 | end | |
1818 | for i = 0,1.1,0.1 do | |
1819 | swait() | |
1820 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1821 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
1822 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15) | |
1823 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15) | |
1824 | RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1) | |
1825 | LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1) | |
1826 | end | |
1827 | Character.Head.face.Texture = "rbxassetid://273309187" | |
1828 | for i = 0,9,0.1 do | |
1829 | swait() | |
1830 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.59 + 0.1) * angles(Rad(-90), Rad(90), Rad(0)), 0.15) | |
1831 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
1832 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1833 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
1834 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(30)), 0.1) | |
1835 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-30)), 0.1) | |
1836 | end | |
1837 | attack = false | |
1838 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1839 | hum.WalkSpeed = 16 | |
1840 | end | |
1841 | ||
1842 | function hap() --much hap | |
1843 | attack = true | |
1844 | hum.WalkSpeed = 0.10 | |
1845 | CreateSound("363808674", hed, 10, 1) | |
1846 | Character.Head.face.Texture = "rbxassetid://315792941" | |
1847 | for i = 0,12,0.1 do | |
1848 | swait() | |
1849 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1850 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(180)), 0.3) | |
1851 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1852 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1853 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1854 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-0)), 0.1) | |
1855 | end | |
1856 | CreateSound("233168827", hed, 10, 1) | |
1857 | Character.Head.face.Texture = "rbxassetid://335761015" | |
1858 | for i = 0,10,0.1 do | |
1859 | swait() | |
1860 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1861 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(180)), 0.3) | |
1862 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1863 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1864 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1865 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-0)), 0.1) | |
1866 | end | |
1867 | CreateSound("363808674", hed, 10, 1) | |
1868 | attack = false | |
1869 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1870 | hum.WalkSpeed = 16 | |
1871 | end | |
1872 | ||
1873 | function HAAAAA() --KONO POWA | |
1874 | attack = true | |
1875 | hum.WalkSpeed = 1.01 | |
1876 | Character.Head.face.Texture = "rbxassetid://305068389" | |
1877 | chargeup.Pitch = 1 | |
1878 | for i = 0,7,0.1 do | |
1879 | swait() | |
1880 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1881 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1882 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1883 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1884 | RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(150), Rad(0), Rad(0)), 0.1) | |
1885 | LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(150), Rad(0), Rad(-0)), 0.1) | |
1886 | end | |
1887 | Character.Head.face.Texture = "rbxassetid://313921371" | |
1888 | chargeup:play() | |
1889 | for i = 0,30,0.1 do | |
1890 | swait() | |
1891 | CameraEnshaking(1, 2) | |
1892 | chargeup.Parent = hed | |
1893 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1894 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3) | |
1895 | RH.C0 = clerp(RH.C0, CF(1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
1896 | LH.C0 = clerp(LH.C0, CF(-1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
1897 | RW.C0 = clerp(RW.C0, CF(1.4, 0.0000000005 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(150), Rad(0), Rad(0)), 0.1) | |
1898 | LW.C0 = clerp(LW.C0, CF(-1.4, 0.0000000005 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(150), Rad(0), Rad(-0)), 0.1) | |
1899 | end | |
1900 | chargeup:stop() | |
1901 | chargeup.Pitch = 1.1 | |
1902 | chargeup.TimePosition = 1 | |
1903 | chargeup:play() | |
1904 | Character.Head.face.Texture = "rbxassetid://304942859" | |
1905 | for i, v in pairs(c:children()) do | |
1906 | if v.ClassName == "Part" then | |
1907 | local tra = trazx:clone() | |
1908 | tra.Parent = v | |
1909 | tra.LightEmission = 1 | |
1910 | tra.Color = ColorSequence.new(Color3.new(0, 0.6666666666666666, 1)) | |
1911 | tra.Rate = 15 | |
1912 | tra.Rotation = NumberRange.new(-5, 5) | |
1913 | tra.Lifetime = NumberRange.new(1.5, 2) | |
1914 | tra.Size = NumberSequence.new({ | |
1915 | NumberSequenceKeypoint.new(0, 0.1, 0), | |
1916 | NumberSequenceKeypoint.new(1, 0, 0) | |
1917 | }) | |
1918 | tra.Transparency = NumberSequence.new({ | |
1919 | NumberSequenceKeypoint.new(0, 1, 0), | |
1920 | NumberSequenceKeypoint.new(0.135, 0, 0), | |
1921 | NumberSequenceKeypoint.new(0.875, 0, 0), | |
1922 | NumberSequenceKeypoint.new(1, 1, 0) | |
1923 | }) | |
1924 | tra.Speed = NumberRange.new(0.5) | |
1925 | tra.VelocitySpread = 360 | |
1926 | tra.VelocityInheritance = 0.5 | |
1927 | tra.ZOffset = 2 | |
1928 | tra.Acceleration = Vector3.new(0, 2.5, 0) | |
1929 | end | |
1930 | end | |
1931 | local tra = trazx:clone() | |
1932 | tra.Parent = c.HumanoidRootPart | |
1933 | tra.Texture = "rbxassetid://347730682" | |
1934 | tra.LightEmission = 0.8 | |
1935 | tra.Color = ColorSequence.new(Color3.new(0, 0.6666666666666666, 1)) | |
1936 | tra.Rate = 250 | |
1937 | tra.Rotation = NumberRange.new(-5, 5) | |
1938 | tra.Lifetime = NumberRange.new(0.75) | |
1939 | tra.Size = NumberSequence.new({ | |
1940 | NumberSequenceKeypoint.new(0, 4.81, 0.875), | |
1941 | NumberSequenceKeypoint.new(1, 2.13, 0.875) | |
1942 | }) | |
1943 | tra.Transparency = NumberSequence.new({ | |
1944 | NumberSequenceKeypoint.new(0, 1, 0), | |
1945 | NumberSequenceKeypoint.new(0.0399, 0.85, 0), | |
1946 | NumberSequenceKeypoint.new(0.394, 0.9, 0), | |
1947 | NumberSequenceKeypoint.new(0.699, 1, 0), | |
1948 | NumberSequenceKeypoint.new(1, 1, 0) | |
1949 | }) | |
1950 | tra.Speed = NumberRange.new(15) | |
1951 | tra.VelocitySpread = 360 | |
1952 | tra.VelocityInheritance = 0.5 | |
1953 | tra.ZOffset = 3.5 | |
1954 | tra.Acceleration = Vector3.new(0, 25, 0) | |
1955 | for i = 0,35,0.1 do | |
1956 | swait() | |
1957 | ohno.Parent = hed | |
1958 | CameraEnshaking(1, 3) | |
1959 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1960 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(60), Rad(0), Rad(0)), 0.3) | |
1961 | RH.C0 = clerp(RH.C0, CF(1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
1962 | LH.C0 = clerp(LH.C0, CF(-1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
1963 | RW.C0 = clerp(RW.C0, CF(1.4, 0.0000000005 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(150), Rad(0), Rad(0)), 0.1) | |
1964 | LW.C0 = clerp(LW.C0, CF(-1.4, 0.0000000005 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(150), Rad(0), Rad(-0)), 0.1) | |
1965 | end | |
1966 | chargeup:stop() | |
1967 | chargeup.Pitch = 1.3 | |
1968 | chargeup.TimePosition = 1 | |
1969 | chargeup:play() | |
1970 | tra:Destroy() | |
1971 | tra:Destroy() | |
1972 | Character.Head.face.Texture = "rbxassetid://280233855" | |
1973 | local tra = trazx:clone() | |
1974 | tra.Parent = c.HumanoidRootPart | |
1975 | tra.Texture = "rbxassetid://347730682" | |
1976 | tra.LightEmission = 0.8 | |
1977 | tra.Color = ColorSequence.new(Color3.new(1, 0, 0)) | |
1978 | tra.Rate = 250 | |
1979 | tra.Rotation = NumberRange.new(-5, 5) | |
1980 | tra.Lifetime = NumberRange.new(0.3) | |
1981 | tra.Size = NumberSequence.new({ | |
1982 | NumberSequenceKeypoint.new(0, 8, 0.875), | |
1983 | NumberSequenceKeypoint.new(1, 10, 0.875) | |
1984 | }) | |
1985 | tra.Transparency = NumberSequence.new({ | |
1986 | NumberSequenceKeypoint.new(0, 1, 0), | |
1987 | NumberSequenceKeypoint.new(0.0399, 0.531, 0), | |
1988 | NumberSequenceKeypoint.new(0.394, 0.906, 0), | |
1989 | NumberSequenceKeypoint.new(0.699, 1, 0), | |
1990 | NumberSequenceKeypoint.new(1, 1, 0) | |
1991 | }) | |
1992 | for i = 0,32,0.1 do | |
1993 | swait() | |
1994 | CameraEnshaking(1, 5) | |
1995 | chargeup.Parent = hed | |
1996 | game.Players.LocalPlayer.Character.Humanoid:TakeDamage(0.12) | |
1997 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1998 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-65), Rad(0), Rad(0)), 0.3) | |
1999 | RH.C0 = clerp(RH.C0, CF(1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2000 | LH.C0 = clerp(LH.C0, CF(-1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2001 | RW.C0 = clerp(RW.C0, CF(1.4, 0.0000000005 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(150), Rad(0), Rad(0)), 0.1) | |
2002 | LW.C0 = clerp(LW.C0, CF(-1.4, 0.0000000005 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(150), Rad(0), Rad(-0)), 0.1) | |
2003 | end | |
2004 | chargeup:stop() | |
2005 | CreateSound("681582832", hed, 10, 1) | |
2006 | game.Players.LocalPlayer.Character:BreakJoints() | |
2007 | local S = Instance.new("Explosion",workspace) | |
2008 | S.Position = tors.Position | |
2009 | S.BlastPressure = 9 | |
2010 | S.BlastRadius = 30 | |
2011 | S.ExplosionType = 0 | |
2012 | attack = false | |
2013 | hum.WalkSpeed = 16 | |
2014 | Character.Head.face.Texture = "rbxassetid://295197013" | |
2015 | tra:Destroy() | |
2016 | CameraEnshaking(4, 30) | |
2017 | error("WARNING, TO MUCH ENERGY.") | |
2018 | end | |
2019 | ||
2020 | function NEN() | |
2021 | attack = true | |
2022 | hum.WalkSpeed = 1.01 | |
2023 | CreateSound("230292011", hed, 10, 1) | |
2024 | Character.Head.face.Texture = "rbxassetid://705269463" | |
2025 | for i = 0,4,0.1 do | |
2026 | swait() | |
2027 | CameraEnshaking(1, 3) | |
2028 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2029 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-90), Rad(0), Rad(0)), 0.3) | |
2030 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2031 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2032 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
2033 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
2034 | end | |
2035 | attack = false | |
2036 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2037 | hum.WalkSpeed = 16 | |
2038 | end | |
2039 | ||
2040 | function FLYSKYHIGH() | |
2041 | attack = true | |
2042 | timetofly = false | |
2043 | hum.WalkSpeed = 0.05 | |
2044 | Character.Head.face.Texture = "rbxassetid://705269463" | |
2045 | Cause_Im_having_a_good_time_having_a_good_time:Play() | |
2046 | Cause_Im_having_a_good_time_having_a_good_time.TimePosition = 35.3 | |
2047 | Humanoid.JumpPower = 0 | |
2048 | for i = 0,300,0.1 do --thatsalongtime | |
2049 | swait() | |
2050 | CameraEnshaking(1, 7) | |
2051 | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 75, 500, 100, "Knockdown") | |
2052 | Cause_Im_having_a_good_time_having_a_good_time.Parent = hed | |
2053 | root.Velocity = root.CFrame.lookVector * 225 | |
2054 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2055 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0-255.45*i), Rad(0), Rad(0)), 0.3) | |
2056 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0-255.45*i)), 0.15) | |
2057 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0-255.45*i)), 0.15) | |
2058 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-75), Rad(0), Rad(0)), 0.1) | |
2059 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-75), Rad(0), Rad(0)), 0.1) | |
2060 | end | |
2061 | Cause_Im_having_a_good_time_having_a_good_time:Stop() | |
2062 | attack = false | |
2063 | Humanoid.JumpPower = 50 | |
2064 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2065 | hum.WalkSpeed = 16 | |
2066 | wait(45) | |
2067 | timetofly = true | |
2068 | warn("You can FLY SKY HIGH Now! Go Nuts!") --please dont go nuts | |
2069 | end | |
2070 | ||
2071 | ||
2072 | function highnoon() | |
2073 | attack = true | |
2074 | hum.WalkSpeed = 1.01 | |
2075 | CreateSound("495316660", hed, 10, 1) | |
2076 | Character.Head.face.Texture = "rbxassetid://155195214" | |
2077 | CameraEnshaking(2, 4) | |
2078 | local Blobby = Instance.new("Part", char) | |
2079 | Blobby.Name = "Blob" | |
2080 | Blobby.CanCollide = false | |
2081 | Blobby.BrickColor = BrickColor.new("Really black") | |
2082 | Blobby.Transparency = 0 | |
2083 | Blobby.Material = "Plastic" | |
2084 | Blobby.Size = Vector3.new(1, 1, 2) | |
2085 | Blobby.TopSurface = Enum.SurfaceType.Smooth | |
2086 | Blobby.BottomSurface = Enum.SurfaceType.Smooth | |
2087 | ||
2088 | local Weld = Instance.new("Weld", Blobby) | |
2089 | Weld.Part0 = ra | |
2090 | Weld.Part1 = Blobby | |
2091 | Weld.C1 = CFrame.new(0, -.4, -1.6) *angles(Rad(180), Rad(0), Rad(180)) | |
2092 | Weld.C0 = CFrame.Angles(math.rad(-90),0,0) | |
2093 | ||
2094 | local M2 = Instance.new("SpecialMesh") | |
2095 | M2.Parent = Blobby | |
2096 | M2.MeshId = "http://www.roblox.com/asset/?id=432256490" | |
2097 | M2.TextureId = "http://www.roblox.com/asset/?id=432256526" | |
2098 | M2.Scale = Vector3.new(.002, .002, .002) | |
2099 | for i = 0,7.75,0.1 do | |
2100 | swait() | |
2101 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
2102 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.2) | |
2103 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2) | |
2104 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2) | |
2105 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-.6), Rad(180)), 0.2) | |
2106 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.2) | |
2107 | end | |
2108 | for i = 0,16.5,0.1 do | |
2109 | swait() | |
2110 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
2111 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.2) | |
2112 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2) | |
2113 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2) | |
2114 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-.6), Rad(90)), 0.2) | |
2115 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.2) | |
2116 | end | |
2117 | Blobby.Transparency = 1 | |
2118 | Blobby:Destroy() | |
2119 | attack = false | |
2120 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2121 | hum.WalkSpeed = 16 | |
2122 | end | |
2123 | ||
2124 | function somuchcancerwhy() --o no | |
2125 | attack = true | |
2126 | hum.WalkSpeed = 0.10 | |
2127 | Character.Head.face.Texture = "rbxassetid://315074049" | |
2128 | local A = math.random(1,13) | |
2129 | if A == 1 then | |
2130 | ohno.SoundId = "rbxassetid://295810519" | |
2131 | ohno.TimePosition = 1 | |
2132 | end | |
2133 | if A == 2 then | |
2134 | ohno.SoundId = "rbxassetid://488472970" | |
2135 | ohno.TimePosition = 2 | |
2136 | end | |
2137 | if A == 3 then | |
2138 | ohno.SoundId = "rbxassetid://917045199" | |
2139 | ohno.TimePosition = 3 | |
2140 | end | |
2141 | if A == 4 then | |
2142 | ohno.SoundId = "rbxassetid://324205173" | |
2143 | ohno.TimePosition = 1 | |
2144 | end | |
2145 | if A == 5 then | |
2146 | ohno.SoundId = "rbxassetid://376134741" | |
2147 | ohno.TimePosition = 8 | |
2148 | end | |
2149 | if A == 6 then | |
2150 | ohno.SoundId = "rbxassetid://164147183" | |
2151 | ohno.TimePosition = 0 | |
2152 | end | |
2153 | if A == 7 then | |
2154 | ohno.SoundId = "rbxassetid://825526716" | |
2155 | ohno.TimePosition = 1 | |
2156 | end | |
2157 | if A == 8 then | |
2158 | ohno.SoundId = "rbxassetid://185460366" | |
2159 | ohno.TimePosition = 0 | |
2160 | end | |
2161 | if A == 9 then | |
2162 | ohno.SoundId = "rbxassetid://273319633" | |
2163 | ohno.TimePosition = 1 | |
2164 | end | |
2165 | if A == 10 then | |
2166 | ohno.SoundId = "rbxassetid://506212392" | |
2167 | ohno.TimePosition = 2 | |
2168 | end | |
2169 | if A == 11 then | |
2170 | ohno.SoundId = "rbxassetid://708297448" | |
2171 | ohno.TimePosition = 4 | |
2172 | end | |
2173 | if A == 12 then | |
2174 | ohno.SoundId = "rbxassetid://497199103" | |
2175 | ohno.TimePosition = 9 | |
2176 | end | |
2177 | if A == 13 then | |
2178 | ohno.SoundId = "rbxassetid://152833989" | |
2179 | ohno.TimePosition = 1 | |
2180 | end | |
2181 | ohno:Play() | |
2182 | for i = 0,100,0.1 do | |
2183 | swait() | |
2184 | CameraEnshaking(2, 3) | |
2185 | ohno.Parent = hed | |
2186 | char.Torso.Neck.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
2187 | end | |
2188 | attack = false | |
2189 | ohno:Stop() | |
2190 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2191 | hum.WalkSpeed = 16 | |
2192 | end | |
2193 | ||
2194 | function WRY() --WRYYYYYYY | |
2195 | attack = true | |
2196 | hum.WalkSpeed = 0.30 | |
2197 | CreateSound("794081034", hed, 10, 1) | |
2198 | Character.Head.face.Texture = "rbxassetid://396389196" | |
2199 | for i = 0,2,0.1 do | |
2200 | swait() | |
2201 | CameraEnshaking(1, 2) | |
2202 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2203 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.3) | |
2204 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2205 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2206 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(140), Rad(60)), 0.1) | |
2207 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-140), Rad(-60)), 0.1) | |
2208 | end | |
2209 | for i = 0,14.7,0.1 do | |
2210 | swait() | |
2211 | CameraEnshaking(1, 3) | |
2212 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 1, -1 + 0.1) * angles(Rad(-75), Rad(0), Rad(0)), 0.15) | |
2213 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(65), Rad(0), Rad(0)), 0.3) | |
2214 | RH.C0 = clerp(RH.C0, CF(1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-70)), 0.15) | |
2215 | LH.C0 = clerp(LH.C0, CF(-1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(70)), 0.15) | |
2216 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(40)), 0.1) | |
2217 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(-0), Rad(-40)), 0.1) | |
2218 | end | |
2219 | attack = false | |
2220 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2221 | hum.WalkSpeed = 16 | |
2222 | end | |
2223 | ||
2224 | function BOI() | |
2225 | attack = true | |
2226 | hum.WalkSpeed = 1.01 | |
2227 | CreateSound("390901873", hed, 10, 1) | |
2228 | Character.Head.face.Texture = "rbxassetid://282463320" | |
2229 | for i = 0,4,0.1 do | |
2230 | swait() | |
2231 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2232 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2233 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2234 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2235 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(50), Rad(90)), 0.1) | |
2236 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-50), Rad(-90)), 0.1) | |
2237 | end | |
2238 | for i = 0,4,0.1 do | |
2239 | swait() | |
2240 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2241 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.3) | |
2242 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2243 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2244 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(140), Rad(60)), 0.1) | |
2245 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-140), Rad(-60)), 0.1) | |
2246 | end | |
2247 | attack = false | |
2248 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2249 | hum.WalkSpeed = 16 | |
2250 | end | |
2251 | ||
2252 | function WhatHuh() | |
2253 | attack = true | |
2254 | hum.WalkSpeed = 1.01 | |
2255 | CreateSound("130766865", hed, 10, 1) | |
2256 | Character.Head.face.Texture = "rbxassetid://276732672" | |
2257 | for i = 0,4,0.1 do | |
2258 | swait() | |
2259 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2260 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(26), Rad(0)), 0.3) | |
2261 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2262 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2263 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
2264 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
2265 | end | |
2266 | for i = 0,6.7,0.1 do | |
2267 | swait() | |
2268 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2269 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(-26), Rad(0)), 0.3) | |
2270 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2271 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2272 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
2273 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
2274 | end | |
2275 | for i = 0,8.1,0.1 do | |
2276 | swait() | |
2277 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2278 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(26), Rad(0)), 0.3) | |
2279 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2280 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2281 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
2282 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
2283 | end | |
2284 | for i = 0,1,0.1 do | |
2285 | swait() | |
2286 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2287 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(40), Rad(-26), Rad(0)), 0.3) | |
2288 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2289 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2290 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
2291 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
2292 | end | |
2293 | for i = 0,1,0.1 do | |
2294 | swait() | |
2295 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2296 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(40), Rad(26), Rad(0)), 0.3) | |
2297 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2298 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2299 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
2300 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
2301 | end | |
2302 | for i = 0,4,0.1 do | |
2303 | swait() | |
2304 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2305 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(-26), Rad(0)), 0.3) | |
2306 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2307 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2308 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
2309 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
2310 | end | |
2311 | attack = false | |
2312 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2313 | hum.WalkSpeed = 16 | |
2314 | end | |
2315 | ||
2316 | function NothingPersonal() | |
2317 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
2318 | local HITBODY = mouse.Target.Parent | |
2319 | local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso") | |
2320 | local HEAD = HITBODY:FindFirstChild("Head") | |
2321 | local HUMAN = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
2322 | if TORS ~= nil and HUMAN ~= nil then | |
2323 | attack = true | |
2324 | root.CFrame = TORS.CFrame * CFrame.new(-1,0,3) | |
2325 | TORS.Anchored = true | |
2326 | hum.WalkSpeed = 0 | |
2327 | Character.Head.face.Texture = "rbxassetid://40770311" | |
2328 | CreateSound("1255922819", hed, 10, 1) | |
2329 | CameraEnshaking(2, 4) | |
2330 | end | |
2331 | wait(3.5) | |
2332 | for i = 0,9,0.1 do | |
2333 | swait() | |
2334 | for i = 1,2 do | |
2335 | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 1, 10, 53, "Knockdown") | |
2336 | CameraEnshaking(1, 7) | |
2337 | Effects.Sphere.Create(BrickColor.new("Persimmon"), TORS.CFrame*CFrame.new(math.random(-200,200)/100,math.random(-300,200)/100,math.random(-100,100)/100), 1, 1, 1, 15, 15, 15, 0.2) | |
2338 | end | |
2339 | end | |
2340 | wait(.5) | |
2341 | TORS.Anchored = false | |
2342 | attack = false | |
2343 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2344 | hum.WalkSpeed = 16 | |
2345 | end | |
2346 | end | |
2347 | ||
2348 | function VeryMuchWorrying() | |
2349 | attack = true | |
2350 | hum.WalkSpeed = 1.01 | |
2351 | Character.Head.face.Texture = "rbxassetid://111523405" | |
2352 | CreateSound("1395854043", hed, 10, 1) | |
2353 | for i = 0,14,0.1 do | |
2354 | swait() | |
2355 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2356 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2357 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2358 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2359 | RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-145)), 0.1) | |
2360 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(145)), 0.1) | |
2361 | end | |
2362 | attack = false | |
2363 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2364 | hum.WalkSpeed = 16 | |
2365 | end | |
2366 | ||
2367 | function Ashes() --Straight from... Whatever it was called. | |
2368 | attack = true | |
2369 | hum.WalkSpeed = 1.01 | |
2370 | Character.Head.face.Texture = "rbxassetid://360687027" | |
2371 | CreateSound("290084602", tors, 10, 1) | |
2372 | for i = 0,6.2,0.1 do | |
2373 | swait() | |
2374 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2375 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30), Rad(0), Rad(0)), 0.3) | |
2376 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
2377 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
2378 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(145)), 0.1) | |
2379 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(-145)), 0.1) | |
2380 | end | |
2381 | for i = 0,6.2,0.1 do | |
2382 | swait() | |
2383 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
2384 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2385 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15) | |
2386 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15) | |
2387 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(15)), 0.1) | |
2388 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-15)), 0.1) | |
2389 | end | |
2390 | attack = false | |
2391 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2392 | hum.WalkSpeed = 16 | |
2393 | end | |
2394 | ||
2395 | function AnotherOne() --WhAT ANOTHER ONE | |
2396 | attack = true | |
2397 | hum.WalkSpeed = 1.01 | |
2398 | local icri = CreateSound("1205111204", hed, 10, 1) | |
2399 | swait(165) | |
2400 | local FRAME = tors.CFrame | |
2401 | repeat | |
2402 | swait() | |
2403 | Character.Head.face.Texture = "rbxassetid://582931093" | |
2404 | CameraEnshaking(1, 10) | |
2405 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2406 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2407 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2408 | RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
2409 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1) | |
2410 | tors.CFrame = FRAME * CF(0,1,0) | |
2411 | swait() | |
2412 | tors.CFrame = FRAME | |
2413 | until icri.Playing == false | |
2414 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2415 | attack = false | |
2416 | hum.WalkSpeed = 16 | |
2417 | end | |
2418 | ||
2419 | function Dance() | |
2420 | attack = true | |
2421 | hum.WalkSpeed = 1.01 | |
2422 | CreateSound("838766490", hed, 10, 1) | |
2423 | Character.Head.face.Texture = "rbxassetid://258591579" | |
2424 | for i = 0,2,0.1 do | |
2425 | swait() | |
2426 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2427 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2428 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2429 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2430 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(180)), 0.1) | |
2431 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-180)), 0.1) | |
2432 | end | |
2433 | for i = 0,4,0.1 do | |
2434 | swait() | |
2435 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2436 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2437 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15) | |
2438 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15) | |
2439 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(0), Rad(180)), 0.1) | |
2440 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(-0), Rad(-180)), 0.1) | |
2441 | end | |
2442 | for i = 0,4,0.1 do | |
2443 | swait() | |
2444 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2445 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2446 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15) | |
2447 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15) | |
2448 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(180)), 0.1) | |
2449 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(-0), Rad(-180)), 0.1) | |
2450 | end | |
2451 | for i = 0,4,0.1 do | |
2452 | swait() | |
2453 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2454 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2455 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15) | |
2456 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15) | |
2457 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(0), Rad(180)), 0.1) | |
2458 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(-0), Rad(-180)), 0.1) | |
2459 | end | |
2460 | for i = 0,4,0.1 do | |
2461 | swait() | |
2462 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2463 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2464 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15) | |
2465 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15) | |
2466 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(180)), 0.1) | |
2467 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(-0), Rad(-180)), 0.1) | |
2468 | end | |
2469 | for i = 0,4,0.1 do | |
2470 | swait() | |
2471 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2472 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2473 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15) | |
2474 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15) | |
2475 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(0), Rad(180)), 0.1) | |
2476 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(-0), Rad(-180)), 0.1) | |
2477 | end | |
2478 | for i = 0,4,0.1 do | |
2479 | swait() | |
2480 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2481 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2482 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15) | |
2483 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15) | |
2484 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(180)), 0.1) | |
2485 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(-0), Rad(-180)), 0.1) | |
2486 | end | |
2487 | for i = 0,4,0.1 do | |
2488 | swait() | |
2489 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2490 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2491 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15) | |
2492 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15) | |
2493 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(0), Rad(180)), 0.1) | |
2494 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(-0), Rad(-180)), 0.1) | |
2495 | end | |
2496 | for i = 0,4,0.1 do | |
2497 | swait() | |
2498 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2499 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2500 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15) | |
2501 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15) | |
2502 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(180)), 0.1) | |
2503 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(-0), Rad(-180)), 0.1) | |
2504 | end | |
2505 | for i = 0,4,0.1 do | |
2506 | swait() | |
2507 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2508 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2509 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15) | |
2510 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15) | |
2511 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(0), Rad(180)), 0.1) | |
2512 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(-0), Rad(-180)), 0.1) | |
2513 | end | |
2514 | for i = 0,4,0.1 do | |
2515 | swait() | |
2516 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2517 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2518 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15) | |
2519 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15) | |
2520 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(180)), 0.1) | |
2521 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(-0), Rad(-180)), 0.1) | |
2522 | end | |
2523 | for i = 0,4,0.1 do | |
2524 | swait() | |
2525 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2526 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2527 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15) | |
2528 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15) | |
2529 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(0), Rad(180)), 0.1) | |
2530 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(-0), Rad(-180)), 0.1) | |
2531 | end | |
2532 | for i = 0,4,0.1 do | |
2533 | swait() | |
2534 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2535 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2536 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15) | |
2537 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15) | |
2538 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(180)), 0.1) | |
2539 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(-0), Rad(-180)), 0.1) | |
2540 | end | |
2541 | for i = 0,4,0.1 do | |
2542 | swait() | |
2543 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2544 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2545 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15) | |
2546 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15) | |
2547 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(0), Rad(180)), 0.1) | |
2548 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(-0), Rad(-180)), 0.1) | |
2549 | end | |
2550 | for i = 0,4,0.1 do | |
2551 | swait() | |
2552 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2553 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2554 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15) | |
2555 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15) | |
2556 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(180)), 0.1) | |
2557 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(-0), Rad(-180)), 0.1) | |
2558 | end | |
2559 | for i = 0,3,0.1 do | |
2560 | swait() | |
2561 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2562 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2563 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15) | |
2564 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15) | |
2565 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(0), Rad(180)), 0.1) | |
2566 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(-0), Rad(-180)), 0.1) | |
2567 | end | |
2568 | attack = false | |
2569 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2570 | hum.WalkSpeed = 16 | |
2571 | end | |
2572 | ||
2573 | function kyu_will_break_your_neck_asdf_longest_function_name_ever_xd() | |
2574 | attack = true | |
2575 | Character.Head.face.Texture = "rbxassetid://266304560" | |
2576 | for i = 0,6,0.1 do | |
2577 | swait() | |
2578 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2579 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2580 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2581 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2582 | RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.2 * Cos(sine / 20)) * angles(Rad(170), Rad(0), Rad(-15)), 0.1) | |
2583 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(15)), 0.1) | |
2584 | end | |
2585 | CreateSound("1093102664", hed, 10, 1) | |
2586 | CameraEnshaking(3, 8) | |
2587 | for i = 0,2,0.1 do | |
2588 | swait() | |
2589 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(5), Rad(0), Rad(0)), 0.15) | |
2590 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(40), Rad(0)), 0.4) | |
2591 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2592 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2593 | RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.2 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-40)), 0.4) | |
2594 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(40)), 0.4) | |
2595 | end | |
2596 | Character.Head.face.Texture = "rbxassetid://30128383" | |
2597 | hum.MaxHealth = 0 | |
2598 | ragdoll(char) | |
2599 | CreateSound("534269232", hed, 5, 1) | |
2600 | error("Seems like you just died.") | |
2601 | end | |
2602 | ||
2603 | MoreTaunts = false | |
2604 | mouse.KeyDown:connect(function(key) | |
2605 | if attack == false then | |
2606 | if MoreTaunts == false then | |
2607 | if key == 'q' then | |
2608 | GEtOuT() | |
2609 | elseif key == 'e' then | |
2610 | GEtOuT2() | |
2611 | elseif key == 'x' then | |
2612 | OBJECTION() | |
2613 | elseif key == 'n' then | |
2614 | BOI() | |
2615 | elseif key == 'u' then | |
2616 | Victory() | |
2617 | elseif key == '3' then | |
2618 | hap() | |
2619 | elseif key == '6' then | |
2620 | Flight() | |
2621 | elseif key == '9' and timetofly then | |
2622 | FLYSKYHIGH() | |
2623 | elseif key == '9' then | |
2624 | local A = math.random(1,10) | |
2625 | if A == 1 then | |
2626 | warn ("This has a Cooldown, Please wait. :>") | |
2627 | end | |
2628 | if A == 2 then | |
2629 | warn ("You can't Fly All day, you know.") | |
2630 | end | |
2631 | if A == 3 then | |
2632 | warn ("Calm down there.") | |
2633 | end | |
2634 | if A == 4 then | |
2635 | warn ("Take a Break.") | |
2636 | end | |
2637 | if A == 5 then | |
2638 | warn ("*Elevator Music plays in the backround*") | |
2639 | end | |
2640 | if A == 6 then | |
2641 | warn ("I know, You want to FLY SKY HIGH, but wait a little bit.") | |
2642 | end | |
2643 | if A == 7 then | |
2644 | warn ("Can you wait a LITTLE Longer?") | |
2645 | end | |
2646 | if A == 8 then | |
2647 | warn ("Like a tiger defying the laws of gravity...") | |
2648 | end | |
2649 | if A == 9 then | |
2650 | warn ("DON'T STOP ME NNNNNOOOOOOOOWWWW") | |
2651 | end | |
2652 | if A == 10 then | |
2653 | warn ("Oh, I'm burnin' through the sky, Yeah!") | |
2654 | end | |
2655 | elseif key == 'k' then | |
2656 | Hello() | |
2657 | elseif key == '5' then | |
2658 | HAAAAA() | |
2659 | elseif key == '4' then | |
2660 | Dance() | |
2661 | elseif key == '1' then | |
2662 | HELP() | |
2663 | elseif key == '2' then | |
2664 | dead() | |
2665 | elseif key == 'j' then | |
2666 | WhatHuh() | |
2667 | elseif key == 'l' then | |
2668 | ShutTheHellUp() | |
2669 | elseif key == 'c' then | |
2670 | Choose() | |
2671 | elseif key == 'r' then | |
2672 | MYSPAGHETTTTTTT() | |
2673 | elseif key == 't' then | |
2674 | SpinMeDad() | |
2675 | elseif key == 'y' then | |
2676 | EndMySufferingV2() | |
2677 | elseif key == 'f' then | |
2678 | NEN() | |
2679 | elseif key == 'z' then | |
2680 | NothingPersonal() | |
2681 | elseif key == '7' then | |
2682 | somuchcancerwhy() | |
2683 | elseif key == '8' then | |
2684 | highnoon() | |
2685 | elseif key == 'v' then | |
2686 | VeryMuchWorrying() | |
2687 | elseif key == 'b' then | |
2688 | Ashes() | |
2689 | elseif key == 'p' then | |
2690 | kyu_will_break_your_neck_asdf_longest_function_name_ever_xd() | |
2691 | elseif key == 'g' then | |
2692 | AnotherOne() | |
2693 | elseif key == 'h' then | |
2694 | slap() | |
2695 | elseif key == 'm' then | |
2696 | WRY() | |
2697 | end | |
2698 | end | |
2699 | end | |
2700 | end) | |
2701 | ||
2702 | ------------------------------------------------------- | |
2703 | --End Attacks N Stuff-- | |
2704 | ------------------------------------------------------- | |
2705 | ||
2706 | ||
2707 | ||
2708 | ||
2709 | while jumping do | |
2710 | Humanoid.Jump = true | |
2711 | wait(0.9) | |
2712 | end | |
2713 | ||
2714 | ||
2715 | ||
2716 | ||
2717 | ------------------------------------------------------- | |
2718 | --Start Animations-- | |
2719 | ------------------------------------------------------- | |
2720 | local equipped = false | |
2721 | local idle = 0 | |
2722 | local change = 1 | |
2723 | local val = 0 | |
2724 | local toim = 0 | |
2725 | local idleanim = 0.4 | |
2726 | hum.Animator.Parent = nil | |
2727 | while true do | |
2728 | swait() | |
2729 | sine = sine + change | |
2730 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2731 | local velderp = root.Velocity.y | |
2732 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char) | |
2733 | if equipped == true or equipped == false then | |
2734 | if attack == false then | |
2735 | idle = idle + 1 | |
2736 | else | |
2737 | idle = 0 | |
2738 | end | |
2739 | if 1 < root.Velocity.y and hitfloor == nil then | |
2740 | Anim = "Jump" | |
2741 | if attack == false then | |
2742 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.3) | |
2743 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40), Rad(0), Rad(0)), 0.3) | |
2744 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3) | |
2745 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3) | |
2746 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -0.3) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15) | |
2747 | RH.C0 = clerp(RH.C0, CF(1, -1, 0.3) * angles(Rad(0), Rad(90), Rad(-20)), 0.3) | |
2748 | end | |
2749 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
2750 | Anim = "Fall" | |
2751 | if attack == false then | |
2752 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(0)), 0.3) | |
2753 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(40), Rad(0), Rad(0)), 0.3) | |
2754 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3) | |
2755 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3) | |
2756 | LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
2757 | RH.C0=clerp(RH.C0, CF(1,-.3-0.1 * Cos(sine / 20), -.6) * angles(Rad(0), Rad(90), Rad(-20)), .3) | |
2758 | end | |
2759 | elseif torvel < 1 and hitfloor ~= nil then | |
2760 | Anim = "Idle" | |
2761 | change = 1 | |
2762 | if attack == false then | |
2763 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2764 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2765 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2766 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2767 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1) | |
2768 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1) | |
2769 | end | |
2770 | elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then | |
2771 | Anim = "Walk" | |
2772 | change = 1 | |
2773 | if attack == false then | |
2774 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(9-2.5 * Cos(sine / 3.5)), Rad(0), Rad(10 * Cos(sine / 7))), 0.15) | |
2775 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2776 | RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
2777 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
2778 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(70) * Cos(sine / 7) , Rad(0), Rad(5)), 0.1) | |
2779 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70) * Cos(sine / 7) , Rad(0), Rad(-5)), 0.1) | |
2780 | end | |
2781 | end | |
2782 | end | |
2783 | if 0 < #Effects then | |
2784 | for e = 1, #Effects do | |
2785 | if Effects[e] ~= nil then | |
2786 | local Thing = Effects[e] | |
2787 | if Thing ~= nil then | |
2788 | local Part = Thing[1] | |
2789 | local Mode = Thing[2] | |
2790 | local Delay = Thing[3] | |
2791 | local IncX = Thing[4] | |
2792 | local IncY = Thing[5] | |
2793 | local IncZ = Thing[6] | |
2794 | if 1 >= Thing[1].Transparency then | |
2795 | if Thing[2] == "Block1" then | |
2796 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2797 | local Mesh = Thing[1].Mesh | |
2798 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2799 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2800 | elseif Thing[2] == "Block2" then | |
2801 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
2802 | local Mesh = Thing[7] | |
2803 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2804 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2805 | elseif Thing[2] == "Block3" then | |
2806 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
2807 | local Mesh = Thing[7] | |
2808 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2809 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2810 | elseif Thing[2] == "Cylinder" then | |
2811 | local Mesh = Thing[1].Mesh | |
2812 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2813 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2814 | elseif Thing[2] == "Blood" then | |
2815 | local Mesh = Thing[7] | |
2816 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
2817 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2818 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2819 | elseif Thing[2] == "Elec" then | |
2820 | local Mesh = Thing[1].Mesh | |
2821 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2822 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2823 | elseif Thing[2] == "Disappear" then | |
2824 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2825 | elseif Thing[2] == "Shatter" then | |
2826 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2827 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2828 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2829 | Thing[6] = Thing[6] + Thing[5] | |
2830 | end | |
2831 | else | |
2832 | Part.Parent = nil | |
2833 | table.remove(Effects, e) | |
2834 | end | |
2835 | end | |
2836 | end | |
2837 | end | |
2838 | end | |
2839 | end | |
2840 | ------------------------------------------------------- | |
2841 | --End Animations And Script-- | |
2842 | ------------------------------------------------------- | |
2843 | ||
2844 | --cool beans boibiparti |