SHOW:
|
|
- or go back to the newest paste.
1 | -- Blamo Berb -- | |
2 | ||
3 | wait() | |
4 | script.Parent = nil | |
5 | LoudVolume = false | |
6 | Submerged = false | |
7 | Music = true | |
8 | isTyping = false | |
9 | script.Name = "Berb" | |
10 | Player = game.Players.LocalPlayer | |
11 | c = game.Players.LocalPlayer.Character | |
12 | Head = c.Head | |
13 | anim = c.Humanoid.Animator | |
14 | c.Animate:remove() | |
15 | Humanoid = c:findFirstChild("Humanoid") | |
16 | Humanoid.Name = "Immortal" | |
17 | rage = false | |
18 | p = game.Players.LocalPlayer | |
19 | Music = false | |
20 | W = nil | |
21 | local Effects = {} | |
22 | attack = false | |
23 | local attacking = false | |
24 | vt = Vector3.new | |
25 | bc = BrickColor.new | |
26 | br = BrickColor.random | |
27 | it = Instance.new | |
28 | cf = CFrame.new | |
29 | euler = CFrame.fromEulerAnglesXYZ | |
30 | angles = CFrame.Angles | |
31 | matr = math.random | |
32 | mouse = Player:GetMouse() | |
33 | ||
34 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
35 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
36 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
37 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
38 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
39 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
40 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
41 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
42 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
43 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
44 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
45 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
46 | RS = c.Torso:FindFirstChild("Right Shoulder") | |
47 | LS = c.Torso:FindFirstChild("Left Shoulder") | |
48 | RH = c.Torso:FindFirstChild("Right Hip") | |
49 | LH = c.Torso:FindFirstChild("Left Hip") | |
50 | RJ = c.HumanoidRootPart:FindFirstChild("RootJoint") | |
51 | N = c.Torso:FindFirstChild("Neck") | |
52 | cf = CFrame.new | |
53 | ang = CFrame.Angles | |
54 | rd = math.rad | |
55 | rd2 = math.random | |
56 | ||
57 | function lerpz(joint, prop, cfrmz, alp) | |
58 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
59 | end | |
60 | function resetlerp() | |
61 | RJ.C0 = RJC0 | |
62 | RJ.C1 = RJC1 | |
63 | N.C0 = NC0 | |
64 | N.C1 = NC1 | |
65 | RS.C0 = RSC0 | |
66 | RS.C1 = RSC1 | |
67 | LS.C0 = LSC0 | |
68 | LS.C1 = LSC1 | |
69 | RH.C0 = RHC0 | |
70 | RH.C1 = RHC1 | |
71 | LH.C0 = LHC0 | |
72 | LH.C1 = LHC1 | |
73 | end | |
74 | ||
75 | function swait(num) | |
76 | if num==0 or num==nil then | |
77 | game:service'RunService'.Heartbeat:wait(0) | |
78 | else | |
79 | for i=0,num do | |
80 | game:service'RunService'.Heartbeat:wait(0) | |
81 | end | |
82 | end | |
83 | end | |
84 | ||
85 | game:GetService('UserInputService').InputBegan:connect(function(InputObj) | |
86 | if InputObj.KeyCode == Enum.KeyCode.Slash then | |
87 | local finishEvent = nil | |
88 | isTyping = true | |
89 | finishEvent = game:GetService('UserInputService').InputBegan:connect(function(InputObj) | |
90 | if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then | |
91 | isTyping = false | |
92 | finishEvent:disconnect() | |
93 | end | |
94 | end) | |
95 | end | |
96 | end) | |
97 | ||
98 | for i,v in pairs(c:children()) do | |
99 | if v.ClassName == "Part" then | |
100 | v.Transparency = 1 | |
101 | end | |
102 | if v.ClassName == "Accessory" then | |
103 | v:remove() | |
104 | end | |
105 | end | |
106 | ||
107 | mas = Instance.new("Model",game:GetService("Lighting")) | |
108 | mas.Name = "CompiledModel" | |
109 | o1 = Instance.new("Model") | |
110 | o2 = Instance.new("Model") | |
111 | o3 = Instance.new("Part") | |
112 | o4 = Instance.new("CylinderMesh") | |
113 | o5 = Instance.new("Part") | |
114 | o6 = Instance.new("CylinderMesh") | |
115 | o7 = Instance.new("Part") | |
116 | o8 = Instance.new("SpecialMesh") | |
117 | o9 = Instance.new("Part") | |
118 | o10 = Instance.new("SpecialMesh") | |
119 | o11 = Instance.new("Weld") | |
120 | o12 = Instance.new("Weld") | |
121 | o13 = Instance.new("Weld") | |
122 | o14 = Instance.new("Weld") | |
123 | o15 = Instance.new("Weld") | |
124 | o16 = Instance.new("Part") | |
125 | o17 = Instance.new("CylinderMesh") | |
126 | o18 = Instance.new("Part") | |
127 | o19 = Instance.new("SpecialMesh") | |
128 | o20 = Instance.new("Part") | |
129 | o21 = Instance.new("Weld") | |
130 | o22 = Instance.new("Weld") | |
131 | o23 = Instance.new("Weld") | |
132 | o24 = Instance.new("Part") | |
133 | o25 = Instance.new("Weld") | |
134 | o26 = Instance.new("Weld") | |
135 | o27 = Instance.new("Weld") | |
136 | o28 = Instance.new("Part") | |
137 | o29 = Instance.new("Part") | |
138 | o30 = Instance.new("Part") | |
139 | o31 = Instance.new("Part") | |
140 | o32 = Instance.new("Part") | |
141 | o33 = Instance.new("Part") | |
142 | o1.Name = "BlamoBerb" | |
143 | o1.Parent = mas | |
144 | o2.Parent = o1 | |
145 | o3.Name = "Mouth" | |
146 | o3.Parent = o2 | |
147 | o3.Material = Enum.Material.SmoothPlastic | |
148 | o3.BrickColor = BrickColor.new("Really black") | |
149 | o3.Position = Vector3.new(41.2506142, 41.3160973, 30.5951977) | |
150 | o3.Rotation = Vector3.new(-5, 0, -180) | |
151 | o3.CanCollide = false | |
152 | o3.Size = Vector3.new(1.50000012, 0.200000003, 1.5) | |
153 | o3.CFrame = CFrame.new(41.2506142, 41.3160973, 30.5951977, -1, 0, 0, 0, -0.996188819, 0.0871554539, 0, 0.0871554464, 0.996188819) | |
154 | o3.BottomSurface = Enum.SurfaceType.Smooth | |
155 | o3.TopSurface = Enum.SurfaceType.Smooth | |
156 | o3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
157 | o3.Position = Vector3.new(41.2506142, 41.3160973, 30.5951977) | |
158 | o3.Orientation = Vector3.new(-5, 0, 180) | |
159 | o3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
160 | o4.Parent = o3 | |
161 | o4.Scale = Vector3.new(1, 0.5, 1) | |
162 | o4.Scale = Vector3.new(1, 0.5, 1) | |
163 | o5.Name = "LeftEye" | |
164 | o5.Parent = o2 | |
165 | o5.Material = Enum.Material.SmoothPlastic | |
166 | o5.BrickColor = BrickColor.new("Institutional white") | |
167 | o5.Position = Vector3.new(40.7347031, 41.5858727, 30.0870075) | |
168 | o5.Rotation = Vector3.new(-76.9300003, 7.42999983, -150.850006) | |
169 | o5.CanCollide = false | |
170 | o5.Size = Vector3.new(0.523343444, 0.161028728, 0.523343384) | |
171 | o5.CFrame = CFrame.new(40.7347031, 41.5858727, 30.0870075, -0.866031826, 0.482966542, 0.129353046, -6.39967693e-05, -0.258817375, 0.965920091, 0.499985963, 0.836509347, 0.224175021) | |
172 | o5.BottomSurface = Enum.SurfaceType.Smooth | |
173 | o5.TopSurface = Enum.SurfaceType.Smooth | |
174 | o5.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
175 | o5.Position = Vector3.new(40.7347031, 41.5858727, 30.0870075) | |
176 | o5.Orientation = Vector3.new(-75, 29.9899998, -179.990005) | |
177 | o5.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
178 | o6.Parent = o5 | |
179 | o6.Scale = Vector3.new(1, 0.5, 1) | |
180 | o6.Scale = Vector3.new(1, 0.5, 1) | |
181 | o7.Name = "LeftEye" | |
182 | o7.Parent = o2 | |
183 | o7.Material = Enum.Material.SmoothPlastic | |
184 | o7.BrickColor = BrickColor.new("Really black") | |
185 | o7.Position = Vector3.new(40.7249794, 41.5910759, 30.0701752) | |
186 | o7.Rotation = Vector3.new(-76.9300003, 7.42999983, -150.850006) | |
187 | o7.CanCollide = false | |
188 | o7.Size = Vector3.new(0.475034833, 0.28180027, 0.475034803) | |
189 | o7.CFrame = CFrame.new(40.7249794, 41.5910759, 30.0701752, -0.866031826, 0.482966542, 0.129353046, -6.39967693e-05, -0.258817375, 0.965920091, 0.499985963, 0.836509347, 0.224175021) | |
190 | o7.BottomSurface = Enum.SurfaceType.Smooth | |
191 | o7.TopSurface = Enum.SurfaceType.Smooth | |
192 | o7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
193 | o7.Position = Vector3.new(40.7249794, 41.5910759, 30.0701752) | |
194 | o7.Orientation = Vector3.new(-75, 29.9899998, -179.990005) | |
195 | o7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
196 | o8.Parent = o7 | |
197 | o8.MeshType = Enum.MeshType.Sphere | |
198 | o9.Name = "Body" | |
199 | o9.Parent = o2 | |
200 | o9.Material = Enum.Material.SmoothPlastic | |
201 | - | o9.BrickColor = BrickColor.new("Pastel violet") |
201 | + | o9.BrickColor = BrickColor.new("Light Blue") |
202 | o9.Position = Vector3.new(41.2507362, 41.315731, 30.9957008) | |
203 | o9.Rotation = Vector3.new(0, 0, -90) | |
204 | o9.CanCollide = true | |
205 | o9.Shape = Enum.PartType.Ball | |
206 | o9.Size = Vector3.new(2.20000005, 2.20000005, 2.20000005) | |
207 | o9.CFrame = CFrame.new(41.2507362, 41.315731, 30.9957008, 0, 1, 0, -0.99999404, 0, 0, 0, 0, 0.99999404) | |
208 | o9.BottomSurface = Enum.SurfaceType.Smooth | |
209 | o9.TopSurface = Enum.SurfaceType.Smooth | |
210 | o9.Color = Color3.new(0.694118, 0.654902, 1) | |
211 | o9.Position = Vector3.new(41.2507362, 41.315731, 30.9957008) | |
212 | o9.Orientation = Vector3.new(0, 0, -90) | |
213 | o9.Color = Color3.new(0.694118, 0.654902, 1) | |
214 | o10.Parent = o9 | |
215 | o10.MeshType = Enum.MeshType.Sphere | |
216 | o11.Parent = o9 | |
217 | o11.C1 = CFrame.new(-0.000122070313, 0.0352706909, 0.398948669, 0, -1, 0, 0.99619478, 0, 0.087155968, -0.0871559754, 0, 0.99619478) | |
218 | o11.Part0 = o9 | |
219 | o11.Part1 = o3 | |
220 | o12.Parent = o9 | |
221 | o12.C1 = CFrame.new(0.00745391846, 1.07928467, 0.00952148438, 6.39971477e-05, -0.866031826, 0.499988943, 0.258818924, 0.482966542, 0.836514354, -0.965925872, 0.129353046, 0.224176362) | |
222 | o12.Part0 = o9 | |
223 | o12.Part1 = o5 | |
224 | o13.Parent = o9 | |
225 | o13.C1 = CFrame.new(0.00745010376, 1.0994072, 0.00952529907, 6.39971477e-05, -0.866031826, 0.499988943, 0.258818924, 0.482966542, 0.836514354, -0.965925872, 0.129353046, 0.224176362) | |
226 | o13.Part0 = o9 | |
227 | o13.Part1 = o7 | |
228 | o14.Parent = o9 | |
229 | o14.C1 = CFrame.new(-0.075553894, 1.11166954, 0.012802124, 2.7999451e-05, -0.819151461, -0.573577344, 0.258819044, -0.554027259, 0.791243672, -0.965925932, -0.148474872, 0.211996466) | |
230 | o14.Part0 = o9 | |
231 | o14.Part1 = o18 | |
232 | o15.Parent = o9 | |
233 | o15.C1 = CFrame.new(-0.075553894, 1.09154701, 0.0128059387, 2.7999451e-05, -0.819151461, -0.573577344, 0.258819044, -0.554027259, 0.791243672, -0.965925932, -0.148474872, 0.211996466) | |
234 | o15.Part0 = o9 | |
235 | o15.Part1 = o16 | |
236 | o16.Name = "RightEye" | |
237 | o16.Parent = o2 | |
238 | o16.Material = Enum.Material.SmoothPlastic | |
239 | o16.BrickColor = BrickColor.new("Institutional white") | |
240 | o16.Position = Vector3.new(41.7954941, 41.5858727, 30.0859756) | |
241 | o16.Rotation = Vector3.new(-77.6200027, -8.53999996, 145.929993) | |
242 | o16.CanCollide = false | |
243 | o16.Size = Vector3.new(0.523343444, 0.161028728, 0.523343384) | |
244 | o16.CFrame = CFrame.new(41.7954941, 41.5858727, 30.0859756, -0.819151461, -0.554027259, -0.148474872, -2.79992837e-05, -0.258817494, 0.96592015, -0.573573947, 0.791238964, 0.211995199) | |
245 | o16.BottomSurface = Enum.SurfaceType.Smooth | |
246 | o16.TopSurface = Enum.SurfaceType.Smooth | |
247 | o16.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
248 | o16.Position = Vector3.new(41.7954941, 41.5858727, 30.0859756) | |
249 | o16.Orientation = Vector3.new(-75, -35.0099983, -179.990005) | |
250 | o16.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
251 | o17.Parent = o16 | |
252 | o17.Scale = Vector3.new(1, 0.5, 1) | |
253 | o17.Scale = Vector3.new(1, 0.5, 1) | |
254 | o18.Name = "RightEye" | |
255 | o18.Parent = o2 | |
256 | o18.Material = Enum.Material.SmoothPlastic | |
257 | o18.BrickColor = BrickColor.new("Really black") | |
258 | o18.Position = Vector3.new(41.8066406, 41.5910835, 30.070055) | |
259 | o18.Rotation = Vector3.new(-77.6200027, -8.53999996, 145.929993) | |
260 | o18.CanCollide = false | |
261 | o18.Size = Vector3.new(0.475034833, 0.28180027, 0.475034803) | |
262 | o18.CFrame = CFrame.new(41.8066406, 41.5910835, 30.070055, -0.819151461, -0.554027259, -0.148474872, -2.79992837e-05, -0.258817494, 0.96592015, -0.573573947, 0.791238964, 0.211995199) | |
263 | o18.BottomSurface = Enum.SurfaceType.Smooth | |
264 | o18.TopSurface = Enum.SurfaceType.Smooth | |
265 | o18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
266 | o18.Position = Vector3.new(41.8066406, 41.5910835, 30.070055) | |
267 | o18.Orientation = Vector3.new(-75, -35.0099983, -179.990005) | |
268 | o18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
269 | o19.Parent = o18 | |
270 | o19.MeshType = Enum.MeshType.Sphere | |
271 | o20.Name = "LeftLeg" | |
272 | o20.Parent = o1 | |
273 | o20.Material = Enum.Material.SmoothPlastic | |
274 | o20.BrickColor = BrickColor.new("Br. yellowish green") | |
275 | o20.Position = Vector3.new(40.7198524, 40.2564392, 30.8562965) | |
276 | o20.Rotation = Vector3.new(3.66000009, 34.9399986, -92.0999985) | |
277 | o20.CanCollide = false | |
278 | o20.Shape = Enum.PartType.Cylinder | |
279 | o20.Size = Vector3.new(0.886163473, 0.322241277, 0.322241277) | |
280 | o20.CFrame = CFrame.new(40.7198524, 40.2564392, 30.8562965, -0.0299750194, 0.81917119, 0.572765291, -0.99862355, 5.18225133e-05, -0.0523359403, -0.0429017916, -0.573545694, 0.818042159) | |
281 | o20.BottomSurface = Enum.SurfaceType.Smooth | |
282 | o20.TopSurface = Enum.SurfaceType.Smooth | |
283 | o20.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
284 | o20.Position = Vector3.new(40.7198524, 40.2564392, 30.8562965) | |
285 | o20.Orientation = Vector3.new(3, 35, -90) | |
286 | o20.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
287 | o21.Parent = o20 | |
288 | o21.C1 = CFrame.new(-0.46603775, 0.0105266571, 0.0930404663, 0.99862957, -1.04652224e-06, 0.0523359068, 1.14181512e-06, 1, -1.79089352e-06, -0.0523359068, 1.84819726e-06, 0.99862957) | |
289 | o21.Part0 = o20 | |
290 | o21.Part1 = o31 | |
291 | o22.Parent = o20 | |
292 | o22.C1 = CFrame.new(-0.466033936, 0.0105266571, 0.415275574, 0.99862957, -1.04652224e-06, 0.0523359068, 1.14181512e-06, 1, -1.79089352e-06, -0.0523359068, 1.84819726e-06, 0.99862957) | |
293 | o22.Part0 = o20 | |
294 | o22.Part1 = o32 | |
295 | o23.Parent = o20 | |
296 | o23.C1 = CFrame.new(-0.4662323, 0.0106258392, 0.254005432, 0.99862957, -1.04652224e-06, 0.0523359068, 1.14181512e-06, 1, -1.79089352e-06, -0.0523359068, 1.84819726e-06, 0.99862957) | |
297 | o23.Part0 = o20 | |
298 | o23.Part1 = o30 | |
299 | o24.Name = "RightLeg" | |
300 | o24.Parent = o1 | |
301 | o24.Material = Enum.Material.SmoothPlastic | |
302 | o24.BrickColor = BrickColor.new("Br. yellowish green") | |
303 | o24.Position = Vector3.new(41.8304482, 40.2564392, 30.8562965) | |
304 | o24.Rotation = Vector3.new(3.66000009, 34.9399986, -92.0999985) | |
305 | o24.CanCollide = false | |
306 | o24.Shape = Enum.PartType.Cylinder | |
307 | o24.Size = Vector3.new(0.886163473, 0.322241277, 0.322241277) | |
308 | o24.CFrame = CFrame.new(41.8304482, 40.2564392, 30.8562965, -0.0299750194, 0.81917119, 0.572765291, -0.99862355, 5.18225133e-05, -0.0523359403, -0.0429017916, -0.573545694, 0.818042159) | |
309 | o24.BottomSurface = Enum.SurfaceType.Smooth | |
310 | o24.TopSurface = Enum.SurfaceType.Smooth | |
311 | o24.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
312 | o24.Position = Vector3.new(41.8304482, 40.2564392, 30.8562965) | |
313 | o24.Orientation = Vector3.new(3, 35, -90) | |
314 | o24.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
315 | o25.Parent = o24 | |
316 | o25.C1 = CFrame.new(-0.485366821, 0.0691261292, 0.214134216, 0.99467051, -0.00457840692, 0.103003114, -0.0906269997, 0.437566251, 0.894607544, -0.0491665602, -0.899174571, 0.434819311) | |
317 | o25.Part0 = o24 | |
318 | o25.Part1 = o33 | |
319 | o26.Parent = o24 | |
320 | o26.C1 = CFrame.new(-0.485172272, 0.0690345764, 0.0531692505, 0.99467051, -0.00457840692, 0.103003114, -0.0906269997, 0.437566251, 0.894607544, -0.0491665602, -0.899174571, 0.434819311) | |
321 | o26.Part0 = o24 | |
322 | o26.Part1 = o28 | |
323 | o27.Parent = o24 | |
324 | o27.C1 = CFrame.new(-0.485176086, 0.0690345764, 0.375404358, 0.99467051, -0.00457840692, 0.103003114, -0.0906269997, 0.437566251, 0.894607544, -0.0491665602, -0.899174571, 0.434819311) | |
325 | o27.Part0 = o24 | |
326 | o27.Part1 = o29 | |
327 | o28.Name = "RightShoe" | |
328 | o28.Parent = o1 | |
329 | o28.Material = Enum.Material.SmoothPlastic | |
330 | o28.BrickColor = BrickColor.new("Black") | |
331 | o28.Position = Vector3.new(41.8083229, 39.7674866, 30.7978382) | |
332 | o28.Rotation = Vector3.new(-1.72000003, -29.0799999, -88.3300018) | |
333 | o28.CanCollide = false | |
334 | o28.Shape = Enum.PartType.Cylinder | |
335 | o28.Size = Vector3.new(0.161120623, 0.523642004, 0.523642063) | |
336 | o28.CFrame = CFrame.new(41.8083229, 39.7674866, 30.7978382, 0.0254308432, 0.873558402, -0.486054718, -0.998692393, 0.0437048003, 0.0262956135, 0.0442136675, 0.484750509, 0.873527527) | |
337 | o28.BottomSurface = Enum.SurfaceType.Smooth | |
338 | o28.TopSurface = Enum.SurfaceType.Smooth | |
339 | o28.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
340 | o28.Position = Vector3.new(41.8083229, 39.7674866, 30.7978382) | |
341 | o28.Orientation = Vector3.new(-1.50999999, -29.0900002, -87.4899979) | |
342 | o28.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
343 | o29.Name = "RightShoe" | |
344 | o29.Parent = o1 | |
345 | o29.Material = Enum.Material.SmoothPlastic | |
346 | o29.BrickColor = BrickColor.new("Black") | |
347 | o29.Position = Vector3.new(41.9649467, 39.7590103, 30.5163574) | |
348 | o29.Rotation = Vector3.new(-1.72000003, -29.0799999, -88.3300018) | |
349 | o29.CanCollide = false | |
350 | o29.Shape = Enum.PartType.Cylinder | |
351 | o29.Size = Vector3.new(0.161120623, 0.523642004, 0.523642063) | |
352 | o29.CFrame = CFrame.new(41.9649467, 39.7590103, 30.5163574, 0.0254308432, 0.873558402, -0.486054718, -0.998692393, 0.0437048003, 0.0262956135, 0.0442136675, 0.484750509, 0.873527527) | |
353 | o29.BottomSurface = Enum.SurfaceType.Smooth | |
354 | o29.TopSurface = Enum.SurfaceType.Smooth | |
355 | o29.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
356 | o29.Position = Vector3.new(41.9649467, 39.7590103, 30.5163574) | |
357 | o29.Orientation = Vector3.new(-1.50999999, -29.0900002, -87.4899979) | |
358 | o29.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
359 | o30.Name = "LeftShoe" | |
360 | o30.Parent = o1 | |
361 | o30.Material = Enum.Material.SmoothPlastic | |
362 | o30.BrickColor = BrickColor.new("Black") | |
363 | o30.Position = Vector3.new(40.5654831, 39.7902107, 30.6543045) | |
364 | o30.Rotation = Vector3.new(0, 35, -90) | |
365 | o30.CanCollide = false | |
366 | o30.Size = Vector3.new(0.161120623, 0.523642004, 0.362521499) | |
367 | o30.CFrame = CFrame.new(40.5654831, 39.7902107, 30.6543045, 4.13935632e-05, 0.819170117, 0.573550642, -0.999994099, 5.07759978e-05, -3.46451998e-07, -2.94223428e-05, -0.573547244, 0.819165349) | |
368 | o30.BottomSurface = Enum.SurfaceType.Smooth | |
369 | o30.TopSurface = Enum.SurfaceType.Smooth | |
370 | o30.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
371 | o30.Position = Vector3.new(40.5654831, 39.7902107, 30.6543045) | |
372 | o30.Orientation = Vector3.new(0, 35, -90) | |
373 | o30.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
374 | o31.Name = "LeftShoe" | |
375 | o31.Parent = o1 | |
376 | o31.Material = Enum.Material.SmoothPlastic | |
377 | o31.BrickColor = BrickColor.new("Black") | |
378 | o31.Position = Vector3.new(40.6578865, 39.7904053, 30.7861042) | |
379 | o31.Rotation = Vector3.new(0, 35, -90) | |
380 | o31.CanCollide = false | |
381 | o31.Shape = Enum.PartType.Cylinder | |
382 | o31.Size = Vector3.new(0.161120623, 0.523642004, 0.523642063) | |
383 | o31.CFrame = CFrame.new(40.6578865, 39.7904053, 30.7861042, 4.13935632e-05, 0.819170117, 0.573550642, -0.999994099, 5.07759978e-05, -3.46451998e-07, -2.94223428e-05, -0.573547244, 0.819165349) | |
384 | o31.BottomSurface = Enum.SurfaceType.Smooth | |
385 | o31.TopSurface = Enum.SurfaceType.Smooth | |
386 | o31.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
387 | o31.Position = Vector3.new(40.6578865, 39.7904053, 30.7861042) | |
388 | o31.Orientation = Vector3.new(0, 35, -90) | |
389 | o31.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
390 | o32.Name = "LeftShoe" | |
391 | o32.Parent = o1 | |
392 | o32.Material = Enum.Material.SmoothPlastic | |
393 | o32.BrickColor = BrickColor.new("Black") | |
394 | o32.Position = Vector3.new(40.4730682, 39.7904091, 30.5221405) | |
395 | o32.Rotation = Vector3.new(0, 35, -90) | |
396 | o32.CanCollide = false | |
397 | o32.Shape = Enum.PartType.Cylinder | |
398 | o32.Size = Vector3.new(0.161120623, 0.523642004, 0.523642063) | |
399 | o32.CFrame = CFrame.new(40.4730682, 39.7904091, 30.5221405, 4.13935632e-05, 0.819170117, 0.573550642, -0.999994099, 5.07759978e-05, -3.46451998e-07, -2.94223428e-05, -0.573547244, 0.819165349) | |
400 | o32.BottomSurface = Enum.SurfaceType.Smooth | |
401 | o32.TopSurface = Enum.SurfaceType.Smooth | |
402 | o32.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
403 | o32.Position = Vector3.new(40.4730682, 39.7904091, 30.5221405) | |
404 | o32.Orientation = Vector3.new(0, 35, -90) | |
405 | o32.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
406 | o33.Name = "RightShoe" | |
407 | o33.Parent = o1 | |
408 | o33.Material = Enum.Material.SmoothPlastic | |
409 | o33.BrickColor = BrickColor.new("Black") | |
410 | o33.Position = Vector3.new(41.8864861, 39.7630539, 30.657196) | |
411 | o33.Rotation = Vector3.new(-1.72000003, -29.0799999, -88.3300018) | |
412 | o33.CanCollide = false | |
413 | o33.Size = Vector3.new(0.161120623, 0.523642004, 0.362521499) | |
414 | o33.CFrame = CFrame.new(41.8864861, 39.7630539, 30.657196, 0.0254308432, 0.873558402, -0.486054718, -0.998692393, 0.0437048003, 0.0262956135, 0.0442136675, 0.484750509, 0.873527527) | |
415 | o33.BottomSurface = Enum.SurfaceType.Smooth | |
416 | o33.TopSurface = Enum.SurfaceType.Smooth | |
417 | o33.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
418 | o33.Position = Vector3.new(41.8864861, 39.7630539, 30.657196) | |
419 | o33.Orientation = Vector3.new(-1.50999999, -29.0900002, -87.4899979) | |
420 | o33.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
421 | mas.Parent = c | |
422 | mas:MakeJoints() | |
423 | ||
424 | sine = 0 | |
425 | Humanoid.WalkSpeed = 16 anim.Parent = nil | |
426 | ||
427 | local Music = Instance.new("Sound",o9)Music.SoundId = "rbxassetid://382403699" Music.Volume = 0.5 Music.Looped = true Music:Play() | |
428 | ||
429 | local HW = Instance.new("Weld",c.Torso)HW.Part0 = c.Torso HW.Part1 = o9 HW.C0 = CFrame.Angles(0,0,math.rad(-90)) | |
430 | local RW = Instance.new("Weld",c["Right Leg"])RW.Part0 = c["Right Leg"] RW.Part1 = o24 RW.C0 = CFrame.Angles(0,math.rad(65),math.rad(-90)) | |
431 | local LW = Instance.new("Weld",c["Left Leg"])LW.Part0 = c["Left Leg"] LW.Part1 = o20 LW.C0 = CFrame.Angles(0,math.rad(0),math.rad(-90)) | |
432 | ||
433 | local rolling = false | |
434 | local deb = true | |
435 | local ctrl = {f = 0, b = 0, l = 0, r = 0} | |
436 | local lastctrl = {f = 0, b = 0, l = 0, r = 0} | |
437 | local maxspeed = 25 | |
438 | local speed = 0 | |
439 | ||
440 | SonicShoe = false | |
441 | function Sanic() | |
442 | if SonicShoe == false then SonicShoe = true Humanoid.WalkSpeed = 36 | |
443 | Music.SoundId = "rbxassetid://149103854" | |
444 | o30.BrickColor = BrickColor.new("Bright red") | |
445 | o31.BrickColor = BrickColor.new("Bright red") | |
446 | o32.BrickColor = BrickColor.new("Bright red") | |
447 | o33.BrickColor = BrickColor.new("Bright red") | |
448 | o29.BrickColor = BrickColor.new("Bright red") | |
449 | o28.BrickColor = BrickColor.new("Bright red") | |
450 | o24.BrickColor = BrickColor.new("White") | |
451 | o20.BrickColor = BrickColor.new("White") | |
452 | o9.BrickColor = BrickColor.new("Bright blue") | |
453 | elseif SonicShoe == true then SonicShoe = false Humanoid.WalkSpeed = 16 | |
454 | Music.SoundId = "rbxassetid://382403699" | |
455 | o30.BrickColor = BrickColor.new("Black") | |
456 | o31.BrickColor = BrickColor.new("Black") | |
457 | o32.BrickColor = BrickColor.new("Black") | |
458 | o33.BrickColor = BrickColor.new("Black") | |
459 | o29.BrickColor = BrickColor.new("Black") | |
460 | o28.BrickColor = BrickColor.new("Black") | |
461 | o24.BrickColor = BrickColor.new("Br. yellowish green") | |
462 | o20.BrickColor = BrickColor.new("Br. yellowish green") | |
463 | - | o9.BrickColor = BrickColor.new("Pastel violet") |
463 | + | o9.BrickColor = BrickColor.new("Light Blue") |
464 | end | |
465 | end | |
466 | function StartRoll() | |
467 | if rolling == false then | |
468 | rolling = true | |
469 | for i = 1,10 do | |
470 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
471 | lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.5) | |
472 | lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.5) | |
473 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
474 | lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.5) | |
475 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
476 | lerpz(RH, "C0", RHC0 * cf(0, 2.8, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2)*15)), 0.5) | |
477 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
478 | lerpz(LH, "C0", LHC0 * cf(0, 2.8, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2)*15)), 0.5) | |
479 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
480 | swait() | |
481 | end attack = true | |
482 | else | |
483 | rolling = false attack = false | |
484 | end | |
485 | end | |
486 | ||
487 | mousedown = false | |
488 | mouse.Button1Down:connect(function() | |
489 | if rolling == true then | |
490 | local BP = Instance.new("BodyPosition",o9)BP.Position = mouse.hit.p BP.P = 2500 BP.maxForce = Vector3.new(math.huge,0,math.huge) | |
491 | BP.Name = "RollPos" mousedown = true | |
492 | while mousedown == true do | |
493 | Humanoid.PlatformStand = true | |
494 | BP.Position = mouse.hit.p | |
495 | swait() | |
496 | end | |
497 | BP:remove() | |
498 | end | |
499 | end) | |
500 | ||
501 | mouse.Button1Up:connect(function() | |
502 | mousedown = false | |
503 | end) | |
504 | ||
505 | StuckToHead = false | |
506 | function HeadStick() | |
507 | if StuckToHead == false then StuckToHead = true | |
508 | local We | |
509 | for i,v in pairs(game.Workspace:children()) do | |
510 | if v:findFirstChild("Head")~= nil and v ~= c then | |
511 | if (v.Head.Position-o9.Position).magnitude <= 5 then | |
512 | We = Instance.new("Weld",v.Head)We.Part0 = v.Head We.Part1 = o9 We.C0 = CFrame.Angles(0,0,math.rad(-90)) | |
513 | end | |
514 | end | |
515 | end | |
516 | while StuckToHead == true do | |
517 | Humanoid.PlatformStand = true | |
518 | swait() | |
519 | end | |
520 | We:remove() | |
521 | else StuckToHead = false | |
522 | end | |
523 | end | |
524 | function BEES() | |
525 | attack = true | |
526 | local S = Instance.new("Sound",o9)S.SoundId = "rbxassetid://502284205" S.Volume = 1 S:Play() | |
527 | for i = 1,25 do | |
528 | lerpz(RJ, "C0", RJC0 * cf(math.random(-5,5)/10, math.random(-5,5)/10, math.random(-5,5)/10) * ang(rd(0), rd(0), rd(0)), 1) | |
529 | swait() | |
530 | end | |
531 | attack = false | |
532 | end | |
533 | ||
534 | function Radio() | |
535 | if c:findFirstChild("Radio")== nil then | |
536 | local Rad = Instance.new("Part",c)Rad.Name = "Radio" Rad.Size = Vector3.new(0.2,0.2,0.2) Rad.CanCollide = false | |
537 | local RadM = Instance.new("SpecialMesh",Rad)RadM.MeshId = "rbxassetid://151760030" RadM.TextureId = "rbxassetid://151760072" | |
538 | local RW = Instance.new("Weld",c.HumanoidRootPart)RW.Part0 = c.HumanoidRootPart RW.Part1 = Rad RW.C0 = CFrame.new(0,1.5,0) | |
539 | local S = Instance.new("Sound",Rad)S.SoundId = "rbxassetid://1608398085" S.Volume = 7 S:Play() Music.Volume = 0 | |
540 | else | |
541 | c.Radio:remove() Music.Volume = 0.5 | |
542 | end | |
543 | end | |
544 | ||
545 | function Microphone() | |
546 | if c:findFirstChild("Microphone")== nil then | |
547 | local Rad = Instance.new("Part",c)Rad.Name = "Microphone" Rad.Size = Vector3.new(0.2,0.2,0.2) Rad.CanCollide = false | |
548 | local RadM = Instance.new("SpecialMesh",Rad)RadM.MeshId = "rbxassetid://151760030" RadM.TextureId = "rbxassetid://151760072" | |
549 | local RW = Instance.new("Weld",c.HumanoidRootPart)RW.Part0 = c.HumanoidRootPart RW.Part1 = Rad RW.C0 = CFrame.new(0,1.5,0) | |
550 | local S = Instance.new("Sound",Rad)S.SoundId = "rbxassetid://1608398085" S.Volume = 7 S:Play() Music.Volume = 0 | |
551 | else | |
552 | c.Radio:remove() Music.Volume = 0.5 | |
553 | end | |
554 | end | |
555 | ||
556 | mouse.KeyDown:connect(function(key) | |
557 | if Humanoid.Health <= 0 then return end | |
558 | if key == "q" then | |
559 | StartRoll() | |
560 | end | |
561 | if key == "v" then | |
562 | Radio() | |
563 | end | |
564 | if key == "x" then | |
565 | HeadStick() | |
566 | end | |
567 | if key == "b" then | |
568 | Microphone() | |
569 | end | |
570 | if key == "c" then | |
571 | Sanic() | |
572 | end | |
573 | if attack == true then return end | |
574 | if key == "z" then | |
575 | BEES() | |
576 | end | |
577 | end) | |
578 | ||
579 | function onKeyPress(inputObject, gameProcessedEvent) | |
580 | if isTyping == true then return end | |
581 | if inputObject.KeyCode == Enum.KeyCode.W then ctrl.f = 1 end | |
582 | if inputObject.KeyCode == Enum.KeyCode.S then ctrl.b = -1 end | |
583 | if inputObject.KeyCode == Enum.KeyCode.A then ctrl.l = -1 end | |
584 | if inputObject.KeyCode == Enum.KeyCode.D then ctrl.r = 1 end | |
585 | end | |
586 | game:GetService("UserInputService").InputBegan:connect(onKeyPress) | |
587 | ||
588 | function onKeyLift(inputObject, gameProcessedEvent) | |
589 | if isTyping == true then return end | |
590 | if inputObject.KeyCode == Enum.KeyCode.W then ctrl.f = 0 end | |
591 | if inputObject.KeyCode == Enum.KeyCode.S then ctrl.b = 0 end | |
592 | if inputObject.KeyCode == Enum.KeyCode.A then ctrl.l = 0 end | |
593 | if inputObject.KeyCode == Enum.KeyCode.D then ctrl.r = 0 end | |
594 | end | |
595 | ||
596 | game:GetService("RunService").RenderStepped:connect(function() | |
597 | Humanoid.MaxHealth = Humanoid.MaxHealth*2 | |
598 | Humanoid.Health = Humanoid.MaxHealth*2 | |
599 | --game.Workspace.CurrentCamera.FieldOfView = (math.cos(sine/50)*15) | |
600 | if attack == false then | |
601 | for i,v in pairs (c:children()) do | |
602 | if v.ClassName == "Accessory" then | |
603 | for i,v2 in pairs (v:children()) do | |
604 | if v2.ClassName == "Part" then | |
605 | v2.Anchored = false | |
606 | end | |
607 | end | |
608 | end | |
609 | end | |
610 | for i,v in pairs (c:children()) do | |
611 | if v.ClassName == "Part" then | |
612 | v.Anchored = false | |
613 | end | |
614 | end | |
615 | ||
616 | if (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 4 then | |
617 | sine = sine + 1 Humanoid.HipHeight = -1.75 | |
618 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.1-(math.cos(sine/10)*0.1)) * ang(rd(0), rd(0), rd(0)), 0.5) | |
619 | lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.5) | |
620 | lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.5) | |
621 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
622 | lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.5) | |
623 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
624 | lerpz(RH, "C0", RHC0 * cf(0, 1.35+(math.cos(sine/10)*0.1), 0) * ang(rd(0), rd(0), rd(math.cos(sine/2)*15)), 0.5) | |
625 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
626 | lerpz(LH, "C0", LHC0 * cf(0, 1.35+(math.cos(sine/10)*0.1), 0) * ang(rd(0), rd(0), rd(math.cos(sine/2)*15)), 0.5) | |
627 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
628 | else Humanoid.HipHeight = -1.75 sine = sine + 1 | |
629 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.1-(math.cos(sine/10)*0.1)) * ang(rd(0), rd(0), rd(0)), 0.2) | |
630 | lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.2) | |
631 | lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.2) | |
632 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
633 | lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.2) | |
634 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
635 | lerpz(RH, "C0", RHC0 * cf(0, 1.35+(math.cos(sine/10)*0.1), 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
636 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
637 | lerpz(LH, "C0", LHC0 * cf(0, 1.35+(math.cos(sine/10)*0.1), 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
638 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
639 | end | |
640 | end | |
641 | end) |