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