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