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