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