SHOW:
|
|
- or go back to the newest paste.
1 | ---------ONE WITH CHEESEEE------------ | |
2 | ---------MAKE BY SKRUBL0RDZI------------ | |
3 | p = game.Players.LocalPlayer | |
4 | char = p.Character | |
5 | torso = char.Torso | |
6 | hed = char.Head | |
7 | neck = char.Torso.Neck | |
8 | hum = char.Humanoid | |
9 | hum.MaxHealth = math.huge | |
10 | - | torso.BrickColor = BrickColor.new("Pastel brown") |
10 | + | |
11 | - | hed.BrickColor = BrickColor.new("Pastel brown") |
11 | + | |
12 | - | char["Right Arm"].BrickColor = BrickColor.new("Pastel brown") |
12 | + | |
13 | - | char["Left Arm"].BrickColor = BrickColor.new("Pastel brown") |
13 | + | |
14 | - | char["Left Leg"].BrickColor = BrickColor.new("Pastel brown") |
14 | + | |
15 | - | char["Right Leg"].BrickColor = BrickColor.new("Pastel brown") |
15 | + | |
16 | end) | |
17 | function sbchat(msg,displayname) | |
18 | if not displayname then | |
19 | displayname = '<Painis Cupcake>' | |
20 | end | |
21 | - | char.Shirt.ShirtTemplate = "rbxassetid://191845910" |
21 | + | |
22 | - | char.Pants.PantsTemplate = "rbxassetid://191846287" |
22 | + | |
23 | st.Name = 'SB_Chat' | |
24 | st.Value = displayname..'/'..msg | |
25 | delay(0.2,function() st.Parent = v end) | |
26 | end | |
27 | end | |
28 | p1 = Instance.new("Part",char) | |
29 | p1.FormFactor = Enum.FormFactor.Custom | |
30 | p1.Size = Vector3.new(1,1.6,1) | |
31 | p1.CanCollide = false | |
32 | p1.Locked = true | |
33 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
34 | p1.TopSurface = Enum.SurfaceType.Smooth | |
35 | SMesh = Instance.new("SpecialMesh", p1) | |
36 | SMesh.MeshId = "http://www.roblox.com/asset/?id=" | |
37 | SMesh.MeshType = Enum.MeshType.FileMesh | |
38 | SMesh.Name = "Mesh" | |
39 | SMesh.TextureId = "http://www.roblox.com/asset/?id=" | |
40 | w1 = Instance.new("Weld", hed) | |
41 | w1.Part0 = hed | |
42 | w1.C0 = CFrame.new(0,0.76,0.2)*CFrame.Angles(0.3,0,0) | |
43 | w1.Part1 = p1 | |
44 | w1.C1 = CFrame.new(0, 0, 0) | |
45 | -------------------------------- | |
46 | p1 = Instance.new("Part",char) | |
47 | p1.FormFactor = Enum.FormFactor.Custom | |
48 | p1.Size = Vector3.new(1.8,0.8,1.8) | |
49 | p1.CanCollide = false | |
50 | p1.Locked = true | |
51 | p1.BrickColor = BrickColor.new("Bright red") | |
52 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
53 | p1.TopSurface = Enum.SurfaceType.Smooth | |
54 | SMesh = Instance.new("SpecialMesh", p1) | |
55 | SMesh.MeshId = "http://www.roblox.com/asset/?id=" | |
56 | SMesh.MeshType = Enum.MeshType.FileMesh | |
57 | SMesh.Name = "Mesh" | |
58 | w1 = Instance.new("Weld", hed) | |
59 | w1.Part0 = hed | |
60 | w1.C0 = CFrame.new(0,0.2,-0.25) | |
61 | w1.Part1 = p1 | |
62 | w1.C1 = CFrame.new(0, 0, 0) | |
63 | ----------- | |
64 | GroundWave3 = function() | |
65 | local HandCF = CFrame.new(torso.Position - Vector3.new(0,0,0)) * CFrame.Angles(0,0,0) | |
66 | local wave1 = Instance.new("Part", torso) | |
67 | wave1.BrickColor = BrickColor.new("Bright red") | |
68 | wave1.Anchored = true | |
69 | wave1.CanCollide = false | |
70 | wave1.Locked = true | |
71 | wave1.Material = "Neon" | |
72 | wave1.Size = Vector3.new(0, 0, 0) | |
73 | wave1.TopSurface = "Smooth" | |
74 | wave1.BottomSurface = "Smooth" | |
75 | wave1.Transparency = 1 | |
76 | wave1.CFrame = HandCF | |
77 | wm = Instance.new("SpecialMesh", wave1) | |
78 | wm.Scale = Vector3.new(0,0,0) | |
79 | wm.MeshType = "Sphere" | |
80 | coroutine.wrap(function() | |
81 | for i = 1, 20, 1 do | |
82 | wm.Scale = Vector3.new(0 + i*0, 0 + i*0, 0 + i*0) | |
83 | --wave1.Size = wm.Scale | |
84 | wave1.CFrame = HandCF | |
85 | wave1.Transparency = i/10 | |
86 | wait() | |
87 | end | |
88 | wait() | |
89 | wave1:Destroy() | |
90 | end)() | |
91 | end | |
92 | ------------------------------- | |
93 | Spawn(function() | |
94 | while wait(1) do | |
95 | GroundWave3() | |
96 | wait(.5) | |
97 | GroundWave3() | |
98 | end | |
99 | end) | |
100 | warn'[Ground Brake]:Connect!' | |
101 | ----------------------------------- | |
102 | local Plr = game.Players.LocalPlayer --LocalScript | |
103 | local Char = Plr.Character | |
104 | local Mouse = Plr:GetMouse() | |
105 | local ra = Char:FindFirstChild('Right Arm') | |
106 | local ts = Char.Torso | |
107 | local la = Char:FindFirstChild('Left Arm') | |
108 | local ll = Char:FindFirstChild('Left Leg') | |
109 | local rl = Char:FindFirstChild('Right Leg') | |
110 | local hd = Char.Head | |
111 | local root = Char:FindFirstChild('HumanoidRootPart') | |
112 | ||
113 | rarm = ra | |
114 | larm = la | |
115 | torso = ts | |
116 | hed = hd | |
117 | root = root | |
118 | lleg = ll | |
119 | rleg = rl | |
120 | ||
121 | FloatPart = function() | |
122 | local Part = Instance.new('Part',torso) | |
123 | Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87) | |
124 | Part.Anchored = true | |
125 | Part.Material = 'Neon' | |
126 | Part.CanCollide = false | |
127 | Part.BrickColor = BrickColor.new("Bright red") | |
128 | local Mesh = Instance.new('SpecialMesh',Part) | |
129 | Mesh.Scale = Vector3.new(0,0,0) | |
130 | Mesh.MeshId = 'http://www.roblox.com/asset/?id=' | |
131 | Mesh.VertexColor = Vector3.new(0,170,255) | |
132 | spawn(function() | |
133 | for i = 1,30 do | |
134 | Mesh.Scale = Mesh.Scale + Vector3.new(0,0,0) | |
135 | Part.Transparency = Part.Transparency + 1 | |
136 | game["Run Service"].RenderStepped:wait() | |
137 | end | |
138 | Part:Destroy() | |
139 | end) | |
140 | end; | |
141 | ||
142 | DubPart = function() | |
143 | local Part = Instance.new('Part',torso) | |
144 | Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87) | |
145 | Part.Anchored = true | |
146 | Part.CanCollide = false | |
147 | Part.Material = 'Neon' | |
148 | Part.BrickColor = BrickColor.new("Bright red") | |
149 | local Mesh = Instance.new('SpecialMesh',Part) | |
150 | Mesh.Scale = Vector3.new(0,0,0) | |
151 | Mesh.MeshId = 'http://www.roblox.com/asset/?id=' | |
152 | Mesh.VertexColor = Vector3.new(0,170,255) | |
153 | spawn(function() | |
154 | for i = 1,30 do | |
155 | Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0) | |
156 | Part.Transparency = Part.Transparency + 1 | |
157 | game["Run Service"].RenderStepped:wait() | |
158 | end | |
159 | Part:Destroy() | |
160 | end) | |
161 | end; | |
162 | ||
163 | OnTouch = function(Toucher) | |
164 | if Toucher.Parent.Name ~= Plr.Name and Toucher.Parent:FindFirstChild('Humanoid') then | |
165 | local Hum = Toucher.Parent:FindFirstChild('Humanoid') | |
166 | Hum.Health = Hum.Health - .7 | |
167 | end | |
168 | end; | |
169 | ||
170 | Fade = function(Item,t) | |
171 | spawn(function() | |
172 | for i = 1,20 do | |
173 | Item.Transparency = Item.Transparency + .05 | |
174 | if t then | |
175 | wait(t) | |
176 | else | |
177 | wait() | |
178 | end | |
179 | end | |
180 | Item:Destroy() | |
181 | end) | |
182 | end | |
183 | ||
184 | TouchKill = function(Toucher) | |
185 | if Toucher.Parent then | |
186 | if Toucher.Parent:FindFirstChild('Humanoid') then | |
187 | local P = Toucher.Parent:FindFirstChild('Humanoid') | |
188 | if P ~= nil and P.Parent.Name ~= Plr.Name then | |
189 | P.Health = P.Health - math.random(4,17) | |
190 | end | |
191 | end | |
192 | end | |
193 | end; | |
194 | ||
195 | Particle = function() | |
196 | local Part = Instance.new('Part',torso) | |
197 | Part.Anchored = true | |
198 | Part.Transparency = 0 | |
199 | Part.Material = "Neon" | |
200 | Part.Touched:connect(function(I)OnTouch(I)end) | |
201 | Part.CanCollide = false | |
202 | Part.CFrame = torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random()) | |
203 | local Mesh = Instance.new('SpecialMesh',Part) | |
204 | Mesh.Scale = Vector3.new(1,1,1) | |
205 | Mesh.MeshId = "rbxassetid://" | |
206 | Mesh.TextureId = "rbxassetid://" | |
207 | spawn(function() | |
208 | for i = 1,40 do | |
209 | Part.Transparency = Part.Transparency + .0125 | |
210 | Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0) | |
211 | game["Run Service"].RenderStepped:wait() | |
212 | end | |
213 | Part:Destroy() | |
214 | end) | |
215 | end; | |
216 | ||
217 | Particle2 = function() | |
218 | local Part = Instance.new('Part',torso) | |
219 | Part.Anchored = true | |
220 | Part.Transparency = 0 | |
221 | Part.Material = "Neon" | |
222 | Part.Touched:connect(function(I)OnTouch(I)end) | |
223 | Part.CanCollide = false | |
224 | Part.CFrame = torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random()) | |
225 | local Mesh = Instance.new('SpecialMesh',Part) | |
226 | Mesh.Scale = Vector3.new(1.5,1.5,1.5) | |
227 | Mesh.MeshId = "rbxassetid://" | |
228 | Mesh.TextureId = "rbxassetid://" | |
229 | spawn(function() | |
230 | for i = 1,40 do | |
231 | Part.Transparency = Part.Transparency + .0125 | |
232 | Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0) | |
233 | game["Run Service"].RenderStepped:wait() | |
234 | end | |
235 | Part:Destroy() | |
236 | end) | |
237 | end; | |
238 | ||
239 | spawn(function() | |
240 | while wait() do | |
241 | wait(.05) | |
242 | FloatPart() | |
243 | wait(.08) | |
244 | FloatPart() | |
245 | wait(.05) | |
246 | DubPart() | |
247 | wait(.08) | |
248 | end | |
249 | end) | |
250 | spawn(function() | |
251 | while wait() do | |
252 | Particle() | |
253 | wait(0.75) | |
254 | Particle2() | |
255 | end | |
256 | end) | |
257 | ------------- | |
258 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"I AM PAINIS CUPCAKE, I WILL EAT YOU!", "Red") | |
259 | sbchat("I AM PAINIS CUPCAKE, I WILL EAT YOU",'[Bonk boy]') | |
260 | local HBill = Instance.new("BillboardGui", hed) | |
261 | local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame") | |
262 | local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel") | |
263 | HBill.Size = UDim2.new(15,0,2.2,0) | |
264 | HBill.Name = "Health Display" | |
265 | HBill.StudsOffset = Vector3.new(0,4,0) | |
266 | HBill.AlwaysOnTop = true | |
267 | HBill.Enabled = false | |
268 | HMain.BackgroundColor3 = Color3.new(0, 0, 0) | |
269 | HMain.BackgroundTransparency = 0.6 | |
270 | HMain.Size = UDim2.new(1,0,1,0) | |
271 | HBarBack.Parent = HMain | |
272 | HBarBack.BackgroundColor3 = Color3.new(0,0,0) | |
273 | HBarBack.BorderColor3 = Color3.new(0,0,0) | |
274 | HBarBack.BorderSizePixel = 2 | |
275 | HBarBack.Position = UDim2.new(.025, 0, .55, 0) | |
276 | HBarBack.Size = UDim2.new(.95, 0, .3, 0) | |
277 | HHealth.BackgroundTransparency = 1 | |
278 | HHealth.Size = UDim2.new(1,0,1,0) | |
279 | HHealth.Font = "Code" | |
280 | HHealth.Text = "I WILL EAT YOU!" | |
281 | HHealth.TextScaled = true | |
282 | HHealth.TextColor3 = Color3.new(1,1,1) | |
283 | HHealth.TextStrokeColor3 = BrickColor.new("Cyan").Color | |
284 | HHealth.TextStrokeTransparency = 0 | |
285 | HName.Parent = HMain | |
286 | HName.BackgroundTransparency = 1 | |
287 | HName.Size = UDim2.new(1,0,.5,0) | |
288 | HName.Font = "Code" | |
289 | HName.Text = "Painis Cupcake" | |
290 | HName.TextScaled = false | |
291 | HName.TextColor3 = BrickColor.new("Bright red").Color | |
292 | HName.TextStrokeColor3 = Color3.new(0,0,0) | |
293 | HName.TextStrokeTransparency = 0 | |
294 | HName.TextYAlignment = "Top" | |
295 | ||
296 | plr = game.Players.LocalPlayer | |
297 | local s = Instance.new("Sound",plr.Character) | |
298 | s.Volume = 1 | |
299 | s.Looped = true | |
300 | s.Pitch = 1 | |
301 | s.SoundId = "rbxassetid://202879897" | |
302 | s:Play() | |
303 | repeat | |
304 | wait(0.4) | |
305 | until plr.Character | |
306 | chr = plr.Character | |
307 | human = chr:FindFirstChild("Humanoid") | |
308 | mouse = plr:GetMouse() | |
309 | cam = workspace.CurrentCamera | |
310 | selected = false | |
311 | equipd = false | |
312 | tors = chr.Torso | |
313 | rarm = chr["Right Arm"] | |
314 | larm = chr["Left Arm"] | |
315 | rleg = chr["Right Leg"] | |
316 | lleg = chr["Left Leg"] | |
317 | hrp = chr.HumanoidRootPart | |
318 | hed = chr.Head | |
319 | anim = human.Animator | |
320 | activu = false | |
321 | ragged = false | |
322 | batting = false | |
323 | Heartbeat = Instance.new("BindableEvent") | |
324 | Heartbeat.Name = "Heartbeat" | |
325 | Heartbeat.Parent = script | |
326 | frame = 0.03333333333333333 | |
327 | tf = 0 | |
328 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
329 | tf = tf + s | |
330 | if tf >= frame then | |
331 | for i = 1, math.floor(tf / frame) do | |
332 | Heartbeat:Fire() | |
333 | end | |
334 | tf = tf - frame * math.floor(tf / frame) | |
335 | end | |
336 | end) | |
337 | function swait(num) | |
338 | if num == 0 or num == nil then | |
339 | Heartbeat.Event:wait() | |
340 | else | |
341 | for i = 1, num do | |
342 | Heartbeat.Event:wait() | |
343 | end | |
344 | end | |
345 | end | |
346 | tool = Instance.new("Tool") | |
347 | tool.CanBeDropped = false | |
348 | tool.RequiresHandle = false | |
349 | tool.ToolTip = "BONK!" | |
350 | tool.Name = "PRESS X EAT" | |
351 | tool.Parent = plr.Backpack | |
352 | modz = Instance.new("Model") | |
353 | modz.Name = "efx" | |
354 | modz.Parent = chr | |
355 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
356 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
357 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
358 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
359 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
360 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
361 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
362 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
363 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
364 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
365 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
366 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
367 | local nscale = Instance.new("NumberValue") | |
368 | nscale.Value = 1 | |
369 | nscale.Parent = nil | |
370 | RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
371 | RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
372 | LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
373 | LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
374 | RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
375 | RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
376 | LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
377 | LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
378 | RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
379 | RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
380 | NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
381 | NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
382 | nscale.Changed:connect(function() | |
383 | RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
384 | RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
385 | LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
386 | LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
387 | RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
388 | RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
389 | LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
390 | LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
391 | RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
392 | RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
393 | NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
394 | NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
395 | end) | |
396 | RS = tors:FindFirstChild("Right Shoulder") | |
397 | LS = tors:FindFirstChild("Left Shoulder") | |
398 | RH = tors:FindFirstChild("Right Hip") | |
399 | LH = tors:FindFirstChild("Left Hip") | |
400 | RJ = hrp:FindFirstChild("RootJoint") | |
401 | N = tors:FindFirstChild("Neck") | |
402 | cf = CFrame.new | |
403 | ang = CFrame.Angles | |
404 | rd = math.rad | |
405 | rd2 = math.random | |
406 | function nooutline(p) | |
407 | p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10 | |
408 | end | |
409 | function makepart(color, name, reflec, trans, mater, parnt, cfram) | |
410 | local port = Instance.new("Part") | |
411 | port.BrickColor = BrickColor.new(color) | |
412 | port.Name = name | |
413 | port.Transparency = trans | |
414 | nooutline(port) | |
415 | port.Reflectance = reflec | |
416 | port.Material = mater | |
417 | port.Anchored = false | |
418 | port.CanCollide = false | |
419 | port.Locked = true | |
420 | port.Size = Vector3.new(0.2, 0.2, 0.2) | |
421 | port.Parent = parnt | |
422 | return port | |
423 | end | |
424 | function makemesh(meshtype, scale, meshid, parent) | |
425 | local mes = Instance.new("SpecialMesh") | |
426 | mes.MeshType = meshtype | |
427 | mes.Scale = scale | |
428 | if meshtype == "FileMesh" then | |
429 | mes.MeshId = meshid | |
430 | end | |
431 | mes.Parent = parent | |
432 | return mes | |
433 | end | |
434 | function makeweld(parent, p0, p1, c0, c1) | |
435 | local wel = Instance.new("Weld") | |
436 | wel.Part0 = p0 | |
437 | wel.Part1 = p1 | |
438 | wel.C0 = c0 | |
439 | if c1 ~= nil then | |
440 | wel.C1 = c1 | |
441 | end | |
442 | wel.Parent = parent | |
443 | return wel | |
444 | end | |
445 | local lauf1 = Instance.new("Sound") | |
446 | lauf1.SoundId = "rbxassetid://632290372" | |
447 | lauf1.Volume = 5 | |
448 | lauf1.Pitch = 1 | |
449 | lauf1.Parent = hrp | |
450 | function lerpz(joint, prop, cfrmz, alp) | |
451 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
452 | end | |
453 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
454 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
455 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
456 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
457 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
458 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
459 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
460 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
461 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
462 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
463 | function resetlerp() | |
464 | RJ.C0 = RJC0 | |
465 | RJ.C1 = RJC1 | |
466 | N.C0 = NC0 | |
467 | N.C1 = NC1 | |
468 | RS.C0 = RSC0 | |
469 | RS.C1 = RSC1 | |
470 | LS.C0 = LSC0 | |
471 | LS.C1 = LSC1 | |
472 | RH.C0 = RHC0 | |
473 | RH.C1 = RHC1 | |
474 | LH.C0 = LHC0 | |
475 | LH.C1 = LHC1 | |
476 | end | |
477 | function test() | |
478 | if selected == false or activu == true then | |
479 | return | |
480 | end | |
481 | if ragged == false then | |
482 | ragged = true | |
483 | human.PlatformStand = true | |
484 | if rarm and tors:FindFirstChild("Right Shoulder") then | |
485 | tors:FindFirstChild("Right Shoulder"):Destroy() | |
486 | makegloo(tors, RightShoulderC0, RightShoulderC1, tors, rarm, "Right Shoulder") | |
487 | maketouchy(rarm, rarm, CFrame.new(0, 0.5, 0)) | |
488 | end | |
489 | if larm and tors:FindFirstChild("Left Shoulder") then | |
490 | tors:FindFirstChild("Left Shoulder"):Destroy() | |
491 | makegloo(tors, LeftShoulderC0, LeftShoulderC1, tors, larm, "Left Shoulder") | |
492 | maketouchy(larm, larm, CFrame.new(0, 0.5, 0)) | |
493 | end | |
494 | if rleg and tors:FindFirstChild("Right Hip") then | |
495 | tors:FindFirstChild("Right Hip"):Destroy() | |
496 | makegloo(tors, RightHipC0, RightHipC1, tors, rleg, "Right Hip") | |
497 | maketouchy(rleg, rleg, CFrame.new(0, 0.5, 0)) | |
498 | end | |
499 | if lleg and tors:FindFirstChild("Left Hip") then | |
500 | tors:FindFirstChild("Left Hip"):Destroy() | |
501 | makegloo(tors, LeftHipC0, LeftHipC1, tors, lleg, "Left Hip") | |
502 | maketouchy(lleg, lleg, CFrame.new(0, 0.5, 0)) | |
503 | HName.Text = "I WILL EAT YOU.." | |
504 | end | |
505 | elseif ragged == true then | |
506 | ragged = false | |
507 | human.Jump = true | |
508 | if rarm and tors:FindFirstChild("Right Shoulder") then | |
509 | tors:FindFirstChild("Right Shoulder"):Destroy() | |
510 | makejoint(tors, RSC0, RSC1, tors, rarm, "Right Shoulder") | |
511 | rarm:FindFirstChild("touchy"):Destroy() | |
512 | end | |
513 | if larm and tors:FindFirstChild("Left Shoulder") then | |
514 | tors:FindFirstChild("Left Shoulder"):Destroy() | |
515 | makejoint(tors, LSC0, LSC1, tors, larm, "Left Shoulder") | |
516 | larm:FindFirstChild("touchy"):Destroy() | |
517 | end | |
518 | if rleg and tors:FindFirstChild("Right Hip") then | |
519 | tors:FindFirstChild("Right Hip"):Destroy() | |
520 | makejoint(tors, RHC0, RHC1, tors, rleg, "Right Hip") | |
521 | rleg:FindFirstChild("touchy"):Destroy() | |
522 | end | |
523 | if lleg and tors:FindFirstChild("Left Hip") then | |
524 | tors:FindFirstChild("Left Hip"):Destroy() | |
525 | makejoint(tors, LHC0, LHC1, tors, lleg, "Left Hip") | |
526 | lleg:FindFirstChild("touchy"):Destroy() | |
527 | end | |
528 | RS = tors:FindFirstChild("Right Shoulder") | |
529 | LS = tors:FindFirstChild("Left Shoulder") | |
530 | RH = tors:FindFirstChild("Right Hip") | |
531 | LH = tors:FindFirstChild("Left Hip") | |
532 | RJ = hrp:FindFirstChild("RootJoint") | |
533 | N = tors:FindFirstChild("Neck") | |
534 | HName.Text = "Painis Cupcake" | |
535 | end | |
536 | end | |
537 | function makegloo(paren, co, ci, parto, parti, nam) | |
538 | local gloo = Instance.new("Glue") | |
539 | gloo.Name = nam | |
540 | gloo.C0 = co | |
541 | gloo.C1 = ci | |
542 | gloo.Part0 = parto | |
543 | gloo.Part1 = parti | |
544 | gloo.Parent = paren | |
545 | end | |
546 | function makejoint(paren, co, ci, parto, parti, nam) | |
547 | local gloo = Instance.new("Motor6D") | |
548 | gloo.Name = nam | |
549 | gloo.C0 = co | |
550 | gloo.C1 = ci | |
551 | gloo.Part0 = parto | |
552 | gloo.Part1 = parti | |
553 | gloo.Parent = paren | |
554 | end | |
555 | function maketouchy(parent, limb, cframe) | |
556 | local pr = Instance.new("Part") | |
557 | pr.Name = "touchy" | |
558 | pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
559 | pr.Transparency = 1 | |
560 | pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) | |
561 | pr.CanCollide = true | |
562 | pr.Anchored = false | |
563 | pr.Parent = parent | |
564 | local w = Instance.new("Weld") | |
565 | w.Part0 = pr | |
566 | w.Part1 = limb | |
567 | w.C0 = cframe | |
568 | w.Parent = pr | |
569 | end | |
570 | local clibat, spec | |
571 | local dipperhat = chr:FindFirstChild("DXD_DipperHat") | |
572 | local dipperrot | |
573 | if dipperhat then | |
574 | dipperrot = dipperhat.Handle.HatAttachment.Rotation | |
575 | end | |
576 | function bat() | |
577 | if selected == false or activu == true then | |
578 | return | |
579 | end | |
580 | if batting == false then | |
581 | batting = true | |
582 | do | |
583 | local bmod = Instance.new("Model") | |
584 | bmod.Name = "bmodel" | |
585 | bmod.Parent = chr | |
586 | local hnd = makepart("Really black", "hnd", 0, 1, "Neon", bmod, rarm.CFrame) | |
587 | local hmes = makemesh("1", Vector3.new(2, 9, 2), nil, hnd) | |
588 | local hwel = makeweld(hnd, hnd, rarm, ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), nil) | |
589 | local pt1 = makepart("Really black", "pt1", 0, 1, "Neon", bmod, rarm.CFrame) | |
590 | local p1m = makemesh("Sphere", Vector3.new(3,3,3), nil, pt1) | |
591 | local p1w = makeweld(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), nil) | |
592 | local pt3 = makepart("Really black", "pt3", 0, 1, "Neon", bmod, rarm.CFrame) | |
593 | local p3m = makemesh("1", Vector3.new(1, 6, 1), nil, pt3) | |
594 | local p3w = makeweld(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), nil) | |
595 | local pt4 = makepart("Really black", "pt4", 0, math.rad(0,1), "Neon", bmod, rarm.CFrame) | |
596 | local p4m = makemesh("FileMesh", Vector3.new(2,2,2), "http://www.roblox.com/asset/?id=", pt4) | |
597 | p4m.TextureId = "http://www.roblox.com/asset/?id=163610739" | |
598 | p4m.Scale = Vector3.new(2,2,2) | |
599 | local p4w = makeweld(pt4, pt4, hnd, ang(rd(90), rd(0), rd(0)) * cf(0, -1.5, 0), nil) | |
600 | local pt5 = makepart("Forest green", "pt5", 0, 1, "Neon", bmod, rarm.CFrame) | |
601 | local p5m = makemesh("Cylinder", Vector3.new(25, 1.5, 1.5), nil, pt5) | |
602 | local p5w = makeweld(pt5, pt5, hnd, ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), nil) | |
603 | local swingwoo = Instance.new("Sound") | |
604 | swingwoo.SoundId = "rbxassetid://632290372" | |
605 | swingwoo.Pitch = rd2(10, 11) / 10 | |
606 | swingwoo.Name = "sweae" | |
607 | swingwoo.Volume = 1 | |
608 | swingwoo.Parent = hrp | |
609 | clibat = tool.Activated:connect(function() | |
610 | if selected == false or activu == true or ragged == true then | |
611 | return | |
612 | end | |
613 | activu = true | |
614 | for _ = 1, 5 do | |
615 | swait() | |
616 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
617 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
618 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7) | |
619 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
620 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
621 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
622 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
623 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
624 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
625 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
626 | end | |
627 | local bon = Instance.new("Sound") | |
628 | bon.SoundId = "rbxassetid://632290372" | |
629 | bon.Pitch = rd2(10, 12) / 10 | |
630 | bon.Volume = 1 | |
631 | bon.Parent = hrp | |
632 | game.Debris:AddItem(bon, 1) | |
633 | bon:Play() | |
634 | swingwoo:Play() | |
635 | for X = 1, 5 do | |
636 | swait() | |
637 | if X > 1 then | |
638 | hito(pt5, 5, 80, 0.2, hrp.CFrame.lookVector * 0, Vector3.new(0, rd2(-5, 5), rd2(-40, 40))) | |
639 | end | |
640 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7) | |
641 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
642 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
643 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
644 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
645 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
646 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
647 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
648 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
649 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
650 | end | |
651 | activu = false | |
652 | end) | |
653 | spec = mouse.KeyDown:connect(function(keya) | |
654 | if selected == false or activu == true or ragged == true then | |
655 | return | |
656 | end | |
657 | if keya == "]]" then | |
658 | activu = true | |
659 | local speed = human.WalkSpeed | |
660 | human.WalkSpeed = 0 | |
661 | human:SetStateEnabled(3, false) | |
662 | local function expa() | |
663 | local sond = Instance.new("Sound") | |
664 | sond.Volume = 1.25 | |
665 | sond.Pitch = 1 | |
666 | sond.EmitterSize = 15 | |
667 | sond.SoundId = "rbxassetid://632290372" | |
668 | sond.Parent = pt6 | |
669 | sond:Play() | |
670 | for _ = 1, 3 do | |
671 | swait() | |
672 | hmes.Scale = hmes.Scale:lerp(Vector3.new(6, 27, 6), 0.7) | |
673 | p1m.Scale = p1m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7) | |
674 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), 0.7) | |
675 | p3m.Scale = p3m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7) | |
676 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), 0.7) | |
677 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.07500000000000001, 0.07500000000000001, 0.07500000000000001), 0.7) | |
678 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -3.75, 0), 0.7) | |
679 | p5m.Scale = p5m.Scale:lerp(Vector3.new(64.5, 18.75, 18.75), 0.7) | |
680 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -12.075000000000001, 0), 0.7) | |
681 | end | |
682 | for _ = 1, 5 do | |
683 | swait() | |
684 | hmes.Scale = hmes.Scale:lerp(Vector3.new(4, 18, 4), 0.7) | |
685 | p1m.Scale = p1m.Scale:lerp(Vector3.new(5, 5, 5), 0.7) | |
686 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 2, 0), 0.7) | |
687 | p3m.Scale = p3m.Scale:lerp(Vector3.new(5, 5, 5), 0.7) | |
688 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -2, 0), 0.7) | |
689 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.05, 0.05, 0.05), 0.7) | |
690 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -2.5, 0), 0.7) | |
691 | p5m.Scale = p5m.Scale:lerp(Vector3.new(63, 12.5, 12.5), 0.7) | |
692 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -8.05, 0), 0.7) | |
693 | end | |
694 | sond.Pitch = 0.75 | |
695 | sond:Play() | |
696 | for _ = 1, 3 do | |
697 | swait() | |
698 | hmes.Scale = hmes.Scale:lerp(Vector3.new(12, 54, 12), 0.7) | |
699 | p1m.Scale = p1m.Scale:lerp(Vector3.new(15, 15, 15), 0.7) | |
700 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 6, 0), 0.7) | |
701 | p3m.Scale = p3m.Scale:lerp(Vector3.new(15, 15, 15), 0.7) | |
702 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6, 0), 0.7) | |
703 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.15000000000000002, 0.15000000000000002, 0.15000000000000002), 0.7) | |
704 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -7.5, 0), 0.7) | |
705 | p5m.Scale = p5m.Scale:lerp(Vector3.new(156, 37.5, 37.5), 0.7) | |
706 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -24.150000000000002, 0), 0.7) | |
707 | end | |
708 | for _ = 1, 5 do | |
709 | swait() | |
710 | hmes.Scale = hmes.Scale:lerp(Vector3.new(8, 36, 8), 0.7) | |
711 | p1m.Scale = p1m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
712 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 4, 0), 0.7) | |
713 | p3m.Scale = p3m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
714 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), 0.7) | |
715 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.1, 0.1, 0.1), 0.7) | |
716 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -5, 0), 0.7) | |
717 | p5m.Scale = p5m.Scale:lerp(Vector3.new(102, 25, 25), 0.7) | |
718 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -16.1, 0), 0.7) | |
719 | end | |
720 | sond.Pitch = 0.4 | |
721 | sond:Play() | |
722 | game.Debris:AddItem(sond, 2) | |
723 | for _ = 1, 3 do | |
724 | swait() | |
725 | hmes.Scale = hmes.Scale:lerp(Vector3.new(18, 81, 18), 0.7) | |
726 | p1m.Scale = p1m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7) | |
727 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 9, 0), 0.7) | |
728 | p3m.Scale = p3m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7) | |
729 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -9, 0), 0.7) | |
730 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.225, 0.225, 0.225), 0.7) | |
731 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -11.25, 0), 0.7) | |
732 | p5m.Scale = p5m.Scale:lerp(Vector3.new(230.2, 56.25, 56.25), 0.7) | |
733 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -36.225, 0), 0.7) | |
734 | end | |
735 | for _ = 1, 5 do | |
736 | swait() | |
737 | hmes.Scale = hmes.Scale:lerp(Vector3.new(14, 63, 14), 0.7) | |
738 | p1m.Scale = p1m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7) | |
739 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 7, 0), 0.7) | |
740 | p3m.Scale = p3m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7) | |
741 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -7, 0), 0.7) | |
742 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.17500000000000002, 0.17500000000000002, 0.17500000000000002), 0.7) | |
743 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -8.75, 0), 0.7) | |
744 | p5m.Scale = p5m.Scale:lerp(Vector3.new(400, 43.75, 43.75), 0.7) | |
745 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -30, 0), 0.7) | |
746 | end | |
747 | end | |
748 | for _ = 1, 3 do | |
749 | swait() | |
750 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5) | |
751 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5) | |
752 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5) | |
753 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
754 | lerpz(LS, "C0", LSC0 * cf(0, 0.2, -0.2) * ang(rd(70), rd(-60), rd(-100)), 0.5) | |
755 | if dipperhat then | |
756 | dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.3) | |
757 | end | |
758 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
759 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5) | |
760 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
761 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5) | |
762 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
763 | end | |
764 | for _ = 1, 3 do | |
765 | swait() | |
766 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5) | |
767 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5) | |
768 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5) | |
769 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
770 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3) | |
771 | if dipperhat then | |
772 | dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(15, 0, 0), 0.3) | |
773 | end | |
774 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
775 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5) | |
776 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
777 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5) | |
778 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
779 | end | |
780 | for _ = 1, 30 do | |
781 | swait() | |
782 | lerpz(RJ, "C0", RJC0 * cf(1.1, 0.6, 0) * ang(rd(0), rd(0), rd(-120)), 0.2) | |
783 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.2) | |
784 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.2) | |
785 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
786 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.2) | |
787 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
788 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.2) | |
789 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
790 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.2) | |
791 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
792 | end | |
793 | expa() | |
794 | for O = 1, 10 do | |
795 | swait() | |
796 | lerpz(RJ, "C0", RJC0 * cf(0, 0.3, 0) * ang(rd(0), rd(0), rd(60)), 0.001 + O * 0.01) | |
797 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.001 + O * 0.01) | |
798 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.001 + O * 0.01) | |
799 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
800 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.001 + O * 0.01) | |
801 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
802 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.001 + O * 0.01) | |
803 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
804 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.001 + O * 0.01) | |
805 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
806 | end | |
807 | local whoooo = Instance.new("Sound") | |
808 | whoooo.Volume = 3 | |
809 | whoooo.Pitch = 1.1 | |
810 | whoooo.SoundId = "rbxassetid://151790502" | |
811 | whoooo.Parent = pt5 | |
812 | whoooo:Play() | |
813 | game.Debris:AddItem(whoooo, 2) | |
814 | for O = 1, 1 do | |
815 | swait() | |
816 | hito(pt5, 70, 808282854, 0.75, hrp.CFrame.rightVector * -10000000 + Vector3.new(0, 50, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160))) | |
817 | lerpz(RJ, "C0", RJC0 * cf(0.9, -0.7, 0) * ang(rd(0), rd(0), rd(120)), 0.1 + O * 0.05) | |
818 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.1 + O * 0.05) | |
819 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(20), rd(20)), 0.1 + O * 0.05) | |
820 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
821 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.1 + O * 0.05) | |
822 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
823 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.1 + O * 0.05) | |
824 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
825 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.1 + O * 0.05) | |
826 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
827 | end | |
828 | for O = 1, 13 do | |
829 | swait() | |
830 | hmes.Scale = hmes.Scale:lerp(Vector3.new(2, 9, 2), 0.05 + O * 0.075) | |
831 | p1m.Scale = p1m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
832 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), 0.05 + O * 0.075) | |
833 | p3m.Scale = p3m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
834 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), 0.05 + O * 0.075) | |
835 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.025, 0.025, 0.025), 0.05 + O * 0.075) | |
836 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), 0.05 + O * 0.075) | |
837 | p5m.Scale = p5m.Scale:lerp(Vector3.new(21.5, 1, 1), 0.05 + O * 0.075) | |
838 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), 0.05 + O * 0.075) | |
839 | lerpz(RJ, "C0", RJC0 * cf(1.1, -0.8, 0) * ang(rd(0), rd(0), rd(150)), 0.05 + O * 0.075) | |
840 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.05 + O * 0.075) | |
841 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(30), rd(10)), 0.05 + O * 0.075) | |
842 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
843 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(20), rd(20), rd(-20)), 0.05 + O * 0.075) | |
844 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
845 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.05 + O * 0.075) | |
846 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
847 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.05 + O * 0.075) | |
848 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
849 | end | |
850 | if dipperhat then | |
851 | dipperhat.Handle.HatAttachment.Rotation = dipperrot | |
852 | end | |
853 | human.WalkSpeed = speed | |
854 | human:SetStateEnabled(3, true) | |
855 | activu = false | |
856 | end | |
857 | if keya == "q" then | |
858 | activu = true | |
859 | do | |
860 | local checkkey = true | |
861 | local keyingup = mouse.KeyUp:connect(function(xzx) | |
862 | if xzx == "q" then | |
863 | checkkey = false | |
864 | end | |
865 | end) | |
866 | repeat | |
867 | for _ = 1, 2 do | |
868 | swait() | |
869 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
870 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
871 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(30), rd(-20), rd(80)), 0.7) | |
872 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
873 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
874 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
875 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
876 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
877 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
878 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
879 | end | |
880 | swingwoo:Play() | |
881 | for T = 1, 2 do | |
882 | swait() | |
883 | if T == 2 then | |
884 | hito(pt5, 7, 30, 0.03, hrp.CFrame.lookVector * 0, Vector3.new(0, rd2(-2, 2), rd2(-10, 10))) | |
885 | end | |
886 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7) | |
887 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
888 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(40)), 0.7) | |
889 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
890 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
891 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
892 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
893 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
894 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
895 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
896 | end | |
897 | for _ = 1, 2 do | |
898 | swait() | |
899 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-30), rd(20), rd(0)), 0.7) | |
900 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
901 | lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(179)), 0.7) | |
902 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
903 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-40), rd(20), rd(30)), 0.7) | |
904 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
905 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
906 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
907 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(35)), 0.7) | |
908 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
909 | end | |
910 | swingwoo:Play() | |
911 | for T = 1, 2 do | |
912 | swait() | |
913 | if T == 2 then | |
914 | hito(pt5, 7, 30, 0.03, hrp.CFrame.lookVector * 0, Vector3.new(0, rd2(-2, 2), rd2(-10, 10))) | |
915 | end | |
916 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(40), rd(40), rd(0)), 0.7) | |
917 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
918 | lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(30)), 0.7) | |
919 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
920 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
921 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
922 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
923 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
924 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(-65)), 0.7) | |
925 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
926 | end | |
927 | until not checkkey | |
928 | keyingup:Disconnect() | |
929 | activu = false | |
930 | end | |
931 | end | |
932 | if keya == "f" then | |
933 | activu = true | |
934 | do | |
935 | local speed = human.WalkSpeed | |
936 | human.WalkSpeed = 10 | |
937 | human:SetStateEnabled(3, false) | |
938 | local checkkey = true | |
939 | local chargecounter = 0 | |
940 | local keyingup = mouse.KeyUp:connect(function(xzx) | |
941 | if xzx == "f" then | |
942 | checkkey = false | |
943 | end | |
944 | end) | |
945 | local firederp | |
946 | for _ = 1, 8 do | |
947 | swait() | |
948 | hwel.C0 = hwel.C0:lerp(ang(rd(65), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
949 | lerpz(RJ, "C0", RJC0 * cf(0.5, 0.5, 0) * ang(rd(0), rd(0), rd(-70)), 0.5) | |
950 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(60)), 0.5) | |
951 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(70), rd(-10), rd(80)), 0.5) | |
952 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
953 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(-10), rd(-70), rd(-75)), 0.5) | |
954 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
955 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.5) | |
956 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
957 | lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(0), rd(80), rd(-5)), 0.5) | |
958 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.5) | |
959 | end | |
960 | repeat | |
961 | swait() | |
962 | chargecounter = chargecounter + 1 | |
963 | 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) | |
964 | 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) | |
965 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(rd2(-25, -15)), rd(0)), 0.05 + chargecounter * 0.019) | |
966 | if chargecounter > 30 and firederp == nil then | |
967 | local colorKeyPoints={ColorSequenceKeypoint.new(0,Color3.new(1,1,1)), | |
968 | ColorSequenceKeypoint.new(1,Color3.new(1,1,1)) | |
969 | } | |
970 | local sizeKeyPoints={NumberSequenceKeypoint.new(0,.25), | |
971 | NumberSequenceKeypoint.new(1,1), | |
972 | NumberSequenceKeypoint.new(1,0) | |
973 | } | |
974 | local opacityKeyPoints={NumberSequenceKeypoint.new(0,0); | |
975 | NumberSequenceKeypoint.new(.793,0); | |
976 | NumberSequenceKeypoint.new(1,1); | |
977 | } | |
978 | local runRing=Instance.new('ParticleEmitter',pt1) | |
979 | runRing.LightEmission=0 | |
980 | runRing.Color=ColorSequence.new(colorKeyPoints) | |
981 | runRing.Size=NumberSequence.new(sizeKeyPoints) | |
982 | runRing.Texture='rbxassetid://720401995' | |
983 | runRing.LockedToPart = false | |
984 | runRing.Transparency=NumberSequence.new(opacityKeyPoints) | |
985 | runRing.Lifetime=NumberRange.new(1,2) | |
986 | runRing.Rate=100 | |
987 | runRing.Rotation=NumberRange.new(0,360) | |
988 | runRing.RotSpeed=NumberRange.new(-20,20) | |
989 | runRing.Speed=NumberRange.new(4) | |
990 | runRing.VelocitySpread=10 | |
991 | wait(.1) | |
992 | runRing.Enabled = false | |
993 | end | |
994 | until not checkkey or chargecounter > 50 | |
995 | swingwoo:Play() | |
996 | sbchat("I WILL EAT YOU",'[Bonk Boy]') | |
997 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"I WILL EAT YOU", "Red") | |
998 | for U = 1, 10 do | |
999 | swait() | |
1000 | if U < 3 then | |
1001 | hito(pt5, 8, math.huge, 0.2, hrp.CFrame.lookVector * (math.huge + chargecounter * math.huge) + Vector3.new(0, 6 + 6 * (chargecounter / 5), 0), Vector3.new(0, rd2(-25, 25) * (chargecounter / 25), rd2(-80, 80) * (chargecounter / 25))) | |
1002 | if chargecounter > 30 then | |
1003 | tagexplode(pt5, 5, 1) | |
1004 | end | |
1005 | end | |
1006 | hwel.C0 = hwel.C0:lerp(ang(rd(135), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
1007 | lerpz(RJ, "C0", RJC0 * cf(0.5, -0.5, 0) * ang(rd(0), rd(0), rd(50)), 0.6) | |
1008 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-30)), 0.6) | |
1009 | lerpz(RS, "C0", RSC0 * cf(0.75, 0.5, -0.5) * ang(rd(0), rd(60), rd(120)), 0.4) | |
1010 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(100), rd(0)), 0.4) | |
1011 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(20), rd(-125)), 0.4) | |
1012 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.4) | |
1013 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.6) | |
1014 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
1015 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(-6)), 0.6) | |
1016 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.6) | |
1017 | end | |
1018 | if firederp then | |
1019 | firederp:Destroy() | |
1020 | end | |
1021 | swait(10) | |
1022 | hwel.C0 = ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0) | |
1023 | keyingup:Disconnect() | |
1024 | human.WalkSpeed = speed | |
1025 | human:SetStateEnabled(3, true) | |
1026 | activu = false | |
1027 | HName.Text = "Bonk Boy" | |
1028 | end | |
1029 | end | |
1030 | end) | |
1031 | end | |
1032 | elseif batting == true then | |
1033 | batting = false | |
1034 | clibat:Disconnect() | |
1035 | spec:Disconnect() | |
1036 | hrp.sweae:Destroy() | |
1037 | local batmod = chr:FindFirstChild("bmodel") | |
1038 | batmod.hnd.Weld:Destroy() | |
1039 | batmod.PrimaryPart = batmod.hnd | |
1040 | batmod:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1)) | |
1041 | for _, A in pairs(batmod:GetChildren()) do | |
1042 | if A.ClassName == "Part" then | |
1043 | A.CanCollide = true | |
1044 | A.Anchored = false | |
1045 | end | |
1046 | end | |
1047 | batmod.Parent = workspace | |
1048 | game.Debris:AddItem(batmod, 8) | |
1049 | end | |
1050 | end | |
1051 | local movin = false | |
1052 | local cliham, hamspec | |
1053 | function ham() | |
1054 | if batting == false then | |
1055 | batting = true | |
1056 | do | |
1057 | local bmod = Instance.new("Model") | |
1058 | bmod.Name = "bmodel" | |
1059 | bmod.Parent = chr | |
1060 | local makemotor = function(parent, p0, p1, c0, c1) | |
1061 | local wel = Instance.new("Motor6D") | |
1062 | wel.Part0 = p0 | |
1063 | wel.Part1 = p1 | |
1064 | wel.C0 = c0 | |
1065 | if c1 ~= nil then | |
1066 | wel.C1 = c1 | |
1067 | end | |
1068 | wel.Parent = parent | |
1069 | return wel | |
1070 | end | |
1071 | local hnd = makepart("Br. yellowish green", "hnd", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
1072 | hnd.Anchored = true | |
1073 | local hmes = makemesh("Head", Vector3.new(5, 30, 5), nil, hnd) | |
1074 | movin = true | |
1075 | hnd.CFrame = hrp.CFrame | |
1076 | coroutine.resume(coroutine.create(function() | |
1077 | while hnd.Anchored == true do | |
1078 | swait() | |
1079 | if movin then | |
1080 | hnd.CFrame = hnd.CFrame:lerp(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, 11, 0), 0.65) | |
1081 | end | |
1082 | end | |
1083 | end)) | |
1084 | sbchat("MAGGOT!",'[Big Smoke]') | |
1085 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"I WILL EAT YOU!", "Red") | |
1086 | local pt1 = makepart("Br. yellowish green", "pt1", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
1087 | local p1m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt1) | |
1088 | local p1w = makemotor(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), nil) | |
1089 | local pt2 = makepart("Br. yellowish green", "pt2", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
1090 | local p2m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt2) | |
1091 | local p2w = makemotor(pt2, pt2, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), nil) | |
1092 | local pt3 = makepart("Bright yellow", "pt3", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
1093 | local p3m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt3) | |
1094 | local p3w = makemotor(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3.75, 0), nil) | |
1095 | local pt4 = makepart("Br. yellowish green", "pt4", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
1096 | local p4m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://250640098", pt4) | |
1097 | p4m.TextureId = "rbxassetid://250639536" | |
1098 | local p4w = makemotor(pt4, pt4, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 4.25, 0.25), nil) | |
1099 | local pt5 = makepart("Bright blue", "pt5", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
1100 | local p5m = makemesh("Head", Vector3.new(5, 90, 4), nil, pt5) | |
1101 | local p5w = makemotor(pt5, pt5, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -12, 0), nil) | |
1102 | local pt6 = makepart("Bright blue", "pt6", 0, 0, "SmoothPlastic", bmod, hrp.CFrame) | |
1103 | local p6m = makemesh("FileMesh", Vector3.new(0.16, 0.4, 0.16), "rbxassetid://", pt6) | |
1104 | p6m.TextureId = "rbxassetid://" | |
1105 | p6m.Scale = Vector3.new(0.5,0.50,0.5) | |
1106 | local p6w = makemotor(pt6, pt6, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -16, 0), nil) | |
1107 | local pt7 = makepart("Bright yellow", "pt7", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
1108 | local p7m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt7) | |
1109 | local p7w = makemotor(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -27, 0), nil) | |
1110 | local pt8 = makepart("Bright yellow", "pt8", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
1111 | local p8m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt8) | |
1112 | local p8w = makemotor(pt8, pt8, hnd, ang(rd(0), rd(-90), rd(0)) * cf(0, -27, 0), nil) | |
1113 | local hdec2 = Instance.new("Decal") | |
1114 | local pt9 = makepart("Bright yellow", "pt9", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
1115 | local p9m = makemesh("FileMesh", Vector3.new(12, 11, 11), "rbxassetid://", pt9) | |
1116 | local p9w = makemotor(pt9, pt9, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -30, 0), nil) | |
1117 | p9m.TextureId = "rbxassetid://" | |
1118 | local pt10 = makepart("Bright yellow", "pt10", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
1119 | local p10m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt10) | |
1120 | local p10w = makemotor(pt10, pt10, pt7, ang(rd(0), rd(0), rd(90)) * cf(11, 0, 0), nil) | |
1121 | local hdec3 = Instance.new("Decal") | |
1122 | local pt11 = makepart("Bright yellow", "pt11", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
1123 | local p11m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt11) | |
1124 | local p11w = makemotor(pt11, pt11, pt7, ang(rd(0), rd(180), rd(90)) * cf(11, 0, 0), nil) | |
1125 | local pt12 = makepart("Bright yellow", "pt12", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
1126 | local p12m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt12) | |
1127 | local p12w = makemotor(pt12, pt12, pt7, ang(rd(0), rd(0), rd(-90)) * cf(-11, 0, 0), nil) | |
1128 | local pt13 = makepart("Bright yellow", "pt13", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
1129 | local p13m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt13) | |
1130 | local p13w = makemotor(pt13, pt13, pt7, ang(rd(0), rd(180), rd(-90)) * cf(-11, 0, 0), nil) | |
1131 | cliham = tool.Activated:connect(function() | |
1132 | if selected == false or activu == true or ragged == true then | |
1133 | return | |
1134 | end | |
1135 | activu = true | |
1136 | movin = false | |
1137 | for B = 1, 20 do | |
1138 | swait() | |
1139 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.4) | |
1140 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(0), rd(0)), 0.4) | |
1141 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(170)), 0.4) | |
1142 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
1143 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(10)), 0.4) | |
1144 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
1145 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(-10)), 0.4) | |
1146 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
1147 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(10)), 0.4) | |
1148 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
1149 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 0.1 + B * 0.045) | |
1150 | end | |
1151 | for B = 1, 30 do | |
1152 | swait() | |
1153 | lerpz(RJ, "C0", RJC0 * cf(0, 0.8, 0) * ang(rd(-25), rd(0), rd(-50)), 0.1 + B / 80) | |
1154 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-18), rd(0), rd(40)), 0.1 + B / 80) | |
1155 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-30), rd(-5), rd(160)), 0.1 + B / 80) | |
1156 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
1157 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-20), rd(-150)), 0.1 + B / 80) | |
1158 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
1159 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(-10)), 0.1 + B / 80) | |
1160 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
1161 | lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(-5), rd(60), rd(-110)), 0.1 + B / 80) | |
1162 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
1163 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
1164 | end | |
1165 | for B = 1, 7 do | |
1166 | swait() | |
1167 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(40)), 0.015 + B / 15) | |
1168 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.015 + B / 15) | |
1169 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-50), rd(100)), 0.015 + B / 15) | |
1170 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
1171 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.015 + B / 15) | |
1172 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
1173 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(10)), 0.015 + B / 15) | |
1174 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
1175 | lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(-20)), 0.015 + B / 15) | |
1176 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
1177 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
1178 | end | |
1179 | for B = 1, 8 do | |
1180 | swait() | |
1181 | hito(pt6, 20, 808282854, 0.75, hrp.CFrame.rightVector * math.huge + Vector3.new(0, 50, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160))) | |
1182 | lerpz(RJ, "C0", RJC0 * cf(0, -0.8, 0) * ang(rd(70), rd(0), rd(40)), 0.38 + B * 0.1) | |
1183 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.38 + B * 0.1) | |
1184 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(100)), 0.38 + B * 0.1) | |
1185 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
1186 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.38 + B * 0.1) | |
1187 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
1188 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(60)), 0.38 + B * 0.1) | |
1189 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
1190 | lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(70)), 0.38 + B * 0.1) | |
1191 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
1192 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
1193 | local exp = Instance.new("Explosion",plr.Character) | |
1194 | exp.Position = pt6.Position | |
1195 | exp.BlastRadius = 0 | |
1196 | end | |
1197 | swait(15) | |
1198 | movin = true | |
1199 | sbchat("MAGGOT!",'[Bonk Boy]') | |
1200 | activu = false | |
1201 | end) | |
1202 | end | |
1203 | elseif batting == true then | |
1204 | batting = false | |
1205 | cliham:Disconnect() | |
1206 | local badevz = chr:FindFirstChild("bmodel") | |
1207 | badevz.PrimaryPart = badevz.hnd | |
1208 | for _, A in pairs(badevz:GetChildren()) do | |
1209 | if A.ClassName == "Part" then | |
1210 | A.CanCollide = true | |
1211 | A.Anchored = false | |
1212 | end | |
1213 | end | |
1214 | movin = false | |
1215 | badevz.Parent = workspace | |
1216 | badevz:SetPrimaryPartCFrame(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, -11, 0)) | |
1217 | game.Debris:AddItem(badevz, 8) | |
1218 | end | |
1219 | end | |
1220 | game:GetService("ContentProvider"):Preload("rbxassetid://725969678") | |
1221 | function lauf() | |
1222 | if selected == false or activu == true then | |
1223 | return | |
1224 | end | |
1225 | lauf1:Play() | |
1226 | end | |
1227 | function makenoob(cfrem, scalo, rags) | |
1228 | nscale.Value = scalo | |
1229 | local md = Instance.new("Model") | |
1230 | md.Name = "Bonk Clone" | |
1231 | md.Parent = workspace | |
1232 | local hu = Instance.new("Humanoid") | |
1233 | hu.RigType = "R6" | |
1234 | hu.MaxHealth = 100 * scalo | |
1235 | hu.Health = 100 * scalo | |
1236 | hu.Parent = md | |
1237 | local anm = Instance.new("Animator") | |
1238 | anm.Parent = hu | |
1239 | hu.PlatformStand = true | |
1240 | local light = function(part) | |
1241 | part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5) | |
1242 | end | |
1243 | local hd = Instance.new("Part") | |
1244 | hd.Name = "Head" | |
1245 | hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
1246 | hd.TopSurface = "Smooth" | |
1247 | hd.BottomSurface = "Inlet" | |
1248 | hd.Locked = true | |
1249 | hd.BrickColor = BrickColor.random() | |
1250 | hd.CanCollide = true | |
1251 | hd.Anchored = false | |
1252 | light(hd) | |
1253 | hd.Parent = md | |
1254 | local hm = Instance.new("SpecialMesh") | |
1255 | hm.MeshType = "Head" | |
1256 | hm.Scale = Vector3.new(1.25, 1.25, 1.25) | |
1257 | hm.Parent = hd | |
1258 | local hf = Instance.new("Decal") | |
1259 | hf.Texture = "rbxasset://textures/" | |
1260 | local gen = math.random(1, 40) | |
1261 | if gen == 3 then | |
1262 | hf.Texture = "rbxassetid://101912931" | |
1263 | end | |
1264 | if gen == 8 then | |
1265 | hf.Texture = "rbxassetid://548947987" | |
1266 | end | |
1267 | if gen == 12 then | |
1268 | hf.Texture = "rbxassetid://259580505" | |
1269 | end | |
1270 | if gen == 16 then | |
1271 | hf.Texture = "rbxassetid://259579232" | |
1272 | end | |
1273 | if gen == 24 then | |
1274 | hf.Texture = "rbxassetid://259571525" | |
1275 | end | |
1276 | if gen == 28 then | |
1277 | hf.Texture = "rbxassetid://258283210" | |
1278 | end | |
1279 | if gen == 32 then | |
1280 | hf.Texture = "rbxassetid://258940032" | |
1281 | end | |
1282 | if gen == 38 then | |
1283 | hf.Texture = "rbxassetid://673220970" | |
1284 | hf.Color3 = Color3.new(0, 0, 0) | |
1285 | end | |
1286 | hf.Face = "Front" | |
1287 | hf.Parent = hd | |
1288 | local hrpa = Instance.new("Part") | |
1289 | hrpa.Name = "HumanoidRootPart" | |
1290 | hrpa.TopSurface, hrpa.BottomSurface = 0, 0 | |
1291 | hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
1292 | hrpa.Transparency = 1 | |
1293 | hrpa.CanCollide = false | |
1294 | hrpa.Locked = true | |
1295 | light(hrpa) | |
1296 | hrpa.Parent = md | |
1297 | local tagbomb = Instance.new("BoolValue") | |
1298 | tagbomb.Name = "tagbomb" | |
1299 | tagbomb.Value = false | |
1300 | tagbomb.Parent = hrpa | |
1301 | local learm = Instance.new("Part") | |
1302 | learm.Name = "Left Arm" | |
1303 | learm.BrickColor = BrickColor.random() | |
1304 | learm.CanCollide = false | |
1305 | learm.Locked = true | |
1306 | learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
1307 | light(learm) | |
1308 | learm.Parent = md | |
1309 | local riarm = Instance.new("Part") | |
1310 | riarm.Name = "Right Arm" | |
1311 | riarm.BrickColor = BrickColor.random() | |
1312 | riarm.CanCollide = false | |
1313 | riarm.Locked = true | |
1314 | light(riarm) | |
1315 | riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
1316 | riarm.Parent = md | |
1317 | local leleg = Instance.new("Part") | |
1318 | leleg.Name = "Left Leg" | |
1319 | leleg.BrickColor = BrickColor.random() | |
1320 | leleg.CanCollide = false | |
1321 | leleg.Locked = true | |
1322 | light(leleg) | |
1323 | leleg.BottomSurface = 0 | |
1324 | leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
1325 | leleg.Parent = md | |
1326 | local rileg = Instance.new("Part") | |
1327 | rileg.Name = "Right Leg" | |
1328 | rileg.BrickColor = BrickColor.random() | |
1329 | rileg.CanCollide = false | |
1330 | rileg.Locked = true | |
1331 | light(rileg) | |
1332 | rileg.BottomSurface = 0 | |
1333 | rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
1334 | rileg.Parent = md | |
1335 | local tor = Instance.new("Part") | |
1336 | tor.Name = "Torso" | |
1337 | tor.BrickColor = BrickColor.random() | |
1338 | tor.Locked = true | |
1339 | light(tor) | |
1340 | tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
1341 | tor.LeftSurface, tor.RightSurface = "Weld", "Weld" | |
1342 | tor.Parent = md | |
1343 | md.PrimaryPart = hrpa | |
1344 | md:SetPrimaryPartCFrame(cfrem) | |
1345 | md:makeJoints() | |
1346 | makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint") | |
1347 | makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck") | |
1348 | if rags == true then | |
1349 | makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
1350 | makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
1351 | makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
1352 | makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
1353 | maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
1354 | maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
1355 | maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
1356 | maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
1357 | elseif rags == false then | |
1358 | makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
1359 | makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
1360 | makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
1361 | makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
1362 | hu.PlatformStand = false | |
1363 | end | |
1364 | nscale.Value = 1 | |
1365 | hu.Touched:connect(function(tpart, uwot) | |
1366 | if tagbomb.Value == true and tpart.Parent ~= md and tpart.Parent.Parent ~= md and tpart.Parent.Parent.Parent ~= md then | |
1367 | tagbomb.Value = false | |
1368 | hu.Health = 0 | |
1369 | local derp = Instance.new("Explosion") | |
1370 | derp.BlastPressure = 200 | |
1371 | derp.BlastRadius = 8 | |
1372 | derp.DestroyJointRadiusPercent = 0 | |
1373 | derp.ExplosionType = 2 | |
1374 | derp.Visible = true | |
1375 | derp.Position = uwot.Position - Vector3.new(0, 0.5, 0) | |
1376 | derp.Parent = workspace | |
1377 | game.Debris:AddItem(md, 8) | |
1378 | end | |
1379 | end) | |
1380 | return md | |
1381 | end | |
1382 | function makecircle(cfrem, scalo) | |
1383 | local mcir1 = Instance.new("Part") | |
1384 | mcir1.Anchored = true | |
1385 | mcir1.CanCollide = false | |
1386 | mcir1.Size = Vector3.new(0.2, 0.2, 0.2) | |
1387 | mcir1.Transparency = 1 | |
1388 | mcir1.CFrame = cfrem | |
1389 | mcir1.Parent = modz | |
1390 | game.Debris:AddItem(mcir1, 8) | |
1391 | local d1 = Instance.new("Decal") | |
1392 | d1.Texture = "rbxassetid://557132029" | |
1393 | d1.Face = "Front" | |
1394 | d1.Parent = mcir1 | |
1395 | local d2 = Instance.new("Decal") | |
1396 | d2.Texture = "rbxassetid://0" | |
1397 | d2.Face = "Back" | |
1398 | d2.Parent = mcir1 | |
1399 | local bme = Instance.new("BlockMesh") | |
1400 | bme.Parent = mcir1 | |
1401 | for _ = 1, 9 do | |
1402 | swait() | |
1403 | bme.Scale = bme.Scale:lerp(Vector3.new(35 * scalo, 35 * scalo, 0), 0.3) | |
1404 | end | |
1405 | coroutine.resume(coroutine.create(function() | |
1406 | swait(15) | |
1407 | for _ = 1, 12 do | |
1408 | swait() | |
1409 | d1.Transparency = d1.Transparency + 0.08 | |
1410 | d2.Transparency = d2.Transparency + 0.08 | |
1411 | end | |
1412 | mcir1:Destroy() | |
1413 | end)) | |
1414 | return mcir1 | |
1415 | end | |
1416 | function spawnnoob(circlecf, noobcf, scalez, ragd) | |
1417 | local aearae = makecircle(circlecf, scalez) | |
1418 | local nananb | |
1419 | if ragd then | |
1420 | nananb = makenoob(aearae.CFrame * noobcf, scalez, true) | |
1421 | elseif not ragd then | |
1422 | nananb = makenoob(aearae.CFrame * noobcf, scalez, false) | |
1423 | end | |
1424 | return nananb | |
1425 | end | |
1426 | function tagexplode(partoz, magn, bombdelay) | |
1427 | for _, guy in pairs(workspace:GetChildren()) do | |
1428 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy.Name == "Skid" and guy.Name == "Dummy" and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude then | |
1429 | coroutine.resume(coroutine.create(function() | |
1430 | swait(bombdelay * 0) | |
1431 | guy:FindFirstChild("HumanoidRootPart").tagbomb.Value = true | |
1432 | end)) | |
1433 | end | |
1434 | end | |
1435 | end | |
1436 | function hito(partoz, magn, dmg, debtim, bodyfdire, bodyrot) | |
1437 | for _, guy in pairs(workspace:GetChildren()) do | |
1438 | 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 | |
1439 | do | |
1440 | local humz = guy:FindFirstChild("Humanoid") | |
1441 | local horp = guy:FindFirstChild("HumanoidRootPart") | |
1442 | humz:TakeDamage(9e999) | |
1443 | humz:SetStateEnabled(16, true) | |
1444 | delay(debtim, function() | |
1445 | humz:SetStateEnabled(16, true) | |
1446 | end) | |
1447 | local db = Instance.new("StringValue") | |
1448 | db.Name = "alabo" | |
1449 | db.Parent = horp | |
1450 | delay(debtim, function() | |
1451 | db:Destroy() | |
1452 | end) | |
1453 | local b = Instance.new("Part") | |
1454 | nooutline(b) | |
1455 | b.Size = Vector3.new(0.2, 0.2, 0.2) | |
1456 | b.Transparency = 0 | |
1457 | b.Anchored = true | |
1458 | b.CanCollide = false | |
1459 | b.Material = "Neon" | |
1460 | b.BrickColor = BrickColor.new("Bright red") | |
1461 | b.Locked = true | |
1462 | b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))*CFrame.Angles(math.random(1412),math.random(423532),math.random(1312)) | |
1463 | b.Parent = modz | |
1464 | local c = Instance.new("SpecialMesh") | |
1465 | c.MeshType = "Sphere" | |
1466 | c.Scale = Vector3.new(3.5, 3.5, 3.5) | |
1467 | c.Parent = b | |
1468 | game.Debris:AddItem(b, 1) | |
1469 | if bodyfdire then | |
1470 | local boopyve = Instance.new("BodyVelocity") | |
1471 | boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999) | |
1472 | boopyve.P = 9999999999 | |
1473 | boopyve.Velocity = bodyfdire | |
1474 | boopyve.Parent = horp | |
1475 | game.Debris:AddItem(boopyve, debtim) | |
1476 | end | |
1477 | if bodyrot then | |
1478 | local boopyro = Instance.new("BodyAngularVelocity") | |
1479 | boopyro.MaxTorque = Vector3.new(999999, 999999, 999999) | |
1480 | boopyro.P = math.huge | |
1481 | boopyro.AngularVelocity = bodyrot | |
1482 | boopyro.Parent = horp | |
1483 | game.Debris:AddItem(boopyro, debtim) | |
1484 | end | |
1485 | local bet = Instance.new("Sound") | |
1486 | bet.Pitch = rd2(9, 11) / 10 | |
1487 | bet.Volume = rd2(12, 14) / 10 | |
1488 | bet.SoundId = "rbxassetid://175024455" | |
1489 | bet.Parent = b | |
1490 | bet:Play() | |
1491 | coroutine.resume(coroutine.create(function() | |
1492 | for _ = 1, 24 do | |
1493 | swait() | |
1494 | b.Transparency = b.Transparency + 0.08 | |
1495 | c.Scale = c.Scale + Vector3.new(.8 * dmg, .8 * dmg, .8 * dmg) | |
1496 | end | |
1497 | end)) | |
1498 | end | |
1499 | end | |
1500 | end | |
1501 | end | |
1502 | function cleannoobs() | |
1503 | for _, nib in pairs(workspace:GetChildren()) do | |
1504 | coroutine.resume(coroutine.create(function() | |
1505 | if nib.Name == "Noob" then | |
1506 | if nib:FindFirstChild("HumanoidRootPart") then | |
1507 | local g = Instance.new("Part") | |
1508 | g.CanCollide, g.Anchored = false, true | |
1509 | g.Transparency = 1 | |
1510 | g.CFrame = nib:FindFirstChild("HumanoidRootPart").CFrame | |
1511 | g.Parent = workspace | |
1512 | game.Debris:AddItem(g, 3.5) | |
1513 | local sou = Instance.new("Sound") | |
1514 | sou.Pitch = 0 | |
1515 | sou.Volume = 3 | |
1516 | sou.SoundId = "rbxassetid://632290372" | |
1517 | sou.Parent = g | |
1518 | local pe = Instance.new("ParticleEmitter") | |
1519 | pe.Acceleration = Vector3.new(0, 8, 0) | |
1520 | pe.Lifetime = NumberRange.new(1, 1.5) | |
1521 | pe.Rate = 0.005 | |
1522 | pe.RotSpeed = NumberRange.new(-30, 30) | |
1523 | pe.Rotation = NumberRange.new(0, 360) | |
1524 | pe.Size = NumberSequence.new({ | |
1525 | NumberSequenceKeypoint.new(0, 4.38, 0), | |
1526 | NumberSequenceKeypoint.new(0.672, 4.14, 0), | |
1527 | NumberSequenceKeypoint.new(1, 1.48, 0) | |
1528 | }) | |
1529 | pe.Texture = "rbxassetid://244221440" | |
1530 | pe.Transparency = NumberSequence.new({ | |
1531 | NumberSequenceKeypoint.new(0, 0, 0), | |
1532 | NumberSequenceKeypoint.new(0.529, 0.3, 0), | |
1533 | NumberSequenceKeypoint.new(1, 1, 1) | |
1534 | }) | |
1535 | pe.ZOffset = 5 | |
1536 | pe.Enabled = true | |
1537 | pe.VelocitySpread = 360 | |
1538 | pe.Parent = g | |
1539 | swait(5) | |
1540 | pe:Emit(6) | |
1541 | sou:Play() | |
1542 | end | |
1543 | nib:Destroy() | |
1544 | end | |
1545 | end)) | |
1546 | end | |
1547 | end | |
1548 | function animo(yep) | |
1549 | if yep == true then | |
1550 | anim.Parent = human | |
1551 | chr.Animate.Disabled = false | |
1552 | elseif yep == false then | |
1553 | chr.Animate.Disabled = true | |
1554 | anim.Parent = nil | |
1555 | end | |
1556 | end | |
1557 | mouse.KeyDown:connect(function(key) | |
1558 | if key == "r" then | |
1559 | test() | |
1560 | end | |
1561 | if key == "m" then | |
1562 | lauf() | |
1563 | end | |
1564 | if key == "c" then | |
1565 | ham() | |
1566 | end | |
1567 | if key == "x" then | |
1568 | bat() | |
1569 | end | |
1570 | if key == "l" and selected == true then | |
1571 | spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, true) | |
1572 | end | |
1573 | if key == "h" and selected == true then | |
1574 | spawnnoob(hrp.CFrame * cf(5, 60, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 10, true) | |
1575 | end | |
1576 | if key == "k" and selected == true then | |
1577 | spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, false) | |
1578 | end | |
1579 | if key == "p" then | |
1580 | cleannoobs() | |
1581 | end | |
1582 | if key == "e" then | |
1583 | local so = Instance.new("Sound",plr.Character) | |
1584 | so.SoundId = "rbxassetid://632290372" | |
1585 | so.Volume = 10 | |
1586 | so:Play() | |
1587 | HName.Text = "MAGGOT!" | |
1588 | sbchat("THAT'S WHAT I'M TALKING ABOUT!",'[Bonk Boy]') | |
1589 | wait(2) | |
1590 | game.Players.LocalPlayer.PlayerGui.SB_DataTransfer.SB_CommandRemote.Value = "g/fl" | |
1591 | HName.Text = "Painis Cupcake" | |
1592 | end | |
1593 | if key == "z" then | |
1594 | if selected == false or activu == true then | |
1595 | return | |
1596 | end | |
1597 | if human.WalkSpeed == 25 then | |
1598 | human.WalkSpeed = 100 | |
1599 | human.JumpPower = 125 | |
1600 | else | |
1601 | human.WalkSpeed = 25 | |
1602 | human.JumpPower = 50 | |
1603 | end | |
1604 | end | |
1605 | end) | |
1606 | tool.Equipped:connect(function() | |
1607 | selected = true | |
1608 | end) | |
1609 | tool.Unequipped:connect(function() | |
1610 | selected = false | |
1611 | end) | |
1612 | animo(false) | |
1613 | human.WalkSpeed = 25 | |
1614 | sine = 0 | |
1615 | charge = 1 | |
1616 | cos = math.cos | |
1617 | game:GetService("RunService").RenderStepped:connect(function() | |
1618 | if ragged == false and activu == false then | |
1619 | local checkfloor = Ray.new(hrp.Position, Vector3.new(0, -5, 0)) | |
1620 | local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false) | |
1621 | local checkstate = human:GetState() | |
1622 | if checkstate.Value == 13 then | |
1623 | animpose = "Sitting" | |
1624 | elseif hrp.Velocity.y > 1 and checkpart == nil then | |
1625 | animpose = "Jumping" | |
1626 | elseif hrp.Velocity.y < -1 and checkpart == nil then | |
1627 | animpose = "Falling" | |
1628 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then | |
1629 | animpose = "Idle" | |
1630 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 40 then | |
1631 | animpose = "Walking" | |
1632 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 40 then | |
1633 | animpose = "TooFast" | |
1634 | end | |
1635 | if animpose == "Idle" then | |
1636 | sine = sine + charge | |
1637 | 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) | |
1638 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(4 + 2 * cos(sine / 20)), rd(0), rd(0)), 0.3) | |
1639 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(10)), 0.3) | |
1640 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1641 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(100), rd(-40), rd(-32)), 0.3) | |
1642 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1643 | 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) | |
1644 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1645 | 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) | |
1646 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1647 | end | |
1648 | if animpose == "Walking" then | |
1649 | sine = sine + charge | |
1650 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0 * cos(sine / 4)) * ang(rd(20), math.sin(hrp.RotVelocity.Y / 80), 0), 0.3) | |
1651 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(0)), 0.3) | |
1652 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-20)), 0.6) | |
1653 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1654 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(100), rd(-40), rd(-32)), 0.6) | |
1655 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1656 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-60 * cos(sine / 8))), 0.6) | |
1657 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1658 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-60 * cos(sine / 8))), 0.6) | |
1659 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1660 | end | |
1661 | if animpose == "Jumping" then | |
1662 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.3) | |
1663 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3) | |
1664 | lerpz(RS, "C0", RSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(-5), rd(-20)), 0.3) | |
1665 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1666 | lerpz(LS, "C0", LSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(5), rd(20)), 0.3) | |
1667 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1668 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-20), rd(-20)), 0.3) | |
1669 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1670 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(15)), 0.3) | |
1671 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1672 | end | |
1673 | if animpose == "Falling" then | |
1674 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3) | |
1675 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3) | |
1676 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(-5), rd(-20)), 0.3) | |
1677 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1678 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(5), rd(20)), 0.3) | |
1679 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1680 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-15), rd(-20)), 0.3) | |
1681 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1682 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(15), rd(15)), 0.3) | |
1683 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1684 | end | |
1685 | if animpose == "TooFast" then | |
1686 | sine = sine + charge | |
1687 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.35 * cos(sine / 2)) * ang(rd(30), math.sin(hrp.RotVelocity.Y / 20), math.sin(hrp.RotVelocity.Y / 2)), 0.3) | |
1688 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15 - 5 * cos(sine / 2)), rd(0), rd(0)), 0.3) | |
1689 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-80)), 0.6) | |
1690 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1691 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(110), rd(-40), rd(-35)), 0.6) | |
1692 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1693 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-60 * cos(sine / 3))), 0.6) | |
1694 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1695 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-60 * cos(sine / 3))), 0.6) | |
1696 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1697 | end | |
1698 | if animpose == "Sitting" then | |
1699 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1700 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1701 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
1702 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1703 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
1704 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1705 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
1706 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1707 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
1708 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1709 | end | |
1710 | end | |
1711 | end) | |
1712 | if plr.Character.Humanoid.PlatformStand == true then | |
1713 | plr.Character.Humanoid.PlatformStand = false | |
1714 | end | |
1715 | plr.Character.Humanoid.Died:connect(function() | |
1716 | s:Stop() | |
1717 | HName.TextColor3 = BrickColor.new("Hot white").Color | |
1718 | HName.Text = "BONK...." | |
1719 | local f = Instance.new("Explosion",plr.Character.Torso) | |
1720 | f.Position = plr.Character.Torso.Position | |
1721 | f.BlastRadius = 0 | |
1722 | local m = Instance.new("Sound",Workspace) | |
1723 | m.SoundId = "rbxassetid://632290372" | |
1724 | m.Volume = 10 | |
1725 | m:Play() | |
1726 | end) | |
1727 | --------------------------Gui--------------------------- | |
1728 | makeframe = function(par, trans, pos, size, color) | |
1729 | local frame = Instance.new("Frame", par) | |
1730 | frame.BackgroundTransparency = trans | |
1731 | frame.BorderSizePixel = 1 | |
1732 | frame.BorderColor3 = BrickColor.Black().Color | |
1733 | frame.Position = pos | |
1734 | frame.Size = size | |
1735 | frame.BackgroundColor3 = BrickColor.new("Forest green").Color | |
1736 | frame.ZIndex = 5 | |
1737 | return frame | |
1738 | end | |
1739 | ||
1740 | makelabel = function(par, text) | |
1741 | local label = Instance.new("TextLabel", par) | |
1742 | label.BackgroundTransparency = 1 | |
1743 | label.Size = ud(1, 0, 1, 0) | |
1744 | label.Position = ud(0, 0, 0, 0) | |
1745 | label.TextColor3 = c3(1,1,1) | |
1746 | label.TextStrokeTransparency = 0 | |
1747 | label.FontSize = Enum.FontSize.Size24 | |
1748 | label.Font = Enum.Font.SciFi | |
1749 | label.BorderSizePixel = 0 | |
1750 | label.TextScaled = true | |
1751 | label.Text = text | |
1752 | end | |
1753 | ---------------------------------------------- | |
1754 | local scrn = Instance.new("ScreenGui", p.PlayerGui) | |
1755 | ud = UDim2.new | |
1756 | c3 = Color3.new | |
1757 | ||
1758 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.150,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
1759 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
1760 | Manatext = makelabel(Manabar, "[Q]:Automatic Attack (Hold)") | |
1761 | ||
1762 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.190,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
1763 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
1764 | Manatext = makelabel(Manabar, "[E]:BONK!") | |
1765 | ||
1766 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.230,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
1767 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
1768 | Manatext = makelabel(Manabar, "[R]:Ragdoll") | |
1769 | ||
1770 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.270,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
1771 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
1772 | Manatext = makelabel(Manabar, "[Z]:Speed") | |
1773 | ||
1774 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.310,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
1775 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
1776 | Manatext = makelabel(Manabar, "[C]:Scout Hammer") | |
1777 | ||
1778 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.350,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
1779 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
1780 | Manatext = makelabel(Manabar, "[K]:No Ragdoll Dummy") | |
1781 | ||
1782 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.390,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
1783 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
1784 | Manatext = makelabel(Manabar, "[L]:Ragdoll Dummy") | |
1785 | ||
1786 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.430,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
1787 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
1788 | Manatext = makelabel(Manabar, "[H]:Bonk Dummy") | |
1789 | ||
1790 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.470,0), ud(0.19, 0, 0.17, 0), c3(0,0,0)) | |
1791 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
1792 | Manatext = makelabel(Manabar, "IS ANYONE EVEN WATCHING ME?") | |
1793 | warn'<Script>[Anti Sent To Local]:Connect!' | |
1794 | warn'<Script>:Welcome!' | |
1795 | ------------------------------------------------------------- |