SHOW:
|
|
- or go back to the newest paste.
1 | - | - This script has been converted to FE by pizzacruster |
1 | + | -- This script has been converted to FE by pizzacruster |
2 | ||
3 | ||
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | do | |
7 | print("FE Compatibility code by Mokiros | Translated to FE by pizzacruster!") | |
8 | script.Parent = Player.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | ||
88 | ||
89 | -----Decompiled And Stolen Of Dahnoob, Leaked By Shelter---- | |
90 | ||
91 | plr = owner | |
92 | repeat | |
93 | wait(0.4) | |
94 | until plr.Character | |
95 | chr = plr.Character | |
96 | human = chr:FindFirstChild("Humanoid") | |
97 | mouse = Mouse | |
98 | cam = workspace.CurrentCamera | |
99 | selected = false | |
100 | equipd = false | |
101 | tors = chr.Torso | |
102 | rarm = chr["Right Arm"] | |
103 | larm = chr["Left Arm"] | |
104 | rleg = chr["Right Leg"] | |
105 | lleg = chr["Left Leg"] | |
106 | hrp = chr.HumanoidRootPart | |
107 | hed = chr.Head | |
108 | anim = human:FindFirstChild("Animator") | |
109 | activu = false | |
110 | ragged = false | |
111 | batting = false | |
112 | memeing = false | |
113 | Heartbeat = Instance.new("BindableEvent") | |
114 | Heartbeat.Name = "Heartbeat" | |
115 | Heartbeat.Parent = script | |
116 | frame = 0.03333333333333333 | |
117 | tf = 0 | |
118 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
119 | tf = tf + s | |
120 | if tf >= frame then | |
121 | for i = 1, math.floor(tf / frame) do | |
122 | Heartbeat:Fire() | |
123 | end | |
124 | tf = tf - frame * math.floor(tf / frame) | |
125 | end | |
126 | end) | |
127 | function swait(num) | |
128 | if num == 0 or num == nil then | |
129 | Heartbeat.Event:wait() | |
130 | else | |
131 | for i = 1, num do | |
132 | Heartbeat.Event:wait() | |
133 | end | |
134 | end | |
135 | end | |
136 | tool = Instance.new("Tool") | |
137 | tool.CanBeDropped = false | |
138 | tool.RequiresHandle = false | |
139 | tool.TextureId = "rbxassetid://291302154" | |
140 | tool.ToolTip = "NANI" | |
141 | tool.Name = "AAAAAAAAAAAAAA" | |
142 | tool.Parent = plr.Backpack | |
143 | modz = Instance.new("Model") | |
144 | modz.Name = "efx" | |
145 | modz.Parent = chr | |
146 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
147 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
148 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
149 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
150 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
151 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
152 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
153 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
154 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
155 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
156 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
157 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
158 | local nscale = Instance.new("NumberValue") | |
159 | nscale.Value = 1 | |
160 | nscale.Parent = nil | |
161 | RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
162 | RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
163 | LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
164 | LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
165 | RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
166 | RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
167 | LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
168 | LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
169 | RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
170 | RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
171 | NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
172 | NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
173 | nscale.Changed:connect(function() | |
174 | RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
175 | RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
176 | LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
177 | LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
178 | RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
179 | RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
180 | LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
181 | LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
182 | RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
183 | RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
184 | NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
185 | NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
186 | end) | |
187 | RS = tors:FindFirstChild("Right Shoulder") | |
188 | LS = tors:FindFirstChild("Left Shoulder") | |
189 | RH = tors:FindFirstChild("Right Hip") | |
190 | LH = tors:FindFirstChild("Left Hip") | |
191 | RJ = hrp:FindFirstChild("RootJoint") | |
192 | N = tors:FindFirstChild("Neck") | |
193 | cf = CFrame.new | |
194 | ang = CFrame.Angles | |
195 | rd = math.rad | |
196 | rd2 = math.random | |
197 | function nooutline(p) | |
198 | p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10 | |
199 | end | |
200 | function makepart(color, name, reflec, trans, mater, parnt, cfram) | |
201 | local port = Instance.new("Part") | |
202 | port.BrickColor = BrickColor.new(color) | |
203 | port.Name = name | |
204 | port.Transparency = trans | |
205 | nooutline(port) | |
206 | port.Reflectance = reflec | |
207 | port.Material = mater | |
208 | port.Anchored = false | |
209 | port.CanCollide = false | |
210 | port.Locked = true | |
211 | port.CFrame = cfram | |
212 | port.Size = Vector3.new(0.2, 0.2, 0.2) | |
213 | port.Parent = parnt | |
214 | return port | |
215 | end | |
216 | function makemesh(meshtype, scale, meshid, parent) | |
217 | local mes = Instance.new("SpecialMesh") | |
218 | mes.MeshType = meshtype | |
219 | mes.Scale = scale | |
220 | if meshtype == "FileMesh" then | |
221 | mes.MeshId = meshid | |
222 | end | |
223 | mes.Parent = parent | |
224 | return mes | |
225 | end | |
226 | function makeweld(parent, p0, p1, c0, c1) | |
227 | local wel = Instance.new("Weld") | |
228 | wel.Part0 = p0 | |
229 | wel.Part1 = p1 | |
230 | wel.C0 = c0 | |
231 | if c1 ~= nil then | |
232 | wel.C1 = c1 | |
233 | end | |
234 | wel.Parent = parent | |
235 | return wel | |
236 | end | |
237 | local lauf1 = Instance.new("Sound") | |
238 | lauf1.SoundId = "rbxassetid://725969678" | |
239 | lauf1.Volume = 1.5 | |
240 | lauf1.Pitch = 1 | |
241 | lauf1.Parent = hrp | |
242 | function lerpz(joint, prop, cfrmz, alp) | |
243 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
244 | end | |
245 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
246 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
247 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
248 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
249 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
250 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
251 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
252 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
253 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
254 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
255 | function resetlerp() | |
256 | RJ.C0 = RJC0 | |
257 | RJ.C1 = RJC1 | |
258 | N.C0 = NC0 | |
259 | N.C1 = NC1 | |
260 | RS.C0 = RSC0 | |
261 | RS.C1 = RSC1 | |
262 | LS.C0 = LSC0 | |
263 | LS.C1 = LSC1 | |
264 | RH.C0 = RHC0 | |
265 | RH.C1 = RHC1 | |
266 | LH.C0 = LHC0 | |
267 | LH.C1 = LHC1 | |
268 | end | |
269 | function test() | |
270 | if selected == false or activu == true then | |
271 | return | |
272 | end | |
273 | if ragged == false then | |
274 | ragged = true | |
275 | human.PlatformStand = true | |
276 | if rarm and tors:FindFirstChild("Right Shoulder") then | |
277 | tors:FindFirstChild("Right Shoulder"):Destroy() | |
278 | makegloo(tors, RightShoulderC0, RightShoulderC1, tors, rarm, "Right Shoulder") | |
279 | maketouchy(rarm, rarm, CFrame.new(0, 0.5, 0)) | |
280 | end | |
281 | if larm and tors:FindFirstChild("Left Shoulder") then | |
282 | tors:FindFirstChild("Left Shoulder"):Destroy() | |
283 | makegloo(tors, LeftShoulderC0, LeftShoulderC1, tors, larm, "Left Shoulder") | |
284 | maketouchy(larm, larm, CFrame.new(0, 0.5, 0)) | |
285 | end | |
286 | if rleg and tors:FindFirstChild("Right Hip") then | |
287 | tors:FindFirstChild("Right Hip"):Destroy() | |
288 | makegloo(tors, RightHipC0, RightHipC1, tors, rleg, "Right Hip") | |
289 | maketouchy(rleg, rleg, CFrame.new(0, 0.5, 0)) | |
290 | end | |
291 | if lleg and tors:FindFirstChild("Left Hip") then | |
292 | tors:FindFirstChild("Left Hip"):Destroy() | |
293 | makegloo(tors, LeftHipC0, LeftHipC1, tors, lleg, "Left Hip") | |
294 | maketouchy(lleg, lleg, CFrame.new(0, 0.5, 0)) | |
295 | end | |
296 | elseif ragged == true then | |
297 | ragged = false | |
298 | human.Jump = true | |
299 | if rarm and tors:FindFirstChild("Right Shoulder") then | |
300 | tors:FindFirstChild("Right Shoulder"):Destroy() | |
301 | makejoint(tors, RSC0, RSC1, tors, rarm, "Right Shoulder") | |
302 | rarm:FindFirstChild("touchy"):Destroy() | |
303 | end | |
304 | if larm and tors:FindFirstChild("Left Shoulder") then | |
305 | tors:FindFirstChild("Left Shoulder"):Destroy() | |
306 | makejoint(tors, LSC0, LSC1, tors, larm, "Left Shoulder") | |
307 | larm:FindFirstChild("touchy"):Destroy() | |
308 | end | |
309 | if rleg and tors:FindFirstChild("Right Hip") then | |
310 | tors:FindFirstChild("Right Hip"):Destroy() | |
311 | makejoint(tors, RHC0, RHC1, tors, rleg, "Right Hip") | |
312 | rleg:FindFirstChild("touchy"):Destroy() | |
313 | end | |
314 | if lleg and tors:FindFirstChild("Left Hip") then | |
315 | tors:FindFirstChild("Left Hip"):Destroy() | |
316 | makejoint(tors, LHC0, LHC1, tors, lleg, "Left Hip") | |
317 | lleg:FindFirstChild("touchy"):Destroy() | |
318 | end | |
319 | RS = tors:FindFirstChild("Right Shoulder") | |
320 | LS = tors:FindFirstChild("Left Shoulder") | |
321 | RH = tors:FindFirstChild("Right Hip") | |
322 | LH = tors:FindFirstChild("Left Hip") | |
323 | RJ = hrp:FindFirstChild("RootJoint") | |
324 | N = tors:FindFirstChild("Neck") | |
325 | end | |
326 | end | |
327 | function makegloo(paren, co, ci, parto, parti, nam) | |
328 | local gloo = Instance.new("Glue") | |
329 | gloo.Name = nam | |
330 | gloo.C0 = co | |
331 | gloo.C1 = ci | |
332 | gloo.Part0 = parto | |
333 | gloo.Part1 = parti | |
334 | gloo.Parent = paren | |
335 | end | |
336 | function makejoint(paren, co, ci, parto, parti, nam) | |
337 | local gloo = Instance.new("Motor6D") | |
338 | gloo.Name = nam | |
339 | gloo.C0 = co | |
340 | gloo.C1 = ci | |
341 | gloo.Part0 = parto | |
342 | gloo.Part1 = parti | |
343 | gloo.Parent = paren | |
344 | end | |
345 | function maketouchy(parent, limb, cframe) | |
346 | local pr = Instance.new("Part") | |
347 | pr.Name = "touchy" | |
348 | pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
349 | pr.Transparency = 1 | |
350 | pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) | |
351 | pr.CanCollide = true | |
352 | pr.Anchored = false | |
353 | pr.Parent = parent | |
354 | local w = Instance.new("Weld") | |
355 | w.Part0 = pr | |
356 | w.Part1 = limb | |
357 | w.C0 = cframe | |
358 | w.Parent = pr | |
359 | end | |
360 | local clibat, spec, dipperrot | |
361 | local dipperhat = chr:FindFirstChild("DXD_DipperHat") | |
362 | if dipperhat then | |
363 | dipperrot = dipperhat.Handle.HatAttachment.Rotation | |
364 | end | |
365 | function bat() | |
366 | if selected == false or activu == true then | |
367 | return | |
368 | end | |
369 | if batting == false then | |
370 | batting = true | |
371 | dipperhat = chr:FindFirstChild("DXD_DipperHat") | |
372 | if dipperhat then | |
373 | dipperrot = dipperhat.Handle.HatAttachment.Rotation | |
374 | else | |
375 | dipperhat = nil | |
376 | end | |
377 | do | |
378 | local bmod = Instance.new("Model") | |
379 | bmod.Name = "bmodel" | |
380 | bmod.Parent = chr | |
381 | local hnd = makepart("Br. yellowish green", "hnd", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
382 | local hmes = makemesh("Head", Vector3.new(2, 9, 2), nil, hnd) | |
383 | local hwel = makeweld(hnd, hnd, rarm, ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), nil) | |
384 | local pt1 = makepart("Bright yellow", "pt1", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
385 | local p1m = makemesh("Head", Vector3.new(2.5, 2.5, 2.5), nil, pt1) | |
386 | local p1w = makeweld(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), nil) | |
387 | local pt2 = makepart("Bright yellow", "pt2", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
388 | local p2m = makemesh("FileMesh", Vector3.new(0.375, 0.375, 0.375), "rbxassetid://250640098", pt2) | |
389 | p2m.TextureId = "rbxassetid://250639536" | |
390 | local p2w = makeweld(pt2, pt2, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 1.225, 0.075), nil) | |
391 | local pt3 = makepart("Bright yellow", "pt3", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
392 | local p3m = makemesh("Head", Vector3.new(2.5, 2.5, 2.5), nil, pt3) | |
393 | local p3w = makeweld(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), nil) | |
394 | local pt4 = makepart("Bright yellow", "pt4", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
395 | local p4m = makemesh("FileMesh", Vector3.new(0.025, 0.025, 0.025), "rbxassetid://703458158", pt4) | |
396 | local p4w = makeweld(pt4, pt4, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), nil) | |
397 | local pt5 = makepart("Bright yellow", "pt5", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
398 | local p5m = makemesh("Cylinder", Vector3.new(21.5, 6.25, 6.25), nil, pt5) | |
399 | local p5w = makeweld(pt5, pt5, hnd, ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), nil) | |
400 | local pt6 = makepart("Bright yellow", "pt6", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
401 | local p6m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt6) | |
402 | local p6w = makeweld(pt6, pt6, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -6.05, 0), nil) | |
403 | local pt7 = makepart("Bright yellow", "pt7", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
404 | local p7m = makemesh("FileMesh", Vector3.new(0.95, 0.95, 0.95), "rbxassetid://272942659", pt7) | |
405 | p7m.TextureId = "rbxassetid://272942750" | |
406 | local p7w = makeweld(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -6.2, 0), nil) | |
407 | local swingwoo = Instance.new("Sound") | |
408 | swingwoo.SoundId = "rbxassetid://138709133" | |
409 | swingwoo.Pitch = rd2(10, 11) / 10 | |
410 | swingwoo.Name = "sweae" | |
411 | swingwoo.Volume = 1 | |
412 | swingwoo.Parent = hrp | |
413 | clibat = tool.Activated:connect(function() | |
414 | if selected == false or activu == true or ragged == true then | |
415 | return | |
416 | end | |
417 | activu = true | |
418 | for _ = 1, 5 do | |
419 | swait() | |
420 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
421 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
422 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7) | |
423 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
424 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
425 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
426 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
427 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
428 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
429 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
430 | end | |
431 | local bon = Instance.new("Sound") | |
432 | bon.SoundId = "rbxassetid://135436482" | |
433 | bon.Pitch = rd2(10, 12) / 10 | |
434 | bon.Volume = 1 | |
435 | bon.Parent = hrp | |
436 | game.Debris:AddItem(bon, 1) | |
437 | bon:Play() | |
438 | swingwoo:Play() | |
439 | for X = 1, 5 do | |
440 | swait() | |
441 | if X > 1 then | |
442 | hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * 25, Vector3.new(0, rd2(-5, 5), rd2(-40, 40))) | |
443 | end | |
444 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7) | |
445 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
446 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
447 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
448 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
449 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
450 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
451 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
452 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
453 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
454 | end | |
455 | activu = false | |
456 | end) | |
457 | spec = mouse.KeyDown:connect(function(keya) | |
458 | if selected == false or activu == true or ragged == true then | |
459 | return | |
460 | end | |
461 | if keya == "e" then | |
462 | activu = true | |
463 | local speed = human.WalkSpeed | |
464 | human.WalkSpeed = 0 | |
465 | human:SetStateEnabled(3, false) | |
466 | local function expa() | |
467 | local sond = Instance.new("Sound") | |
468 | sond.Volume = 1.25 | |
469 | sond.Pitch = 1 | |
470 | sond.EmitterSize = 15 | |
471 | sond.SoundId = "rbxassetid://315152748" | |
472 | sond.Parent = pt6 | |
473 | sond:Play() | |
474 | for _ = 1, 3 do | |
475 | swait() | |
476 | hmes.Scale = hmes.Scale:lerp(Vector3.new(6, 27, 6), 0.7) | |
477 | p1m.Scale = p1m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7) | |
478 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), 0.7) | |
479 | p2m.Scale = p2m.Scale:lerp(Vector3.new(1.125, 1.125, 1.125), 0.7) | |
480 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 3.6750000000000003, 0.22499999999999998), 0.7) | |
481 | p3m.Scale = p3m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7) | |
482 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), 0.7) | |
483 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.07500000000000001, 0.07500000000000001, 0.07500000000000001), 0.7) | |
484 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -3.75, 0), 0.7) | |
485 | p5m.Scale = p5m.Scale:lerp(Vector3.new(64.5, 18.75, 18.75), 0.7) | |
486 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -12.075000000000001, 0), 0.7) | |
487 | p6m.Scale = p6m.Scale:lerp(Vector3.new(19.5, 19.5, 19.5), 0.7) | |
488 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -18.15, 0), 0.7) | |
489 | p7m.Scale = p7m.Scale:lerp(Vector3.new(2.8499999999999996, 2.8499999999999996, 2.8499999999999996), 0.7) | |
490 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -18.6, 0), 0.7) | |
491 | end | |
492 | for _ = 1, 5 do | |
493 | swait() | |
494 | hmes.Scale = hmes.Scale:lerp(Vector3.new(4, 18, 4), 0.7) | |
495 | p1m.Scale = p1m.Scale:lerp(Vector3.new(5, 5, 5), 0.7) | |
496 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 2, 0), 0.7) | |
497 | p2m.Scale = p2m.Scale:lerp(Vector3.new(0.75, 0.75, 0.75), 0.7) | |
498 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 2.45, 0.15), 0.7) | |
499 | p3m.Scale = p3m.Scale:lerp(Vector3.new(5, 5, 5), 0.7) | |
500 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -2, 0), 0.7) | |
501 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.05, 0.05, 0.05), 0.7) | |
502 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -2.5, 0), 0.7) | |
503 | p5m.Scale = p5m.Scale:lerp(Vector3.new(43, 12.5, 12.5), 0.7) | |
504 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -8.05, 0), 0.7) | |
505 | p6m.Scale = p6m.Scale:lerp(Vector3.new(13, 13, 13), 0.7) | |
506 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -12.1, 0), 0.7) | |
507 | p7m.Scale = p7m.Scale:lerp(Vector3.new(1.9, 1.9, 1.9), 0.7) | |
508 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -12.4, 0), 0.7) | |
509 | end | |
510 | sond.Pitch = 0.75 | |
511 | sond:Play() | |
512 | for _ = 1, 3 do | |
513 | swait() | |
514 | hmes.Scale = hmes.Scale:lerp(Vector3.new(12, 54, 12), 0.7) | |
515 | p1m.Scale = p1m.Scale:lerp(Vector3.new(15, 15, 15), 0.7) | |
516 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 6, 0), 0.7) | |
517 | p2m.Scale = p2m.Scale:lerp(Vector3.new(2.25, 2.25, 2.25), 0.7) | |
518 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 7.3500000000000005, 0.44999999999999996), 0.7) | |
519 | p3m.Scale = p3m.Scale:lerp(Vector3.new(15, 15, 15), 0.7) | |
520 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6, 0), 0.7) | |
521 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.15000000000000002, 0.15000000000000002, 0.15000000000000002), 0.7) | |
522 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -7.5, 0), 0.7) | |
523 | p5m.Scale = p5m.Scale:lerp(Vector3.new(129, 37.5, 37.5), 0.7) | |
524 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -24.150000000000002, 0), 0.7) | |
525 | p6m.Scale = p6m.Scale:lerp(Vector3.new(39, 39, 39), 0.7) | |
526 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -36.3, 0), 0.7) | |
527 | p7m.Scale = p7m.Scale:lerp(Vector3.new(5.699999999999999, 5.699999999999999, 5.699999999999999), 0.7) | |
528 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -37.2, 0), 0.7) | |
529 | end | |
530 | for _ = 1, 5 do | |
531 | swait() | |
532 | hmes.Scale = hmes.Scale:lerp(Vector3.new(8, 36, 8), 0.7) | |
533 | p1m.Scale = p1m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
534 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 4, 0), 0.7) | |
535 | p2m.Scale = p2m.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.7) | |
536 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 4.9, 0.3), 0.7) | |
537 | p3m.Scale = p3m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
538 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), 0.7) | |
539 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.1, 0.1, 0.1), 0.7) | |
540 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -5, 0), 0.7) | |
541 | p5m.Scale = p5m.Scale:lerp(Vector3.new(86, 25, 25), 0.7) | |
542 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -16.1, 0), 0.7) | |
543 | p6m.Scale = p6m.Scale:lerp(Vector3.new(26, 26, 26), 0.7) | |
544 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -24.2, 0), 0.7) | |
545 | p7m.Scale = p7m.Scale:lerp(Vector3.new(3.8, 3.8, 3.8), 0.7) | |
546 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -24.8, 0), 0.7) | |
547 | end | |
548 | sond.Pitch = 0.4 | |
549 | sond:Play() | |
550 | game.Debris:AddItem(sond, 2) | |
551 | for _ = 1, 3 do | |
552 | swait() | |
553 | hmes.Scale = hmes.Scale:lerp(Vector3.new(18, 81, 18), 0.7) | |
554 | p1m.Scale = p1m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7) | |
555 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 9, 0), 0.7) | |
556 | p2m.Scale = p2m.Scale:lerp(Vector3.new(3.375, 3.375, 3.375), 0.7) | |
557 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 11.025, 0.6749999999999999), 0.7) | |
558 | p3m.Scale = p3m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7) | |
559 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -9, 0), 0.7) | |
560 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.225, 0.225, 0.225), 0.7) | |
561 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -11.25, 0), 0.7) | |
562 | p5m.Scale = p5m.Scale:lerp(Vector3.new(193.5, 56.25, 56.25), 0.7) | |
563 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -36.225, 0), 0.7) | |
564 | p6m.Scale = p6m.Scale:lerp(Vector3.new(58.5, 58.5, 58.5), 0.7) | |
565 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -54.449999999999996, 0), 0.7) | |
566 | p7m.Scale = p7m.Scale:lerp(Vector3.new(5.699999999999999, 8.549999999999999, 8.549999999999999), 0.7) | |
567 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -55.800000000000004, 0), 0.7) | |
568 | end | |
569 | for _ = 1, 5 do | |
570 | swait() | |
571 | hmes.Scale = hmes.Scale:lerp(Vector3.new(14, 63, 14), 0.7) | |
572 | p1m.Scale = p1m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7) | |
573 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 7, 0), 0.7) | |
574 | p2m.Scale = p2m.Scale:lerp(Vector3.new(2.625, 2.625, 2.625), 0.7) | |
575 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 8.575000000000001, 0.525), 0.7) | |
576 | p3m.Scale = p3m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7) | |
577 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -7, 0), 0.7) | |
578 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.17500000000000002, 0.17500000000000002, 0.17500000000000002), 0.7) | |
579 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -8.75, 0), 0.7) | |
580 | p5m.Scale = p5m.Scale:lerp(Vector3.new(150.5, 43.75, 43.75), 0.7) | |
581 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -28.175000000000004, 0), 0.7) | |
582 | p6m.Scale = p6m.Scale:lerp(Vector3.new(45.5, 45.5, 45.5), 0.7) | |
583 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -42.35, 0), 0.7) | |
584 | p7m.Scale = p7m.Scale:lerp(Vector3.new(6.6499999999999995, 6.6499999999999995, 6.6499999999999995), 0.7) | |
585 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -43.4, 0), 0.7) | |
586 | end | |
587 | end | |
588 | for _ = 1, 9 do | |
589 | swait() | |
590 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5) | |
591 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5) | |
592 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5) | |
593 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
594 | lerpz(LS, "C0", LSC0 * cf(0, 0.2, -0.2) * ang(rd(70), rd(-60), rd(-100)), 0.5) | |
595 | if dipperhat then | |
596 | dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.3) | |
597 | end | |
598 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
599 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5) | |
600 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
601 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5) | |
602 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
603 | end | |
604 | for _ = 1, 9 do | |
605 | swait() | |
606 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5) | |
607 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5) | |
608 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5) | |
609 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
610 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3) | |
611 | if dipperhat then | |
612 | dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(15, 0, 0), 0.3) | |
613 | end | |
614 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
615 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5) | |
616 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
617 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5) | |
618 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
619 | end | |
620 | for _ = 1, 30 do | |
621 | swait() | |
622 | lerpz(RJ, "C0", RJC0 * cf(1.1, 0.6, 0) * ang(rd(0), rd(0), rd(-120)), 0.2) | |
623 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.2) | |
624 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.2) | |
625 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
626 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.2) | |
627 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
628 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.2) | |
629 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
630 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.2) | |
631 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
632 | end | |
633 | expa() | |
634 | for O = 1, 10 do | |
635 | swait() | |
636 | lerpz(RJ, "C0", RJC0 * cf(0, 0.3, 0) * ang(rd(0), rd(0), rd(60)), 0.001 + O * 0.01) | |
637 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.001 + O * 0.01) | |
638 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.001 + O * 0.01) | |
639 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
640 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.001 + O * 0.01) | |
641 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
642 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.001 + O * 0.01) | |
643 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
644 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.001 + O * 0.01) | |
645 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
646 | end | |
647 | local whoooo = Instance.new("Sound") | |
648 | whoooo.Volume = 3 | |
649 | whoooo.TimePosition = 0.15 | |
650 | whoooo.Pitch = 0.5 | |
651 | whoooo.SoundId = "rbxassetid://320557353" | |
652 | whoooo.Parent = pt5 | |
653 | whoooo:Play() | |
654 | game.Debris:AddItem(whoooo, 2) | |
655 | for O = 1, 6 do | |
656 | swait() | |
657 | hito(pt5, 25, 40, 0.75, hrp.CFrame.rightVector * -100 + Vector3.new(0, 50, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160))) | |
658 | lerpz(RJ, "C0", RJC0 * cf(0.9, -0.7, 0) * ang(rd(0), rd(0), rd(120)), 0.1 + O * 0.05) | |
659 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.1 + O * 0.05) | |
660 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(20), rd(20)), 0.1 + O * 0.05) | |
661 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
662 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.1 + O * 0.05) | |
663 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
664 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.1 + O * 0.05) | |
665 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
666 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.1 + O * 0.05) | |
667 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
668 | end | |
669 | for O = 1, 13 do | |
670 | swait() | |
671 | hmes.Scale = hmes.Scale:lerp(Vector3.new(2, 9, 2), 0.05 + O * 0.075) | |
672 | p1m.Scale = p1m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
673 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), 0.05 + O * 0.075) | |
674 | p2m.Scale = p2m.Scale:lerp(Vector3.new(0.375, 0.375, 0.375), 0.05 + O * 0.075) | |
675 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 1.225, 0.075), 0.05 + O * 0.075) | |
676 | p3m.Scale = p3m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
677 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), 0.05 + O * 0.075) | |
678 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.025, 0.025, 0.025), 0.05 + O * 0.075) | |
679 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), 0.05 + O * 0.075) | |
680 | p5m.Scale = p5m.Scale:lerp(Vector3.new(21.5, 6.25, 6.25), 0.05 + O * 0.075) | |
681 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), 0.05 + O * 0.075) | |
682 | p6m.Scale = p6m.Scale:lerp(Vector3.new(6.5, 6.5, 6.5), 0.05 + O * 0.075) | |
683 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6.05, 0), 0.05 + O * 0.075) | |
684 | p7m.Scale = p7m.Scale:lerp(Vector3.new(0.95, 0.95, 0.95), 0.05 + O * 0.075) | |
685 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -6.2, 0), 0.05 + O * 0.075) | |
686 | lerpz(RJ, "C0", RJC0 * cf(1.1, -0.8, 0) * ang(rd(0), rd(0), rd(150)), 0.05 + O * 0.075) | |
687 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.05 + O * 0.075) | |
688 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(30), rd(10)), 0.05 + O * 0.075) | |
689 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
690 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(20), rd(20), rd(-20)), 0.05 + O * 0.075) | |
691 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
692 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.05 + O * 0.075) | |
693 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
694 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.05 + O * 0.075) | |
695 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
696 | end | |
697 | if dipperhat then | |
698 | dipperhat.Handle.HatAttachment.Rotation = dipperrot | |
699 | end | |
700 | human.WalkSpeed = speed | |
701 | human:SetStateEnabled(3, true) | |
702 | activu = false | |
703 | end | |
704 | if keya == "q" then | |
705 | activu = true | |
706 | do | |
707 | local checkkey = true | |
708 | local keyingup = mouse.KeyUp:connect(function(xzx) | |
709 | if xzx == "q" then | |
710 | checkkey = false | |
711 | end | |
712 | end) | |
713 | repeat | |
714 | for _ = 1, 2 do | |
715 | swait() | |
716 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
717 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
718 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7) | |
719 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
720 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
721 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
722 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
723 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
724 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
725 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
726 | end | |
727 | swingwoo:Play() | |
728 | for T = 1, 2 do | |
729 | swait() | |
730 | if T == 2 then | |
731 | hito(pt5, 5, 4, 0.03, hrp.CFrame.lookVector * 10, Vector3.new(0, rd2(-2, 2), rd2(-10, 10))) | |
732 | end | |
733 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7) | |
734 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
735 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
736 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
737 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
738 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
739 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
740 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
741 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
742 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
743 | end | |
744 | for _ = 1, 2 do | |
745 | swait() | |
746 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-30), rd(20), rd(0)), 0.7) | |
747 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
748 | lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(179)), 0.7) | |
749 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
750 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-40), rd(20), rd(30)), 0.7) | |
751 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
752 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
753 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
754 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(35)), 0.7) | |
755 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
756 | end | |
757 | swingwoo:Play() | |
758 | for T = 1, 2 do | |
759 | swait() | |
760 | if T == 2 then | |
761 | hito(pt5, 5, 4, 0.03, hrp.CFrame.lookVector * 10, Vector3.new(0, rd2(-2, 2), rd2(-10, 10))) | |
762 | end | |
763 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(40), rd(40), rd(0)), 0.7) | |
764 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
765 | lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(30)), 0.7) | |
766 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
767 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
768 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
769 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
770 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
771 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(-65)), 0.7) | |
772 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
773 | end | |
774 | until not checkkey | |
775 | if keyingup then | |
776 | keyingup:disconnect() | |
777 | end | |
778 | activu = false | |
779 | end | |
780 | end | |
781 | if keya == "f" then | |
782 | activu = true | |
783 | do | |
784 | local speed = human.WalkSpeed | |
785 | human.WalkSpeed = 2 | |
786 | human:SetStateEnabled(3, false) | |
787 | local checkkey = true | |
788 | local chargecounter = 0 | |
789 | local keyingup = mouse.KeyUp:connect(function(xzx) | |
790 | if xzx == "f" then | |
791 | checkkey = false | |
792 | end | |
793 | end) | |
794 | local firederp | |
795 | for _ = 1, 8 do | |
796 | swait() | |
797 | hwel.C0 = hwel.C0:lerp(ang(rd(65), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
798 | lerpz(RJ, "C0", RJC0 * cf(0.5, 0.5, 0) * ang(rd(0), rd(0), rd(-70)), 0.5) | |
799 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(60)), 0.5) | |
800 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(70), rd(-10), rd(80)), 0.5) | |
801 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
802 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(-10), rd(-70), rd(-75)), 0.5) | |
803 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
804 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.5) | |
805 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
806 | lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(0), rd(80), rd(-5)), 0.5) | |
807 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.5) | |
808 | end | |
809 | repeat | |
810 | swait() | |
811 | chargecounter = chargecounter + 1 | |
812 | lerpz(RS, "C0", RSC0 * cf(rd2(-5, 5) / 100, rd2(-5, 5) / 100, rd2(-5, 5) / 100) * ang(rd(rd2(65, 75)), rd(rd2(-15, 5)), rd(rd2(75, 85))), 0.05 + chargecounter * 0.019) | |
813 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(rd2(-15, -5)), rd(rd2(-75, -65)), rd(rd2(-80, -70))), 0.05 + chargecounter * 0.019) | |
814 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(rd2(-25, -15)), rd(0)), 0.05 + chargecounter * 0.019) | |
815 | if chargecounter > 15 and firederp == nil then | |
816 | firederp = Instance.new("Fire") | |
817 | firederp.Parent = pt5 | |
818 | end | |
819 | until not checkkey or chargecounter > 50 | |
820 | swingwoo:Play() | |
821 | for U = 1, 10 do | |
822 | swait() | |
823 | if U < 3 then | |
824 | hito(pt5, 5, 10 + chargecounter / 10, 0.2, hrp.CFrame.lookVector * (80 + chargecounter * 3) + Vector3.new(0, 6 + 6 * (chargecounter / 5), 0), Vector3.new(0, rd2(-25, 25) * (chargecounter / 25), rd2(-80, 80) * (chargecounter / 25))) | |
825 | if chargecounter > 15 then | |
826 | tagexplode(pt5, 5, 0.65) | |
827 | end | |
828 | end | |
829 | hwel.C0 = hwel.C0:lerp(ang(rd(135), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
830 | lerpz(RJ, "C0", RJC0 * cf(0.5, -0.5, 0) * ang(rd(0), rd(0), rd(50)), 0.6) | |
831 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-30)), 0.6) | |
832 | lerpz(RS, "C0", RSC0 * cf(0.75, 0.5, -0.5) * ang(rd(0), rd(60), rd(120)), 0.4) | |
833 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(100), rd(0)), 0.4) | |
834 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(20), rd(-125)), 0.4) | |
835 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.4) | |
836 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.6) | |
837 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
838 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(-6)), 0.6) | |
839 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.6) | |
840 | end | |
841 | if firederp then | |
842 | firederp:Destroy() | |
843 | end | |
844 | swait(10) | |
845 | hwel.C0 = ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0) | |
846 | if keyingup then | |
847 | keyingup:Disconnect() | |
848 | end | |
849 | human.WalkSpeed = speed | |
850 | human:SetStateEnabled(3, true) | |
851 | activu = false | |
852 | end | |
853 | end | |
854 | end) | |
855 | end | |
856 | elseif batting == true then | |
857 | batting = false | |
858 | clibat:Disconnect() | |
859 | spec:Disconnect() | |
860 | hrp.sweae:Destroy() | |
861 | local batmod = chr:FindFirstChild("bmodel") | |
862 | batmod.hnd.Weld:Destroy() | |
863 | batmod.PrimaryPart = batmod.hnd | |
864 | batmod:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1)) | |
865 | for _, A in pairs(batmod:GetChildren()) do | |
866 | if A.ClassName == "Part" then | |
867 | A.CanCollide = true | |
868 | A.Anchored = false | |
869 | end | |
870 | end | |
871 | batmod.Parent = workspace | |
872 | game.Debris:AddItem(batmod, 8) | |
873 | end | |
874 | end | |
875 | local movin = false | |
876 | local cliham, hamspec | |
877 | function ham() | |
878 | if batting == false then | |
879 | batting = true | |
880 | do | |
881 | local bmod = Instance.new("Model") | |
882 | bmod.Name = "bmodel" | |
883 | bmod.Parent = chr | |
884 | local makemotor = function(parent, p0, p1, c0, c1) | |
885 | local wel = Instance.new("Motor6D") | |
886 | wel.Part0 = p0 | |
887 | wel.Part1 = p1 | |
888 | wel.C0 = c0 | |
889 | if c1 ~= nil then | |
890 | wel.C1 = c1 | |
891 | end | |
892 | wel.Parent = parent | |
893 | return wel | |
894 | end | |
895 | local hnd = makepart("Br. yellowish green", "hnd", 0, 0, "SmoothPlastic", bmod, hrp.CFrame) | |
896 | hnd.Anchored = true | |
897 | local hmes = makemesh("Head", Vector3.new(5, 30, 5), nil, hnd) | |
898 | movin = true | |
899 | hnd.CFrame = hrp.CFrame | |
900 | coroutine.resume(coroutine.create(function() | |
901 | while hnd.Anchored == true do | |
902 | swait() | |
903 | if movin then | |
904 | hnd.CFrame = hnd.CFrame:lerp(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, 11, 0), 0.65) | |
905 | end | |
906 | end | |
907 | end)) | |
908 | local pt1 = makepart("Br. yellowish green", "pt1", 0, 0, "SmoothPlastic", bmod, hrp.CFrame) | |
909 | local p1m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt1) | |
910 | local p1w = makemotor(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), nil) | |
911 | local pt2 = makepart("Br. yellowish green", "pt2", 0, 0, "SmoothPlastic", bmod, hrp.CFrame) | |
912 | local p2m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt2) | |
913 | local p2w = makemotor(pt2, pt2, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), nil) | |
914 | local pt3 = makepart("Bright yellow", "pt3", 0, 0, "SmoothPlastic", bmod, hrp.CFrame) | |
915 | local p3m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt3) | |
916 | local p3w = makemotor(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3.75, 0), nil) | |
917 | local pt4 = makepart("Br. yellowish green", "pt4", 0, 0, "SmoothPlastic", bmod, hrp.CFrame) | |
918 | local p4m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://250640098", pt4) | |
919 | p4m.TextureId = "rbxassetid://250639536" | |
920 | local p4w = makemotor(pt4, pt4, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 4.25, 0.25), nil) | |
921 | local pt5 = makepart("Bright blue", "pt5", 0, 0, "SmoothPlastic", bmod, hrp.CFrame) | |
922 | local p5m = makemesh("Head", Vector3.new(5, 90, 4), nil, pt5) | |
923 | local p5w = makemotor(pt5, pt5, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -12, 0), nil) | |
924 | local pt6 = makepart("Bright blue", "pt6", 0, 0, "SmoothPlastic", bmod, hrp.CFrame) | |
925 | local p6m = makemesh("FileMesh", Vector3.new(0.16, 0.4, 0.16), "rbxassetid://703458158", pt6) | |
926 | local p6w = makemotor(pt6, pt6, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -16, 0), nil) | |
927 | local pt7 = makepart("Bright yellow", "pt7", 0, 0, "SmoothPlastic", bmod, hrp.CFrame) | |
928 | local p7m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt7) | |
929 | local p7w = makemotor(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -27, 0), nil) | |
930 | local hdec1 = Instance.new("Decal") | |
931 | hdec1.Texture = "rbxasset://textures/face.png" | |
932 | hdec1.Face = "Front" | |
933 | hdec1.Parent = pt7 | |
934 | local pt8 = makepart("Bright yellow", "pt8", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
935 | local p8m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt8) | |
936 | local p8w = makemotor(pt8, pt8, hnd, ang(rd(0), rd(-90), rd(0)) * cf(0, -27, 0), nil) | |
937 | local hdec2 = Instance.new("Decal") | |
938 | hdec2.Texture = "rbxasset://textures/face.png" | |
939 | hdec2.Face = "Front" | |
940 | hdec2.Parent = pt8 | |
941 | local pt9 = makepart("Bright yellow", "pt9", 0, 0, "SmoothPlastic", bmod, hrp.CFrame) | |
942 | local p9m = makemesh("FileMesh", Vector3.new(12, 11, 11), "rbxassetid://272942659", pt9) | |
943 | local p9w = makemotor(pt9, pt9, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -30, 0), nil) | |
944 | p9m.TextureId = "rbxassetid://272942750" | |
945 | local pt10 = makepart("Bright yellow", "pt10", 0, 0, "SmoothPlastic", bmod, hrp.CFrame) | |
946 | local p10m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt10) | |
947 | local p10w = makemotor(pt10, pt10, pt7, ang(rd(0), rd(0), rd(90)) * cf(11, 0, 0), nil) | |
948 | local hdec3 = Instance.new("Decal") | |
949 | hdec3.Texture = "rbxasset://textures/face.png" | |
950 | hdec3.Face = "Front" | |
951 | hdec3.Parent = pt10 | |
952 | local pt11 = makepart("Bright yellow", "pt11", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
953 | local p11m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt11) | |
954 | local p11w = makemotor(pt11, pt11, pt7, ang(rd(0), rd(180), rd(90)) * cf(11, 0, 0), nil) | |
955 | local hdec4 = Instance.new("Decal") | |
956 | hdec4.Texture = "rbxasset://textures/face.png" | |
957 | hdec4.Face = "Front" | |
958 | hdec4.Parent = pt11 | |
959 | local pt12 = makepart("Bright yellow", "pt12", 0, 0, "SmoothPlastic", bmod, hrp.CFrame) | |
960 | local p12m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt12) | |
961 | local p12w = makemotor(pt12, pt12, pt7, ang(rd(0), rd(0), rd(-90)) * cf(-11, 0, 0), nil) | |
962 | local hdec5 = Instance.new("Decal") | |
963 | hdec5.Texture = "rbxasset://textures/face.png" | |
964 | hdec5.Face = "Front" | |
965 | hdec5.Parent = pt12 | |
966 | local pt13 = makepart("Bright yellow", "pt13", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
967 | local p13m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt13) | |
968 | local p13w = makemotor(pt13, pt13, pt7, ang(rd(0), rd(180), rd(-90)) * cf(-11, 0, 0), nil) | |
969 | local hdec6 = Instance.new("Decal") | |
970 | hdec6.Texture = "rbxasset://textures/face.png" | |
971 | hdec6.Face = "Front" | |
972 | hdec6.Parent = pt13 | |
973 | cliham = tool.Activated:connect(function() | |
974 | if selected == false or activu == true or ragged == true then | |
975 | return | |
976 | end | |
977 | activu = true | |
978 | movin = false | |
979 | for B = 1, 20 do | |
980 | swait() | |
981 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.4) | |
982 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(0), rd(0)), 0.4) | |
983 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(170)), 0.4) | |
984 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
985 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(10)), 0.4) | |
986 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
987 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(-10)), 0.4) | |
988 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
989 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(10)), 0.4) | |
990 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
991 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 0.1 + B * 0.045) | |
992 | end | |
993 | for B = 1, 30 do | |
994 | swait() | |
995 | lerpz(RJ, "C0", RJC0 * cf(0, 0.8, 0) * ang(rd(-25), rd(0), rd(-50)), 0.1 + B / 80) | |
996 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-18), rd(0), rd(40)), 0.1 + B / 80) | |
997 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-30), rd(-5), rd(160)), 0.1 + B / 80) | |
998 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
999 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-20), rd(-150)), 0.1 + B / 80) | |
1000 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
1001 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(-10)), 0.1 + B / 80) | |
1002 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
1003 | lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(-5), rd(60), rd(-110)), 0.1 + B / 80) | |
1004 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
1005 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
1006 | end | |
1007 | for B = 1, 7 do | |
1008 | swait() | |
1009 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(40)), 0.015 + B / 15) | |
1010 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.015 + B / 15) | |
1011 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-50), rd(100)), 0.015 + B / 15) | |
1012 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
1013 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.015 + B / 15) | |
1014 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
1015 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(10)), 0.015 + B / 15) | |
1016 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
1017 | lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(-20)), 0.015 + B / 15) | |
1018 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
1019 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
1020 | end | |
1021 | for B = 1, 4 do | |
1022 | swait() | |
1023 | lerpz(RJ, "C0", RJC0 * cf(0, -0.8, 0) * ang(rd(70), rd(0), rd(40)), 0.38 + B * 0.1) | |
1024 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.38 + B * 0.1) | |
1025 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(100)), 0.38 + B * 0.1) | |
1026 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
1027 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.38 + B * 0.1) | |
1028 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
1029 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(60)), 0.38 + B * 0.1) | |
1030 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
1031 | lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(70)), 0.38 + B * 0.1) | |
1032 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
1033 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
1034 | end | |
1035 | swait(15) | |
1036 | movin = true | |
1037 | activu = false | |
1038 | end) | |
1039 | end | |
1040 | elseif batting == true then | |
1041 | batting = false | |
1042 | cliham:Disconnect() | |
1043 | local badevz = chr:FindFirstChild("bmodel") | |
1044 | badevz.PrimaryPart = badevz.hnd | |
1045 | for _, A in pairs(badevz:GetChildren()) do | |
1046 | if A.ClassName == "Part" then | |
1047 | A.CanCollide = true | |
1048 | A.Anchored = false | |
1049 | end | |
1050 | end | |
1051 | movin = false | |
1052 | badevz.Parent = workspace | |
1053 | badevz:SetPrimaryPartCFrame(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, -11, 0)) | |
1054 | game.Debris:AddItem(badevz, 8) | |
1055 | end | |
1056 | end | |
1057 | local ehhh = false | |
1058 | local ymmu, kabomobepo | |
1059 | local memedonlist = {} | |
1060 | local noobcharge = 0 | |
1061 | function nommy() | |
1062 | if selected == false or activu == true then | |
1063 | return | |
1064 | end | |
1065 | if batting == false then | |
1066 | batting = true | |
1067 | do | |
1068 | local bmod = Instance.new("Model") | |
1069 | bmod.Name = "bmodel" | |
1070 | bmod.Parent = chr | |
1071 | local hnd = makepart("Br. yellowish green", "hnd", 0, 1, "SmoothPlastic", bmod, rarm.CFrame) | |
1072 | local hmes = makemesh("Head", Vector3.new(1, 1, 1), nil, hnd) | |
1073 | local hwel = makeweld(hnd, hnd, rarm, ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), nil) | |
1074 | local pt1 = makepart("Br. yellowish green", "pt1", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
1075 | local p1m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/leftleg.mesh", pt1) | |
1076 | local p1w = makeweld(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0.5, -1, 0), nil) | |
1077 | local pt2 = makepart("Br. yellowish green", "pt2", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
1078 | local p2m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/rightleg.mesh", pt2) | |
1079 | local p2w = makeweld(pt2, pt2, hnd, ang(rd(0), rd(0), rd(0)) * cf(-0.5, -1, 0), nil) | |
1080 | local pt3 = makepart("Bright blue", "pt3", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
1081 | local p3m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/torso.mesh", pt3) | |
1082 | local p3w = makeweld(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), nil) | |
1083 | local pt4 = makepart("Bright yellow", "pt4", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
1084 | local p4m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/rightarm.mesh", pt4) | |
1085 | local p4w = makeweld(pt4, pt4, hnd, ang(rd(0), rd(0), rd(0)) * cf(-1.5, -3, 0), nil) | |
1086 | local pt5 = makepart("Bright yellow", "pt5", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
1087 | local p5m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/leftarm.mesh", pt5) | |
1088 | local p5w = makeweld(pt5, pt5, hnd, ang(rd(0), rd(0), rd(0)) * cf(1.5, -3, 0), nil) | |
1089 | local pt6 = makepart("Bright yellow", "pt6", 0, 1, "SmoothPlastic", bmod, rarm.CFrame) | |
1090 | local p6m = makemesh("Brick", Vector3.new(5.5, 5.5, 5.5), nil, pt6) | |
1091 | local p6w = makeweld(pt6, pt6, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -4.5, 0), nil) | |
1092 | local pt7 = makepart("Bright yellow", "pt7", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
1093 | local p7m = makemesh("Brick", Vector3.new(5.5, 5.5, 1), nil, pt7) | |
1094 | local p7w = makeweld(pt7, pt7, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0, -0.425), nil) | |
1095 | local pt8 = makepart("Bright yellow", "pt8", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
1096 | local p8m = makemesh("Brick", Vector3.new(5.5, 2.5, 4.25), nil, pt8) | |
1097 | local p8w = makeweld(pt8, pt8, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, -0.3, 0.1), nil) | |
1098 | local pt9 = makepart("Bright yellow", "pt9", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
1099 | local p9m = makemesh("Brick", Vector3.new(5.5, 0.5, 4.25), nil, pt9) | |
1100 | local p9w = makeweld(pt9, pt9, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0.5, 0.1), nil) | |
1101 | local pt10 = makepart("Bright yellow", "pt10", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
1102 | local p10m = makemesh("Brick", Vector3.new(2.75, 2.5, 4.25), nil, pt10) | |
1103 | local p10w = makeweld(pt10, pt10, pt6, ang(rd(0), rd(0), rd(0)) * cf(-0.275, 0.2, 0.1), nil) | |
1104 | local pt11 = makepart("Bright yellow", "pt11", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
1105 | local p11m = makemesh("Brick", Vector3.new(2.75, 2.5, 4.25), nil, pt11) | |
1106 | local p11w = makeweld(pt11, pt11, pt6, ang(rd(0), rd(0), rd(0)) * cf(0.275, 0.2, 0.1), nil) | |
1107 | local pt12 = makepart("Really black", "pt12", 0, 0.1, "SmoothPlastic", bmod, rarm.CFrame) | |
1108 | local p12m = makemesh("Brick", Vector3.new(4.25, 3.25, 2.5), nil, pt12) | |
1109 | local p12w = makeweld(pt12, pt12, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, -0.25), nil) | |
1110 | local pt13 = makepart("Really black", "pt13", 0, 0.2, "SmoothPlastic", bmod, rarm.CFrame) | |
1111 | local p13m = makemesh("Brick", Vector3.new(4.25, 3.25, 0.75), nil, pt13) | |
1112 | local p13w = makeweld(pt13, pt13, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.05), nil) | |
1113 | local pt14 = makepart("Really black", "pt14", 0, 0.3, "SmoothPlastic", bmod, rarm.CFrame) | |
1114 | local p14m = makemesh("Brick", Vector3.new(4.25, 3.25, 0.75), nil, pt14) | |
1115 | local p14w = makeweld(pt14, pt14, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.2), nil) | |
1116 | local pt15 = makepart("Really black", "pt15", 0, 0.4, "SmoothPlastic", bmod, rarm.CFrame) | |
1117 | local p15m = makemesh("Brick", Vector3.new(4.25, 3.25, 0.75), nil, pt15) | |
1118 | local p15w = makeweld(pt15, pt15, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.35), nil) | |
1119 | local pt16 = makepart("Bright yellow", "pt16", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
1120 | local p16m = makemesh("Cylinder", Vector3.new(5.244999999999999, 0, 0), nil, pt16) | |
1121 | local p16w = makeweld(pt16, pt16, pt6, ang(rd(0), rd(90), rd(0)) * cf(0.5, 0.1, 0), nil) | |
1122 | local pt17 = makepart("Bright yellow", "pt17", 0, 0, "SmoothPlastic", bmod, rarm.CFrame) | |
1123 | local p17m = makemesh("Cylinder", Vector3.new(5.244999999999999, 0, 0), nil, pt17) | |
1124 | local p17w = makeweld(pt17, pt17, pt6, ang(rd(0), rd(90), rd(0)) * cf(-0.5, 0.1, 0), nil) | |
1125 | local pt420 = makepart("Bright yellow", "pt420", 0, 1, "SmoothPlastic", bmod, rarm.CFrame) | |
1126 | local p420m = makemesh("Brick", Vector3.new(5.5, 5.25, 0), nil, pt420) | |
1127 | local p420w = makeweld(pt420, pt420, pt6, ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.525), nil) | |
1128 | local hd1 = Instance.new("Decal") | |
1129 | hd1.Name = "face1" | |
1130 | hd1.Texture = "rbxasset://textures/face.png" | |
1131 | hd1.Face = "Front" | |
1132 | hd1.Transparency = 0 | |
1133 | hd1.Parent = pt420 | |
1134 | local hd2 = Instance.new("Decal") | |
1135 | hd2.Name = "face2" | |
1136 | hd2.Texture = "rbxassetid://14175189" | |
1137 | hd2.Face = "Front" | |
1138 | hd2.Transparency = 1 | |
1139 | hd2.Parent = pt420 | |
1140 | local souno1 = Instance.new("Sound") | |
1141 | souno1.SoundId = "rbxassetid://189505649" | |
1142 | souno1.Volume = 1.5 | |
1143 | souno1.Parent = hnd | |
1144 | local souno2 = Instance.new("Sound") | |
1145 | souno2.SoundId = "rbxassetid://189652112" | |
1146 | souno2.Volume = 1.5 | |
1147 | souno2.Parent = hnd | |
1148 | local souno3 = Instance.new("Sound") | |
1149 | souno3.SoundId = "rbxassetid://90869127" | |
1150 | souno3.Pitch = 1.15 | |
1151 | souno3.Volume = 1.5 | |
1152 | souno3.Parent = hnd | |
1153 | local haseaten = false | |
1154 | local function squarehito(partoz) | |
1155 | for _, huh in pairs(workspace:GetChildren()) do | |
1156 | if huh:IsA("BasePart") then | |
1157 | local objs = partoz.CFrame:pointToObjectSpace(huh.Position) | |
1158 | if huh:GetMass() < 1750 and objs.Z < 3 and objs.Z > -1 and objs.X < 6 and objs.X > -6 and math.abs(objs.Y) < 14 then | |
1159 | if math.ceil(huh:GetMass() * 1.5) < 25 then | |
1160 | noobcharge = noobcharge + math.ceil(huh:GetMass() * 3) | |
1161 | else | |
1162 | noobcharge = noobcharge + 25 | |
1163 | end | |
1164 | huh:Destroy() | |
1165 | haseaten = true | |
1166 | end | |
1167 | elseif huh:IsA("Model") and huh ~= chr then | |
1168 | for _, WOP in pairs(huh:GetChildren()) do | |
1169 | if WOP:IsA("BasePart") then | |
1170 | local objs = partoz.CFrame:pointToObjectSpace(WOP.Position) | |
1171 | if WOP:GetMass() < 1750 and objs.Z < 3 and objs.Z > -1 and objs.X < 6 and objs.X > -6 and math.abs(objs.Y) < 14 then | |
1172 | if math.ceil(WOP:GetMass() * 1.5) < 25 then | |
1173 | noobcharge = noobcharge + math.ceil(WOP:GetMass() * 3) | |
1174 | else | |
1175 | noobcharge = noobcharge + 25 | |
1176 | end | |
1177 | WOP:Destroy() | |
1178 | haseaten = true | |
1179 | end | |
1180 | end | |
1181 | end | |
1182 | end | |
1183 | end | |
1184 | end | |
1185 | local asplohito = function(poso, magn, dmg, debtim, bodyfdire, bodyrot) | |
1186 | for _, guy in pairs(workspace:GetChildren()) do | |
1187 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and magn > (guy:FindFirstChild("HumanoidRootPart").Position - poso).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then | |
1188 | do | |
1189 | local humz = guy:FindFirstChild("Humanoid") | |
1190 | local horp = guy:FindFirstChild("HumanoidRootPart") | |
1191 | humz.Health = humz.Health - humz.MaxHealth / 100 * dmg | |
1192 | humz:SetStateEnabled(16, true) | |
1193 | delay(debtim, function() | |
1194 | humz:SetStateEnabled(16, true) | |
1195 | end) | |
1196 | local db = Instance.new("StringValue") | |
1197 | db.Name = "alabo" | |
1198 | db.Parent = horp | |
1199 | delay(debtim, function() | |
1200 | db:Destroy() | |
1201 | end) | |
1202 | local damageind = Instance.new("Model") | |
1203 | damageind.Name = dmg | |
1204 | damageind.Parent = workspace | |
1205 | game.Debris:AddItem(damageind, 0.5 + dmg / 75) | |
1206 | local awawaa = Instance.new("Humanoid") | |
1207 | awawaa.MaxHealth = 0 | |
1208 | awawaa.Parent = damageind | |
1209 | local dhed = Instance.new("Part") | |
1210 | dhed.Name = "Head" | |
1211 | dhed.Locked = true | |
1212 | dhed.Size = Vector3.new(0.2, 0.2, 0.2) | |
1213 | dhed.Position = horp.Position | |
1214 | dhed.BrickColor = BrickColor.new("Bright red") | |
1215 | dhed.CanCollide = false | |
1216 | dhed.Parent = damageind | |
1217 | local flo = Instance.new("BodyPosition") | |
1218 | flo.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1219 | flo.P = 20000 | |
1220 | flo.D = 300 | |
1221 | flo.Position = dhed.Position + Vector3.new(0, 5, 0) | |
1222 | flo.Parent = dhed | |
1223 | local dasdada = Instance.new("CylinderMesh") | |
1224 | dasdada.Parent = dhed | |
1225 | coroutine.resume(coroutine.create(function() | |
1226 | while dasdada do | |
1227 | swait() | |
1228 | dasdada.Scale = dasdada.Scale:lerp(Vector3.new(2.5 + dmg / 10, 1.25 + dmg / 35, 2.5 + dmg / 10), 0.4) | |
1229 | end | |
1230 | end)) | |
1231 | if bodyfdire then | |
1232 | local boopyve = Instance.new("BodyVelocity") | |
1233 | boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999) | |
1234 | boopyve.P = 9999999999 | |
1235 | boopyve.Velocity = bodyfdire | |
1236 | boopyve.Parent = horp | |
1237 | game.Debris:AddItem(boopyve, debtim) | |
1238 | end | |
1239 | if bodyrot then | |
1240 | local boopyro = Instance.new("BodyAngularVelocity") | |
1241 | boopyro.MaxTorque = Vector3.new(999999, 999999, 999999) | |
1242 | boopyro.P = math.huge | |
1243 | boopyro.AngularVelocity = bodyrot | |
1244 | boopyro.Parent = horp | |
1245 | game.Debris:AddItem(boopyro, debtim) | |
1246 | end | |
1247 | end | |
1248 | end | |
1249 | end | |
1250 | end | |
1251 | local awawarafasa = false | |
1252 | local customactive = false | |
1253 | ymmu = tool.Activated:connect(function() | |
1254 | if activu == true or customactive == true or ragged == true then | |
1255 | return | |
1256 | end | |
1257 | customactive = true | |
1258 | awawarafasa = true | |
1259 | coroutine.resume(coroutine.create(function() | |
1260 | tool.Deactivated:wait() | |
1261 | awawarafasa = false | |
1262 | end)) | |
1263 | for _ = 1, 5 do | |
1264 | wait() | |
1265 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(50)), 0.25) | |
1266 | hwel.C0 = hwel.C0:lerp(ang(rd(80), rd(0), rd(0)) * cf(0, 1, 0), 0.25) | |
1267 | end | |
1268 | hd1.Transparency = 1 | |
1269 | hd2.Transparency = 0 | |
1270 | local chargecountaPOOOOO = 0 | |
1271 | if awawarafasa then | |
1272 | souno3.TimePosition = 0.15 | |
1273 | souno3:Play() | |
1274 | local oz = 20 | |
1275 | local dz = 10 | |
1276 | local az = oz / 6 | |
1277 | repeat | |
1278 | wait() | |
1279 | if chargecountaPOOOOO < 10 then | |
1280 | chargecountaPOOOOO = chargecountaPOOOOO + 1 | |
1281 | end | |
1282 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(190)), 0.5) | |
1283 | hwel.C0 = hwel.C0:lerp(ang(rd(160), rd(0), rd(0)) * cf(0, 1, 0), 0.45) | |
1284 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4.5 * az, 0), 0.45) | |
1285 | p7m.Scale = p7m.Scale:lerp(Vector3.new(5.5 * dz, 5.5 * oz, 1), 0.45) | |
1286 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0, -0.425), 0.45) | |
1287 | p8m.Scale = p8m.Scale:lerp(Vector3.new(5.5 * dz, 0.5 * oz, 4.25), 0.45) | |
1288 | p8w.C0 = p8w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -0.5 * oz, 0.1), 0.45) | |
1289 | p9m.Scale = p9m.Scale:lerp(Vector3.new(5.5 * dz, 0.125 * oz, 4.25), 0.45) | |
1290 | p9w.C0 = p9w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.5375 * oz, 0.1), 0.45) | |
1291 | p10m.Scale = p10m.Scale:lerp(Vector3.new(2.5, 5 * oz, 4.25), 0.45) | |
1292 | p10w.C0 = p10w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(-0.2625 * oz, 0.5, 0.1), 0.45) | |
1293 | p11m.Scale = p11m.Scale:lerp(Vector3.new(2.5, 5 * oz, 4.25), 0.45) | |
1294 | p11w.C0 = p11w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0.2625 * oz, 0.5, 0.1), 0.45) | |
1295 | p12m.Scale = p12m.Scale:lerp(Vector3.new(5 * dz, 5.25 * oz, 2.5), 0.45) | |
1296 | p12w.C0 = p12w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, -0.25), 0.45) | |
1297 | p13m.Scale = p13m.Scale:lerp(Vector3.new(5 * dz, 5.25 * oz, 0.75), 0.45) | |
1298 | p13w.C0 = p13w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.05), 0.45) | |
1299 | p14m.Scale = p14m.Scale:lerp(Vector3.new(5 * dz, 5.25 * oz, 0.75), 0.45) | |
1300 | p14w.C0 = p14w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.2), 0.45) | |
1301 | p15m.Scale = p15m.Scale:lerp(Vector3.new(5 * dz, 5.25 * oz, 0.75), 0.45) | |
1302 | p15w.C0 = p15w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.35), 0.45) | |
1303 | p16m.Scale = p16m.Scale:lerp(Vector3.new(5.244999999999999, 0, 0), 0.45) | |
1304 | p16w.C0 = p16w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0.5, 0.1, 0), 0.45) | |
1305 | p17m.Scale = p17m.Scale:lerp(Vector3.new(5.244999999999999, 0, 0), 0.45) | |
1306 | p17w.C0 = p17w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(-0.5, 0.1, 0), 0.45) | |
1307 | p420m.Scale = p420m.Scale:lerp(Vector3.new(5.5 * dz, 5.25 * dz, 0), 0.45) | |
1308 | p420w.C0 = p420w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -0.4 * oz, 0.525), 0.45) | |
1309 | until not awawarafasa | |
1310 | end | |
1311 | if chargecountaPOOOOO > 7 then | |
1312 | activu = true | |
1313 | souno1:Play() | |
1314 | local RIDLEYDIDDLY = hrp.Velocity | |
1315 | local AWSHOOTMYPOO = hrp.Position | |
1316 | hrp.Velocity = Vector3.new(0, 0, 0) | |
1317 | local BAP = Instance.new("BodyPosition") | |
1318 | BAP.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1319 | BAP.D = 500 | |
1320 | BAP.P = 5000 | |
1321 | BAP.Position = AWSHOOTMYPOO | |
1322 | BAP.Parent = hrp | |
1323 | game.Debris:AddItem(BAP, 8) | |
1324 | local HWOWH = Instance.new("BodyAngularVelocity") | |
1325 | HWOWH.MaxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1326 | HWOWH.AngularVelocity = Vector3.new(0, 0, 0) | |
1327 | HWOWH.P = 2000 | |
1328 | HWOWH.Parent = hrp | |
1329 | game.Debris:AddItem(HWOWH, 8) | |
1330 | for _ = 1, 5 do | |
1331 | wait() | |
1332 | squarehito(pt7) | |
1333 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(50)), 0.6) | |
1334 | hwel.C0 = hwel.C0:lerp(ang(rd(155), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
1335 | end | |
1336 | if haseaten == true then | |
1337 | swait(5) | |
1338 | hd1.Transparency = 0 | |
1339 | hd2.Transparency = 1 | |
1340 | souno2:Play() | |
1341 | for _ = 1, 5 do | |
1342 | for _ = 1, 5 do | |
1343 | wait() | |
1344 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
1345 | hwel.C0 = hwel.C0:lerp(ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), 0.3) | |
1346 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4.5, 0), 0.45) | |
1347 | p7m.Scale = p7m.Scale:lerp(Vector3.new(5.5, 4.125, 1), 0.45) | |
1348 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.125, -0.425), 0.45) | |
1349 | p8m.Scale = p8m.Scale:lerp(Vector3.new(5.5, 1.875, 4.25), 0.45) | |
1350 | p8w.C0 = p8w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -0.1, 0.1), 0.45) | |
1351 | p9m.Scale = p9m.Scale:lerp(Vector3.new(5.5, 0.5, 4.25), 0.45) | |
1352 | p9w.C0 = p9w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.5, 0.1), 0.45) | |
1353 | p10m.Scale = p10m.Scale:lerp(Vector3.new(2.75, 1.875, 4.25), 0.45) | |
1354 | p10w.C0 = p10w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(-0.275, 0.275, 0.1), 0.45) | |
1355 | p11m.Scale = p11m.Scale:lerp(Vector3.new(2.75, 1.875, 4.25), 0.45) | |
1356 | p11w.C0 = p11w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0.275, 0.275, 0.1), 0.45) | |
1357 | p12m.Scale = p12m.Scale:lerp(Vector3.new(4.25, 3.25, 2.5), 0.45) | |
1358 | p12w.C0 = p12w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, -0.25), 0.45) | |
1359 | p13m.Scale = p13m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
1360 | p13w.C0 = p13w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.05), 0.45) | |
1361 | p14m.Scale = p14m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
1362 | p14w.C0 = p14w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.2), 0.45) | |
1363 | p15m.Scale = p15m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
1364 | p15w.C0 = p15w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.35), 0.45) | |
1365 | p16m.Scale = p16m.Scale:lerp(Vector3.new(5.244999999999999, 5, 5), 0.45) | |
1366 | p16w.C0 = p16w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0.6, 0.1, 0), 0.45) | |
1367 | p17m.Scale = p17m.Scale:lerp(Vector3.new(5.244999999999999, 5, 5), 0.45) | |
1368 | p17w.C0 = p17w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(-0.6, 0.1, 0), 0.45) | |
1369 | p420m.Scale = p420m.Scale:lerp(Vector3.new(5.5, 5.25, 0), 0.45) | |
1370 | p420w.C0 = p420w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.15, 0.525), 0.45) | |
1371 | end | |
1372 | for _ = 1, 5 do | |
1373 | wait() | |
1374 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
1375 | hwel.C0 = hwel.C0:lerp(ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), 0.3) | |
1376 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4.5, 0), 0.45) | |
1377 | p7m.Scale = p7m.Scale:lerp(Vector3.new(5.5, 5.5, 1), 0.45) | |
1378 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0, -0.425), 0.45) | |
1379 | p8m.Scale = p8m.Scale:lerp(Vector3.new(5.5, 2.5, 4.25), 0.45) | |
1380 | p8w.C0 = p8w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -0.3, 0.1), 0.45) | |
1381 | p9m.Scale = p9m.Scale:lerp(Vector3.new(5.5, 0.5, 4.25), 0.45) | |
1382 | p9w.C0 = p9w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.5, 0.1), 0.45) | |
1383 | p10m.Scale = p10m.Scale:lerp(Vector3.new(2.75, 2.5, 4.25), 0.45) | |
1384 | p10w.C0 = p10w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(-0.275, 0.2, 0.1), 0.45) | |
1385 | p11m.Scale = p11m.Scale:lerp(Vector3.new(2.75, 2.5, 4.25), 0.45) | |
1386 | p11w.C0 = p11w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0.275, 0.2, 0.1), 0.45) | |
1387 | p12m.Scale = p12m.Scale:lerp(Vector3.new(4.25, 3.25, 2.5), 0.45) | |
1388 | p12w.C0 = p12w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, -0.25), 0.45) | |
1389 | p13m.Scale = p13m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
1390 | p13w.C0 = p13w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.05), 0.45) | |
1391 | p14m.Scale = p14m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
1392 | p14w.C0 = p14w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.2), 0.45) | |
1393 | p15m.Scale = p15m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
1394 | p15w.C0 = p15w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.35), 0.45) | |
1395 | p16m.Scale = p16m.Scale:lerp(Vector3.new(5.244999999999999, 1.75, 1.75), 0.45) | |
1396 | p16w.C0 = p16w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0.5, 0.15, 0), 0.45) | |
1397 | p17m.Scale = p17m.Scale:lerp(Vector3.new(5.244999999999999, 1.75, 1.75), 0.45) | |
1398 | p17w.C0 = p17w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(-0.5, 0.15, 0), 0.45) | |
1399 | p420m.Scale = p420m.Scale:lerp(Vector3.new(5.5, 5.25, 0), 0.45) | |
1400 | p420w.C0 = p420w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.525), 0.45) | |
1401 | end | |
1402 | end | |
1403 | print(noobcharge) | |
1404 | haseaten = false | |
1405 | else | |
1406 | swait(10) | |
1407 | end | |
1408 | BAP:Destroy() | |
1409 | HWOWH:Destroy() | |
1410 | hrp.Velocity = RIDLEYDIDDLY | |
1411 | activu = false | |
1412 | end | |
1413 | hd1.Transparency = 0 | |
1414 | hd2.Transparency = 1 | |
1415 | customactive = false | |
1416 | end) | |
1417 | kabomobepo = mouse.KeyDown:connect(function(thekeyyyy) | |
1418 | if activu == true or customactive == true or ragged == true or noobcharge < 100 or thekeyyyy ~= "f" then | |
1419 | return | |
1420 | end | |
1421 | noobcharge = 0 | |
1422 | batting = false | |
1423 | ymmu:Disconnect() | |
1424 | ymmu = nil | |
1425 | kabomobepo:Disconnect() | |
1426 | kabomobepo = nil | |
1427 | local taggedpos = mouse.Hit.p | |
1428 | local badevz = chr:FindFirstChild("bmodel") | |
1429 | badevz.PrimaryPart = badevz.hnd | |
1430 | if badevz.hnd:FindFirstChildOfClass("Weld") then | |
1431 | badevz.hnd:FindFirstChildOfClass("Weld"):Destroy() | |
1432 | end | |
1433 | badevz.Parent = workspace | |
1434 | badevz:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1)) | |
1435 | game.Debris:AddItem(badevz, 40) | |
1436 | local bodyrot = Instance.new("BodyAngularVelocity") | |
1437 | bodyrot.MaxTorque = Vector3.new(9999999999999, 9999999999999, 9999999999999) | |
1438 | bodyrot.P = 500000 | |
1439 | bodyrot.AngularVelocity = Vector3.new(0, 0, 0) | |
1440 | bodyrot.Parent = badevz.hnd | |
1441 | local bodyfor = Instance.new("BodyForce") | |
1442 | bodyfor.Force = Vector3.new(0, 20, 0) | |
1443 | bodyfor.Parent = badevz.hnd | |
1444 | coroutine.resume(coroutine.create(function() | |
1445 | while bodyrot do | |
1446 | swait(3) | |
1447 | bodyfor.Force = bodyfor.Force + Vector3.new(0, 1, 0) | |
1448 | end | |
1449 | end)) | |
1450 | local AWDAMN = {} | |
1451 | for _ = 1, 8 do | |
1452 | local aw = makepart("Grey", "wot", 0, 0.4, "SmoothPlastic", modz, badevz.hnd.CFrame) | |
1453 | aw.Size = Vector3.new(2, 2, 2) | |
1454 | aw.Anchored = true | |
1455 | game.Debris:AddItem(aw, 20) | |
1456 | table.insert(AWDAMN, aw) | |
1457 | end | |
1458 | for _ = 1, 35 do | |
1459 | for _, ADASD in pairs(AWDAMN) do | |
1460 | swait() | |
1461 | if 1 < ADASD.Transparency then | |
1462 | ADASD.Size = Vector3.new(2, 2, 2) | |
1463 | ADASD.Transparency = 0.4 | |
1464 | else | |
1465 | ADASD.Transparency = ADASD.Transparency + 0.1 | |
1466 | ADASD.Size = ADASD.Size + Vector3.new(1, 1, 1) | |
1467 | end | |
1468 | ADASD.CFrame = badevz.hnd.CFrame * ang(rd(rd2(0, 360)), rd(rd2(0, 360)), rd(rd2(0, 360))) | |
1469 | end | |
1470 | end | |
1471 | bodyfor:Destroy() | |
1472 | bodyrot:Destroy() | |
1473 | badevz.hnd.Anchored = true | |
1474 | badevz:SetPrimaryPartCFrame(CFrame.new(badevz.hnd.Position, taggedpos) * ang(rd(-90), rd(0), 0)) | |
1475 | for _ = 1, 40 do | |
1476 | wait() | |
1477 | local wayy = Ray.new(badevz.hnd.Position, badevz.hnd.CFrame.upVector * 200) | |
1478 | local gotdeparto = workspace:FindPartOnRayWithIgnoreList(wayy, {badevz}, true, false) | |
1479 | if gotdeparto then | |
1480 | asplohito(taggedpos, 100, 80, 1, Vector3.new(rd2(-40, 40), rd2(160, 180), rd2(-40, 40)), Vector3.new(rd2(-20, 20), rd2(40, 80), rd2(-20, 20))) | |
1481 | do | |
1482 | local poopys = makepart("White", "WOAH", 0, 0.2, "Neon", modz, cf(taggedpos)) | |
1483 | poopys.Anchored = true | |
1484 | local loldon = makemesh("Sphere", Vector3.new(30, 30, 30), nil, poopys) | |
1485 | game.Debris:AddItem(poopys, 10) | |
1486 | coroutine.resume(coroutine.create(function() | |
1487 | for _ = 1, 20 do | |
1488 | swait() | |
1489 | loldon.Scale = loldon.Scale + Vector3.new(60, 60, 60) | |
1490 | poopys.Transparency = poopys.Transparency + 0.05 | |
1491 | end | |
1492 | poopys:Destroy() | |
1493 | end)) | |
1494 | badevz:Destroy() | |
1495 | break | |
1496 | end | |
1497 | else | |
1498 | badevz:SetPrimaryPartCFrame(badevz.hnd.CFrame * cf(0, 180, 0)) | |
1499 | end | |
1500 | end | |
1501 | end) | |
1502 | coroutine.resume(coroutine.create(function() | |
1503 | while ymmu do | |
1504 | wait() | |
1505 | if not customactive then | |
1506 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
1507 | hwel.C0 = hwel.C0:lerp(ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), 0.3) | |
1508 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4.5, 0), 0.45) | |
1509 | p7m.Scale = p7m.Scale:lerp(Vector3.new(5.5, 5.5, 1), 0.45) | |
1510 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0, -0.425), 0.45) | |
1511 | p8m.Scale = p8m.Scale:lerp(Vector3.new(5.5, 2.5, 4.25), 0.45) | |
1512 | p8w.C0 = p8w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -0.3, 0.1), 0.45) | |
1513 | p9m.Scale = p9m.Scale:lerp(Vector3.new(5.5, 0.5, 4.25), 0.45) | |
1514 | p9w.C0 = p9w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.5, 0.1), 0.45) | |
1515 | p10m.Scale = p10m.Scale:lerp(Vector3.new(2.75, 2.5, 4.25), 0.45) | |
1516 | p10w.C0 = p10w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(-0.275, 0.2, 0.1), 0.45) | |
1517 | p11m.Scale = p11m.Scale:lerp(Vector3.new(2.75, 2.5, 4.25), 0.45) | |
1518 | p11w.C0 = p11w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0.275, 0.2, 0.1), 0.45) | |
1519 | p12m.Scale = p12m.Scale:lerp(Vector3.new(4.25, 3.25, 2.5), 0.45) | |
1520 | p12w.C0 = p12w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, -0.25), 0.45) | |
1521 | p13m.Scale = p13m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
1522 | p13w.C0 = p13w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.05), 0.45) | |
1523 | p14m.Scale = p14m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
1524 | p14w.C0 = p14w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.2), 0.45) | |
1525 | p15m.Scale = p15m.Scale:lerp(Vector3.new(4.25, 3.25, 0.75), 0.45) | |
1526 | p15w.C0 = p15w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0.175, 0.35), 0.45) | |
1527 | p16m.Scale = p16m.Scale:lerp(Vector3.new(5.244999999999999, 0, 0), 0.45) | |
1528 | p16w.C0 = p16w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0.5, 0.1, 0), 0.45) | |
1529 | p17m.Scale = p17m.Scale:lerp(Vector3.new(5.244999999999999, 0, 0), 0.45) | |
1530 | p17w.C0 = p17w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(-0.5, 0.1, 0), 0.45) | |
1531 | p420m.Scale = p420m.Scale:lerp(Vector3.new(5.5, 5.25, 0), 0.45) | |
1532 | p420w.C0 = p420w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.525), 0.45) | |
1533 | end | |
1534 | end | |
1535 | end)) | |
1536 | end | |
1537 | elseif batting == true then | |
1538 | if customactive == true or activu == true then | |
1539 | return | |
1540 | end | |
1541 | batting = false | |
1542 | ymmu:Disconnect() | |
1543 | ymmu = nil | |
1544 | kabomobepo:Disconnect() | |
1545 | kabomobepo = nil | |
1546 | noobcharge = 0 | |
1547 | for h = 1, #memedonlist do | |
1548 | table.remove(memedonlist, h) | |
1549 | end | |
1550 | local badevz = chr:FindFirstChild("bmodel") | |
1551 | badevz.PrimaryPart = badevz.hnd | |
1552 | if badevz.hnd:FindFirstChildOfClass("Weld") then | |
1553 | badevz.hnd:FindFirstChildOfClass("Weld"):Destroy() | |
1554 | end | |
1555 | for _, A in pairs(badevz:GetChildren()) do | |
1556 | if A.ClassName == "Part" then | |
1557 | A.CanCollide = true | |
1558 | end | |
1559 | end | |
1560 | badevz.Parent = workspace | |
1561 | badevz:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1)) | |
1562 | game.Debris:AddItem(badevz, 6) | |
1563 | end | |
1564 | end | |
1565 | game:GetService("ContentProvider"):Preload("rbxassetid://725969678") | |
1566 | function lauf() | |
1567 | if selected == false or activu == true or batting == true or ragged == true then | |
1568 | return | |
1569 | end | |
1570 | activu = true | |
1571 | local sped = human.WalkSpeed | |
1572 | hrp.Anchored = true | |
1573 | human.WalkSpeed = 0 | |
1574 | lauf1:Play() | |
1575 | cam.CameraType = "Scriptable" | |
1576 | cam.CoordinateFrame = hrp.CFrame * ang(rd(0), rd(215), rd(0)) * cf(0, 0, 13) | |
1577 | for i = 1, 4 do | |
1578 | swait() | |
1579 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.4 + i * 0.15) | |
1580 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4 + i * 0.15) | |
1581 | lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(10)), 0.4 + i * 0.15) | |
1582 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4 + i * 0.15) | |
1583 | lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(-10)), 0.4 + i * 0.15) | |
1584 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4 + i * 0.15) | |
1585 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.4 + i * 0.15) | |
1586 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4 + i * 0.15) | |
1587 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.4 + i * 0.15) | |
1588 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4 + i * 0.15) | |
1589 | end | |
1590 | local makeglasses = function(whicharm, motorcf) | |
1591 | local makemotor = function(parent, p0, p1, c0, c1) | |
1592 | local wel = Instance.new("Motor6D") | |
1593 | wel.Part0 = p0 | |
1594 | wel.Part1 = p1 | |
1595 | wel.C0 = c0 | |
1596 | if c1 ~= nil then | |
1597 | wel.C1 = c1 | |
1598 | end | |
1599 | wel.Parent = parent | |
1600 | return wel | |
1601 | end | |
1602 | local glasses = makepart("Black", "glasses", 0, 0, "SmoothPlastic", whicharm, whicharm.CFrame) | |
1603 | local glassesmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://30166087", glasses) | |
1604 | glassesmesh.TextureId = "rbxassetid://30166098" | |
1605 | local glassesmotor = makemotor(glasses, glasses, whicharm, motorcf, nil) | |
1606 | return glasses, glassesmotor | |
1607 | end | |
1608 | swait(10) | |
1609 | local glasses1, glassesmotor1 = makeglasses(hed, ang(rd(0), rd(0), 0) * cf(0, -0.2, 0.25)) | |
1610 | swait(13) | |
1611 | cam.CoordinateFrame = hed.CFrame * ang(rd(5), rd(145), rd(-5)) * cf(0, 0, 5) | |
1612 | local glasses2, glassesmotor2 = makeglasses(rarm, ang(rd(180), rd(0), 0) * cf(0, 1, 0)) | |
1613 | for i = 1, 4 do | |
1614 | swait() | |
1615 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14) | |
1616 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1617 | lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(170)), 0.3 + i * 0.14) | |
1618 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1619 | lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(-10)), 0.3 + i * 0.14) | |
1620 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1621 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14) | |
1622 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1623 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14) | |
1624 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1625 | end | |
1626 | glassesmotor2.Part1 = hed | |
1627 | glassesmotor2.C0 = ang(rd(-25), rd(-2), rd(4)) * cf(0, -0.55, 0.275) | |
1628 | swait(3) | |
1629 | local glasses3, glassesmotor3 = makeglasses(larm, ang(rd(180), rd(0), 0) * cf(0, 1, 0)) | |
1630 | for i = 1, 4 do | |
1631 | swait() | |
1632 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14) | |
1633 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1634 | lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(20), rd(-10), rd(10)), 0.3 + i * 0.14) | |
1635 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1636 | lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(170)), 0.3 + i * 0.14) | |
1637 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1638 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14) | |
1639 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1640 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14) | |
1641 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1642 | end | |
1643 | glassesmotor3.Part1 = hed | |
1644 | glassesmotor3.C0 = ang(rd(-8), rd(13), rd(-2)) * cf(-0.075, 0, 0.35) | |
1645 | swait(3) | |
1646 | local glasses4, glassesmotor4 = makeglasses(rarm, ang(rd(180), rd(0), 0) * cf(0, 1, 0)) | |
1647 | for i = 1, 4 do | |
1648 | swait() | |
1649 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14) | |
1650 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1651 | lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(170)), 0.3 + i * 0.14) | |
1652 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1653 | lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(40), rd(-10), rd(-10)), 0.3 + i * 0.14) | |
1654 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1655 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14) | |
1656 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1657 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14) | |
1658 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1659 | end | |
1660 | glassesmotor4.Part1 = hed | |
1661 | glassesmotor4.C0 = ang(rd(10), rd(-10), rd(16)) * cf(0, 0.1, 0.325) | |
1662 | swait(3) | |
1663 | local glasses5, glassesmotor5 = makeglasses(larm, ang(rd(180), rd(0), 0) * cf(0, 1, 0)) | |
1664 | for i = 1, 4 do | |
1665 | swait() | |
1666 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14) | |
1667 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1668 | lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(20), rd(-10), rd(10)), 0.3 + i * 0.14) | |
1669 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1670 | lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(170)), 0.3 + i * 0.14) | |
1671 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1672 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14) | |
1673 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1674 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14) | |
1675 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1676 | end | |
1677 | glassesmotor5.Part1 = hed | |
1678 | glassesmotor5.C0 = ang(rd(-37), rd(17), rd(-8)) * cf(0, -0.75, 0.2) | |
1679 | swait(3) | |
1680 | local glasses6, glassesmotor6 = makeglasses(rarm, ang(rd(180), rd(0), 0) * cf(0, 1, 0)) | |
1681 | for i = 1, 4 do | |
1682 | swait() | |
1683 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14) | |
1684 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1685 | lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(170)), 0.3 + i * 0.14) | |
1686 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1687 | lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(10)), 0.3 + i * 0.14) | |
1688 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1689 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14) | |
1690 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1691 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14) | |
1692 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1693 | end | |
1694 | glassesmotor6.Part1 = hed | |
1695 | glassesmotor6.C0 = ang(rd(37), rd(4), rd(-2)) * cf(0, 0.3, 0.275) | |
1696 | for i = 1, 4 do | |
1697 | swait() | |
1698 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(80)), 0.3 + i * 0.14) | |
1699 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1700 | lerpz(RS, "C0", RSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(10)), 0.3 + i * 0.14) | |
1701 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1702 | lerpz(LS, "C0", LSC0 * cf(0, -0.3, 0) * ang(rd(-40), rd(-10), rd(10)), 0.3 + i * 0.14) | |
1703 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1704 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3 + i * 0.14) | |
1705 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1706 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.3 + i * 0.14) | |
1707 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3 + i * 0.14) | |
1708 | end | |
1709 | swait(1) | |
1710 | local scg = Instance.new("ScreenGui") | |
1711 | scg.Parent = plr.PlayerGui | |
1712 | local t1 = Instance.new("TextLabel") | |
1713 | t1.AnchorPoint = Vector2.new(0.5, 0.5) | |
1714 | t1.BackgroundTransparency = 0 | |
1715 | t1.BorderSizePixel = 0 | |
1716 | t1.Position = UDim2.new(0.4, 0, 0.78, 0) | |
1717 | t1.Rotation = -6 | |
1718 | t1.Size = UDim2.new(0, 2, 0, 2) | |
1719 | t1.TextSize = 100 | |
1720 | t1.Font = "Cartoon" | |
1721 | t1.Text = "I.." | |
1722 | t1.TextStrokeTransparency = 0 | |
1723 | t1.Parent = scg | |
1724 | coroutine.resume(coroutine.create(function() | |
1725 | while t1 do | |
1726 | t1.TextColor3 = Color3.new(rd2(0, 1), rd2(0, 1), rd2(0, 1)) | |
1727 | for _ = 1, 15 do | |
1728 | game:GetService("RunService").Heartbeat:wait() | |
1729 | t1.TextColor3 = Color3.new(t1.TextColor3.r, t1.TextColor3.g + 0.06666666666666667, t1.TextColor3.b) | |
1730 | end | |
1731 | for _ = 1, 15 do | |
1732 | game:GetService("RunService").Heartbeat:wait() | |
1733 | t1.TextColor3 = Color3.new(t1.TextColor3.r - 0.06666666666666667, t1.TextColor3.g, t1.TextColor3.b) | |
1734 | end | |
1735 | for _ = 1, 15 do | |
1736 | game:GetService("RunService").Heartbeat:wait() | |
1737 | t1.TextColor3 = Color3.new(t1.TextColor3.r, t1.TextColor3.g, t1.TextColor3.b + 0.06666666666666667) | |
1738 | end | |
1739 | for _ = 1, 15 do | |
1740 | game:GetService("RunService").Heartbeat:wait() | |
1741 | t1.TextColor3 = Color3.new(t1.TextColor3.r, t1.TextColor3.g - 0.06666666666666667, t1.TextColor3.b) | |
1742 | end | |
1743 | for _ = 1, 15 do | |
1744 | game:GetService("RunService").Heartbeat:wait() | |
1745 | t1.TextColor3 = Color3.new(t1.TextColor3.r + 0.06666666666666667, t1.TextColor3.g, t1.TextColor3.b) | |
1746 | end | |
1747 | for _ = 1, 15 do | |
1748 | game:GetService("RunService").Heartbeat:wait() | |
1749 | t1.TextColor3 = Color3.new(t1.TextColor3.r, t1.TextColor3.g, t1.TextColor3.b - 0.06666666666666667) | |
1750 | end | |
1751 | end | |
1752 | end)) | |
1753 | swait(8) | |
1754 | local t2 = Instance.new("TextLabel") | |
1755 | t2.AnchorPoint = Vector2.new(0.5, 0.5) | |
1756 | t2.BackgroundTransparency = 0 | |
1757 | t2.BorderSizePixel = 0 | |
1758 | t2.Position = UDim2.new(0.575, 0, 0.84, 0) | |
1759 | t2.Rotation = 15 | |
1760 | t2.Size = UDim2.new(0, 2, 0, 2) | |
1761 | t2.TextSize = 100 | |
1762 | t2.Font = "Cartoon" | |
1763 | t2.Text = "WIN!!1!!!!" | |
1764 | t2.TextStrokeTransparency = 0 | |
1765 | t2.Parent = scg | |
1766 | coroutine.resume(coroutine.create(function() | |
1767 | while t2 do | |
1768 | t2.TextColor3 = Color3.new(rd2(0, 1), rd2(0, 1), rd2(0, 1)) | |
1769 | for _ = 1, 15 do | |
1770 | game:GetService("RunService").Heartbeat:wait() | |
1771 | t2.TextColor3 = Color3.new(t2.TextColor3.r, t2.TextColor3.g + 0.06666666666666667, t2.TextColor3.b) | |
1772 | end | |
1773 | for _ = 1, 15 do | |
1774 | game:GetService("RunService").Heartbeat:wait() | |
1775 | t2.TextColor3 = Color3.new(t2.TextColor3.r - 0.06666666666666667, t2.TextColor3.g, t2.TextColor3.b) | |
1776 | end | |
1777 | for _ = 1, 15 do | |
1778 | game:GetService("RunService").Heartbeat:wait() | |
1779 | t2.TextColor3 = Color3.new(t2.TextColor3.r, t2.TextColor3.g, t2.TextColor3.b + 0.06666666666666667) | |
1780 | end | |
1781 | for _ = 1, 15 do | |
1782 | game:GetService("RunService").Heartbeat:wait() | |
1783 | t2.TextColor3 = Color3.new(t2.TextColor3.r, t2.TextColor3.g - 0.06666666666666667, t2.TextColor3.b) | |
1784 | end | |
1785 | for _ = 1, 15 do | |
1786 | game:GetService("RunService").Heartbeat:wait() | |
1787 | t2.TextColor3 = Color3.new(t2.TextColor3.r + 0.06666666666666667, t2.TextColor3.g, t2.TextColor3.b) | |
1788 | end | |
1789 | for _ = 1, 15 do | |
1790 | game:GetService("RunService").RHeartbeat:wait() | |
1791 | t2.TextColor3 = Color3.new(t2.TextColor3.r, t2.TextColor3.g, t2.TextColor3.b - 0.06666666666666667) | |
1792 | end | |
1793 | end | |
1794 | end)) | |
1795 | swait(20) | |
1796 | scg:Destroy() | |
1797 | glasses1:Destroy() | |
1798 | glasses2:Destroy() | |
1799 | glasses3:Destroy() | |
1800 | glasses4:Destroy() | |
1801 | glasses5:Destroy() | |
1802 | glasses6:Destroy() | |
1803 | cam.CameraType = "Custom" | |
1804 | hrp.Anchored = false | |
1805 | human.WalkSpeed = sped | |
1806 | activu = false | |
1807 | end | |
1808 | function makenoob(cfrem, scalo, rags) | |
1809 | nscale.Value = scalo | |
1810 | local md = Instance.new("Model") | |
1811 | md.Name = "Noob" | |
1812 | md.Parent = workspace | |
1813 | local hu = Instance.new("Humanoid") | |
1814 | hu.RigType = "R6" | |
1815 | hu.MaxHealth = 100 * scalo | |
1816 | hu.Health = 100 * scalo | |
1817 | hu.Parent = md | |
1818 | local anm = Instance.new("Animator") | |
1819 | anm.Parent = hu | |
1820 | hu.PlatformStand = true | |
1821 | local light = function(part) | |
1822 | part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5) | |
1823 | end | |
1824 | local hd = Instance.new("Part") | |
1825 | hd.Name = "Head" | |
1826 | hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
1827 | hd.TopSurface = "Smooth" | |
1828 | hd.BottomSurface = "Inlet" | |
1829 | hd.Locked = true | |
1830 | hd.BrickColor = BrickColor.new("Bright yellow") | |
1831 | hd.CanCollide = true | |
1832 | hd.Anchored = false | |
1833 | light(hd) | |
1834 | hd.Parent = md | |
1835 | local hm = Instance.new("SpecialMesh") | |
1836 | hm.MeshType = "Head" | |
1837 | hm.Scale = Vector3.new(1.25, 1.25, 1.25) | |
1838 | hm.Parent = hd | |
1839 | local hf = Instance.new("Decal") | |
1840 | hf.Name = "face" | |
1841 | hf.Texture = "rbxasset://textures/face.png" | |
1842 | local gen = math.random(1, 40) | |
1843 | if gen == 3 then | |
1844 | hf.Texture = "rbxassetid://260884109" | |
1845 | end | |
1846 | if gen == 8 then | |
1847 | hf.Texture = "rbxassetid://260569492" | |
1848 | end | |
1849 | if gen == 12 then | |
1850 | hf.Texture = "rbxassetid://259580505" | |
1851 | end | |
1852 | if gen == 16 then | |
1853 | hf.Texture = "rbxassetid://259579232" | |
1854 | end | |
1855 | if gen == 24 then | |
1856 | hf.Texture = "rbxassetid://259571525" | |
1857 | end | |
1858 | if gen == 28 then | |
1859 | hf.Texture = "rbxassetid://258283210" | |
1860 | end | |
1861 | if gen == 32 then | |
1862 | hf.Texture = "rbxassetid://258940032" | |
1863 | end | |
1864 | if gen == 38 then | |
1865 | hf.Texture = "rbxassetid://673220970" | |
1866 | hf.Color3 = Color3.new(0, 0, 0) | |
1867 | end | |
1868 | hf.Face = "Front" | |
1869 | hf.Parent = hd | |
1870 | local hrpa = Instance.new("Part") | |
1871 | hrpa.Name = "HumanoidRootPart" | |
1872 | hrpa.TopSurface, hrpa.BottomSurface = 0, 0 | |
1873 | hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
1874 | hrpa.Transparency = 1 | |
1875 | hrpa.CanCollide = false | |
1876 | hrpa.Locked = true | |
1877 | light(hrpa) | |
1878 | hrpa.Parent = md | |
1879 | local tagbomb = Instance.new("BoolValue") | |
1880 | tagbomb.Name = "tagbomb" | |
1881 | tagbomb.Value = false | |
1882 | tagbomb.Parent = hrpa | |
1883 | local learm = Instance.new("Part") | |
1884 | learm.Name = "Left Arm" | |
1885 | learm.BrickColor = BrickColor.new("Bright yellow") | |
1886 | learm.CanCollide = false | |
1887 | learm.Locked = true | |
1888 | learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
1889 | light(learm) | |
1890 | learm.Parent = md | |
1891 | local riarm = Instance.new("Part") | |
1892 | riarm.Name = "Right Arm" | |
1893 | riarm.BrickColor = BrickColor.new("Bright yellow") | |
1894 | riarm.CanCollide = false | |
1895 | riarm.Locked = true | |
1896 | light(riarm) | |
1897 | riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
1898 | riarm.Parent = md | |
1899 | local leleg = Instance.new("Part") | |
1900 | leleg.Name = "Left Leg" | |
1901 | leleg.BrickColor = BrickColor.new("Br. yellowish green") | |
1902 | leleg.CanCollide = false | |
1903 | leleg.Locked = true | |
1904 | light(leleg) | |
1905 | leleg.BottomSurface = 0 | |
1906 | leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
1907 | leleg.Parent = md | |
1908 | local rileg = Instance.new("Part") | |
1909 | rileg.Name = "Right Leg" | |
1910 | rileg.BrickColor = BrickColor.new("Br. yellowish green") | |
1911 | rileg.CanCollide = false | |
1912 | rileg.Locked = true | |
1913 | light(rileg) | |
1914 | rileg.BottomSurface = 0 | |
1915 | rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
1916 | rileg.Parent = md | |
1917 | local tor = Instance.new("Part") | |
1918 | tor.Name = "Torso" | |
1919 | tor.BrickColor = BrickColor.new("Bright blue") | |
1920 | tor.Locked = true | |
1921 | light(tor) | |
1922 | tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
1923 | tor.LeftSurface, tor.RightSurface = "Weld", "Weld" | |
1924 | tor.Parent = md | |
1925 | md.PrimaryPart = hrpa | |
1926 | md:SetPrimaryPartCFrame(cfrem) | |
1927 | md:makeJoints() | |
1928 | makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint") | |
1929 | makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck") | |
1930 | if rags == true then | |
1931 | makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
1932 | makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
1933 | makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
1934 | makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
1935 | maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
1936 | maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
1937 | maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
1938 | maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
1939 | elseif rags == false then | |
1940 | makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
1941 | makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
1942 | makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
1943 | makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
1944 | hu.PlatformStand = false | |
1945 | end | |
1946 | nscale.Value = 1 | |
1947 | local whistl = Instance.new("Sound") | |
1948 | whistl.SoundId = "rbxassetid://170297200" | |
1949 | whistl.Name = "whistl" | |
1950 | whistl.Volume = 1 | |
1951 | whistl.TimePosition = 0.6 | |
1952 | whistl.Pitch = 1 | |
1953 | whistl.Parent = hrpa | |
1954 | hu.Touched:connect(function(tpart, uwot) | |
1955 | if tagbomb.Value == true and tpart.Parent ~= md and tpart.Parent.Parent ~= md and tpart.Parent.Parent.Parent ~= md and tpart.Parent ~= "Noob" then | |
1956 | tagbomb.Value = false | |
1957 | hu.Health = 0 | |
1958 | local derp = Instance.new("Explosion") | |
1959 | derp.BlastPressure = 200 | |
1960 | derp.BlastRadius = 16 | |
1961 | derp.DestroyJointRadiusPercent = 0 | |
1962 | derp.ExplosionType = 2 | |
1963 | derp.Visible = true | |
1964 | derp.Position = uwot.Position - Vector3.new(0, 0.5, 0) | |
1965 | derp.Parent = workspace | |
1966 | game.Debris:AddItem(md, 8) | |
1967 | local sound2 = Instance.new("Sound") | |
1968 | sound2.SoundId = "rbxassetid://157878578" | |
1969 | sound2.Volume = 0.8 | |
1970 | sound2.Pitch = 0.9 | |
1971 | sound2.Parent = uwot | |
1972 | sound2:Play() | |
1973 | whistl:Stop() | |
1974 | hito(uwot, 14, 24, 0.3, Vector3.new(rd2(-10, 10), rd2(20, 30), rd2(-10, 10)), Vector3.new(rd2(-10, 10), rd2(20, 30), rd2(-10, 10))) | |
1975 | end | |
1976 | end) | |
1977 | return md | |
1978 | end | |
1979 | local pl, st, gotago | |
1980 | function musicnoob() | |
1981 | if selected == false or activu == true then | |
1982 | return | |
1983 | end | |
1984 | if memeing == false then | |
1985 | activu = true | |
1986 | do | |
1987 | local nib = spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, false) | |
1988 | nib.Name = "Nooprah" | |
1989 | nib.Parent = modz | |
1990 | local nHuman = nib:FindFirstChild("Humanoid") | |
1991 | local nhrp = nib:FindFirstChild("HumanoidRootPart") | |
1992 | local nTorso = nib:FindFirstChild("Torso") | |
1993 | local nRS = nTorso:FindFirstChild("Right Shoulder") | |
1994 | local nLS = nTorso:FindFirstChild("Left Shoulder") | |
1995 | local nRH = nTorso:FindFirstChild("Right Hip") | |
1996 | local nLH = nTorso:FindFirstChild("Left Hip") | |
1997 | local nRJ = nhrp:FindFirstChild("RootJoint") | |
1998 | local nN = nTorso:FindFirstChild("Neck") | |
1999 | local nFace = nib:FindFirstChild("Head"):FindFirstChild("face") | |
2000 | nHuman.MaxHealth = math.huge | |
2001 | nHuman.Health = math.huge | |
2002 | nFace.Texture = "rbxassetid://14175189" | |
2003 | local mp = makepart("Black", "mauth", 0, 0, "SmoothPlastic", nib:FindFirstChild("Head"), nhrp.CFrame) | |
2004 | local mm = makemesh("Sphere", Vector3.new(3, 0.25, 0.75), nil, mp) | |
2005 | local mmot = makejoint(mp, cf(0, 0.175, 0.55), cf(0, 0, 0), mp, nib:FindFirstChild("Head"), "derp") | |
2006 | local mosicu = Instance.new("Sound") | |
2007 | mosicu.Name = "moose" | |
2008 | mosicu.Volume = 1 | |
2009 | mosicu.EmitterSize = 40 | |
2010 | mosicu.MaxDistance = 80 | |
2011 | mosicu.Looped = true | |
2012 | mosicu.Parent = nib:FindFirstChild("Head") | |
2013 | local sg = Instance.new("ScreenGui") | |
2014 | sg.Name = "simpleflips" | |
2015 | sg.Parent = plr.PlayerGui | |
2016 | local fr = Instance.new("Frame") | |
2017 | fr.AnchorPoint = Vector2.new(1, 0.5) | |
2018 | fr.BackgroundColor3 = Color3.new(1, 1, 0.0784313725490196) | |
2019 | fr.BorderSizePixel = 2 | |
2020 | fr.Position = UDim2.new(0.975, 0, 0.5, 0) | |
2021 | fr.Size = UDim2.new(0, 200, 0, 100) | |
2022 | fr.Parent = sg | |
2023 | local mbox = Instance.new("TextBox") | |
2024 | mbox.AnchorPoint = Vector2.new(0.5, 0.5) | |
2025 | mbox.BackgroundColor3 = Color3.new(0.9019607843137255, 0.9019607843137255, 0.0784313725490196) | |
2026 | mbox.BorderSizePixel = 2 | |
2027 | mbox.Position = UDim2.new(0.5, 0, 0.25, 0) | |
2028 | mbox.Size = UDim2.new(0, 150, 0, 40) | |
2029 | mbox.Font = "SourceSansBold" | |
2030 | mbox.FontSize = "Size24" | |
2031 | mbox.Text = "MEME" | |
2032 | mbox.TextWrapped = true | |
2033 | mbox.Parent = fr | |
2034 | local pley = Instance.new("TextButton") | |
2035 | pley.AnchorPoint = Vector2.new(0.5, 0.5) | |
2036 | pley.BackgroundColor3 = Color3.new(0.25098039215686274, 1, 0.3137254901960784) | |
2037 | pley.BorderSizePixel = 2 | |
2038 | pley.Position = UDim2.new(0.25, 0, 0.75, 0) | |
2039 | pley.Size = UDim2.new(0, 75, 0, 35) | |
2040 | pley.Font = "SourceSansBold" | |
2041 | pley.FontSize = "Size18" | |
2042 | pley.Text = "kappa" | |
2043 | pley.Parent = fr | |
2044 | local stap = Instance.new("TextButton") | |
2045 | stap.AnchorPoint = Vector2.new(0.5, 0.5) | |
2046 | stap.BackgroundColor3 = Color3.new(1, 0.25098039215686274, 0.11764705882352941) | |
2047 | stap.BorderSizePixel = 2 | |
2048 | stap.Position = UDim2.new(0.75, 0, 0.75, 0) | |
2049 | stap.Size = UDim2.new(0, 75, 0, 35) | |
2050 | stap.Font = "SourceSansBold" | |
2051 | stap.FontSize = "Size18" | |
2052 | stap.Text = "pride" | |
2053 | stap.Parent = fr | |
2054 | pl = pley.MouseButton1Click:connect(function() | |
2055 | mosicu.SoundId = "rbxassetid://" .. mbox.Text | |
2056 | mosicu:Play() | |
2057 | end) | |
2058 | st = stap.MouseButton1Click:connect(function() | |
2059 | mosicu:Stop() | |
2060 | end) | |
2061 | gotago = tool.Activated:connect(function() | |
2062 | if mouse.Hit ~= nil and batting == false then | |
2063 | nHuman:MoveTo(mouse.Hit.p) | |
2064 | end | |
2065 | end) | |
2066 | local memevalue, memevalue2, liftvalue | |
2067 | coroutine.resume(coroutine.create(function() | |
2068 | while nib do | |
2069 | swait() | |
2070 | memevalue = -90 * (mosicu.PlaybackLoudness / 500) | |
2071 | memevalue2 = -20 * (mosicu.PlaybackLoudness / 500) | |
2072 | liftvalue = 0.75 * (mosicu.PlaybackLoudness / 500) | |
2073 | mm.Scale = mm.Scale:lerp(Vector3.new(3 * (1 - mosicu.PlaybackLoudness / 900), 0.25 * (1 + mosicu.PlaybackLoudness / 30), 0.75 * (1 + mosicu.PlaybackLoudness / 1750)), 0.7) | |
2074 | if mosicu.PlaybackLoudness > 1 and mosicu.PlaybackLoudness < 10000000 then | |
2075 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(memevalue), rd(0), rd(0)), 0.5) | |
2076 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, liftvalue) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2077 | lerpz(nRS, "C0", RightShoulderC0 * cf(0, 0, 0) * ang(rd(memevalue), rd(0), rd(0)), 0.5) | |
2078 | lerpz(nLS, "C0", LeftShoulderC0 * cf(0, 0, 0) * ang(rd(memevalue), rd(0), rd(0)), 0.5) | |
2079 | lerpz(nRH, "C0", RightHipC0 * cf(0, 0, 0) * ang(rd(memevalue2), rd(0), rd(0)), 0.5) | |
2080 | lerpz(nLH, "C0", LeftHipC0 * cf(0, 0, 0) * ang(rd(memevalue2), rd(0), rd(0)), 0.5) | |
2081 | else | |
2082 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2083 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2084 | lerpz(nRS, "C0", RightShoulderC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2085 | lerpz(nLS, "C0", LeftShoulderC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2086 | lerpz(nRH, "C0", RightHipC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2087 | lerpz(nLH, "C0", LeftHipC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2088 | end | |
2089 | end | |
2090 | end)) | |
2091 | activu = false | |
2092 | memeing = true | |
2093 | end | |
2094 | elseif memeing == true then | |
2095 | gotago:Disconnect() | |
2096 | pl:Disconnect() | |
2097 | st:Disconnect() | |
2098 | if plr.PlayerGui:FindFirstChild("simpleflips") then | |
2099 | plr.PlayerGui:FindFirstChild("simpleflips"):Destroy() | |
2100 | end | |
2101 | if modz:FindFirstChild("Nooprah") then | |
2102 | modz:FindFirstChild("Nooprah"):Destroy() | |
2103 | end | |
2104 | memeing = false | |
2105 | end | |
2106 | end | |
2107 | function makecircle(cfrem, scalo) | |
2108 | local mcir1 = Instance.new("Part") | |
2109 | mcir1.Anchored = true | |
2110 | mcir1.CanCollide = false | |
2111 | mcir1.Size = Vector3.new(0.2, 0.2, 0.2) | |
2112 | mcir1.Transparency = 1 | |
2113 | mcir1.CFrame = cfrem | |
2114 | mcir1.Parent = modz | |
2115 | game.Debris:AddItem(mcir1, 8) | |
2116 | local d1 = Instance.new("Decal") | |
2117 | d1.Texture = "rbxassetid://602615043" | |
2118 | d1.Face = "Front" | |
2119 | d1.Parent = mcir1 | |
2120 | local d2 = Instance.new("Decal") | |
2121 | d2.Texture = "rbxassetid://602617463" | |
2122 | d2.Face = "Back" | |
2123 | d2.Parent = mcir1 | |
2124 | local bme = Instance.new("BlockMesh") | |
2125 | bme.Parent = mcir1 | |
2126 | for _ = 1, 9 do | |
2127 | swait() | |
2128 | bme.Scale = bme.Scale:lerp(Vector3.new(35 * scalo, 35 * scalo, 0), 0.3) | |
2129 | end | |
2130 | coroutine.resume(coroutine.create(function() | |
2131 | swait(15) | |
2132 | for _ = 1, 12 do | |
2133 | swait() | |
2134 | d1.Transparency = d1.Transparency + 0.08 | |
2135 | d2.Transparency = d2.Transparency + 0.08 | |
2136 | end | |
2137 | mcir1:Destroy() | |
2138 | end)) | |
2139 | return mcir1 | |
2140 | end | |
2141 | function spawnnoob(circlecf, noobcf, scalez, ragd) | |
2142 | local aearae = makecircle(circlecf, scalez) | |
2143 | local nananb | |
2144 | if ragd then | |
2145 | nananb = makenoob(aearae.CFrame * noobcf, scalez, true) | |
2146 | elseif not ragd then | |
2147 | nananb = makenoob(aearae.CFrame * noobcf, scalez, false) | |
2148 | end | |
2149 | return nananb | |
2150 | end | |
2151 | function tagexplode(partoz, magn, bombdelay) | |
2152 | for _, guy in pairs(workspace:GetChildren()) do | |
2153 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy.Name == "Noob" and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude then | |
2154 | coroutine.resume(coroutine.create(function() | |
2155 | guy:FindFirstChild("HumanoidRootPart").whistl:Play() | |
2156 | swait(bombdelay * 30) | |
2157 | guy:FindFirstChild("HumanoidRootPart").tagbomb.Value = true | |
2158 | end)) | |
2159 | end | |
2160 | end | |
2161 | end | |
2162 | function hito(partoz, magn, dmg, debtim, bodyfdire, bodyrot) | |
2163 | for _, guy in pairs(workspace:GetChildren()) do | |
2164 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then | |
2165 | do | |
2166 | local humz = guy:FindFirstChild("Humanoid") | |
2167 | local horp = guy:FindFirstChild("HumanoidRootPart") | |
2168 | humz:TakeDamage(dmg) | |
2169 | if guy:FindFirstChildOfClass("ForceField") then | |
2170 | humz.Health = humz.Health - dmg | |
2171 | end | |
2172 | humz:SetStateEnabled(16, true) | |
2173 | delay(debtim, function() | |
2174 | humz:SetStateEnabled(16, true) | |
2175 | end) | |
2176 | local db = Instance.new("StringValue") | |
2177 | db.Name = "alabo" | |
2178 | db.Parent = horp | |
2179 | delay(debtim, function() | |
2180 | db:Destroy() | |
2181 | end) | |
2182 | local b = Instance.new("Part") | |
2183 | nooutline(b) | |
2184 | b.Size = Vector3.new(0.2, 0.2, 0.2) | |
2185 | b.Transparency = 0.25 | |
2186 | b.Anchored = true | |
2187 | b.CanCollide = false | |
2188 | b.BrickColor = BrickColor.new("Institutional white") | |
2189 | b.Locked = true | |
2190 | b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
2191 | b.Parent = modz | |
2192 | local c = Instance.new("SpecialMesh") | |
2193 | c.MeshType = "Sphere" | |
2194 | c.Scale = Vector3.new(3.5, 3.5, 3.5) | |
2195 | c.Parent = b | |
2196 | game.Debris:AddItem(b, 1) | |
2197 | local damageind = Instance.new("Model") | |
2198 | damageind.Name = dmg | |
2199 | damageind.Parent = workspace | |
2200 | game.Debris:AddItem(damageind, 0.5 + dmg / 75) | |
2201 | local awawaa = Instance.new("Humanoid") | |
2202 | awawaa.MaxHealth = 0 | |
2203 | awawaa.Parent = damageind | |
2204 | local dhed = Instance.new("Part") | |
2205 | dhed.Name = "Head" | |
2206 | dhed.Locked = true | |
2207 | dhed.Size = Vector3.new(0.2, 0.2, 0.2) | |
2208 | dhed.Position = horp.Position | |
2209 | dhed.BrickColor = BrickColor.new("Bright red") | |
2210 | dhed.CanCollide = false | |
2211 | dhed.Parent = damageind | |
2212 | local flo = Instance.new("BodyPosition") | |
2213 | flo.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
2214 | flo.P = 20000 | |
2215 | flo.D = 300 | |
2216 | flo.Position = dhed.Position + Vector3.new(0, 5, 0) | |
2217 | flo.Parent = dhed | |
2218 | local dasdada = Instance.new("CylinderMesh") | |
2219 | dasdada.Parent = dhed | |
2220 | coroutine.resume(coroutine.create(function() | |
2221 | while dasdada do | |
2222 | swait() | |
2223 | dasdada.Scale = dasdada.Scale:lerp(Vector3.new(2.5 + dmg / 10, 1.25 + dmg / 35, 2.5 + dmg / 10), 0.4) | |
2224 | end | |
2225 | end)) | |
2226 | if bodyfdire then | |
2227 | local boopyve = Instance.new("BodyVelocity") | |
2228 | boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999) | |
2229 | boopyve.P = 9999999999 | |
2230 | boopyve.Velocity = bodyfdire | |
2231 | boopyve.Parent = horp | |
2232 | game.Debris:AddItem(boopyve, debtim) | |
2233 | end | |
2234 | if bodyrot then | |
2235 | local boopyro = Instance.new("BodyAngularVelocity") | |
2236 | boopyro.MaxTorque = Vector3.new(999999, 999999, 999999) | |
2237 | boopyro.P = math.huge | |
2238 | boopyro.AngularVelocity = bodyrot | |
2239 | boopyro.Parent = horp | |
2240 | game.Debris:AddItem(boopyro, debtim) | |
2241 | end | |
2242 | local bet = Instance.new("Sound") | |
2243 | bet.Pitch = rd2(9, 11) / 10 | |
2244 | bet.Volume = rd2(12, 14) / 10 | |
2245 | bet.SoundId = "rbxassetid://305526724" | |
2246 | bet.Parent = b | |
2247 | bet:Play() | |
2248 | coroutine.resume(coroutine.create(function() | |
2249 | for _ = 1, 5 do | |
2250 | swait() | |
2251 | b.Transparency = b.Transparency + 0.175 | |
2252 | c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg) | |
2253 | end | |
2254 | end)) | |
2255 | end | |
2256 | end | |
2257 | end | |
2258 | end | |
2259 | function cleannoobs() | |
2260 | for _, nib in pairs(workspace:GetChildren()) do | |
2261 | coroutine.resume(coroutine.create(function() | |
2262 | if nib.Name == "Noob" then | |
2263 | if nib:FindFirstChild("HumanoidRootPart") then | |
2264 | local g = Instance.new("Part") | |
2265 | g.CanCollide, g.Anchored = false, true | |
2266 | g.Transparency = 1 | |
2267 | g.CFrame = nib:FindFirstChild("HumanoidRootPart").CFrame | |
2268 | g.Parent = workspace | |
2269 | game.Debris:AddItem(g, 3.5) | |
2270 | local sou = Instance.new("Sound") | |
2271 | sou.Pitch = math.random(7, 11) / 10 | |
2272 | sou.Volume = 0.8 | |
2273 | sou.SoundId = "rbxassetid://111124523" | |
2274 | sou.Parent = g | |
2275 | local pe = Instance.new("ParticleEmitter") | |
2276 | pe.Acceleration = Vector3.new(0, 8, 0) | |
2277 | pe.Lifetime = NumberRange.new(1, 1.5) | |
2278 | pe.Rate = 0.005 | |
2279 | pe.RotSpeed = NumberRange.new(-30, 30) | |
2280 | pe.Rotation = NumberRange.new(0, 360) | |
2281 | pe.Size = NumberSequence.new({ | |
2282 | NumberSequenceKeypoint.new(0, 4.38, 0), | |
2283 | NumberSequenceKeypoint.new(0.672, 4.14, 0), | |
2284 | NumberSequenceKeypoint.new(1, 1.48, 0) | |
2285 | }) | |
2286 | pe.Texture = "rbxassetid://244221440" | |
2287 | pe.Transparency = NumberSequence.new({ | |
2288 | NumberSequenceKeypoint.new(0, 0, 0), | |
2289 | NumberSequenceKeypoint.new(0.529, 0.3, 0), | |
2290 | NumberSequenceKeypoint.new(1, 1, 1) | |
2291 | }) | |
2292 | pe.ZOffset = 5 | |
2293 | pe.Enabled = true | |
2294 | pe.VelocitySpread = 360 | |
2295 | pe.Parent = g | |
2296 | swait(5) | |
2297 | pe:Emit(6) | |
2298 | sou:Play() | |
2299 | end | |
2300 | nib:Destroy() | |
2301 | end | |
2302 | end)) | |
2303 | end | |
2304 | end | |
2305 | function animo(yep) | |
2306 | if anim then | |
2307 | if yep == true then | |
2308 | anim.Parent = human | |
2309 | chr.Animate.Disabled = false | |
2310 | elseif yep == false then | |
2311 | chr.Animate.Disabled = true | |
2312 | anim.Parent = nil | |
2313 | end | |
2314 | end | |
2315 | end | |
2316 | human.Died:connect(function() | |
2317 | script:Destroy() | |
2318 | end) | |
2319 | mouse.KeyDown:connect(function(key) | |
2320 | if key == "r" then | |
2321 | test() | |
2322 | end | |
2323 | if key == "m" then | |
2324 | lauf() | |
2325 | end | |
2326 | if key == "c" then | |
2327 | ham() | |
2328 | end | |
2329 | if key == "v" then | |
2330 | nommy() | |
2331 | end | |
2332 | if key == "x" then | |
2333 | bat() | |
2334 | end | |
2335 | if key == "l" and selected == true then | |
2336 | spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-100), 0, 0), 1, true) | |
2337 | end | |
2338 | if key == ";" and selected == true then | |
2339 | spawnnoob(hrp.CFrame * cf(5, 60, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 10, true) | |
2340 | end | |
2341 | if key == "k" and selected == true then | |
2342 | spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, false) | |
2343 | end | |
2344 | if key == "p" then | |
2345 | cleannoobs() | |
2346 | end | |
2347 | if key == "[" then | |
2348 | musicnoob() | |
2349 | end | |
2350 | if key == "z" then | |
2351 | if selected == false or activu == true then | |
2352 | return | |
2353 | end | |
2354 | if human.WalkSpeed == 25 then | |
2355 | human.WalkSpeed = 70 | |
2356 | human.JumpPower = 75 | |
2357 | else | |
2358 | human.WalkSpeed = 25 | |
2359 | human.JumpPower = 50 | |
2360 | end | |
2361 | end | |
2362 | end) | |
2363 | tool.Equipped:connect(function() | |
2364 | selected = true | |
2365 | end) | |
2366 | tool.Unequipped:connect(function() | |
2367 | selected = false | |
2368 | end) | |
2369 | animo(false) | |
2370 | human.WalkSpeed = 25 | |
2371 | sine = 0 | |
2372 | charge = 1 | |
2373 | cos = math.cos | |
2374 | game:GetService("RunService").Heartbeat:connect(function() | |
2375 | if ragged == false and activu == false then | |
2376 | local checkfloor = Ray.new(hrp.Position, Vector3.new(0, -5, 0)) | |
2377 | local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false) | |
2378 | local checkstate = human:GetState() | |
2379 | if checkstate.Value == 13 then | |
2380 | animpose = "Sitting" | |
2381 | elseif hrp.Velocity.y > 1 and checkpart == nil then | |
2382 | animpose = "Jumping" | |
2383 | elseif hrp.Velocity.y < -1 and checkpart == nil then | |
2384 | animpose = "Falling" | |
2385 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then | |
2386 | animpose = "Idle" | |
2387 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 40 then | |
2388 | animpose = "Walking" | |
2389 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 40 then | |
2390 | animpose = "TooFast" | |
2391 | end | |
2392 | if animpose == "Idle" then | |
2393 | sine = sine + charge | |
2394 | lerpz(RJ, "C0", RJC0 * cf(0.05 * cos(sine / 40), 0, -0.05 - 0.05 * cos(sine / 20)) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2395 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(4 + 2 * cos(sine / 20)), rd(0), rd(0)), 0.3) | |
2396 | if not ymmu then | |
2397 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), 0.3) | |
2398 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2399 | end | |
2400 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), 0.3) | |
2401 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2402 | lerpz(RH, "C0", RHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), 0.05 * cos(sine / 40)) * ang(rd(-5), rd(-5), rd(1)), 0.3) | |
2403 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2404 | lerpz(LH, "C0", LHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), -0.05 * cos(sine / 40)) * ang(rd(-5), rd(5), rd(1)), 0.3) | |
2405 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2406 | end | |
2407 | if animpose == "Walking" then | |
2408 | sine = sine + charge | |
2409 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.025 * cos(sine / 4)) * ang(rd(-5), math.sin(hrp.RotVelocity.Y / 30), math.sin(hrp.RotVelocity.Y / 5)), 0.3) | |
2410 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(0)), 0.3) | |
2411 | if not ymmu then | |
2412 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(5 * cos(sine / 5)), rd(-20 * cos(sine / 5)), rd(90 * cos(sine / 5))), 0.6) | |
2413 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2414 | end | |
2415 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5 * cos(sine / 5)), rd(-20 * cos(sine / 5)), rd(90 * cos(sine / 5))), 0.6) | |
2416 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2417 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-90 * cos(sine / 5))), 0.6) | |
2418 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2419 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-90 * cos(sine / 5))), 0.6) | |
2420 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2421 | end | |
2422 | if animpose == "Jumping" then | |
2423 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.3) | |
2424 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3) | |
2425 | if not ymmu then | |
2426 | lerpz(RS, "C0", RSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(-5), rd(-20)), 0.3) | |
2427 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2428 | end | |
2429 | lerpz(LS, "C0", LSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(5), rd(20)), 0.3) | |
2430 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2431 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-20), rd(-20)), 0.3) | |
2432 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2433 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(15)), 0.3) | |
2434 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2435 | end | |
2436 | if animpose == "Falling" then | |
2437 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3) | |
2438 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3) | |
2439 | if not ymmu then | |
2440 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(-5), rd(-20)), 0.3) | |
2441 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2442 | end | |
2443 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(5), rd(20)), 0.3) | |
2444 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2445 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-15), rd(-20)), 0.3) | |
2446 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2447 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(15), rd(15)), 0.3) | |
2448 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2449 | end | |
2450 | if animpose == "TooFast" then | |
2451 | sine = sine + charge | |
2452 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.35 * cos(sine / 2)) * ang(rd(-20), math.sin(hrp.RotVelocity.Y / 20), math.sin(hrp.RotVelocity.Y / 2)), 0.3) | |
2453 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15 - 5 * cos(sine / 2)), rd(0), rd(0)), 0.3) | |
2454 | if not ymmu then | |
2455 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(5 * cos(sine / 3)), rd(-120 * cos(sine / 3)), rd(110 * cos(sine / 3))), 0.6) | |
2456 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2457 | end | |
2458 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5 * cos(sine / 3)), rd(-120 * cos(sine / 3)), rd(110 * cos(sine / 3))), 0.6) | |
2459 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2460 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-110 * cos(sine / 3))), 0.6) | |
2461 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2462 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-110 * cos(sine / 3))), 0.6) | |
2463 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2464 | end | |
2465 | if animpose == "Sitting" then | |
2466 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2467 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2468 | if not ymmu then | |
2469 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
2470 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2471 | end | |
2472 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
2473 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2474 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
2475 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2476 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
2477 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2478 | end | |
2479 | end | |
2480 | end) |