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