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