SHOW:
|
|
- or go back to the newest paste.
1 | -- I try to make things looks better, edited by Imkrillinit | |
2 | -- Dark Caped Beast | |
3 | ||
4 | CV="Magenta" | |
5 | p = game.Players.LocalPlayer | |
6 | char = p.Character | |
7 | local txt = Instance.new("BillboardGui", char) | |
8 | txt.Adornee = char .Head | |
9 | txt.Name = "_status" | |
10 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
11 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
12 | local text = Instance.new("TextLabel", txt) | |
13 | text.Size = UDim2.new(10, 0, 7, 0) | |
14 | text.FontSize = "Size24" | |
15 | text.TextScaled = true | |
16 | text.TextTransparency = 0 | |
17 | text.BackgroundTransparency = 1 | |
18 | text.TextTransparency = 0 | |
19 | text.TextStrokeTransparency = 0 | |
20 | text.Font = "Bodoni" | |
21 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
22 | ||
23 | v=Instance.new("Part") | |
24 | v.Name = "ColorBrick" | |
25 | v.Parent=p.Character | |
26 | v.FormFactor="Symmetric" | |
27 | v.Anchored=true | |
28 | v.CanCollide=false | |
29 | v.BottomSurface="Smooth" | |
30 | v.TopSurface="Smooth" | |
31 | v.Size=Vector3.new(10,5,3) | |
32 | v.Transparency=1 | |
33 | v.CFrame=char.Torso.CFrame | |
34 | v.BrickColor=BrickColor.new(CV) | |
35 | v.Transparency=1 | |
36 | text.TextColor3 = Color3.new(170,0,170) | |
37 | v.Shape="Block" | |
38 | - | text.Text = "☠Dark Saitama ☠" |
38 | + | text.Text = "Barney The Dinosaur" |
39 | ||
40 | ||
41 | ||
42 | print("serious punch is T") | |
43 | print("Consecutive dark punches is B") | |
44 | print("jump is m") | |
45 | print("k is a left punch") | |
46 | print("h is a right punch") | |
47 | print("j is teleport") | |
48 | print("music keys are, g y r q") | |
49 | print("F is to stop all the music") | |
50 | print("serious mode is x, press z to turn it off") | |
51 | p = game.Players.LocalPlayer | |
52 | char = p.Character | |
53 | des = false | |
54 | fling = true | |
55 | dot = false | |
56 | falling = false | |
57 | jump = true | |
58 | multipunch = true | |
59 | tp = true | |
60 | shoot = true | |
61 | jump2 = true | |
62 | punch3 = true | |
63 | punch2 = true | |
64 | hum = char.Humanoid | |
65 | punch = true | |
66 | neckp = char.Torso.Neck.C0 | |
67 | neck = char.Torso.Neck | |
68 | des = false | |
69 | root = char.HumanoidRootPart | |
70 | torso = char.Torso | |
71 | larm = char["Left Arm"] | |
72 | rarm = char["Right Arm"] | |
73 | lleg = char["Left Leg"] | |
74 | rleg = char["Right Leg"] | |
75 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown") | |
76 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown") | |
77 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown") | |
78 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown") | |
79 | shirt = Instance.new("Shirt", char) | |
80 | shirt.Name = "Shirt" | |
81 | pants = Instance.new("Pants", char) | |
82 | pants.Name = "Pants" | |
83 | char.Shirt:Remove() | |
84 | - | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=331184781" |
84 | + | |
85 | - | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=171669633" |
85 | + | |
86 | - | char.Head.face.Texture = "rbxassetid://340355951" |
86 | + | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=11178352" |
87 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1073361980" | |
88 | char.Head.face.Texture = "rbxassetid://507103094" | |
89 | char.Head.Transparency = 1 | |
90 | local ChatService = game:GetService("Chat") | |
91 | local player = game.Players.LocalPlayer | |
92 | lig = Instance.new("PointLight",player.Character.Torso) | |
93 | lig.Color = Color3.new(0,0,0) | |
94 | lig.Brightness = 10 | |
95 | m = player:GetMouse() | |
96 | bb = Instance.new("BillboardGui",player.Character.Head) | |
97 | bb.Enabled = true | |
98 | function newRay(start,face,range,wat) | |
99 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
100 | hit,pos = workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
101 | return rey,hit,pos | |
102 | end | |
103 | aa1 = {} | |
104 | torso = game.Players.LocalPlayer.Character.Torso | |
105 | ||
106 | local WorldUp = Vector3.new(0,1,0) | |
107 | function look2(Vec1,Vec2) | |
108 | local Orig = Vec1 | |
109 | Vec1 = Vec1+Vector3.new(0,1,0) | |
110 | Vec2 = Vec2+Vector3.new(0,1,0) | |
111 | local Forward = (Vec2-Vec1).unit | |
112 | local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit | |
113 | local Right = Up:Cross(Forward).unit | |
114 | Forward = -Forward | |
115 | Right = -Right | |
116 | return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z) | |
117 | end | |
118 | ||
119 | function look(CFr,Vec2) | |
120 | local A = Vector3.new(0,0,0) | |
121 | local B = CFr:inverse()*Vec2 | |
122 | local CF = look2(A,Vector3.new(A.X,B.Y,B.Z)) | |
123 | if B.Z > 0 then | |
124 | CF = CFr*(CF*CFrame.Angles(0,0,math.pi)) | |
125 | elseif B.Z == 0 then | |
126 | if B.Y > 0 then | |
127 | CF = CFr*CFrame.Angles(math.pi/2,0,0) | |
128 | elseif B.Y < 0 then | |
129 | CF = CFr*CFrame.Angles(-math.pi/2,0,0) | |
130 | else | |
131 | CF = CFr | |
132 | end | |
133 | end | |
134 | local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components() | |
135 | local Up = Vector3.new(X,Y,Z) | |
136 | local Forward = (Vec2-CFr.p).unit | |
137 | local Right = Up:Cross(Forward) | |
138 | Forward = -Forward | |
139 | Right = -Right | |
140 | return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z) | |
141 | end | |
142 | ||
143 | function simulate(j,d,m,r,t) | |
144 | local joint = j | |
145 | for i,v in ipairs(t) do | |
146 | if v[1]:FindFirstChild("Weld") then | |
147 | local stiff = m.CFrame.lookVector*0.03 | |
148 | if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end | |
149 | local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit | |
150 | local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude | |
151 | local pos = joint.p+(dir*(d*0.5)) | |
152 | --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end | |
153 | local inv = v[1].Weld.Part0.CFrame | |
154 | local rel1 = inv:inverse()*pos | |
155 | local rel2 = inv:inverse()*(pos-(dir*dis)) | |
156 | local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z) | |
157 | v[1].Weld.C0 = cf | |
158 | v[2] = inv*cf | |
159 | --v[1].CFrame = cf | |
160 | end | |
161 | end | |
162 | end | |
163 | ------------------------------------------------ | |
164 | function lerpz(joint, prop, cfrmz, alp) | |
165 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
166 | end | |
167 | ------------------------------------------------ | |
168 | function sqe() | |
169 | local effspwn = Instance.new("Part") | |
170 | local model = Instance.new("Model") | |
171 | game.Debris:AddItem(model, 5) | |
172 | model.Name = "smasheffects" | |
173 | model.Parent = workspace | |
174 | effspwn.Name = "spwnr" | |
175 | effspwn.Size = Vector3.new(1, 1, 1) | |
176 | effspwn.Anchored = true | |
177 | effspwn.CanCollide = false | |
178 | effspwn.Transparency = 1 | |
179 | effspwn.CFrame = (larm.CFrame + Vector3.new(math.random(-5,5),-0.45,math.random(-5,5))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(0)),math.random(0,math.rad(0)),math.random(0,math.rad(0))) | |
180 | effspwn.Parent = model | |
181 | ||
182 | - | shok.BrickColor = BrickColor.new("Really black") |
182 | + | |
183 | local shok = Instance.new("Part") | |
184 | shok.Name = "whoosh" | |
185 | shok.BrickColor = BrickColor.new("Magenta") | |
186 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
187 | shok.Size = Vector3.new(1, 1, 1) | |
188 | shok.Anchored = true | |
189 | shok.Material = "Neon" | |
190 | shok.Transparency = 0.1 | |
191 | shok.CanCollide = false | |
192 | shok.Parent = model | |
193 | game.Debris:AddItem(shok, 6) | |
194 | local mesh = Instance.new("SpecialMesh") | |
195 | mesh.MeshType = "FileMesh" | |
196 | mesh.MeshId = "rbxassetid://437347603" | |
197 | mesh.Scale = Vector3.new(0.08, 0.08, 0.2) | |
198 | mesh.Parent = shok | |
199 | for e = 1, 6 do | |
200 | wait() | |
201 | mesh.Scale = mesh.Scale + Vector3.new(0.02, 0.03, 0.1) | |
202 | shok.Transparency = shok.Transparency + 0.1 | |
203 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
204 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-29)) | |
205 | hito(shok, 8, 9999, 3) | |
206 | end | |
207 | for e = 1, 6 do | |
208 | wait() | |
209 | mesh.Scale = mesh.Scale + Vector3.new(0.02, 0.03, 0.1) | |
210 | shok.Transparency = shok.Transparency + 0.09 | |
211 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -2), 0.4) | |
212 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)) | |
213 | hito(shok, 8, 9999, 3) | |
214 | end | |
215 | end)) | |
216 | end | |
217 | ------------------------------------------------------------------------- | |
218 | function hito(partoz, magn, dmg, debtim) | |
219 | for _, guy in pairs(workspace:GetChildren()) do | |
220 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= char and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then | |
221 | do | |
222 | local humz = guy:FindFirstChild("Humanoid") | |
223 | local hed = guy:FindFirstChild("Head") | |
224 | humz:TakeDamage(math.huge) | |
225 | local db = Instance.new("StringValue") | |
226 | db.Name = "alabo" | |
227 | db.Parent = hed | |
228 | delay(debtim, function() | |
229 | db:Destroy() | |
230 | end) | |
231 | end | |
232 | end | |
233 | end | |
234 | end | |
235 | - | local Colors = {"Really black", "Really black"} |
235 | + | |
236 | GroundWave1 = function() | |
237 | local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + torso.CFrame.lookVector * 0.8 | |
238 | local Colors = {"Magenta", "Magenta"} | |
239 | local wave = Instance.new("Part", char) | |
240 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
241 | wave.Anchored = true | |
242 | wave.Name = "Wave" | |
243 | wave.CanCollide = false | |
244 | wave.Locked = true | |
245 | wave.Size = Vector3.new(0.2, 0.2, 0.2) | |
246 | wave.TopSurface = "Smooth" | |
247 | wave.BottomSurface = "Smooth" | |
248 | wave.Transparency = 0.35 | |
249 | wave.CFrame = HandCF | |
250 | wm = Instance.new("SpecialMesh",wave) | |
251 | wm.MeshId = "rbxassetid://3270017" | |
252 | coroutine.wrap(function() | |
253 | for i = 1, 30, 1 do | |
254 | wm.Scale = Vector3.new(6 + i*2, 2 + i*2, 2+ i*2) | |
255 | wave.Size = wm.Scale | |
256 | wave.CFrame = HandCF | |
257 | wave.Transparency = i/30 | |
258 | wait() | |
259 | end | |
260 | wait() | |
261 | wave:Destroy() | |
262 | end)() | |
263 | end | |
264 | ---------------------------------------------------------------------------- | |
265 | --Serious mode aura. | |
266 | ||
267 | InForm = false | |
268 | local mouse = player:GetMouse() | |
269 | local Player = game.Players.LocalPlayer | |
270 | local Char = Player.Character | |
271 | local Torso = Char.Torso | |
272 | ||
273 | function Serious() | |
274 | for X = 1, 1 do wait() | |
275 | local Effect = Instance.new("Part") | |
276 | Effect.Name = "Effect" | |
277 | Effect.Parent = Torso | |
278 | Effect.CFrame = Torso.CFrame | |
279 | Effect.BrickColor = BrickColor.new("White") | |
280 | Effect.Shape = "Ball" | |
281 | Effect.Size = Vector3.new(1, 1, 1) | |
282 | Effect.Anchored = true | |
283 | Effect.Material = "Neon" | |
284 | Effect.CanCollide = false | |
285 | for loop = 1, 25 do wait() | |
286 | Effect.CFrame = Torso.CFrame | |
287 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
288 | Effect.Transparency = Effect.Transparency + 0.04 | |
289 | end | |
290 | end | |
291 | ||
292 | repeat | |
293 | Torso:FindFirstChild("Effect"):Remove() | |
294 | until Torso:FindFirstChild("Effect") == nil | |
295 | ||
296 | ||
297 | local Color1 = Color3.new(255, 0, 0) | |
298 | local Color2 = Color3.new(255, 0, 0) | |
299 | - | Aura.Texture = "rbxassetid://660852712" |
299 | + | |
300 | local Aura = Instance.new('ParticleEmitter') | |
301 | Aura.Name = "Aura" | |
302 | Aura.Texture = "rbxassetid://158824296" | |
303 | - | Aura.Color = ColorSequence.new(Color1, Color2) |
303 | + | |
304 | Aura.LightEmission = 1 | |
305 | Aura.Transparency = NumberSequence.new(0.8) | |
306 | Aura.Size = NumberSequence.new(3.5) | |
307 | Aura.LockedToPart = false | |
308 | Aura.Lifetime = NumberRange.new(0.3) | |
309 | Aura.Rate = 100 | |
310 | Aura.Speed = NumberRange.new(8) | |
311 | Aura.EmissionDirection = "Top" | |
312 | ||
313 | InForm = true | |
314 | end | |
315 | ||
316 | ||
317 | function Base() | |
318 | InForm = false | |
319 | local Effect = Instance.new("Part") | |
320 | Effect.Name = "Effect" | |
321 | Effect.Parent = Torso | |
322 | Effect.CFrame = Torso.CFrame | |
323 | Effect.BrickColor = BrickColor.new("White") | |
324 | Effect.Shape = "Ball" | |
325 | Effect.Size = Vector3.new(8, 8, 8) | |
326 | Effect.Anchored = true | |
327 | Effect.Material = "Neon" | |
328 | Effect.CanCollide = false | |
329 | for loop = 1, 25 do wait() | |
330 | Effect.CFrame = Torso.CFrame | |
331 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
332 | Effect.Transparency = Effect.Transparency + 0.04 | |
333 | end | |
334 | repeat | |
335 | Torso:FindFirstChild("Effect"):Remove() | |
336 | until Torso:FindFirstChild("Effect") == nil | |
337 | ||
338 | for i, v in pairs(Torso:GetChildren()) do | |
339 | if v:IsA('ParticleEmitter') then | |
340 | v:Remove() | |
341 | end | |
342 | end | |
343 | end | |
344 | mouse.KeyUp:connect(function(key) | |
345 | if key == "x" and InForm == false then | |
346 | Serious() | |
347 | end | |
348 | end) | |
349 | mouse.KeyUp:connect(function(key) | |
350 | if key == "z" and InForm == true then | |
351 | Base() | |
352 | end | |
353 | end) | |
354 | ------------------------------------------------------------------------------- | |
355 | for i = 1,8 do | |
356 | local p = Instance.new("Part",char) | |
357 | p.Anchored = false | |
358 | p.BrickColor = BrickColor.new("Really black") | |
359 | p.CanCollide = false | |
360 | p.FormFactor="Custom" | |
361 | p.Material = "Neon" | |
362 | p.TopSurface = "SmoothNoOutlines" | |
363 | p.BottomSurface = "SmoothNoOutlines" | |
364 | p.RightSurface = "SmoothNoOutlines" | |
365 | p.LeftSurface = "SmoothNoOutlines" | |
366 | p.FrontSurface = "SmoothNoOutlines" | |
367 | p.BackSurface = "SmoothNoOutlines" | |
368 | ||
369 | p.Size = Vector3.new(2,.2,0.2) | |
370 | p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them | |
371 | mesh = Instance.new("BlockMesh",p) | |
372 | mesh.Scale = Vector3.new(1,1,4) | |
373 | local w = Instance.new("Motor6D",p) | |
374 | w.Part0 = aa1[i-1] and aa1[i-1][1] or torso | |
375 | w.Part1 = p | |
376 | w.Name = "Weld" | |
377 | --table.insert(aa1,p) | |
378 | aa1[i] = {p,p.CFrame} | |
379 | ||
380 | end | |
381 | game:service"RunService".Stepped:connect(function() | |
382 | simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1) | |
383 | - | soka.SoundId = "http://www.roblox.com/asset/?id = 447199232" |
383 | + | |
384 | - | soka.Volume = 3 |
384 | + | |
385 | soka.SoundId = "http://www.roblox.com/asset/?id = 1085142980" | |
386 | soka.Volume = 50 | |
387 | boom = Instance.new("Sound",char) | |
388 | boom.SoundId = "http://www.roblox.com/asset/?id = 447041606" | |
389 | boom.Volume = 3 | |
390 | boom2 = Instance.new("Sound",char) | |
391 | boom2.SoundId = "http://www.roblox.com/asset/?id = 449025737" | |
392 | boom2.Volume = 3 | |
393 | boom3 = Instance.new("Sound",char) | |
394 | boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019" | |
395 | boom3.Volume = 3 | |
396 | woosh = Instance.new("Sound",char) | |
397 | woosh.Volume = 5 | |
398 | woosh.SoundId = "http://www.roblox.com/asset/?id = 210946558" | |
399 | tps = Instance.new("Sound",char) | |
400 | tps.SoundId = "http://www.roblox.com/asset/?id = 449860746" | |
401 | tps.Volume = 1 | |
402 | asd = Instance.new("Sound",char) | |
403 | asd.SoundId = "http://www.roblox.com/asset/?id = 447310433" | |
404 | asd.Volume =1 | |
405 | asd1 = Instance.new("Sound",char) | |
406 | asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695" | |
407 | - | asd2.SoundId = "http://www.roblox.com/asset/?id = 386713054" |
407 | + | |
408 | asd2 = Instance.new("Sound",char) | |
409 | asd2.SoundId = "http://www.roblox.com/asset/?id = 145570864" | |
410 | asd2.Looped = true | |
411 | asd2.Volume = 5 | |
412 | asd3 = Instance.new("Sound",char) | |
413 | asd3.SoundId = "http://www.roblox.com/asset/?id = 378387996" | |
414 | asd3.Volume = 5 | |
415 | asd3.Looped = true | |
416 | asd4 = Instance.new("Sound",char) | |
417 | asd4.SoundId = "http://www.roblox.com/asset/?id = 413040330" | |
418 | asd4.Volume = 5 | |
419 | asd4.Looped = true | |
420 | asd5 = Instance.new("Sound",char) | |
421 | asd5.SoundId = "http://www.roblox.com/asset/?id = 362252261" | |
422 | asd5.Looped = true | |
423 | asd6 = Instance.new("Sound",char) | |
424 | asd6.SoundId = "http://www.roblox.com/asset/?id = 401258325" | |
425 | asd6.Looped = true | |
426 | function play(play) | |
427 | asd:Play() | |
428 | wait(0.05) | |
429 | --asd1:Play() | |
430 | end | |
431 | ------------------------- | |
432 | function stream(origin,dir,length,size) | |
433 | local parts = {} | |
434 | for i = 1,length do | |
435 | local p = Instance.new("Part",char) | |
436 | p.Anchored = true | |
437 | p.Transparency = 0.5 | |
438 | p.TopSurface = 0 | |
439 | p.BottomSurface = 0 | |
440 | - | p.BrickColor = BrickColor.new("Really black") |
440 | + | |
441 | p.Material = "Neon" | |
442 | p.BrickColor = BrickColor.new("Magenta") | |
443 | p.Size = Vector3.new(50,50,50) -- for now | |
444 | p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi) | |
445 | parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)} | |
446 | game:GetService("Debris"):AddItem(p,3) | |
447 | end | |
448 | spawn(function() | |
449 | while parts do | |
450 | for i,v in pairs(parts) do | |
451 | if v[1].Parent == char then | |
452 | v[1].CFrame = v[1].CFrame*v[2] | |
453 | else | |
454 | parts = nil | |
455 | break | |
456 | end | |
457 | end | |
458 | wait(0.02) | |
459 | end | |
460 | end) | |
461 | end | |
462 | m.KeyDown:connect(function(k) | |
463 | if k == "g" then | |
464 | asd2:Play() | |
465 | ||
466 | ||
467 | end | |
468 | end) | |
469 | ||
470 | m.KeyDown:connect(function(k) | |
471 | if k == "r" then | |
472 | ||
473 | asd4:Play() | |
474 | end | |
475 | end) | |
476 | m.KeyDown:connect(function(k) | |
477 | if k == "q" then | |
478 | ||
479 | asd3:Play() | |
480 | end | |
481 | end) | |
482 | mouse = p:GetMouse() | |
483 | m.KeyDown:connect(function(k) | |
484 | if k:byte() == 48 then | |
485 | ||
486 | hum.WalkSpeed = 200 | |
487 | GroundWave1() | |
488 | boom:Play() | |
489 | end | |
490 | end) | |
491 | m.KeyDown:connect(function(k) | |
492 | if k:byte() == 50 then | |
493 | ||
494 | soka:Play() | |
495 | end | |
496 | end) | |
497 | m.KeyDown:connect(function(k) | |
498 | - | char.Head.face.Texture = "rbxassetid://444037452" |
498 | + | |
499 | ||
500 | char.Head.face.Texture = "rbxassetid://507103094" | |
501 | end | |
502 | end) | |
503 | m.KeyDown:connect(function(k) | |
504 | - | char.Head.face.Texture = "rbxassetid://340355951" |
504 | + | |
505 | ||
506 | char.Head.face.Texture = "rbxassetid://507103094" | |
507 | end | |
508 | end) | |
509 | m.KeyUp:connect(function(k) | |
510 | if k:byte() == 48 then | |
511 | ||
512 | hum.WalkSpeed = 16 | |
513 | end | |
514 | end) | |
515 | p.Chatted:connect(function(m) | |
516 | if m == "Ok." then | |
517 | soka:Play() | |
518 | end | |
519 | end) | |
520 | m.KeyDown:connect(function(key) | |
521 | if key == "j" then | |
522 | if tp == true then | |
523 | tp = false | |
524 | tps:Play() | |
525 | char.Head.face.Parent = game.Lighting | |
526 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0.7 | |
527 | end | |
528 | ||
529 | end | |
530 | wait(0.2) | |
531 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0 | |
532 | end | |
533 | ||
534 | end | |
535 | char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0) | |
536 | char.HumanoidRootPart.Transparency = 1 | |
537 | game.Lighting.face.Parent = char.Head | |
538 | wait(0.1) | |
539 | ||
540 | tp = true | |
541 | ||
542 | ||
543 | end | |
544 | end | |
545 | end) | |
546 | ||
547 | ||
548 | m.KeyDown:connect(function(key) | |
549 | if key == "t" then | |
550 | if punch2 == true then | |
551 | punch2 = false | |
552 | punch = false | |
553 | ||
554 | local ChatService = game:GetService("Chat") | |
555 | ||
556 | neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0) | |
557 | ChatService:Chat(char.Head, "...") | |
558 | wait(0.5) | |
559 | local ChatService = game:GetService("Chat") | |
560 | ||
561 | ||
562 | ChatService:Chat(char.Head ,"Dark...") | |
563 | wait(0.5) | |
564 | local ChatService = game:GetService("Chat") | |
565 | ||
566 | ||
567 | ChatService:Chat(char.Head, "PUNCH!") | |
568 | neck.C0 = neckp | |
569 | wait(0.3) | |
570 | org = char.Torso["Left Shoulder"].C0 | |
571 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
572 | wait() | |
573 | killbrick2 = Instance.new("Part",char) | |
574 | killbrick2.Size = Vector3.new(80,80,9000) | |
575 | killbrick2.Transparency = 1 | |
576 | ||
577 | killbrick2.CanCollide = true | |
578 | wait(0.1) | |
579 | killbrick2.CanCollide = false | |
580 | ||
581 | killbrick2.Anchored = true | |
582 | ||
583 | killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-1005) | |
584 | ||
585 | killbrick2.Touched:connect(function(h) | |
586 | local x = h.Parent:FindFirstChild("Humanoid")-- lol | |
587 | if x then | |
588 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
589 | safe = true | |
590 | else safe = false | |
591 | end | |
592 | if x then | |
593 | if safe == false then | |
594 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 900 | |
595 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
596 | boom:Play() | |
597 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
598 | ||
599 | ||
600 | wait() | |
601 | x.Parent:BreakJoints() | |
602 | wait() | |
603 | safe = true | |
604 | end | |
605 | end | |
606 | end | |
607 | end) | |
608 | ||
609 | ||
610 | ||
611 | ||
612 | ||
613 | ||
614 | ||
615 | ||
616 | - | rng.BrickColor = BrickColor.new("Really black") |
616 | + | |
617 | rng.Anchored = true | |
618 | rng.BrickColor = BrickColor.new("Magenta") | |
619 | rng.CanCollide = false | |
620 | rng.FormFactor = 3 | |
621 | rng.Name = "Ring" | |
622 | rng.Size = Vector3.new(3, 3, 3) | |
623 | rng.Transparency = 0.8 | |
624 | rng.TopSurface = 0 | |
625 | rng.BottomSurface = 0 | |
626 | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
627 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
628 | local rngm = Instance.new("SpecialMesh", rng) | |
629 | rngm.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
630 | rngm.Scale = Vector3.new(3, 3, 3) | |
631 | ||
632 | - | rng1.BrickColor = BrickColor.new("Really black") |
632 | + | |
633 | rng1.Anchored = true | |
634 | rng1.BrickColor = BrickColor.new("Magenta") | |
635 | rng1.CanCollide = false | |
636 | rng1.FormFactor = 3 | |
637 | rng1.Name = "Ring" | |
638 | rng1.Size = Vector3.new(3, 3, 3) | |
639 | rng1.Transparency = 0.8 | |
640 | rng1.TopSurface = 0 | |
641 | rng1.BottomSurface = 0 | |
642 | rng1.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
643 | rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
644 | local rngm1 = Instance.new("SpecialMesh", rng1) | |
645 | rngm1.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
646 | rngm1.Scale = Vector3.new(3, 3, 3) | |
647 | ||
648 | local p = (torso.CFrame*CFrame.new(-20,0,3)) | |
649 | stream(p.p,((p*Vector3.new(-0.7,0,1))-p.p).unit,90,5) | |
650 | local p = (torso.CFrame*CFrame.new(20,0,3)) | |
651 | stream(p.p,((p*Vector3.new(0.7,0,1))-p.p).unit,90,5) | |
652 | ||
653 | - | rng2.BrickColor = BrickColor.new("Really black") |
653 | + | |
654 | rng2.Anchored = true | |
655 | rng2.BrickColor = BrickColor.new("Magenta") | |
656 | rng2.CanCollide = false | |
657 | rng2.FormFactor = 3 | |
658 | rng2.Name = "Ring" | |
659 | rng2.Size = Vector3.new(3, 3, 3) | |
660 | rng2.Transparency = 0.8 | |
661 | rng2.TopSurface = 0 | |
662 | rng2.BottomSurface = 0 | |
663 | rng2.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
664 | rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
665 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
666 | rngm2.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
667 | rngm2.Scale = Vector3.new(3, 3, 3) | |
668 | wait(0.1) | |
669 | ||
670 | boom3:Play() | |
671 | coroutine.wrap(function() | |
672 | for i = 1, 35, 0.5 do | |
673 | ||
674 | ||
675 | ||
676 | ||
677 | ||
678 | rngm.Scale = Vector3.new(50 + i*2, 50 + i*2, 50+ i*2) | |
679 | rngm1.Scale = Vector3.new(50 + i*2, 50 + i*2, 50+ i*2) | |
680 | rngm2.Scale = Vector3.new(50 + i*2, 50 + i*2, 50+ i*2) | |
681 | rng.Transparency = i/35 | |
682 | rng1.Transparency = i/35 | |
683 | rng2.Transparency = i/35 | |
684 | wait() | |
685 | end | |
686 | wait() | |
687 | rng:Destroy() | |
688 | rng1:Destroy() | |
689 | rng2:Destroy() | |
690 | killbrick2:Remove() | |
691 | wait(0.1) | |
692 | char.Torso["Left Shoulder"].C0 = org | |
693 | wait(0.3) | |
694 | punch2 = true | |
695 | punch = true | |
696 | wait() | |
697 | ||
698 | ||
699 | end)() | |
700 | ||
701 | ||
702 | ||
703 | end | |
704 | ||
705 | ||
706 | wait(.1) | |
707 | ||
708 | ||
709 | end | |
710 | end) | |
711 | ||
712 | ||
713 | ||
714 | ||
715 | ||
716 | m.KeyDown:connect(function(key) | |
717 | if key == "k" then | |
718 | if punch == true then | |
719 | punch = false | |
720 | org = char.Torso["Left Shoulder"].C0 | |
721 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
722 | killbrick = Instance.new("Part",char) | |
723 | killbrick.Size = Vector3.new(4,1,4) | |
724 | killbrick.Transparency = 1 | |
725 | killbrick:BreakJoints() | |
726 | killbrick.CanCollide = false | |
727 | local wel = Instance.new("Weld",killbrick) | |
728 | wel.Part0 = killbrick | |
729 | wel.Part1 = char["Left Arm"] | |
730 | wel.C0 = CFrame.new(0,1,0) | |
731 | force = math.huge | |
732 | ||
733 | killbrick.Touched:connect(function(h) | |
734 | local x = h.Parent:FindFirstChildOfClass("Humanoid") | |
735 | local stop = h.Parent.Torso.Velocity | |
736 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
737 | safe = true | |
738 | else safe = false | |
739 | end | |
740 | if x then | |
741 | if safe == false then | |
742 | if fling == true then | |
743 | force = math.huge | |
744 | ||
745 | end | |
746 | if fling == false then | |
747 | force = math.huge | |
748 | ||
749 | ChatService:Chat(char.Head, "Dark Punch!") | |
750 | neck.C0 = neckp | |
751 | wait(0.1) | |
752 | end | |
753 | - | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 50000 |
753 | + | |
754 | ||
755 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * math.huge | |
756 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
757 | boom:Play() | |
758 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
759 | ||
760 | ||
761 | wait() | |
762 | x:TakeDamage(math.huge) | |
763 | wait() | |
764 | safe = true | |
765 | bodyforc:Remove() | |
766 | h.Parent.Torso.Velocity = stop | |
767 | end | |
768 | end | |
769 | end) | |
770 | ||
771 | ||
772 | ||
773 | ||
774 | ||
775 | ||
776 | ||
777 | ||
778 | ||
779 | ||
780 | - | rng.BrickColor = BrickColor.new("Really black") |
780 | + | |
781 | rng.Anchored = true | |
782 | rng.BrickColor = BrickColor.new("Magenta") | |
783 | rng.CanCollide = false | |
784 | rng.FormFactor = 3 | |
785 | rng.Name = "Ring" | |
786 | rng.Size = Vector3.new(1, 1, 1) | |
787 | rng.Transparency = 0.8 | |
788 | rng.TopSurface = 0 | |
789 | rng.BottomSurface = 0 | |
790 | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
791 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
792 | local rngm = Instance.new("SpecialMesh", rng) | |
793 | rngm.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
794 | rngm.Scale = Vector3.new(3, 3, 3) | |
795 | wait(0.1) | |
796 | ||
797 | boom2:Play() | |
798 | coroutine.wrap(function() | |
799 | for i = 1, 10, .4 do | |
800 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
801 | rng.Transparency = i/10 | |
802 | wait() | |
803 | end | |
804 | wait() | |
805 | rng:Destroy() | |
806 | killbrick:Remove() | |
807 | char.Torso["Left Shoulder"].C0 = org | |
808 | wait(0.1) | |
809 | ||
810 | punch = true | |
811 | wait() | |
812 | end)() | |
813 | ||
814 | ||
815 | ||
816 | end | |
817 | ||
818 | ||
819 | wait(.1) | |
820 | ||
821 | ||
822 | end | |
823 | end) | |
824 | ||
825 | m.KeyDown:connect(function(key) | |
826 | if key == "h" then | |
827 | if punch3 == true then | |
828 | punch3 = false | |
829 | eh = char.Torso["Right Shoulder"].C0 | |
830 | char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.new(0.3,0,0) * CFrame.Angles(0,0,math.rad(90)) | |
831 | killbrick3 = Instance.new("Part",char) | |
832 | killbrick3.Size = Vector3.new(4,1,4) | |
833 | killbrick3.Transparency = 1 | |
834 | killbrick3:BreakJoints() | |
835 | killbrick3.CanCollide = false | |
836 | local wel = Instance.new("Weld",killbrick3) | |
837 | wel.Part0 = killbrick3 | |
838 | wel.Part1 = char["Right Arm"] | |
839 | wel.C0 = CFrame.new(0,1,0) | |
840 | force = math.huge | |
841 | ||
842 | killbrick3.Touched:connect(function(h) | |
843 | local x = h.Parent:FindFirstChildOfClass("Humanoid") | |
844 | local stop = h.Parent.Torso.Velocity | |
845 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
846 | safe = true | |
847 | else safe = false | |
848 | end | |
849 | if x then | |
850 | if safe == false then | |
851 | if fling == true then | |
852 | force = math.huge | |
853 | ||
854 | end | |
855 | if fling == false then | |
856 | force = math.huge | |
857 | ||
858 | ChatService:Chat(char.Head, "Take this!") | |
859 | neck.C0 = neckp | |
860 | wait(0.1) | |
861 | end | |
862 | - | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 50000 |
862 | + | |
863 | ||
864 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * math.huge | |
865 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
866 | boom:Play() | |
867 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
868 | ||
869 | ||
870 | wait(0.2) | |
871 | x:TakeDamage(math.huge) | |
872 | wait() | |
873 | safe = true | |
874 | bodyforc:Remove() | |
875 | h.Parent.Torso.Velocity = stop | |
876 | end | |
877 | end | |
878 | end) | |
879 | ||
880 | ||
881 | ||
882 | ||
883 | ||
884 | ||
885 | ||
886 | ||
887 | ||
888 | ||
889 | - | rng.BrickColor = BrickColor.new("Really black") |
889 | + | |
890 | rng.Anchored = true | |
891 | rng.BrickColor = BrickColor.new("Magenta") | |
892 | rng.CanCollide = false | |
893 | rng.FormFactor = 3 | |
894 | rng.Name = "Ring" | |
895 | rng.Size = Vector3.new(1, 1, 1) | |
896 | rng.Transparency = 0.8 | |
897 | rng.TopSurface = 0 | |
898 | rng.BottomSurface = 0 | |
899 | rng.CFrame = char["Right Arm"].CFrame * CFrame.new(0,-2,0) | |
900 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
901 | local rngm = Instance.new("SpecialMesh", rng) | |
902 | rngm.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
903 | rngm.Scale = Vector3.new(3, 3, 3) | |
904 | wait(0.1) | |
905 | ||
906 | boom2:Play() | |
907 | coroutine.wrap(function() | |
908 | for i = 1, 10, .4 do | |
909 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
910 | rng.Transparency = i/10 | |
911 | wait() | |
912 | end | |
913 | wait() | |
914 | rng:Destroy() | |
915 | killbrick3:Remove() | |
916 | char.Torso["Right Shoulder"].C0 = eh | |
917 | wait(0.1) | |
918 | ||
919 | punch3 = true | |
920 | wait() | |
921 | end)() | |
922 | ||
923 | ||
924 | ||
925 | end | |
926 | ||
927 | ||
928 | wait(.1) | |
929 | ||
930 | ||
931 | end | |
932 | end) | |
933 | ||
934 | ||
935 | ||
936 | ||
937 | ||
938 | ||
939 | ||
940 | ||
941 | ||
942 | ||
943 | ||
944 | ||
945 | m.KeyDown:connect(function(key) | |
946 | if key == "m" then | |
947 | if jump == true then | |
948 | jump = false | |
949 | ||
950 | ||
951 | - | rng.BrickColor = BrickColor.new("Really black") |
951 | + | |
952 | rng.Anchored = true | |
953 | rng.BrickColor = BrickColor.new("Barney") | |
954 | rng.CanCollide = false | |
955 | rng.FormFactor = 3 | |
956 | rng.Name = "Ring" | |
957 | rng.Size = Vector3.new(3, 3, 3) | |
958 | rng.Transparency = 0.35 | |
959 | rng.TopSurface = 0 | |
960 | rng.BottomSurface = 0 | |
961 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
962 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
963 | local rngm = Instance.new("SpecialMesh", rng) | |
964 | rngm.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
965 | rngm.Scale = Vector3.new(3, 3, 3) | |
966 | wait(0.1) | |
967 | BV = Instance.new("BodyVelocity", torso) | |
968 | BV.maxForce = Vector3.new(0,20000,0) | |
969 | BV.P = 1000 | |
970 | BV.velocity = Vector3.new(0,200,0) | |
971 | boom:Play() | |
972 | coroutine.wrap(function() | |
973 | for i = 1, 60, 2 do | |
974 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
975 | rng.Transparency = i/60 | |
976 | wait() | |
977 | end | |
978 | wait() | |
979 | rng:Destroy() | |
980 | ||
981 | hum.WalkSpeed = 50 | |
982 | wait(1) | |
983 | ||
984 | for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then | |
985 | v:Destroy() local jumping2 = true falling = true wait(0.3) jumping2 = false falling = false wait(1.7) jump = true hum.WalkSpeed = 16 falling = false | |
986 | end end | |
987 | wait() | |
988 | end)() | |
989 | ||
990 | ||
991 | ||
992 | end | |
993 | ||
994 | ||
995 | wait(.1) | |
996 | ||
997 | ||
998 | end | |
999 | end) | |
1000 | ||
1001 | ||
1002 | mouse.KeyDown:connect(function(key) | |
1003 | if key == "b" then | |
1004 | multipunch = true | |
1005 | boom:Play() | |
1006 | local ChatService = game:GetService("Chat") | |
1007 | ||
1008 | neck.C0 = neck.C0 * CFrame.Angles(0,0,0) | |
1009 | ChatService:Chat(char.Head, "Consecutive Dark Punches.") | |
1010 | wait() | |
1011 | local ChatService = game:GetService("Chat") | |
1012 | sss = char.Torso["Left Shoulder"].C0 | |
1013 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
1014 | coroutine.resume(coroutine.create(function() | |
1015 | local s = 0 | |
1016 | repeat | |
1017 | s = s + 1 | |
1018 | sqe() | |
1019 | wait(0.03) | |
1020 | until not multipunch | |
1021 | end)) | |
1022 | mouse.KeyUp:connect(function(key) | |
1023 | if key == "b" then | |
1024 | multipunch = false | |
1025 | char.Torso["Left Shoulder"].C0 = sss | |
1026 | wait(0.3) | |
1027 | multipunch = true | |
1028 | wait(0.1) | |
1029 | end | |
1030 | end) | |
1031 | end | |
1032 | end) | |
1033 | ||
1034 | plr = game.Players.LocalPlayer | |
1035 | mouse = plr:GetMouse() | |
1036 | --This has to be a local script. | |
1037 | function onClicked() | |
1038 | local x = Instance.new("Explosion", Workspace)--This means create new explosion in the workspace. | |
1039 | x.Position = mouse.Hit.p | |
1040 | x.BlastRadius = 5 | |
1041 | x.BlastPressure = math.huge | |
1042 | end | |
1043 | mouse.Button1Down:connect(onClicked) | |
1044 | m.KeyDown:connect(function(k) | |
1045 | if k == "f" then | |
1046 | asd3:Stop() | |
1047 | asd2:Stop() | |
1048 | asd4:Stop() | |
1049 | asd6:Stop() | |
1050 | asd5:Stop() | |
1051 | end | |
1052 | end) | |
1053 | game:GetService("RunService").RenderStepped:connect(function() | |
1054 | hum.MaxHealth = hum.MaxHealth * math.huge | |
1055 | hum.Health = hum.MaxHealth * math.huge | |
1056 | char.Humanoid.MaxHealth = math.huge | |
1057 | - | end) |
1057 | + | |
1058 | char.Humanoid.Health = math.huge | |
1059 | char.Humanoid.MaxHealth = math.huge | |
1060 | wait() | |
1061 | char.Humanoid.Health = math.huge | |
1062 | char.Humanoid.MaxHealth = math.huge | |
1063 | wait() | |
1064 | char.Humanoid.Health = math.huge | |
1065 | char.Humanoid.MaxHealth = math.huge | |
1066 | wait() | |
1067 | char.Humanoid.Health = math.huge | |
1068 | end) | |
1069 | ||
1070 | ||
1071 | ||
1072 | ||
1073 | ||
1074 | ||
1075 | ||
1076 | ||
1077 | ||
1078 | ||
1079 | ||
1080 | ||
1081 | ||
1082 | ||
1083 | ||
1084 | ||
1085 | ||
1086 | ||
1087 | ||
1088 | ||
1089 | ||
1090 | ||
1091 | ||
1092 | ||
1093 | ||
1094 | ||
1095 | ||
1096 | ||
1097 | ||
1098 | ||
1099 | ||
1100 | ||
1101 | ||
1102 | ||
1103 | ||
1104 | ||
1105 | ||
1106 | ||
1107 | function giant(p, size) | |
1108 | local pchar = p.Character | |
1109 | if pchar then | |
1110 | local function scale(chr,scl) | |
1111 | ||
1112 | for _,v in pairs(pchar:GetChildren()) do | |
1113 | if v:IsA("Hat") then | |
1114 | v:Clone() | |
1115 | v.Parent = game.Lighting | |
1116 | end | |
1117 | end | |
1118 | ||
1119 | local Head = chr['Head'] | |
1120 | local Torso = chr['Torso'] | |
1121 | local LA = chr['Left Arm'] | |
1122 | local RA = chr['Right Arm'] | |
1123 | local LL = chr['Left Leg'] | |
1124 | local RL = chr['Right Leg'] | |
1125 | local HRP = chr['HumanoidRootPart'] | |
1126 | ||
1127 | wait(0.1) | |
1128 | ||
1129 | Head.formFactor = 3 | |
1130 | Torso.formFactor = 3 | |
1131 | LA.formFactor = 3 | |
1132 | RA.formFactor = 3 | |
1133 | LL.formFactor = 3 | |
1134 | RL.formFactor = 3 | |
1135 | HRP.formFactor = 3 | |
1136 | ||
1137 | Head.Size = Vector3.new(scl * 2, scl, scl) | |
1138 | Torso.Size = Vector3.new(scl * 2, scl * 2, scl) | |
1139 | LA.Size = Vector3.new(scl, scl * 2, scl) | |
1140 | RA.Size = Vector3.new(scl, scl * 2, scl) | |
1141 | LL.Size = Vector3.new(scl, scl * 2, scl) | |
1142 | RL.Size = Vector3.new(scl, scl * 2, scl) | |
1143 | HRP.Size = Vector3.new(scl * 2, scl * 2, scl) | |
1144 | ||
1145 | local Motor1 = Instance.new('Motor6D', Torso) | |
1146 | Motor1.Part0 = Torso | |
1147 | Motor1.Part1 = Head | |
1148 | Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
1149 | Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
1150 | Motor1.Name = "Neck" | |
1151 | ||
1152 | local Motor2 = Instance.new('Motor6D', Torso) | |
1153 | Motor2.Part0 = Torso | |
1154 | Motor2.Part1 = LA | |
1155 | Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
1156 | Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
1157 | Motor2.Name = "Left Shoulder" | |
1158 | ||
1159 | local Motor3 = Instance.new('Motor6D', Torso) | |
1160 | Motor3.Part0 = Torso | |
1161 | Motor3.Part1 = RA | |
1162 | Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
1163 | Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
1164 | Motor3.Name = "Right Shoulder" | |
1165 | ||
1166 | local Motor4 = Instance.new('Motor6D', Torso) | |
1167 | Motor4.Part0 = Torso | |
1168 | Motor4.Part1 = LL | |
1169 | Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
1170 | Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
1171 | Motor4.Name = "Left Hip" | |
1172 | ||
1173 | local Motor5 = Instance.new('Motor6D', Torso) | |
1174 | Motor5.Part0 = Torso | |
1175 | Motor5.Part1 = RL | |
1176 | Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
1177 | Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
1178 | Motor5.Name = "Right Hip" | |
1179 | ||
1180 | local Motor6 = Instance.new('Motor6D', HRP) | |
1181 | Motor6.Part0 = HRP | |
1182 | Motor6.Part1 = Torso | |
1183 | Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) | |
1184 | Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) | |
1185 | ||
1186 | end | |
1187 | ||
1188 | scale(pchar, size) | |
1189 | pchar.Humanoid.WalkSpeed = 15 * size | |
1190 | ||
1191 | for _,v in pairs(game.Lighting:GetChildren()) do | |
1192 | if v:IsA("Hat") then | |
1193 | v.Parent = pchar | |
1194 | end | |
1195 | end | |
1196 | end | |
1197 | end | |
1198 | ||
1199 | local plr = game.Players.LocalPlayer | |
1200 | giant(plr,1) | |
1201 | ||
1202 | ||
1203 | local csize = 1 | |
1204 | ||
1205 | local sgui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui) | |
1206 | local base = Instance.new("Frame", sgui) | |
1207 | base.BackgroundTransparency = 1 | |
1208 | base.Size = UDim2.new(0, 110, 0, 200) | |
1209 | base.Position = UDim2.new(1, -120, 1, -180) | |
1210 | local indicator = Instance.new("TextLabel", base) | |
1211 | indicator.Size = UDim2.new(1, 0, 0, 25) | |
1212 | indicator.TextColor3 = Color3.new(1, 1, 1) | |
1213 | indicator.BackgroundTransparency = 0 | |
1214 | indicator.FontSize = Enum.FontSize.Size18 | |
1215 | indicator.Font = Enum.Font.SourceSans | |
1216 | indicator.Text = "Current Size: 3" | |
1217 | local PlusOne = Instance.new("TextButton", base) | |
1218 | PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255) | |
1219 | PlusOne.Position = UDim2.new(0, 0, 0, 40) | |
1220 | PlusOne.Size = UDim2.new(1, 0, 0.5, -50) | |
1221 | PlusOne.BorderSizePixel = 2 | |
1222 | PlusOne.Font = Enum.Font.SourceSansBold | |
1223 | PlusOne.FontSize = Enum.FontSize.Size24 | |
1224 | PlusOne.Text = "+.1 Size" | |
1225 | local MinusOne = Instance.new("TextButton", base) | |
1226 | MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255) | |
1227 | MinusOne.Position = UDim2.new(0, 0, 0.5, 10) | |
1228 | MinusOne.Size = UDim2.new(1, 0, 0.5, -50) | |
1229 | MinusOne.Text = "-.1 Size" | |
1230 | MinusOne.BorderSizePixel = 2 | |
1231 | MinusOne.Font = Enum.Font.SourceSansBold | |
1232 | MinusOne.FontSize = Enum.FontSize.Size24 | |
1233 | ||
1234 | PlusOne.MouseButton1Down:connect(function() | |
1235 | csize = csize + .1 | |
1236 | giant(plr, csize) | |
1237 | indicator.Text = "Current Size: "..tostring(csize) | |
1238 | end) | |
1239 | ||
1240 | MinusOne.MouseButton1Down:connect(function() | |
1241 | csize = csize - .1 | |
1242 | giant(plr, csize) | |
1243 | indicator.Text = "Current Size: "..tostring(csize) | |
1244 | end) |