SHOW:
|
|
- or go back to the newest paste.
1 | -->Made By XDavodioX<-- | |
2 | ||
3 | --:Notive_Memer:-- | |
4 | ||
5 | --//No leak\\-- | |
6 | ||
7 | ||
8 | ||
9 | warn([[ | |
10 | all of the commands of my script | |
11 | l - victory if t-pose eat chips | |
12 | k - kill urself but if t-pose drink soda | |
13 | j- what huh and if t-pose laugh | |
14 | h- MEEM and if t-pose AAAAAAAAAAAAAAAA | |
15 | g- that was fun | |
16 | f- Xd | |
17 | r- AAH oh my god aah | |
18 | t- squat | |
19 | y- laugh and if t-pose think | |
20 | u- ooh boi and if t-pose is chew 5 gum | |
21 | i- fbi open up | |
22 | o- no u | |
23 | p - bug | |
24 | v- game over | |
25 | c- REEE and if tpose then change music | |
26 | x- dude shut up and if tpose then waiting | |
27 | z- dab | |
28 | e- wtf | |
29 | q- ur screwed | |
30 | m- to stop squat,think,waiting,wtf instantly | |
31 | ||
32 | in total= lx2 kx2 jx2 hx2 gx1 fx1 rx1 tx1 yx1 ux2 ix1 ox1 px1 vx1 cx2 xx2 zx1 qx1 | |
33 | ]]) | |
34 | ||
35 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
36 | local Player,game,owner = owner,game | |
37 | local RealPlayer = Player | |
38 | do | |
39 | warn("Notive_Memeboi Made by XDavodioX") | |
40 | local rp = RealPlayer | |
41 | script.Parent = rp.Character | |
42 | ||
43 | --RemoteEvent for communicating | |
44 | local Event = Instance.new("RemoteEvent") | |
45 | Event.Name = "UserInput_Event" | |
46 | ||
47 | --Fake event to make stuff like Mouse.KeyDown work | |
48 | local function fakeEvent() | |
49 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
50 | t.connect = t.Connect | |
51 | return t | |
52 | end | |
53 | ||
54 | --Creating fake input objects with fake variables | |
55 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
56 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
57 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
58 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
59 | end} | |
60 | --Merged 2 functions into one by checking amount of arguments | |
61 | CAS.UnbindAction = CAS.BindAction | |
62 | ||
63 | --This function will trigger the events that have been :Connect()'ed | |
64 | local function te(self,ev,...) | |
65 | local t = m[ev] | |
66 | if t and t._fakeEvent then | |
67 | for _,f in pairs(t.Functions) do | |
68 | f(...) | |
69 | end | |
70 | end | |
71 | end | |
72 | m.TrigEvent = te | |
73 | UIS.TrigEvent = te | |
74 | ||
75 | Event.OnServerEvent:Connect(function(plr,io) | |
76 | if plr~=rp then return end | |
77 | m.Target = io.Target | |
78 | m.Hit = io.Hit | |
79 | if not io.isMouse then | |
80 | local b = io.UserInputState == Enum.UserInputState.Begin | |
81 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
82 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
83 | end | |
84 | for _,t in pairs(CAS.Actions) do | |
85 | for _,k in pairs(t.Keys) do | |
86 | if k==io.KeyCode then | |
87 | t.Function(t.Name,io.UserInputState,io) | |
88 | end | |
89 | end | |
90 | end | |
91 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
92 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
93 | end | |
94 | end) | |
95 | Event.Parent = NLS([==[ | |
96 | local Player = game:GetService("Players").LocalPlayer | |
97 | local Event = script:WaitForChild("UserInput_Event") | |
98 | ||
99 | local Mouse = Player:GetMouse() | |
100 | local UIS = game:GetService("UserInputService") | |
101 | local input = function(io,a) | |
102 | if a then return end | |
103 | --Since InputObject is a client-side instance, we create and pass table instead | |
104 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
105 | end | |
106 | UIS.InputBegan:Connect(input) | |
107 | UIS.InputEnded:Connect(input) | |
108 | ||
109 | local h,t | |
110 | --Give the server mouse data 30 times every second, but only if the values changed | |
111 | --If player is not moving their mouse, client won't fire events | |
112 | while wait(1/30) do | |
113 | if h~=Mouse.Hit or t~=Mouse.Target then | |
114 | h,t=Mouse.Hit,Mouse.Target | |
115 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
116 | end | |
117 | end]==],Player.Character) | |
118 | ||
119 | ----Sandboxed game object that allows the usage of client-side methods and services | |
120 | --Real game object | |
121 | local _rg = game | |
122 | ||
123 | --Metatable for fake service | |
124 | local fsmt = { | |
125 | __index = function(self,k) | |
126 | local s = rawget(self,"_RealService") | |
127 | if s then return s[k] end | |
128 | end, | |
129 | __newindex = function(self,k,v) | |
130 | local s = rawget(self,"_RealService") | |
131 | if s then s[k]=v end | |
132 | end, | |
133 | __call = function(self,...) | |
134 | local s = rawget(self,"_RealService") | |
135 | if s then return s(...) end | |
136 | end | |
137 | } | |
138 | local function FakeService(t,RealService) | |
139 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
140 | return setmetatable(t,fsmt) | |
141 | end | |
142 | ||
143 | --Fake game object | |
144 | local g = { | |
145 | GetService = function(self,s) | |
146 | return self[s] | |
147 | end, | |
148 | Players = FakeService({ | |
149 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
150 | },"Players"), | |
151 | UserInputService = FakeService(UIS,"UserInputService"), | |
152 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
153 | } | |
154 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
155 | g.service = g.GetService | |
156 | ||
157 | g.RunService = FakeService({ | |
158 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
159 | BindToRenderStep = function(self,name,_,fun) | |
160 | ||
161 | end, | |
162 | UnbindFromRenderStep = function(self,name) | |
163 | self._btrs[name]:Disconnect() | |
164 | end, | |
165 | },"RunService") | |
166 | ||
167 | setmetatable(g,{ | |
168 | __index=function(self,s) | |
169 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
170 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
171 | end, | |
172 | __newindex = fsmt.__newindex, | |
173 | __call = fsmt.__call | |
174 | }) | |
175 | --Changing owner to fake player object to support owner:GetMouse() | |
176 | game,owner = g,g.Players.LocalPlayer | |
177 | end | |
178 | print("Good sir do not leak this.") | |
179 | print("Don't u dare report the audio.") | |
180 | ||
181 | local cansilence = true | |
182 | ||
183 | function SHUTUPXDD() | |
184 | if cansilence then | |
185 | cansilence = false | |
186 | local function search(instance) | |
187 | for i,v in pairs(instance:GetChildren()) do | |
188 | search(v) | |
189 | if v.ClassName == "Sound" then | |
190 | if v.Parent ~= game.Players.LocalPlayer.Character then | |
191 | v.Volume = 0 | |
192 | end | |
193 | end | |
194 | end | |
195 | end | |
196 | search(workspace) | |
197 | wait(3) | |
198 | cansilence = false | |
199 | end | |
200 | end | |
201 | ||
202 | game:GetService("RunService").RenderStepped:connect(SHUTUPXDD) | |
203 | ||
204 | Player_Size = 1 --Size of the player. | |
205 | ||
206 | wait() | |
207 | local Player = owner | |
208 | local Character = Player.Character | |
209 | local plr = owner | |
210 | local Humanoid = Character.Humanoid | |
211 | local char = plr.Character | |
212 | local hum = char.Humanoid | |
213 | local ra = char["Right Arm"] | |
214 | local la= char["Left Arm"] | |
215 | local rl= char["Right Leg"] | |
216 | local ll = char["Left Leg"] | |
217 | local hed = char.Head | |
218 | local root = char.HumanoidRootPart | |
219 | local rootj = root.RootJoint | |
220 | local tors = char.Torso | |
221 | local LeftArm = Character["Left Arm"] | |
222 | local RightArm = Character["Right Arm"] | |
223 | local LeftLeg = Character["Left Leg"] | |
224 | local RightLeg = Character["Right Leg"] | |
225 | local Head = Character.Head | |
226 | local Torso = Character.Torso | |
227 | local mouse = plr:GetMouse() | |
228 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
229 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
230 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
231 | local cam = game.Workspace.CurrentCamera | |
232 | trazx = Instance.new("ParticleEmitter") | |
233 | c = game.Players.LocalPlayer.Character | |
234 | local sine=0 | |
235 | Character.Head.face.Texture = "rbxassetid://620619801" | |
236 | ||
237 | hum.MaxHealth = "Inf" | |
238 | hum.Health = "Inf" | |
239 | ||
240 | local forcefield = Instance.new("ForceField",char) | |
241 | forcefield.Name = "feaqurmam" | |
242 | forcefield.Visible = false | |
243 | ----------------------------------------------------------- | |
244 | h = char.Head | |
245 | t = char.Torso | |
246 | rs = t["Right Shoulder"] | |
247 | ls = t["Left Shoulder"] | |
248 | rh = t["Right Hip"] | |
249 | lh = t["Left Hip"] | |
250 | nec = t.Neck | |
251 | rut = char.HumanoidRootPart | |
252 | rutj = rut.RootJoint | |
253 | it = Instance.new | |
254 | ||
255 | local txt = Instance.new("BillboardGui", char) | |
256 | txt.Adornee = char.Head | |
257 | txt.Name = "_status" | |
258 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
259 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
260 | local text = Instance.new("TextLabel", txt) | |
261 | text.Size = UDim2.new(10, 0, 7, 0) | |
262 | text.FontSize = "Size24" | |
263 | text.TextScaled = true | |
264 | text.TextTransparency = 0 | |
265 | text.BackgroundTransparency = 1 | |
266 | text.TextTransparency = 0 | |
267 | text.TextStrokeTransparency = 1 | |
268 | text.Font = "Cartoon" | |
269 | text.TextStrokeColor3 = Color3.new(0, 0, 0) | |
270 | v = Instance.new("Part") | |
271 | v.Name = "ColorBrick" | |
272 | v.Parent = Player.Character | |
273 | v.FormFactor = "Symmetric" | |
274 | v.Anchored = true | |
275 | v.CanCollide = false | |
276 | v.BottomSurface = "Smooth" | |
277 | v.TopSurface = "Smooth" | |
278 | v.Size = Vector3.new(10, 5, 3) | |
279 | v.Transparency = 1 | |
280 | v.CFrame = char.Torso.CFrame | |
281 | v.BrickColor = BrickColor.new("Really black") | |
282 | v.Transparency = 1 | |
283 | v.Shape = "Block" | |
284 | spawn(function() | |
285 | local TweenService = game:GetService("TweenService") | |
286 | local Colours = {Color3.fromRGB(75,151,75),Color3.fromRGB(39,70,45),Color3.fromRGB(164,189,71),Color3.fromRGB(255,176,0),Color3.fromRGB(141,149,123)} | |
287 | local Int = 0 | |
288 | while wait(0.5) do | |
289 | if Int == #Colours then Int = 0 end | |
290 | Int = Int+1 | |
291 | TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play() | |
292 | end | |
293 | end) | |
294 | text.Text = "Noti?? " | |
295 | ||
296 | ||
297 | local txtd = Instance.new("BillboardGui", char) | |
298 | txtd.Adornee = char.Head | |
299 | txtd.Name = "_status" | |
300 | txtd.Size = UDim2.new(2, 0, 1.2, 0) | |
301 | txtd.StudsOffset = Vector3.new(-9, 8, 0) | |
302 | local texth = Instance.new("TextLabel", txtd) | |
303 | texth.Size = UDim2.new(10, 0, 7, 0) | |
304 | texth.FontSize = "Size24" | |
305 | texth.TextScaled = true | |
306 | texth.TextTransparency = 0 | |
307 | texth.BackgroundTransparency = 1 | |
308 | texth.TextTransparency = 0 | |
309 | texth.TextStrokeTransparency = 1 | |
310 | texth.Font = "Cartoon" | |
311 | texth.TextStrokeColor3 = Color3.new(0, 0, 0) | |
312 | v = Instance.new("Part") | |
313 | v.Name = "ColorBrick" | |
314 | v.Parent = Player.Character | |
315 | v.FormFactor = "Symmetric" | |
316 | v.Anchored = true | |
317 | v.CanCollide = false | |
318 | v.BottomSurface = "Smooth" | |
319 | v.TopSurface = "Smooth" | |
320 | v.Size = Vector3.new(10, 5, 3) | |
321 | v.Transparency = 1 | |
322 | v.CFrame = char.Torso.CFrame | |
323 | v.BrickColor = BrickColor.new("Really black") | |
324 | v.Transparency = 1 | |
325 | v.Shape = "Block" | |
326 | spawn(function() | |
327 | local TweenService = game:GetService("TweenService") | |
328 | local Colourss = {Color3.fromRGB(72,99,0),Color3.fromRGB(99,21,2),Color3.fromRGB(6,0,99),Color3.fromRGB(99,35,90),Color3.fromRGB(203,213,0)} | |
329 | local Intt = 0 | |
330 | while wait(0.2) do | |
331 | if Intt == #Colourss then Intt = 0 end | |
332 | Intt = Intt+1 | |
333 | TweenService:Create(texth,TweenInfo.new(1),{TextColor3 = Colourss[Intt]}):Play() | |
334 | end | |
335 | end) | |
336 | texth.Text = "" | |
337 | ||
338 | ||
339 | spawn(function() | |
340 | while wait() do | |
341 | - | Head.BrickColor = BrickColor.new("Bright yellow") |
341 | + | |
342 | - | RightArm.BrickColor = BrickColor.new("Bright yellow") |
342 | + | |
343 | - | LeftArm.BrickColor = BrickColor.new("Bright yellow") |
343 | + | |
344 | - | Torso.BrickColor = BrickColor.new("Shamrock") |
344 | + | |
345 | - | RightLeg.BrickColor = BrickColor.new("Br. yellowish green") |
345 | + | |
346 | - | LeftLeg.BrickColor = BrickColor.new("Br. yellowish green") |
346 | + | |
347 | elseif v:IsA("Pants") then | |
348 | v.PantsTemplate = "rbxassetid://0" | |
349 | - | for i,v in pairs(Character:children()) do |
349 | + | |
350 | - | if v:IsA("Hat") then |
350 | + | |
351 | - | v:Destroy() |
351 | + | |
352 | Torso.roblox:Remove() | |
353 | elseif v:IsA("Accessory") then | |
354 | - | for i,v in pairs(Character:children()) do |
354 | + | |
355 | - | if v:IsA("Accessory") then |
355 | + | |
356 | - | v:Destroy() |
356 | + | |
357 | ||
358 | local Hair = Instance.new("Part") | |
359 | - | for i,v in pairs(Character:children()) do |
359 | + | |
360 | - | if v:IsA("Hair") then |
360 | + | |
361 | - | v:Destroy() |
361 | + | |
362 | Hair.CFrame = char.Head.CFrame | |
363 | Hair:BreakJoints() | |
364 | - | for i,v in pairs(Character:children()) do |
364 | + | |
365 | - | if v:IsA("Shirt") then |
365 | + | |
366 | - | v:Destroy() |
366 | + | |
367 | Hair.BottomSurface = "Smooth" | |
368 | Weld = Instance.new("Weld") | |
369 | - | for i,v in pairs(Character:children()) do |
369 | + | |
370 | - | if v:IsA("Pants") then |
370 | + | |
371 | - | v:Destroy() |
371 | + | |
372 | Weld.Parent = char.Head | |
373 | Weld.C0 = CFrame.new(0, 0.77, 0)*CFrame.fromEulerAnglesXYZ(0.1, 0, 0) | |
374 | - | for i,v in pairs(Character:children()) do |
374 | + | |
375 | - | if v:IsA("Graphic Shirt") then |
375 | + | |
376 | - | v:Destroy() |
376 | + | |
377 | CF = CFrame.new | |
378 | angles = CFrame.Angles | |
379 | - | for i,v in pairs(Character:children()) do |
379 | + | |
380 | - | if v:IsA("GraphicShirt") then |
380 | + | |
381 | - | v:Destroy() |
381 | + | |
382 | Rad = math.rad | |
383 | IT = Instance.new | |
384 | BrickC = BrickColor.new | |
385 | Cos = math.cos | |
386 | Acos = math.acos | |
387 | Sin = math.sin | |
388 | Asin = math.asin | |
389 | Abs = math.abs | |
390 | Mrandom = math.random | |
391 | Floor = math.floor | |
392 | random = math.random | |
393 | radian = math.rad | |
394 | Vec3 = Vector3.new | |
395 | cFrame = CFrame.new | |
396 | Euler = CFrame.fromEulerAnglesXYZ | |
397 | ------------------------------------------------------- | |
398 | --End Good Stuff-- | |
399 | ------------------------------------------------------- | |
400 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
401 | RSH, LSH = nil, nil | |
402 | RW = Instance.new("Weld") | |
403 | LW = Instance.new("Weld") | |
404 | RH = tors["Right Hip"] | |
405 | LH = tors["Left Hip"] | |
406 | RSH = tors["Right Shoulder"] | |
407 | LSH = tors["Left Shoulder"] | |
408 | RSH.Parent = nil | |
409 | LSH.Parent = nil | |
410 | RW.Name = "RW" | |
411 | RW.Part0 = tors | |
412 | RW.C0 = CF(1.5, 0.5, 0) | |
413 | RW.C1 = CF(0, 0.5, 0) | |
414 | RW.Part1 = ra | |
415 | - | Mesh = Instance.new("SpecialMesh") |
415 | + | |
416 | - | Mesh.Parent = Hair |
416 | + | |
417 | - | Mesh.MeshId = "http://www.roblox.com/asset/?id=1028713" |
417 | + | |
418 | - | Mesh.TextureId = "http://www.roblox.com/asset/?id=1563327" |
418 | + | |
419 | - | Mesh.Scale = Vector3.new(1, 1, 1) |
419 | + | |
420 | LW.Part1 = la | |
421 | LW.Parent = tors | |
422 | Effects = {} | |
423 | ||
424 | BTAUNT = Instance.new("Sound", tors) | |
425 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1535995263" | |
426 | BTAUNT.Volume = 10 | |
427 | BTAUNT.Pitch = 1 | |
428 | BTAUNT.Looped = false | |
429 | BTAUNT.TimePosition = 0.2 | |
430 | ||
431 | brda = Instance.new("Part",char) brda.Transparency = 1 brda.CanCollide = false brda.Size = Vector3.new(1.248, 1.264, 0.16) brdam = Instance.new("SpecialMesh",brda) brdam.Scale = Vector3.new(0.003, 0.003, 0.003) brdam.MeshType = "FileMesh" brdam.MeshId = "rbxassetid://1614924885" brdam.TextureId = "rbxassetid://1614940093" brdaw = Instance.new("Weld",ra) brdaw.Part0 = ra brdaw.Part1 = brda brdaw.C0 = CFrame.fromEulerAnglesXYZ(0,4.7,3) brdaw.C0 = brdaw.C0 * CFrame.new(0,1.3,0) | |
432 | ||
433 | bat = Instance.new("Part", game.Players.LocalPlayer.Character) | |
434 | bat.Size = Vector3.new(1, 1, 5) | |
435 | bat.CanCollide = false | |
436 | bat:BreakJoints() | |
437 | ||
438 | LeDrink = it("Model") | |
439 | LeDrink.Parent = char | |
440 | LeDrink.Name = "LeDrink" | |
441 | RHe = it("Part") | |
442 | RHe.Parent = LeDrink | |
443 | RHe.BrickColor = BrickColor.new("Really black") | |
444 | RHe.Locked = true | |
445 | RHe.CanCollide = false | |
446 | RHe.Transparency = 1 | |
447 | PMesh = it("SpecialMesh") | |
448 | RHe.formFactor = "Symmetric" | |
449 | PMesh.MeshType = "FileMesh" | |
450 | PMesh.MeshId = "rbxassetid://10470609" | |
451 | PMesh.TextureId = "rbxassetid://111405256" | |
452 | PMesh.Scale = Vector3.new(1.3, 1.4, 1.3) | |
453 | PMesh.Parent = RHe | |
454 | local RWeld = it("Weld") | |
455 | RWeld.Parent = RHe | |
456 | RWeld.Part0 = RHe | |
457 | RWeld.Part1 = ra | |
458 | RWeld.C0 = CF(-1.2, -0.5, 0) * angles(Rad(90), Rad(0), Rad(90)) | |
459 | ||
460 | LeChips = it("Model") | |
461 | LeChips.Parent = char | |
462 | LeChips.Name = "LeChips" | |
463 | RHk = it("Part") | |
464 | RHk.Parent = LeChips | |
465 | RHk.BrickColor = BrickColor.new("Really black") | |
466 | RHk.Locked = true | |
467 | RHk.CanCollide = false | |
468 | RHk.Transparency = 1 | |
469 | PMeshe = it("SpecialMesh") | |
470 | RHk.formFactor = "Symmetric" | |
471 | PMeshe.MeshType = "FileMesh" | |
472 | PMeshe.MeshId = "rbxassetid://19106014" | |
473 | PMeshe.TextureId = "rbxassetid://342435650" | |
474 | PMeshe.Scale = Vector3.new(1, 1.4, 0.8) | |
475 | PMeshe.Parent = RHk | |
476 | local RWelds = it("Weld") | |
477 | RWelds.Parent = RHk | |
478 | RWelds.Part0 = RHk | |
479 | RWelds.Part1 = ra | |
480 | RWelds.C0 = CF(-1.2, -0.5, 0) * angles(Rad(90), Rad(0), Rad(90)) | |
481 | ||
482 | local LeDrink = "wiplolnotyet" | |
483 | local LeChips = "wipaswelllol" | |
484 | local Sitt = false | |
485 | ||
486 | ------------------------------------------------------- | |
487 | --Start HeartBeat-- | |
488 | ------------------------------------------------------- | |
489 | ArtificialHB = Instance.new("BindableEvent", script) | |
490 | ArtificialHB.Name = "Heartbeat" | |
491 | script:WaitForChild("Heartbeat") | |
492 | ||
493 | frame = 1 / 60 | |
494 | tf = 0 | |
495 | allowframeloss = false | |
496 | tossremainder = false | |
497 | ||
498 | ||
499 | lastframe = tick() | |
500 | script.Heartbeat:Fire() | |
501 | ||
502 | ||
503 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
504 | tf = tf + s | |
505 | if tf >= frame then | |
506 | if allowframeloss then | |
507 | script.Heartbeat:Fire() | |
508 | lastframe = tick() | |
509 | else | |
510 | for i = 1, math.floor(tf / frame) do | |
511 | script.Heartbeat:Fire() | |
512 | end | |
513 | lastframe = tick() | |
514 | end | |
515 | if tossremainder then | |
516 | tf = 0 | |
517 | else | |
518 | tf = tf - frame * math.floor(tf / frame) | |
519 | end | |
520 | end | |
521 | end) | |
522 | ------------------------------------------------------- | |
523 | --End HeartBeat-- | |
524 | ------------------------------------------------------- | |
525 | ||
526 | ||
527 | function CameraEnshaking(Length, Intensity) --Took Straight from StarGlitcher! | |
528 | coroutine.resume(coroutine.create(function() | |
529 | local intensity = 1 * Intensity | |
530 | local rotM = 0.01 * Intensity | |
531 | for i = 0, Length, 0.1 do | |
532 | swait() | |
533 | intensity = intensity - 0.05 * Intensity / Length | |
534 | rotM = rotM - 5.0E-4 * Intensity / Length | |
535 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
536 | 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) | |
537 | end | |
538 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
539 | end)) | |
540 | end | |
541 | ||
542 | local joyemoji = Instance.new('ParticleEmitter', tors) | |
543 | joyemoji.VelocitySpread = 2000 | |
544 | joyemoji.Lifetime = NumberRange.new(1) | |
545 | joyemoji.Speed = NumberRange.new(40) | |
546 | joy= {} | |
547 | for i=0, 19 do | |
548 | joy[#joy+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
549 | end | |
550 | joyemoji.Size = NumberSequence.new(joy) | |
551 | joyemoji.Rate = 0 | |
552 | joyemoji.LockedToPart = false | |
553 | joyemoji.LightEmission = 0 | |
554 | joyemoji.Texture = "rbxassetid://1176402123" | |
555 | joyemoji.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
556 | ||
557 | ||
558 | local LIT = Instance.new('ParticleEmitter', tors) | |
559 | LIT.VelocitySpread = 2000 | |
560 | LIT.Lifetime = NumberRange.new(1) | |
561 | LIT.Speed = NumberRange.new(45) | |
562 | nani= {} | |
563 | for i=0, 19 do | |
564 | nani[#nani+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
565 | end | |
566 | LIT.Size = NumberSequence.new(nani) | |
567 | LIT.Rate = 0 | |
568 | LIT.LockedToPart = false | |
569 | LIT.LightEmission = 0 | |
570 | LIT.Texture = "rbxassetid://1492670151" | |
571 | LIT.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
572 | ||
573 | local toast = Instance.new('ParticleEmitter', tors) | |
574 | toast.VelocitySpread = 2000 | |
575 | toast.Lifetime = NumberRange.new(1) | |
576 | toast.Speed = NumberRange.new(60) | |
577 | toasterstoasttoast= {} | |
578 | for i=0, 19 do | |
579 | toasterstoasttoast[#toasterstoasttoast+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
580 | end | |
581 | toast.Size = NumberSequence.new(toasterstoasttoast) | |
582 | toast.Rate = 0 | |
583 | toast.LockedToPart = false | |
584 | toast.LightEmission = 0 | |
585 | toast.Texture = "rbxassetid://436096230" | |
586 | toast.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
587 | ||
588 | local ok = Instance.new('ParticleEmitter', tors) | |
589 | ok.VelocitySpread = 2000 | |
590 | ok.Lifetime = NumberRange.new(1) | |
591 | ok.Speed = NumberRange.new(50) | |
592 | cool= {} | |
593 | for i=0, 19 do | |
594 | cool[#cool+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
595 | end | |
596 | ok.Size = NumberSequence.new(cool) | |
597 | ok.Rate = 0 | |
598 | ok.LockedToPart = false | |
599 | ok.LightEmission = 0 | |
600 | ok.Texture = "rbxassetid://636768448" | |
601 | ok.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
602 | ||
603 | maincolor = BrickC("Really red") | |
604 | ------------------------------------------------------- | |
605 | --Start Kyu's shitty stuff-- | |
606 | ------------------------------------------------------- | |
607 | function un_fun() | |
608 | attack = true | |
609 | hum.WalkSpeed = 0 | |
610 | BTAUNT:Play() | |
611 | repeat | |
612 | swait() | |
613 | BTAUNT.Parent = tors | |
614 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.08) | |
615 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-2.5 * Cos(sine / 1.5))), 0.08) | |
616 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(10)), 0.08) | |
617 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(-10)), 0.08) | |
618 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(210)), 0.08) | |
619 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
620 | until BTAUNT.Playing == false | |
621 | attack = false | |
622 | hum.WalkSpeed = 40 | |
623 | end | |
624 | ||
625 | function Tauntmelon() | |
626 | attack = true | |
627 | hum.WalkSpeed = 0 | |
628 | CreateSound("1486343908", tors, 10, 1) | |
629 | for i = 0, 9, 0.1 do | |
630 | swait() | |
631 | 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) | |
632 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
633 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
634 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
635 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-9), Rad(0), Rad(155 + 25 * Sin(sine / 2.5))), 0.12) | |
636 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
637 | end | |
638 | attack = false | |
639 | hum.WalkSpeed = 40 | |
640 | end | |
641 | ||
642 | function fbiopenup() | |
643 | attack = true | |
644 | hum.WalkSpeed = 6 | |
645 | CreateSound("2156386052", tors, 10, 1) | |
646 | Character.Head.face.Texture = "rbxassetid://12117740" | |
647 | for i = 0, 5.56, 0.1 do | |
648 | swait() | |
649 | 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) | |
650 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
651 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
652 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
653 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-9), Rad(0), Rad(155 + 25 * Sin(sine / 2.5))), 0.12) | |
654 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
655 | end | |
656 | for i = 0,1.57,0.1 do | |
657 | swait() | |
658 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
659 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
660 | 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) | |
661 | 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) | |
662 | 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) | |
663 | 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) | |
664 | end | |
665 | for i = 0,1.2,0.1 do | |
666 | swait() | |
667 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
668 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
669 | 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) | |
670 | 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) | |
671 | 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) | |
672 | 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) | |
673 | end | |
674 | for i = 0,1.2,0.1 do | |
675 | swait() | |
676 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
677 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3) | |
678 | 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) | |
679 | 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) | |
680 | 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) | |
681 | 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) | |
682 | end | |
683 | for i = 0,1.2,0.1 do | |
684 | swait() | |
685 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
686 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
687 | 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) | |
688 | 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) | |
689 | 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) | |
690 | 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) | |
691 | end | |
692 | for i = 0,1.2,0.1 do | |
693 | swait() | |
694 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
695 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3) | |
696 | 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) | |
697 | 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) | |
698 | 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) | |
699 | 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) | |
700 | end | |
701 | for i = 0,1,0.1 do | |
702 | swait() | |
703 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
704 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
705 | 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) | |
706 | 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) | |
707 | 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) | |
708 | 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) | |
709 | end | |
710 | for i = 0,1,0.1 do | |
711 | swait() | |
712 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
713 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
714 | 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) | |
715 | 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) | |
716 | 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) | |
717 | 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) | |
718 | end | |
719 | attack = false | |
720 | Character.Head.face.Texture = "rbxassetid://620619801" | |
721 | hum.WalkSpeed = 40 | |
722 | end | |
723 | ||
724 | function FindNearestHead(Position, Distance, SinglePlayer) | |
725 | if SinglePlayer then | |
726 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
727 | end | |
728 | local List = {} | |
729 | for i, v in pairs(workspace:GetChildren()) do | |
730 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
731 | table.insert(List, v) | |
732 | end | |
733 | end | |
734 | return List | |
735 | end | |
736 | ||
737 | function SoulSteal(dude) | |
738 | if dude.Name ~= char then | |
739 | local bgf = IT("BodyGyro", dude.Head) | |
740 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
741 | local val = IT("BoolValue", dude) | |
742 | val.Name = "IsHit" | |
743 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
744 | local soulst = coroutine.wrap(function() | |
745 | local soul = Instance.new("Part",dude) | |
746 | soul.Size = Vector3.new(1,1,1) | |
747 | soul.CanCollide = false | |
748 | soul.Anchored = false | |
749 | soul.Position = torso.Position | |
750 | soul.Transparency = 1 | |
751 | local PartEmmit1 = IT("ParticleEmitter", soul) | |
752 | PartEmmit1.LightEmission = 1 | |
753 | PartEmmit1.Texture = "rbxassetid://569507414" | |
754 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
755 | PartEmmit1.Rate = 250 | |
756 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
757 | PartEmmit1.Size = NumberSequence.new({ | |
758 | NumberSequenceKeypoint.new(0, 1, 0), | |
759 | NumberSequenceKeypoint.new(1, 0, 0) | |
760 | }) | |
761 | PartEmmit1.Transparency = NumberSequence.new({ | |
762 | NumberSequenceKeypoint.new(0, 0, 0), | |
763 | NumberSequenceKeypoint.new(1, 1, 0) | |
764 | }) | |
765 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
766 | PartEmmit1.VelocitySpread = 30000 | |
767 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
768 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
769 | local BodPoss = IT("BodyPosition", soul) | |
770 | BodPoss.P = 3000 | |
771 | BodPoss.D = 1000 | |
772 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
773 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
774 | wait(1.6) | |
775 | soul.Touched:connect(function(hit) | |
776 | if hit.Parent == char then | |
777 | soul:Destroy() | |
778 | end | |
779 | end) | |
780 | wait(1.2) | |
781 | while soul do | |
782 | swait() | |
783 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
784 | BodPoss.Position = tors.Position | |
785 | end | |
786 | end) | |
787 | soulst() | |
788 | end | |
789 | end | |
790 | function FaceMouse() | |
791 | local Cam = workspace.CurrentCamera | |
792 | return { | |
793 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
794 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
795 | } | |
796 | end | |
797 | ||
798 | function Eviscerate(dude) | |
799 | if dude.Name ~= char then | |
800 | local bgf = IT("BodyGyro", dude.Head) | |
801 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
802 | local val = IT("BoolValue", dude) | |
803 | val.Name = "IsHit" | |
804 | local ds = coroutine.wrap(function() | |
805 | dude:WaitForChild("Head"):BreakJoints() | |
806 | wait(0.5) | |
807 | target = nil | |
808 | coroutine.resume(coroutine.create(function() | |
809 | for i, v in pairs(dude:GetChildren()) do | |
810 | if v:IsA("Accessory") then | |
811 | v:Destroy() | |
812 | end | |
813 | if v:IsA("Humanoid") then | |
814 | v:Destroy() | |
815 | end | |
816 | if v:IsA("CharacterMesh") then | |
817 | v:Destroy() | |
818 | end | |
819 | if v:IsA("Model") then | |
820 | v:Destroy() | |
821 | end | |
822 | if v:IsA("Part") or v:IsA("MeshPart") then | |
823 | for x, o in pairs(v:GetChildren()) do | |
824 | if o:IsA("Decal") then | |
825 | o:Destroy() | |
826 | end | |
827 | end | |
828 | coroutine.resume(coroutine.create(function() | |
829 | v.Material = "Neon" | |
830 | v.CanCollide = false | |
831 | local PartEmmit1 = IT("ParticleEmitter", v) | |
832 | PartEmmit1.LightEmission = 1 | |
833 | PartEmmit1.Texture = "rbxassetid://284205403" | |
834 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
835 | PartEmmit1.Rate = 150 | |
836 | PartEmmit1.Lifetime = NumberRange.new(1) | |
837 | PartEmmit1.Size = NumberSequence.new({ | |
838 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
839 | NumberSequenceKeypoint.new(1, 0, 0) | |
840 | }) | |
841 | PartEmmit1.Transparency = NumberSequence.new({ | |
842 | NumberSequenceKeypoint.new(0, 0, 0), | |
843 | NumberSequenceKeypoint.new(1, 1, 0) | |
844 | }) | |
845 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
846 | PartEmmit1.VelocitySpread = 30000 | |
847 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
848 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
849 | local BodPoss = IT("BodyPosition", v) | |
850 | BodPoss.P = 3000 | |
851 | BodPoss.D = 1000 | |
852 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
853 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
854 | v.Color = maincolor.Color | |
855 | coroutine.resume(coroutine.create(function() | |
856 | for i = 0, 49 do | |
857 | swait(1) | |
858 | v.Transparency = v.Transparency + 0.08 | |
859 | end | |
860 | wait(0.5) | |
861 | PartEmmit1.Enabled = false | |
862 | wait(3) | |
863 | v:Destroy() | |
864 | dude:Destroy() | |
865 | end)) | |
866 | end)) | |
867 | end | |
868 | end | |
869 | end)) | |
870 | end) | |
871 | ds() | |
872 | end | |
873 | end | |
874 | ||
875 | function ragdoll(model) | |
876 | local char = model | |
877 | torso = char.HumanoidRootPart | |
878 | torso2 = char.Torso | |
879 | LW.Parent = nil | |
880 | RW.Parent = nil | |
881 | LH.Parent = nil | |
882 | RH.Parent = nil | |
883 | if hum ~= nil then | |
884 | hum.PlatformStand = true | |
885 | end | |
886 | ||
887 | local Head = char:FindFirstChild("Head") | |
888 | if Head then | |
889 | local Neck = Instance.new("Weld") | |
890 | Neck.Name = "Neck" | |
891 | Neck.Part0 = torso | |
892 | Neck.Part1 = Head | |
893 | Neck.C0 = CFrame.new(0, 1.5, 0) | |
894 | Neck.C1 = CFrame.new() | |
895 | Neck.Parent = torso | |
896 | end | |
897 | local Limb = char:FindFirstChild("Right Arm") | |
898 | if Limb then | |
899 | ||
900 | Limb.CFrame = torso.CFrame * CFrame.new(1.5, 0, 0) | |
901 | local Joint = Instance.new("Glue") | |
902 | Joint.Name = "RightShoulder" | |
903 | Joint.Part0 = torso | |
904 | Joint.Part1 = Limb | |
905 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
906 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
907 | Joint.Parent = torso | |
908 | ||
909 | local B = Instance.new("Part") | |
910 | B.TopSurface = 0 | |
911 | B.BottomSurface = 0 | |
912 | B.formFactor = "Symmetric" | |
913 | B.Size = Vector3.new(1, 1, 1) | |
914 | B.Transparency = 1 | |
915 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
916 | B.Parent = char | |
917 | local W = Instance.new("Weld") | |
918 | W.Part0 = Limb | |
919 | W.Part1 = B | |
920 | W.C0 = CFrame.new(0, -0.5, 0) | |
921 | W.Parent = Limb | |
922 | ||
923 | end | |
924 | local Limb = char:FindFirstChild("Left Arm") | |
925 | if Limb then | |
926 | ||
927 | Limb.CFrame = torso.CFrame * CFrame.new(-1.5, 0, 0) | |
928 | local Joint = Instance.new("Glue") | |
929 | Joint.Name = "LeftShoulder" | |
930 | Joint.Part0 = torso | |
931 | Joint.Part1 = Limb | |
932 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
933 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
934 | Joint.Parent = torso | |
935 | ||
936 | local B = Instance.new("Part") | |
937 | B.TopSurface = 0 | |
938 | B.BottomSurface = 0 | |
939 | B.formFactor = "Symmetric" | |
940 | B.Size = Vector3.new(1, 1, 1) | |
941 | B.Transparency = 1 | |
942 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
943 | B.Parent = char | |
944 | local W = Instance.new("Weld") | |
945 | W.Part0 = Limb | |
946 | W.Part1 = B | |
947 | W.C0 = CFrame.new(0, -0.5, 0) | |
948 | W.Parent = Limb | |
949 | ||
950 | end | |
951 | local Limb = char:FindFirstChild("Right Leg") | |
952 | if Limb then | |
953 | ||
954 | Limb.CFrame = torso.CFrame * CFrame.new(0.5, -2, 0) | |
955 | local Joint = Instance.new("Glue") | |
956 | Joint.Name = "RightHip" | |
957 | Joint.Part0 = torso | |
958 | Joint.Part1 = Limb | |
959 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
960 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
961 | Joint.Parent = torso | |
962 | ||
963 | local B = Instance.new("Part") | |
964 | B.TopSurface = 0 | |
965 | B.BottomSurface = 0 | |
966 | B.formFactor = "Symmetric" | |
967 | B.Size = Vector3.new(1, 1, 1) | |
968 | B.Transparency = 1 | |
969 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
970 | B.Parent = char | |
971 | local W = Instance.new("Weld") | |
972 | W.Part0 = Limb | |
973 | W.Part1 = B | |
974 | W.C0 = CFrame.new(0, -0.5, 0) | |
975 | W.Parent = Limb | |
976 | ||
977 | end | |
978 | local Limb = char:FindFirstChild("Left Leg") | |
979 | if Limb then | |
980 | ||
981 | Limb.CFrame = torso.CFrame * CFrame.new(-0.5, -2, 0) | |
982 | local Joint = Instance.new("Glue") | |
983 | Joint.Name = "LeftHip" | |
984 | Joint.Part0 = torso | |
985 | Joint.Part1 = Limb | |
986 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
987 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
988 | Joint.Parent = torso | |
989 | ||
990 | local B = Instance.new("Part") | |
991 | B.TopSurface = 0 | |
992 | B.BottomSurface = 0 | |
993 | B.formFactor = "Symmetric" | |
994 | B.Size = Vector3.new(1, 1, 1) | |
995 | B.Transparency = 1 | |
996 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
997 | B.Parent = char | |
998 | local W = Instance.new("Weld") | |
999 | W.Part0 = Limb | |
1000 | W.Part1 = B | |
1001 | W.C0 = CFrame.new(0, -0.5, 0) | |
1002 | W.Parent = Limb | |
1003 | ||
1004 | end | |
1005 | --[ | |
1006 | local Bar = Instance.new("Part") | |
1007 | Bar.TopSurface = 0 | |
1008 | Bar.BottomSurface = 0 | |
1009 | Bar.formFactor = "Symmetric" | |
1010 | Bar.Size = Vector3.new(1, 1, 1) | |
1011 | Bar.Transparency = 1 | |
1012 | Bar.CFrame = torso.CFrame * CFrame.new(0, 0.5, 0) | |
1013 | Bar.Parent = char | |
1014 | local Weld = Instance.new("Weld") | |
1015 | Weld.Part0 = torso | |
1016 | Weld.Part1 = Bar | |
1017 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
1018 | Weld.Parent = torso | |
1019 | --]] | |
1020 | ||
1021 | torso.CFrame = CFrame.new(torso.Position)*CFrame.Angles(math.rad(20),math.rad(torso.Orientation.Y),math.rad(torso.Orientation.Z)) | |
1022 | ||
1023 | end | |
1024 | ||
1025 | ------------------------------------------------------- | |
1026 | --End Kyu's shitty stuff-- | |
1027 | ------------------------------------------------------- | |
1028 | ||
1029 | ------------------------------------------------------- | |
1030 | --Start Important Functions-- | |
1031 | ------------------------------------------------------- | |
1032 | function swait(num) | |
1033 | if num == 0 or num == nil then | |
1034 | game:service("RunService").Stepped:wait(0) | |
1035 | else | |
1036 | for i = 0, num do | |
1037 | game:service("RunService").Stepped:wait(0) | |
1038 | end | |
1039 | end | |
1040 | end | |
1041 | function thread(f) | |
1042 | coroutine.resume(coroutine.create(f)) | |
1043 | end | |
1044 | function clerp(a, b, t) | |
1045 | local qa = { | |
1046 | QuaternionFromCFrame(a) | |
1047 | } | |
1048 | local qb = { | |
1049 | QuaternionFromCFrame(b) | |
1050 | } | |
1051 | local ax, ay, az = a.x, a.y, a.z | |
1052 | local bx, by, bz = b.x, b.y, b.z | |
1053 | local _t = 1 - t | |
1054 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
1055 | end | |
1056 | function QuaternionFromCFrame(cf) | |
1057 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
1058 | local trace = m00 + m11 + m22 | |
1059 | if trace > 0 then | |
1060 | local s = math.sqrt(1 + trace) | |
1061 | local recip = 0.5 / s | |
1062 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
1063 | else | |
1064 | local i = 0 | |
1065 | if m00 < m11 then | |
1066 | i = 1 | |
1067 | end | |
1068 | if m22 > (i == 0 and m00 or m11) then | |
1069 | i = 2 | |
1070 | end | |
1071 | if i == 0 then | |
1072 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
1073 | local recip = 0.5 / s | |
1074 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
1075 | elseif i == 1 then | |
1076 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
1077 | local recip = 0.5 / s | |
1078 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
1079 | elseif i == 2 then | |
1080 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
1081 | local recip = 0.5 / s | |
1082 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
1083 | end | |
1084 | end | |
1085 | end | |
1086 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
1087 | local xs, ys, zs = x + x, y + y, z + z | |
1088 | local wx, wy, wz = w * xs, w * ys, w * zs | |
1089 | local xx = x * xs | |
1090 | local xy = x * ys | |
1091 | local xz = x * zs | |
1092 | local yy = y * ys | |
1093 | local yz = y * zs | |
1094 | local zz = z * zs | |
1095 | 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)) | |
1096 | end | |
1097 | function QuaternionSlerp(a, b, t) | |
1098 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
1099 | local startInterp, finishInterp | |
1100 | if cosTheta >= 1.0E-4 then | |
1101 | if 1 - cosTheta > 1.0E-4 then | |
1102 | local theta = math.acos(cosTheta) | |
1103 | local invSinTheta = 1 / Sin(theta) | |
1104 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
1105 | finishInterp = Sin(t * theta) * invSinTheta | |
1106 | else | |
1107 | startInterp = 1 - t | |
1108 | finishInterp = t | |
1109 | end | |
1110 | elseif 1 + cosTheta > 1.0E-4 then | |
1111 | local theta = math.acos(-cosTheta) | |
1112 | local invSinTheta = 1 / Sin(theta) | |
1113 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
1114 | finishInterp = Sin(t * theta) * invSinTheta | |
1115 | else | |
1116 | startInterp = t - 1 | |
1117 | finishInterp = t | |
1118 | end | |
1119 | 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 | |
1120 | end | |
1121 | function rayCast(Position, Direction, Range, Ignore) | |
1122 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
1123 | end | |
1124 | local RbxUtility = LoadLibrary("RbxUtility") | |
1125 | local Create = RbxUtility.Create | |
1126 | local insta = true | |
1127 | ||
1128 | ------------------------------------------------------- | |
1129 | --Start Damage Function-- | |
1130 | ------------------------------------------------------- | |
1131 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1132 | if hit.Parent == nil then | |
1133 | return | |
1134 | end | |
1135 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1136 | for _, v in pairs(hit.Parent:children()) do | |
1137 | if v:IsA("Humanoid") then | |
1138 | h = v | |
1139 | end | |
1140 | end | |
1141 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
1142 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
1143 | end | |
1144 | ||
1145 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
1146 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
1147 | if hit.Parent.DebounceHit.Value == true then | |
1148 | return | |
1149 | end | |
1150 | end | |
1151 | if insta == true then | |
1152 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
1153 | end | |
1154 | local c = Create("ObjectValue"){ | |
1155 | Name = "creator", | |
1156 | Value = game:service("Players").LocalPlayer, | |
1157 | Parent = h, | |
1158 | } | |
1159 | game:GetService("Debris"):AddItem(c, .5) | |
1160 | CreateSound("958257111", hit, 10, 1) | |
1161 | local Damage = math.random(minim, maxim) | |
1162 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
1163 | local blocked = false | |
1164 | local block = hit.Parent:findFirstChild("Block") | |
1165 | if block ~= nil then | |
1166 | if block.className == "IntValue" then | |
1167 | if block.Value > 0 then | |
1168 | blocked = true | |
1169 | block.Value = block.Value - 1 | |
1170 | end | |
1171 | end | |
1172 | end | |
1173 | if blocked == false then | |
1174 | h.Health = h.Health - Damage | |
1175 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "rekt", 1.5, tors.BrickColor.Color) | |
1176 | else | |
1177 | h.Health = h.Health - (Damage / 2) | |
1178 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "ez kill", 1.5, tors.BrickColor.Color) | |
1179 | end | |
1180 | if Type == "Knockdown" then | |
1181 | local hum = hit.Parent.Humanoid | |
1182 | hum.PlatformStand = true | |
1183 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1184 | swait(1) | |
1185 | HHumanoid.PlatformStand = false | |
1186 | end), hum) | |
1187 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
1188 | local bodvol = Create("BodyVelocity"){ | |
1189 | velocity = angle * knockback, | |
1190 | P = 5000, | |
1191 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1192 | Parent = hit, | |
1193 | } | |
1194 | local rl = Create("BodyAngularVelocity"){ | |
1195 | P = 3000, | |
1196 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1197 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1198 | Parent = hit, | |
1199 | } | |
1200 | game:GetService("Debris"):AddItem(bodvol, .5) | |
1201 | game:GetService("Debris"):AddItem(rl, .5) | |
1202 | elseif Type == "Normal" then | |
1203 | local vp = Create("BodyVelocity"){ | |
1204 | P = 500, | |
1205 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1206 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
1207 | } | |
1208 | if knockback > 0 then | |
1209 | vp.Parent = hit.Parent.Torso | |
1210 | end | |
1211 | game:GetService("Debris"):AddItem(vp, .5) | |
1212 | elseif Type == "Up" then | |
1213 | local bodyVelocity = Create("BodyVelocity"){ | |
1214 | velocity = Vector3.new(0, 20, 0), | |
1215 | P = 5000, | |
1216 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1217 | Parent = hit, | |
1218 | } | |
1219 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
1220 | elseif Type == "DarkUp" then | |
1221 | coroutine.resume(coroutine.create(function() | |
1222 | for i = 0, 1, 0.1 do | |
1223 | swait() | |
1224 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
1225 | end | |
1226 | end)) | |
1227 | local bodyVelocity = Create("BodyVelocity"){ | |
1228 | velocity = Vector3.new(0, 20, 0), | |
1229 | P = 5000, | |
1230 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1231 | Parent = hit, | |
1232 | } | |
1233 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1234 | elseif Type == "Snare" then | |
1235 | local bp = Create("BodyPosition"){ | |
1236 | P = 2000, | |
1237 | D = 100, | |
1238 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1239 | position = hit.Parent.Torso.Position, | |
1240 | Parent = hit.Parent.Torso, | |
1241 | } | |
1242 | game:GetService("Debris"):AddItem(bp, 1) | |
1243 | elseif Type == "Freeze" then | |
1244 | local BodPos = Create("BodyPosition"){ | |
1245 | P = 50000, | |
1246 | D = 1000, | |
1247 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1248 | position = hit.Parent.Torso.Position, | |
1249 | Parent = hit.Parent.Torso, | |
1250 | } | |
1251 | local BodGy = Create("BodyGyro") { | |
1252 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
1253 | P = 20e+003, | |
1254 | Parent = hit.Parent.Torso, | |
1255 | cframe = hit.Parent.Torso.CFrame, | |
1256 | } | |
1257 | hit.Parent.Torso.Anchored = true | |
1258 | coroutine.resume(coroutine.create(function(Part) | |
1259 | swait(1.5) | |
1260 | Part.Anchored = false | |
1261 | end), hit.Parent.Torso) | |
1262 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1263 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1264 | end | |
1265 | local debounce = Create("BoolValue"){ | |
1266 | Name = "DebounceHit", | |
1267 | Parent = hit.Parent, | |
1268 | Value = true, | |
1269 | } | |
1270 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1271 | c = Create("ObjectValue"){ | |
1272 | Name = "creator", | |
1273 | Value = Player, | |
1274 | Parent = h, | |
1275 | } | |
1276 | game:GetService("Debris"):AddItem(c, .5) | |
1277 | end | |
1278 | end | |
1279 | ------------------------------------------------------- | |
1280 | --End Damage Function-- | |
1281 | ------------------------------------------------------- | |
1282 | ||
1283 | ------------------------------------------------------- | |
1284 | --Start Damage Function Customization-- | |
1285 | ------------------------------------------------------- | |
1286 | function ShowDamage(Pos, Text, Time, Color) | |
1287 | local Rate = (1 / 30) | |
1288 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
1289 | local Text = (Text or "") | |
1290 | local Time = (Time or 2) | |
1291 | local Color = (Color or Color3.new(1, 0, 1)) | |
1292 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1293 | EffectPart.Anchored = true | |
1294 | local BillboardGui = Create("BillboardGui"){ | |
1295 | Size = UDim2.new(3, 0, 3, 0), | |
1296 | Adornee = EffectPart, | |
1297 | Parent = EffectPart, | |
1298 | } | |
1299 | local TextLabel = Create("TextLabel"){ | |
1300 | BackgroundTransparency = 1, | |
1301 | Size = UDim2.new(1, 0, 1, 0), | |
1302 | Text = Text, | |
1303 | Font = "Bodoni", | |
1304 | TextColor3 = Color, | |
1305 | TextScaled = true, | |
1306 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
1307 | Parent = BillboardGui, | |
1308 | } | |
1309 | game.Debris:AddItem(EffectPart, (Time)) | |
1310 | EffectPart.Parent = game:GetService("Workspace") | |
1311 | delay(0, function() | |
1312 | local Frames = (Time / Rate) | |
1313 | for Frame = 1, Frames do | |
1314 | wait(Rate) | |
1315 | local Percent = (Frame / Frames) | |
1316 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1317 | TextLabel.TextTransparency = Percent | |
1318 | end | |
1319 | if EffectPart and EffectPart.Parent then | |
1320 | EffectPart:Destroy() | |
1321 | end | |
1322 | end) | |
1323 | end | |
1324 | ------------------------------------------------------- | |
1325 | --End Damage Function Customization-- | |
1326 | ------------------------------------------------------- | |
1327 | ||
1328 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
1329 | for _, c in pairs(workspace:children()) do | |
1330 | local hum = c:findFirstChild("Humanoid") | |
1331 | if hum ~= nil then | |
1332 | local head = c:findFirstChild("Head") | |
1333 | if head ~= nil then | |
1334 | local targ = head.Position - Part.Position | |
1335 | local mag = targ.magnitude | |
1336 | if magni >= mag and c.Name ~= plr.Name then | |
1337 | ||
1338 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
1339 | end | |
1340 | end | |
1341 | end | |
1342 | end | |
1343 | end | |
1344 | ||
1345 | ||
1346 | CFuncs = { | |
1347 | Part = { | |
1348 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1349 | local Part = Create("Part")({ | |
1350 | Parent = Parent, | |
1351 | Reflectance = Reflectance, | |
1352 | Transparency = Transparency, | |
1353 | CanCollide = false, | |
1354 | Locked = true, | |
1355 | BrickColor = BrickColor.new(tostring(BColor)), | |
1356 | Name = Name, | |
1357 | Size = Size, | |
1358 | Material = Material | |
1359 | }) | |
1360 | RemoveOutlines(Part) | |
1361 | return Part | |
1362 | end | |
1363 | }, | |
1364 | Mesh = { | |
1365 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1366 | local Msh = Create(Mesh)({ | |
1367 | Parent = Part, | |
1368 | Offset = OffSet, | |
1369 | Scale = Scale | |
1370 | }) | |
1371 | if Mesh == "SpecialMesh" then | |
1372 | Msh.MeshType = MeshType | |
1373 | Msh.MeshId = MeshId | |
1374 | end | |
1375 | return Msh | |
1376 | end | |
1377 | }, | |
1378 | Mesh = { | |
1379 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1380 | local Msh = Create(Mesh)({ | |
1381 | Parent = Part, | |
1382 | Offset = OffSet, | |
1383 | Scale = Scale | |
1384 | }) | |
1385 | if Mesh == "SpecialMesh" then | |
1386 | Msh.MeshType = MeshType | |
1387 | Msh.MeshId = MeshId | |
1388 | end | |
1389 | return Msh | |
1390 | end | |
1391 | }, | |
1392 | Weld = { | |
1393 | Create = function(Parent, Part0, Part1, C0, C1) | |
1394 | local Weld = Create("Weld")({ | |
1395 | Parent = Parent, | |
1396 | Part0 = Part0, | |
1397 | Part1 = Part1, | |
1398 | C0 = C0, | |
1399 | C1 = C1 | |
1400 | }) | |
1401 | return Weld | |
1402 | end | |
1403 | }, | |
1404 | Sound = { | |
1405 | Create = function(id, par, vol, pit) | |
1406 | coroutine.resume(coroutine.create(function() | |
1407 | local S = Create("Sound")({ | |
1408 | Volume = vol, | |
1409 | Pitch = pit or 1, | |
1410 | SoundId = id, | |
1411 | Parent = par or workspace | |
1412 | }) | |
1413 | wait() | |
1414 | S:play() | |
1415 | game:GetService("Debris"):AddItem(S, 6) | |
1416 | end)) | |
1417 | end | |
1418 | }, | |
1419 | ParticleEmitter = { | |
1420 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
1421 | local fp = Create("ParticleEmitter")({ | |
1422 | Parent = Parent, | |
1423 | Color = ColorSequence.new(Color1, Color2), | |
1424 | LightEmission = LightEmission, | |
1425 | Size = Size, | |
1426 | Texture = Texture, | |
1427 | Transparency = Transparency, | |
1428 | ZOffset = ZOffset, | |
1429 | Acceleration = Accel, | |
1430 | Drag = Drag, | |
1431 | LockedToPart = LockedToPart, | |
1432 | VelocityInheritance = VelocityInheritance, | |
1433 | EmissionDirection = EmissionDirection, | |
1434 | Enabled = Enabled, | |
1435 | Lifetime = LifeTime, | |
1436 | Rate = Rate, | |
1437 | Rotation = Rotation, | |
1438 | RotSpeed = RotSpeed, | |
1439 | Speed = Speed, | |
1440 | VelocitySpread = VelocitySpread | |
1441 | }) | |
1442 | return fp | |
1443 | end | |
1444 | } | |
1445 | } | |
1446 | function RemoveOutlines(part) | |
1447 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
1448 | end | |
1449 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1450 | local Part = Create("Part")({ | |
1451 | formFactor = FormFactor, | |
1452 | Parent = Parent, | |
1453 | Reflectance = Reflectance, | |
1454 | Transparency = Transparency, | |
1455 | CanCollide = false, | |
1456 | Locked = true, | |
1457 | BrickColor = BrickColor.new(tostring(BColor)), | |
1458 | Name = Name, | |
1459 | Size = Size, | |
1460 | Material = Material | |
1461 | }) | |
1462 | RemoveOutlines(Part) | |
1463 | return Part | |
1464 | end | |
1465 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1466 | local Msh = Create(Mesh)({ | |
1467 | Parent = Part, | |
1468 | Offset = OffSet, | |
1469 | Scale = Scale | |
1470 | }) | |
1471 | if Mesh == "SpecialMesh" then | |
1472 | Msh.MeshType = MeshType | |
1473 | Msh.MeshId = MeshId | |
1474 | end | |
1475 | return Msh | |
1476 | end | |
1477 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
1478 | local Weld = Create("Weld")({ | |
1479 | Parent = Parent, | |
1480 | Part0 = Part0, | |
1481 | Part1 = Part1, | |
1482 | C0 = C0, | |
1483 | C1 = C1 | |
1484 | }) | |
1485 | return Weld | |
1486 | end | |
1487 | ||
1488 | ------------------------------------------------------- | |
1489 | --Start Effect Function-- | |
1490 | ------------------------------------------------------- | |
1491 | EffectModel = Instance.new("Model", char) | |
1492 | Effects = { | |
1493 | Block = { | |
1494 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1495 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1496 | prt.Anchored = true | |
1497 | prt.CFrame = cframe | |
1498 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1499 | game:GetService("Debris"):AddItem(prt, 10) | |
1500 | if Type == 1 or Type == nil then | |
1501 | table.insert(Effects, { | |
1502 | prt, | |
1503 | "Block1", | |
1504 | delay, | |
1505 | x3, | |
1506 | y3, | |
1507 | z3, | |
1508 | msh | |
1509 | }) | |
1510 | elseif Type == 2 then | |
1511 | table.insert(Effects, { | |
1512 | prt, | |
1513 | "Block2", | |
1514 | delay, | |
1515 | x3, | |
1516 | y3, | |
1517 | z3, | |
1518 | msh | |
1519 | }) | |
1520 | else | |
1521 | table.insert(Effects, { | |
1522 | prt, | |
1523 | "Block3", | |
1524 | delay, | |
1525 | x3, | |
1526 | y3, | |
1527 | z3, | |
1528 | msh | |
1529 | }) | |
1530 | end | |
1531 | end | |
1532 | }, | |
1533 | Sphere = { | |
1534 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1535 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1536 | prt.Anchored = true | |
1537 | prt.CFrame = cframe | |
1538 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0,0,0), Vector3.new(x1, y1, z1)) | |
1539 | game:GetService("Debris"):AddItem(prt, 10) | |
1540 | table.insert(Effects, { | |
1541 | prt, | |
1542 | "Cylinder", | |
1543 | delay, | |
1544 | x3, | |
1545 | y3, | |
1546 | z3, | |
1547 | msh | |
1548 | }) | |
1549 | end | |
1550 | }, | |
1551 | Cylinder = { | |
1552 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1553 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1554 | prt.Anchored = true | |
1555 | prt.CFrame = cframe | |
1556 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1557 | game:GetService("Debris"):AddItem(prt, 10) | |
1558 | table.insert(Effects, { | |
1559 | prt, | |
1560 | "Cylinder", | |
1561 | delay, | |
1562 | x3, | |
1563 | y3, | |
1564 | z3, | |
1565 | msh | |
1566 | }) | |
1567 | end | |
1568 | }, | |
1569 | Wave = { | |
1570 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1571 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1572 | prt.Anchored = true | |
1573 | prt.CFrame = cframe | |
1574 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
1575 | game:GetService("Debris"):AddItem(prt, 10) | |
1576 | table.insert(Effects, { | |
1577 | prt, | |
1578 | "Cylinder", | |
1579 | delay, | |
1580 | x3 / 60, | |
1581 | y3 / 60, | |
1582 | z3 / 60, | |
1583 | msh | |
1584 | }) | |
1585 | end | |
1586 | }, | |
1587 | Ring = { | |
1588 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1589 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1590 | prt.Anchored = true | |
1591 | prt.CFrame = cframe | |
1592 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1593 | game:GetService("Debris"):AddItem(prt, 10) | |
1594 | table.insert(Effects, { | |
1595 | prt, | |
1596 | "Cylinder", | |
1597 | delay, | |
1598 | x3, | |
1599 | y3, | |
1600 | z3, | |
1601 | msh | |
1602 | }) | |
1603 | end | |
1604 | }, | |
1605 | Break = { | |
1606 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1607 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1608 | prt.Anchored = true | |
1609 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1610 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1611 | local num = math.random(10, 50) / 1000 | |
1612 | game:GetService("Debris"):AddItem(prt, 10) | |
1613 | table.insert(Effects, { | |
1614 | prt, | |
1615 | "Shatter", | |
1616 | num, | |
1617 | prt.CFrame, | |
1618 | math.random() - math.random(), | |
1619 | 0, | |
1620 | math.random(50, 100) / 100 | |
1621 | }) | |
1622 | end | |
1623 | }, | |
1624 | Spiral = { | |
1625 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1626 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1627 | prt.Anchored = true | |
1628 | prt.CFrame = cframe | |
1629 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1630 | game:GetService("Debris"):AddItem(prt, 10) | |
1631 | table.insert(Effects, { | |
1632 | prt, | |
1633 | "Cylinder", | |
1634 | delay, | |
1635 | x3, | |
1636 | y3, | |
1637 | z3, | |
1638 | msh | |
1639 | }) | |
1640 | end | |
1641 | }, | |
1642 | Push = { | |
1643 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1644 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1645 | prt.Anchored = true | |
1646 | prt.CFrame = cframe | |
1647 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1648 | game:GetService("Debris"):AddItem(prt, 10) | |
1649 | table.insert(Effects, { | |
1650 | prt, | |
1651 | "Cylinder", | |
1652 | delay, | |
1653 | x3, | |
1654 | y3, | |
1655 | z3, | |
1656 | msh | |
1657 | }) | |
1658 | end | |
1659 | } | |
1660 | } | |
1661 | ------------------------------------------------------- | |
1662 | --End Effect Function-- | |
1663 | ------------------------------------------------------- | |
1664 | ||
1665 | function CreateSound(ID, PARENT, VOLUME, PITCH) --Very important. | |
1666 | local NSound = nil | |
1667 | coroutine.resume(coroutine.create(function() | |
1668 | NSound = Instance.new("Sound", PARENT) | |
1669 | NSound.Volume = VOLUME | |
1670 | NSound.Pitch = PITCH | |
1671 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1672 | swait() | |
1673 | NSound:play() | |
1674 | game:GetService("Debris"):AddItem(NSound, 10) | |
1675 | end)) | |
1676 | return NSound | |
1677 | end | |
1678 | ||
1679 | ||
1680 | coroutine.resume(coroutine.create(function() | |
1681 | while text ~= nil do | |
1682 | swait() | |
1683 | text.Rotation = math.random(-1.8,1.8) | |
1684 | end | |
1685 | end)) | |
1686 | ||
1687 | angery = false | |
1688 | ||
1689 | ||
1690 | ------------------------------------------------------- | |
1691 | --End Important Functions-- | |
1692 | ------------------------------------------------------- | |
1693 | ||
1694 | lul = Instance.new("Sound", tors) --le musice | |
1695 | lul.Pitch = 1 | |
1696 | ||
1697 | local mu = math.random(1,14) | |
1698 | if mu == 1 then | |
1699 | lul.SoundId = "rbxassetid://193889412" | |
1700 | end | |
1701 | if mu == 2 then | |
1702 | lul.SoundId = "rbxassetid://274690929" | |
1703 | end | |
1704 | if mu == 3 then | |
1705 | lul.SoundId = "rbxassetid://1241998626" | |
1706 | end | |
1707 | if mu == 4 then | |
1708 | lul.SoundId = "rbxassetid://1878962648" | |
1709 | end | |
1710 | if mu == 5 then | |
1711 | lul.SoundId = "rbxassetid://185117072" | |
1712 | end | |
1713 | if mu == 6 then | |
1714 | lul.SoundId = "rbxassetid://295856024" | |
1715 | end | |
1716 | if mu == 7 then | |
1717 | lul.SoundId = "rbxassetid://2054013600" | |
1718 | end | |
1719 | if mu == 8 then | |
1720 | lul.SoundId = "rbxassetid://1463709693" | |
1721 | lul.Pitch = 1.4 | |
1722 | end | |
1723 | if mu == 9 then | |
1724 | lul.SoundId = "rbxassetid://575705300" | |
1725 | end | |
1726 | if mu == 10 then | |
1727 | lul.SoundId = "rbxassetid://142924062" | |
1728 | end | |
1729 | if mu == 11 then | |
1730 | lul.SoundId = "rbxassetid://251072363" | |
1731 | end | |
1732 | if mu == 12 then | |
1733 | lul.SoundId = "rbxassetid://731061980" | |
1734 | end | |
1735 | if mu == 13 then | |
1736 | lul.SoundId = "rbxassetid://455682677" | |
1737 | end | |
1738 | if mu == 14 then | |
1739 | lul.SoundId = "rbxassetid://1283123885" | |
1740 | end | |
1741 | ||
1742 | lul.Volume = 4.7 | |
1743 | lul.TimePosition = 0 | |
1744 | lul.Looped = true | |
1745 | lul:Play() | |
1746 | ||
1747 | NEWS = Instance.new("Sound", tors) --O NO | |
1748 | NEWS.SoundId = "http://www.roblox.com/asset/?id=1864852634" | |
1749 | NEWS.Volume = 100 | |
1750 | NEWS.Pitch = 1 | |
1751 | NEWS.Looped = false | |
1752 | NEWS.TimePosition = 1 | |
1753 | ||
1754 | AAAAA = Instance.new("Sound", tors) --aaa | |
1755 | AAAAA.SoundId = "http://www.roblox.com/asset/?id=0" | |
1756 | AAAAA.Volume = 10 | |
1757 | AAAAA.Pitch = 1 | |
1758 | AAAAA.Looped = false | |
1759 | AAAAA.TimePosition = 1 | |
1760 | ||
1761 | MERKIO = Instance.new("Sound", tors) --why | |
1762 | MERKIO.SoundId = "http://www.roblox.com/asset/?id=195689102" | |
1763 | MERKIO.Volume = 10 | |
1764 | MERKIO.Pitch = 1 | |
1765 | MERKIO.Looped = false | |
1766 | MERKIO.TimePosition = 0 | |
1767 | ||
1768 | MERKIO2 = Instance.new("Sound", tors) --why (again) | |
1769 | MERKIO2.SoundId = "http://www.roblox.com/asset/?id=258246285" | |
1770 | MERKIO2.Volume = 10 | |
1771 | MERKIO2.Pitch = 1 | |
1772 | MERKIO2.Looped = false | |
1773 | MERKIO2.TimePosition = 0 | |
1774 | ||
1775 | thonks = Instance.new("Sound", tors) --wat? | |
1776 | thonks.SoundId = "http://www.roblox.com/asset/?id=685766564" | |
1777 | thonks.Volume = 10 | |
1778 | thonks.Pitch = 1 | |
1779 | thonks.Looped = false | |
1780 | thonks.TimePosition = 0 | |
1781 | ||
1782 | gudsong = Instance.new("Sound", tors) --seizure time | |
1783 | gudsong.SoundId = "http://www.roblox.com/asset/?id=2027619387" | |
1784 | gudsong.Volume = 10 | |
1785 | gudsong.Pitch = 1 | |
1786 | gudsong.Looped = true | |
1787 | gudsong.TimePosition = 6.6 | |
1788 | ||
1789 | ------------------------------------------------------- | |
1790 | --Start Music Option-- | |
1791 | ------------------------------------------------------- | |
1792 | ; | |
1793 | ------------------------------------------------------- | |
1794 | --End Music Option-- | |
1795 | ------------------------------------------------------- | |
1796 | --hi fat >:) | |
1797 | ------------------------------------------------------- | |
1798 | --Start Attacks N Stuff-- | |
1799 | ------------------------------------------------------- | |
1800 | ||
1801 | function THEBESTOVERUSEDJOKEEVER() --oh god why did i make this a thing jeezus help me pls | |
1802 | attack = true | |
1803 | ||
1804 | hum.WalkSpeed = 40 | |
1805 | lul:Pause() | |
1806 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1807 | NEWS:Play() | |
1808 | repeat | |
1809 | NEWS.Parent = tors | |
1810 | swait() | |
1811 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
1812 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3) | |
1813 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
1814 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
1815 | RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1) | |
1816 | LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1) | |
1817 | until NEWS.Playing == false | |
1818 | local S = Instance.new("Explosion",workspace) | |
1819 | S.Position = tors.Position | |
1820 | S.BlastPressure = 999 | |
1821 | S.BlastRadius = 45 | |
1822 | S.ExplosionType = 0 | |
1823 | attack = false | |
1824 | hum.WalkSpeed = 40 | |
1825 | lul:Resume() | |
1826 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1827 | attack = false | |
1828 | hum.WalkSpeed = 40 | |
1829 | end | |
1830 | ||
1831 | function sneakonehundred() | |
1832 | attack = true | |
1833 | hum.WalkSpeed = 0.03 | |
1834 | Character.Head.face.Texture = "rbxassetid://1667792" | |
1835 | CreateSound("1542642349", tors, 10, 1.05) | |
1836 | for i = 0,20,0.1 do | |
1837 | swait() | |
1838 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15) | |
1839 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4) | |
1840 | 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) | |
1841 | 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) | |
1842 | RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(-180)), 0.4) | |
1843 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(180)), 0.4) | |
1844 | end | |
1845 | CreateSound("753450324", tors, 10, 1.05) | |
1846 | wait(0.25) | |
1847 | Character.Head.face.Texture = "rbxassetid://1223903433" | |
1848 | for i = 0,7,0.1 do | |
1849 | swait() | |
1850 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15) | |
1851 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4) | |
1852 | 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) | |
1853 | 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) | |
1854 | RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(-180)), 0.4) | |
1855 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(180)), 0.4) | |
1856 | end | |
1857 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1858 | attack = false | |
1859 | hum.WalkSpeed = 40 | |
1860 | end | |
1861 | ||
1862 | function WRY() --WRYYYYYYY | |
1863 | attack = true | |
1864 | hum.WalkSpeed = 0.30 | |
1865 | CreateSound("794081034", hed, 10, 1) | |
1866 | Character.Head.face.Texture = "rbxassetid://396389196" | |
1867 | for i = 0,2,0.1 do | |
1868 | swait() | |
1869 | CameraEnshaking(1, 2) | |
1870 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1871 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.3) | |
1872 | 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) | |
1873 | 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) | |
1874 | 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) | |
1875 | 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) | |
1876 | end | |
1877 | for i = 0,14.7,0.1 do | |
1878 | swait() | |
1879 | CameraEnshaking(1, 3) | |
1880 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 1, -1 + 0.1) * angles(Rad(-75), Rad(0), Rad(0)), 0.15) | |
1881 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(65), Rad(0), Rad(0)), 0.3) | |
1882 | 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) | |
1883 | 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) | |
1884 | 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) | |
1885 | 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) | |
1886 | end | |
1887 | attack = false | |
1888 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1889 | hum.WalkSpeed = 40 | |
1890 | end | |
1891 | ||
1892 | function DANCEFORME() | |
1893 | attack = true | |
1894 | texth.Text = "Squ?ling." | |
1895 | text.Text = "" | |
1896 | lul:Pause() | |
1897 | Character.Head.face.Texture = "rbxassetid://1676553712" | |
1898 | MERKIO:Play() | |
1899 | repeat | |
1900 | for i = 0,0.37,0.03 do | |
1901 | swait() | |
1902 | MERKIO.Parent = tors | |
1903 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8) | |
1904 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9) | |
1905 | RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) | |
1906 | LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) | |
1907 | RW.C0 = clerp(RW.C0, CF(1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(115)), 0.77) | |
1908 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-115)), 0.67) | |
1909 | end | |
1910 | for i = 0,0.37,0.03 do | |
1911 | swait() | |
1912 | MERKIO.Parent = tors | |
1913 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8) | |
1914 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9) | |
1915 | 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.8) | |
1916 | 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.8) | |
1917 | 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.7) | |
1918 | 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.7) | |
1919 | end | |
1920 | until MERKIO.Playing == false | |
1921 | MERKIO:Stop() | |
1922 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1923 | attack = false | |
1924 | lul:Resume() | |
1925 | texth.Text = "" | |
1926 | text.Text = "Noti?? " | |
1927 | hum.WalkSpeed = 40 | |
1928 | end | |
1929 | ||
1930 | function takethat() | |
1931 | attack = true | |
1932 | hum.WalkSpeed = 0 | |
1933 | CreateSound("1238240145", tors, 10, 1.05) | |
1934 | for i = 0,8.3,0.1 do | |
1935 | swait() | |
1936 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(90)), 0.7) | |
1937 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.7) | |
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.7) | |
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.7) | |
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(-.6), Rad(0)), 0.7) | |
1941 | 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.7) | |
1942 | end | |
1943 | CreateSound("135165859", tors, 10, 1.05) | |
1944 | for i = 0,6,0.1 do | |
1945 | swait() | |
1946 | rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
1947 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.85) | |
1948 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.7) | |
1949 | 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.7) | |
1950 | 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.7) | |
1951 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-.6), Rad(0)), 0.7) | |
1952 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(-.6), Rad(0 - 4.5 * Sin(sine / 20))), 0.7) | |
1953 | end | |
1954 | attack = false | |
1955 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1956 | hum.WalkSpeed = 40 | |
1957 | end | |
1958 | function thonki() | |
1959 | attack = true | |
1960 | text.Text = "Thinking..." | |
1961 | hum.WalkSpeed = 6.5 | |
1962 | Character.Head.face.Texture = "rbxassetid://1528105298" | |
1963 | thonks:Play() | |
1964 | lul:Pause() | |
1965 | repeat | |
1966 | for i = 0,8.3,0.1 do | |
1967 | swait() | |
1968 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(90)), 0.7) | |
1969 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.7) | |
1970 | 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.7) | |
1971 | 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.7) | |
1972 | 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(0)), 0.7) | |
1973 | 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.7) | |
1974 | end | |
1975 | until thonks.Playing == false | |
1976 | thonks:Stop() | |
1977 | attack = false | |
1978 | text.Text = "Noti?? " | |
1979 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1980 | lul:Resume() | |
1981 | hum.WalkSpeed = 40 | |
1982 | end | |
1983 | function kyu_will_break_your_neck_asdf_longest_function_name_ever_xd() | |
1984 | attack = true | |
1985 | Character.Head.face.Texture = "rbxassetid://266304560" | |
1986 | for i = 0,6,0.1 do | |
1987 | swait() | |
1988 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1989 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1990 | 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) | |
1991 | 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) | |
1992 | 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) | |
1993 | 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) | |
1994 | end | |
1995 | CreateSound("1093102664", hed, 10, 1) | |
1996 | CameraEnshaking(3, 8) | |
1997 | for i = 0,2,0.1 do | |
1998 | swait() | |
1999 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(5), Rad(0), Rad(0)), 0.15) | |
2000 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(40), Rad(0)), 0.4) | |
2001 | 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) | |
2002 | 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) | |
2003 | 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) | |
2004 | 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) | |
2005 | end | |
2006 | Character.Head.face.Texture = "rbxassetid://30128383" | |
2007 | hum.MaxHealth = 0 | |
2008 | ragdoll(char) | |
2009 | CreateSound("534269232", hed, 5, 1) | |
2010 | end | |
2011 | ||
2012 | function dead() | |
2013 | attack = true | |
2014 | hum.WalkSpeed = 0.20 | |
2015 | CreateSound("137225991", hed, 10, 1) | |
2016 | Character.Head.face.Texture = "rbxassetid://297512410" | |
2017 | for i = 0,1.1,0.1 do | |
2018 | swait() | |
2019 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2020 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2021 | 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) | |
2022 | 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) | |
2023 | 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) | |
2024 | 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) | |
2025 | end | |
2026 | for i = 0,1.1,0.1 do | |
2027 | swait() | |
2028 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(90), Rad(0)), 0.15) | |
2029 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2030 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15) | |
2031 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15) | |
2032 | 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) | |
2033 | 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) | |
2034 | end | |
2035 | for i = 0,1.1,0.1 do | |
2036 | swait() | |
2037 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(180), Rad(0)), 0.15) | |
2038 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2039 | 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) | |
2040 | 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) | |
2041 | 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) | |
2042 | 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) | |
2043 | end | |
2044 | for i = 0,1.1,0.1 do | |
2045 | swait() | |
2046 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(270), Rad(0)), 0.15) | |
2047 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2048 | 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) | |
2049 | 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) | |
2050 | 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) | |
2051 | 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) | |
2052 | end | |
2053 | for i = 0,1.1,0.1 do | |
2054 | swait() | |
2055 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2056 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2057 | 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) | |
2058 | 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) | |
2059 | 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) | |
2060 | 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) | |
2061 | end | |
2062 | for i = 0,1.1,0.1 do | |
2063 | swait() | |
2064 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(90), Rad(0)), 0.15) | |
2065 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2066 | 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) | |
2067 | 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) | |
2068 | 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) | |
2069 | 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) | |
2070 | end | |
2071 | for i = 0,1.1,0.1 do | |
2072 | swait() | |
2073 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(180), Rad(0)), 0.15) | |
2074 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2075 | 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) | |
2076 | 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) | |
2077 | 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) | |
2078 | 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) | |
2079 | end | |
2080 | for i = 0,1.1,0.1 do | |
2081 | swait() | |
2082 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(270), Rad(0)), 0.15) | |
2083 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2084 | 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) | |
2085 | 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) | |
2086 | 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) | |
2087 | 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) | |
2088 | end | |
2089 | for i = 0,1.1,0.1 do | |
2090 | swait() | |
2091 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2092 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2093 | 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) | |
2094 | 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) | |
2095 | 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) | |
2096 | 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) | |
2097 | end | |
2098 | Character.Head.face.Texture = "rbxassetid://273309187" | |
2099 | for i = 0,9,0.1 do | |
2100 | swait() | |
2101 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.59 + 0.1) * angles(Rad(-90), Rad(90), Rad(0)), 0.15) | |
2102 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
2103 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2104 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15) | |
2105 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(30)), 0.1) | |
2106 | 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) | |
2107 | end | |
2108 | attack = false | |
2109 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2110 | hum.WalkSpeed = 40 | |
2111 | end | |
2112 | ||
2113 | function ShutTheHellUp() | |
2114 | attack = true | |
2115 | hum.WalkSpeed = 2.01 | |
2116 | CreateSound("336377340", hed, 10, 1) | |
2117 | for i = 0,3,0.1 do | |
2118 | swait() | |
2119 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2120 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2121 | 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) | |
2122 | 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) | |
2123 | 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) | |
2124 | 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) | |
2125 | end | |
2126 | for i = 0,1.2,0.1 do | |
2127 | swait() | |
2128 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2129 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
2130 | 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) | |
2131 | 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) | |
2132 | 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) | |
2133 | 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) | |
2134 | end | |
2135 | for i = 0,1.2,0.1 do | |
2136 | swait() | |
2137 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2138 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3) | |
2139 | 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) | |
2140 | 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) | |
2141 | 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) | |
2142 | 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) | |
2143 | end | |
2144 | for i = 0,1.2,0.1 do | |
2145 | swait() | |
2146 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2147 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
2148 | 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) | |
2149 | 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) | |
2150 | 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) | |
2151 | 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) | |
2152 | end | |
2153 | for i = 0,1.2,0.1 do | |
2154 | swait() | |
2155 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2156 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3) | |
2157 | 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) | |
2158 | 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) | |
2159 | 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) | |
2160 | 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) | |
2161 | end | |
2162 | for i = 0,2,0.1 do | |
2163 | swait() | |
2164 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2165 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2166 | 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) | |
2167 | 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) | |
2168 | 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) | |
2169 | 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) | |
2170 | end | |
2171 | for i = 0,2,0.1 do | |
2172 | swait() | |
2173 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2174 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2175 | 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) | |
2176 | 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) | |
2177 | 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) | |
2178 | 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) | |
2179 | end | |
2180 | hum.WalkSpeed = 40 | |
2181 | attack = false | |
2182 | end | |
2183 | ||
2184 | function NO_U() | |
2185 | attack = true | |
2186 | hum.WalkSpeed = 4.01 | |
2187 | Character.Head.face.Texture = "rbxassetid://304904077" | |
2188 | CreateSound("1543318456", hed, 10, 1) | |
2189 | for i = 0,6,0.1 do | |
2190 | swait() | |
2191 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2192 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2193 | 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) | |
2194 | 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) | |
2195 | 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) | |
2196 | 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) | |
2197 | end | |
2198 | for i = 0,3.2,0.1 do | |
2199 | swait() | |
2200 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2201 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
2202 | 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) | |
2203 | 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) | |
2204 | 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) | |
2205 | 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) | |
2206 | end | |
2207 | hum.WalkSpeed = 40 | |
2208 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2209 | attack = false | |
2210 | end | |
2211 | ||
2212 | function EndMySufferingV2() | |
2213 | attack = true | |
2214 | hum.WalkSpeed = 1.01 | |
2215 | CreateSound("577475178", hed, 10, 1) | |
2216 | for i = 0,18,0.1 do | |
2217 | swait() | |
2218 | 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) | |
2219 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.3) | |
2220 | 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) | |
2221 | 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) | |
2222 | 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) | |
2223 | 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) | |
2224 | end | |
2225 | attack = false | |
2226 | hum.WalkSpeed = 40 | |
2227 | end | |
2228 | ||
2229 | function Victory() | |
2230 | attack = true | |
2231 | hum.WalkSpeed = 1.01 | |
2232 | Character.Head.face.Texture = "rbxassetid://616284160" | |
2233 | Humanoid.Jump = true | |
2234 | CreateSound("130834939", hed, 10, 1) | |
2235 | for i = 0,3.7,0.1 do | |
2236 | swait() | |
2237 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2238 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2239 | 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) | |
2240 | 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) | |
2241 | 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) | |
2242 | 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) | |
2243 | end | |
2244 | Humanoid.Jump = true | |
2245 | for i = 0,3.7,0.1 do | |
2246 | swait() | |
2247 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2248 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2249 | 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) | |
2250 | 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) | |
2251 | 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) | |
2252 | 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) | |
2253 | end | |
2254 | Humanoid.Jump = true | |
2255 | for i = 0,3.7,0.1 do | |
2256 | swait() | |
2257 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2258 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2259 | 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) | |
2260 | 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) | |
2261 | 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) | |
2262 | 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) | |
2263 | end | |
2264 | Humanoid.Jump = true | |
2265 | for i = 0,3.7,0.1 do | |
2266 | swait() | |
2267 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2268 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2269 | 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) | |
2270 | 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) | |
2271 | 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) | |
2272 | 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) | |
2273 | end | |
2274 | Humanoid.Jump = true | |
2275 | for i = 0,3.7,0.1 do | |
2276 | swait() | |
2277 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2278 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2279 | 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) | |
2280 | 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) | |
2281 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
2282 | 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) | |
2283 | end | |
2284 | attack = false | |
2285 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2286 | hum.WalkSpeed = 40 | |
2287 | end | |
2288 | ||
2289 | function WhatHuh() | |
2290 | attack = true | |
2291 | hum.WalkSpeed = 1.01 | |
2292 | CreateSound("130766865", hed, 10, 1) | |
2293 | Character.Head.face.Texture = "rbxassetid://276732672" | |
2294 | for i = 0,4,0.1 do | |
2295 | swait() | |
2296 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2297 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(26), Rad(0)), 0.3) | |
2298 | 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) | |
2299 | 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) | |
2300 | 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) | |
2301 | 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) | |
2302 | end | |
2303 | for i = 0,6.7,0.1 do | |
2304 | swait() | |
2305 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2306 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(-26), Rad(0)), 0.3) | |
2307 | 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) | |
2308 | 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) | |
2309 | 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) | |
2310 | 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) | |
2311 | end | |
2312 | for i = 0,8.1,0.1 do | |
2313 | swait() | |
2314 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2315 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(26), Rad(0)), 0.3) | |
2316 | 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) | |
2317 | 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) | |
2318 | 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) | |
2319 | 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) | |
2320 | end | |
2321 | for i = 0,1,0.1 do | |
2322 | swait() | |
2323 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2324 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(40), Rad(-26), Rad(0)), 0.3) | |
2325 | 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) | |
2326 | 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) | |
2327 | 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) | |
2328 | 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) | |
2329 | end | |
2330 | for i = 0,1,0.1 do | |
2331 | swait() | |
2332 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2333 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(40), Rad(26), Rad(0)), 0.3) | |
2334 | 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) | |
2335 | 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) | |
2336 | 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) | |
2337 | 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) | |
2338 | end | |
2339 | for i = 0,4,0.1 do | |
2340 | swait() | |
2341 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2342 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(-26), Rad(0)), 0.3) | |
2343 | 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) | |
2344 | 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) | |
2345 | 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) | |
2346 | 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) | |
2347 | end | |
2348 | attack = false | |
2349 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2350 | hum.WalkSpeed = 40 | |
2351 | end | |
2352 | ||
2353 | function kyu_will_break_your_neck_asdf_longest_function_name_ever_xd() | |
2354 | attack = true | |
2355 | Character.Head.face.Texture = "rbxassetid://266304560" | |
2356 | for i = 0,6,0.1 do | |
2357 | swait() | |
2358 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2359 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2360 | 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) | |
2361 | 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) | |
2362 | 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) | |
2363 | 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) | |
2364 | end | |
2365 | CreateSound("1093102664", hed, 10, 1) | |
2366 | CameraEnshaking(3, 8) | |
2367 | for i = 0,2,0.1 do | |
2368 | swait() | |
2369 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(5), Rad(0), Rad(0)), 0.15) | |
2370 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(40), Rad(0)), 0.4) | |
2371 | 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) | |
2372 | 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) | |
2373 | 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) | |
2374 | 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) | |
2375 | end | |
2376 | Character.Head.face.Texture = "rbxassetid://30128383" | |
2377 | hum.MaxHealth = 0 | |
2378 | ragdoll(char) | |
2379 | CreateSound("534269232", hed, 5, 1) | |
2380 | end | |
2381 | ||
2382 | function AnotherOne() --WhAT ANOTHER ONE | |
2383 | attack = true | |
2384 | hum.WalkSpeed = 1.01 | |
2385 | local icri = CreateSound("1205111204", hed, 10, 1) | |
2386 | swait(165) | |
2387 | local FRAME = tors.CFrame | |
2388 | repeat | |
2389 | swait() | |
2390 | Character.Head.face.Texture = "rbxassetid://582931093" | |
2391 | CameraEnshaking(1, 10) | |
2392 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2393 | 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) | |
2394 | 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) | |
2395 | 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) | |
2396 | 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) | |
2397 | tors.CFrame = FRAME * CF(0,1,0) | |
2398 | swait() | |
2399 | tors.CFrame = FRAME | |
2400 | until icri.Playing == false | |
2401 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2402 | attack = false | |
2403 | hum.WalkSpeed = 40 | |
2404 | end | |
2405 | ||
2406 | ||
2407 | function NEN() | |
2408 | attack = true | |
2409 | hum.WalkSpeed = 1.01 | |
2410 | CreateSound("230292011", hed, 10, 1) | |
2411 | Character.Head.face.Texture = "rbxassetid://705269463" | |
2412 | for i = 0,4,0.1 do | |
2413 | swait() | |
2414 | CameraEnshaking(1, 3) | |
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(-90), 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(0)), 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(0)), 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(0), Rad(0), Rad(120)), 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(0), Rad(0), Rad(-120)), 0.1) | |
2421 | end | |
2422 | attack = false | |
2423 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2424 | hum.WalkSpeed = 40 | |
2425 | end | |
2426 | ||
2427 | function Ashes() --Straight from... Whatever it was called. | |
2428 | attack = true | |
2429 | hum.WalkSpeed = 1.01 | |
2430 | Character.Head.face.Texture = "rbxassetid://360687027" | |
2431 | CreateSound("290084602", tors, 10, 1) | |
2432 | for i = 0,6.2,0.1 do | |
2433 | swait() | |
2434 | 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) | |
2435 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30), Rad(0), Rad(0)), 0.3) | |
2436 | 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) | |
2437 | 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) | |
2438 | 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) | |
2439 | 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) | |
2440 | end | |
2441 | for i = 0,6.2,0.1 do | |
2442 | swait() | |
2443 | 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) | |
2444 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2445 | 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) | |
2446 | 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) | |
2447 | 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) | |
2448 | 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) | |
2449 | end | |
2450 | attack = false | |
2451 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2452 | hum.WalkSpeed = 40 | |
2453 | end | |
2454 | ||
2455 | ||
2456 | function BOI() | |
2457 | attack = true | |
2458 | hum.WalkSpeed = 1.01 | |
2459 | CreateSound("390901873", hed, 10, 1) | |
2460 | Character.Head.face.Texture = "rbxassetid://282463320" | |
2461 | for i = 0,4,0.1 do | |
2462 | swait() | |
2463 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2464 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2465 | 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) | |
2466 | 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) | |
2467 | 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) | |
2468 | 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) | |
2469 | end | |
2470 | for i = 0,4,0.1 do | |
2471 | swait() | |
2472 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2473 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.3) | |
2474 | 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) | |
2475 | 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) | |
2476 | 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) | |
2477 | 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) | |
2478 | end | |
2479 | attack = false | |
2480 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2481 | hum.WalkSpeed = 40 | |
2482 | end | |
2483 | ||
2484 | function DrinkdaDrink() | |
2485 | attack = true | |
2486 | RHe.Transparency = 0 | |
2487 | hum.WalkSpeed = 3 | |
2488 | local Munch = CreateSound("554208103", hed, 5, 1) | |
2489 | swait(2) | |
2490 | repeat | |
2491 | for i = 0,6,0.1 do | |
2492 | swait() | |
2493 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.3) | |
2494 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-35 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2495 | RH.C0 = clerp(RH.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3) | |
2496 | LH.C0 = clerp(LH.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3) | |
2497 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.1 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(160), Rad(0), Rad(-35)), 0.1) | |
2498 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3) | |
2499 | end | |
2500 | until Munch.Playing == false | |
2501 | hum.WalkSpeed = 40 | |
2502 | RHe.Transparency = 1 | |
2503 | attack = false | |
2504 | end | |
2505 | ||
2506 | function EatdaChips() | |
2507 | attack = true | |
2508 | RHk.Transparency = 0 | |
2509 | hum.WalkSpeed = 3 | |
2510 | local Muncha = CreateSound("1575472350", hed, 5, 1) | |
2511 | swait(2) | |
2512 | repeat | |
2513 | for i = 0,6,0.1 do | |
2514 | swait() | |
2515 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.3) | |
2516 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-35 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2517 | RH.C0 = clerp(RH.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3) | |
2518 | LH.C0 = clerp(LH.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3) | |
2519 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.1 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(160), Rad(0), Rad(-35)), 0.1) | |
2520 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3) | |
2521 | end | |
2522 | until Muncha.Playing == false | |
2523 | hum.WalkSpeed = 40 | |
2524 | RHk.Transparency = 1 | |
2525 | attack = false | |
2526 | end | |
2527 | ||
2528 | function Sittyboi() | |
2529 | attack = true | |
2530 | lul:Pause() | |
2531 | text.Text = "Waiting..." | |
2532 | AAAAA.SoundId = "rbxassetid://1239136800" | |
2533 | AAAAA.TimePosition = 0 | |
2534 | AAAAA:Play() | |
2535 | hum.WalkSpeed = 0 | |
2536 | repeat | |
2537 | swait() | |
2538 | for i = 0, 1, 0.1 do | |
2539 | swait() | |
2540 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1.6 + 0.1 * Player_Size * Cos(sine / 20)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1) | |
2541 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
2542 | RH.C0 = clerp(RH.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(75), Rad(0), Rad(5)), 0.1) | |
2543 | LH.C0 = clerp(LH.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(75), Rad(0), Rad(-5)), 0.1) | |
2544 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1) | |
2545 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-15), Rad(20), Rad(-15)), 0.1) | |
2546 | end | |
2547 | until AAAAA.Playing == false | |
2548 | attack = false | |
2549 | AAAAA:Stop() | |
2550 | lul:Resume() | |
2551 | text.Text = "Noti?? " | |
2552 | hum.WalkSpeed = 40 | |
2553 | end | |
2554 | ||
2555 | function HELP() | |
2556 | attack = true | |
2557 | hum.WalkSpeed = 1.01 | |
2558 | Character.Head.face.Texture = "rbxassetid://307972876" | |
2559 | CreateSound("1123321019", hed, 10, 1) | |
2560 | for i = 0,15,0.1 do | |
2561 | swait() | |
2562 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2563 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2564 | RH.C0 = clerp(RH.C0, CF(0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2565 | LH.C0 = clerp(LH.C0, CF(-0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2566 | RW.C0 = clerp(RW.C0, CF(0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
2567 | 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) | |
2568 | end | |
2569 | CreateSound("198462271", hed, 10, 1) | |
2570 | for i = 0,8,0.1 do | |
2571 | Character.Head.face.Texture = "rbxassetid://341497730" | |
2572 | swait() | |
2573 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2574 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2575 | 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) | |
2576 | 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) | |
2577 | 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) | |
2578 | 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) | |
2579 | end | |
2580 | for i = 0,8,0.1 do | |
2581 | Character.Head.face.Texture = "rbxassetid://341497730" | |
2582 | swait() | |
2583 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2584 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(60), Rad(0), Rad(0)), 0.3) | |
2585 | 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) | |
2586 | 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) | |
2587 | 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) | |
2588 | 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) | |
2589 | end | |
2590 | CreateSound("948494432", hed, 10, 1) | |
2591 | for i = 0,7.5,0.1 do | |
2592 | Character.Head.face.Texture = "rbxassetid://249062487" | |
2593 | swait() | |
2594 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2595 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(60), Rad(0), Rad(0)), 0.3) | |
2596 | 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) | |
2597 | 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) | |
2598 | 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) | |
2599 | 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) | |
2600 | end | |
2601 | CreateSound("1542642349", hed, 10, 1) | |
2602 | for i = 0,10,0.1 do | |
2603 | Character.Head.face.Texture = "rbxassetid://270636807" | |
2604 | swait() | |
2605 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2606 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2607 | 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) | |
2608 | 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) | |
2609 | 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) | |
2610 | 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) | |
2611 | end | |
2612 | CreateSound("269597232", hed, 10, 1) | |
2613 | for i = 0,6,0.1 do | |
2614 | Character.Head.face.Texture = "rbxassetid://265057155" | |
2615 | swait() | |
2616 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2617 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2618 | 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) | |
2619 | 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) | |
2620 | 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) | |
2621 | 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) | |
2622 | end | |
2623 | attack = false | |
2624 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2625 | hum.WalkSpeed = 40 | |
2626 | end | |
2627 | ||
2628 | danci = false | |
2629 | ||
2630 | function dingidongo() --my head burns | |
2631 | attack = true | |
2632 | danci = true | |
2633 | hum.WalkSpeed = 27.6 | |
2634 | texth.Text = "Having a Seizure." | |
2635 | text.Text = "" | |
2636 | gudsong:Play() | |
2637 | lul:Pause() | |
2638 | gudsong.TimePosition = 6.6 | |
2639 | Character.Head.face.Texture = "rbxassetid://315792941" | |
2640 | repeat | |
2641 | for i = 0,1.87,0.23 do | |
2642 | swait() | |
2643 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8) | |
2644 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9) | |
2645 | RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) | |
2646 | LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) | |
2647 | RW.C0 = clerp(RW.C0, CF(1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(115)), 0.77) | |
2648 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-115)), 0.67) | |
2649 | end | |
2650 | if gudsong.TimePosition == 11.937 then | |
2651 | gudsong.TimePosition = 6.6 | |
2652 | end | |
2653 | for i = 0,1.87,0.23 do | |
2654 | swait() | |
2655 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8) | |
2656 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9) | |
2657 | 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.8) | |
2658 | 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.8) | |
2659 | 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.7) | |
2660 | 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.7) | |
2661 | end | |
2662 | until danci == false | |
2663 | gudsong:Stop() | |
2664 | attack = false | |
2665 | lul:Resume() | |
2666 | texth.Text = "" | |
2667 | text.Text = "Noti?? " | |
2668 | attack = false | |
2669 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2670 | hum.WalkSpeed = 40 | |
2671 | end | |
2672 | ||
2673 | function hap() --much hap | |
2674 | attack = true | |
2675 | hum.WalkSpeed = 0.10 | |
2676 | CreateSound("363808674", hed, 10, 1) | |
2677 | Character.Head.face.Texture = "rbxassetid://315792941" | |
2678 | for i = 0,12,0.1 do | |
2679 | swait() | |
2680 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2681 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(180)), 0.3) | |
2682 | 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) | |
2683 | 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) | |
2684 | 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) | |
2685 | 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) | |
2686 | end | |
2687 | CreateSound("233168827", hed, 10, 1) | |
2688 | Character.Head.face.Texture = "rbxassetid://335761015" | |
2689 | for i = 0,10,0.1 do | |
2690 | swait() | |
2691 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2692 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(180)), 0.3) | |
2693 | 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) | |
2694 | 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) | |
2695 | 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) | |
2696 | 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) | |
2697 | end | |
2698 | CreateSound("363808674", hed, 10, 1) | |
2699 | attack = false | |
2700 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2701 | hum.WalkSpeed = 40 | |
2702 | end | |
2703 | ||
2704 | function Gumilol() | |
2705 | attack = true | |
2706 | hum.WalkSpeed = 0 | |
2707 | local Senses = CreateSound("605297168", hed, 6, 1) | |
2708 | swait(2) | |
2709 | repeat | |
2710 | swait() | |
2711 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.2) | |
2712 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.2) | |
2713 | RH.C0 = clerp(RH.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.2) | |
2714 | LH.C0 = clerp(LH.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.2) | |
2715 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.2) | |
2716 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.2) | |
2717 | until Senses.TimePosition > 2.7 | |
2718 | for i = 0, 3, 0.1 do | |
2719 | swait() | |
2720 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size) * angles(Rad(-30), Rad(0), Rad(0)), 0.5) | |
2721 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5) | |
2722 | RH.C0 = clerp(RH.C0, CF(0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.5) | |
2723 | LH.C0 = clerp(LH.C0, CF(-0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.5) | |
2724 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.5) | |
2725 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5) | |
2726 | end | |
2727 | root.Anchored = true | |
2728 | repeat | |
2729 | swait() | |
2730 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.7 + 0.1* Player_Size) * angles(Rad(90), Rad(0), Rad(0)), 0.5) | |
2731 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5) | |
2732 | RH.C0 = clerp(RH.C0, CF(0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.5) | |
2733 | LH.C0 = clerp(LH.C0, CF(-0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.5) | |
2734 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.5) | |
2735 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5) | |
2736 | until Senses.Playing == false | |
2737 | hum.WalkSpeed = 40 | |
2738 | attack = false | |
2739 | root.Anchored = false | |
2740 | end | |
2741 | function oofmyass() | |
2742 | attack = true | |
2743 | hum.WalkSpeed = 0 | |
2744 | CreateSound("663306786", tors, 3, 1) | |
2745 | for i = 0, 12, 0.1 do | |
2746 | swait() | |
2747 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0 + 1 * i * Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.1) | |
2748 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
2749 | RH.C0 = clerp(RH.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(47), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
2750 | LH.C0 = clerp(LH.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
2751 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1) | |
2752 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(143), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) | |
2753 | end | |
2754 | CreateSound("663307468", tors, 6, 1) | |
2755 | for i = 0, 6, 0.1 do | |
2756 | swait() | |
2757 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 4500 * Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2758 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
2759 | RH.C0 = clerp(RH.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(47), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
2760 | LH.C0 = clerp(LH.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
2761 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1) | |
2762 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(156), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) | |
2763 | end | |
2764 | hum.WalkSpeed = 40 | |
2765 | attack = false | |
2766 | end | |
2767 | function WoodyGotWood() | |
2768 | attack = true | |
2769 | hum.WalkSpeed = 0 | |
2770 | local Woodlenny = CreateSound("1764642350", hed, 6, 1) | |
2771 | swait(2) | |
2772 | repeat | |
2773 | swait() | |
2774 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 5)) * angles(Rad(20), Rad(0), Rad(5)), 0.2) | |
2775 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20), Rad(0), Rad(-5 - 15 * Sin(sine / 20))), 0.2) | |
2776 | RH.C0 = clerp(RH.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.2) | |
2777 | LH.C0 = clerp(LH.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.2) | |
2778 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.2) | |
2779 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(0), Rad(-10)), 0.2) | |
2780 | until Woodlenny.TimePosition > 3.6 | |
2781 | root.Anchored = true | |
2782 | repeat | |
2783 | swait() | |
2784 | for i = 0, 2, 0.1 do | |
2785 | swait() | |
2786 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.7 + 0.1* Player_Size) * angles(Rad(-90), Rad(0), Rad(0)), 0.5) | |
2787 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5) | |
2788 | RH.C0 = clerp(RH.C0, CF(0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.5) | |
2789 | LH.C0 = clerp(LH.C0, CF(-0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.5) | |
2790 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(90)), 0.5) | |
2791 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5) | |
2792 | end | |
2793 | for i = 0, 1.6, 0.1 do | |
2794 | swait() | |
2795 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.4 + 0.1* Player_Size) * angles(Rad(-90), Rad(0), Rad(0)), 0.5) | |
2796 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5) | |
2797 | RH.C0 = clerp(RH.C0, CF(0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.5) | |
2798 | LH.C0 = clerp(LH.C0, CF(-0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.5) | |
2799 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(75)), 0.5) | |
2800 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-75)), 0.5) | |
2801 | end | |
2802 | until Woodlenny.Playing == false | |
2803 | hum.WalkSpeed = 40 | |
2804 | attack = false | |
2805 | root.Anchored = false | |
2806 | end | |
2807 | ||
2808 | function LeChange() | |
2809 | attack = true | |
2810 | hum.WalkSpeed = 40 | |
2811 | lul.Pitch = 1 | |
2812 | lul:Stop() | |
2813 | local mue = math.random(1,14) | |
2814 | if mue == 1 then | |
2815 | lul.SoundId = "rbxassetid://193889412" | |
2816 | end | |
2817 | if mue == 2 then | |
2818 | lul.SoundId = "rbxassetid://274690929" | |
2819 | end | |
2820 | if mue == 3 then | |
2821 | lul.SoundId = "rbxassetid://1241998626" | |
2822 | end | |
2823 | if mue == 4 then | |
2824 | lul.SoundId = "rbxassetid://1878962648" | |
2825 | end | |
2826 | if mue == 5 then | |
2827 | lul.SoundId = "rbxassetid://185117072" | |
2828 | end | |
2829 | if mue == 6 then | |
2830 | lul.SoundId = "rbxassetid://295856024" | |
2831 | end | |
2832 | if mue == 7 then | |
2833 | lul.SoundId = "rbxassetid://2054013600" | |
2834 | end | |
2835 | if mue == 8 then | |
2836 | lul.SoundId = "rbxassetid://1463709693" | |
2837 | lul.Pitch = 1.4 | |
2838 | end | |
2839 | if mue == 9 then | |
2840 | lul.SoundId = "rbxassetid://575705300" | |
2841 | end | |
2842 | if mue == 10 then | |
2843 | lul.SoundId = "rbxassetid://142924062" | |
2844 | end | |
2845 | if mue == 11 then | |
2846 | lul.SoundId = "rbxassetid://251072363" | |
2847 | end | |
2848 | if mue == 12 then | |
2849 | lul.SoundId = "rbxassetid://731061980" | |
2850 | end | |
2851 | if mue == 13 then | |
2852 | lul.SoundId = "rbxassetid://455682677" | |
2853 | end | |
2854 | if mue == 14 then | |
2855 | lul.SoundId = "rbxassetid://1283123885" | |
2856 | end | |
2857 | hum.WalkSpeed = 40 | |
2858 | lul:Play() | |
2859 | attack = false | |
2860 | root.Anchored = false | |
2861 | end | |
2862 | ||
2863 | function SCREAM() | |
2864 | attack = true | |
2865 | hum.WalkSpeed = 70 | |
2866 | lul:Pause() | |
2867 | Character.Head.face.Texture = "rbxassetid://1667792" | |
2868 | local A = math.random(1,83) | |
2869 | if A == 1 then | |
2870 | AAAAA.SoundId = "rbxassetid://580806904" | |
2871 | AAAAA.TimePosition = 0 | |
2872 | end | |
2873 | if A == 2 then | |
2874 | AAAAA.SoundId = "rbxassetid://569124237" | |
2875 | AAAAA.TimePosition = 0 | |
2876 | end | |
2877 | if A == 3 then | |
2878 | AAAAA.SoundId = "rbxassetid://824995694" | |
2879 | AAAAA.TimePosition = 0 | |
2880 | end | |
2881 | if A == 4 then | |
2882 | AAAAA.SoundId = "rbxassetid://619398081" | |
2883 | AAAAA.TimePosition = 0 | |
2884 | end | |
2885 | if A == 5 then | |
2886 | AAAAA.SoundId = "rbxassetid://561567000" | |
2887 | AAAAA.TimePosition = 0 | |
2888 | end | |
2889 | if A == 6 then | |
2890 | AAAAA.SoundId = "rbxassetid://780544434" | |
2891 | AAAAA.TimePosition = 0 | |
2892 | end | |
2893 | if A == 7 then | |
2894 | AAAAA.SoundId = "rbxassetid://1127778994" | |
2895 | AAAAA.TimePosition = 0 | |
2896 | end | |
2897 | if A == 8 then | |
2898 | AAAAA.SoundId = "rbxassetid://2016152738" | |
2899 | AAAAA.TimePosition = 0 | |
2900 | end | |
2901 | if A == 9 then | |
2902 | AAAAA.SoundId = "rbxassetid://1649268255" | |
2903 | AAAAA.TimePosition = 0 | |
2904 | end | |
2905 | if A == 10 then | |
2906 | AAAAA.SoundId = "rbxassetid://318925857" | |
2907 | AAAAA.TimePosition = 0 | |
2908 | end | |
2909 | if A == 11 then | |
2910 | AAAAA.SoundId = "rbxassetid://1231447409" | |
2911 | AAAAA.TimePosition = 0 | |
2912 | end | |
2913 | if A == 12 then | |
2914 | AAAAA.SoundId = "rbxassetid://1173662546" | |
2915 | AAAAA.TimePosition = 0 | |
2916 | end | |
2917 | if A == 13 then | |
2918 | AAAAA.SoundId = "rbxassetid://1731102335" | |
2919 | AAAAA.TimePosition = 0 | |
2920 | end | |
2921 | if A == 14 then | |
2922 | AAAAA.SoundId = "rbxassetid://597084853" | |
2923 | AAAAA.TimePosition = 0 | |
2924 | end | |
2925 | if A == 15 then | |
2926 | AAAAA.SoundId = "rbxassetid://255219578" | |
2927 | AAAAA.TimePosition = 0 | |
2928 | end | |
2929 | if A == 16 then | |
2930 | AAAAA.SoundId = "rbxassetid://968042399" | |
2931 | AAAAA.TimePosition = 0 | |
2932 | end | |
2933 | if A == 17 then | |
2934 | AAAAA.SoundId = "rbxassetid://2088388847" | |
2935 | AAAAA.TimePosition = 0 | |
2936 | end | |
2937 | if A == 18 then | |
2938 | AAAAA.SoundId = "rbxassetid://1958305455" | |
2939 | AAAAA.TimePosition = 0 | |
2940 | end | |
2941 | if A == 19 then | |
2942 | AAAAA.SoundId = "rbxassetid://1171758804" | |
2943 | AAAAA.TimePosition = 0 | |
2944 | end | |
2945 | if A == 20 then | |
2946 | AAAAA.SoundId = "rbxassetid://1453459167" | |
2947 | AAAAA.TimePosition = 0 | |
2948 | end | |
2949 | if A == 21 then | |
2950 | AAAAA.SoundId = "rbxassetid://2000897208" | |
2951 | AAAAA.TimePosition = 0 | |
2952 | end | |
2953 | if A == 22 then | |
2954 | AAAAA.SoundId = "rbxassetid://841541884" | |
2955 | AAAAA.TimePosition = 0 | |
2956 | end | |
2957 | if A == 23 then | |
2958 | AAAAA.SoundId = "rbxassetid://839044936" | |
2959 | AAAAA.TimePosition = 0 | |
2960 | end | |
2961 | if A == 24 then | |
2962 | AAAAA.SoundId = "rbxassetid://520168377" | |
2963 | AAAAA.TimePosition = 0 | |
2964 | end | |
2965 | if A == 25 then | |
2966 | AAAAA.SoundId = "rbxassetid://655669511" | |
2967 | AAAAA.TimePosition = 0 | |
2968 | end | |
2969 | if A == 26 then | |
2970 | AAAAA.SoundId = "rbxassetid://1125711065" | |
2971 | AAAAA.TimePosition = 0 | |
2972 | end | |
2973 | if A == 27 then | |
2974 | AAAAA.SoundId = "rbxassetid://482886779" | |
2975 | AAAAA.TimePosition = 0 | |
2976 | end | |
2977 | if A == 28 then | |
2978 | AAAAA.SoundId = "rbxassetid://470406966" | |
2979 | AAAAA.TimePosition = 0 | |
2980 | end | |
2981 | if A == 29 then | |
2982 | AAAAA.SoundId = "rbxassetid://363239413" | |
2983 | AAAAA.TimePosition = 0 | |
2984 | end | |
2985 | if A == 30 then | |
2986 | AAAAA.SoundId = "rbxassetid://1183260037" | |
2987 | AAAAA.TimePosition = 0 | |
2988 | end | |
2989 | if A == 31 then | |
2990 | AAAAA.SoundId = "rbxassetid://644321050" | |
2991 | AAAAA.TimePosition = 0 | |
2992 | end | |
2993 | if A == 32 then | |
2994 | AAAAA.SoundId = "rbxassetid://962124783" | |
2995 | AAAAA.TimePosition = 0 | |
2996 | end | |
2997 | if A == 33 then | |
2998 | AAAAA.SoundId = "rbxassetid://328782098" | |
2999 | AAAAA.TimePosition = 0 | |
3000 | end | |
3001 | if A == 34 then | |
3002 | AAAAA.SoundId = "rbxassetid://1868475933" | |
3003 | AAAAA.TimePosition = 0 | |
3004 | end | |
3005 | if A == 35 then | |
3006 | AAAAA.SoundId = "rbxassetid://606775826" | |
3007 | AAAAA.TimePosition = 0 | |
3008 | end | |
3009 | if A == 36 then | |
3010 | AAAAA.SoundId = "rbxassetid://299132320" | |
3011 | AAAAA.TimePosition = 0 | |
3012 | end | |
3013 | if A == 37 then | |
3014 | AAAAA.SoundId = "rbxassetid://153109732" | |
3015 | AAAAA.TimePosition = 0 | |
3016 | end | |
3017 | if A == 37 then | |
3018 | AAAAA.SoundId = "rbxassetid://457506669" | |
3019 | AAAAA.TimePosition = 0 | |
3020 | end | |
3021 | if A == 38 then | |
3022 | AAAAA.SoundId = "rbxassetid://335628150" | |
3023 | AAAAA.TimePosition = 0 | |
3024 | end | |
3025 | if A == 39 then | |
3026 | AAAAA.SoundId = "rbxassetid://488032404" | |
3027 | AAAAA.TimePosition = 0 | |
3028 | end | |
3029 | if A == 40 then | |
3030 | AAAAA.SoundId = "rbxassetid://1375131348" | |
3031 | AAAAA.TimePosition = 0 | |
3032 | end | |
3033 | if A == 41 then | |
3034 | AAAAA.SoundId = "rbxassetid://1314602285" | |
3035 | AAAAA.TimePosition = 0 | |
3036 | end | |
3037 | if A == 42 then | |
3038 | AAAAA.SoundId = "rbxassetid://744281932" | |
3039 | AAAAA.TimePosition = 0 | |
3040 | end | |
3041 | if A == 43 then | |
3042 | AAAAA.SoundId = "rbxassetid://434976383" | |
3043 | AAAAA.TimePosition = 0 | |
3044 | end | |
3045 | if A == 44 then | |
3046 | AAAAA.SoundId = "rbxassetid://1842306658" | |
3047 | AAAAA.TimePosition = 0 | |
3048 | end | |
3049 | if A == 45 then | |
3050 | AAAAA.SoundId = "rbxassetid://643472343" | |
3051 | AAAAA.TimePosition = 0 | |
3052 | end | |
3053 | if A == 46 then | |
3054 | AAAAA.SoundId = "rbxassetid://221258319" | |
3055 | AAAAA.TimePosition = 0 | |
3056 | end | |
3057 | if A == 47 then | |
3058 | AAAAA.SoundId = "rbxassetid://1679015957" | |
3059 | AAAAA.TimePosition = 0 | |
3060 | end | |
3061 | if A == 48 then | |
3062 | AAAAA.SoundId = "rbxassetid://567908972" | |
3063 | AAAAA.TimePosition = 0 | |
3064 | end | |
3065 | if A == 49 then | |
3066 | AAAAA.SoundId = "rbxassetid://717014037" | |
3067 | AAAAA.TimePosition = 0 | |
3068 | end | |
3069 | if A == 50 then | |
3070 | AAAAA.SoundId = "rbxassetid://744323533" | |
3071 | AAAAA.TimePosition = 0 | |
3072 | end | |
3073 | if A == 51 then | |
3074 | AAAAA.SoundId = "rbxassetid://889774006" | |
3075 | AAAAA.TimePosition = 0 | |
3076 | end | |
3077 | if A == 52 then | |
3078 | AAAAA.SoundId = "rbxassetid://167137736" | |
3079 | AAAAA.TimePosition = 0 | |
3080 | end | |
3081 | if A == 53 then | |
3082 | AAAAA.SoundId = "rbxassetid://251074756" | |
3083 | AAAAA.TimePosition = 0 | |
3084 | end | |
3085 | if A == 54 then | |
3086 | AAAAA.SoundId = "rbxassetid://977558364" | |
3087 | AAAAA.TimePosition = 0 | |
3088 | end | |
3089 | if A == 55 then | |
3090 | AAAAA.SoundId = "rbxassetid://328728034" | |
3091 | AAAAA.TimePosition = 0 | |
3092 | end | |
3093 | if A == 56 then | |
3094 | AAAAA.SoundId = "rbxassetid://1266243649" | |
3095 | AAAAA.TimePosition = 0 | |
3096 | end | |
3097 | if A == 57 then | |
3098 | AAAAA.SoundId = "rbxassetid://964618925" | |
3099 | AAAAA.TimePosition = 0 | |
3100 | end | |
3101 | if A == 58 then | |
3102 | AAAAA.SoundId = "rbxassetid://1803630339" | |
3103 | AAAAA.TimePosition = 0 | |
3104 | end | |
3105 | if A == 59 then | |
3106 | AAAAA.SoundId = "rbxassetid://840189092" | |
3107 | AAAAA.TimePosition = 0 | |
3108 | end | |
3109 | if A == 60 then | |
3110 | AAAAA.SoundId = "rbxassetid://1559029429" | |
3111 | AAAAA.TimePosition = 0 | |
3112 | end | |
3113 | if A == 61 then | |
3114 | AAAAA.SoundId = "rbxassetid://1638542850" | |
3115 | AAAAA.TimePosition = 0 | |
3116 | end | |
3117 | if A == 62 then | |
3118 | AAAAA.SoundId = "rbxassetid://803576871" | |
3119 | AAAAA.TimePosition = 0 | |
3120 | end | |
3121 | if A == 63 then | |
3122 | AAAAA.SoundId = "rbxassetid://698882646" | |
3123 | AAAAA.TimePosition = 0 | |
3124 | end | |
3125 | if A == 64 then | |
3126 | AAAAA.SoundId = "rbxassetid://1151976352" | |
3127 | AAAAA.TimePosition = 0 | |
3128 | end | |
3129 | if A == 65 then | |
3130 | AAAAA.SoundId = "rbxassetid://406116544" | |
3131 | AAAAA.TimePosition = 0 | |
3132 | end | |
3133 | if A == 66 then | |
3134 | AAAAA.SoundId = "rbxassetid://316022829" | |
3135 | AAAAA.TimePosition = 0 | |
3136 | end | |
3137 | if A == 67 then | |
3138 | AAAAA.SoundId = "rbxassetid://171914461" | |
3139 | AAAAA.TimePosition = 0 | |
3140 | end | |
3141 | if A == 68 then | |
3142 | AAAAA.SoundId = "rbxassetid://287491840" | |
3143 | AAAAA.TimePosition = 0 | |
3144 | end | |
3145 | if A == 69 then | |
3146 | AAAAA.SoundId = "rbxassetid://430752531" | |
3147 | AAAAA.TimePosition = 0 | |
3148 | end | |
3149 | if A == 70 then | |
3150 | AAAAA.SoundId = "rbxassetid://531023877" | |
3151 | AAAAA.TimePosition = 0 | |
3152 | end | |
3153 | if A == 71 then | |
3154 | AAAAA.SoundId = "rbxassetid://271588868" | |
3155 | AAAAA.TimePosition = 0 | |
3156 | end | |
3157 | if A == 72 then | |
3158 | AAAAA.SoundId = "rbxassetid://602958674" | |
3159 | AAAAA.TimePosition = 0 | |
3160 | end | |
3161 | if A == 73 then | |
3162 | AAAAA.SoundId = "rbxassetid://899472110" | |
3163 | AAAAA.TimePosition = 0 | |
3164 | end | |
3165 | if A == 74 then | |
3166 | AAAAA.SoundId = "rbxassetid://793986125" | |
3167 | AAAAA.TimePosition = 0 | |
3168 | end | |
3169 | if A == 75 then | |
3170 | AAAAA.SoundId = "rbxassetid://317643401" | |
3171 | AAAAA.TimePosition = 0 | |
3172 | end | |
3173 | if A == 76 then | |
3174 | AAAAA.SoundId = "rbxassetid://427265119" | |
3175 | AAAAA.TimePosition = 0 | |
3176 | end | |
3177 | if A == 77 then | |
3178 | AAAAA.SoundId = "rbxassetid://318250043" | |
3179 | AAAAA.TimePosition = 0 | |
3180 | end | |
3181 | if A == 78 then | |
3182 | AAAAA.SoundId = "rbxassetid://272135781" | |
3183 | AAAAA.TimePosition = 0 | |
3184 | end | |
3185 | if A == 79 then | |
3186 | AAAAA.SoundId = "rbxassetid://302662929" | |
3187 | AAAAA.TimePosition = 0 | |
3188 | end | |
3189 | if A == 80 then | |
3190 | AAAAA.SoundId = "rbxassetid://1226918619" | |
3191 | AAAAA.TimePosition = 0 | |
3192 | end | |
3193 | if A == 81 then | |
3194 | AAAAA.SoundId = "rbxassetid://973891000" | |
3195 | AAAAA.TimePosition = 0 | |
3196 | end | |
3197 | if A == 82 then | |
3198 | AAAAA.SoundId = "rbxassetid://1002843959" | |
3199 | AAAAA.TimePosition = 0 | |
3200 | end | |
3201 | if A == 83 then | |
3202 | AAAAA.SoundId = "rbxassetid://1441494988" | |
3203 | AAAAA.TimePosition = 0 | |
3204 | end | |
3205 | AAAAA:Play() | |
3206 | repeat | |
3207 | swait() | |
3208 | AAAAA.Parent = tors | |
3209 | rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
3210 | until AAAAA.Playing == false | |
3211 | hum.WalkSpeed = 40 | |
3212 | attack = false | |
3213 | lul:Resume() | |
3214 | Character.Head.face.Texture = "rbxassetid://620619801" | |
3215 | hum.WalkSpeed = 40 | |
3216 | end | |
3217 | ||
3218 | lolxdtest = false --dont remove or script wont work | |
3219 | MoreTaunts = false | |
3220 | mouse.KeyDown:connect(function(key) | |
3221 | if key == 'm' then | |
3222 | MERKIO:Stop() | |
3223 | AAAAA:Stop() | |
3224 | thonks:Stop() | |
3225 | danci = false | |
3226 | elseif key == 'n' and angery == true then | |
3227 | angery = false | |
3228 | MoreTaunts = false | |
3229 | print"Back to normal Taunts" | |
3230 | end | |
3231 | if attack == false then | |
3232 | if lolxdtest == false then | |
3233 | if key == 'q' then | |
3234 | THEBESTOVERUSEDJOKEEVER() | |
3235 | elseif key == 'e' then | |
3236 | SCREAM() | |
3237 | elseif key == 'b' and angery == false then | |
3238 | angery = true | |
3239 | MoreTaunts = true | |
3240 | print"Replaced y,u,h,j,k,x,l with new Taunts" | |
3241 | elseif key == 'n' and angery == true then | |
3242 | angery = false | |
3243 | elseif key == 'r' then | |
3244 | sneakonehundred() | |
3245 | elseif key == 't' then | |
3246 | DANCEFORME() | |
3247 | elseif key == 'y' and MoreTaunts == false then | |
3248 | takethat() | |
3249 | elseif key == 'f' then | |
3250 | Tauntmelon() | |
3251 | elseif key == 'z' then | |
3252 | EndMySufferingV2() | |
3253 | elseif key == 'g' then | |
3254 | un_fun() | |
3255 | elseif key == 'p' then | |
3256 | HELP() | |
3257 | elseif key == 'u' and MoreTaunts == false then | |
3258 | BOI() | |
3259 | elseif key == 'o' then | |
3260 | NO_U() | |
3261 | elseif key == 'f' then | |
3262 | Ashes() | |
3263 | elseif key == 'h' and MoreTaunts == false then | |
3264 | NEN() | |
3265 | elseif key == 'g' then | |
3266 | AnotherOne() | |
3267 | elseif key == 'k' and MoreTaunts == false then | |
3268 | kyu_will_break_your_neck_asdf_longest_function_name_ever_xd() | |
3269 | elseif key == 'j' and MoreTaunts == false then | |
3270 | WhatHuh() | |
3271 | elseif key == 'i' then | |
3272 | fbiopenup() | |
3273 | elseif key == 'l' and MoreTaunts == false then | |
3274 | Victory() | |
3275 | elseif key == 'z' then | |
3276 | EndMySufferingV2() | |
3277 | elseif key == 'x' and MoreTaunts == false then | |
3278 | ShutTheHellUp() | |
3279 | elseif key == 'v' then | |
3280 | dead() | |
3281 | elseif key == 'c' and MoreTaunts == false then | |
3282 | WRY() | |
3283 | elseif key == "y" and MoreTaunts == true then | |
3284 | thonki() | |
3285 | elseif key == "u" and MoreTaunts == true then | |
3286 | Gumilol() | |
3287 | elseif key == "j" and MoreTaunts == true then | |
3288 | WoodyGotWood() | |
3289 | elseif key == "h" and MoreTaunts == true then | |
3290 | oofmyass() | |
3291 | elseif key == "k" and MoreTaunts == true then | |
3292 | DrinkdaDrink() | |
3293 | elseif key == "l" and MoreTaunts == true then | |
3294 | EatdaChips() | |
3295 | elseif key == "x" and MoreTaunts == true then | |
3296 | Sittyboi() | |
3297 | elseif key == "c" and MoreTaunts == true then | |
3298 | LeChange() | |
3299 | end | |
3300 | end | |
3301 | end | |
3302 | end) | |
3303 | ||
3304 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
3305 | local Hitboxpart = Instance.new("Part", EffectModel) | |
3306 | RemoveOutlines(Hitboxpart) | |
3307 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
3308 | Hitboxpart.CanCollide = false | |
3309 | Hitboxpart.Transparency = 1 | |
3310 | Hitboxpart.Anchored = true | |
3311 | Hitboxpart.CFrame = Pose | |
3312 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime) | |
3313 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
3314 | end | |
3315 | wait2 = false | |
3316 | combo = 1 | |
3317 | ||
3318 | ||
3319 | ||
3320 | ||
3321 | mouse.Button1Down:connect(function(key) | |
3322 | if attack == false then | |
3323 | attack = true | |
3324 | hum.WalkSpeed = 3.01 | |
3325 | if combo == 1 then | |
3326 | for i = 0, 1.2, 0.1 do | |
3327 | swait() | |
3328 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-65)), 0.3) | |
3329 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(-65)), 0.1) | |
3330 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1) | |
3331 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(40)), 0.3) | |
3332 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3) | |
3333 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) | |
3334 | end | |
3335 | CreateSound("608537390", ra, 3, .8) | |
3336 | local sude = Instance.new("Part", ra) | |
3337 | sude.Size = Vector3.new(1, 1, 1) | |
3338 | sude:BreakJoints() | |
3339 | sude.Transparency = 1 | |
3340 | sude.CanCollide = false | |
3341 | local dmgweld = Instance.new("Weld", sude) | |
3342 | dmgweld.Part0 = ra | |
3343 | dmgweld.Part1 = sude | |
3344 | dmgweld.C0 = dmgweld.C0 * CFrame.new(0,0,1.5) | |
3345 | local function death(part) | |
3346 | local tor = part.Parent:findFirstChild("Torso") | |
3347 | if tor ~= nil then | |
3348 | CreateSound("1615641704", ra, 7, 1) | |
3349 | local heds = part.Parent:findFirstChild("Head") | |
3350 | local vel = Instance.new("BodyVelocity", tor) | |
3351 | vel.Velocity = tor.CFrame.lookVector * -754 | |
3352 | vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3353 | local vels = Instance.new("BodyVelocity", heds) | |
3354 | vels.Velocity = heds.CFrame.lookVector * -546745 | |
3355 | vels.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3356 | tor:BreakJoints() | |
3357 | if tor then | |
3358 | tor.RotVelocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * 34 | |
3359 | tor.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * 34 | |
3360 | end | |
3361 | wait(1.4) | |
3362 | sude:destroy() | |
3363 | end | |
3364 | end | |
3365 | sude.Touched:connect(death) | |
3366 | for i = 0, 1.2, 0.1 do | |
3367 | swait() | |
3368 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3) | |
3369 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
3370 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1) | |
3371 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
3372 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3) | |
3373 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
3374 | end | |
3375 | end | |
3376 | hum.WalkSpeed = 40 | |
3377 | wait2 = false | |
3378 | attack = false | |
3379 | end | |
3380 | end) | |
3381 | ||
3382 | ------------------------------------------------------- | |
3383 | --End Attacks N Stuff-- | |
3384 | ------------------------------------------------------- | |
3385 | ||
3386 | ||
3387 | while jumping do | |
3388 | Humanoid.Jump = true | |
3389 | wait(0.9) | |
3390 | end | |
3391 | ||
3392 | ||
3393 | ||
3394 | ||
3395 | ------------------------------------------------------- | |
3396 | --Start Animations-- | |
3397 | ------------------------------------------------------- | |
3398 | local PlayerSize = 1 | |
3399 | local FT,RA,LA,RL,LL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh") | |
3400 | FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
3401 | RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
3402 | LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
3403 | RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
3404 | LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
3405 | ||
3406 | ||
3407 | local equipped = false | |
3408 | local idle = 0 | |
3409 | local change = 1 | |
3410 | local val = 0 | |
3411 | local toim = 0 | |
3412 | local idleanim = 0.4 | |
3413 | hum.Animator.Parent = nil | |
3414 | while true do | |
3415 | swait() | |
3416 | sine = sine + change | |
3417 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
3418 | local velderp = root.Velocity.y | |
3419 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char) | |
3420 | if equipped == true or equipped == false then | |
3421 | if attack == false then | |
3422 | idle = idle + 1 | |
3423 | else | |
3424 | idle = 0 | |
3425 | end | |
3426 | if 1 < root.Velocity.y and hitfloor == nil then | |
3427 | Anim = "Jump" | |
3428 | if attack == false then | |
3429 | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) | |
3430 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3) | |
3431 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3) | |
3432 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3) | |
3433 | LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
3434 | RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
3435 | end | |
3436 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
3437 | Anim = "Fall" | |
3438 | if attack == false then | |
3439 | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) | |
3440 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3) | |
3441 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(90)),0.3) | |
3442 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-90)),0.3) | |
3443 | LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
3444 | RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
3445 | end | |
3446 | elseif torvel < 1 and hitfloor ~= nil then | |
3447 | Anim = "Idle" | |
3448 | change = .5 | |
3449 | if attack == false then | |
3450 | if angery == false then | |
3451 | VALUE1 = false | |
3452 | 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) | |
3453 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3454 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
3455 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
3456 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1) | |
3457 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-5 + 2.5 * Sin(sine / 20))), 0.1) | |
3458 | if VALUE1 == false and math.random(1,200) == 1 then | |
3459 | coroutine.resume(coroutine.create(function() | |
3460 | VALUE1 = true | |
3461 | for i = 1, 25 do | |
3462 | swait() | |
3463 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-25),math.rad((15+math.random(-15,15)/15)),math.rad(30)),.3) | |
3464 | end | |
3465 | VALUE1 = false | |
3466 | ||
3467 | end)) | |
3468 | end | |
3469 | elseif angery == true then | |
3470 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
3471 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
3472 | 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) | |
3473 | 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) | |
3474 | 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) | |
3475 | 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) | |
3476 | if VALUE1 == false and math.random(1,200) == 1 then | |
3477 | coroutine.resume(coroutine.create(function() | |
3478 | VALUE1 = true | |
3479 | for i = 1, 25 do | |
3480 | swait() | |
3481 | FT.Parent = tors | |
3482 | RA.Parent = ra | |
3483 | LA.Parent = la | |
3484 | RL.Parent = rl | |
3485 | LL.Parent = ll | |
3486 | for _,v in next, char:GetDescendants() do | |
3487 | if(v:IsA'DataModelMesh')then | |
3488 | v.Offset = Vector3.new(math.random(-200,200)/100,math.random(-200,200)/100,math.random(-200,200)/100) | |
3489 | end | |
3490 | end | |
3491 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-25),math.rad((15+math.random(-15,15)/15)),math.rad(0)),.3) | |
3492 | end | |
3493 | VALUE1 = false | |
3494 | FT.Parent = nil | |
3495 | RA.Parent = nil | |
3496 | LA.Parent = nil | |
3497 | RL.Parent = nil | |
3498 | LL.Parent = nil | |
3499 | for _,v in next, char:GetDescendants() do | |
3500 | if(v:IsA'DataModelMesh')then | |
3501 | v.Offset = Vector3.new(0,0,0) | |
3502 | end | |
3503 | end | |
3504 | ||
3505 | end)) | |
3506 | end | |
3507 | end | |
3508 | end | |
3509 | elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then | |
3510 | Anim = "Walk" | |
3511 | change = 1 | |
3512 | if attack == false then | |
3513 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
3514 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
3515 | 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) | |
3516 | 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) | |
3517 | 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) | |
3518 | 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) | |
3519 | end | |
3520 | end | |
3521 | end | |
3522 | if 0 < #Effects then | |
3523 | for e = 1, #Effects do | |
3524 | if Effects[e] ~= nil then | |
3525 | local Thing = Effects[e] | |
3526 | if Thing ~= nil then | |
3527 | local Part = Thing[1] | |
3528 | local Mode = Thing[2] | |
3529 | local Delay = Thing[3] | |
3530 | local IncX = Thing[4] | |
3531 | local IncY = Thing[5] | |
3532 | local IncZ = Thing[6] | |
3533 | if 1 >= Thing[1].Transparency then | |
3534 | if Thing[2] == "Block1" then | |
3535 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
3536 | local Mesh = Thing[1].Mesh | |
3537 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3538 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3539 | elseif Thing[2] == "Block2" then | |
3540 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
3541 | local Mesh = Thing[7] | |
3542 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3543 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3544 | elseif Thing[2] == "Block3" then | |
3545 | 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) | |
3546 | local Mesh = Thing[7] | |
3547 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3548 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3549 | elseif Thing[2] == "Cylinder" then | |
3550 | local Mesh = Thing[1].Mesh | |
3551 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3552 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3553 | elseif Thing[2] == "Blood" then | |
3554 | local Mesh = Thing[7] | |
3555 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
3556 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3557 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3558 | elseif Thing[2] == "Elec" then | |
3559 | local Mesh = Thing[1].Mesh | |
3560 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
3561 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3562 | elseif Thing[2] == "Disappear" then | |
3563 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3564 | elseif Thing[2] == "Shatter" then | |
3565 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3566 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
3567 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
3568 | Thing[6] = Thing[6] + Thing[5] | |
3569 | end | |
3570 | else | |
3571 | Part.Parent = nil | |
3572 | table.remove(Effects, e) | |
3573 | end | |
3574 | end | |
3575 | end | |
3576 | end | |
3577 | end | |
3578 | end | |
3579 | ------------------------------------------------------- | |
3580 | --End Animations And Script-- | |
3581 | ------------------------------------------------------- |