SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("use h/ and not hl/") end | |
2 | local Player,game,owner = owner,game | |
3 | local RealPlayer = Player | |
4 | do | |
5 | local rp = RealPlayer | |
6 | script.Parent = rp.Character | |
7 | ||
8 | local Event = Instance.new("RemoteEvent") | |
9 | Event.Name = "UserInput_Event" | |
10 | ||
11 | local function fakeEvent() | |
12 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
13 | t.connect = t.Connect | |
14 | return t | |
15 | end | |
16 | ||
17 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()} | |
18 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
19 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
20 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
21 | end} | |
22 | CAS.UnbindAction = CAS.BindAction | |
23 | local function te(self,ev,...) | |
24 | local t = m[ev] | |
25 | if t and t._fakeEvent then | |
26 | for _,f in pairs(t.Functions) do | |
27 | f(...) | |
28 | end | |
29 | end | |
30 | end | |
31 | m.TrigEvent = te | |
32 | UIS.TrigEvent = te | |
33 | ||
34 | Event.OnServerEvent:Connect(function(plr,io) | |
35 | if plr~=rp then return end | |
36 | m.Target = io.Target | |
37 | m.Hit = io.Hit | |
38 | if not io.isMouse then | |
39 | local b = io.UserInputState == Enum.UserInputState.Begin | |
40 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
41 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
42 | end | |
43 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
44 | return m:TrigEvent(b and "Button2Down" or "Button2Up") | |
45 | end | |
46 | for _,t in pairs(CAS.Actions) do | |
47 | for _,k in pairs(t.Keys) do | |
48 | if k==io.KeyCode then | |
49 | t.Function(t.Name,io.UserInputState,io) | |
50 | end | |
51 | end | |
52 | end | |
53 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
54 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
55 | end | |
56 | end) | |
57 | Event.Parent = NLS([==[ | |
58 | local Player = game:GetService("Players").LocalPlayer | |
59 | local Event = script:WaitForChild("UserInput_Event") | |
60 | local Mouse = Player:GetMouse() | |
61 | local UIS = game:GetService("UserInputService") | |
62 | local input = function(io,a) | |
63 | if a then return end | |
64 | --Since InputObject is a client-side instance, we create and pass table instead | |
65 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
66 | end | |
67 | UIS.InputBegan:Connect(input) | |
68 | UIS.InputEnded:Connect(input) | |
69 | local h,t | |
70 | while wait(1/30) do | |
71 | if h~=Mouse.Hit or t~=Mouse.Target then | |
72 | h,t=Mouse.Hit,Mouse.Target | |
73 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
74 | end | |
75 | end]==],Player.Character) | |
76 | ||
77 | local _rg = game | |
78 | ||
79 | local fsmt = { | |
80 | __index = function(self,k) | |
81 | local s = rawget(self,"_RealService") | |
82 | if s then | |
83 | return typeof(s[k])=="function" | |
84 | and function(_,...)return s[k](s,...)end or s[k] | |
85 | end | |
86 | end, | |
87 | __newindex = function(self,k,v) | |
88 | local s = rawget(self,"_RealService") | |
89 | if s then s[k]=v end | |
90 | end | |
91 | } | |
92 | local function FakeService(t,RealService) | |
93 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
94 | return setmetatable(t,fsmt) | |
95 | end | |
96 | local g = { | |
97 | GetService = function(self,s) | |
98 | return rawget(self,s) or _rg:GetService(s) | |
99 | end, | |
100 | Players = FakeService({ | |
101 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
102 | },"Players"), | |
103 | UserInputService = FakeService(UIS,"UserInputService"), | |
104 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
105 | RunService = FakeService({ | |
106 | _btrs = {}, | |
107 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
108 | BindToRenderStep = function(self,name,_,fun) | |
109 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
110 | end, | |
111 | UnbindFromRenderStep = function(self,name) | |
112 | self._btrs[name]:Disconnect() | |
113 | end, | |
114 | },"RunService") | |
115 | } | |
116 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
117 | g.service = g.GetService | |
118 | FakeService(g,game) | |
119 | game,owner = g,g.Players.LocalPlayer | |
120 | end | |
121 | wait(2) | |
122 | local darius = true | |
123 | local grab8 = false | |
124 | local throw1 = 5 | |
125 | local throw2 = 5 | |
126 | local grabon3 = false | |
127 | local grabon4 = false | |
128 | local jkl = 1 | |
129 | local throw = 5 | |
130 | local grab1 = false | |
131 | local goo1 = 0 | |
132 | local punching = false | |
133 | local jk = false | |
134 | ||
135 | local grabon3 = false | |
136 | local grabon2 = false | |
137 | local grabon1 = false | |
138 | local goo = 0 | |
139 | local grabon = false | |
140 | local on = false | |
141 | local poon = false | |
142 | local clickon = false | |
143 | local beamknockback = 0 | |
144 | local beamdamage = 0.001 | |
145 | local hited1 = false | |
146 | local hited = false | |
147 | local kamesize = 1 | |
148 | local kamehameha = false | |
149 | local walksound = "rbxassetid://908473722" | |
150 | local aj1 = 1 | |
151 | local can = 5 | |
152 | local go = true | |
153 | local bomb = false | |
154 | local point = false | |
155 | local walkon = false | |
156 | local nohit = 0 | |
157 | local moving = false | |
158 | local combodamage = 1 | |
159 | local ssj22 = false | |
160 | local fly = false | |
161 | local ssbkaiox10 = false | |
162 | local ssbkaio = false | |
163 | local auracan3 = true | |
164 | local ssbon = false | |
165 | local base = true | |
166 | local new=Instance.new | |
167 | local rad=math.rad | |
168 | local cf=CFrame.new | |
169 | local v3=Vector3.new | |
170 | local hitmeter = 0 | |
171 | ssj33 = false | |
172 | local ang=function(x,y,z) | |
173 | return CFrame.Angles(rad(x),rad(y),rad(z)) | |
174 | end | |
175 | local player=game:service'Players'.LocalPlayer | |
176 | local char=player.Character | |
177 | local cam=workspace.Camera | |
178 | local mouse=player:GetMouse() | |
179 | local weld=function(a,b,c0,c1) | |
180 | m=Instance.new('Motor',a) | |
181 | m.Part0=a | |
182 | m.Part1=b | |
183 | m.C0=c0 | |
184 | m.C1=c1 | |
185 | return m | |
186 | end | |
187 | ||
188 | ||
189 | beamm=Instance.new('Model',workspace) | |
190 | beamm.Name='beam' | |
191 | ||
192 | laser=false | |
193 | ||
194 | rs=Instance.new('Part',char) | |
195 | rs.Transparency=1 | |
196 | rs.CanCollide=false | |
197 | rs.TopSurface,rs.BottomSurface=0,0 | |
198 | rs.FormFactor=3 | |
199 | rs.Size=Vector3.new(.5,.5,.5) | |
200 | ||
201 | ls=rs:Clone() | |
202 | ls.Parent=char | |
203 | ||
204 | ||
205 | ||
206 | s1=Instance.new('Sound',char) | |
207 | s1.Volume=1 | |
208 | s1.Pitch=1 | |
209 | s1.Looped=true | |
210 | ||
211 | ||
212 | particles={} | |
213 | ||
214 | local wep=new('Part',char) | |
215 | ||
216 | wep.FormFactor=3 | |
217 | wep.Transparency = 1 | |
218 | wep.CanCollide=false | |
219 | wep.Size=v3(0.1,0.1,0.1) | |
220 | wep.TopSurface,wep.BottomSurface=0,0 | |
221 | local wepw=weld(wep,char['Torso'],cf(0,2,0),ang(95,0,0)) | |
222 | ||
223 | ||
224 | local beam1=wep:Clone() | |
225 | beam1:ClearAllChildren() | |
226 | beam1.Material='Neon' | |
227 | beam1.BrickColor=BrickColor.new('Bright blue') | |
228 | beam1.Size=Vector3.new(1,1,1) | |
229 | beam1.Transparency=0 | |
230 | beam1.Anchored=true | |
231 | local ms=Instance.new('BlockMesh',beam1) | |
232 | local inner1=beam1:Clone() | |
233 | inner1.Transparency=1 | |
234 | inner1.Material='SmoothPlastic' | |
235 | inner1.BrickColor=BrickColor.new('Bright blue') | |
236 | local ms2=inner1.Mesh | |
237 | ||
238 | local expl1=inner1:Clone() | |
239 | expl1.Mesh:Destroy() | |
240 | expl1.Material='Neon' | |
241 | expl1.BrickColor=BrickColor.new('Bright blue') | |
242 | expl1.Size=Vector3.new(5,5,5) | |
243 | expl1.Transparency=0 | |
244 | pl=Instance.new('PointLight',expl1) | |
245 | pl.Color=expl1.BrickColor.Color | |
246 | pl.Range=pl.Range*2 | |
247 | pl.Name='light' | |
248 | local br=pl.Range | |
249 | ||
250 | local exa1=expl1:Clone() | |
251 | exa1.Size=Vector3.new(10,10,10) | |
252 | pl2=exa1.light | |
253 | ||
254 | local part=exa1:Clone() | |
255 | part.Size=Vector3.new(1.5,1.5,1.5) | |
256 | pl3=part.light | |
257 | pms=Instance.new('BlockMesh',part) | |
258 | ||
259 | char.Humanoid.Died:connect(function() | |
260 | laser=false | |
261 | beam1.Parent=nil | |
262 | inner1.Parent=nil | |
263 | expl1.Parent=nil | |
264 | exa1.Parent=nil | |
265 | s1:stop() | |
266 | end) | |
267 | ||
268 | ||
269 | ||
270 | parti=0 | |
271 | game:service'RunService'.Stepped:connect(function() | |
272 | parti=parti+1 | |
273 | for i,v in pairs(particles) do | |
274 | v.CFrame=v.CFrame*CFrame.new(0,0,-.3) | |
275 | v.Transparency=v.Transparency+.08 | |
276 | if v.Transparency >= 1 then | |
277 | v:Destroy() | |
278 | table.remove(particles,i) | |
279 | else | |
280 | v.Parent=beamm | |
281 | end | |
282 | end | |
283 | ||
284 | a=cam.CoordinateFrame.p | |
285 | b=mouse.Hit.p | |
286 | mhitr=Ray.new(a,(b-a).unit*999) | |
287 | mhit,ps=workspace:FindPartOnRayWithIgnoreList(mhitr,{char,beamm}) | |
288 | ||
289 | ||
290 | if laser then | |
291 | beamm.Parent=workspace | |
292 | beam1.Parent=beamm | |
293 | inner1.Parent=beamm | |
294 | expl1.Parent=beamm | |
295 | exa1.Parent=beamm | |
296 | s1.Volume=s1.Volume-0.0034 | |
297 | ||
298 | ray=Ray.new((wep.CFrame*cf(0,-1.5,0)).p,((wep.CFrame*cf(0,-10,0)).p-(wep.CFrame*cf(0,-1.5,0)).p).unit*999) | |
299 | hit,pos=workspace:FindPartOnRayWithIgnoreList(ray,{char,beamm}) | |
300 | ||
301 | if hit and s1.Volume > .3 and parti/8==math.floor(parti/8) and hit ~= workspace.Base then | |
302 | if hit.Parent:IsA("Model") and hit ~= hit.Parent:FindFirstChild("Humanoid") and hit ~= hit.Parent:FindFirstChild("Torso") and hit ~= hit.Parent:FindFirstChild("Head") and hit ~= hit.Parent:FindFirstChild("Left Arm") and hit ~= hit.Parent:FindFirstChild("Right Arm") and hit ~= hit.Parent:FindFirstChild("Left Leg") and hit ~= hit.Parent:FindFirstChild("Right Leg") then | |
303 | hit.Parent:BreakJoints() | |
304 | hit.Anchored = false | |
305 | wait() | |
306 | ||
307 | hit.Position = hit.Position + Vector3.new(0,1,0) | |
308 | block = Instance.new("BodyForce",hit) | |
309 | block.Force = beam1.CFrame.lookVector | |
310 | s1.Volume=s1.Volume+0.0034 | |
311 | end | |
312 | if hit:IsA("Part") and hit ~= hit.Parent:FindFirstChild("Humanoid") and hit ~= hit.Parent:FindFirstChild("Torso") and hit ~= hit.Parent:FindFirstChild("Head") and hit ~= hit.Parent:FindFirstChild("Left Arm") and hit ~= hit.Parent:FindFirstChild("Right Arm") and hit ~= hit.Parent:FindFirstChild("Left Leg") and hit ~= hit.Parent:FindFirstChild("Left Arm") then | |
313 | ||
314 | hit.Anchored = false | |
315 | wait() | |
316 | ||
317 | hit.Position = hit.Position + Vector3.new(0,1,0) | |
318 | block = Instance.new("BodyForce",hit) | |
319 | block.Force = beam1.CFrame.lookVector | |
320 | s1.Volume=s1.Volume+0.0034 | |
321 | end | |
322 | end | |
323 | if hit and hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
324 | if hited == true then | |
325 | hited = false | |
326 | hited1 = true | |
327 | on = true | |
328 | human = hit.Parent:FindFirstChild("Humanoid") | |
329 | ts = hit.Parent:FindFirstChild("Torso") | |
330 | s1.Volume=s1.Volume+0.0034 | |
331 | welld = Instance.new("Weld",hit) | |
332 | welld.Part0 = beam1 | |
333 | welld.Part1 = ts | |
334 | welld.C0 = CFrame.new(beam1.Position.x,beam1.Position.y,ts.Position.z) | |
335 | part6 = Instance.new("Part",hit) | |
336 | part6.Size = Vector3.new(1,1,1) | |
337 | part6.Transparency = 0 | |
338 | part6.Position = hit.Position | |
339 | part6.BrickColor = BrickColor.new("Toothpaste") | |
340 | partmesh = Instance.new("SpecialMesh",part6) | |
341 | partmesh.MeshType = "Sphere" | |
342 | partmesh.Scale = Vector3.new(1,1,1) | |
343 | partweld1 = Instance.new("Weld",hit) | |
344 | partweld1.Part0 = hit.Parent:FindFirstChild("Torso") | |
345 | partweld1.Part1 = part6 | |
346 | partweld1.C0 = CFrame.new(0,0,0) | |
347 | if human.Health > 100 then | |
348 | human.MaxHealth = 100 | |
349 | human.Health = 100 | |
350 | ||
351 | end | |
352 | ||
353 | ||
354 | ||
355 | ||
356 | for i = 1,100 do | |
357 | wait() | |
358 | partmesh.Scale = partmesh.Scale + Vector3.new(7,7,7) | |
359 | part6.Transparency = part6.Transparency + 0.05 | |
360 | end | |
361 | end | |
362 | end | |
363 | if hit and hit.Parent==workspace.Terrain or hit==workspace.Terrain and parti/8==math.floor(parti/8) then | |
364 | e=Instance.new('Explosion',workspace) | |
365 | e.Position=pos | |
366 | e.BlastRadius=14 | |
367 | e.BlastPressure=1e4 | |
368 | end | |
369 | if hit and not hit.Anchored and not (hit:GetMass()>1e4) then | |
370 | hit.Velocity=hit.Velocity+beam1.CFrame.lookVector*(1*s1.Volume*hit:GetMass()) | |
371 | end | |
372 | ||
373 | if parti==math.floor(parti) then | |
374 | par=part:Clone() | |
375 | table.insert(particles,par) | |
376 | par.Parent=beamm | |
377 | par.Transparency=1-s1.Volume | |
378 | par.light.Range=br*s1.Volume | |
379 | par.CFrame=cf(pos)*ang(math.random(-180,180),math.random(-180,180),math.random(-180,180))*cf(10,10,10) | |
380 | end | |
381 | ||
382 | mag=((wep.CFrame*cf(0,-1.5,0)).p-pos).magnitude | |
383 | ms.Scale=v3(s1.Volume,s1.Volume,mag) | |
384 | ms2.Scale=v3(ms.Scale.x/2,ms.Scale.y/2,mag-(.1/mag)) | |
385 | beam1.CFrame=cf((wep.CFrame*cf(0,-1.5,0)).p,pos)*cf(0,0,-mag/2)*ang(0,0,math.random(0,180)) | |
386 | inner1.CFrame=beam1.CFrame | |
387 | pl.Range=br*s1.Volume | |
388 | pl2.Range=br*s1.Volume | |
389 | expl1.Size=v3(6,6,6)*s1.Volume | |
390 | expl1.Transparency=0 | |
391 | expl1.CFrame=cf(pos)*ang(math.random(0,180),math.random(0,180),math.random(0,180)) | |
392 | exa1.Size=v3(5,5,5)*s1.Volume | |
393 | exa1.CFrame=wep.CFrame*cf(0,-1.5,0)*ang(math.random(0,180),math.random(0,180),math.random(0,180)) | |
394 | ||
395 | end | |
396 | end) | |
397 | local p = game.Players.LocalPlayer | |
398 | local ssj = true | |
399 | local ssb = true | |
400 | ||
401 | local auracan = false | |
402 | local auracan1 = false | |
403 | local ssj2 = false | |
404 | local ssj3 = false | |
405 | local ssjg = false | |
406 | local ssjb = false | |
407 | local kaio = true | |
408 | local idle = true | |
409 | local idle1 = true | |
410 | local char = p.Character | |
411 | local mouse = p:GetMouse() | |
412 | local larm = char["Left Arm"] | |
413 | local rarm = char["Right Arm"] | |
414 | local lleg = char["Left Leg"] | |
415 | local rleg = char["Right Leg"] | |
416 | local hed = char.Head | |
417 | local torso = char.Torso | |
418 | hed.face:Destroy() | |
419 | local hum = char.Humanoid | |
420 | hum.Name = "idk" | |
421 | hum.JumpPower = 100 | |
422 | ||
423 | wait() | |
424 | local cam = game.Workspace.CurrentCamera | |
425 | local root = char.HumanoidRootPart | |
426 | local deb = false | |
427 | local shot = 0 | |
428 | local walk = true | |
429 | local debris=game:service"Debris" | |
430 | local l = game:GetService("Lighting") | |
431 | local rs = game:GetService("RunService").RenderStepped | |
432 | local canattack = true | |
433 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
434 | function lerp(a, b, t) -- Linear interpolation | |
435 | return a + (b - a)*t | |
436 | end | |
437 | ||
438 | function slerp(a, b, t) --Spherical interpolation | |
439 | dot = a:Dot(b) | |
440 | if dot > 0.99999 or dot < -0.99999 then | |
441 | return t <= 0.5 and a or b | |
442 | else | |
443 | r = math.acos(dot) | |
444 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
445 | end | |
446 | end | |
447 | function matrixInterpolate(a, b, t) | |
448 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
449 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
450 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
451 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
452 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
453 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
454 | local t = v1:Dot(v2) | |
455 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
456 | return CFrame.new() | |
457 | end | |
458 | return CFrame.new( | |
459 | v0.x, v0.y, v0.z, | |
460 | v1.x, v1.y, v1.z, | |
461 | v2.x, v2.y, v2.z, | |
462 | v3.x, v3.y, v3.z) | |
463 | end | |
464 | ---------------------------------------------------- | |
465 | function genWeld(a,b) | |
466 | local w = Instance.new("Weld",a) | |
467 | w.Part0 = a | |
468 | w.Part1 = b | |
469 | return w | |
470 | end | |
471 | function weld(a, b) | |
472 | local weld = Instance.new("Weld") | |
473 | weld.Name = "W" | |
474 | weld.Part0 = a | |
475 | weld.Part1 = b | |
476 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
477 | weld.Parent = a | |
478 | return weld; | |
479 | end | |
480 | ---------------------------------------------------- | |
481 | function Lerp(c1,c2,al) | |
482 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
483 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
484 | for i,v in pairs(com1) do | |
485 | com1[i] = v+(com2[i]-v)*al | |
486 | end | |
487 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
488 | end | |
489 | ---------------------------------------------------- | |
490 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
491 | local wld = Instance.new("Weld", wp1) | |
492 | wld.Part0 = wp0 | |
493 | wld.Part1 = wp1 | |
494 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
495 | end | |
496 | hum.MaxHealth = math.huge | |
497 | wait() | |
498 | hum.Health = math.huge | |
499 | ---------------------------------------------------- | |
500 | function weld5(part0, part1, c0, c1) | |
501 | weeld=Instance.new("Weld", part0) | |
502 | weeld.Part0=part0 | |
503 | weeld.Part1=part1 | |
504 | weeld.C0=c0 | |
505 | weeld.C1=c1 | |
506 | return weeld | |
507 | end | |
508 | ---------------------------------------------------- | |
509 | function HasntTouched(plrname) | |
510 | local ret = true | |
511 | for _, v in pairs(Touche) do | |
512 | if v == plrname then | |
513 | ret = false | |
514 | end | |
515 | end | |
516 | return ret | |
517 | end | |
518 | newWeld(torso, larm, -1.5, 0.5, 0) | |
519 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
520 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
521 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
522 | newWeld(torso, hed, 0, 1.5, 0) | |
523 | newWeld(torso, lleg, -0.5, -1, 0) | |
524 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
525 | newWeld(torso, rleg, 0.5, -1, 0) | |
526 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
527 | newWeld(root, torso, 0, -1, 0) | |
528 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
529 | local block = Instance.new("Part",torso) | |
530 | block.Size = Vector3.new(0.1,0.1,0.1) | |
531 | block.Position = block.Position + Vector3.new(2,2,2) | |
532 | block.Transparency = 1 | |
533 | local weld = Instance.new("Weld",torso) | |
534 | weld.Part0 = torso | |
535 | weld.Part1 = block | |
536 | weld.C0 = CFrame.new(0,5,0) | |
537 | local block2 = Instance.new("Part",torso) | |
538 | block2.Size = Vector3.new(3,2,1) | |
539 | block2.CanCollide = false | |
540 | block2.Position = block.Position + Vector3.new(2,2,2) | |
541 | block2.Transparency = 1 | |
542 | local weld2 = Instance.new("Weld",torso) | |
543 | weld2.Part0 = torso | |
544 | weld2.Part1 = block2 | |
545 | weld2.C0 = CFrame.new(0,-1.5,0) | |
546 | local part2 = Instance.new("ParticleEmitter",block) | |
547 | part2.Lifetime = NumberRange.new(5) | |
548 | part2.Speed = NumberRange.new(0) | |
549 | part2.Size = NumberSequence.new(11) | |
550 | part2.Transparency = NumberSequence.new(1) | |
551 | part2.LockedToPart = true | |
552 | part2.Rate = 3 | |
553 | part2.Texture = "http://www.roblox.com/asset/?id=894173257" | |
554 | part2.ZOffset = -3 | |
555 | local model = Instance.new("Model",torso) | |
556 | local part3 = Instance.new("ParticleEmitter",block2) | |
557 | part3.Lifetime = NumberRange.new(1) | |
558 | part3.Speed = NumberRange.new(5) | |
559 | part3.Transparency = NumberSequence.new(1) | |
560 | part3.Size = NumberSequence.new(0.5) | |
561 | part3.LockedToPart = true | |
562 | part3.Rate = 40 | |
563 | part3.Texture = "http://www.roblox.com/asset/?id=549349471" | |
564 | part3.ZOffset = 3 | |
565 | part3.SpreadAngle = Vector2.new(50,50) | |
566 | ypcall(function() | |
567 | shirt = Instance.new("Shirt", char) | |
568 | shirt.Name = "Shirt" | |
569 | pants = Instance.new("Pants", char) | |
570 | pants.Name = "Pants" | |
571 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1488400985" | |
572 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1488404117" | |
573 | end) | |
574 | for i,v in pairs(char:children()) do | |
575 | if v:IsA("Accessory") then | |
576 | v:Destroy() | |
577 | end | |
578 | end | |
579 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown") | |
580 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown") | |
581 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown") | |
582 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown") | |
583 | Hair99 = Instance.new("Part") | |
584 | ||
585 | Hair99.Parent = p.Character | |
586 | Hair99.Name = "Hair" | |
587 | Hair99.formFactor = "Symmetric" | |
588 | Hair99.Size = Vector3.new(1, 1, 1) | |
589 | Hair99.CFrame = p.Character.Head.CFrame | |
590 | Hair99:BreakJoints() | |
591 | Hair99.CanCollide = false | |
592 | Hair99.TopSurface = "Smooth" | |
593 | Hair99.BottomSurface = "Smooth" | |
594 | Hair99.BrickColor = BrickColor.new("New Yeller") | |
595 | Hair99.Transparency = 1 | |
596 | ||
597 | Weld = Instance.new("Weld") | |
598 | Weld.Part0 = p.Character.Head | |
599 | Weld.Part1 = Hair99 | |
600 | Weld.Parent = p.Character.Head | |
601 | Weld.C0 = CFrame.new(0, 0.26, 0.06)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
602 | ||
603 | Hair7 = Instance.new("Part") | |
604 | Hair7.Parent = p.Character | |
605 | Hair7.Name = "Hair" | |
606 | Hair7.CanCollide = false | |
607 | Hair7.Locked = true | |
608 | Hair7.TopSurface = "Smooth" | |
609 | Hair7.BottomSurface = "Smooth" | |
610 | Hair7.formFactor = "Symmetric" | |
611 | Hair7.Material = "Neon" | |
612 | Hair7.BrickColor = BrickColor.new("Black") | |
613 | Hair7.CFrame = p.Character.Torso.CFrame | |
614 | Hair7.Size = Vector3.new(1, 1, 1) | |
615 | Hair7.Transparency = 0 | |
616 | ||
617 | Mesh = Instance.new("SpecialMesh") | |
618 | Mesh.Parent = Hair99 | |
619 | Mesh.MeshType = "Sphere" | |
620 | Mesh.Offset = Vector3.new(0, 0.1, 0.1) | |
621 | Mesh.Scale = Vector3.new(1.2, 1.2, 1.2) | |
622 | ||
623 | ||
624 | Weld1 = Instance.new("Weld") | |
625 | Weld1.Parent = p.Character.Head | |
626 | Weld1.Part0 = p.Character.Head | |
627 | Weld1.Part1 = Hair7 | |
628 | Weld1.C0 = CFrame.new(0, 1, 0) | |
629 | ||
630 | Mesh = Instance.new("SpecialMesh") | |
631 | Mesh.Offset = Vector3.new(0.2, -0.2, 0.2) | |
632 | Mesh.Parent = Hair7 | |
633 | Mesh.Scale = Vector3.new(1, 1, 1) | |
634 | Mesh.MeshType = "FileMesh" | |
635 | Mesh.MeshId = "http://www.roblox.com/asset/?id=476757756" | |
636 | Mesh.TextureId = "" | |
637 | ||
638 | ----------------------------------------------------- | |
639 | ||
640 | ||
641 | GroundWave1 = function() | |
642 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
643 | ||
644 | local wave = Instance.new("Part", torso) | |
645 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
646 | wave.Anchored = true | |
647 | wave.CanCollide = false | |
648 | wave.Locked = true | |
649 | wave.Size = Vector3.new(1, 1, 1) | |
650 | wave.TopSurface = "Smooth" | |
651 | wave.BottomSurface = "Smooth" | |
652 | wave.Transparency = 0.35 | |
653 | wave.CFrame = HandCF | |
654 | wm = Instance.new("SpecialMesh", wave) | |
655 | wm.MeshId = "rbxassetid://3270017" | |
656 | coroutine.wrap(function() | |
657 | for i = 1, 30, 1 do | |
658 | wm.Scale = Vector3.new(3 + i*3.2, 3 + i*3.2, 3) | |
659 | wave.Size = wm.Scale | |
660 | wave.CFrame = HandCF | |
661 | wave.Transparency = i/30 | |
662 | wait() | |
663 | end | |
664 | wait() | |
665 | wave:Destroy() | |
666 | end)() | |
667 | end | |
668 | GroundWave2 = function() | |
669 | local HandCF = CFrame.new(spirit1.Position + Vector3.new(0,11,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
670 | ||
671 | local wave = Instance.new("Part", spirit1) | |
672 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
673 | wave.Anchored = true | |
674 | wave.CanCollide = false | |
675 | wave.Locked = true | |
676 | wave.Size = Vector3.new(1, 1, 1) | |
677 | wave.TopSurface = "Smooth" | |
678 | wave.BottomSurface = "Smooth" | |
679 | wave.Transparency = 0.35 | |
680 | wave.CFrame = HandCF | |
681 | wm = Instance.new("SpecialMesh", wave) | |
682 | wm.MeshId = "rbxassetid://3270017" | |
683 | coroutine.wrap(function() | |
684 | for i = 1, 30, 1 do | |
685 | wm.Scale = Vector3.new(8 + i*8.2, 3 + i*8.2, 8) | |
686 | wave.Size = wm.Scale | |
687 | wave.CFrame = HandCF | |
688 | wave.Transparency = i/30 | |
689 | wait() | |
690 | end | |
691 | wait() | |
692 | wave:Destroy() | |
693 | end)() | |
694 | end | |
695 | --combat | |
696 | local grab = false | |
697 | function misssound() | |
698 | z = Instance.new("Sound",char) | |
699 | z.Volume = 4 | |
700 | z.Looped = false | |
701 | z.SoundId = "rbxassetid://137579113" | |
702 | z:Play() | |
703 | end | |
704 | function strongsound() | |
705 | z = Instance.new("Sound",char) | |
706 | z.Volume = 4 | |
707 | z.Looped = false | |
708 | z.SoundId = "rbxassetid://896242278" | |
709 | z:Play() | |
710 | end | |
711 | function punches() | |
712 | for i = 1, 10 do | |
713 | wait() | |
714 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-20),math.rad(0)), 0.4) | |
715 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 0.2) | |
716 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.2) | |
717 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.2) | |
718 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-15)), 0.4) | |
719 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 0.4) | |
720 | end | |
721 | for i = 1, 10 do | |
722 | wait() | |
723 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 0.4) | |
724 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.2) | |
725 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.2) | |
726 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
727 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.4) | |
728 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 0.4) | |
729 | end | |
730 | end | |
731 | function fastpunches() | |
732 | ||
733 | wait(0.01) | |
734 | misssound() | |
735 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-20),math.rad(0)), 1) | |
736 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 1) | |
737 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 1) | |
738 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 1) | |
739 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-15)), 1) | |
740 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 1) | |
741 | ||
742 | wait(0.01) | |
743 | misssound() | |
744 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 1) | |
745 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 1) | |
746 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 1) | |
747 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), 1) | |
748 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 1) | |
749 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 1) | |
750 | wait(0.01) | |
751 | misssound() | |
752 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-20),math.rad(0)), 1) | |
753 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 1) | |
754 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 1) | |
755 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 1) | |
756 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-15)), 1) | |
757 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 1) | |
758 | ||
759 | wait(0.01) | |
760 | misssound() | |
761 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 1) | |
762 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 1) | |
763 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 1) | |
764 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), 1) | |
765 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 1) | |
766 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 1) | |
767 | wait(0.01) | |
768 | misssound() | |
769 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-20),math.rad(0)), 1) | |
770 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 1) | |
771 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 1) | |
772 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 1) | |
773 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-15)), 1) | |
774 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 1) | |
775 | ||
776 | wait(0.01) | |
777 | misssound() | |
778 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 1) | |
779 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 1) | |
780 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 1) | |
781 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), 1) | |
782 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 1) | |
783 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 1) | |
784 | wait(0.01) | |
785 | misssound() | |
786 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-20),math.rad(0)), 1) | |
787 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 1) | |
788 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 1) | |
789 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 1) | |
790 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-15)), 1) | |
791 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 1) | |
792 | ||
793 | wait(0.01) | |
794 | misssound() | |
795 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 1) | |
796 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 1) | |
797 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 1) | |
798 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), 1) | |
799 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 1) | |
800 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 1) | |
801 | wait(0.01) | |
802 | misssound() | |
803 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-20),math.rad(0)), 1) | |
804 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 1) | |
805 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 1) | |
806 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 1) | |
807 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-15)), 1) | |
808 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 1) | |
809 | ||
810 | wait(0.01) | |
811 | misssound() | |
812 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 1) | |
813 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 1) | |
814 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 1) | |
815 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), 1) | |
816 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 1) | |
817 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 1) | |
818 | wait(0.01) | |
819 | misssound() | |
820 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-20),math.rad(0)), 1) | |
821 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 1) | |
822 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 1) | |
823 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 1) | |
824 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-15)), 1) | |
825 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 1) | |
826 | ||
827 | wait(0.01) | |
828 | misssound() | |
829 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 1) | |
830 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 1) | |
831 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 1) | |
832 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), 1) | |
833 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 1) | |
834 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 1) | |
835 | wait(0.01) | |
836 | misssound() | |
837 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-20),math.rad(0)), 1) | |
838 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 1) | |
839 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 1) | |
840 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 1) | |
841 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-15)), 1) | |
842 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 1) | |
843 | ||
844 | wait(0.01) | |
845 | misssound() | |
846 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 1) | |
847 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 1) | |
848 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 1) | |
849 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), 1) | |
850 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 1) | |
851 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 1) | |
852 | wait(0.01) | |
853 | misssound() | |
854 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-20),math.rad(0)), 1) | |
855 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 1) | |
856 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 1) | |
857 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 1) | |
858 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-15)), 1) | |
859 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 1) | |
860 | ||
861 | wait(0.01) | |
862 | misssound() | |
863 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 1) | |
864 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 1) | |
865 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 1) | |
866 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), 1) | |
867 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 1) | |
868 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(15)), 1) | |
869 | ||
870 | end | |
871 | function kick() | |
872 | for i = 1, 20 do | |
873 | wait() | |
874 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(75),math.rad(0)), 0.4) | |
875 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-80), math.rad(0)), 0.2) | |
876 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(40)), 0.2) | |
877 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-40)), 0.2) | |
878 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4) | |
879 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
880 | end | |
881 | ||
882 | end | |
883 | function strongpunchanim() | |
884 | strongsound() | |
885 | for i = 1, 15 do | |
886 | wait() | |
887 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
888 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(0)), 0.2) | |
889 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,.8)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2) | |
890 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-20)), 0.2) | |
891 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.8, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-10)), 0.4) | |
892 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(10)), 0.4) | |
893 | end | |
894 | ||
895 | for i = 1, 15 do | |
896 | wait() | |
897 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-70),math.rad(0)), 0.4) | |
898 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(70), math.rad(0)), 0.2) | |
899 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.2) | |
900 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-20)), 0.2) | |
901 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.8, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), 0.4) | |
902 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(10)), 0.4) | |
903 | end | |
904 | ||
905 | end | |
906 | ||
907 | ||
908 | function gramanim() | |
909 | for i = 1, 20 do | |
910 | wait() | |
911 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
912 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)--torso | |
913 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.2)--rarm | |
914 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-90)), 0.2)--larm | |
915 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--lleg | |
916 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--rleg | |
917 | end | |
918 | for i = 1, 20 do | |
919 | wait() | |
920 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
921 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)--torso | |
922 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.2)--rarm | |
923 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2)--larm | |
924 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--lleg | |
925 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--rleg | |
926 | end | |
927 | end | |
928 | ||
929 | ||
930 | ||
931 | ||
932 | ||
933 | mouse.KeyDown:connect(function(key) | |
934 | if key == "c" then | |
935 | z1 = Instance.new("Sound",char) | |
936 | z1.Volume = 10 | |
937 | z1.Looped = false | |
938 | z1.SoundId = "rbxassetid://1174605674" | |
939 | z1:Play() | |
940 | wait(7) | |
941 | z1:Pause() | |
942 | if ssj == true then | |
943 | if canattack == true then | |
944 | combodamage = 3 | |
945 | aura.Color = ColorSequence.new(Color3.new(255,255,0)) | |
946 | idle = false | |
947 | base = false | |
948 | idle1 = false | |
949 | canattack = false | |
950 | ssj = false | |
951 | wait(0.1) | |
952 | ||
953 | ||
954 | for i = 1, 20 do | |
955 | wait() | |
956 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)--head | |
957 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)--torso | |
958 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.6,-0.6)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-90)), 0.5)--arm | |
959 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.8,0.6,-.6)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.5)--arm | |
960 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.5)--leg | |
961 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.5)--leg | |
962 | end | |
963 | ||
964 | z1 = Instance.new("Sound",char) | |
965 | z1.Volume = 10 | |
966 | z1.Looped = false | |
967 | z1.SoundId = "rbxassetid://740811119" | |
968 | z1:Play() | |
969 | ||
970 | z1 = Instance.new("Sound",char) | |
971 | z1.Volume = 10 | |
972 | z1.Looped = false | |
973 | z1.SoundId = "rbxassetid://1174605674" | |
974 | z1:Play() | |
975 | ||
976 | ||
977 | ||
978 | Colors = {"New Yeller", "New Yeller"} | |
979 | GroundWave1() | |
980 | ball.BrickColor = BrickColor.new("New Yeller") | |
981 | ballmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
982 | ball.Transparency = 0 | |
983 | ||
984 | wait() | |
985 | zh = Instance.new("Sound",char) | |
986 | zh.Volume = 1 | |
987 | zh.Looped = true | |
988 | zh.SoundId = "rbxassetid://891397456" | |
989 | zh:Play() | |
990 | aura.Transparency = NumberSequence.new(0) | |
991 | auracan = true | |
992 | Mesh.MeshId = "rbxassetid://430344159" | |
993 | Mesh.Scale = Vector3.new(6,6,6) | |
994 | Weld1.C0 = CFrame.new(-.25, 1.2, .34) | |
995 | Hair7.BrickColor = BrickColor.new("New Yeller") | |
996 | wait(2) | |
997 | idle = true | |
998 | idle1 = true | |
999 | canattack = true | |
1000 | ssj2 = true | |
1001 | end | |
1002 | end | |
1003 | end | |
1004 | mouse.KeyDown:connect(function(key) | |
1005 | if key == "c" then | |
1006 | wait(1) | |
1007 | z1:Resume() | |
1008 | wait(12) | |
1009 | z1:Pause() | |
1010 | if ssj2 == true then | |
1011 | if canattack == true then | |
1012 | combodamage = 6 | |
1013 | idle = false | |
1014 | idle1 = false | |
1015 | canattack = false | |
1016 | wait(0.1) | |
1017 | for i = 1, 20 do | |
1018 | ||
1019 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
1020 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)--torso | |
1021 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-30)), 0.2)--arm | |
1022 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(30)), 0.2)--arm | |
1023 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)--leg | |
1024 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.4)--leg | |
1025 | end | |
1026 | z1 = Instance.new("Sound",char) | |
1027 | z1.Volume = 10 | |
1028 | z1.Looped = false | |
1029 | z1.SoundId = "rbxassetid://740811119" | |
1030 | z1:Play() | |
1031 | for i = 1, 5 do | |
1032 | wait() | |
1033 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.3,.2)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.4)--head | |
1034 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)--torso | |
1035 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(60)), 0.2)--arm | |
1036 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(-60)), 0.2)--arm | |
1037 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.4)--leg | |
1038 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4)--leg | |
1039 | end | |
1040 | ||
1041 | ||
1042 | ||
1043 | aura.Transparency = NumberSequence.new(0) | |
1044 | aura1.Transparency = NumberSequence.new(0) | |
1045 | auracan1 = true | |
1046 | ||
1047 | auracan = false | |
1048 | zh:Destroy() | |
1049 | Colors = {"New Yeller", "New Yeller"} | |
1050 | GroundWave1() | |
1051 | wait() | |
1052 | ||
1053 | ball.BrickColor = BrickColor.new("New Yeller") | |
1054 | ballmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
1055 | ball.Transparency = 0 | |
1056 | ||
1057 | wait() | |
1058 | zh = Instance.new("Sound",char) | |
1059 | zh.Volume = 1 | |
1060 | zh.Looped =true | |
1061 | zh.SoundId = "rbxassetid://850205092" | |
1062 | zh:Play() | |
1063 | Mesh.MeshId = "rbxassetid://560718478" | |
1064 | Mesh.Scale = Vector3.new(6,6,6) | |
1065 | Weld1.C0 = CFrame.new(-.25, 1.2, .34) | |
1066 | Hair7.BrickColor = BrickColor.new("New Yeller") | |
1067 | wait(2) | |
1068 | idle = true | |
1069 | idle1 = true | |
1070 | canattack = true | |
1071 | ssj3 = true | |
1072 | ssj2 = false | |
1073 | end | |
1074 | end | |
1075 | end | |
1076 | mouse.KeyDown:connect(function(key) | |
1077 | if key == "c" then | |
1078 | z1:Play() | |
1079 | if ssj3 == true then | |
1080 | if canattack == true then | |
1081 | idle = false | |
1082 | idle1 = false | |
1083 | canattack = false | |
1084 | combodamage = 10 | |
1085 | wait(0.1) | |
1086 | Colors = {"New Yeller", "New Yeller"} | |
1087 | GroundWave1() | |
1088 | Colors = {"New Yeller", "New Yeller"} | |
1089 | GroundWave1() | |
1090 | for i = 1, 20 do | |
1091 | wait() | |
1092 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.4)--head | |
1093 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)--torso | |
1094 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2)--rarm | |
1095 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-10)), 0.2)--larm | |
1096 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), 0.4)--lleg | |
1097 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)--rleg | |
1098 | end | |
1099 | Colors = {"New Yeller", "New Yeller"} | |
1100 | GroundWave1() | |
1101 | Colors = {"New Yeller", "New Yeller"} | |
1102 | GroundWave1() | |
1103 | Colors = {"New Yeller", "New Yeller"} | |
1104 | GroundWave1() | |
1105 | wait(1) | |
1106 | Colors = {"New Yeller", "New Yeller"} | |
1107 | GroundWave1() | |
1108 | z1.Ended:Wait() | |
1109 | z1 = Instance.new("Sound",char) | |
1110 | z1.Volume = 10 | |
1111 | z1.Looped = false | |
1112 | z1.SoundId = "rbxassetid://740811119" | |
1113 | z1:Play() | |
1114 | Colors = {"New Yeller", "New Yeller"} | |
1115 | GroundWave1() | |
1116 | for i = 1, 5 do | |
1117 | wait() | |
1118 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.4)--head | |
1119 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)--torso | |
1120 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2)--rarm | |
1121 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-10)), 0.2)--larm | |
1122 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), 0.4)--lleg | |
1123 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)--rleg | |
1124 | end | |
1125 | Colors = {"New Yeller", "New Yeller"} | |
1126 | GroundWave1() | |
1127 | ||
1128 | Colors = {"New Yeller", "New Yeller"} | |
1129 | GroundWave1() | |
1130 | ball.BrickColor = BrickColor.new("New Yeller") | |
1131 | ballmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
1132 | ball.Transparency = 0 | |
1133 | Mesh.Scale = Vector3.new(6,6,6) | |
1134 | Weld1.C0 = CFrame.new(-.25, 1.2, .34) | |
1135 | Mesh.MeshId = "rbxassetid://430344159" | |
1136 | wait() | |
1137 | ||
1138 | ||
1139 | ||
1140 | Hair71 = Instance.new("Part") | |
1141 | Hair71.Parent = p.Character | |
1142 | Hair71.Name = "Hair1" | |
1143 | Hair71.CanCollide = false | |
1144 | Hair71.Locked = true | |
1145 | Hair71.TopSurface = "Smooth" | |
1146 | Hair71.BottomSurface = "Smooth" | |
1147 | Hair71.formFactor = "Symmetric" | |
1148 | Hair71.Material = "Neon" | |
1149 | Hair71.BrickColor = BrickColor.new("New Yeller") | |
1150 | Hair71.CFrame = p.Character.Torso.CFrame | |
1151 | Hair71.Size = Vector3.new(1, 1, 1) | |
1152 | Hair71.Transparency = 0 | |
1153 | ||
1154 | Mesh1 = Instance.new("SpecialMesh") | |
1155 | Mesh1.Parent = Hair991 | |
1156 | Mesh1.MeshType = "Sphere" | |
1157 | Mesh1.Offset = Vector3.new(0, 0.1, 0.1) | |
1158 | Mesh1.Scale = Vector3.new(1.2, 1.2, 1.2) | |
1159 | ||
1160 | ||
1161 | Hair71.BrickColor = BrickColor.new("New Yeller") | |
1162 | ||
1163 | Weld11 = Instance.new("Weld",char.Hair1) | |
1164 | Weld11.Parent = p.Character.Head | |
1165 | Weld11.Part0 = p.Character.Head | |
1166 | Weld11.Part1 = Hair71 | |
1167 | Weld11.C0 = CFrame.new(-.25, -1, 1.5) | |
1168 | ||
1169 | Mesh1 = Instance.new("SpecialMesh",Mesh1) | |
1170 | Mesh1.Offset = Vector3.new(0.2, -0.2, 0.2) | |
1171 | Mesh1.Parent = Hair71 | |
1172 | ||
1173 | Mesh1.MeshType = "FileMesh" | |
1174 | Mesh1.MeshId = "rbxassetid://560193297" | |
1175 | Mesh1.Scale = Vector3.new(7,6,6) | |
1176 | Mesh1.TextureId = "" | |
1177 | wait(2) | |
1178 | ssj33 = true | |
1179 | idle = true | |
1180 | idle1 = true | |
1181 | canattack = true | |
1182 | ssj3 = false | |
1183 | end | |
1184 | end | |
1185 | end | |
1186 | end) | |
1187 | aurapart = Instance.new("Part",char) | |
1188 | aurapart.Size = Vector3.new(0.1,0.1,0.1) | |
1189 | aurapart.Transparency = 1 | |
1190 | aurapart.CanCollide = false | |
1191 | aurapart.Position = Vector3.new(0,2,0) | |
1192 | auraweld = Instance.new("Weld",char) | |
1193 | auraweld.Part0 = aurapart | |
1194 | auraweld.Part1 = torso | |
1195 | auraweld.C0 = CFrame.new(0,-2,0) | |
1196 | aura = Instance.new("ParticleEmitter",aurapart) | |
1197 | aura.Transparency = NumberSequence.new(1) | |
1198 | aura.Size = NumberSequence.new(8) | |
1199 | aura.Speed = NumberRange.new(0) | |
1200 | aura.LockedToPart = true | |
1201 | aura.Rate = 2 | |
1202 | aura.Lifetime = NumberRange.new(5) | |
1203 | aura.ZOffset = -2 | |
1204 | aura1 = Instance.new("ParticleEmitter",torso) | |
1205 | aura1.Transparency = NumberSequence.new(1) | |
1206 | aura1.Size = NumberSequence.new(5) | |
1207 | aura1.Speed = NumberRange.new(0) | |
1208 | aura1.Lifetime = NumberRange.new(5) | |
1209 | aura1.LockedToPart = true | |
1210 | aura1.Rate = 1.5 | |
1211 | ||
1212 | aura1.ZOffset = 2 | |
1213 | aura1.Lifetime = NumberRange.new(3) | |
1214 | aurapart3 = Instance.new("Part",char) | |
1215 | aurapart3.Size = Vector3.new(0.1,0.1,0.1) | |
1216 | aurapart3.Position = Vector3.new(0,2,0) | |
1217 | aurapart3.Transparency = 1 | |
1218 | aurapart3.CanCollide = false | |
1219 | auraweld3 = Instance.new("Weld",char) | |
1220 | auraweld3.Part0 = aurapart3 | |
1221 | auraweld3.Part1 = torso | |
1222 | auraweld3.C0 = CFrame.new(0,-7,0) | |
1223 | aura3 = Instance.new("ParticleEmitter",aurapart3) | |
1224 | aura3.Transparency = NumberSequence.new(1) | |
1225 | aura3.Color = ColorSequence.new(Color3.new(255,0,255)) | |
1226 | aura3.Size = NumberSequence.new(14) | |
1227 | aura3.Speed = NumberRange.new(0) | |
1228 | aura3.LockedToPart = true | |
1229 | aura3.Rate = 5 | |
1230 | aura3.Lifetime = NumberRange.new(5) | |
1231 | aura3.ZOffset = -5 | |
1232 | ||
1233 | mouse.KeyDown:connect(function(key) | |
1234 | if key == "b" then | |
1235 | if ssb == true then | |
1236 | if canattack == true then | |
1237 | idle = false | |
1238 | base = false | |
1239 | ||
1240 | combodamage = 18 | |
1241 | ssbon = true | |
1242 | ssb = false | |
1243 | ssj = false | |
1244 | ssj2 = false | |
1245 | ssj3 = false | |
1246 | ssj33 = false | |
1247 | idle1 = false | |
1248 | Colors = {"Toothpaste", "Toothpaste"} | |
1249 | canattack = false | |
1250 | wait(0.1) | |
1251 | ||
1252 | for i = 1, 20 do | |
1253 | ||
1254 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
1255 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)--torso | |
1256 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-30)), 0.2)--arm | |
1257 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(30)), 0.2)--arm | |
1258 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)--leg | |
1259 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.4)--leg | |
1260 | end | |
1261 | z1 = Instance.new("Sound",char) | |
1262 | z1.Volume = 10 | |
1263 | z1.Looped = false | |
1264 | z1.SoundId = "rbxassetid://740811119" | |
1265 | z1:Play() | |
1266 | ||
1267 | Mesh.MeshId = "rbxassetid://430344159" | |
1268 | Mesh.Scale = Vector3.new(6,6,6) | |
1269 | Weld1.C0 = CFrame.new(-.25, 1.2, .34) | |
1270 | Hair7.BrickColor = BrickColor.new("Toothpaste") | |
1271 | for i = 1, 5 do | |
1272 | wait() | |
1273 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.3,.2)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.4)--head | |
1274 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)--torso | |
1275 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(60)), 0.2)--arm | |
1276 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(-60)), 0.2)--arm | |
1277 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.4)--leg | |
1278 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4)--leg | |
1279 | end | |
1280 | ||
1281 | ||
1282 | ||
1283 | zh = Instance.new("Sound",char) | |
1284 | zh.Volume = 1 | |
1285 | zh.Looped = true | |
1286 | zh.SoundId = "rbxassetid://600060450" | |
1287 | zh:Play() | |
1288 | ball.BrickColor = BrickColor.new("Toothpaste") | |
1289 | ballmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
1290 | ball.Transparency = 0 | |
1291 | GroundWave1() | |
1292 | wait(0.3) | |
1293 | ||
1294 | ball.BrickColor = BrickColor.new("Toothpaste") | |
1295 | ballmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
1296 | ball.Transparency = 0 | |
1297 | GroundWave1() | |
1298 | wait(0.3) | |
1299 | ball.BrickColor = BrickColor.new("Toothpaste") | |
1300 | ballmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
1301 | ball.Transparency = 0 | |
1302 | GroundWave1() | |
1303 | wait(0.3) | |
1304 | ball.BrickColor = BrickColor.new("Toothpaste") | |
1305 | ballmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
1306 | ball.Transparency = 0 | |
1307 | GroundWave1() | |
1308 | wait(0.3) | |
1309 | GroundWave1() | |
1310 | part2.Transparency = NumberSequence.new(0) | |
1311 | part3.Transparency = NumberSequence.new(0) | |
1312 | wait(0.4) | |
1313 | idle = true | |
1314 | idle1 = true | |
1315 | canattack = true | |
1316 | ||
1317 | ||
1318 | end | |
1319 | end | |
1320 | end | |
1321 | end) | |
1322 | ||
1323 | ||
1324 | mouse.KeyDown:connect(function(Key) | |
1325 | if Key == "r" then | |
1326 | if canattack == true then | |
1327 | ||
1328 | ||
1329 | kamehamehaon = true | |
1330 | ||
1331 | idle = false | |
1332 | ||
1333 | idle1 = false | |
1334 | canattack = false | |
1335 | hum.WalkSpeed = 0 | |
1336 | z2 = Instance.new("Sound",char) | |
1337 | z2.Volume = 3 | |
1338 | z2.Looped = false | |
1339 | z2.SoundId = "rbxassetid://908489666" | |
1340 | z2:Play() | |
1341 | ||
1342 | ||
1343 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)), 1)--head | |
1344 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0)), 1)--torso | |
1345 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,0)*CFrame.Angles(math.rad(30),math.rad(-40),math.rad(-10)), 1)--rarm | |
1346 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.2,-0.2)*CFrame.Angles(math.rad(30),math.rad(40),math.rad(40)), 1)--larm | |
1347 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 1)--lleg | |
1348 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 1)--rleg | |
1349 | ||
1350 | partaura.Size = NumberSequence.new(0.1) | |
1351 | ||
1352 | partaura.Transparency = NumberSequence.new(0) | |
1353 | partaura1.Transparency = NumberSequence.new(0) | |
1354 | kamehameha = true | |
1355 | wait(5) | |
1356 | if kamehamehaon == true then | |
1357 | kamehamehaon = false | |
1358 | hited = true | |
1359 | wait(0.1) | |
1360 | point = true | |
1361 | kamehamehaon = false | |
1362 | kamehameha = false | |
1363 | ||
1364 | ||
1365 | ||
1366 | partaura.Transparency = NumberSequence.new(1) | |
1367 | partaura1.Transparency = NumberSequence.new(1) | |
1368 | z2:Stop() | |
1369 | z4 = Instance.new("Sound",char) | |
1370 | z4.Volume = 5 | |
1371 | z4.Looped = false | |
1372 | z4.SoundId = "rbxassetid://908474188" | |
1373 | z4:Play() | |
1374 | ||
1375 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--head | |
1376 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 1)--torso | |
1377 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.5,0)*CFrame.Angles(math.rad(95),math.rad(-10),math.rad(-20)), 1)--rarm | |
1378 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.5,-0.2)*CFrame.Angles(math.rad(75),math.rad(170),math.rad(-20)), 1)--larm | |
1379 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-10)), 1)--lleg | |
1380 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)), 1)--rleg | |
1381 | ||
1382 | ||
1383 | ||
1384 | ||
1385 | ||
1386 | laser = true | |
1387 | s1.Volume=1 | |
1388 | s1:play() | |
1389 | wait(5.4) | |
1390 | point = false | |
1391 | laser = false | |
1392 | beam1.Size = Vector3.new(1,1,1) | |
1393 | beam1.Parent=nil | |
1394 | inner1.Parent=nil | |
1395 | expl1.Parent=nil | |
1396 | ||
1397 | hited1 = false | |
1398 | exa1.Parent=nil | |
1399 | s1:stop() | |
1400 | ||
1401 | idle = true | |
1402 | canattack = true | |
1403 | idle1 = true | |
1404 | hum.WalkSpeed = 16 | |
1405 | ||
1406 | end | |
1407 | end | |
1408 | end | |
1409 | end) | |
1410 | mouse.KeyUp:connect(function(Key) | |
1411 | if Key == "r" then | |
1412 | if kamehamehaon == true then | |
1413 | hited = true | |
1414 | wait(0.1) | |
1415 | point = true | |
1416 | kamehamehaon = false | |
1417 | kamehameha = false | |
1418 | ||
1419 | ||
1420 | ||
1421 | partaura.Transparency = NumberSequence.new(1) | |
1422 | partaura1.Transparency = NumberSequence.new(1) | |
1423 | z2:Stop() | |
1424 | z4 = Instance.new("Sound",char) | |
1425 | z4.Volume = 5 | |
1426 | z4.Looped = false | |
1427 | z4.SoundId = "rbxassetid://908474188" | |
1428 | z4:Play() | |
1429 | ||
1430 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--head | |
1431 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 1)--torso | |
1432 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.5,0)*CFrame.Angles(math.rad(95),math.rad(-10),math.rad(-20)), 1)--rarm | |
1433 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.5,-0.2)*CFrame.Angles(math.rad(75),math.rad(170),math.rad(-20)), 1)--larm | |
1434 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-10)), 1)--lleg | |
1435 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)), 1)--rleg | |
1436 | ||
1437 | ||
1438 | ||
1439 | ||
1440 | ||
1441 | laser = true | |
1442 | s1.Volume=1 | |
1443 | s1:play() | |
1444 | wait(5.4) | |
1445 | point = false | |
1446 | laser = false | |
1447 | beam1.Size = Vector3.new(1,1,1) | |
1448 | beam1.Parent=nil | |
1449 | inner1.Parent=nil | |
1450 | expl1.Parent=nil | |
1451 | ||
1452 | hited1 = false | |
1453 | exa1.Parent=nil | |
1454 | s1:stop() | |
1455 | ||
1456 | idle = true | |
1457 | canattack = true | |
1458 | idle1 = true | |
1459 | hum.WalkSpeed = 16 | |
1460 | end | |
1461 | end | |
1462 | end) | |
1463 | ||
1464 | ||
1465 | mouse.KeyDown:connect(function(key) | |
1466 | if key == "x" then | |
1467 | if ssj33 == true then | |
1468 | aura.Transparency = NumberSequence.new(1) | |
1469 | ||
1470 | char.Hair1:Destroy() | |
1471 | zh:Destroy() | |
1472 | Mesh.Scale = Vector3.new(1, 1, 1) | |
1473 | Hair7.BrickColor = BrickColor.new("Black") | |
1474 | Mesh.MeshId = "http://www.roblox.com/asset/?id=476757756" | |
1475 | Weld1.C0 = CFrame.new(0,1, 0) | |
1476 | ||
1477 | ||
1478 | Weld1.C0 = CFrame.new(0,1, 0) | |
1479 | end | |
1480 | aura.Transparency = NumberSequence.new(1) | |
1481 | aura1.Transparency = NumberSequence.new(1) | |
1482 | base = true | |
1483 | part2.Transparency = NumberSequence.new(1) | |
1484 | part3.Transparency = NumberSequence.new(1) | |
1485 | ball.BrickColor = BrickColor.new("White") | |
1486 | ballmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
1487 | ball.Transparency = 0 | |
1488 | ||
1489 | zh:Destroy() | |
1490 | walksound = "rbxassetid://908473722" | |
1491 | ssbkaio = false | |
1492 | ssbon = false | |
1493 | wait() | |
1494 | zh = Instance.new("Sound",char) | |
1495 | zh.Volume = 10 | |
1496 | zh.Looped = false | |
1497 | zh.SoundId = "rbxassetid://700499285" | |
1498 | zh:Play() | |
1499 | aura3.Transparency = NumberSequence.new(1) | |
1500 | Colors = {"White", "White"} | |
1501 | can = 5 | |
1502 | GroundWave1() | |
1503 | wait(0.5) | |
1504 | Mesh.Scale = Vector3.new(1, 1, 1) | |
1505 | Hair7.BrickColor = BrickColor.new("Black") | |
1506 | Mesh.MeshId = "http://www.roblox.com/asset/?id=476757756" | |
1507 | Weld1.C0 = CFrame.new(0,1, 0) | |
1508 | ||
1509 | ssj = true | |
1510 | combodamage = 2 | |
1511 | ssb = true | |
1512 | ||
1513 | ssj2 = false | |
1514 | ssj3 = false | |
1515 | ssj33 = false | |
1516 | ||
1517 | ssbkaio = false | |
1518 | if ssbkaiox10 == true then | |
1519 | rarm1:Destroy() | |
1520 | larm1:Destroy() | |
1521 | torso1:Destroy() | |
1522 | lleg1:Destroy() | |
1523 | rleg1:Destroy() | |
1524 | rhed1:Destroy() | |
1525 | ssbkaiox10 = false | |
1526 | end | |
1527 | end | |
1528 | end) | |
1529 | ball = Instance.new("Part",char) | |
1530 | ball.Size = Vector3.new(1,1,1) | |
1531 | ||
1532 | ball.Position = Vector3.new(999,999,999) | |
1533 | ball.BrickColor = BrickColor.new("White") | |
1534 | ball.CanCollide = false | |
1535 | ballmesh = Instance.new("SpecialMesh",ball) | |
1536 | ballmesh.MeshType = "Sphere" | |
1537 | ballmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
1538 | ballweld = Instance.new("Weld",ball) | |
1539 | ballweld.Part0 = torso | |
1540 | ballweld.Part1 = ball | |
1541 | partt = Instance.new("Part",char) | |
1542 | partt.Position = Vector3.new(999,999,999) | |
1543 | partt.Transparency = 1 | |
1544 | partt.CanCollide = false | |
1545 | partt.Size = Vector3.new(0.1,0.1,0.1) | |
1546 | partweld = Instance.new("Weld",partt) | |
1547 | partweld.Part0 = torso | |
1548 | partweld.Part1 = partt | |
1549 | partweld.C0 = CFrame.new(0.3,-.5,-1.5) | |
1550 | partaura = Instance.new("ParticleEmitter",partt) | |
1551 | partaura.Size = NumberSequence.new(2) | |
1552 | partaura.LockedToPart = true | |
1553 | ||
1554 | partaura.Transparency = NumberSequence.new(1) | |
1555 | partaura.Texture = "rbxassetid://547574922" | |
1556 | partaura.Speed = NumberRange.new(0) | |
1557 | partaura.Rate = 2 | |
1558 | partaura.ZOffset = 0 | |
1559 | partaura1 = Instance.new("ParticleEmitter",partt) | |
1560 | partaura1.Size = NumberSequence.new(5) | |
1561 | partaura1.LockedToPart = true | |
1562 | ||
1563 | partaura1.Transparency = NumberSequence.new(1) | |
1564 | partaura1.Texture = "http://www.roblox.com/asset/?id=243660364" | |
1565 | partaura1.Speed = NumberRange.new(0) | |
1566 | partaura1.Rate = 3 | |
1567 | partaura1.ZOffset = -1 | |
1568 | partaura1.Color = ColorSequence.new(Color3.new(0,255,255)) | |
1569 | partaura1.RotSpeed = NumberRange.new(-10,10) | |
1570 | partaura1.SpreadAngle = Vector2.new(360,360) | |
1571 | partaura1.Rotation = NumberRange.new(0,360) | |
1572 | aj = 0 | |
1573 | spirit = Instance.new("Part",char) | |
1574 | spirit.CanCollide = false | |
1575 | spirit.Size = Vector3.new(1,1,1) | |
1576 | spirit.Transparency = 1 | |
1577 | spirit.Position = Vector3.new(999,999,999) | |
1578 | spirit.BrickColor = BrickColor.new("Toothpaste") | |
1579 | spirit.Material = "Neon" | |
1580 | ||
1581 | ||
1582 | spirit1 = Instance.new("Part",char) | |
1583 | spirit1.CanCollide = false | |
1584 | spirit1.Size = Vector3.new(1,1,1) | |
1585 | spirit1.Transparency = 1 | |
1586 | spirit1.Position = Vector3.new(999,999,999) | |
1587 | spirit1.BrickColor = BrickColor.new("Toothpaste") | |
1588 | spirit1.Material = "Neon" | |
1589 | spirit1mesh = Instance.new("SpecialMesh",spirit1) | |
1590 | spirit1mesh.MeshType = "Sphere" | |
1591 | spirit1mesh.Scale = Vector3.new(1,1,1) | |
1592 | partweld7 = Instance.new("Weld",spirit1) | |
1593 | partweld7.Part0 = torso | |
1594 | partweld7.Part1 = spirit1 | |
1595 | partweld7.C0 = CFrame.new(0,40,0) | |
1596 | aj = 1 | |
1597 | spirit12 = Instance.new("Part",char) | |
1598 | spirit12.Name = "XD" | |
1599 | spirit12.CanCollide = false | |
1600 | spirit12.Size = Vector3.new(50,50,50) | |
1601 | spirit12.Transparency = 1 | |
1602 | spirit12.Position = spirit1.Position | |
1603 | spirit12.BrickColor = BrickColor.new("Toothpaste") | |
1604 | spirit12.Material = "Neon" | |
1605 | ||
1606 | ||
1607 | function touch122(hit) | |
1608 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1609 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1610 | if hit.Parent:findFirstChild("Humanoid").Health > 100 then | |
1611 | hit.Parent:findFirstChild("Humanoid").MaxHealth = 100 | |
1612 | hit.Parent:findFirstChild("Humanoid").Health = 100 | |
1613 | end | |
1614 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 25 | |
1615 | ||
1616 | ||
1617 | end | |
1618 | end | |
1619 | spirit12.Touched:connect(touch122) | |
1620 | ||
1621 | ||
1622 | mouse.KeyDown:connect(function(key) | |
1623 | if key == "t" then | |
1624 | if base == true then | |
1625 | if canattack == true then | |
1626 | if clickon == true then | |
1627 | jk = true | |
1628 | clickon=false | |
1629 | end | |
1630 | idle = false | |
1631 | ||
1632 | ||
1633 | idle1 = false | |
1634 | canattack = false | |
1635 | wait(0.5) | |
1636 | hum.WalkSpeed = 0 | |
1637 | ||
1638 | for i = 1, 20 do | |
1639 | wait() | |
1640 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)--head | |
1641 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 10, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)--torso | |
1642 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-180),math.rad(0),math.rad(20)), 0.3)--rarm | |
1643 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-180),math.rad(0),math.rad(-20)), 0.3)--larm | |
1644 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)--lleg | |
1645 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)--rleg | |
1646 | end | |
1647 | z142 = Instance.new("Sound",char) | |
1648 | z142.Volume = 10 | |
1649 | z142.Looped = false | |
1650 | z142.SoundId = "rbxassetid://919429799" | |
1651 | z142:Play() | |
1652 | spirit1.Transparency = 0 | |
1653 | ||
1654 | go = false | |
1655 | ||
1656 | ||
1657 | wait(9) | |
1658 | ||
1659 | for i = 1, 20 do | |
1660 | wait() | |
1661 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.1)--head | |
1662 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 10, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.1)--torso | |
1663 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(20)), 0.1)--rarm | |
1664 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(-20)), 0.1)--larm | |
1665 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(-20)), 0.1)--lleg | |
1666 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(20)), 0.1)--rleg | |
1667 | end | |
1668 | ||
1669 | go = true | |
1670 | ||
1671 | z142.Volume = z142.Volume - 0.5 | |
1672 | ||
1673 | ||
1674 | ||
1675 | for i = 1,10 do | |
1676 | wait() | |
1677 | partweld7.C0 = partweld7.C0 - Vector3.new(0,0.7,2) | |
1678 | end | |
1679 | z142.Volume = z142.Volume - 0.5 | |
1680 | spirit12 = Instance.new("Part",char) | |
1681 | spirit12.Name = "XD" | |
1682 | spirit12.CanCollide = false | |
1683 | spirit12.Size = Vector3.new(60,60,60) | |
1684 | spirit12.Transparency = 1 | |
1685 | spirit12.Position = spirit1.Position | |
1686 | spirit12.BrickColor = BrickColor.new("Toothpaste") | |
1687 | spirit12.Material = "Neon" | |
1688 | ||
1689 | function touch122(hit) | |
1690 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1691 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1692 | if hit.Parent:findFirstChild("Humanoid").Health > 100 then | |
1693 | hit.Parent:findFirstChild("Humanoid").MaxHealth = 100 | |
1694 | hit.Parent:findFirstChild("Humanoid").Health = 100 | |
1695 | end | |
1696 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 25 | |
1697 | ||
1698 | ||
1699 | end | |
1700 | end | |
1701 | for i = 1,10 do | |
1702 | wait() | |
1703 | partweld7.C0 = partweld7.C0 - Vector3.new(0,0.7,2) | |
1704 | end | |
1705 | z142.Volume = z142.Volume - 0.5 | |
1706 | spirit12 = Instance.new("Part",char) | |
1707 | spirit12.Name = "XD" | |
1708 | spirit12.CanCollide = false | |
1709 | spirit12.Size = Vector3.new(60,60,60) | |
1710 | spirit12.Transparency = 1 | |
1711 | spirit12.Position = spirit1.Position | |
1712 | spirit12.BrickColor = BrickColor.new("Toothpaste") | |
1713 | spirit12.Material = "Neon" | |
1714 | ||
1715 | function touch122(hit) | |
1716 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1717 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1718 | ||
1719 | if hit.Parent:findFirstChild("Humanoid").Health > 100 then | |
1720 | hit.Parent:findFirstChild("Humanoid").MaxHealth = 100 | |
1721 | hit.Parent:findFirstChild("Humanoid").Health = 100 | |
1722 | end | |
1723 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 25 | |
1724 | ||
1725 | end | |
1726 | end | |
1727 | for i = 1,10 do | |
1728 | wait() | |
1729 | partweld7.C0 = partweld7.C0 - Vector3.new(0,0.7,2) | |
1730 | end | |
1731 | z142.Volume = z142.Volume - 0.5 | |
1732 | spirit12 = Instance.new("Part",char) | |
1733 | spirit12.Name = "XD" | |
1734 | spirit12.CanCollide = false | |
1735 | spirit12.Size = Vector3.new(60,60,60) | |
1736 | spirit12.Transparency = 1 | |
1737 | spirit12.Position = spirit1.Position | |
1738 | spirit12.BrickColor = BrickColor.new("Toothpaste") | |
1739 | spirit12.Material = "Neon" | |
1740 | ||
1741 | function touch122(hit) | |
1742 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1743 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1744 | if hit.Parent:findFirstChild("Humanoid").Health > 100 then | |
1745 | hit.Parent:findFirstChild("Humanoid").MaxHealth = 100 | |
1746 | hit.Parent:findFirstChild("Humanoid").Health = 100 | |
1747 | end | |
1748 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 25 | |
1749 | ||
1750 | ||
1751 | end | |
1752 | end | |
1753 | for i = 1,10 do | |
1754 | wait() | |
1755 | partweld7.C0 = partweld7.C0 - Vector3.new(0,0.7,2) | |
1756 | end | |
1757 | z142.Volume = z142.Volume - 0.5 | |
1758 | z14 = Instance.new("Sound",char) | |
1759 | z14.Volume = 10 | |
1760 | z14.Looped = false | |
1761 | z14.SoundId = "rbxassetid://638861091" | |
1762 | z14:Play() | |
1763 | Colors = {"Toothpaste", "Toothpaste"} | |
1764 | GroundWave2() | |
1765 | spirit12 = Instance.new("Part",char) | |
1766 | spirit12.Name = "XD" | |
1767 | spirit12.CanCollide = false | |
1768 | spirit12.Size = Vector3.new(60,60,60) | |
1769 | spirit12.Transparency = 1 | |
1770 | spirit12.Position = spirit1.Position | |
1771 | spirit12.BrickColor = BrickColor.new("Toothpaste") | |
1772 | spirit12.Material = "Neon" | |
1773 | ||
1774 | function touch122(hit) | |
1775 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1776 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1777 | if hit.Parent:findFirstChild("Humanoid").Health > 100 then | |
1778 | hit.Parent:findFirstChild("Humanoid").MaxHealth = 100 | |
1779 | hit.Parent:findFirstChild("Humanoid").Health = 100 | |
1780 | end | |
1781 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 25 | |
1782 | ||
1783 | ||
1784 | end | |
1785 | end | |
1786 | z142.Volume = z142.Volume - 0.5 | |
1787 | spirit12 = Instance.new("Part",char) | |
1788 | spirit12.Name = "XD" | |
1789 | spirit12.CanCollide = false | |
1790 | spirit12.Size = Vector3.new(50,50,50) | |
1791 | spirit12.Transparency = 1 | |
1792 | spirit12.Position = spirit1.Position | |
1793 | spirit12.BrickColor = BrickColor.new("Toothpaste") | |
1794 | spirit12.Material = "Neon" | |
1795 | ||
1796 | function touch122(hit) | |
1797 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1798 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1799 | if hit.Parent:findFirstChild("Humanoid").Health > 100 then | |
1800 | hit.Parent:findFirstChild("Humanoid").MaxHealth = 100 | |
1801 | hit.Parent:findFirstChild("Humanoid").Health = 100 | |
1802 | end | |
1803 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 25 | |
1804 | ||
1805 | ||
1806 | end | |
1807 | end | |
1808 | spirit12.Touched:connect(touch122) | |
1809 | for i = 1,5 do | |
1810 | wait() | |
1811 | spirit1mesh.Scale = spirit1mesh.Scale + Vector3.new(5,5,5) | |
1812 | ||
1813 | end | |
1814 | z142.Volume = z142.Volume - 0.5 | |
1815 | Colors = {"Toothpaste", "Toothpaste"} | |
1816 | GroundWave2() | |
1817 | spirit12 = Instance.new("Part",char) | |
1818 | spirit12.Name = "XD" | |
1819 | spirit12.CanCollide = false | |
1820 | spirit12.Size = Vector3.new(50,50,50) | |
1821 | spirit12.Transparency = 1 | |
1822 | spirit12.Position = spirit1.Position | |
1823 | spirit12.BrickColor = BrickColor.new("Toothpaste") | |
1824 | spirit12.Material = "Neon" | |
1825 | ||
1826 | function touch122(hit) | |
1827 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1828 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1829 | if hit.Parent:findFirstChild("Humanoid").Health > 100 then | |
1830 | hit.Parent:findFirstChild("Humanoid").MaxHealth = 100 | |
1831 | hit.Parent:findFirstChild("Humanoid").Health = 100 | |
1832 | end | |
1833 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 25 | |
1834 | ||
1835 | ||
1836 | end | |
1837 | end | |
1838 | z142.Volume = z142.Volume - 0.5 | |
1839 | z142.Volume = z142.Volume - 0.5 | |
1840 | spirit12.Touched:connect(touch122) | |
1841 | for i = 1,5 do | |
1842 | wait() | |
1843 | spirit1mesh.Scale = spirit1mesh.Scale - Vector3.new(5,5,5) | |
1844 | end | |
1845 | z142.Volume = z142.Volume - 0.5 | |
1846 | spirit12 = Instance.new("Part",char) | |
1847 | spirit12.Name = "XD" | |
1848 | spirit12.CanCollide = false | |
1849 | spirit12.Size = Vector3.new(50,50,50) | |
1850 | spirit12.Transparency = 1 | |
1851 | spirit12.Position = spirit1.Position | |
1852 | spirit12.BrickColor = BrickColor.new("Toothpaste") | |
1853 | spirit12.Material = "Neon" | |
1854 | ||
1855 | function touch122(hit) | |
1856 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1857 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1858 | if hit.Parent:findFirstChild("Humanoid").Health > 100 then | |
1859 | hit.Parent:findFirstChild("Humanoid").MaxHealth = 100 | |
1860 | hit.Parent:findFirstChild("Humanoid").Health = 100 | |
1861 | end | |
1862 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 25 | |
1863 | ||
1864 | ||
1865 | end | |
1866 | end | |
1867 | z142.Volume = z142.Volume - 0.5 | |
1868 | spirit12.Touched:connect(touch122) | |
1869 | for i = 1,5 do | |
1870 | wait() | |
1871 | spirit1mesh.Scale = spirit1mesh.Scale + Vector3.new(5,5,5) | |
1872 | ||
1873 | end | |
1874 | z142.Volume = z142.Volume - 0.5 | |
1875 | Colors = {"Toothpaste", "Toothpaste"} | |
1876 | GroundWave2() | |
1877 | spirit12 = Instance.new("Part",char) | |
1878 | spirit12.Name = "XD" | |
1879 | spirit12.CanCollide = false | |
1880 | spirit12.Size = Vector3.new(50,50,50) | |
1881 | spirit12.Transparency = 1 | |
1882 | spirit12.Position = spirit1.Position | |
1883 | spirit12.BrickColor = BrickColor.new("Toothpaste") | |
1884 | spirit12.Material = "Neon" | |
1885 | ||
1886 | function touch122(hit) | |
1887 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1888 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1889 | if hit.Parent:findFirstChild("Humanoid").Health > 100 then | |
1890 | hit.Parent:findFirstChild("Humanoid").MaxHealth = 100 | |
1891 | hit.Parent:findFirstChild("Humanoid").Health = 100 | |
1892 | end | |
1893 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 25 | |
1894 | ||
1895 | ||
1896 | end | |
1897 | end | |
1898 | z142.Volume = z142.Volume - 0.5 | |
1899 | spirit12.Touched:connect(touch122) | |
1900 | for i = 1,5 do | |
1901 | wait() | |
1902 | spirit1mesh.Scale = spirit1mesh.Scale - Vector3.new(5,5,5) | |
1903 | end | |
1904 | z142.Volume = z142.Volume - 0.5 | |
1905 | Colors = {"Toothpaste", "Toothpaste"} | |
1906 | GroundWave2() | |
1907 | spirit12 = Instance.new("Part",char) | |
1908 | spirit12.Name = "XD" | |
1909 | spirit12.CanCollide = false | |
1910 | spirit12.Size = Vector3.new(50,50,50) | |
1911 | spirit12.Transparency = 1 | |
1912 | spirit12.Position = spirit1.Position | |
1913 | spirit12.BrickColor = BrickColor.new("Toothpaste") | |
1914 | spirit12.Material = "Neon" | |
1915 | ||
1916 | function touch122(hit) | |
1917 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1918 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1919 | if hit.Parent:findFirstChild("Humanoid").Health > 100 then | |
1920 | hit.Parent:findFirstChild("Humanoid").MaxHealth = 100 | |
1921 | hit.Parent:findFirstChild("Humanoid").Health = 100 | |
1922 | end | |
1923 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 25 | |
1924 | ||
1925 | ||
1926 | end | |
1927 | end | |
1928 | z142.Volume = z142.Volume - 0.5 | |
1929 | spirit12.Touched:connect(touch122) | |
1930 | for i = 1,5 do | |
1931 | wait() | |
1932 | spirit1mesh.Scale = spirit1mesh.Scale + Vector3.new(5,5,5) | |
1933 | ||
1934 | end | |
1935 | z142.Volume = z142.Volume - 0.5 | |
1936 | z142.Volume = z142.Volume - 0.5 | |
1937 | Colors = {"Toothpaste", "Toothpaste"} | |
1938 | GroundWave2() | |
1939 | spirit12 = Instance.new("Part",char) | |
1940 | spirit12.Name = "XD" | |
1941 | spirit12.CanCollide = false | |
1942 | spirit12.Size = Vector3.new(50,50,50) | |
1943 | spirit12.Transparency = 1 | |
1944 | spirit12.Position = spirit1.Position | |
1945 | spirit12.BrickColor = BrickColor.new("Toothpaste") | |
1946 | spirit12.Material = "Neon" | |
1947 | ||
1948 | z142.Volume = z142.Volume - 0.5 | |
1949 | function touch122(hit) | |
1950 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1951 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1952 | if hit.Parent:findFirstChild("Humanoid").Health > 100 then | |
1953 | hit.Parent:findFirstChild("Humanoid").MaxHealth = 100 | |
1954 | hit.Parent:findFirstChild("Humanoid").Health = 100 | |
1955 | end | |
1956 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 25 | |
1957 | ||
1958 | ||
1959 | end | |
1960 | end | |
1961 | spirit12.Touched:connect(touch122) | |
1962 | for i = 1,5 do | |
1963 | wait() | |
1964 | spirit1mesh.Scale = spirit1mesh.Scale - Vector3.new(5,5,5) | |
1965 | end | |
1966 | z142.Volume = z142.Volume - 0.5 | |
1967 | Colors = {"Toothpaste", "Toothpaste"} | |
1968 | GroundWave2() | |
1969 | spirit12 = Instance.new("Part",char) | |
1970 | spirit12.Name = "XD" | |
1971 | spirit12.CanCollide = false | |
1972 | spirit12.Size = Vector3.new(200,200,200) | |
1973 | spirit12.Transparency = 1 | |
1974 | spirit12.Position = spirit1.Position | |
1975 | spirit12.BrickColor = BrickColor.new("Toothpaste") | |
1976 | spirit12.Material = "Neon" | |
1977 | ||
1978 | function touch122(hit) | |
1979 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
1980 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
1981 | if hit.Parent:findFirstChild("Humanoid").Health > 100 then | |
1982 | hit.Parent:findFirstChild("Humanoid").MaxHealth = 100 | |
1983 | hit.Parent:findFirstChild("Humanoid").Health = 100 | |
1984 | end | |
1985 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 30 | |
1986 | ||
1987 | ||
1988 | end | |
1989 | end | |
1990 | spirit12.Touched:connect(touch122) | |
1991 | Colors = {"Toothpaste", "Toothpaste"} | |
1992 | GroundWave2() | |
1993 | ||
1994 | spirit12.Touched:connect(touch122) | |
1995 | for i = 1,50 do | |
1996 | wait() | |
1997 | spirit1mesh.Scale = spirit1mesh.Scale + Vector3.new(5,5,5) | |
1998 | ||
1999 | ||
2000 | end | |
2001 | z142.Volume = z142.Volume - 0.5 | |
2002 | z142:Destroy() | |
2003 | ||
2004 | ||
2005 | partweld7.C0 = CFrame.new(0,40,0) | |
2006 | spirit1.Transparency = 1 | |
2007 | aj = 1 | |
2008 | ||
2009 | wait(0.5) | |
2010 | idle = true | |
2011 | canattack = true | |
2012 | idle1 = true | |
2013 | wait(0.5) | |
2014 | if jk == true then | |
2015 | jk = false | |
2016 | clickon = true | |
2017 | end | |
2018 | hum.WalkSpeed = 16 | |
2019 | ||
2020 | end | |
2021 | end | |
2022 | end | |
2023 | end) | |
2024 | mouse.KeyDown:connect(function(key) | |
2025 | if key == "k" then | |
2026 | if ssj2 == true or ssj3 == true or ssj33 == true then | |
2027 | if canattack == true then | |
2028 | ||
2029 | idle = false | |
2030 | ||
2031 | idle1 = false | |
2032 | canattack = false | |
2033 | combodamage = 12 | |
2034 | z7 = Instance.new("Sound",char) | |
2035 | z7.Volume = 10 | |
2036 | z7.Looped = false | |
2037 | z7.SoundId = "rbxassetid://738749992" | |
2038 | z7:Play() | |
2039 | wait(1) | |
2040 | for i = 1, 20 do | |
2041 | wait() | |
2042 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
2043 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)--torso | |
2044 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-30)), 0.2)--arm | |
2045 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(30)), 0.2)--arm | |
2046 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)--leg | |
2047 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.4)--leg | |
2048 | end | |
2049 | wait(0.6) | |
2050 | for i = 1, 5 do | |
2051 | wait() | |
2052 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
2053 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 0.2)--torso | |
2054 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(10)), 0.2)--arm | |
2055 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-10)), 0.2)--arm | |
2056 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-10)), 0.4)--leg | |
2057 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(10)), 0.4)--leg | |
2058 | end | |
2059 | Colors = {"Really red", "Really red"} | |
2060 | GroundWave1() | |
2061 | aura.Color = ColorSequence.new(Color3.new(0,255,0)) | |
2062 | ball.BrickColor = BrickColor.new("Really red") | |
2063 | ballmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
2064 | ball.Transparency = 0 | |
2065 | ssbon = false | |
2066 | zh:Destroy() | |
2067 | wait() | |
2068 | ||
2069 | aura.Color = ColorSequence.new(Color3.new(255,0,0)) | |
2070 | ssj = false | |
2071 | ssj2 = false | |
2072 | ssj3 = false | |
2073 | aura1.Color = ColorSequence.new(Color3.new(255,0,0)) | |
2074 | Hair7.BrickColor = BrickColor.new("Really red") | |
2075 | if ssj33 == true then | |
2076 | Hair71.BrickColor = BrickColor.new("Really red") | |
2077 | ||
2078 | end | |
2079 | ||
2080 | wait(2) | |
2081 | idle = true | |
2082 | canattack = true | |
2083 | idle1 = true | |
2084 | end | |
2085 | end | |
2086 | end | |
2087 | end) | |
2088 | mouse.KeyDown:connect(function(key) | |
2089 | if key == "k" then | |
2090 | if ssbon == true then | |
2091 | if canattack == true then | |
2092 | idle = false | |
2093 | ssbkaio = true | |
2094 | idle1 = false | |
2095 | can = 4 | |
2096 | canattack = false | |
2097 | combodamage = 25 | |
2098 | ||
2099 | for i = 1, 20 do | |
2100 | wait() | |
2101 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.4)--head | |
2102 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)--torso | |
2103 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2)--rarm | |
2104 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-10)), 0.2)--larm | |
2105 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), 0.4)--lleg | |
2106 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)--rleg | |
2107 | end | |
2108 | ||
2109 | ||
2110 | ||
2111 | ||
2112 | wait(0.6) | |
2113 | z7 = Instance.new("Sound",char) | |
2114 | z7.Volume = 10 | |
2115 | z7.Looped = false | |
2116 | z7.SoundId = "rbxassetid://738749992" | |
2117 | z7:Play() | |
2118 | wait(2) | |
2119 | for i = 1, 10 do | |
2120 | wait() | |
2121 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.4)--head | |
2122 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)--torso | |
2123 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(30)), 0.2)--rarm | |
2124 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-30)), 0.2)--larm | |
2125 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.4)--lleg | |
2126 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4)--rleg | |
2127 | end | |
2128 | Colors = {"Really red", "Really red"} | |
2129 | GroundWave1() | |
2130 | ball.BrickColor = BrickColor.new("Really red") | |
2131 | ballmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
2132 | ball.Transparency = 0 | |
2133 | ssbon = false | |
2134 | zh:Destroy() | |
2135 | ||
2136 | wait() | |
2137 | zh = Instance.new("Sound",char) | |
2138 | zh.Volume = 4 | |
2139 | zh.Looped = true | |
2140 | zh.SoundId = "rbxassetid://590580496" | |
2141 | zh:Play() | |
2142 | aura3.Transparency = NumberSequence.new(0) | |
2143 | aura3.Size = NumberSequence.new(14) | |
2144 | wait(2) | |
2145 | idle = true | |
2146 | ||
2147 | canattack = true | |
2148 | idle1 = true | |
2149 | end | |
2150 | end | |
2151 | end | |
2152 | end) | |
2153 | ||
2154 | mouse.KeyDown:connect(function(key) | |
2155 | if key == "k" then | |
2156 | if ssbkaio == true then | |
2157 | if canattack == true then | |
2158 | idle = false | |
2159 | combodamage = 40 | |
2160 | ssbkaiox10 = true | |
2161 | ssbkaio = false | |
2162 | idle1 = false | |
2163 | can = 3 | |
2164 | canattack = false | |
2165 | walksound = "rbxassetid://863810402" | |
2166 | ||
2167 | for i = 1, 20 do | |
2168 | wait() | |
2169 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.4)--head | |
2170 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)--torso | |
2171 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2)--rarm | |
2172 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-10)), 0.2)--larm | |
2173 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), 0.4)--lleg | |
2174 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)--rleg | |
2175 | end | |
2176 | Colors = {"Really red", "Really red"} | |
2177 | GroundWave1() | |
2178 | wait(0.1) | |
2179 | Colors = {"Really red", "Really red"} | |
2180 | GroundWave1() | |
2181 | wait(0.1) | |
2182 | Colors = {"Really red", "Really red"} | |
2183 | GroundWave1() | |
2184 | wait(0.1) | |
2185 | Colors = {"Really red", "Really red"} | |
2186 | GroundWave1() | |
2187 | wait(0.1) | |
2188 | Colors = {"Really red", "Really red"} | |
2189 | GroundWave1() | |
2190 | wait(0.1) | |
2191 | Colors = {"Really red", "Really red"} | |
2192 | GroundWave1() | |
2193 | wait(0.1) | |
2194 | ||
2195 | Colors = {"Really red", "Really red"} | |
2196 | GroundWave1() | |
2197 | wait(0.1) | |
2198 | Colors = {"Really red", "Really red"} | |
2199 | GroundWave1() | |
2200 | wait(0.1) | |
2201 | Colors = {"Really red", "Really red"} | |
2202 | GroundWave1() | |
2203 | wait(0.1) | |
2204 | Colors = {"Really red", "Really red"} | |
2205 | GroundWave1() | |
2206 | ||
2207 | Colors = {"Really red", "Really red"} | |
2208 | GroundWave1() | |
2209 | wait(0.1) | |
2210 | Colors = {"Really red", "Really red"} | |
2211 | GroundWave1() | |
2212 | wait(0.1) | |
2213 | Colors = {"Really red", "Really red"} | |
2214 | GroundWave1() | |
2215 | wait(0.1) | |
2216 | Colors = {"Really red", "Really red"} | |
2217 | GroundWave1() | |
2218 | wait(0.1) | |
2219 | Colors = {"Really red", "Really red"} | |
2220 | GroundWave1() | |
2221 | wait(0.1) | |
2222 | ||
2223 | ||
2224 | Colors = {"Really red", "Really red"} | |
2225 | GroundWave1() | |
2226 | Colors = {"Really red", "Really red"} | |
2227 | GroundWave1() | |
2228 | ||
2229 | for i = 1, 10 do | |
2230 | wait() | |
2231 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.4)--head | |
2232 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)--torso | |
2233 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-80),math.rad(0),math.rad(40)), 0.2)--rarm | |
2234 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-80),math.rad(0),math.rad(-40)), 0.2)--larm | |
2235 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.4)--lleg | |
2236 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4)--rleg | |
2237 | end | |
2238 | ||
2239 | zh1 = Instance.new("Sound",char) | |
2240 | zh1.Volume = 4 | |
2241 | zh1.Looped = false | |
2242 | zh1.SoundId = "rbxassetid://590580746" | |
2243 | zh1:Play() | |
2244 | aura3.Transparency = NumberSequence.new(0) | |
2245 | aura3.Size = NumberSequence.new(18) | |
2246 | ||
2247 | ||
2248 | ||
2249 | ||
2250 | Hair7.BrickColor = BrickColor.new("Quill grey") | |
2251 | larm1 = Instance.new("Part",char) | |
2252 | larm1.Transparency = 0.5 | |
2253 | larm1.BrickColor = BrickColor.new("Bright red") | |
2254 | larm1.Size = Vector3.new(1.1,2.1,1.1) | |
2255 | larm1.Position = Vector3.new(999,999,999) | |
2256 | larmhold = Instance.new("Weld",char) | |
2257 | larmhold.Part0 = larm | |
2258 | larmhold.Part1 = larm1 | |
2259 | larmhold.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2260 | rarm1 = Instance.new("Part",char) | |
2261 | rarm1.Transparency = 0.5 | |
2262 | rarm1.BrickColor = BrickColor.new("Bright red") | |
2263 | rarm1.Size = Vector3.new(1.1,2.1,1.1) | |
2264 | rarm1.Position = Vector3.new(999,999,999) | |
2265 | rarmhold = Instance.new("Weld",char) | |
2266 | rarmhold.Part0 = rarm | |
2267 | rarmhold.Part1 = rarm1 | |
2268 | rarmhold.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2269 | torso1 = Instance.new("Part",char) | |
2270 | torso1.Transparency = 0.5 | |
2271 | torso1.BrickColor = BrickColor.new("Bright red") | |
2272 | torso1.Size = Vector3.new(2.1,2.1,1.1) | |
2273 | torso1.Position = Vector3.new(999,999,999) | |
2274 | torsohold = Instance.new("Weld",char) | |
2275 | torsohold.Part0 = torso | |
2276 | torsohold.Part1 = torso1 | |
2277 | torsohold.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2278 | lleg1 = Instance.new("Part",char) | |
2279 | lleg1.Transparency = 0.5 | |
2280 | lleg1.BrickColor = BrickColor.new("Bright red") | |
2281 | lleg1.Size = Vector3.new(1.1,2.1,1.1) | |
2282 | lleg1.Position = Vector3.new(999,999,999) | |
2283 | lleghold = Instance.new("Weld",char) | |
2284 | lleghold.Part0 = lleg | |
2285 | lleghold.Part1 = lleg1 | |
2286 | lleghold.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2287 | rleg1 = Instance.new("Part",char) | |
2288 | rleg1.Transparency = 0.5 | |
2289 | rleg1.BrickColor = BrickColor.new("Bright red") | |
2290 | rleg1.Size = Vector3.new(1.1,2.1,1.1) | |
2291 | rleg1.Position = Vector3.new(999,999,999) | |
2292 | rleghold = Instance.new("Weld",char) | |
2293 | rleghold.Part0 = rleg | |
2294 | rleghold.Part1 = rleg1 | |
2295 | rleghold.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2296 | rhed1 = Instance.new("Part",char) | |
2297 | rhed1.Transparency = 0.5 | |
2298 | rhed1.BrickColor = BrickColor.new("Bright red") | |
2299 | rhed1.Size = Vector3.new(2.3,1.3,1.3) | |
2300 | rhed1.Position = Vector3.new(999,999,999) | |
2301 | rhedhold = Instance.new("Weld",char) | |
2302 | rhedhold.Part0 = hed | |
2303 | rhedhold.Part1 = rhed1 | |
2304 | rhedhold.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2305 | rhedmesh1 = Instance.new("SpecialMesh",rhed1) | |
2306 | rhedmesh1.MeshType = "Head" | |
2307 | rhedmesh1.Scale = Vector3.new(1,1,1) | |
2308 | Colors = {"Really red", "Really red"} | |
2309 | GroundWave1() | |
2310 | wait(0.1) | |
2311 | Colors = {"Really red", "Really red"} | |
2312 | GroundWave1() | |
2313 | wait(0.1) | |
2314 | Colors = {"Really red", "Really red"} | |
2315 | GroundWave1() | |
2316 | wait(0.1) | |
2317 | Colors = {"Really red", "Really red"} | |
2318 | GroundWave1() | |
2319 | wait(0.1) | |
2320 | Colors = {"Really red", "Really red"} | |
2321 | GroundWave1() | |
2322 | wait(0.1) | |
2323 | ball.BrickColor = BrickColor.new("Really red") | |
2324 | ballmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
2325 | ball.Transparency = 0 | |
2326 | ssbon = false | |
2327 | Colors = {"Really red", "Really red"} | |
2328 | GroundWave1() | |
2329 | wait(0.1) | |
2330 | Colors = {"Really red", "Really red"} | |
2331 | GroundWave1() | |
2332 | wait(0.1) | |
2333 | Colors = {"Really red", "Really red"} | |
2334 | GroundWave1() | |
2335 | wait(0.1) | |
2336 | Colors = {"Really red", "Really red"} | |
2337 | GroundWave1() | |
2338 | wait(0.1) | |
2339 | Colors = {"Really red", "Really red"} | |
2340 | GroundWave1() | |
2341 | wait(0.1) | |
2342 | ||
2343 | wait() | |
2344 | ||
2345 | ||
2346 | wait(2) | |
2347 | idle = true | |
2348 | canattack = true | |
2349 | idle1 = true | |
2350 | end | |
2351 | end | |
2352 | end | |
2353 | end) | |
2354 | local player = game.Players.LocalPlayer | |
2355 | local pchar = player.Character | |
2356 | local mouse = player:GetMouse() | |
2357 | local cam = workspace.CurrentCamera | |
2358 | ||
2359 | local rad = math.rad | |
2360 | ||
2361 | local keysDown = {} | |
2362 | local flySpeed = 0 | |
2363 | local MAX_FLY_SPEED = 150 | |
2364 | ||
2365 | local canFly = false | |
2366 | local flyToggled = false | |
2367 | ||
2368 | local forward, side = 0, 0 | |
2369 | local lastForward, lastSide = 0, 0 | |
2370 | ||
2371 | local floatBP = Instance.new("BodyPosition") | |
2372 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
2373 | local flyBV = Instance.new("BodyVelocity") | |
2374 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
2375 | local turnBG = Instance.new("BodyGyro") | |
2376 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
2377 | ||
2378 | mouse.KeyDown:connect(function(key) | |
2379 | keysDown[key] = true | |
2380 | ||
2381 | if key == "f" then | |
2382 | ||
2383 | ||
2384 | idle = false | |
2385 | ||
2386 | idle1 = false | |
2387 | canattack = false | |
2388 | ||
2389 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), 1)--head | |
2390 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)--torso | |
2391 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 1)--rarm | |
2392 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 1)--larm | |
2393 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 1)--lleg | |
2394 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 1)--rleg | |
2395 | fly = true | |
2396 | flyToggled = not flyToggled | |
2397 | ||
2398 | if not flyToggled then | |
2399 | fly = false | |
2400 | stanceToggle = "Normal" | |
2401 | floatBP.Parent = nil | |
2402 | flyBV.Parent = nil | |
2403 | turnBG.Parent = nil | |
2404 | root.Velocity = Vector3.new() | |
2405 | hum.PlatformStand = false | |
2406 | wait(0.5) | |
2407 | idle = true | |
2408 | ||
2409 | idle1 = true | |
2410 | canattack = true | |
2411 | end | |
2412 | end | |
2413 | ||
2414 | end) | |
2415 | mouse.KeyUp:connect(function(key) | |
2416 | keysDown[key] = nil | |
2417 | wait(0.1) | |
2418 | if fly == true and moving == false then | |
2419 | ||
2420 | for i = 1, 15 do | |
2421 | wait() | |
2422 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), 0.4)--head | |
2423 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)--torso | |
2424 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.2)--rarm | |
2425 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)--larm | |
2426 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--lleg | |
2427 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)--rleg | |
2428 | end | |
2429 | end | |
2430 | end) | |
2431 | ||
2432 | local function updateFly() | |
2433 | ||
2434 | if not flyToggled then return end | |
2435 | ||
2436 | lastForward = forward | |
2437 | lastSide = side | |
2438 | ||
2439 | forward = 0 | |
2440 | side = 0 | |
2441 | ||
2442 | if keysDown.w then | |
2443 | moving = true | |
2444 | forward = forward + 1.2 | |
2445 | ||
2446 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(0)), 0.05)--head | |
2447 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.05)--torso | |
2448 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.05)--rarm | |
2449 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.05)--larm | |
2450 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.05)--lleg | |
2451 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.05)--rleg | |
2452 | else | |
2453 | moving = false | |
2454 | end | |
2455 | if keysDown.s then | |
2456 | ||
2457 | forward = forward - 0.5 | |
2458 | ||
2459 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.01)--head | |
2460 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.1)--torso | |
2461 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(20)), 0.1)--rarm | |
2462 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.1)--larm | |
2463 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.1)--lleg | |
2464 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.1)--rleg | |
2465 | ||
2466 | end | |
2467 | if keysDown.a then | |
2468 | ||
2469 | side = side - 0.5 | |
2470 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(0)), 0.05)--head | |
2471 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(-50), math.rad(20)), 0.05)--torso | |
2472 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.05)--rarm | |
2473 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.05)--larm | |
2474 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.05)--lleg | |
2475 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.05)--rleg | |
2476 | else | |
2477 | ||
2478 | end | |
2479 | if keysDown.d then | |
2480 | ||
2481 | side = side + 0.5 | |
2482 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(0)), 0.05)--head | |
2483 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(40), math.rad(-20)), 0.05)--torso | |
2484 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.05)--rarm | |
2485 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.05)--larm | |
2486 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.05)--lleg | |
2487 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.05)--rleg | |
2488 | ||
2489 | ||
2490 | end | |
2491 | ||
2492 | canFly = (forward ~= 0 or side ~= 0) | |
2493 | ||
2494 | if canFly then | |
2495 | ||
2496 | stanceToggle = "Floating" | |
2497 | turnBG.Parent = root | |
2498 | floatBP.Parent = nil | |
2499 | flyBV.Parent = root | |
2500 | ||
2501 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
2502 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
2503 | else | |
2504 | floatBP.position = root.Position | |
2505 | floatBP.Parent = root | |
2506 | ||
2507 | flySpeed = flySpeed - 1 | |
2508 | if flySpeed < 0 then flySpeed = 0 end | |
2509 | end | |
2510 | ||
2511 | local camCF = cam.CoordinateFrame | |
2512 | local in_forward = canFly and forward or lastForward | |
2513 | local in_side = canFly and side or lastSide | |
2514 | ||
2515 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
2516 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
2517 | ||
2518 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
2519 | 0) | |
2520 | end | |
2521 | ||
2522 | game:service'RunService'.RenderStepped:connect(function() | |
2523 | if flyToggled then | |
2524 | hum.PlatformStand = true | |
2525 | end | |
2526 | updateFly() | |
2527 | end) | |
2528 | ||
2529 | local hit1 = true | |
2530 | local hit2 = false | |
2531 | local hit3 = false | |
2532 | local hit4 = false | |
2533 | zw = Instance.new("Sound",char) | |
2534 | zw.Volume = 1 | |
2535 | zw.Looped = false | |
2536 | zw.SoundId = "rbxassetid://896243541" | |
2537 | ||
2538 | function leftkick() | |
2539 | for i = 1, 5 do | |
2540 | wait() | |
2541 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-60),math.rad(0)), 0.8)--head | |
2542 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(2), math.rad(60), math.rad(0)), 0.8)--torso | |
2543 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.8)--rarm | |
2544 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--larm | |
2545 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.8)--lleg | |
2546 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(100), math.rad(0), math.rad(40)), 0.8)--rleg | |
2547 | end | |
2548 | zw:Play() | |
2549 | end | |
2550 | function rightkick() | |
2551 | for i = 1, 5 do | |
2552 | wait() | |
2553 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(60),math.rad(0)), 0.8)--head | |
2554 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(-60), math.rad(0)), 0.8)--torso | |
2555 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.8)--rarm | |
2556 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-30)), 0.8)--larm | |
2557 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(100), math.rad(0), math.rad(-40)), 0.8)--lleg | |
2558 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.8)--rleg | |
2559 | end | |
2560 | ||
2561 | end | |
2562 | function leftpunch() | |
2563 | for i = 1, can do | |
2564 | wait() | |
2565 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50),math.rad(0)), 0.8)--head | |
2566 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso | |
2567 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm | |
2568 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm | |
2569 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
2570 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
2571 | end | |
2572 | zw:Play() | |
2573 | end | |
2574 | function rightpunch() | |
2575 | for i = 1, can do | |
2576 | wait() | |
2577 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head | |
2578 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso | |
2579 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--rarm | |
2580 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm | |
2581 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
2582 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
2583 | end | |
2584 | zw:Play() | |
2585 | end | |
2586 | --------------------------------------------------------------------------------------------------------------------------------------------------- | |
2587 | function kickup() | |
2588 | for i = 1, 20 do | |
2589 | wait() | |
2590 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
2591 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -0.9, 0) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0)), 0.2)--torso | |
2592 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.2)--rarm | |
2593 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.2)--larm | |
2594 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-10)), 0.4)--lleg | |
2595 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.4)--rleg | |
2596 | end | |
2597 | zw:Play() | |
2598 | ||
2599 | end | |
2600 | function knockdown() | |
2601 | for i = 1, 10 do | |
2602 | wait() | |
2603 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
2604 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 35, 0) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.4)--torso | |
2605 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,.7,-0.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.4)--rarm | |
2606 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,.7,-0.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.4)--larm | |
2607 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-10)), 0.4)--lleg | |
2608 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.4)--rleg | |
2609 | ||
2610 | end | |
2611 | zw1 = Instance.new("Sound",char) | |
2612 | zw1.Volume = 1 | |
2613 | zw1.Looped = false | |
2614 | zw1.SoundId = "rbxassetid://896242278" | |
2615 | zw1:Play() | |
2616 | for i = 1, 20 do | |
2617 | wait() | |
2618 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
2619 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 35, 0) * CFrame.Angles(math.rad(-40),math.rad(0),math.rad(0)), 0.2)--torso | |
2620 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,.5,-0.4)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(-40)), 0.2)--rarm | |
2621 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,.4,-0.4)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(40)), 0.2)--larm | |
2622 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(60),math.rad(0),math.rad(-10)), 0.2)--lleg | |
2623 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(60),math.rad(0),math.rad(10)), 0.2)--rleg | |
2624 | end | |
2625 | ||
2626 | ||
2627 | end | |
2628 | mouse.KeyDown:connect(function(key) | |
2629 | if key == "e" and hit1 == true and canattack == true then | |
2630 | canattack = false | |
2631 | nohit = 0 | |
2632 | ||
2633 | hit1 = false | |
2634 | hit2 = true | |
2635 | hit3 = false | |
2636 | hit4 = false | |
2637 | hand1 = Instance.new("Part",rarm) | |
2638 | hand1.Size = Vector3.new(1.5,1.5,1.5) | |
2639 | hand1.CanCollide = false | |
2640 | hand1.Transparency = 1 | |
2641 | hand1.Position = Vector3.new(999,999,999) | |
2642 | hand1weld = Instance.new("Weld",hand1) | |
2643 | hand1weld.Part0 = rarm | |
2644 | hand1weld.Part1 = hand1 | |
2645 | hand1weld.C0 = CFrame.new(0,-1.2,0) | |
2646 | ---------------------------------------------------------------- | |
2647 | ||
2648 | function touch1(hit) | |
2649 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
2650 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
2651 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - combodamage | |
2652 | zwt = Instance.new("Sound",char) | |
2653 | zwt.Volume = 1 | |
2654 | zwt.Looped = false | |
2655 | zwt.SoundId = "rbxassetid://137579113" | |
2656 | zwt:Play() | |
2657 | end | |
2658 | end | |
2659 | hand1.Touched:connect(touch1) | |
2660 | rightpunch() | |
2661 | ||
2662 | hand1:Destroy() | |
2663 | canattack = true | |
2664 | end | |
2665 | end) | |
2666 | mouse.KeyDown:connect(function(key) | |
2667 | if key == "e" and hit2 == true and canattack == true then | |
2668 | canattack = false | |
2669 | nohit = 0 | |
2670 | ||
2671 | hit1 = false | |
2672 | hit2 = false | |
2673 | hit3 = true | |
2674 | hit4 = false | |
2675 | hand2 = Instance.new("Part",rarm) | |
2676 | hand2.Size = Vector3.new(1.5,1.5,1.5) | |
2677 | hand1.CanCollide = false | |
2678 | hand2.Transparency = 1 | |
2679 | hand2.Position = Vector3.new(999,999,999) | |
2680 | hand2weld = Instance.new("Weld",hand2) | |
2681 | hand2weld.Part0 = larm | |
2682 | hand2weld.Part1 = hand2 | |
2683 | hand2weld.C0 = CFrame.new(0,-1.2,0) | |
2684 | ---------------------------------------------------------------- | |
2685 | ||
2686 | function touch1(hit) | |
2687 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
2688 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
2689 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - combodamage | |
2690 | zwr = Instance.new("Sound",char) | |
2691 | zwr.Volume = 1 | |
2692 | zwr.Looped = false | |
2693 | zwr.SoundId = "rbxassetid://137579113" | |
2694 | zwr:Play() | |
2695 | end | |
2696 | end | |
2697 | hand2.Touched:connect(touch1) | |
2698 | leftpunch() | |
2699 | ||
2700 | canattack = true | |
2701 | hand2:Destroy() | |
2702 | ||
2703 | end | |
2704 | end) | |
2705 | mouse.KeyDown:connect(function(key) | |
2706 | if key == "e" and hit3 == true and canattack == true then | |
2707 | canattack = false | |
2708 | nohit = 0 | |
2709 | ||
2710 | hit1 = false | |
2711 | hit2 = false | |
2712 | hit3 = false | |
2713 | hit4 = true | |
2714 | hand3 = Instance.new("Part",lleg) | |
2715 | hand3.Size = Vector3.new(1.5,1.5,1.5) | |
2716 | hand3.CanCollide = false | |
2717 | hand3.Transparency = 1 | |
2718 | hand3.Position = Vector3.new(999,999,999) | |
2719 | hand3weld = Instance.new("Weld",hand3) | |
2720 | hand3weld.Part0 = lleg | |
2721 | hand3weld.Part1 = hand3 | |
2722 | hand3weld.C0 = CFrame.new(0,-1.2,0) | |
2723 | ---------------------------------------------------------------- | |
2724 | ||
2725 | function touch1(hit) | |
2726 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
2727 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
2728 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - combodamage | |
2729 | zwc = Instance.new("Sound",char) | |
2730 | zwc.Volume = 1 | |
2731 | zwc.Looped = false | |
2732 | zwc.SoundId = "rbxassetid://137579113" | |
2733 | zwc:Play() | |
2734 | end | |
2735 | end | |
2736 | hand3.Touched:connect(touch1) | |
2737 | rightkick() | |
2738 | ||
2739 | canattack = true | |
2740 | hand3:Destroy() | |
2741 | ||
2742 | end | |
2743 | end) | |
2744 | mouse.KeyDown:connect(function(key) | |
2745 | if key == "e" and hit4 == true and canattack == true then | |
2746 | canattack = false | |
2747 | nohit = 0 | |
2748 | wait()hit4 = false | |
2749 | hit3 = false | |
2750 | hit2 = false | |
2751 | hit1 = true | |
2752 | hand4 = Instance.new("Part",rleg) | |
2753 | hand4.Size = Vector3.new(1.5,1.5,1.5) | |
2754 | hand4.CanCollide = false | |
2755 | hand4.Transparency = 1 | |
2756 | hand4.Position = Vector3.new(999,999,999) | |
2757 | hand4weld = Instance.new("Weld",hand4) | |
2758 | hand4weld.Part0 = rleg | |
2759 | hand4weld.Part1 = hand4 | |
2760 | hand4weld.C0 = CFrame.new(0,-1.2,0) | |
2761 | ---------------------------------------------------------------- | |
2762 | ||
2763 | function touch1(hit) | |
2764 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
2765 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
2766 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - combodamage | |
2767 | zwe = Instance.new("Sound",char) | |
2768 | zwe.Volume = 1 | |
2769 | zwe.Looped = false | |
2770 | zwe.SoundId = "rbxassetid://137579113" | |
2771 | zwe:Play() | |
2772 | end | |
2773 | end | |
2774 | hand4.Touched:connect(touch1) | |
2775 | leftkick() | |
2776 | ||
2777 | canattack = true | |
2778 | hand4:Destroy() | |
2779 | ||
2780 | end | |
2781 | end) | |
2782 | local player = game.Players.LocalPlayer | |
2783 | repeat wait() until player:GetMouse() and player.Character | |
2784 | local mouse = player:GetMouse() | |
2785 | local character = player.Character | |
2786 | ||
2787 | ||
2788 | local clickon = false | |
2789 | p = game.Players.LocalPlayer | |
2790 | char = p.Character | |
2791 | mouse = p:GetMouse() | |
2792 | torso = char.Torso | |
2793 | mouse.Button1Down:connect(function() | |
2794 | t = mouse.Target.Parent:FindFirstChild("Torso") | |
2795 | hu = mouse.Target.Parent:FindFirstChild("Humanoid") | |
2796 | if mouse.Target == nil then | |
2797 | clickon = false | |
2798 | end | |
2799 | if mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
2800 | clickon = true | |
2801 | poon = true | |
2802 | zwc1s2 = Instance.new("Sound",mouse.Target) | |
2803 | zwc1s2.Volume = 5 | |
2804 | zwc1s2.Looped = false | |
2805 | zwc1s2.SoundId = "rbxassetid://915341277" | |
2806 | zwc1s2:Play() | |
2807 | ||
2808 | ||
2809 | ||
2810 | else | |
2811 | clickon = false | |
2812 | ||
2813 | end | |
2814 | ||
2815 | end) | |
2816 | ||
2817 | you = game.Players.LocalPlayer.Character.Torso | |
2818 | ||
2819 | ||
2820 | ||
2821 | mouse.KeyDown:connect(function(key) | |
2822 | if key == "z" then | |
2823 | if canattack == true then | |
2824 | ||
2825 | canattack = false | |
2826 | idle = false | |
2827 | hum.WalkSpeed = 0 | |
2828 | nohit = 0 | |
2829 | idle1 = false | |
2830 | for i = 1, 10 do | |
2831 | wait() | |
2832 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
2833 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
2834 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.4)--arm | |
2835 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.8,0.7,-0.7)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(140)), 0.4)--arm | |
2836 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-10)), 0.4)--leg | |
2837 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.4)--leg | |
2838 | end | |
2839 | zwc1 = Instance.new("Sound",torso) | |
2840 | zwc1.Volume = 1 | |
2841 | zwc1.Looped = false | |
2842 | zwc1.SoundId = "rbxassetid://744770874" | |
2843 | zwc1:Play() | |
2844 | if clickon == true then | |
2845 | torso.CFrame = t.CFrame - Vector3.new(0,0,2) | |
2846 | else | |
2847 | torso.CFrame = torso.CFrame + torso.CFrame.lookVector * 20 | |
2848 | end | |
2849 | canattack = true | |
2850 | idle = true | |
2851 | hum.WalkSpeed = 10 | |
2852 | idle1 = true | |
2853 | end | |
2854 | ||
2855 | ||
2856 | end | |
2857 | end) | |
2858 | ||
2859 | mouse.KeyDown:connect(function(key) | |
2860 | if key == "h" then | |
2861 | if canattack == true then | |
2862 | idle = false | |
2863 | idle1 = false | |
2864 | canattack = false | |
2865 | grab = false | |
2866 | grab5() | |
2867 | grabhit = Instance.new("Part",char) | |
2868 | grabhit.Size = Vector3.new(2,2,2) | |
2869 | grabhit.Position = Vector3.new(999,999,999) | |
2870 | grabhit.Transparency = 1 | |
2871 | grabweld = Instance.new("Weld",grabhit) | |
2872 | grabweld.Part0 = torso | |
2873 | grabweld.Part1 = grabhit | |
2874 | grabweld.C0 = CFrame.new(0,0,-2) | |
2875 | --------------------------------------------------------------- | |
2876 | hand1 = Instance.new("Part",rarm) | |
2877 | hand1.Size = Vector3.new(1,1,1) | |
2878 | hand1.CanCollide = false | |
2879 | hand1.Transparency = 1 | |
2880 | hand1.Position = Vector3.new(999,999,999) | |
2881 | hand1weld = Instance.new("Weld",hand1) | |
2882 | hand1weld.Part0 = rarm | |
2883 | hand1weld.Part1 = hand1 | |
2884 | hand1weld.C0 = CFrame.new(0,-1.2,0) | |
2885 | ---------------------------------------------------------------- | |
2886 | hand2 = Instance.new("Part",rarm) | |
2887 | hand2.Size = Vector3.new(1,1,1) | |
2888 | hand1.CanCollide = false | |
2889 | hand2.Transparency = 1 | |
2890 | hand2.Position = Vector3.new(999,999,999) | |
2891 | hand2weld = Instance.new("Weld",hand2) | |
2892 | hand2weld.Part0 = larm | |
2893 | hand2weld.Part1 = hand2 | |
2894 | hand2weld.C0 = CFrame.new(0,-1.2,0) | |
2895 | function touch1(hit) | |
2896 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
2897 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
2898 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - combodamage | |
2899 | ||
2900 | end | |
2901 | end | |
2902 | hand1.Touched:connect(touch1) | |
2903 | function touch2(hit) | |
2904 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
2905 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
2906 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - combodamage | |
2907 | ||
2908 | end | |
2909 | end | |
2910 | hand2.Touched:connect(touch2) | |
2911 | function touch(hit) | |
2912 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
2913 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
2914 | grabhit.TouchInterest:Destroy() | |
2915 | grab = true | |
2916 | hu = hit.Parent:findFirstChild("Humanoid") | |
2917 | to = hit.Parent:findFirstChild("Torso") | |
2918 | he = hit.Parent:findFirstChild("Head") | |
2919 | hu.WalkSpeed = 0 | |
2920 | if hu.Health > 100 then | |
2921 | hu.MaxHealth = 100 | |
2922 | hu.Health = 100 | |
2923 | end | |
2924 | towe = Instance.new("Weld",to) | |
2925 | towe.Part0 = torso | |
2926 | towe.Part1 = to | |
2927 | towe.C0 = CFrame.new(0,0,-1.5) | |
2928 | ||
2929 | ||
2930 | wait(0.5) | |
2931 | end | |
2932 | if grab == true then | |
2933 | if clickon == true then | |
2934 | jk = true | |
2935 | clickon = false | |
2936 | end | |
2937 | towe.Part0 = nil | |
2938 | partv = Instance.new("Part",to) | |
2939 | partv.Transparency = 1 | |
2940 | ||
2941 | partv.CanCollide = false | |
2942 | partv.Anchored = true | |
2943 | towe1 = Instance.new("Weld",to) | |
2944 | towe1.Part0 = to | |
2945 | towe1.Part1 = partv | |
2946 | towe1.C0 = CFrame.new(0,0,0) | |
2947 | ||
2948 | ||
2949 | ||
2950 | partv:Destroy() | |
2951 | towe.Part0 = torso | |
2952 | ||
2953 | ||
2954 | ---------------------------------------------------- | |
2955 | grabon = true | |
2956 | towe:Destroy() | |
2957 | ||
2958 | kickup() | |
2959 | wait(0.1) | |
2960 | for i = 1, 10 do | |
2961 | wait() | |
2962 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(0)), 0.1)--head | |
2963 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
2964 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.4)--arm | |
2965 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.2)--arm | |
2966 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.2)--leg | |
2967 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.2)--leg | |
2968 | end | |
2969 | grabon = false | |
2970 | to.Anchored = true | |
2971 | ||
2972 | ||
2973 | grabon1 = true | |
2974 | zwc12 = Instance.new("Sound",torso) | |
2975 | zwc12.Volume = 1 | |
2976 | zwc12.Looped = false | |
2977 | zwc12.SoundId = "rbxassetid://436748675" | |
2978 | zwc12:Play() | |
2979 | knockdown() | |
2980 | hu.Health = hu.Health - 30 | |
2981 | to.Anchored = false | |
2982 | grabon1 = false | |
2983 | ||
2984 | ||
2985 | local HandCF4 = CFrame.new(to.Position - Vector3.new(0,0,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2986 | Colors = {"White"} | |
2987 | local wave = Instance.new("Part", torso) | |
2988 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
2989 | wave.Anchored = true | |
2990 | wave.CanCollide = false | |
2991 | wave.Locked = true | |
2992 | wave.Size = Vector3.new(1, 1, 1) | |
2993 | wave.TopSurface = "Smooth" | |
2994 | wave.BottomSurface = "Smooth" | |
2995 | wave.Transparency = 0.35 | |
2996 | wave.CFrame = HandCF4 | |
2997 | wm = Instance.new("SpecialMesh", wave) | |
2998 | wm.MeshId = "rbxassetid://3270017" | |
2999 | coroutine.wrap(function() | |
3000 | for i = 1, 30, 1 do | |
3001 | wm.Scale = Vector3.new(3 + i*3.2, 3 + i*3.2, 3) | |
3002 | wave.Size = wm.Scale | |
3003 | wave.CFrame = HandCF4 | |
3004 | wave.Transparency = i/30 | |
3005 | wait() | |
3006 | end | |
3007 | wait() | |
3008 | wave:Destroy() | |
3009 | end)() | |
3010 | wait(0.3) | |
3011 | local HandCF4 = CFrame.new(to.Position - Vector3.new(0,0,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
3012 | Colors = {"White"} | |
3013 | zwd = Instance.new("Sound",char) | |
3014 | zwd.Volume = 5 | |
3015 | zwd.Looped = false | |
3016 | zwd.SoundId = "rbxassetid://863810402" | |
3017 | zwd:Play() | |
3018 | local wave = Instance.new("Part", torso) | |
3019 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
3020 | wave.Anchored = true | |
3021 | wave.CanCollide = false | |
3022 | wave.Locked = true | |
3023 | wave.Size = Vector3.new(1, 1, 1) | |
3024 | wave.TopSurface = "Smooth" | |
3025 | wave.BottomSurface = "Smooth" | |
3026 | wave.Transparency = 0.35 | |
3027 | wave.CFrame = HandCF4 | |
3028 | wm = Instance.new("SpecialMesh", wave) | |
3029 | wm.MeshId = "rbxassetid://3270017" | |
3030 | coroutine.wrap(function() | |
3031 | for i = 1, 30, 1 do | |
3032 | wm.Scale = Vector3.new(3 + i*3.2, 3 + i*3.2, 3) | |
3033 | wave.Size = wm.Scale | |
3034 | wave.CFrame = HandCF4 | |
3035 | wave.Transparency = i/30 | |
3036 | wait() | |
3037 | end | |
3038 | ||
3039 | wait() | |
3040 | wave:Destroy() | |
3041 | ||
3042 | end)() | |
3043 | ||
3044 | wait(0.6) | |
3045 | zwd:Destroy() | |
3046 | wait(0.4) | |
3047 | hed.Anchored = false | |
3048 | ||
3049 | ||
3050 | canattack = true | |
3051 | idle = true | |
3052 | hand1:Destroy() | |
3053 | hand2:Destroy() | |
3054 | ||
3055 | goo = 0 | |
3056 | idle1 = true | |
3057 | grab = false | |
3058 | wait(1) | |
3059 | if jk == true then | |
3060 | jk = false | |
3061 | clickon = true | |
3062 | end | |
3063 | ||
3064 | end | |
3065 | ||
3066 | ||
3067 | end | |
3068 | ||
3069 | ||
3070 | grabhit.Touched:connect(touch) | |
3071 | wait(0.1) | |
3072 | grabhit:Destroy() | |
3073 | ||
3074 | ||
3075 | ||
3076 | ||
3077 | if grab == false then | |
3078 | hand1:Destroy() | |
3079 | hand2:Destroy() | |
3080 | ||
3081 | canattack = true | |
3082 | idle = true | |
3083 | ||
3084 | idle1 = true | |
3085 | ||
3086 | end | |
3087 | end | |
3088 | end | |
3089 | end) | |
3090 | ||
3091 | mouse.KeyDown:connect(function(Key) | |
3092 | if Key == "g" then | |
3093 | if canattack == true then | |
3094 | ||
3095 | ||
3096 | kamehamehaon = true | |
3097 | beam1.Size = Vector3.new(6,6,1) | |
3098 | ||
3099 | partaura.Size = NumberSequence.new(0.8) | |
3100 | idle = false | |
3101 | ||
3102 | idle1 = false | |
3103 | canattack = false | |
3104 | hum.WalkSpeed = 0 | |
3105 | z2 = Instance.new("Sound",char) | |
3106 | z2.Volume = 3 | |
3107 | z2.Looped = false | |
3108 | z2.SoundId = "rbxassetid://908489666" | |
3109 | z2:Play() | |
3110 | ||
3111 | ||
3112 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)), 1)--head | |
3113 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0)), 1)--torso | |
3114 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,0)*CFrame.Angles(math.rad(30),math.rad(-40),math.rad(-10)), 1)--rarm | |
3115 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.2,-0.2)*CFrame.Angles(math.rad(30),math.rad(40),math.rad(40)), 1)--larm | |
3116 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 1)--lleg | |
3117 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 1)--rleg | |
3118 | ||
3119 | ||
3120 | ||
3121 | partaura.Transparency = NumberSequence.new(0) | |
3122 | partaura1.Transparency = NumberSequence.new(0) | |
3123 | kamehameha = true | |
3124 | wait(6) | |
3125 | zwc1 = Instance.new("Sound",char) | |
3126 | zwc1.Volume = 1 | |
3127 | zwc1.Looped = false | |
3128 | zwc1.SoundId = "rbxassetid://744770874" | |
3129 | zwc1:Play() | |
3130 | torso.CFrame = t.CFrame - Vector3.new(0,0,-10) | |
3131 | hum.HipHeight = 10 | |
3132 | wait(0.5) | |
3133 | if kamehamehaon == true then | |
3134 | kamehamehaon = false | |
3135 | hited = true | |
3136 | wait(0.1) | |
3137 | point = true | |
3138 | kamehamehaon = false | |
3139 | kamehameha = false | |
3140 | ||
3141 | ||
3142 | ||
3143 | partaura.Transparency = NumberSequence.new(1) | |
3144 | partaura1.Transparency = NumberSequence.new(1) | |
3145 | z2:Stop() | |
3146 | z4 = Instance.new("Sound",char) | |
3147 | z4.Volume = 5 | |
3148 | z4.Looped = false | |
3149 | z4.SoundId = "rbxassetid://908474188" | |
3150 | z4:Play() | |
3151 | ||
3152 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--head | |
3153 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 1)--torso | |
3154 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.5,0)*CFrame.Angles(math.rad(95),math.rad(-10),math.rad(-20)), 1)--rarm | |
3155 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.5,-0.2)*CFrame.Angles(math.rad(75),math.rad(170),math.rad(-20)), 1)--larm | |
3156 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-10)), 1)--lleg | |
3157 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)), 1)--rleg | |
3158 | ||
3159 | ||
3160 | ||
3161 | ||
3162 | ||
3163 | laser = true | |
3164 | s1.Volume=1 | |
3165 | s1:play() | |
3166 | wait(5.4) | |
3167 | point = false | |
3168 | ||
3169 | laser = false | |
3170 | beam1.Size = Vector3.new(1,1,1) | |
3171 | beam1.Parent=nil | |
3172 | inner1.Parent=nil | |
3173 | expl1.Parent=nil | |
3174 | ||
3175 | hited1 = false | |
3176 | exa1.Parent=nil | |
3177 | s1:stop() | |
3178 | ||
3179 | idle = true | |
3180 | canattack = true | |
3181 | idle1 = true | |
3182 | hum.WalkSpeed = 16 | |
3183 | hum.HipHeight = 0 | |
3184 | end | |
3185 | end | |
3186 | end | |
3187 | end) | |
3188 | ||
3189 | function spin() | |
3190 | for i = 1, 50 do | |
3191 | wait() | |
3192 | ||
3193 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.1)--head | |
3194 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
3195 | torso.CFrame = torso.CFrame * CFrame.Angles(0,.8,0) | |
3196 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.1)--arm | |
3197 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,-.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.1)--arm | |
3198 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)--leg | |
3199 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)--leg | |
3200 | end | |
3201 | end | |
3202 | function grab5() | |
3203 | for i = 1, 10 do | |
3204 | wait() | |
3205 | ||
3206 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.1)--head | |
3207 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
3208 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(10)), 0.1)--arm | |
3209 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-10)), 0.1)--arm | |
3210 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)--leg | |
3211 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)--leg | |
3212 | end | |
3213 | for i = 1, 10 do | |
3214 | wait() | |
3215 | ||
3216 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)--head | |
3217 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)--torso | |
3218 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.5)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(-40)), 0.2)--arm | |
3219 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,-.5)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(40)), 0.2)--arm | |
3220 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-10)), 0.2)--leg | |
3221 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(10)), 0.2)--leg | |
3222 | end | |
3223 | end | |
3224 | mouse.KeyDown:connect(function(key) | |
3225 | if key == "y" then | |
3226 | if canattack == true then | |
3227 | idle = false | |
3228 | idle1 = false | |
3229 | canattack = false | |
3230 | grab5() | |
3231 | ||
3232 | grabhit = Instance.new("Part",char) | |
3233 | grabhit.Size = Vector3.new(2,2,2) | |
3234 | grabhit.Position = Vector3.new(999,999,999) | |
3235 | grabhit.Transparency = 1 | |
3236 | grabweld = Instance.new("Weld",grabhit) | |
3237 | grabweld.Part0 = torso | |
3238 | grabweld.Part1 = grabhit | |
3239 | grabweld.C0 = CFrame.new(0,0,-2) | |
3240 | --------------------------------------------------------------- | |
3241 | hand1 = Instance.new("Part",rarm) | |
3242 | hand1.Size = Vector3.new(1,1,1) | |
3243 | hand1.CanCollide = false | |
3244 | hand1.Transparency = 1 | |
3245 | hand1.Position = Vector3.new(999,999,999) | |
3246 | hand1weld = Instance.new("Weld",hand1) | |
3247 | hand1weld.Part0 = rarm | |
3248 | hand1weld.Part1 = hand1 | |
3249 | hand1weld.C0 = CFrame.new(0,-1.2,0) | |
3250 | ---------------------------------------------------------------- | |
3251 | hand2 = Instance.new("Part",rarm) | |
3252 | hand2.Size = Vector3.new(1,1,1) | |
3253 | hand1.CanCollide = false | |
3254 | hand2.Transparency = 1 | |
3255 | hand2.Position = Vector3.new(999,999,999) | |
3256 | hand2weld = Instance.new("Weld",hand2) | |
3257 | hand2weld.Part0 = larm | |
3258 | hand2weld.Part1 = hand2 | |
3259 | hand2weld.C0 = CFrame.new(0,-1.2,0) | |
3260 | function touch1(hit) | |
3261 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
3262 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
3263 | hu1 = hit.Parent:findFirstChild("Humanoid") | |
3264 | grab1 = true | |
3265 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 0.5 | |
3266 | if hu1.Health > 100 then | |
3267 | hu1.MaxHealth = 100 | |
3268 | hu1.Health = 100 | |
3269 | end | |
3270 | end | |
3271 | end | |
3272 | hand1.Touched:connect(touch1) | |
3273 | function touch2(hit) | |
3274 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
3275 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
3276 | hu1 = hit.Parent:findFirstChild("Humanoid") | |
3277 | grab1 = true | |
3278 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 0.5 | |
3279 | if hu1.Health > 100 then | |
3280 | hu1.MaxHealth = 100 | |
3281 | hu1.Health = 100 | |
3282 | end | |
3283 | end | |
3284 | end | |
3285 | hand2.Touched:connect(touch2) | |
3286 | function touch(hit) | |
3287 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
3288 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
3289 | grab1 = true | |
3290 | if clickon == true then | |
3291 | jk = true | |
3292 | clickon = false | |
3293 | end | |
3294 | grabhit.TouchInterest:Destroy() | |
3295 | ||
3296 | hu1 = hit.Parent:findFirstChild("Humanoid") | |
3297 | to1 = hit.Parent:findFirstChild("Torso") | |
3298 | he1 = hit.Parent:findFirstChild("Head") | |
3299 | hu1.WalkSpeed = 0 | |
3300 | if hu1.Health > 100 then | |
3301 | hu1.MaxHealth = 100 | |
3302 | hu1.Health = 100 | |
3303 | end | |
3304 | ||
3305 | ||
3306 | ||
3307 | ||
3308 | end | |
3309 | ||
3310 | if grab1 == true then | |
3311 | throw = 5 | |
3312 | to1.CFrame = to1.CFrame + Vector3.new(0,60,0) | |
3313 | kickup() | |
3314 | hum.HipHeight = 10 | |
3315 | wait() | |
3316 | grabon1 = true | |
3317 | ||
3318 | hed.Anchored = true | |
3319 | wait(0.3) | |
3320 | ||
3321 | hed.Anchored = false | |
3322 | spin() | |
3323 | ds = Instance.new("Sound",torso) | |
3324 | ds.Volume = 4 | |
3325 | ds.Looped = false | |
3326 | ds.SoundId = "rbxassetid://860448713" | |
3327 | ds:Play() | |
3328 | ||
3329 | grabon1 = false | |
3330 | grabon2 = true | |
3331 | wait(0.5) | |
3332 | grabon2 = false | |
3333 | hand1:Destroy() | |
3334 | ||
3335 | hand2:Destroy() | |
3336 | ||
3337 | hum.HipHeight = 0 | |
3338 | wait(0.5) | |
3339 | canattack = true | |
3340 | idle = true | |
3341 | grabhit:Destroy() | |
3342 | idle1 = true | |
3343 | grab1 = false | |
3344 | ||
3345 | if jk == true then | |
3346 | jk = false | |
3347 | clickon = true | |
3348 | end | |
3349 | end | |
3350 | ||
3351 | ||
3352 | end | |
3353 | ||
3354 | ||
3355 | end | |
3356 | ||
3357 | ||
3358 | ||
3359 | ||
3360 | ||
3361 | grabhit.Touched:connect(touch) | |
3362 | ||
3363 | ||
3364 | ||
3365 | ||
3366 | wait(0.2) | |
3367 | ||
3368 | if grab1 == false then | |
3369 | hand1:Destroy() | |
3370 | hand2:Destroy() | |
3371 | grabhit:Destroy() | |
3372 | ||
3373 | canattack = true | |
3374 | idle = true | |
3375 | ||
3376 | idle1 = true | |
3377 | ||
3378 | ||
3379 | ||
3380 | end | |
3381 | end | |
3382 | end) | |
3383 | ||
3384 | function pushaway() | |
3385 | for i = 1, 10 do | |
3386 | wait() | |
3387 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.4)--head | |
3388 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(-1)), 0.4)--torso | |
3389 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.4)--arm | |
3390 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)--arm | |
3391 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
3392 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--leg | |
3393 | end | |
3394 | for i = 1, 10 do | |
3395 | wait() | |
3396 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.4)--head | |
3397 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(1)), 0.4)--torso | |
3398 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4)--arm | |
3399 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.4)--arm | |
3400 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
3401 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--leg | |
3402 | end | |
3403 | end | |
3404 | ||
3405 | function dragoncharge() | |
3406 | for i = 1, 10 do | |
3407 | wait() | |
3408 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
3409 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
3410 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.2,-1)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-10)), 0.4)--arm | |
3411 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.5,-.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(60)), 0.4)--arm | |
3412 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
3413 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--leg | |
3414 | end | |
3415 | end | |
3416 | function dragonfist() | |
3417 | for i = 1, 10 do | |
3418 | wait() | |
3419 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.4)--head | |
3420 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(-1)), 0.4)--torso | |
3421 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.4)--arm | |
3422 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)--arm | |
3423 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
3424 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--leg | |
3425 | end | |
3426 | for i = 1, 10 do | |
3427 | wait() | |
3428 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.4)--head | |
3429 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(1)), 0.4)--torso | |
3430 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(80)), 0.4)--arm | |
3431 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-20)), 0.4)--arm | |
3432 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-30)), 0.4)--leg | |
3433 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.4)--leg | |
3434 | end | |
3435 | end | |
3436 | mouse.KeyDown:connect(function(key) | |
3437 | if key == "u" then | |
3438 | if canattack == true then | |
3439 | if ssj33 == true then | |
3440 | idle = false | |
3441 | idle1 = false | |
3442 | canattack = false | |
3443 | grab5() | |
3444 | ||
3445 | grabhit = Instance.new("Part",char) | |
3446 | grabhit.Size = Vector3.new(2,2,2) | |
3447 | grabhit.Position = Vector3.new(999,999,999) | |
3448 | grabhit.Transparency = 1 | |
3449 | grabweld = Instance.new("Weld",grabhit) | |
3450 | grabweld.Part0 = torso | |
3451 | grabweld.Part1 = grabhit | |
3452 | grabweld.C0 = CFrame.new(0,0,-2) | |
3453 | --------------------------------------------------------------- | |
3454 | hand1 = Instance.new("Part",rarm) | |
3455 | hand1.Size = Vector3.new(0.1,0.1,0.1) | |
3456 | hand1.CanCollide = false | |
3457 | hand1.Transparency = 1 | |
3458 | hand1.Position = Vector3.new(999,999,999) | |
3459 | hand2mesh = Instance.new("SpecialMesh",hand1) | |
3460 | hand2mesh.MeshType = "FileMesh" | |
3461 | ||
3462 | hand2mesh.Scale = Vector3.new(1,1,1) | |
3463 | hand2aura = Instance.new("ParticleEmitter",hand1) | |
3464 | hand2aura.Size = NumberSequence.new(1) | |
3465 | hand2aura.Texture = "rbxassetid://715401010" | |
3466 | hand2aura.Speed = NumberRange.new(0) | |
3467 | hand2aura.LockedToPart = true | |
3468 | hand2aura.Transparency = NumberSequence.new(1) | |
3469 | hand2aura.RotSpeed = NumberRange.new(999) | |
3470 | hand1weld = Instance.new("Weld",hand1) | |
3471 | hand1weld.Part0 = rarm | |
3472 | hand1weld.Part1 = hand1 | |
3473 | hand1weld.C0 = CFrame.new(0,-1.8,0) | |
3474 | ---------------------------------------------------------------- | |
3475 | hand2 = Instance.new("Part",rarm) | |
3476 | hand2.Size = Vector3.new(1,1,1) | |
3477 | hand1.CanCollide = false | |
3478 | hand2.Transparency = 1 | |
3479 | hand2.Position = Vector3.new(999,999,999) | |
3480 | ||
3481 | hand2weld = Instance.new("Weld",hand2) | |
3482 | hand2weld.Part0 = larm | |
3483 | hand2weld.Part1 = hand2 | |
3484 | hand2weld.C0 = CFrame.new(0,-1.2,0) | |
3485 | function touch1(hit) | |
3486 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
3487 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
3488 | hu1 = hit.Parent:findFirstChild("Humanoid") | |
3489 | grab2 = true | |
3490 | ||
3491 | if clickon == true then | |
3492 | jk = true | |
3493 | clickon = false | |
3494 | end | |
3495 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 0.5 | |
3496 | if hu1.Health > 100 then | |
3497 | hu1.MaxHealth = 100 | |
3498 | hu1.Health = 100 | |
3499 | end | |
3500 | end | |
3501 | end | |
3502 | hand1.Touched:connect(touch1) | |
3503 | function touch2(hit) | |
3504 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
3505 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
3506 | hu1 = hit.Parent:findFirstChild("Humanoid") | |
3507 | grab2 = true | |
3508 | if clickon == true then | |
3509 | jk = true | |
3510 | clickon = false | |
3511 | end | |
3512 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 0.5 | |
3513 | if hu1.Health > 100 then | |
3514 | hu1.MaxHealth = 100 | |
3515 | hu1.Health = 100 | |
3516 | end | |
3517 | end | |
3518 | end | |
3519 | hand2.Touched:connect(touch2) | |
3520 | function touch(hit) | |
3521 | if not hit.Parent:findFirstChild("Humanoid") then return end | |
3522 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
3523 | grab8 = true | |
3524 | if clickon == true then | |
3525 | jk = true | |
3526 | clickon = false | |
3527 | end | |
3528 | grabhit.TouchInterest:Destroy() | |
3529 | ||
3530 | hu12 = hit.Parent:findFirstChild("Humanoid") | |
3531 | to12 = hit.Parent:findFirstChild("Torso") | |
3532 | he12 = hit.Parent:findFirstChild("Head") | |
3533 | hu1.WalkSpeed = 0 | |
3534 | if hu12.Health > 100 then | |
3535 | hu12.MaxHealth = 100 | |
3536 | hu12.Health = 100 | |
3537 | end | |
3538 | ||
3539 | ||
3540 | ||
3541 | ||
3542 | end | |
3543 | ||
3544 | if grab2 == true then | |
3545 | z4f = Instance.new("Sound",torso) | |
3546 | z4f.Volume = 5 | |
3547 | z4f.Looped = false | |
3548 | z4f.SoundId = "rbxassetid://815202315" | |
3549 | z4f:Play() | |
3550 | ||
3551 | pushaway() | |
3552 | grabon3 = true | |
3553 | wait(1) | |
3554 | grabon3 = false | |
3555 | he12.Anchored = true | |
3556 | ||
3557 | dragoncharge() | |
3558 | hand2aura.Transparency = NumberSequence.new(0) | |
3559 | wait(1.5) | |
3560 | dragonfist() | |
3561 | z4f:Destroy() | |
3562 | z4x = Instance.new("Sound",torso) | |
3563 | z4x.Volume = 5 | |
3564 | z4x.Looped = false | |
3565 | z4x.SoundId = "rbxassetid://908474188" | |
3566 | z4x:Play() | |
3567 | hand1.Transparency = 0 | |
3568 | hand2mesh.MeshId = "rbxassetid://58430372" | |
3569 | hand1.BrickColor = BrickColor.new("New Yeller") | |
3570 | hand2mesh.Scale = Vector3.new(5,5,5) | |
3571 | hand1weld.C0 = CFrame.new(0,-3,-1) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)) | |
3572 | grabon4 = true | |
3573 | wait(0.5) | |
3574 | ||
3575 | hu12.Health = 0 | |
3576 | grabon4 = false | |
3577 | wait(0.5) | |
3578 | he12.Anchored = false | |
3579 | z4x:Destroy() | |
3580 | throw1 = 5 | |
3581 | throw2 = 5 | |
3582 | ||
3583 | ||
3584 | ||
3585 | ||
3586 | ||
3587 | ||
3588 | ||
3589 | ------------------------------------------------------------ | |
3590 | hand1:Destroy() | |
3591 | hand2:Destroy() | |
3592 | ||
3593 | canattack = true | |
3594 | idle = true | |
3595 | grabhit:Destroy() | |
3596 | idle1 = true | |
3597 | ||
3598 | if jk == true then | |
3599 | jk = false | |
3600 | clickon = true | |
3601 | end | |
3602 | ||
3603 | grab8 = false | |
3604 | end | |
3605 | ||
3606 | ||
3607 | end | |
3608 | ||
3609 | ||
3610 | ||
3611 | ||
3612 | ||
3613 | ||
3614 | ||
3615 | ||
3616 | grabhit.Touched:connect(touch) | |
3617 | ||
3618 | ||
3619 | ||
3620 | ||
3621 | wait(0.2) | |
3622 | ||
3623 | if grab8 == false then | |
3624 | hand1:Destroy() | |
3625 | hand2:Destroy() | |
3626 | grabhit:Destroy() | |
3627 | ||
3628 | canattack = true | |
3629 | idle = true | |
3630 | ||
3631 | idle1 = true | |
3632 | ||
3633 | ||
3634 | ||
3635 | end | |
3636 | end | |
3637 | end | |
3638 | end | |
3639 | end) | |
3640 | game:GetService("RunService").RenderStepped:connect(function() | |
3641 | if grabon3 == true then | |
3642 | throw1 = throw1 + 1 | |
3643 | to12.CFrame = torso.CFrame + hed.CFrame.lookVector * throw1 | |
3644 | ||
3645 | end | |
3646 | if grabon4 == true then | |
3647 | throw2 = throw2 + 0.2 | |
3648 | torso.CFrame = hed.CFrame - Vector3.new(0,2,0) + hed.CFrame.lookVector * throw2 | |
3649 | end | |
3650 | if grabon1 == true then | |
3651 | ||
3652 | to1.CFrame = torso.CFrame * CFrame.Angles(math.rad(90),math.rad(0),math.rad(180)) + torso.CFrame.lookVector * 5 | |
3653 | ||
3654 | end | |
3655 | if grabon2 == true then | |
3656 | throw = throw + 6 | |
3657 | to1.CFrame = torso.CFrame * CFrame.Angles(math.rad(90),math.rad(0),math.rad(180)) + torso.CFrame.lookVector * throw | |
3658 | end | |
3659 | if grabon == true then | |
3660 | goo = goo + 0.5 | |
3661 | to.CFrame = torso.CFrame + torso.CFrame.lookVector * 2 + Vector3.new(0,goo,0) | |
3662 | end | |
3663 | if hum.Jump == true then | |
3664 | if canattack == true then | |
3665 | if clickon == true then | |
3666 | jk = true | |
3667 | clickon=false | |
3668 | end | |
3669 | zwc12 = Instance.new("Sound",torso) | |
3670 | zwc12.Volume = 1 | |
3671 | zwc12.Looped = false | |
3672 | zwc12.SoundId = "rbxassetid://436748675" | |
3673 | zwc12:Play() | |
3674 | canattack = false | |
3675 | idle = false | |
3676 | idle1 = false | |
3677 | nohit = 0 | |
3678 | ||
3679 | for i = 1, 20 do | |
3680 | wait() | |
3681 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)), 0.1)--head | |
3682 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
3683 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.4)--arm | |
3684 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-30)), 0.2)--arm | |
3685 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.7, -.8) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(-5)), 0.2)--leg | |
3686 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(5)), 0.2)--leg | |
3687 | end | |
3688 | wait(0.5) | |
3689 | canattack = true | |
3690 | idle = true | |
3691 | idle1 = true | |
3692 | if jk == true then | |
3693 | jk = false | |
3694 | clickon = true | |
3695 | end | |
3696 | end | |
3697 | end | |
3698 | if kamehameha == true then | |
3699 | aj1 = aj1 + 0.005 | |
3700 | partaura.Size = NumberSequence.new(aj1) | |
3701 | beam1.Size=beam1.Size + Vector3.new(0.01,0.01,0) | |
3702 | beamdamage = beamdamage + 0.001 | |
3703 | ||
3704 | else | |
3705 | aj1 = 0.1 | |
3706 | ||
3707 | end | |
3708 | if hited1 == true then | |
3709 | wait(0.3) | |
3710 | welld.C0 = CFrame.new(beam1.Position.x,beam1.Position.y,ts.Position.z-beamknockback) | |
3711 | human.Health = human.Health - beamdamage | |
3712 | ||
3713 | ||
3714 | human.PlatformStand = true | |
3715 | human.Sit = true | |
3716 | ||
3717 | if hited1 == false and on == true then | |
3718 | on = false | |
3719 | wait(0.5) | |
3720 | human.PlatformStand = false | |
3721 | human.Sit = false | |
3722 | beamknockback = 0 | |
3723 | beamdamage = 0.001 | |
3724 | human.Jump = true | |
3725 | ||
3726 | end | |
3727 | end | |
3728 | if clickon == true then | |
3729 | if point == false then | |
3730 | you.CFrame = CFrame.new(you.CFrame.p,t.CFrame.p) | |
3731 | if hu.Health < 1 then | |
3732 | clickon = false | |
3733 | end | |
3734 | end | |
3735 | ||
3736 | end | |
3737 | ballmesh.Scale = ballmesh.Scale + Vector3.new(5,5,5) | |
3738 | ball.Transparency = ball.Transparency + 0.05 | |
3739 | if go == false then | |
3740 | aj = aj + 0.13 | |
3741 | spirit1mesh.Scale = Vector3.new(aj,aj,aj) | |
3742 | ||
3743 | end | |
3744 | if auracan1 == true then | |
3745 | auracan1 = false | |
3746 | aura1.Texture = "rbxassetid://281983000" | |
3747 | wait(0.1) | |
3748 | aura1.Texture = "rbxassetid://281982895" | |
3749 | wait(0.1) | |
3750 | aura1.Texture = "rbxassetid://281983092" | |
3751 | wait(0.1) | |
3752 | aura1.Texture = "rbxassetid://281996097" | |
3753 | wait(0.1) | |
3754 | aura1.Texture = "rbxassetid://281983189" | |
3755 | wait(0.1) | |
3756 | aura1.Texture = "rbxassetid://281983242" | |
3757 | wait(0.1) | |
3758 | aura1.Texture = "rbxassetid://281983280" | |
3759 | wait(0.1) | |
3760 | aura1.Texture = "rbxassetid://281983337" | |
3761 | wait(0.1) | |
3762 | ||
3763 | auracan1 = true | |
3764 | end | |
3765 | if auracan == true then | |
3766 | auracan = false | |
3767 | aura.Texture = "rbxassetid://901509906" | |
3768 | wait(0.07) | |
3769 | aura.Texture = "rbxassetid://901510046" | |
3770 | wait(0.07) | |
3771 | aura.Texture = "rbxassetid://901510125" | |
3772 | wait(0.07) | |
3773 | ||
3774 | auracan = true | |
3775 | end | |
3776 | if auracan3 == true then | |
3777 | auracan3 = false | |
3778 | aura3.Texture = "rbxassetid://901509906" | |
3779 | wait(0.07) | |
3780 | aura3.Texture = "rbxassetid://901510046" | |
3781 | wait(0.07) | |
3782 | aura3.Texture = "rbxassetid://901510125" | |
3783 | wait(0.07) | |
3784 | auracan3 = true | |
3785 | end | |
3786 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
3787 | ||
3788 | if walk == true then | |
3789 | ||
3790 | if canattack == true then | |
3791 | walk = false | |
3792 | walkon = true | |
3793 | ||
3794 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)--head | |
3795 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), 0.5)--torso | |
3796 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(5)), 0.5)--rarm | |
3797 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-5)),0.5)--larm | |
3798 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.5) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(-5)),.5)--lleg | |
3799 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(5)),.5)--rleg | |
3800 | wait(0.1) | |
3801 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
3802 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)--head | |
3803 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), 0.5)--torso | |
3804 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(5)), 0.5)--rarm | |
3805 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-5)),0.5)--larm | |
3806 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.5) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(-5)),.5)--lleg | |
3807 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(5)),.5)--rleg | |
3808 | wait(0.1) | |
3809 | end | |
3810 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
3811 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
3812 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
3813 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(5)), .5)--rarm | |
3814 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-5)),1)--larm | |
3815 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.2) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(-5)),.5)--lleg | |
3816 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), math.rad(0), math.rad(5)),.5)--rleg | |
3817 | ||
3818 | z41 = Instance.new("Sound",char) | |
3819 | z41.Volume = 10 | |
3820 | z41.Looped = false | |
3821 | z41.SoundId = walksound | |
3822 | z41:Play() | |
3823 | wait(.1) | |
3824 | end | |
3825 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
3826 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
3827 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
3828 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(5)), .5)--rarm | |
3829 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-5)),1)--larm | |
3830 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.2) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(-5)),.5)--lleg | |
3831 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), math.rad(0), math.rad(5)),.5)--rleg | |
3832 | ||
3833 | ||
3834 | wait(.1) | |
3835 | end | |
3836 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
3837 | ||
3838 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
3839 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
3840 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), .5)--rarm | |
3841 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),.5)--larm | |
3842 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)),.5)--lleg | |
3843 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)),.5)--rleg | |
3844 | wait(0.1) | |
3845 | ||
3846 | end | |
3847 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
3848 | ||
3849 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
3850 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
3851 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), .5)--rarm | |
3852 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),.5)--larm | |
3853 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)),.5)--lleg | |
3854 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)),.5)--rleg | |
3855 | wait(0.1) | |
3856 | ||
3857 | end | |
3858 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
3859 | ||
3860 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
3861 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
3862 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(5)), .5)--rarm | |
3863 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-5)),.5)--larm | |
3864 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)),.5)--lleg | |
3865 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.5) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(5)),.5)--rleg | |
3866 | wait(0.1) | |
3867 | end | |
3868 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
3869 | ||
3870 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
3871 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
3872 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(5)), .5)--rarm | |
3873 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-5)),.5)--larm | |
3874 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)),.5)--lleg | |
3875 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.5) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(5)),.5)--rleg | |
3876 | wait(0.1) | |
3877 | end | |
3878 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
3879 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
3880 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
3881 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(5)), .5)--rarm | |
3882 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-5)),.5)--larm | |
3883 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.2) * CFrame.Angles(math.rad(-8), math.rad(0), math.rad(-5)),.5)--lleg | |
3884 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.2) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(5)),.5)--rleg | |
3885 | wait(0.1) | |
3886 | z41 = Instance.new("Sound",char) | |
3887 | z41.Volume = 10 | |
3888 | z41.Looped = false | |
3889 | z41.SoundId = walksound | |
3890 | z41:Play() | |
3891 | end | |
3892 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
3893 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
3894 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
3895 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(5)), .5)--rarm | |
3896 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-5)),.5)--larm | |
3897 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.2) * CFrame.Angles(math.rad(-8), math.rad(0), math.rad(-5)),.5)--lleg | |
3898 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.2) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(5)),.5)--rleg | |
3899 | wait(0.1) | |
3900 | ||
3901 | end | |
3902 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
3903 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
3904 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
3905 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), .5)--rarm | |
3906 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),.5)--larm | |
3907 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)),.5)--lleg | |
3908 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)),.5)--rleg | |
3909 | ||
3910 | wait(0.1) | |
3911 | end | |
3912 | if hum.MoveDirection.x > 0 and nohit > 10 or hum.MoveDirection.x < 0 and nohit > 10 then | |
3913 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
3914 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .5)--torso | |
3915 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), .5)--rarm | |
3916 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),.5)--larm | |
3917 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)),.5)--lleg | |
3918 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)),.5)--rleg | |
3919 | ||
3920 | wait(0.1) | |
3921 | end | |
3922 | ||
3923 | walk = true | |
3924 | end | |
3925 | end | |
3926 | end | |
3927 | if hum.MoveDirection.x == 0 then | |
3928 | if idle1 == true then | |
3929 | walkon = false | |
3930 | idle1 = false | |
3931 | idle = false | |
3932 | ||
3933 | ||
3934 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50),math.rad(0)), 0.4)--head | |
3935 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)), 0.2)--torso | |
3936 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.3,-0.5)*CFrame.Angles(math.rad(160),math.rad(210),math.rad(0)), 0.2)--rarm | |
3937 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(-20)), 0.2)--larm | |
3938 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, .2) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.4)--lleg | |
3939 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.2) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(20)), 0.4)--rleg | |
3940 | wait(0.1) | |
3941 | ||
3942 | if canattack == true then | |
3943 | idle = true | |
3944 | idle1 = true | |
3945 | end | |
3946 | end | |
3947 | ||
3948 | end | |
3949 | nohit = nohit + 0.2 | |
3950 | if nohit > 10 and canattack == true and walkon == false then | |
3951 | idle = true | |
3952 | idle1 = true | |
3953 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50),math.rad(0)), 0.4)--head | |
3954 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)), 0.2)--torso | |
3955 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.3,-0.5)*CFrame.Angles(math.rad(160),math.rad(210),math.rad(0)), 0.2)--rarm | |
3956 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(-20)), 0.2)--larm | |
3957 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, .2) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.4)--lleg | |
3958 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.2) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(20)), 0.4)--rleg | |
3959 | ||
3960 | end | |
3961 | if darius == true then | |
3962 | darius = false | |
3963 | wait(0.1) | |
3964 | part2.Texture = "http://www.roblox.com/asset/?id=894173257" | |
3965 | wait(0.1) | |
3966 | part2.Texture = "http://www.roblox.com/asset/?id=894173392" | |
3967 | wait(0.1) | |
3968 | part2.Texture = "http://www.roblox.com/asset/?id=890403068" | |
3969 | wait(0.1) | |
3970 | part2.Texture = "http://www.roblox.com/asset/?id=890403512" | |
3971 | darius = true | |
3972 | end | |
3973 | end) | |
3974 | end | |
3975 | ) | |
3976 | end) |