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