SHOW:
|
|
- or go back to the newest paste.
1 | wait(1) | |
2 | local plr = owner | |
3 | local char = plr.Character | |
4 | hum=char.Humanoid | |
5 | for i,v in pairs (char:GetChildren()) do | |
6 | if v.Name~="Humanoid" and v.ClassName~="Part" then | |
7 | v:Destroy() | |
8 | end | |
9 | end | |
10 | ||
11 | for i,v in pairs (char:WaitForChild("Head"):GetChildren()) do | |
12 | if v.ClassName=="Sound" then | |
13 | v:Destroy() | |
14 | end | |
15 | end | |
16 | spawn(function() | |
17 | while wait() do | |
18 | char:WaitForChild("Right Arm").BrickColor=BrickColor.new("Cool yellow") | |
19 | char:WaitForChild("Left Arm").BrickColor=BrickColor.new("Cool yellow") | |
20 | char:WaitForChild("Head").BrickColor=BrickColor.new("Cool yellow") | |
21 | char:WaitForChild("Right Leg").BrickColor=BrickColor.new("Medium blue") | |
22 | char:WaitForChild("Left Leg").BrickColor=BrickColor.new("Medium blue") | |
23 | char:WaitForChild("Torso").BrickColor=BrickColor.new("Bright yellow") | |
24 | end | |
25 | end) | |
26 | ac = Instance.new("Accessory",workspace) | |
27 | ac.AttachmentPos=Vector3.new(0, -0.1, 0.2) | |
28 | o2 = Instance.new("Part") | |
29 | o3 = Instance.new("SpecialMesh") | |
30 | o4 = Instance.new("Vector3Value") | |
31 | o2.Name = "Handle" | |
32 | o2.Parent = ac | |
33 | o2.Position = char.Torso.Position | |
34 | spawn(function() | |
35 | repeat | |
36 | if ac.Parent~=char then | |
37 | o2.Position = char.Torso.Position | |
38 | else | |
39 | break | |
40 | end | |
41 | wait() | |
42 | until ac.Parent==char | |
43 | end) | |
44 | o2.Rotation = Vector3.new(0, -0.75999999, 0) | |
45 | o2.CanCollide = false | |
46 | o2.Locked = true | |
47 | o2.FormFactor = Enum.FormFactor.Custom | |
48 | o2.Size = Vector3.new(1.60000014, 0.800000012, 1.60000014) | |
49 | o2.CFrame = CFrame.new(0.128948003, 5.08735895, -0.544525981, 0.999912918, 1.17847014e-26, -0.0131900534, -4.89980362e-24, 1, -3.70551116e-22, 0.013190059, 3.70583553e-22, 0.999912918) | |
50 | o2.BottomSurface = Enum.SurfaceType.Smooth | |
51 | o2.TopSurface = Enum.SurfaceType.Smooth | |
52 | o2.Position = Vector3.new(0.128948003, 5.08735895, -0.544525981) | |
53 | o3.Parent = o2 | |
54 | o3.MeshId = "http://www.roblox.com/asset/?id=120626701" | |
55 | o3.Scale = Vector3.new(0.899999976, 0.819999993, 0.819999993) | |
56 | o3.TextureId = "http://www.roblox.com/asset/?id=120626735" | |
57 | o3.MeshType = Enum.MeshType.FileMesh | |
58 | o4.Name = "OriginalSize" | |
59 | o4.Parent = o2 | |
60 | o4.Value = Vector3.new(1.60000014, 0.800000012, 1.60000014) | |
61 | ||
62 | ||
63 | ||
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | ||
71 | ||
72 | ||
73 | ||
74 | ||
75 | ||
76 | ||
77 | ||
78 | local torso = char.Torso | |
79 | local RightArm1 = torso["Right Shoulder"] | |
80 | local LeftArm1 = torso["Left Shoulder"] | |
81 | local RightLeg1 = torso["Right Hip"] | |
82 | local LeftLeg1 = torso["Left Hip"] | |
83 | local Torso1 = char.HumanoidRootPart.RootJoint | |
84 | local Head1 = torso.Neck | |
85 | ||
86 | local RightArm = torso["Right Shoulder"]:Clone() | |
87 | local LeftArm = torso["Left Shoulder"]:Clone() | |
88 | local RightLeg = torso["Right Hip"]:Clone() | |
89 | local LeftLeg = torso["Left Hip"]:Clone() | |
90 | local Torso = char.HumanoidRootPart.RootJoint:Clone() | |
91 | local Head = torso.Neck:Clone() | |
92 | ||
93 | RightArm1:Destroy() | |
94 | LeftArm1:Destroy() | |
95 | RightLeg1:Destroy() | |
96 | LeftLeg1:Destroy() | |
97 | Torso1:Destroy() | |
98 | Head1:Destroy() | |
99 | ||
100 | RightArm.Parent=torso | |
101 | LeftArm.Parent=torso | |
102 | RightLeg.Parent=torso | |
103 | LeftLeg.Parent=torso | |
104 | Head.Parent=torso | |
105 | Torso.Parent=char.HumanoidRootPart | |
106 | ||
107 | ||
108 | ||
109 | ||
110 | local animpose = "Idle" | |
111 | cananim = true | |
112 | num=0 | |
113 | ||
114 | local attacking = false | |
115 | if char:FindFirstChildOfClass("Humanoid"):FindFirstChild("Animator") then char:FindFirstChildOfClass("Humanoid").Animator:Destroy() end | |
116 | if char:FindFirstChild("Animate") then char.Animate:Destroy() end | |
117 | ||
118 | ||
119 | ||
120 | ||
121 | ||
122 | spawn(function() | |
123 | while wait() do | |
124 | if torso then | |
125 | local velocity=torso.Velocity | |
126 | if hum==nil then | |
127 | return | |
128 | end | |
129 | if hum.MoveDirection==Vector3.new(0,0,0) then | |
130 | animpose="Idle" | |
131 | else | |
132 | animpose="Running" | |
133 | end | |
134 | if velocity.Y>0.5 then | |
135 | animpose="Jumping" | |
136 | end | |
137 | if velocity.Y<-0.5 then | |
138 | animpose="Falling" | |
139 | end | |
140 | end | |
141 | end | |
142 | end) | |
143 | ||
144 | ||
145 | function sound(id,loop,tim,endtim,eff) | |
146 | local s=Instance.new("Sound",char.Torso) | |
147 | s.SoundId=id | |
148 | if loop==true then | |
149 | s.Looped=true | |
150 | s.Name="Music" | |
151 | else | |
152 | s.Volume=2 | |
153 | if id~="rbxassetid://245537790" and id~='rbxassetid://1179921724' and id~='rbxassetid://1251737869' then | |
154 | s.PlaybackSpeed = 1+math.random(-100,100)/1000 | |
155 | end | |
156 | end | |
157 | if tim then | |
158 | s.TimePosition=tim | |
159 | end | |
160 | spawn(function() | |
161 | if endtim then | |
162 | repeat wait() until s.TimePosition==endtim or s.TimePosition>=endtim | |
163 | s:Stop() | |
164 | end | |
165 | end) | |
166 | if eff=="echo" then | |
167 | spawn(function() | |
168 | wait(1) | |
169 | local echo=Instance.new("EchoSoundEffect",s) | |
170 | echo.Delay=0.05 | |
171 | echo.WetLevel=11 | |
172 | echo.DryLevel=-1 | |
173 | end) | |
174 | end | |
175 | if eff=="quiet" then | |
176 | s.Volume=0.3 | |
177 | end | |
178 | s:Play() | |
179 | end | |
180 | --SCREEEEM | |
181 | function lazor() | |
182 | sound("rbxassetid://1251737869",false,5.3,7.7,'echo') | |
183 | cananim=false | |
184 | for i=1,30 do | |
185 | wait(1/60) | |
186 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.934085608, 0.339979589, -0.10907802, -0.102499805, 0.0373069048, 0.994033217, 0.342020363, 0.939692557, 0),0.2) | |
187 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.50000006, 0.365961194, 0.435137242, -0.173563123, -0.0313025787, -0.984325111, -0.00543563766, 0.999509931, -0.0308270231, 0.98480773, 0, -0.173648223),0.2) | |
188 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, -7.4505806e-09, 0.0094302753, 0.0843551308, 0.996391118, 0.110700019, 0.990222573, -0.0848806128, -0.993809104, 0.111100972, -4.34407745e-08),0.2) | |
189 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.499999881, 0.49999997, 0, 0.686760783, 0.0407644771, -0.725739539, 0.724464417, 0.0430024639, 0.687969565, 0.0592533089, -0.998242974, -2.59004374e-09),0.2) | |
190 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, -0.0484665036, 2.98023224e-08, -0.31701979, -0.00180978479, 0.948417187, -0.948401749, -0.00541418325, -0.317024946, 0.00570865162, -0.999983728, 2.49531951e-10),0.2) | |
191 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),0.2) | |
192 | end | |
193 | ||
194 | local keeprunning=true | |
195 | spawn(function() | |
196 | while wait() do | |
197 | local ray = Ray.new(char['Right Arm'].CFrame.p,(mouse.Hit.p-char['Right Arm'].CFrame.p).unit*300) | |
198 | local part,position = workspace:FindPartOnRay(ray,char, false, true) | |
199 | local distance = (char['Right Arm'].CFrame.p - position).magnitude | |
200 | if keeprunning==false then | |
201 | break | |
202 | end | |
203 | if part then | |
204 | if part.Parent:FindFirstChild("Humanoid") then | |
205 | part:BreakJoints() | |
206 | part.Anchored=false | |
207 | ||
208 | end | |
209 | end | |
210 | ||
211 | local ex=Instance.new("Explosion",workspace) | |
212 | ex.Position=position | |
213 | ex.Visible=false | |
214 | ex.DestroyJointRadiusPercent=0 | |
215 | ex.BlastPressure=100001 | |
216 | ex.BlastRadius=1 | |
217 | ||
218 | local ex=Instance.new("Explosion",workspace) | |
219 | ex.Position=position | |
220 | ex.Visible=false | |
221 | ex.DestroyJointRadiusPercent=0 | |
222 | ex.BlastPressure=100 | |
223 | ex.BlastRadius=30 | |
224 | ||
225 | Torso.C1 = Torso.C1:lerp(CFrame.new(0.45384407, 3.25962901e-09, -0.163368881, -0.840329647, -0.538628399, 0.061037913, 0.12248569, -0.0789824352, 0.989322543, -0.528056264, 0.838833332, 0.132345542),0.2) | |
226 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.486327916, 0.918347716, -0.0835282654, -0.139580116, -0.193979532, -0.971024871, -0.210418463, 0.96403873, -0.162337258, 0.967595696, 0.18166253, -0.175377563),0.2) | |
227 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.504761815, 1.01941562, -0.072208859, -0.0534072705, 0.0794541091, 0.995406747, -0.0726492628, 0.993878722, -0.083230041, -0.995926619, -0.0767606497, -0.0473080687),0.2) | |
228 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.49999994, -5.96046448e-08, -0.0783533007, -0.155531406, -0.984718561, -0.400697172, 0.909370303, -0.111747369, 0.912854075, 0.385818183, -0.1335731),0.2) | |
229 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.267708331, 0.709498703, -0.021721065, -0.500156283, -0.117081404, 0.85798347, -0.864884198, 0.0187412351, -0.501621544, 0.0426508784, -0.992945492, -0.110635392),0.2) | |
230 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -0.951892793, 0.28452459, 0.113780133, 0, -0.371307135, 0.928510129, 0.306431323, 0.883842111, 0.353444576),0.2) | |
231 | ||
232 | local beam = Instance.new("Part", char) | |
233 | beam.BrickColor = BrickColor.new("Institutional white") | |
234 | beam.FormFactor = "Custom" | |
235 | beam.Material = "Neon" | |
236 | beam.Transparency = 0.5 | |
237 | beam.Anchored = true | |
238 | beam.Locked = true | |
239 | beam.CanCollide = false | |
240 | beam.Size = Vector3.new(0.3, 0.3, distance) | |
241 | beam.CFrame = CFrame.new((char['Right Arm'].CFrame*CFrame.new(0,-3,0)).p, mouse.Hit.p) * CFrame.new(0, 0, -distance/2) | |
242 | spawn(function() | |
243 | for i=1,10 do | |
244 | beam.Transparency=i/10 | |
245 | wait() | |
246 | end | |
247 | beam:Destroy() | |
248 | end) | |
249 | spawn(function() | |
250 | for i=1,20 do | |
251 | beam.Size=Vector3.new(i,i,beam.Size.Z) | |
252 | wait() | |
253 | end | |
254 | end) | |
255 | end | |
256 | end) | |
257 | for i=1,10 do | |
258 | sound("rbxassetid://245537790",false) | |
259 | end | |
260 | wait(3) | |
261 | keeprunning=false | |
262 | cananim=true | |
263 | end | |
264 | dodamage=false | |
265 | deb=false | |
266 | hum.Touched:connect(function(part) | |
267 | local ded=part.Parent:FindFirstChildOfClass("Humanoid") | |
268 | if deb==true then | |
269 | return | |
270 | end | |
271 | deb=true | |
272 | if ded then | |
273 | if dodamage == true then | |
274 | ded.Health=ded.Health-(math.random(5,10)) | |
275 | sound("rbxassetid://386946017",false,0,0.36,'quiet') | |
276 | if supermode==true then | |
277 | local ex=Instance.new("Explosion",workspace) | |
278 | if math.random(1,3) ==1 then | |
279 | ex.Visible=false | |
280 | end | |
281 | ex.DestroyJointRadiusPercent=0 | |
282 | ex.Position=part.Position | |
283 | ex.BlastPressure=1000 | |
284 | part:BreakJoints() | |
285 | part.Anchored=false | |
286 | end | |
287 | end | |
288 | end | |
289 | wait(0.1) | |
290 | deb=false | |
291 | end) | |
292 | function SUPERlazor() | |
293 | sound("rbxassetid://1179921724",false,'echo') | |
294 | ||
295 | wait(2) | |
296 | cananim=false | |
297 | for i=1,30 do | |
298 | wait(1/60) | |
299 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.934085608, 0.339979589, -0.10907802, -0.102499805, 0.0373069048, 0.994033217, 0.342020363, 0.939692557, 0),0.2) | |
300 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.50000006, 0.365961194, 0.435137242, -0.173563123, -0.0313025787, -0.984325111, -0.00543563766, 0.999509931, -0.0308270231, 0.98480773, 0, -0.173648223),0.2) | |
301 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, -7.4505806e-09, 0.0094302753, 0.0843551308, 0.996391118, 0.110700019, 0.990222573, -0.0848806128, -0.993809104, 0.111100972, -4.34407745e-08),0.2) | |
302 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.499999881, 0.49999997, 0, 0.686760783, 0.0407644771, -0.725739539, 0.724464417, 0.0430024639, 0.687969565, 0.0592533089, -0.998242974, -2.59004374e-09),0.2) | |
303 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, -0.0484665036, 2.98023224e-08, -0.31701979, -0.00180978479, 0.948417187, -0.948401749, -0.00541418325, -0.317024946, 0.00570865162, -0.999983728, 2.49531951e-10),0.2) | |
304 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),0.2) | |
305 | end | |
306 | ||
307 | local keeprunning=true | |
308 | spawn(function() | |
309 | while wait() do | |
310 | local ray = Ray.new(char['Right Arm'].CFrame.p,(mouse.Hit.p-char['Right Arm'].CFrame.p).unit*300) | |
311 | local part,position = workspace:FindPartOnRay(ray,char, false, true) | |
312 | local distance = (char['Right Arm'].CFrame.p - position).magnitude | |
313 | if keeprunning==false then | |
314 | break | |
315 | end | |
316 | if part then | |
317 | if part.Parent:FindFirstChild("Humanoid") then | |
318 | part:BreakJoints() | |
319 | part.Anchored=false | |
320 | part.Velocity = Vector3.new(math.random(-160,160),math.random(-160,160),math.random(-160,160)) | |
321 | if math.random(1,3) == 1 then | |
322 | part:Destroy() | |
323 | end | |
324 | end | |
325 | end | |
326 | ||
327 | local ex=Instance.new("Explosion",workspace) | |
328 | ex.Position=position | |
329 | ex.Visible=false | |
330 | ex.DestroyJointRadiusPercent=0 | |
331 | ex.BlastPressure=100 | |
332 | ex.BlastRadius=10 | |
333 | ex.Hit:connect(function(part) | |
334 | if part.Parent~=char and part.Parent~=char:WaitForChild("Accessory") then | |
335 | part:BreakJoints() | |
336 | end | |
337 | end) | |
338 | if math.random(1,5)==5 then | |
339 | sound("rbxassetid://314970761",false) | |
340 | end | |
341 | Torso.C1 = Torso.C1:lerp(CFrame.new(0.45384407, 3.25962901e-09, -0.163368881, -0.840329647, -0.538628399, 0.061037913, 0.12248569, -0.0789824352, 0.989322543, -0.528056264, 0.838833332, 0.132345542),0.2) | |
342 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.486327916, 0.918347716, -0.0835282654, -0.139580116, -0.193979532, -0.971024871, -0.210418463, 0.96403873, -0.162337258, 0.967595696, 0.18166253, -0.175377563),0.2) | |
343 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.504761815, 1.01941562, -0.072208859, -0.0534072705, 0.0794541091, 0.995406747, -0.0726492628, 0.993878722, -0.083230041, -0.995926619, -0.0767606497, -0.0473080687),0.2) | |
344 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.49999994, -5.96046448e-08, -0.0783533007, -0.155531406, -0.984718561, -0.400697172, 0.909370303, -0.111747369, 0.912854075, 0.385818183, -0.1335731),0.2) | |
345 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.267708331, 0.709498703, -0.021721065, -0.500156283, -0.117081404, 0.85798347, -0.864884198, 0.0187412351, -0.501621544, 0.0426508784, -0.992945492, -0.110635392),0.2) | |
346 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -0.951892793, 0.28452459, 0.113780133, 0, -0.371307135, 0.928510129, 0.306431323, 0.883842111, 0.353444576),0.2) | |
347 | ||
348 | local beam = Instance.new("Part", char) | |
349 | local colorz = {"Really red","Gold","Lime green","Really blue","Royal purple"} | |
350 | beam.BrickColor = BrickColor.new(colorz[math.random(1,#colorz)]) | |
351 | beam.FormFactor = "Custom" | |
352 | beam.Material = "Neon" | |
353 | beam.Transparency = 0.5 | |
354 | beam.Anchored = true | |
355 | beam.Locked = true | |
356 | beam.CanCollide = false | |
357 | beam.Size = Vector3.new(0.3, 0.3, distance) | |
358 | beam.CFrame = CFrame.new((char['Right Arm'].CFrame*CFrame.new(0,-3,0)).p, mouse.Hit.p) * CFrame.new(0, 0, -distance/2) | |
359 | spawn(function() | |
360 | while beam do | |
361 | if beam==nil then break end | |
362 | beam.Anchored=true | |
363 | swait() | |
364 | end | |
365 | end) | |
366 | spawn(function() | |
367 | for i=1,10 do | |
368 | beam.Transparency=i/10 | |
369 | beam.CFrame=beam.CFrame*CFrame.new(0,0,-i/10) | |
370 | wait() | |
371 | end | |
372 | beam:Destroy() | |
373 | end) | |
374 | spawn(function() | |
375 | for i=5,70, 3 do | |
376 | beam.Size=Vector3.new(i,i,beam.Size.Z) | |
377 | wait() | |
378 | end | |
379 | end) | |
380 | end | |
381 | end) | |
382 | for i=1,10 do | |
383 | sound("rbxassetid://314970761",false) | |
384 | end | |
385 | wait(6) | |
386 | keeprunning=false | |
387 | cananim=true | |
388 | end | |
389 | ||
390 | ||
391 | - | mouse.Button1Down:connect(function() |
391 | + | |
392 | end) | |
393 | ||
394 | ||
395 | supermode=false | |
396 | mouse.KeyDown:connect(function(key) | |
397 | local k=string.lower(key) | |
398 | if attacking==true then | |
399 | return | |
400 | end | |
401 | if k=="q" then | |
402 | attacking=true | |
403 | if supermode==false then | |
404 | lazor() | |
405 | else | |
406 | SUPERlazor() | |
407 | end | |
408 | attacking=false | |
409 | end | |
410 | if k=="l" then | |
411 | transition() | |
412 | end | |
413 | end) | |
414 | ||
415 | punch = 1 | |
416 | function normpunch() | |
417 | if attacking==true then | |
418 | return | |
419 | end | |
420 | dodamage=true | |
421 | attacking=true | |
422 | cananim=false | |
423 | sound("rbxassetid://138097048",false) | |
424 | if punch==1 then | |
425 | for i=1,10 do | |
426 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.910118103, -0.41434893, 0, 0, 0, 1, -0.41434893, 0.910118103, 0),0.3) | |
427 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 1, 3.7252903e-09, 0.00116646651, 0.0136213535, -0.99990654, 0.023496937, 0.999630809, 0.0136450082, 0.999723256, -0.0235106573, 0.000845975766),0.3) | |
428 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, 4.65661287e-10, -4.35437997e-08, 0.0874831304, 0.996165991, 0.00556585658, 0.996150553, -0.0874817744, -0.999984503, 0.00554451346, -0.000486961944),0.3) | |
429 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.5, 0, 0.0391717218, -0.188973963, -0.981200516, -0.199156061, 0.960776389, -0.192991138, 0.979184568, 0.202971816, -4.2801517e-08),0.3) | |
430 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.312758863, 0.804995358, -0.0404221117, -0.349137038, 0.0591336042, 0.935203969, -0.937045753, -0.0294431858, -0.347962916, 0.0069590779, -0.997815788, 0.0656905994),0.3) | |
431 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -0.957687616, 0.287809789, 0, 0, 0, 1, 0.287809789, 0.957687616, 0),0.3) | |
432 | swait() | |
433 | end | |
434 | end | |
435 | ||
436 | if punch==2 then | |
437 | for i=1,10 do | |
438 | swait() | |
439 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.983417749, -0.116297476, 0.139156267, 0.140106976, 0, 0.990136385, -0.115150362, 0.993214428, 0.0162940882),0.3) | |
440 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 0.86816901, 0, -4.32735874e-08, -0.141177684, -0.989984274, -6.17107254e-09, 0.989984274, -0.141177684, 1, 0, -4.37113883e-08),0.3) | |
441 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1.23575175, 0.176770806, -0.0336775407, -0.11687994, 0.992574871, -0.983614028, 0.179874539, -0.0121925017, -0.177113876, -0.976721108, -0.12102247),0.3) | |
442 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.49999994, 0, -4.33072991e-08, -0.135659724, -0.990755498, -0.144958332, 0.98029089, -0.134226859, 0.989437759, 0.143618271, -0.0196650494),0.3) | |
443 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.49999997, 0, 0.0339012295, 0.115021303, 0.992784381, 0.280674934, 0.952282727, -0.119913273, -0.959203959, 0.282714903, -4.19281356e-08),0.3) | |
444 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.0711001009, 0.997469187, 0, 0.997469187, 0.0711001009),0.3) | |
445 | end | |
446 | end | |
447 | ||
448 | if punch==3 then | |
449 | for i=1,10 do | |
450 | swait() | |
451 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.93749547, 0.347997427, 0, 0, 0, 1, 0.347997427, 0.93749547, 0),0.3) | |
452 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.50000006, 1, 0, 0.0109365005, -0.0829221606, -0.996496022, -0.130298764, 0.98794055, -0.083640255, 0.991414428, 0.13075693, -4.33361009e-08),0.3) | |
453 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.49999997, 1, -3.7252903e-09, 0.114501342, 0.0127837732, 0.99334085, 5.62495939e-10, 0.999917209, -0.0128684072, -0.993423104, 0.00147345045, 0.114491865),0.3) | |
454 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.352809936, 1.3686024, 0.0138391852, -4.37113883e-08, 0, -1, 0.999440074, -0.0334585831, -4.36869136e-08, -0.0334585831, -0.999440074, 1.4625211e-09),0.3) | |
455 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, 0, -4.33629381e-08, 0.126015082, 0.992028356, 0.172522247, 0.97715348, -0.124125555, -0.985005617, 0.171146959, -0.0217404477),0.3) | |
456 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.07533779, 0.997158051, 0, 0.997158051, 0.07533779),0.3) | |
457 | end | |
458 | end | |
459 | if punch~=3 then | |
460 | punch=punch+1 | |
461 | else | |
462 | punch=1 | |
463 | end | |
464 | cananim=true | |
465 | dodamage=false | |
466 | attacking=false | |
467 | end | |
468 | ||
469 | ||
470 | ||
471 | ---transiton | |
472 | function transition() | |
473 | if supermode==false then | |
474 | sound("rbxassetid://1321047607",false,0,5) | |
475 | ||
476 | cananim=false | |
477 | attacking=true | |
478 | local stord = false | |
479 | spawn(function() | |
480 | wait(3) | |
481 | stord=true | |
482 | end) | |
483 | local ParticleEmitter0 = Instance.new("ParticleEmitter") | |
484 | ParticleEmitter0.Parent = torso | |
485 | ParticleEmitter0.Transparency = NumberSequence.new(0.20000000298023,0.20000000298023) | |
486 | ParticleEmitter0.Size = NumberSequence.new(3.2240438461304,1.0928964614868,3.7158470153809,0) | |
487 | ParticleEmitter0.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)) | |
488 | ParticleEmitter0.Texture = "http://www.roblox.com/asset/?id=232918622" | |
489 | ParticleEmitter0.Lifetime = NumberRange.new(3) | |
490 | ParticleEmitter0.Rate = 1000 | |
491 | ParticleEmitter0.VelocitySpread = 180 | |
492 | ParticleEmitter0.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)) | |
493 | repeat | |
494 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0.787846208, 0.138918549, -1, 0, 0, 0, -0.173648179, 0.98480773, 0, 0.98480773, 0.173648179),0.2) | |
495 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.45286727, 0.316941619, 0.628786147, -4.36354597e-08, -0.058915928, -0.998262942, 0.21313341, 0.975326002, -0.0575622357, 0.977023065, -0.21276319, 0.0125569087),0.2) | |
496 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 0.627124608, -0.0240803957, -4.37113883e-08, 0, 1, 0.551679194, 0.834056437, 2.4114664e-08, -0.834056437, 0.551679194, -3.6457763e-08),0.2) | |
497 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.5, 0, 0.774880886, 0.296248376, -0.558387458, 0.52156949, 0.199403673, 0.829580307, 0.357106328, -0.934063733, -1.56096132e-08),0.2) | |
498 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, 0, -0.00304316962, 0.0175396204, 0.999841511, -0.170919135, 0.985124171, -0.0178016629, -0.985280335, -0.170946226, -4.30679705e-08),0.2) | |
499 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.362809777, 0.931863308, 0, 0.931863308, 0.362809777),0.2) | |
500 | swait() | |
501 | until stord==true | |
502 | sound("rbxassetid://245537790",false) | |
503 | ParticleEmitter0.Speed=NumberRange.new(50) | |
504 | local mas = char | |
505 | local CharacterMesh0 = Instance.new("CharacterMesh") | |
506 | local CharacterMesh1 = Instance.new("CharacterMesh") | |
507 | local CharacterMesh2 = Instance.new("CharacterMesh") | |
508 | local CharacterMesh3 = Instance.new("CharacterMesh") | |
509 | local CharacterMesh4 = Instance.new("CharacterMesh") | |
510 | CharacterMesh0.Name = "GirlRocker Left Arm" | |
511 | CharacterMesh0.Parent = mas | |
512 | CharacterMesh0.MeshId = 717353151 | |
513 | CharacterMesh0.BodyPart = Enum.BodyPart.LeftArm | |
514 | CharacterMesh0.OverlayTextureId = 717346901 | |
515 | CharacterMesh1.Name = "GirlRocker Right Arm" | |
516 | CharacterMesh1.Parent = mas | |
517 | CharacterMesh1.MeshId = 717353483 | |
518 | CharacterMesh1.BodyPart = Enum.BodyPart.RightArm | |
519 | CharacterMesh1.OverlayTextureId = 717346901 | |
520 | CharacterMesh2.Name = "GirlRocker Right Leg" | |
521 | CharacterMesh2.Parent = mas | |
522 | CharacterMesh2.MeshId = 717353619 | |
523 | CharacterMesh2.BodyPart = Enum.BodyPart.RightLeg | |
524 | CharacterMesh2.OverlayTextureId = 717346901 | |
525 | CharacterMesh3.Name = "GirlRocker Torso" | |
526 | CharacterMesh3.Parent = mas | |
527 | CharacterMesh3.MeshId = 717353723 | |
528 | CharacterMesh3.BodyPart = Enum.BodyPart.Torso | |
529 | CharacterMesh3.OverlayTextureId = 717346901 | |
530 | CharacterMesh4.Name = "GirlRocker Left Leg" | |
531 | CharacterMesh4.Parent = mas | |
532 | CharacterMesh4.MeshId = 717353920 | |
533 | CharacterMesh4.BodyPart = Enum.BodyPart.LeftLeg | |
534 | CharacterMesh4.OverlayTextureId = 717346901 | |
535 | for i=1,90 do | |
536 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, -1.06972265, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),0.2) | |
537 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, -0.0906665474, 0.995881319, 3.96316047e-09, 0.995881319, 0.0906665474, -4.35313545e-08),0.2) | |
538 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0.0595862567, 0.998223186, 2.60459809e-09, -0.998223186, 0.0595862567, -4.36337224e-08),0.2) | |
539 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.5, 0, -4.34208935e-08, -0.115096748, -0.993354261, -5.0310387e-09, 0.993354261, -0.115096748, 1, 0, -4.37113883e-08),0.2) | |
540 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, 0, -4.36014211e-08, 0.0708893314, 0.997484207, 3.0986711e-09, 0.997484207, -0.0708893314, -1, 0, -4.37113883e-08),0.2) | |
541 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.249942318, 0.968260705, 0, 0.968260705, -0.249942318),0.2) | |
542 | swait() | |
543 | end | |
544 | ParticleEmitter0.Enabled=false | |
545 | supermode=true | |
546 | cananim=true | |
547 | attacking=false | |
548 | end | |
549 | end | |
550 | ||
551 | ||
552 | ||
553 | ||
554 | ||
555 | ||
556 | ||
557 | ||
558 | ||
559 | ||
560 | ||
561 | function swait(t) | |
562 | if t == nil or t == 0 then | |
563 | game:service('RunService').Stepped:wait(0) | |
564 | return true | |
565 | else | |
566 | for i = 0, t do | |
567 | game:service('RunService').Stepped:wait(0) | |
568 | end | |
569 | return true | |
570 | end | |
571 | end | |
572 | ||
573 | function scream() | |
574 | sound("rbxassetid://444895479",false,5.3509586219885250102) | |
575 | cananim = false | |
576 | for i=0,1.5, 0.1 do | |
577 | swait() | |
578 | end | |
579 | ||
580 | attacking=true | |
581 | for i=0,1.5, 0.1 do | |
582 | swait() | |
583 | end | |
584 | wait() | |
585 | cananim = true | |
586 | attacking=false | |
587 | end | |
588 | ||
589 | ||
590 | spawn(function() | |
591 | while swait() do | |
592 | if animpose=="Idle" then | |
593 | for i=0,0.1,0.0025 do | |
594 | if animpose == "Idle" and cananim then | |
595 | swait() | |
596 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.500000238, 0.500000238, -2.38418579e-07, 0.000574484526, -0.0482845455, -0.998833477, -0.00805476494, 0.998800993, -0.0482876077, 0.999967396, 0.0080731092, 0.000184875054),i) | |
597 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.50000006, 0.500000238, 0, -0.000810533762, 0.0540908612, 0.998535693, -0.00984518789, 0.998487175, -0.0540962256, -0.999951184, -0.00987461861, -0.000276772887),i) | |
598 | else | |
599 | break | |
600 | end | |
601 | end | |
602 | for i=0,0.1,0.0025 do | |
603 | if animpose == "Idle" and cananim then | |
604 | swait() | |
605 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.50000006, 0.50000006, -9.47312119e-16, -4.35179714e-08, -0.0939683169, -0.99557513, -4.10748546e-09, 0.99557513, -0.0939683169, 1, 0, -4.37113883e-08),i) | |
606 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, -1.77635684e-15, -4.34464624e-08, 0.109930925, 0.993939221, 4.80523354e-09, 0.993939221, -0.109930925, -1, 0, -4.37113883e-08),i) | |
607 | else | |
608 | break | |
609 | end | |
610 | end | |
611 | end | |
612 | end | |
613 | end) | |
614 | ||
615 | while swait() do | |
616 | num = num + 0.05 | |
617 | local sin = math.sin(num) | |
618 | if animpose == "Falling" and cananim then | |
619 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.089640595, 0.995974183, 0, 0.995974183, 0.089640595),0.2) | |
620 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 0.940049231, 0.240459353, -4.37113883e-08, 0, -1, 0.0583860278, 0.998294055, -2.55213428e-09, 0.998294055, -0.0583860278, -4.36368204e-08),0.2) | |
621 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0.144062787, 0.989568532, 6.29718455e-09, -0.989568532, 0.144062787, -4.32554152e-08),0.2) | |
622 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.635436773, 0, -4.28449951e-08, -0.198112398, -0.98017925, -8.65976801e-09, 0.98017925, -0.198112398, 1, 0, -4.37113883e-08),0.2) | |
623 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.599987805, 0, -4.26205062e-08, 0.222013503, 0.975043535, 9.70451808e-09, 0.975043535, -0.222013503, -1, 0, -4.37113883e-08),0.2) | |
624 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.231759518, 0.972773135, 0, 0.972773135, 0.231759518),0.2) | |
625 | end | |
626 | ||
627 | ||
628 | if animpose == "Idle" and cananim then | |
629 | for i=0,0.1,0.001 do | |
630 | if animpose == "Idle" and cananim then | |
631 | swait() | |
632 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0.200000048, 0, -0.98480767, -0.173648626, 0, 0, 0, 1, -0.173648626, 0.98480767, 0),i) | |
633 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.506504774, 0.77988106, 0.0818042755, 0.00300081098, -0.0723684728, -0.997373462, -0.186295643, 0.979876935, -0.0716594532, 0.982489169, 0.186021373, -0.0105415061),i) | |
634 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.485123575, 0.800115585, 0.135903358, -0.000153154135, -0.00734659936, 0.999972999, -0.0196102634, 0.999780715, 0.0073421835, -0.999807715, -0.0196086094, -0.000297189312),i) | |
635 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -0.98480767, 0.173648402, 0, 0, 0, 1, 0.173648402, 0.98480767, 0),i) | |
636 | i=i/2 | |
637 | else | |
638 | break | |
639 | end | |
640 | end | |
641 | for i=0,0.1,0.001 do | |
642 | if animpose == "Idle" and cananim then | |
643 | swait() | |
644 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.98480767, -0.173648626, 0, 0, 0, 1, -0.173648626, 0.98480767, 0),i) | |
645 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.49999994, 1, 0, -4.3619707e-08, -0.0647336245, -0.997902572, -0.143231794, 0.98761338, -0.0640661567, 0.989689171, 0.142931372, -0.00927195605),i) | |
646 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1.00000012, 0.0391067117, -4.37113883e-08, 0, 1, -0.0612497553, 0.998122454, -2.67731193e-09, -0.998122454, -0.0612497553, -4.3629317e-08),i) | |
647 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -0.98480767, 0.173648402, 0, 0, 0, 1, 0.173648402, 0.98480767, 0),i) | |
648 | i=i/2 | |
649 | else | |
650 | break | |
651 | end | |
652 | end | |
653 | end | |
654 | if animpose == "Running" and cananim then | |
655 | for i = 0, 0.25, 0.01 do | |
656 | if animpose == "Running" and cananim then | |
657 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.0358745977, 0.99935627, 0, 0.99935627, 0.0358745977),i) | |
658 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 0.999999821, 8.94069672e-08, -4.37113883e-08, 0, -1, 0.342020363, 0.939692557, -1.49501851e-08, 0.939692557, -0.342020363, -4.10752676e-08),i) | |
659 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1.00000024, 5.96046448e-08, -4.37113883e-08, 0, 1, 0.500000179, 0.866025269, 2.18557012e-08, -0.866025269, 0.500000179, -3.78551661e-08),i) | |
660 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.5, -2.98023224e-08, -4.37113883e-08, 0, -1, -0.5, 0.866025388, 2.18556941e-08, 0.866025388, 0.5, -3.78551732e-08),i) | |
661 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, -1.49011612e-08, -4.37113883e-08, 0, 1, -0.5, 0.866025388, -2.18556941e-08, -0.866025388, -0.5, -3.78551732e-08),i) | |
662 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.106743492, 0.994286597, 0, 0.994286597, 0.106743492),i) | |
663 | swait() | |
664 | i=i/i*1.5 | |
665 | else | |
666 | break | |
667 | end | |
668 | end | |
669 | for i = 0, 0.25, 0.01 do | |
670 | if animpose == "Running" and cananim then | |
671 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -0.999985278, 0, -0.00542885857, -0.00542835938, -0.0135572571, 0.999893367, -7.36004295e-05, 0.99990809, 0.0135570578),i) | |
672 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.5, 0.999999821, -1.1920929e-07, -4.37113883e-08, 0, -1, -0.499999791, 0.866025567, 2.18556853e-08, 0.866025567, 0.499999791, -3.78551803e-08),i) | |
673 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1.00000012, -2.38418579e-07, -4.37113883e-08, 0, 1, -0.342020005, 0.939692616, -1.49501691e-08, -0.939692616, -0.342020005, -4.10752676e-08),i) | |
674 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.483990371, 0.00582697988, -4.37113883e-08, 0, -1, 0.57357651, 0.819151998, -2.50718255e-08, 0.819151998, -0.57357651, -3.58062699e-08),i) | |
675 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.49999997, -2.98023224e-08, -4.37113883e-08, 0, 1, 0.500000179, 0.866025329, 2.18557012e-08, -0.866025329, 0.500000179, -3.78551697e-08),i) | |
676 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.103604339, 0.994618595, 0, 0.994618595, 0.103604339),i) | |
677 | swait() | |
678 | i=i/i*1.5 | |
679 | else | |
680 | break | |
681 | end | |
682 | end | |
683 | end | |
684 | ||
685 | if animpose == "Jumping" and cananim then | |
686 | Torso.C1 = Torso.C1:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.082511276, 0.996590137, 0, 0.996590137, 0.082511276),0.2) | |
687 | LeftLeg.C1 = LeftLeg.C1:lerp(CFrame.new(-0.495160788, 0.605178833, 0.315436631, 0.00363327051, -0.0117048975, -0.999924898, -0.296433508, 0.95497489, -0.012255826, 0.955046594, 0.296455771, -4.17464108e-08),0.2) | |
688 | RightLeg.C1 = RightLeg.C1:lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0.10612049, 0.994353294, 4.63867389e-09, -0.994353294, 0.10612049, -4.34645635e-08),0.2) | |
689 | LeftArm.C1 = LeftArm.C1:lerp(CFrame.new(0.5, 0.5, 0, -4.36747598e-08, -0.0409301594, -0.999162018, -1.78911408e-09, 0.999162018, -0.0409301594, 1, 0, -4.37113883e-08),0.2) | |
690 | RightArm.C1 = RightArm.C1:lerp(CFrame.new(-0.5, 0.5, 0, -4.36556142e-08, 0.0504997671, 0.998724043, 2.20741492e-09, 0.998724043, -0.0504997671, -1, 0, -4.37113883e-08),0.2) | |
691 | Head.C1 = Head.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.106113546, 0.99435401, 0, 0.99435401, -0.106113546),0.2) | |
692 | end | |
693 | end |