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