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