SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | Beerus - God of Destruction | |
3 | Credits: | |
4 | Riz | |
5 | Riz v3rmillion = Afizixu | |
6 | Riz Roblox = DankScripter and Grogidox | |
7 | ]] | |
8 | ||
9 | local p = game.Players.LocalPlayer | |
10 | local char = p.Character | |
11 | local mouse = p:GetMouse() | |
12 | local larm = char["Left Arm"] | |
13 | local rarm = char["Right Arm"] | |
14 | local lleg = char["Left Leg"] | |
15 | local rleg = char["Right Leg"] | |
16 | local hed = char.Head | |
17 | local torso = char.Torso | |
18 | local hum = char.Humanoid | |
19 | local cam = game.Workspace.CurrentCamera | |
20 | local root = char.HumanoidRootPart | |
21 | local deb = false | |
22 | local shot = 0 | |
23 | local potential = false | |
24 | local debris=game:service"Debris" | |
25 | local l = game:GetService("Lighting") | |
26 | local rs = game:GetService("RunService").RenderStepped | |
27 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
28 | math.randomseed(os.time()) | |
29 | for i,v in pairs(char:children()) do | |
30 | if v:IsA("Accessory") then | |
31 | v:Destroy() | |
32 | end | |
33 | end | |
34 | for i,v in pairs (hed:GetChildren()) do | |
35 | if v:IsA("Sound") then | |
36 | v:Destroy() | |
37 | end | |
38 | end | |
39 | ---------------------------------------------------- | |
40 | Debounces = { | |
41 | CanAttack = true; | |
42 | NoIdl = false; | |
43 | Slashing = false; | |
44 | Slashed = false; | |
45 | RPunch = false; | |
46 | Invisible = false; | |
47 | RPunched = false; | |
48 | LPunch = false; | |
49 | LPunched = false; | |
50 | } | |
51 | local Touche = {char.Name, } | |
52 | ---------------------------------------------------- | |
53 | hed.face.Texture = "http://www.roblox.com/asset/?id=602427899" | |
54 | - | hed.face.Texture = "rbxassetid://342828206" |
54 | + | |
55 | char["Body Colors"].TorsoColor = BrickColor.new("Lavender") | |
56 | char["Body Colors"].LeftArmColor = BrickColor.new("Lavender") | |
57 | char["Body Colors"].RightArmColor = BrickColor.new("Lavender") | |
58 | ---------------------------------------------------- | |
59 | ypcall(function() | |
60 | shirt = Instance.new("Shirt", char) | |
61 | shirt.Name = "Shirt" | |
62 | pants = Instance.new("Pants", char) | |
63 | pants.Name = "Pants" | |
64 | char.Shirt.ShirtTemplate = "rbxassetid://771505899" | |
65 | - | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=245880330" |
65 | + | char.Pants.PantsTemplate = "rbxassetid://785256460" |
66 | - | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=245880370" |
66 | + | |
67 | ---------------------------------------------------- | |
68 | ---------------------------------------------------- | |
69 | --[[Additional Functions]] | |
70 | ||
71 | cf=CFrame.new | |
72 | vt=Vector3.new | |
73 | ||
74 | function swait(num) | |
75 | if num==0 or num==nil then | |
76 | game:service'RunService'.Stepped:wait(0) | |
77 | else | |
78 | for i=0,num do | |
79 | game:service'RunService'.Stepped:wait(0) | |
80 | end | |
81 | end | |
82 | end | |
83 | ||
84 | so = function(id,par,vol,pit) | |
85 | coroutine.resume(coroutine.create(function() | |
86 | local sou = Instance.new("Sound",par or workspace) | |
87 | sou.Volume=vol | |
88 | sou.Pitch=pit or 1 | |
89 | sou.SoundId=id | |
90 | swait() | |
91 | sou:play() | |
92 | game:GetService("Debris"):AddItem(sou,6) | |
93 | end)) | |
94 | end | |
95 | ||
96 | ---------------------------------------------------- | |
97 | ||
98 | function lerp(a, b, t) -- Linear interpolation | |
99 | return a + (b - a)*t | |
100 | end | |
101 | ||
102 | function slerp(a, b, t) --Spherical interpolation | |
103 | dot = a:Dot(b) | |
104 | if dot > 0.99999 or dot < -0.99999 then | |
105 | return t <= 0.5 and a or b | |
106 | else | |
107 | r = math.acos(dot) | |
108 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
109 | end | |
110 | end | |
111 | ||
112 | function matrixInterpolate(a, b, t) | |
113 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
114 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
115 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
116 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
117 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
118 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
119 | local t = v1:Dot(v2) | |
120 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
121 | return CFrame.new() | |
122 | end | |
123 | return CFrame.new( | |
124 | v0.x, v0.y, v0.z, | |
125 | v1.x, v1.y, v1.z, | |
126 | v2.x, v2.y, v2.z, | |
127 | v3.x, v3.y, v3.z) | |
128 | end | |
129 | lmod = Instance.new("Model",char) | |
130 | ---------------------------------------------------- | |
131 | function Landing() | |
132 | part=Instance.new('Part',lmod) | |
133 | part.Anchored=true | |
134 | part.CanCollide=false | |
135 | part.FormFactor='Custom' | |
136 | part.Size=Vector3.new(.2,.2,.2) | |
137 | part.CFrame=root.CFrame*CFrame.new(0,-2,0) | |
138 | part.Transparency=.7 | |
139 | part.BrickColor=BrickColor.new('Institutional white') | |
140 | mesh=Instance.new('SpecialMesh',part) | |
141 | mesh.MeshId='rbxassetid://431164262' | |
142 | mesh.Scale=Vector3.new(8,3,8) | |
143 | ||
144 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,20))do | |
145 | if v:FindFirstChild('Humanoid') then | |
146 | v.Humanoid:TakeDamage(math.random(999999999999999999999999,99999999999999999999)) | |
147 | - | v.Humanoid:TakeDamage(math.random(20,30)) |
147 | + | |
148 | coroutine.resume(coroutine.create(function() | |
149 | wait(2) | |
150 | v.Humanoid.PlatformStand = false | |
151 | end)) | |
152 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
153 | end | |
154 | end | |
155 | ||
156 | coroutine.resume(coroutine.create(function() | |
157 | for i=0,3.8,0.05 do | |
158 | wait() | |
159 | part.CFrame=part.CFrame | |
160 | part.Transparency=i + 0.5 | |
161 | mesh.Scale=mesh.Scale+Vector3.new(1, -0.1 ,1) | |
162 | end | |
163 | part.Parent = nil | |
164 | end)) | |
165 | end | |
166 | function newRay(start,face,range,wat) | |
167 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
168 | hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
169 | return rey,hit,pos | |
170 | end | |
171 | ---------------------------------------------------- | |
172 | partic2 = Instance.new("ParticleEmitter",torso) | |
173 | partic2.Color = ColorSequence.new(Color3.new(100/225,100/255,100/255),Color3.new(100/255,100/255,100/255)) | |
174 | partic2.LightEmission = .95 | |
175 | partic2.VelocityInheritance = 0.2 | |
176 | partic2.Rate = 300 | |
177 | partic2.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
178 | partic2.Lifetime = NumberRange.new(0.1,0.2) | |
179 | partic2.RotSpeed = NumberRange.new(100,100) | |
180 | partic2.Speed = NumberRange.new(2,6) | |
181 | partic2.Enabled = false | |
182 | partic2.LockedToPart = false | |
183 | -------------------- | |
184 | function Charge() | |
185 | pt=Instance.new('Part',torso) | |
186 | pt.Anchored=true | |
187 | pt.CanCollide=false | |
188 | pt.Locked = true | |
189 | pt.FormFactor='Custom' | |
190 | pt.Size=Vector3.new(1,1,1) | |
191 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
192 | pt.Transparency=0.2 | |
193 | pt.BrickColor=BrickColor.new("Eggplant") | |
194 | msh=Instance.new('SpecialMesh',pt) | |
195 | msh.MeshId='http://www.roblox.com/asset/?id=24388358' | |
196 | msh.Scale=Vector3.new(6,3,6) | |
197 | pt2=pt:clone() | |
198 | pt2.Parent = torso | |
199 | pt2.Transparency=0.4 | |
200 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
201 | pt2.BrickColor=BrickColor.new("Eggplant") | |
202 | msh2=msh:clone() | |
203 | msh2.Parent=pt2 | |
204 | msh2.Scale=Vector3.new(8,4,8) | |
205 | pt3=Instance.new('Part',torso) | |
206 | pt3.Anchored=true | |
207 | pt3.CanCollide=false | |
208 | pt3.Locked = true | |
209 | pt3.FormFactor='Custom' | |
210 | pt3.Size=Vector3.new(1,1,1) | |
211 | pt3.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
212 | pt3.Transparency=0.6 | |
213 | pt3.BrickColor=BrickColor.new("Eggplant") | |
214 | msh3=Instance.new('SpecialMesh',pt3) | |
215 | msh3.MeshId='http://www.roblox.com/asset/?id=24388358' | |
216 | msh3.Scale=Vector3.new(12,6,12) | |
217 | pt4=pt:clone() | |
218 | pt4.Parent = torso | |
219 | pt4.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
220 | pt4.Transparency=0.8 | |
221 | pt4.BrickColor=BrickColor.new("Eggplant") | |
222 | msh4=msh:clone() | |
223 | msh4.Parent=pt4 | |
224 | msh4.Scale=Vector3.new(16,8,16) | |
225 | coroutine.resume(coroutine.create(function() | |
226 | for i=1, math.huge, 4 do | |
227 | if Charging == true then | |
228 | wait() | |
229 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2+0.11*math.cos(sine/10)),0) | |
230 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2+0.12*math.cos(sine/12)),0) | |
231 | pt3.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2+0.13*math.cos(sine/14)),0) | |
232 | pt4.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2+0.14*math.cos(sine/16)),0) | |
233 | pt.CFrame = pt.CFrame+Vector3.new(0,0.01,0) | |
234 | pt2.CFrame = pt2.CFrame+Vector3.new(0,0.01,0) | |
235 | pt3.CFrame = pt3.CFrame+Vector3.new(0,0.01,0) | |
236 | pt4.CFrame = pt4.CFrame+Vector3.new(0,0.01,0) | |
237 | msh.Scale = msh.Scale + Vector3.new(0.05,0.04+0.8*math.cos(sine/9),0.05) | |
238 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0.04+0.8*math.cos(sine/7),0.05) | |
239 | msh3.Scale = msh3.Scale + Vector3.new(0.05,0.04+0.8*math.cos(sine/5),0.05) | |
240 | msh4.Scale = msh4.Scale + Vector3.new(0.05,0.04+0.8*math.cos(sine/3),0.05) | |
241 | elseif Charging == false then | |
242 | pt:Remove() | |
243 | pt2:Remove() | |
244 | pt3:Remove() | |
245 | pt4:Remove() | |
246 | break | |
247 | end | |
248 | end | |
249 | end)) | |
250 | end | |
251 | --------------- | |
252 | Magik = function() | |
253 | Spawn(function() | |
254 | if Debounces.Invisible == false then | |
255 | local function lerp(a,b,c) | |
256 | return a+(b-a)*c | |
257 | end | |
258 | local function rndRange(rng) | |
259 | return math.random(-rng*1000,rng*1000)/1000 | |
260 | end | |
261 | local magik = Instance.new("Part", larm) | |
262 | local Colors = {"Lavender", "Royal purple", "Black"} | |
263 | magik.Anchored = true | |
264 | magik.Locked = true | |
265 | magik.FormFactor = "Custom" | |
266 | magik.Size = Vector3.new(1.2, 1.2, 1.2) | |
267 | magik.TopSurface = "Smooth" | |
268 | magik.Transparency = 0 | |
269 | magik.Material = "Neon" | |
270 | ||
271 | magik.BottomSurface = "Smooth" | |
272 | magik.CanCollide = false | |
273 | magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
274 | local mr = math.rad | |
275 | local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180)) | |
276 | local cf = lleg.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)--bad argument #1 to '?' | |
277 | magik.CFrame = cf | |
278 | for i = 0, 1, .05 do | |
279 | local newTrans = lerp(0.5, 1, i) | |
280 | local ns = lerp(1,1.2,i) | |
281 | magik.Transparency = newTrans | |
282 | magik.Size = Vector3.new(ns,ns,ns) | |
283 | magik.CFrame = cf | |
284 | rs:wait() | |
285 | end | |
286 | magik:Destroy() | |
287 | elseif Debounces.Invisible == true then | |
288 | wait() | |
289 | end | |
290 | end) | |
291 | end | |
292 | ---------------------------------------------------- | |
293 | Magik2 = function() | |
294 | Spawn(function() | |
295 | if Debounces.Invisible == false then | |
296 | local function lerp(a,b,c) | |
297 | return a+(b-a)*c | |
298 | end | |
299 | local function rndRange(rng) | |
300 | return math.random(-rng*1000,rng*1000)/1000 | |
301 | end | |
302 | local magik2 = Instance.new("Part", larm) | |
303 | local Colors = {"Lavender", "Royal purple", "Black"} | |
304 | magik2.Anchored = true | |
305 | magik2.Locked = true | |
306 | magik2.FormFactor = "Custom" | |
307 | magik2.Size = Vector3.new(1.2, 1.2, 1.2) | |
308 | magik2.TopSurface = "Smooth" | |
309 | magik2.Transparency = 0 | |
310 | magik2.Material = "Neon" | |
311 | ||
312 | magik2.BottomSurface = "Smooth" | |
313 | magik2.CanCollide = false | |
314 | magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
315 | local mr = math.rad | |
316 | local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180)) | |
317 | local cf = rleg.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)--bad argument #1 to '?' | |
318 | magik2.CFrame = cf | |
319 | for i = 0, 1, .05 do | |
320 | local newTrans = lerp(0.5, 1, i) | |
321 | local ns = lerp(1,1.2,i) | |
322 | magik2.Transparency = newTrans | |
323 | magik2.Size = Vector3.new(ns,ns,ns) | |
324 | magik2.CFrame = cf | |
325 | rs:wait() | |
326 | end | |
327 | magik2:Destroy() | |
328 | elseif Debounces.Invisible == true then | |
329 | wait() | |
330 | end | |
331 | end) | |
332 | end | |
333 | ---------------------------------------------------- | |
334 | function NewPart(prnt,siz,cf,col,mat) | |
335 | local prt=Instance.new("Part") | |
336 | prt.Parent=prnt | |
337 | prt.FormFactor=3 | |
338 | prt.Name="Part" | |
339 | prt.Size=siz | |
340 | prt.CanCollide=false | |
341 | prt.Anchored=true | |
342 | prt.Locked=true | |
343 | prt.TopSurface=10 | |
344 | prt.BottomSurface=10 | |
345 | prt.FrontSurface=10 | |
346 | prt.BackSurface=10 | |
347 | prt.LeftSurface=10 | |
348 | prt.RightSurface=10 | |
349 | prt:BreakJoints() | |
350 | prt.CFrame=cf or CFrame.new(30,10,30) | |
351 | prt.Material=mat | |
352 | prt.BrickColor=BrickColor.new(col) | |
353 | m=Instance.new("SpecialMesh",prt) | |
354 | m.MeshType=6 | |
355 | return prt | |
356 | end | |
357 | ----------------------------------------- | |
358 | ||
359 | function genWeld(a,b) | |
360 | local w = Instance.new("Weld",a) | |
361 | w.Part0 = a | |
362 | w.Part1 = b | |
363 | return w | |
364 | end | |
365 | function weld(a, b) | |
366 | local weld = Instance.new("Weld") | |
367 | weld.Name = "W" | |
368 | weld.Part0 = a | |
369 | weld.Part1 = b | |
370 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
371 | weld.Parent = a | |
372 | return weld; | |
373 | end | |
374 | ---------------------------------------------------- | |
375 | function Lerp(c1,c2,al) | |
376 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
377 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
378 | for i,v in pairs(com1) do | |
379 | com1[i] = v+(com2[i]-v)*al | |
380 | end | |
381 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
382 | end | |
383 | ---------------------------------------------------- | |
384 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
385 | local wld = Instance.new("Weld", wp1) | |
386 | wld.Part0 = wp0 | |
387 | wld.Part1 = wp1 | |
388 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
389 | end | |
390 | ---------------------------------------------------- | |
391 | function weld5(part0, part1, c0, c1) | |
392 | weeld=Instance.new("Weld", part0) | |
393 | weeld.Part0=part0 | |
394 | weeld.Part1=part1 | |
395 | weeld.C0=c0 | |
396 | weeld.C1=c1 | |
397 | return weeld | |
398 | end | |
399 | ---------------------------------------------------- | |
400 | function HasntTouched(plrname) | |
401 | local ret = true | |
402 | for _, v in pairs(Touche) do | |
403 | if v == plrname then | |
404 | ret = false | |
405 | end | |
406 | end | |
407 | return ret | |
408 | end | |
409 | ---------------------------------------------------- | |
410 | newWeld(torso, larm, -1.5, 0.5, 0) | |
411 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
412 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
413 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
414 | newWeld(torso, hed, 0, 1.5, 0) | |
415 | newWeld(torso, lleg, -0.5, -1, 0) | |
416 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
417 | newWeld(torso, rleg, 0.5, -1, 0) | |
418 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
419 | newWeld(root, torso, 0, -1, 0) | |
420 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
421 | ------------------------------------------------------music | |
422 | z = Instance.new("Sound", char) | |
423 | z.SoundId = "rbxassetid://693779092"--552945114 | |
424 | z.Looped = true | |
425 | z.Pitch = 1 | |
426 | z.Volume = 1 | |
427 | wait(.1) | |
428 | z:Play() | |
429 | ---------------------------------------------------- | |
430 | local Transforming = false | |
431 | hum.WalkSpeed = 0 | |
432 | local fx = Instance.new("Part",torso) | |
433 | fx.Anchored = true | |
434 | fx.Material = "Neon" | |
435 | fx.CanCollide = false | |
436 | fx.Locked = true | |
437 | fx.Transparency = 1 | |
438 | fx.Material = "SmoothPlastic" | |
439 | fx.Size = Vector3.new(1,1,1) | |
440 | fx.TopSurface = "SmoothNoOutlines" | |
441 | fx.BottomSurface = "SmoothNoOutlines" | |
442 | fx.BrickColor = BrickColor.new("Lavender") | |
443 | fxm = Instance.new("SpecialMesh",fx) | |
444 | fxm.MeshType = "Sphere" | |
445 | fxm.Scale = Vector3.new(1,1,1) | |
446 | for i = 1, 20 do rs:wait() | |
447 | fx.Transparency = fx.Transparency - (1/20) | |
448 | fx.CFrame = torso.CFrame | |
449 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
450 | ||
451 | end | |
452 | ------------------------------------------------ | |
453 | ||
454 | local m = Instance.new("Model") | |
455 | m.Name = "Hair" | |
456 | p1 = Instance.new("Part", m) | |
457 | p1.BrickColor = BrickColor.new("Lavender") | |
458 | p1.Transparency = 1 | |
459 | p1.FormFactor = Enum.FormFactor.Symmetric | |
460 | p1.Size = Vector3.new(1, 1, 1) | |
461 | p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006) | |
462 | p1.CanCollide = false | |
463 | p1.Locked = true | |
464 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
465 | p1.TopSurface = Enum.SurfaceType.Smooth | |
466 | b1 = Instance.new("SpecialMesh", p1) | |
467 | b1.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
468 | b1.TextureId = "" | |
469 | b1.MeshType = Enum.MeshType.FileMesh | |
470 | b1.Name = "Mesh" | |
471 | b1.VertexColor = Vector3.new(0, 0, 0) | |
472 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
473 | p2 = Instance.new("Part", m) | |
474 | p2.BrickColor = BrickColor.new("Pastel brown") | |
475 | p2.Transparency = 1 | |
476 | p2.Name = "Head" | |
477 | p2.FormFactor = Enum.FormFactor.Symmetric | |
478 | p2.Size = Vector3.new(2, 1, 1) | |
479 | p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006) | |
480 | p2.CanCollide = false | |
481 | p2.Locked = true | |
482 | p2.TopSurface = Enum.SurfaceType.Smooth | |
483 | b2 = Instance.new("SpecialMesh", p2) | |
484 | b2.MeshType = Enum.MeshType.Head | |
485 | b2.Name = "Mesh" | |
486 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
487 | p3 = Instance.new("Part", m) | |
488 | p3.BrickColor = BrickColor.new("Lavender") | |
489 | p3.Transparency = 1 | |
490 | p3.FormFactor = Enum.FormFactor.Symmetric | |
491 | p3.Size = Vector3.new(2, 2, 2) | |
492 | p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006) | |
493 | p3.CanCollide = false | |
494 | p3.Locked = true | |
495 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
496 | p3.TopSurface = Enum.SurfaceType.Smooth | |
497 | b3 = Instance.new("SpecialMesh", p3) | |
498 | b3.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
499 | b3.TextureId = "" | |
500 | b3.MeshType = Enum.MeshType.FileMesh | |
501 | b3.Name = "Mesh" | |
502 | b3.VertexColor = Vector3.new(0, 0, 0) | |
503 | b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
504 | p4 = Instance.new("Part", m) | |
505 | p4.BrickColor = BrickColor.new("Lavender") | |
506 | p4.FormFactor = Enum.FormFactor.Symmetric | |
507 | p4.Size = Vector3.new(1, 1, 1) | |
508 | p4.Transparency = 1 | |
509 | p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006) | |
510 | p4.CanCollide = false | |
511 | p4.Locked = true | |
512 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
513 | p4.TopSurface = Enum.SurfaceType.Smooth | |
514 | b4 = Instance.new("SpecialMesh", p4) | |
515 | b4.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
516 | b4.TextureId = "" | |
517 | b4.MeshType = Enum.MeshType.FileMesh | |
518 | b4.Name = "Mesh" | |
519 | b4.VertexColor = Vector3.new(0, 0, 0) | |
520 | p5 = Instance.new("Part", m) | |
521 | p5.BrickColor = BrickColor.new("Lavender") | |
522 | p5.FormFactor = Enum.FormFactor.Symmetric | |
523 | p5.Size = Vector3.new(1, 1, 1) | |
524 | p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007) | |
525 | p5.CanCollide = false | |
526 | p5.Transparency = 1 | |
527 | p5.Locked = true | |
528 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
529 | p5.TopSurface = Enum.SurfaceType.Smooth | |
530 | b5 = Instance.new("SpecialMesh", p5) | |
531 | b5.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
532 | b5.TextureId = "" | |
533 | b5.MeshType = Enum.MeshType.FileMesh | |
534 | b5.Name = "Mesh" | |
535 | b5.VertexColor = Vector3.new(0, 0, 0) | |
536 | b5.Scale = Vector3.new(1, 0.899999976, 1) | |
537 | p6 = Instance.new("Part", m) | |
538 | p6.BrickColor = BrickColor.new("Lavender") | |
539 | p6.FormFactor = Enum.FormFactor.Symmetric | |
540 | p6.Transparency = 1 | |
541 | p6.Size = Vector3.new(1, 1, 1) | |
542 | p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007) | |
543 | p6.CanCollide = false | |
544 | p6.Locked = true | |
545 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
546 | p6.TopSurface = Enum.SurfaceType.Smooth | |
547 | b6 = Instance.new("SpecialMesh", p6) | |
548 | b6.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
549 | b6.TextureId = "" | |
550 | b6.MeshType = Enum.MeshType.FileMesh | |
551 | b6.Name = "Mesh" | |
552 | b6.VertexColor = Vector3.new(0, 0, 0) | |
553 | p7 = Instance.new("Part", m) | |
554 | p7.BrickColor = BrickColor.new("Lavender") | |
555 | p7.FormFactor = Enum.FormFactor.Symmetric | |
556 | p7.Transparency = 1 | |
557 | p7.Size = Vector3.new(1, 1, 1) | |
558 | p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007) | |
559 | p7.CanCollide = false | |
560 | p7.Locked = true | |
561 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
562 | p7.TopSurface = Enum.SurfaceType.Smooth | |
563 | b7 = Instance.new("SpecialMesh", p7) | |
564 | b7.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
565 | b7.TextureId = "" | |
566 | b7.MeshType = Enum.MeshType.FileMesh | |
567 | b7.Name = "Mesh" | |
568 | b7.VertexColor = Vector3.new(0, 0, 0) | |
569 | p8 = Instance.new("Part", m) | |
570 | p8.BrickColor = BrickColor.new("Lavender") | |
571 | p8.FormFactor = Enum.FormFactor.Symmetric | |
572 | p8.Size = Vector3.new(1, 1, 1) | |
573 | p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007) | |
574 | p8.CanCollide = false | |
575 | p8.Transparency = 1 | |
576 | p8.Locked = true | |
577 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
578 | p8.TopSurface = Enum.SurfaceType.Smooth | |
579 | b8 = Instance.new("SpecialMesh", p8) | |
580 | b8.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
581 | b8.TextureId = "" | |
582 | b8.MeshType = Enum.MeshType.FileMesh | |
583 | b8.Name = "Mesh" | |
584 | b8.VertexColor = Vector3.new(0, 0, 0) | |
585 | b8.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
586 | p9 = Instance.new("Part", m) | |
587 | p9.BrickColor = BrickColor.new("Lavender") | |
588 | p9.FormFactor = Enum.FormFactor.Symmetric | |
589 | p9.Size = Vector3.new(2, 1, 2) | |
590 | p9.Transparency = 1 | |
591 | p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007) | |
592 | p9.CanCollide = false | |
593 | p9.Locked = true | |
594 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
595 | p9.TopSurface = Enum.SurfaceType.Smooth | |
596 | b9 = Instance.new("SpecialMesh", p9) | |
597 | b9.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
598 | b9.TextureId = "" | |
599 | b9.MeshType = Enum.MeshType.FileMesh | |
600 | b9.Name = "Mesh" | |
601 | b9.VertexColor = Vector3.new(0, 0, 0) | |
602 | b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995) | |
603 | p10 = Instance.new("Part", m) | |
604 | p10.BrickColor = BrickColor.new("Lavender") | |
605 | p10.Transparency = 1 | |
606 | p10.FormFactor = Enum.FormFactor.Symmetric | |
607 | p10.Size = Vector3.new(1, 1, 1) | |
608 | p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007) | |
609 | p10.CanCollide = false | |
610 | p10.Locked = true | |
611 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
612 | p10.TopSurface = Enum.SurfaceType.Smooth | |
613 | b10 = Instance.new("SpecialMesh", p10) | |
614 | b10.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
615 | b10.TextureId = "" | |
616 | b10.MeshType = Enum.MeshType.FileMesh | |
617 | b10.Name = "Mesh" | |
618 | b10.VertexColor = Vector3.new(0, 0, 0) | |
619 | b10.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
620 | p11 = Instance.new("Part", m) | |
621 | p11.BrickColor = BrickColor.new("Lavender") | |
622 | p11.Transparency = 1 | |
623 | p11.FormFactor = Enum.FormFactor.Symmetric | |
624 | p11.Size = Vector3.new(1, 1, 1) | |
625 | p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007) | |
626 | p11.CanCollide = false | |
627 | p11.Locked = true | |
628 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
629 | p11.TopSurface = Enum.SurfaceType.Smooth | |
630 | b11 = Instance.new("SpecialMesh", p11) | |
631 | b11.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
632 | b11.TextureId = "" | |
633 | b11.MeshType = Enum.MeshType.FileMesh | |
634 | b11.Name = "Mesh" | |
635 | b11.VertexColor = Vector3.new(0, 0, 0) | |
636 | b11.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
637 | p12 = Instance.new("Part", m) | |
638 | p12.BrickColor = BrickColor.new("Lavender") | |
639 | p12.FormFactor = Enum.FormFactor.Custom | |
640 | p12.Size = Vector3.new(1, 3.5, 1) | |
641 | p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007) | |
642 | p12.CanCollide = false | |
643 | p12.Transparency = 1 | |
644 | p12.Locked = true | |
645 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
646 | p12.TopSurface = Enum.SurfaceType.Smooth | |
647 | b12 = Instance.new("SpecialMesh", p12) | |
648 | b12.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
649 | b12.TextureId = "" | |
650 | b12.MeshType = Enum.MeshType.FileMesh | |
651 | b12.Name = "Mesh" | |
652 | b12.VertexColor = Vector3.new(0, 0, 0) | |
653 | b12.Scale = Vector3.new(1, 3, 1.29999995) | |
654 | p13 = Instance.new("Part", m) | |
655 | p13.Transparency = 1 | |
656 | p13.BrickColor = BrickColor.new("Lavender") | |
657 | p13.FormFactor = Enum.FormFactor.Custom | |
658 | p13.Size = Vector3.new(1, 2, 1) | |
659 | p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007) | |
660 | p13.CanCollide = false | |
661 | p13.Locked = true | |
662 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
663 | p13.TopSurface = Enum.SurfaceType.Smooth | |
664 | b13 = Instance.new("SpecialMesh", p13) | |
665 | b13.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
666 | b13.TextureId = "" | |
667 | b13.MeshType = Enum.MeshType.FileMesh | |
668 | b13.Name = "Mesh" | |
669 | b13.VertexColor = Vector3.new(0, 0, 0) | |
670 | b13.Scale = Vector3.new(1, 3, 1.29999995) | |
671 | p14 = Instance.new("Part", m) | |
672 | p14.Transparency = 1 | |
673 | p14.BrickColor = BrickColor.new("Lavender") | |
674 | p14.FormFactor = Enum.FormFactor.Custom | |
675 | p14.Size = Vector3.new(1, 2, 1) | |
676 | p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007) | |
677 | p14.CanCollide = false | |
678 | p14.Locked = true | |
679 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
680 | p14.TopSurface = Enum.SurfaceType.Smooth | |
681 | b14 = Instance.new("SpecialMesh", p14) | |
682 | b14.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
683 | b14.TextureId = "" | |
684 | b14.MeshType = Enum.MeshType.FileMesh | |
685 | b14.Name = "Mesh" | |
686 | b14.VertexColor = Vector3.new(0, 0, 0) | |
687 | b14.Scale = Vector3.new(1, 3, 1.29999995) | |
688 | p15 = Instance.new("Part", m) | |
689 | p15.BrickColor = BrickColor.new("Lavender") | |
690 | p15.FormFactor = Enum.FormFactor.Custom | |
691 | p15.Size = Vector3.new(1, 2.5, 1) | |
692 | p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281) | |
693 | p15.CanCollide = false | |
694 | p15.Transparency = 1 | |
695 | p15.Locked = true | |
696 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
697 | p15.TopSurface = Enum.SurfaceType.Smooth | |
698 | b15 = Instance.new("SpecialMesh", p15) | |
699 | b15.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
700 | b15.TextureId = "" | |
701 | b15.MeshType = Enum.MeshType.FileMesh | |
702 | b15.Name = "Mesh" | |
703 | b15.VertexColor = Vector3.new(0, 0, 0) | |
704 | b15.Scale = Vector3.new(1, 3, 1.29999995) | |
705 | p16 = Instance.new("Part", m) | |
706 | p16.BrickColor = BrickColor.new("Lavender") | |
707 | p16.FormFactor = Enum.FormFactor.Custom | |
708 | p16.Size = Vector3.new(1, 2.5, 1) | |
709 | p16.Transparency = 1 | |
710 | p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779) | |
711 | p16.CanCollide = false | |
712 | p16.Locked = true | |
713 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
714 | p16.TopSurface = Enum.SurfaceType.Smooth | |
715 | b16 = Instance.new("SpecialMesh", p16) | |
716 | b16.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
717 | b16.TextureId = "" | |
718 | b16.MeshType = Enum.MeshType.FileMesh | |
719 | b16.Name = "Mesh" | |
720 | b16.VertexColor = Vector3.new(0, 0, 0) | |
721 | b16.Scale = Vector3.new(1, 3, 1.29999995) | |
722 | p17 = Instance.new("Part", m) | |
723 | p17.BrickColor = BrickColor.new("Lavender") | |
724 | p17.Transparency = 1 | |
725 | p17.FormFactor = Enum.FormFactor.Custom | |
726 | p17.Size = Vector3.new(1, 2.4000001, 1) | |
727 | p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007) | |
728 | p17.CanCollide = false | |
729 | p17.Locked = true | |
730 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
731 | p17.TopSurface = Enum.SurfaceType.Smooth | |
732 | b17 = Instance.new("SpecialMesh", p17) | |
733 | b17.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
734 | b17.TextureId = "" | |
735 | b17.MeshType = Enum.MeshType.FileMesh | |
736 | b17.Name = "Mesh" | |
737 | b17.VertexColor = Vector3.new(0, 0, 0) | |
738 | b17.Scale = Vector3.new(1, 3, 1.29999995) | |
739 | p18 = Instance.new("Part", m) | |
740 | p18.BrickColor = BrickColor.new("Lavender") | |
741 | p18.FormFactor = Enum.FormFactor.Custom | |
742 | p18.Size = Vector3.new(2, 2, 2) | |
743 | p18.Transparency = 1 | |
744 | p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006) | |
745 | p18.CanCollide = false | |
746 | p18.Locked = true | |
747 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
748 | p18.TopSurface = Enum.SurfaceType.Smooth | |
749 | b18 = Instance.new("SpecialMesh", p18) | |
750 | b18.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
751 | b18.TextureId = "" | |
752 | b18.MeshType = Enum.MeshType.FileMesh | |
753 | b18.Name = "Mesh" | |
754 | b18.VertexColor = Vector3.new(0, 0, 0) | |
755 | b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
756 | w1 = Instance.new("Weld", p1) | |
757 | w1.Name = "Head_Weld" | |
758 | w1.Part0 = p1 | |
759 | w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006) | |
760 | w1.Part1 = p2 | |
761 | w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
762 | w2 = Instance.new("Weld", p2) | |
763 | w2.Name = "Part_Weld" | |
764 | w2.Part0 = p2 | |
765 | w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
766 | w2.Part1 = p3 | |
767 | w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) | |
768 | w3 = Instance.new("Weld", p3) | |
769 | w3.Name = "Part_Weld" | |
770 | w3.Part0 = p3 | |
771 | w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) | |
772 | w3.Part1 = p4 | |
773 | w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006) | |
774 | w4 = Instance.new("Weld", p4) | |
775 | w4.Name = "Part_Weld" | |
776 | w4.Part0 = p4 | |
777 | w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006) | |
778 | w4.Part1 = p5 | |
779 | w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007) | |
780 | w5 = Instance.new("Weld", p5) | |
781 | w5.Name = "Part_Weld" | |
782 | w5.Part0 = p5 | |
783 | w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007) | |
784 | w5.Part1 = p6 | |
785 | w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007) | |
786 | w6 = Instance.new("Weld", p6) | |
787 | w6.Name = "Part_Weld" | |
788 | w6.Part0 = p6 | |
789 | w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007) | |
790 | w6.Part1 = p7 | |
791 | w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007) | |
792 | w7 = Instance.new("Weld", p7) | |
793 | w7.Name = "Part_Weld" | |
794 | w7.Part0 = p7 | |
795 | w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007) | |
796 | w7.Part1 = p8 | |
797 | w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007) | |
798 | w8 = Instance.new("Weld", p8) | |
799 | w8.Name = "Part_Weld" | |
800 | w8.Part0 = p8 | |
801 | w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007) | |
802 | w8.Part1 = p9 | |
803 | w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007) | |
804 | w9 = Instance.new("Weld", p9) | |
805 | w9.Name = "Part_Weld" | |
806 | w9.Part0 = p9 | |
807 | w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007) | |
808 | w9.Part1 = p10 | |
809 | w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007) | |
810 | w10 = Instance.new("Weld", p10) | |
811 | w10.Name = "Part_Weld" | |
812 | w10.Part0 = p10 | |
813 | w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007) | |
814 | w10.Part1 = p11 | |
815 | w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007) | |
816 | w11 = Instance.new("Weld", p11) | |
817 | w11.Name = "Part_Weld" | |
818 | w11.Part0 = p11 | |
819 | w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007) | |
820 | w11.Part1 = p12 | |
821 | w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007) | |
822 | w12 = Instance.new("Weld", p12) | |
823 | w12.Name = "Part_Weld" | |
824 | w12.Part0 = p12 | |
825 | w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007) | |
826 | w12.Part1 = p13 | |
827 | w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007) | |
828 | w13 = Instance.new("Weld", p13) | |
829 | w13.Name = "Part_Weld" | |
830 | w13.Part0 = p13 | |
831 | w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007) | |
832 | w13.Part1 = p14 | |
833 | w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007) | |
834 | w14 = Instance.new("Weld", p14) | |
835 | w14.Name = "Part_Weld" | |
836 | w14.Part0 = p14 | |
837 | w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007) | |
838 | w14.Part1 = p15 | |
839 | w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775) | |
840 | w15 = Instance.new("Weld", p15) | |
841 | w15.Name = "Part_Weld" | |
842 | w15.Part0 = p15 | |
843 | w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775) | |
844 | w15.Part1 = p16 | |
845 | w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928) | |
846 | w16 = Instance.new("Weld", p16) | |
847 | w16.Name = "Part_Weld" | |
848 | w16.Part0 = p16 | |
849 | w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928) | |
850 | w16.Part1 = p17 | |
851 | w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007) | |
852 | w17 = Instance.new("Weld", p17) | |
853 | w17.Name = "Part_Weld" | |
854 | w17.Part0 = p17 | |
855 | w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007) | |
856 | w17.Part1 = p18 | |
857 | w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006) | |
858 | m.Parent = char | |
859 | m:MakeJoints() | |
860 | ||
861 | ---------------------------------------------------- | |
862 | --Huge Magic Mega Fighting Punch-- | |
863 | ||
864 | ||
865 | ||
866 | ||
867 | ||
868 | ---------------------------------------------------- | |
869 | local cor = Instance.new("Part", char.Hair) | |
870 | cor.Name = "Link" | |
871 | cor.Locked = true | |
872 | cor.BottomSurface = 0 | |
873 | cor.CanCollide = false | |
874 | cor.Size = Vector3.new(1, 9, 1) | |
875 | cor.Transparency = 1 | |
876 | cor.TopSurface = 0 | |
877 | corw = Instance.new("Weld", cor) | |
878 | corw.Part0 = hed | |
879 | corw.Part1 = cor | |
880 | corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
881 | corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
882 | weld1 = Instance.new("Weld", char.Hair) | |
883 | weld1.Part0 = cor | |
884 | weld1.Part1 = char.Hair.Head | |
885 | weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
886 | ----------------------------------------------------betterhair | |
887 | pr = Instance.new("Part",hed) | |
888 | pr.BrickColor = BrickColor.new("Lavender") | |
889 | pr.Material = "Metal" | |
890 | pr.Reflectance = 0.04 | |
891 | pr.Anchored = false | |
892 | pr.CanCollide = false | |
893 | pr.Archivable = false | |
894 | pr.Locked = true | |
895 | pr.Size = Vector3.new(0,0,0) | |
896 | prm = Instance.new("SpecialMesh",pr) | |
897 | prm.MeshType = "FileMesh" | |
898 | prm.MeshId = "rbxassetid://101176852" | |
899 | prm.Scale = Vector3.new(1,1,1) | |
900 | newWeld(hed, pr, 0, 0, 0) | |
901 | pr.Weld.C1 = CFrame.new(0,-.9,-.0) * CFrame.Angles(0,0,0) | |
902 | ---------------------------------------------------- | |
903 | ||
904 | GroundWave1 = function() | |
905 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
906 | local Colors = {"Royal purple", "Lavender"} | |
907 | local wave = Instance.new("Part", torso) | |
908 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
909 | wave.Anchored = true | |
910 | wave.CanCollide = false | |
911 | wave.Locked = true | |
912 | wave.Size = Vector3.new(1, 1, 1) | |
913 | wave.TopSurface = "Smooth" | |
914 | wave.BottomSurface = "Smooth" | |
915 | wave.Transparency = 0.35 | |
916 | wave.CFrame = HandCF | |
917 | wm = Instance.new("SpecialMesh", wave) | |
918 | wm.MeshId = "rbxassetid://24388358" | |
919 | coroutine.wrap(function() | |
920 | for i = 1, 30, 1 do | |
921 | wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1) | |
922 | wave.Size = wm.Scale | |
923 | wave.CFrame = HandCF | |
924 | wave.Transparency = i/30 | |
925 | wait() | |
926 | end | |
927 | wait() | |
928 | wave:Destroy() | |
929 | end)() | |
930 | end | |
931 | ---------------------------------------------------- | |
932 | GroundWave = function() | |
933 | if Transforming == true then | |
934 | local wave = Instance.new("Part", torso) | |
935 | wave.BrickColor = BrickColor.new("Lavender") | |
936 | wave.Anchored = true | |
937 | wave.CanCollide = false | |
938 | wave.Locked = true | |
939 | wave.Size = Vector3.new(1, 1, 1) | |
940 | wave.TopSurface = "Smooth" | |
941 | wave.BottomSurface = "Smooth" | |
942 | wave.Transparency = 0.35 | |
943 | wave.CFrame = fx.CFrame | |
944 | wm = Instance.new("SpecialMesh", wave) | |
945 | wm.MeshType = "Sphere" | |
946 | wm.Scale = Vector3.new(1,1,1) | |
947 | coroutine.wrap(function() | |
948 | for i = 1, 18, 1 do | |
949 | wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
950 | --wave.Size = wm.Scale | |
951 | wave.CFrame = fx.CFrame | |
952 | wave.Transparency = i/14 | |
953 | wait() | |
954 | end | |
955 | wait() | |
956 | wave:Destroy() | |
957 | end)() | |
958 | elseif Transforming == false then | |
959 | wait() | |
960 | end | |
961 | end | |
962 | ||
963 | for i = 1, 100 do rs:wait() | |
964 | fx.CFrame = torso.CFrame | |
965 | end | |
966 | ||
967 | Spawn(function() | |
968 | while wait(1) do | |
969 | GroundWave() | |
970 | end | |
971 | end) | |
972 | ||
973 | wait(4) | |
974 | ||
975 | Transforming = false | |
976 | ||
977 | for i = 1, 20 do rs:wait() | |
978 | fx.Transparency = fx.Transparency + (1/20) | |
979 | fx.CFrame = torso.CFrame | |
980 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
981 | rs:wait() | |
982 | end | |
983 | ||
984 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
985 | local wave = Instance.new("Part", torso) | |
986 | wave.BrickColor = BrickColor.new("Institutional white") | |
987 | wave.Anchored = true | |
988 | wave.CanCollide = false | |
989 | wave.Locked = true | |
990 | wave.Size = Vector3.new(1, 1, 1) | |
991 | wave.TopSurface = "Smooth" | |
992 | wave.BottomSurface = "Smooth" | |
993 | wave.Transparency = 0.35 | |
994 | wave.CFrame = HandCF | |
995 | wm = Instance.new("SpecialMesh", wave) | |
996 | wm.MeshId = "rbxassetid://24388358" | |
997 | coroutine.wrap(function() | |
998 | for i = 1, 14, 1 do | |
999 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
1000 | wave.Size = wm.Scale | |
1001 | wave.CFrame = HandCF | |
1002 | wave.Transparency = i/14 | |
1003 | wait() | |
1004 | end | |
1005 | wait() | |
1006 | wave:Destroy() | |
1007 | end)() | |
1008 | hum.WalkSpeed = 16 | |
1009 | ---------------------------------------------------- | |
1010 | Blast = function() | |
1011 | local Colors = {"Lavender", "Royal purple"} | |
1012 | local wave = Instance.new("Part", torso) | |
1013 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1014 | wave.Anchored = true | |
1015 | wave.CanCollide = false | |
1016 | wave.Locked = true | |
1017 | wave.Size = Vector3.new(1, 1, 1) | |
1018 | wave.TopSurface = "Smooth" | |
1019 | wave.BottomSurface = "Smooth" | |
1020 | wave.Transparency = 0.35 | |
1021 | wave.CFrame = rarm.CFrame | |
1022 | wm = Instance.new("SpecialMesh", wave) | |
1023 | wm.MeshType = "Sphere" | |
1024 | wm.Scale = Vector3.new(1,1,1) | |
1025 | z = Instance.new("Sound",wave) | |
1026 | z.SoundId = "rbxassetid://237035051" | |
1027 | z.Volume = 1 | |
1028 | z.Pitch = .9 | |
1029 | z:Play() | |
1030 | coroutine.wrap(function() | |
1031 | for i = 1, 30, 1 do | |
1032 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
1033 | --wave.Size = wm.Scale | |
1034 | wave.CFrame = rarm.CFrame | |
1035 | wave.Transparency = (1/14) | |
1036 | rs:wait() | |
1037 | end | |
1038 | rs:wait() | |
1039 | wave:Destroy() | |
1040 | z:Destroy() | |
1041 | end)() | |
1042 | end | |
1043 | ||
1044 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
1045 | local a= Part(1,1,1,col1,.5,false,true,game:GetService("Workspace")) | |
1046 | local a2= Part(1,1,1,col2,.5,false,true,game:GetService("Workspace")) | |
1047 | local a3= Part(1,1,1,col2,.5,false,true,game:GetService("Workspace")) | |
1048 | v1,v2,v3=sz.x,sz.y,sz.z | |
1049 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
1050 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
1051 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
1052 | a.CFrame=cfr | |
1053 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
1054 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
1055 | for i,v in pairs(game:GetService("Workspace"):children()) do | |
1056 | if v:IsA("Model") and v:findFirstChild("Humanoid") then | |
1057 | if v:findFirstChild("Head") and v:findFirstChild("Torso") then | |
1058 | if (v:findFirstChild("Torso").Position - a.Position).magnitude < rng and v.Name ~= char.Name then | |
1059 | local hit=v | |
1060 | hit.Humanoid.Health=v.Humanoid.Health-dmg | |
1061 | hit.Humanoid.PlatformStand=true | |
1062 | hit.Torso.Velocity=Vector3.new(math.random(-100,100),100,math.random(- 100,-100)) | |
1063 | wait(.1) | |
1064 | Spawn(function()wait(2)hit.Humanoid.PlatformStand=false end) | |
1065 | end | |
1066 | end | |
1067 | end | |
1068 | end | |
1069 | Spawn(function() | |
1070 | while wait() do | |
1071 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
1072 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
1073 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
1074 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
1075 | a.Transparency=a.Transparency+0.05 | |
1076 | a2.Transparency=a2.Transparency+0.05 | |
1077 | a3.Transparency=a3.Transparency+0.05 | |
1078 | end | |
1079 | end) | |
1080 | end | |
1081 | ||
1082 | ---------------------------------------------------- | |
1083 | rarm.Touched:connect(function(ht) | |
1084 | hit = ht.Parent | |
1085 | if ht and hit:IsA("Model") then | |
1086 | if hit:FindFirstChild("Humanoid") then | |
1087 | if hit.Name ~= p.Name then | |
1088 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1089 | Debounces.RPunched = true | |
1090 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8)) | |
1091 | if Debounces.ks==true then | |
1092 | z = Instance.new("Sound",hed) | |
1093 | z.SoundId = "rbxassetid://470279287" | |
1094 | z.Pitch = ptz[math.random(1,#ptz)] | |
1095 | z.Volume = 1 | |
1096 | z:Play() | |
1097 | end | |
1098 | wait(.2) | |
1099 | Debounces.RPunched = false | |
1100 | end | |
1101 | end | |
1102 | end | |
1103 | elseif ht and hit:IsA("Hat") then | |
1104 | if hit.Parent.Name ~= p.Name then | |
1105 | if hit.Parent:FindFirstChild("Humanoid") then | |
1106 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1107 | Debounces.RPunched = true | |
1108 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8)) | |
1109 | if Debounces.ks==true then | |
1110 | z = Instance.new("Sound",hed) | |
1111 | z.SoundId = "rbxassetid://169380525" | |
1112 | z.Pitch = ptz[math.random(1,#ptz)] | |
1113 | z.Volume = 1 | |
1114 | z:Play() | |
1115 | end | |
1116 | wait(.2) | |
1117 | Debounces.RPunched = false | |
1118 | end | |
1119 | end | |
1120 | end | |
1121 | end | |
1122 | end) | |
1123 | larm.Touched:connect(function(ht) | |
1124 | hit = ht.Parent | |
1125 | if ht and hit:IsA("Model") then | |
1126 | if hit:FindFirstChild("Humanoid") then | |
1127 | if hit.Name ~= p.Name then | |
1128 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1129 | Debounces.LPunched = true | |
1130 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8)) | |
1131 | if Debounces.ks2==true then | |
1132 | z = Instance.new("Sound",hed) | |
1133 | z.SoundId = "rbxassetid://169380525" | |
1134 | z.Pitch = ptz[math.random(1,#ptz)] | |
1135 | z.Volume = 1 | |
1136 | z:Play() | |
1137 | end | |
1138 | wait(.2) | |
1139 | Debounces.LPunched = false | |
1140 | end | |
1141 | end | |
1142 | end | |
1143 | elseif ht and hit:IsA("Hat") then | |
1144 | if hit.Parent.Name ~= p.Name then | |
1145 | if hit.Parent:FindFirstChild("Humanoid") then | |
1146 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1147 | Debounces.LPunched = true | |
1148 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8)) | |
1149 | if Debounces.ks2==true then | |
1150 | z = Instance.new("Sound",hed) | |
1151 | z.SoundId = "rbxassetid://169380525" | |
1152 | z.Pitch = ptz[math.random(1,#ptz)] | |
1153 | z.Volume = 1 | |
1154 | z:Play() | |
1155 | end | |
1156 | wait(.2) | |
1157 | Debounces.LPunched = false | |
1158 | end | |
1159 | end | |
1160 | end | |
1161 | end | |
1162 | end) | |
1163 | ---------------------------------------------------- | |
1164 | ||
1165 | mod4 = Instance.new("Model",char) | |
1166 | ||
1167 | ptez = {0.7, 0.8, 0.9, 1} | |
1168 | ||
1169 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1170 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1171 | local List = {} | |
1172 | for i,v in pairs(workspace:GetChildren())do | |
1173 | if v:IsA("Model")then | |
1174 | if v:findFirstChild("Torso")then | |
1175 | if v ~= char then | |
1176 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1177 | table.insert(List,v) | |
1178 | end | |
1179 | end | |
1180 | end | |
1181 | end | |
1182 | end | |
1183 | return List | |
1184 | end | |
1185 | ||
1186 | function Punch() | |
1187 | part=Instance.new('Part',mod4) | |
1188 | part.Anchored=true | |
1189 | part.CanCollide=false | |
1190 | part.FormFactor='Custom' | |
1191 | part.Size=Vector3.new(.2,.2,.2) | |
1192 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
1193 | part.Transparency=.7 | |
1194 | part.BrickColor=BrickColor.new('Lavender') | |
1195 | mesh=Instance.new('SpecialMesh',part) | |
1196 | mesh.MeshId='http://www.roblox.com/asset/?id=24388358' | |
1197 | mesh.Scale=Vector3.new(3,3,3) | |
1198 | part2=Instance.new('Part',mod4) | |
1199 | part2.Anchored=true | |
1200 | part2.CanCollide=false | |
1201 | part2.FormFactor='Custom' | |
1202 | part2.Size=Vector3.new(.2,.2,.2) | |
1203 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
1204 | part2.Transparency=.7 | |
1205 | part2.BrickColor=BrickColor.new('Lavender') | |
1206 | mesh2=Instance.new('SpecialMesh',part2) | |
1207 | mesh2.MeshId='http://www.roblox.com/asset/?id=24388358' | |
1208 | mesh2.Scale=Vector3.new(3,1.5,3) | |
1209 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
1210 | if v:FindFirstChild('Humanoid') then | |
1211 | v.Humanoid:TakeDamage(math.random(2,6)) | |
1212 | end | |
1213 | end | |
1214 | coroutine.resume(coroutine.create(function() | |
1215 | for i=0,0.62,0.4 do | |
1216 | wait() | |
1217 | part.CFrame=part.CFrame | |
1218 | part.Transparency=i | |
1219 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
1220 | part2.CFrame=part2.CFrame | |
1221 | part2.Transparency=i | |
1222 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
1223 | end | |
1224 | part.Parent=nil | |
1225 | part2.Parent=nil | |
1226 | end)) | |
1227 | end | |
1228 | ---------------------------------------------------- | |
1229 | rarm.Touched:connect(function(ht) | |
1230 | hit = ht.Parent | |
1231 | if ht and hit:IsA("Model") then | |
1232 | if hit:FindFirstChild("Humanoid") then | |
1233 | if hit.Name ~= p.Name then | |
1234 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1235 | Debounces.RPunched = true | |
1236 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8)) | |
1237 | if Debounces.ks==true then | |
1238 | z = Instance.new("Sound",hed) | |
1239 | z.SoundId = "rbxassetid://169380525" | |
1240 | z.Pitch = ptz[math.random(1,#ptz)] | |
1241 | z.Volume = 1 | |
1242 | z:Play() | |
1243 | end | |
1244 | wait(.2) | |
1245 | Debounces.RPunched = false | |
1246 | end | |
1247 | end | |
1248 | end | |
1249 | elseif ht and hit:IsA("Hat") then | |
1250 | if hit.Parent.Name ~= p.Name then | |
1251 | if hit.Parent:FindFirstChild("Humanoid") then | |
1252 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1253 | Debounces.RPunched = true | |
1254 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8)) | |
1255 | if Debounces.ks==true then | |
1256 | z = Instance.new("Sound",hed) | |
1257 | z.SoundId = "rbxassetid://169380525" | |
1258 | z.Pitch = ptz[math.random(1,#ptz)] | |
1259 | z.Volume = 1 | |
1260 | z:Play() | |
1261 | end | |
1262 | wait(.2) | |
1263 | Debounces.RPunched = false | |
1264 | end | |
1265 | end | |
1266 | end | |
1267 | end | |
1268 | end) | |
1269 | larm.Touched:connect(function(ht) | |
1270 | hit = ht.Parent | |
1271 | if ht and hit:IsA("Model") then | |
1272 | if hit:FindFirstChild("Humanoid") then | |
1273 | if hit.Name ~= p.Name then | |
1274 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1275 | Debounces.LPunched = true | |
1276 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8)) | |
1277 | if Debounces.ks2==true then | |
1278 | z = Instance.new("Sound",hed) | |
1279 | z.SoundId = "rbxassetid://169380525" | |
1280 | z.Pitch = ptz[math.random(1,#ptz)] | |
1281 | z.Volume = 1 | |
1282 | z:Play() | |
1283 | end | |
1284 | wait(.2) | |
1285 | Debounces.LPunched = false | |
1286 | end | |
1287 | end | |
1288 | end | |
1289 | elseif ht and hit:IsA("Hat") then | |
1290 | if hit.Parent.Name ~= p.Name then | |
1291 | if hit.Parent:FindFirstChild("Humanoid") then | |
1292 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1293 | Debounces.LPunched = true | |
1294 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8)) | |
1295 | if Debounces.ks2==true then | |
1296 | z = Instance.new("Sound",hed) | |
1297 | z.SoundId = "rbxassetid://169380525" | |
1298 | z.Pitch = ptz[math.random(1,#ptz)] | |
1299 | z.Volume = 1 | |
1300 | z:Play() | |
1301 | end | |
1302 | wait(.2) | |
1303 | Debounces.LPunched = false | |
1304 | end | |
1305 | end | |
1306 | end | |
1307 | end | |
1308 | end) | |
1309 | ---------------------------------------------------- | |
1310 | local player = game.Players.LocalPlayer | |
1311 | local pchar = player.Character | |
1312 | local mouse = player:GetMouse() | |
1313 | local cam = workspace.CurrentCamera | |
1314 | ||
1315 | local rad = math.rad | |
1316 | ||
1317 | local keysDown = {} | |
1318 | local flySpeed = 0 | |
1319 | local MAX_FLY_SPEED = 150 | |
1320 | ||
1321 | local canFly = false | |
1322 | local flyToggled = false | |
1323 | ||
1324 | local forward, side = 0, 0 | |
1325 | local lastForward, lastSide = 0, 0 | |
1326 | ||
1327 | local floatBP = Instance.new("BodyPosition") | |
1328 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
1329 | local flyBV = Instance.new("BodyVelocity") | |
1330 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
1331 | local turnBG = Instance.new("BodyGyro") | |
1332 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1333 | ||
1334 | mouse.KeyDown:connect(function(key) | |
1335 | keysDown[key] = true | |
1336 | ||
1337 | if key == "f" then | |
1338 | flyToggled = not flyToggled | |
1339 | ||
1340 | if not flyToggled then | |
1341 | stanceToggle = "Normal" | |
1342 | floatBP.Parent = nil | |
1343 | flyBV.Parent = nil | |
1344 | turnBG.Parent = nil | |
1345 | root.Velocity = Vector3.new() | |
1346 | pchar.Humanoid.PlatformStand = false | |
1347 | end | |
1348 | end | |
1349 | ||
1350 | end) | |
1351 | mouse.KeyUp:connect(function(key) | |
1352 | keysDown[key] = nil | |
1353 | end) | |
1354 | ||
1355 | local function updateFly() | |
1356 | ||
1357 | if not flyToggled then return end | |
1358 | ||
1359 | lastForward = forward | |
1360 | lastSide = side | |
1361 | ||
1362 | forward = 0 | |
1363 | side = 0 | |
1364 | ||
1365 | if keysDown.w then | |
1366 | forward = forward + 1 | |
1367 | end | |
1368 | if keysDown.s then | |
1369 | forward = forward - 1 | |
1370 | end | |
1371 | if keysDown.a then | |
1372 | side = side - 1 | |
1373 | end | |
1374 | if keysDown.d then | |
1375 | side = side + 1 | |
1376 | end | |
1377 | ||
1378 | canFly = (forward ~= 0 or side ~= 0) | |
1379 | ||
1380 | if canFly then | |
1381 | stanceToggle = "Floating" | |
1382 | turnBG.Parent = root | |
1383 | floatBP.Parent = nil | |
1384 | flyBV.Parent = root | |
1385 | ||
1386 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
1387 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
1388 | else | |
1389 | floatBP.position = root.Position | |
1390 | floatBP.Parent = root | |
1391 | ||
1392 | flySpeed = flySpeed - 1 | |
1393 | if flySpeed < 0 then flySpeed = 0 end | |
1394 | end | |
1395 | ||
1396 | local camCF = cam.CoordinateFrame | |
1397 | local in_forward = canFly and forward or lastForward | |
1398 | local in_side = canFly and side or lastSide | |
1399 | ||
1400 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
1401 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
1402 | ||
1403 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
1404 | 0) | |
1405 | end | |
1406 | ||
1407 | game:service'RunService'.RenderStepped:connect(function() | |
1408 | if flyToggled then | |
1409 | pchar.Humanoid.PlatformStand = true | |
1410 | end | |
1411 | updateFly() | |
1412 | end) | |
1413 | ---------------------------------------------------- | |
1414 | --------------------------------------------- | |
1415 | local Part11 = Instance.new("Part", Model) | |
1416 | Part11.Name = "Tail" | |
1417 | Part11.Reflectance = 1 | |
1418 | Part11.Transparency = 1 | |
1419 | Part11.Anchored = true | |
1420 | Part11.Archivable = true | |
1421 | Part11.CanCollide = true | |
1422 | Part11.Locked = false | |
1423 | Part11.BrickColor = BrickColor.new("Lavender") | |
1424 | Part11.Material = Enum.Material.SmoothPlastic | |
1425 | Part11.Position = Vector3.new(-127.08619689941, 1.9775161743164, 187.12478637695) | |
1426 | Part11.Size = Vector3.new(1, 1.6000000238419, 1) | |
1427 | Part11.Rotation = Vector3.new(-0, -0.97545057535172, -90) | |
1428 | --------------------------------------------- | |
1429 | ---------------------------------------------------- | |
1430 | pt = {0.7, 0.8, 0.9} | |
1431 | mouse.KeyDown:connect(function(key) | |
1432 | if key == "h" then | |
1433 | if Debounces.CanJoke == true then | |
1434 | Debounces.CanJoke = false | |
1435 | u = Instance.new("Sound") | |
1436 | u.SoundId = "http://www.roblox.com/asset/?id=430315987" | |
1437 | u.Parent = char | |
1438 | u.Looped = false | |
1439 | u.Pitch = 1 | |
1440 | u.Volume = 1 | |
1441 | u2 = Instance.new("Sound") | |
1442 | u2.SoundId = "http://www.roblox.com/asset/?id=430315987" | |
1443 | u2.Parent = char | |
1444 | u2.Looped = false | |
1445 | u2.Pitch = 1 | |
1446 | u2.Volume = 1 | |
1447 | wait(.01) | |
1448 | u:Play() | |
1449 | u2:Play() | |
1450 | wait(6) | |
1451 | u:Destroy() | |
1452 | u2:Destroy() | |
1453 | if Debounces.CanJoke == false then | |
1454 | Debounces.CanJoke = true | |
1455 | end | |
1456 | end | |
1457 | end | |
1458 | end) | |
1459 | ---------------------------------------------------- | |
1460 | ---------------------------------------------------- | |
1461 | mouse.KeyDown:connect(function(key) | |
1462 | if key == "b" then | |
1463 | hum.WalkSpeed = 0 | |
1464 | if Debounces.CanAttack == true then | |
1465 | Debounces.CanAttack = false | |
1466 | Debounces.NoIdl = true | |
1467 | Debounces.on = true | |
1468 | v = Instance.new("Sound") | |
1469 | v.SoundId = "http://www.roblox.com/asset/?id=753551986" | |
1470 | v.Parent = char | |
1471 | v.Looped = false | |
1472 | v.Pitch = 1 | |
1473 | v.Volume = 3000 | |
1474 | wait(0.01) | |
1475 | v:Play() | |
1476 | wait() | |
1477 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1) | |
1478 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1) | |
1479 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1) | |
1480 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1) | |
1481 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(-5)), 0.1) | |
1482 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(5)), 0.1) | |
1483 | if Debounces.on == false then | |
1484 | end | |
1485 | wait() | |
1486 | end | |
1487 | wait() | |
1488 | ||
1489 | ||
1490 | local function Shockwave7() | |
1491 | local ENERGY = Instance.new("Part", Char) | |
1492 | ENERGY.Name = "ENERGY" | |
1493 | ENERGY.CanCollide = false | |
1494 | ENERGY.BrickColor = BrickColor.new("Really black") | |
1495 | ENERGY.Transparency = 0.2 | |
1496 | ENERGY.TopSurface = 0 | |
1497 | ENERGY.BottomSurface = 0 | |
1498 | ENERGY.Anchored = true | |
1499 | local cm = Instance.new("CylinderMesh", ENERGY) | |
1500 | cm.Scale = Vector3.new(1, 20, 1) | |
1501 | ENERGY.Size = Vector3.new(5, 20, 5) | |
1502 | ENERGY.CFrame = char.Torso.CFrame | |
1503 | ENERGY.Touched:connect(function(hit) | |
1504 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then | |
1505 | local Occlude = true | |
1506 | local NotOccludes = { | |
1507 | char.Name; | |
1508 | "Wings"; | |
1509 | "Scythe"; | |
1510 | "Thingy"; | |
1511 | "Thingy2"; -- put all of the names in a table pls | |
1512 | } | |
1513 | for i,v in pairs(NotOccludes) do | |
1514 | if hit.Parent.Name == v then | |
1515 | Occlude = false | |
1516 | end | |
1517 | end | |
1518 | --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then | |
1519 | if Occlude then | |
1520 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 9999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
1521 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * 220 | |
1522 | end | |
1523 | end | |
1524 | end) | |
1525 | for i = 1, 50 do | |
1526 | ENERGY.CFrame = char.Torso.CFrame | |
1527 | ENERGY.Transparency = ENERGY.Transparency + 0.012 | |
1528 | ENERGY.Size = ENERGY.Size + Vector3.new(0.2, 0, 0.2) | |
1529 | wait() | |
1530 | end | |
1531 | ENERGY:Destroy() | |
1532 | end | |
1533 | Shockwave7() | |
1534 | ||
1535 | ||
1536 | pt=Instance.new('Part',torso) | |
1537 | pt.Anchored=true | |
1538 | pt.CanCollide=false | |
1539 | pt.Locked = true | |
1540 | pt.FormFactor='Custom' | |
1541 | pt.Size=Vector3.new(1,1,1) | |
1542 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
1543 | pt.Transparency=.6 | |
1544 | pt.BrickColor=BrickColor.new('Royal purple') | |
1545 | msh=Instance.new('SpecialMesh',pt) | |
1546 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1547 | msh.Scale=Vector3.new(8,4,8) | |
1548 | pt2=pt:clone() | |
1549 | pt2.Parent = torso | |
1550 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
1551 | pt2.BrickColor=BrickColor.new("Really black") | |
1552 | msh2=msh:clone() | |
1553 | msh2.Parent=pt2 | |
1554 | msh2.Scale=Vector3.new(10,5,10) | |
1555 | ||
1556 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100} | |
1557 | bl = Instance.new("Part", char) | |
1558 | bl.Locked = true | |
1559 | bl.Name = "Shell" | |
1560 | bl.BrickColor = BrickColor.new("Royal purple") | |
1561 | bl.Anchored = true | |
1562 | bl.CanCollide = false | |
1563 | bl.Transparency = 0 | |
1564 | bl.Reflectance = 0 | |
1565 | bl.BottomSurface = 0 | |
1566 | bl.TopSurface = 0 | |
1567 | bl.Shape = 0 | |
1568 | blm = Instance.new("SpecialMesh",bl) | |
1569 | blm.MeshType = "Sphere" | |
1570 | blm.Scale = Vector3.new(1,1,1) | |
1571 | blm.MeshId = "rbxassetid://9982590" | |
1572 | ||
1573 | coroutine.resume(coroutine.create(function() | |
1574 | for i=1, math.huge, 4 do | |
1575 | rs:wait() | |
1576 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
1577 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
1578 | bl.Transparency = bl.Transparency + 0.005 | |
1579 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
1580 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
1581 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
1582 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
1583 | end | |
1584 | end)) | |
1585 | ||
1586 | for i = 1, 15 do | |
1587 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
1588 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
1589 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
1590 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
1591 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
1592 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
1593 | if Debounces.on == false then | |
1594 | break | |
1595 | end | |
1596 | wait() | |
1597 | end | |
1598 | for i = 1, 15 do | |
1599 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
1600 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
1601 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
1602 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
1603 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
1604 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
1605 | if Debounces.on == false then | |
1606 | break | |
1607 | end | |
1608 | wait() | |
1609 | end | |
1610 | for i = 1, 15 do | |
1611 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
1612 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
1613 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
1614 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
1615 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
1616 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
1617 | if Debounces.on == false then | |
1618 | break | |
1619 | end | |
1620 | wait() | |
1621 | end | |
1622 | for i = 1, 15 do | |
1623 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
1624 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
1625 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
1626 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
1627 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
1628 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
1629 | if Debounces.on == false then | |
1630 | break | |
1631 | end | |
1632 | wait() | |
1633 | end | |
1634 | for i = 1, 15 do | |
1635 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
1636 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
1637 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
1638 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
1639 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
1640 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
1641 | if Debounces.on == false then | |
1642 | break | |
1643 | end | |
1644 | wait() | |
1645 | end | |
1646 | for i = 1, 10 do | |
1647 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
1648 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
1649 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
1650 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
1651 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
1652 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
1653 | if Debounces.on == false then | |
1654 | break | |
1655 | end | |
1656 | wait() | |
1657 | end | |
1658 | wait(1.4) | |
1659 | Debounces.NoIdl = false | |
1660 | hum.WalkSpeed = 5 | |
1661 | Debounces.on = false | |
1662 | wait() | |
1663 | if Debounces.CanAttack == false then | |
1664 | Debounces.CanAttack = true | |
1665 | v:Destroy() | |
1666 | bl:Destroy() | |
1667 | blm:Destroy() | |
1668 | pt:Destroy() | |
1669 | pt2:Destroy() | |
1670 | msh:Destroy() | |
1671 | msh2:Destroy() | |
1672 | end | |
1673 | end | |
1674 | end) | |
1675 | ||
1676 | ||
1677 | ||
1678 | ||
1679 | ||
1680 | local grabbed = false | |
1681 | local cf = CFrame.new | |
1682 | local mr = math.rad | |
1683 | local angles = CFrame.Angles | |
1684 | local ud = UDim2.new | |
1685 | local c3 = Color3.new | |
1686 | local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
1687 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
1688 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
1689 | local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0)) | |
1690 | ||
1691 | clerp = function(a, b, t) | |
1692 | return a:lerp(b, t) | |
1693 | end | |
1694 | ||
1695 | local RbxUtility = LoadLibrary("RbxUtility") | |
1696 | local Create = RbxUtility.Create | |
1697 | RemoveOutlines = function(part) | |
1698 | part.TopSurface = 10 | |
1699 | end | |
1700 | ||
1701 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1702 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material}) | |
1703 | RemoveOutlines(Part) | |
1704 | return Part | |
1705 | end | |
1706 | ||
1707 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1708 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale}) | |
1709 | if Mesh == "SpecialMesh" then | |
1710 | Msh.MeshType = MeshType | |
1711 | Msh.MeshId = MeshId | |
1712 | end | |
1713 | return Msh | |
1714 | end | |
1715 | ||
1716 | ||
1717 | ||
1718 | ||
1719 | ||
1720 | ||
1721 | ||
1722 | ArtificialHB = Instance.new("BindableEvent", script) | |
1723 | ArtificialHB.Name = "Heartbeat" | |
1724 | script:WaitForChild("Heartbeat") | |
1725 | frame = 0.033333333333333 | |
1726 | tf = 0 | |
1727 | allowframeloss = false | |
1728 | tossremainder = false | |
1729 | lastframe = tick() | |
1730 | script.Heartbeat:Fire() | |
1731 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1732 | tf = tf + s | |
1733 | if frame <= tf then | |
1734 | if allowframeloss then | |
1735 | script.Heartbeat:Fire() | |
1736 | lastframe = tick() | |
1737 | else | |
1738 | for i = 1, math.floor(tf / frame) do | |
1739 | script.Heartbeat:Fire() | |
1740 | end | |
1741 | lastframe = tick() | |
1742 | end | |
1743 | if tossremainder then | |
1744 | tf = 0 | |
1745 | else | |
1746 | tf = tf - frame * math.floor(tf / frame) | |
1747 | end | |
1748 | end | |
1749 | end | |
1750 | ) | |
1751 | swait = function(num) | |
1752 | if num == 0 or num == nil then | |
1753 | ArtificialHB.Event:wait() | |
1754 | else | |
1755 | for i = 0, num do | |
1756 | ArtificialHB.Event:wait() | |
1757 | end | |
1758 | end | |
1759 | end | |
1760 | ||
1761 | ||
1762 | ||
1763 | ||
1764 | ||
1765 | ||
1766 | ||
1767 | ||
1768 | ||
1769 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
1770 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1}) | |
1771 | return Weld | |
1772 | end | |
1773 | ||
1774 | rayCast = function(Position, Direction, Range, Ignore) | |
1775 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
1776 | end | |
1777 | ||
1778 | CreateSound = function(id, par, vol, pit) | |
1779 | coroutine.resume(coroutine.create(function() | |
1780 | local sou = Instance.new("Sound", par or workspace) | |
1781 | sou.Volume = vol | |
1782 | sou.Pitch = pit or 1 | |
1783 | sou.SoundId = id | |
1784 | swait() | |
1785 | sou:play() | |
1786 | game:GetService("Debris"):AddItem(sou, 6) | |
1787 | end | |
1788 | )) | |
1789 | end | |
1790 | ||
1791 | local getclosest = function(obj, distance) | |
1792 | local last, lastx = distance + 1, nil | |
1793 | for i,v in pairs(workspace:GetChildren()) do | |
1794 | if v:IsA("Model") and v ~= char and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then | |
1795 | local t = v.Torso | |
1796 | local dist = t.Position - obj.Position.magnitude | |
1797 | if dist <= distance and dist < last then | |
1798 | last = dist | |
1799 | lastx = v | |
1800 | end | |
1801 | end | |
1802 | end | |
1803 | return lastx | |
1804 | end | |
1805 | ||
1806 | Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1807 | if hit.Parent == nil then | |
1808 | return | |
1809 | end | |
1810 | local h = hit.Parent:FindFirstChild("Humanoid") | |
1811 | for _,v in pairs(hit.Parent:children()) do | |
1812 | if v:IsA("Humanoid") then | |
1813 | h = v | |
1814 | end | |
1815 | end | |
1816 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
1817 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
1818 | return | |
1819 | end | |
1820 | local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h}) | |
1821 | game:GetService("Debris"):AddItem(c, 0.5) | |
1822 | if HitSound ~= nil and HitPitch ~= nil then | |
1823 | CreateSound(HitSound, hit, 1, HitPitch) | |
1824 | end | |
1825 | local Damage = math.random(minim, maxim) | |
1826 | local blocked = false | |
1827 | local block = hit.Parent:findFirstChild("Block") | |
1828 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
1829 | blocked = true | |
1830 | block.Value = block.Value - 1 | |
1831 | print(block.Value) | |
1832 | end | |
1833 | if blocked == false then | |
1834 | h.Health = h.Health - Damage | |
1835 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1836 | else | |
1837 | h.Health = h.Health - Damage / 2 | |
1838 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1839 | end | |
1840 | if Type == "Knockdown" then | |
1841 | local hum = hit.Parent.Humanoid | |
1842 | hum.PlatformStand = true | |
1843 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1844 | swait(1) | |
1845 | HHumanoid.PlatformStand = false | |
1846 | end | |
1847 | ), hum) | |
1848 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
1849 | local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) | |
1850 | local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit}) | |
1851 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
1852 | game:GetService("Debris"):AddItem(rl, 0.5) | |
1853 | else | |
1854 | do | |
1855 | if Type == "Debuff" then | |
1856 | print'hi' | |
1857 | else | |
1858 | if Type == "Up" then | |
1859 | local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) | |
1860 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
1861 | else | |
1862 | do | |
1863 | if Type == "DarkUp" then | |
1864 | coroutine.resume(coroutine.create(function() | |
1865 | for i = 0, 1, 0.1 do | |
1866 | swait() | |
1867 | BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1) | |
1868 | end | |
1869 | end | |
1870 | )) | |
1871 | local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) | |
1872 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1873 | else | |
1874 | do | |
1875 | if Type == "Snare" then | |
1876 | local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso}) | |
1877 | game:GetService("Debris"):AddItem(bp, 1) | |
1878 | else | |
1879 | do | |
1880 | if Type == "Freeze" then | |
1881 | local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso}) | |
1882 | local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame}) | |
1883 | hit.Parent.Torso.Anchored = true | |
1884 | coroutine.resume(coroutine.create(function(Part) | |
1885 | swait(1.5) | |
1886 | Part.Anchored = false | |
1887 | end), hit.Parent.Torso) | |
1888 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1889 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1890 | end | |
1891 | do | |
1892 | local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true}) | |
1893 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1894 | c = Instance.new("ObjectValue") | |
1895 | c.Name = "creator" | |
1896 | c.Value = Player | |
1897 | c.Parent = h | |
1898 | game:GetService("Debris"):AddItem(c, 0.5) | |
1899 | end | |
1900 | end | |
1901 | end | |
1902 | end | |
1903 | end | |
1904 | end | |
1905 | end | |
1906 | end | |
1907 | end | |
1908 | end | |
1909 | end | |
1910 | end | |
1911 | ||
1912 | ShowDamage = function(Pos, Text, Time, Color) | |
1913 | local Rate = 0.033333333333333 | |
1914 | if not Pos then | |
1915 | local Pos = Vector3.new(0, 0, 0) | |
1916 | end | |
1917 | local Text = Text or "" | |
1918 | local Time = Time or 2 | |
1919 | if not Color then | |
1920 | local Color = Color3.new(1, 0, 1) | |
1921 | end | |
1922 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0)) | |
1923 | EffectPart.Anchored = true | |
1924 | local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart}) | |
1925 | local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui}) | |
1926 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
1927 | EffectPart.Parent = game:GetService("Workspace") | |
1928 | delay(0, function() | |
1929 | local Frames = Time / Rate | |
1930 | for Frame = 1, Frames do | |
1931 | wait(Rate) | |
1932 | local Percent = Frame / Frames | |
1933 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1934 | TextLabel.TextTransparency = Percent | |
1935 | end | |
1936 | if EffectPart and EffectPart.Parent then | |
1937 | EffectPart:Destroy() | |
1938 | end | |
1939 | end | |
1940 | ) | |
1941 | end | |
1942 | ||
1943 | MagniDamage = function(Part, magni, mindam, maxdam, knock, Type) | |
1944 | for _,c in pairs(workspace:children()) do | |
1945 | local hum = c:findFirstChild("Humanoid") | |
1946 | if hum ~= nil then | |
1947 | local head = c:findFirstChild("Torso") | |
1948 | if head ~= nil then | |
1949 | local targ = head.Position - Part.Position | |
1950 | local mag = targ.magnitude | |
1951 | if mag <= magni and c.Name ~= Player.Name then | |
1952 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1) | |
1953 | end | |
1954 | end | |
1955 | end | |
1956 | end | |
1957 | end | |
1958 | ||
1959 | ||
1960 | ||
1961 | ||
1962 | ||
1963 | local effect = Instance.new("Model", Char) | |
1964 | effect.Name = "Effects" | |
1965 | ||
1966 | ||
1967 | ||
1968 | ||
1969 | ||
1970 | BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1971 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1972 | prt.Anchored = true | |
1973 | prt.CFrame = cframe | |
1974 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1975 | game:GetService("Debris"):AddItem(prt, 10) | |
1976 | if Type == 1 or Type == nil then | |
1977 | table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh}) | |
1978 | else | |
1979 | if Type == 2 then | |
1980 | table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh}) | |
1981 | end | |
1982 | end | |
1983 | end | |
1984 | ||
1985 | ||
1986 | ||
1987 | ||
1988 | WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1989 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1990 | prt.Anchored = true | |
1991 | prt.CFrame = cframe | |
1992 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1993 | game:GetService("Debris"):AddItem(prt, 10) | |
1994 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
1995 | end | |
1996 | ||
1997 | ||
1998 | ||
1999 | local grabbing = false | |
2000 | WindFloor = function() | |
2001 | ||
2002 | end | |
2003 | ||
2004 | ||
2005 | ||
2006 | bc = BrickColor.new | |
2007 | function WindFloor2() | |
2008 | local shur = Instance.new("Part",char) | |
2009 | local gahd = Instance.new("Sound",shur) | |
2010 | gahd.SoundId = "rbxassetid://402981977" | |
2011 | gahd.Volume = 5 | |
2012 | gahd.Pitch = 0.75 | |
2013 | gahd:Play() | |
2014 | shur.Transparency = 1 | |
2015 | shur.Material = "Neon" | |
2016 | shur.BrickColor = bc("Royal purple") | |
2017 | shur.Anchored = true | |
2018 | shur.CFrame = mouse.Hit | |
2019 | shur.Rotation = vt(0,math.random(-500,500),0) | |
2020 | shur.Size = vt(1,0.2,1) | |
2021 | shur.CanCollide = false | |
2022 | local dec = Instance.new("Decal",shur) | |
2023 | dec.Texture = symbolimg | |
2024 | dec.Face = "Top" | |
2025 | local dec2 = dec:Clone() | |
2026 | dec2.Parent = shur | |
2027 | dec2.Face = "Bottom" | |
2028 | local Meshshur = Instance.new("CylinderMesh",shur) | |
2029 | Meshshur.Scale = vt(0,1,0) | |
2030 | local value1 = 1*2.25 | |
2031 | for i = 0, 50 do | |
2032 | Meshshur.Scale = Meshshur.Scale + vt(value1,0,value1) | |
2033 | value1 = value1 - 0.015*2.25 | |
2034 | wait(0) | |
2035 | end | |
2036 | local spart = Instance.new("Part",char) | |
2037 | local tick = Instance.new("Sound",spart) | |
2038 | tick.SoundId = "rbxassetid://414516914" | |
2039 | tick.Volume = 2.5 | |
2040 | tick.Pitch = 0.45 | |
2041 | tick:Play() | |
2042 | spart.Size = vt(1,1,1) | |
2043 | spart.BrickColor = BrickColor.new("Royal purple") | |
2044 | spart.Transparency = 0.1 | |
2045 | spart.Anchored = true | |
2046 | spart.CanCollide = false | |
2047 | spart.CFrame = shur.CFrame + vt(0,2.5,0) | |
2048 | local expld = Instance.new("Explosion", spart) | |
2049 | expld.BlastRadius = 27.5 | |
2050 | expld.Position = spart.Position | |
2051 | local mesh = Instance.new("SpecialMesh",spart) | |
2052 | mesh.MeshType = "FileMesh" | |
2053 | mesh.Scale = vt(1,0.01,1) | |
2054 | mesh.MeshId = "http://www.roblox.com/asset/?id=102638417" | |
2055 | local parz = spart:Clone() | |
2056 | local mshe = parz.Mesh | |
2057 | mshe.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
2058 | parz.CFrame = spart.CFrame | |
2059 | parz.Parent = char | |
2060 | local par2 = spart:Clone() | |
2061 | local msh = par2.Mesh | |
2062 | par2.Mesh.MeshType = "Sphere" | |
2063 | par2.Material = "Neon" | |
2064 | par2.CFrame = spart.CFrame | |
2065 | par2.BrickColor = BrickColor.new("Royal purple") | |
2066 | par2.Parent = char | |
2067 | local par3 = spart:Clone() | |
2068 | local msh3 = par2.Mesh | |
2069 | msh3.Scale = vt(15,0,15) | |
2070 | par3.Mesh.MeshType = "Sphere" | |
2071 | par3.Material = "Neon" | |
2072 | par3.CFrame = spart.CFrame | |
2073 | par3.BrickColor = BrickColor.new("Royal purple") | |
2074 | par3.Parent = char | |
2075 | for i = 0, 150 do | |
2076 | spart.Transparency = spart.Transparency + 0.01 | |
2077 | mesh.Scale = mesh.Scale + vt(2.25,0.15,2.25) | |
2078 | spart.Position = spart.Position | |
2079 | spart.CFrame = spart.CFrame*CFrame.Angles(0,0.5,0) | |
2080 | par2.Transparency = par2.Transparency + 0.01 | |
2081 | msh.Scale = msh.Scale + vt(1.5/1.25,1.5/1.25,1.5/1.25) | |
2082 | par2.Position = par2.Position | |
2083 | par2.CFrame = par2.CFrame*CFrame.Angles(0,-0.5,0) | |
2084 | par3.Transparency = par2.Transparency + 0.05 | |
2085 | msh3.Scale = msh3.Scale + vt(-0.5,50/1.25,-0.5) | |
2086 | par3.Position = par2.Position | |
2087 | par3.CFrame = par2.CFrame*CFrame.Angles(0,-0.5,0) | |
2088 | parz.Transparency = par2.Transparency + 0.01 | |
2089 | mshe.Scale = msh.Scale + vt(4,1,4) | |
2090 | parz.Position = parz.Position | |
2091 | parz.CFrame = parz.CFrame*CFrame.Angles(0,-0.5,0) | |
2092 | wait(0) | |
2093 | end | |
2094 | for i = 0, 100 do | |
2095 | dec.Transparency = dec.Transparency + 0.015 | |
2096 | dec2.Transparency = dec.Transparency | |
2097 | Meshshur.Scale = Meshshur.Scale + vt(value1,0,value1) | |
2098 | value1 = value1 - 0.015*2.25 | |
2099 | wait(0) | |
2100 | end | |
2101 | shur:Destroy() | |
2102 | par2:Destroy() | |
2103 | spart:Destroy() | |
2104 | end | |
2105 | ||
2106 | ||
2107 | ||
2108 | ||
2109 | ||
2110 | ||
2111 | ||
2112 | function BlastStorm() | |
2113 | ||
2114 | local lag = Instance.new("Sound", workspace) | |
2115 | lag.SoundId = "rbxassetid://752783199" | |
2116 | lag.Volume = 20000 | |
2117 | lag.Pitch = 1 | |
2118 | lag:Play() | |
2119 | wait(0) | |
2120 | local ff = Instance.new("ForceField",char) | |
2121 | local shur = Instance.new("Part",char) | |
2122 | local gahd = Instance.new("Sound",char) | |
2123 | gahd.SoundId = "rbxassetid://402981977" | |
2124 | gahd.Volume = 2.5 | |
2125 | gahd.Pitch = 0.6 | |
2126 | gahd:Play() | |
2127 | shur.Transparency = 1 | |
2128 | shur.Material = "Neon" | |
2129 | shur.BrickColor = bc("Royal purple") | |
2130 | shur.Anchored = true | |
2131 | shur.CFrame = mouse.Hit | |
2132 | shur.Size = vt(1,0.2,1) | |
2133 | shur.CanCollide = false | |
2134 | local dec = Instance.new("Decal",shur) | |
2135 | dec.Texture = symbolimg | |
2136 | dec.Face = "Top" | |
2137 | local dec2 = dec:Clone() | |
2138 | dec2.Parent = shur | |
2139 | dec2.Face = "Bottom" | |
2140 | local Meshshur = Instance.new("CylinderMesh",shur) | |
2141 | Meshshur.Scale = vt(0,1,0) | |
2142 | local value1 = 1*12.5 | |
2143 | for i = 0, 50 do | |
2144 | shur.CFrame = torso.CFrame + vt(0,-2.5,0) | |
2145 | Meshshur.Scale = Meshshur.Scale + vt(value1,0,value1) | |
2146 | value1 = value1 - 0.015*12.5 | |
2147 | wait(0) | |
2148 | end | |
2149 | ||
2150 | wait(0) | |
2151 | local spart = Instance.new("Part",char) | |
2152 | local tick = Instance.new("Sound",char) | |
2153 | tick.SoundId = "rbxassetid://414516914" | |
2154 | tick.Volume = 2.5 | |
2155 | tick.Pitch = 0.4 | |
2156 | tick:Play() | |
2157 | local tickz = Instance.new("Sound",char) | |
2158 | tickz.SoundId = "rbxassetid://435742675" | |
2159 | tickz.Volume = 1 | |
2160 | tickz.Pitch = 1 | |
2161 | tickz:Play() | |
2162 | local tickr = Instance.new("Sound",char) | |
2163 | tickr.SoundId = "rbxassetid://435742675" | |
2164 | tickr.Volume = 2.5 | |
2165 | tickr.Pitch = 0.5 | |
2166 | tickr:Play() | |
2167 | local tickel = Instance.new("Sound",char) | |
2168 | tickel.SoundId = "rbxassetid://2248511" | |
2169 | tickel.Volume = 3 | |
2170 | tickel.Pitch = 0.2 | |
2171 | tickel:Play() | |
2172 | spart.Size = vt(1,1,1) | |
2173 | spart.BrickColor = BrickColor.new("Royal purple") | |
2174 | spart.Transparency = 0.1 | |
2175 | spart.Anchored = true | |
2176 | spart.CanCollide = false | |
2177 | spart.CFrame = mouse.Hit | |
2178 | local expld = Instance.new("Explosion", spart) | |
2179 | expld.BlastRadius = 500000 | |
2180 | expld.Position = spart.Position | |
2181 | local mesh = Instance.new("SpecialMesh",spart) | |
2182 | mesh.MeshType = "FileMesh" | |
2183 | mesh.Scale = vt(1,0.01,1) | |
2184 | mesh.MeshId = "http://www.roblox.com/asset/?id=102638417" | |
2185 | local parz = spart:Clone() | |
2186 | local mshe = parz.Mesh | |
2187 | mshe.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
2188 | parz.CFrame = spart.CFrame | |
2189 | parz.Parent = char | |
2190 | local par2 = spart:Clone() | |
2191 | local msh = par2.Mesh | |
2192 | par2.Mesh.MeshType = "Sphere" | |
2193 | par2.Material = "Neon" | |
2194 | par2.CFrame = spart.CFrame | |
2195 | par2.BrickColor = BrickColor.new("Royal purple") | |
2196 | par2.Parent = char | |
2197 | for i = 0, 200 do | |
2198 | spart.Transparency = spart.Transparency + 0.005 | |
2199 | mesh.Scale = mesh.Scale + vt(10,1,10) | |
2200 | spart.Position = spart.Position | |
2201 | spart.CFrame = spart.CFrame*CFrame.Angles(0,0.5,0) | |
2202 | par2.Transparency = par2.Transparency + 0.005 | |
2203 | msh.Scale = msh.Scale + vt(5/1.25,1000/1.25,5/1.25) | |
2204 | par2.Position = par2.Position | |
2205 | par2.CFrame = par2.CFrame*CFrame.Angles(0,-0.5,0) | |
2206 | parz.Transparency = par2.Transparency + 0.005 | |
2207 | mshe.Scale = msh.Scale + vt(6,1,6) | |
2208 | parz.Position = parz.Position | |
2209 | parz.CFrame = parz.CFrame*CFrame.Angles(0,-0.5,0) | |
2210 | wait(0) | |
2211 | end | |
2212 | ff:Destroy() | |
2213 | for i = 0, 100 do | |
2214 | dec.Transparency = dec.Transparency + 0.015 | |
2215 | dec2.Transparency = dec.Transparency | |
2216 | Meshshur.Scale = Meshshur.Scale + vt(value1,0,value1) | |
2217 | value1 = value1 - 0.015*12.5 | |
2218 | wait(0) | |
2219 | end | |
2220 | shur:Destroy() | |
2221 | par2:Destroy() | |
2222 | spart:Destroy() | |
2223 | tick:Destroy() | |
2224 | tickr:Destroy() | |
2225 | tickz:Destroy() | |
2226 | tickel:Destroy() | |
2227 | end | |
2228 | ||
2229 | ||
2230 | ||
2231 | ||
2232 | ||
2233 | ||
2234 | ||
2235 | ||
2236 | local maincolor = Color3.new(170/255,0/255,255/255) | |
2237 | ||
2238 | ||
2239 | ||
2240 | function noobyisscripter() | |
2241 | local hitted = false | |
2242 | local valuesize = 5 | |
2243 | local lb = Instance.new("Part") | |
2244 | lb.Parent = char | |
2245 | lb.Material = "Neon" | |
2246 | lb.BrickColor = BrickColor.new(maincolor) | |
2247 | lb.CanCollide = false | |
2248 | lb.Shape = "Ball" | |
2249 | lb.CFrame = char.Torso.CFrame + Vector3.new(0,0.7,0) | |
2250 | lb.Anchored = false | |
2251 | lb.Size = vt(1,1,1) | |
2252 | local thing = Instance.new("SpecialMesh",lb) | |
2253 | thing.MeshType = "Sphere" | |
2254 | local trail = Instance.new("ParticleEmitter",lb) | |
2255 | trail.Texture = "rbxassetid://296874871" | |
2256 | trail.LightEmission = 0.95 | |
2257 | trail.Color = ColorSequence.new(maincolor) | |
2258 | trail.Rate = 10000 | |
2259 | trail.Lifetime = NumberRange.new(1.5) | |
2260 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2261 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2262 | trail.Speed = NumberRange.new(0,0) | |
2263 | trail.RotSpeed = NumberRange.new(-500,500) | |
2264 | local bv = Instance.new("BodyVelocity") | |
2265 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
2266 | bv.velocity = mouse.Hit.lookVector *100 | |
2267 | bv.Parent = lb | |
2268 | wait(0.1) | |
2269 | pewdiepie=lb.Touched:connect(function(hit) | |
2270 | if hitted == false then | |
2271 | local sd = Instance.new("Sound",lb) | |
2272 | sd.SoundId = "rbxassetid://138210320" | |
2273 | sd.Volume = 2.5 | |
2274 | sd:Play() | |
2275 | hitted = true | |
2276 | trail.Rate = 0 | |
2277 | lb.Anchored = true | |
2278 | local explosion = Instance.new("Explosion",lb) | |
2279 | explosion.BlastRadius = 10 | |
2280 | explosion.Position = lb.Position | |
2281 | local ex = Instance.new("ParticleEmitter",lb) | |
2282 | ex.Texture = "rbxassetid://296874871" | |
2283 | ex.LightEmission = 0.95 | |
2284 | ex.Color = ColorSequence.new(maincolor) | |
2285 | ex.Rate = 10000 | |
2286 | ex.Lifetime = NumberRange.new(1.75) | |
2287 | ex.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,25,0)}) | |
2288 | ex.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2289 | ex.Speed = NumberRange.new(25,45) | |
2290 | ex.VelocitySpread = 90000 | |
2291 | ex.RotSpeed = NumberRange.new(-500,500) | |
2292 | for i = 0, 19 do | |
2293 | wait() | |
2294 | valuesize = valuesize - 0.25 | |
2295 | thing.Scale = thing.Scale + vt(valuesize,valuesize,valuesize) | |
2296 | end | |
2297 | ex.Rate = 0 | |
2298 | for i = 0, 9 do | |
2299 | wait() | |
2300 | lb.Transparency = lb.Transparency + 0.1 | |
2301 | end | |
2302 | wait(5) | |
2303 | lb:Destroy() | |
2304 | end | |
2305 | end) | |
2306 | end | |
2307 | ---------------------------------------------------- | |
2308 | ||
2309 | ---------------------------------------------------- | |
2310 | mouse.KeyDown:connect(function(key) | |
2311 | if key == "g" then | |
2312 | hum.WalkSpeed = 0 | |
2313 | if Debounces.CanAttack == true then | |
2314 | Debounces.CanAttack = false | |
2315 | Debounces.on = true | |
2316 | Debounces.NoIdl = true | |
2317 | wait(.1) | |
2318 | so("http://www.roblox.com/asset/?id=169445572",hed,1.5,1.5) | |
2319 | so("http://www.roblox.com/asset/?id=169380495",hed,1.5,1.5) | |
2320 | for i = 1, 20 do | |
2321 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2) | |
2322 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2) | |
2323 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2) | |
2324 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2) | |
2325 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2) | |
2326 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2) | |
2327 | if Debounces.on == false then break end | |
2328 | wait() | |
2329 | end | |
2330 | wait(0.5) | |
2331 | local rng = Instance.new("Part", char) | |
2332 | rng.Anchored = true | |
2333 | rng.BrickColor = BrickColor.new("Institutional white") | |
2334 | rng.CanCollide = false | |
2335 | rng.FormFactor = 3 | |
2336 | rng.Name = "Ring" | |
2337 | rng.Size = Vector3.new(1, 1, 1) | |
2338 | rng.Transparency = 0.5 | |
2339 | rng.TopSurface = 0 | |
2340 | rng.BottomSurface = 0 | |
2341 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
2342 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2343 | local rngm = Instance.new("SpecialMesh", rng) | |
2344 | rngm.MeshId = "http://www.roblox.com/asset/?id=156292355" | |
2345 | rngm.Scale = Vector3.new(1, 1, 2) | |
2346 | x = Instance.new("Sound",torso) | |
2347 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
2348 | x.Looped = false | |
2349 | x.Pitch = .7 | |
2350 | x.Volume = 2 | |
2351 | x:Play() | |
2352 | partic2.Enabled = true | |
2353 | coroutine.wrap(function() | |
2354 | for i = 1, 60, 8 do | |
2355 | rngm.Scale = Vector3.new(1.2 + i*1.1, 1.2 + i*1.1, 1) | |
2356 | rng.Transparency = i/60 | |
2357 | wait() | |
2358 | end | |
2359 | wait() | |
2360 | rng:Destroy() | |
2361 | end)() | |
2362 | hum.WalkSpeed = 50 | |
2363 | BV = Instance.new("BodyVelocity", torso) | |
2364 | BV.maxForce = Vector3.new(0,200000,0) | |
2365 | BV.P = 100000 | |
2366 | BV.velocity = Vector3.new(0,150,0) | |
2367 | for i = 1, 20 do | |
2368 | 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.7) | |
2369 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
2370 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
2371 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7) | |
2372 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
2373 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
2374 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 200, 0), 0.3) | |
2375 | if Debounces.on == false then break end | |
2376 | wait() | |
2377 | end | |
2378 | x:Destroy() | |
2379 | BV:Destroy() | |
2380 | ||
2381 | coroutine.resume(coroutine.create(function() | |
2382 | for i = 1, 2880, 48 do | |
2383 | torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0)) | |
2384 | rs:wait(4) | |
2385 | end | |
2386 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
2387 | end)) | |
2388 | ||
2389 | for i = 1, 30 do | |
2390 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
2391 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3) | |
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(-10)), 0.3) | |
2393 | 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.3) | |
2394 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
2395 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
2396 | if Debounces.on == false then break end | |
2397 | wait() | |
2398 | end | |
2399 | ||
2400 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
2401 | for i = 1, 30 do | |
2402 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0), math.rad(0)),0.3) | |
2403 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad (0), math.rad(0)), 0.3) | |
2404 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3) | |
2405 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), 0.3) | |
2406 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
2407 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0), 0.3) | |
2408 | if Debounces.on == false then break end | |
2409 | wait() | |
2410 | end | |
2411 | end | |
2412 | local ry,ht,ps=nil,nil,nil | |
2413 | while ht==nil do | |
2414 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char}) | |
2415 | wait() | |
2416 | end | |
2417 | Landing() | |
2418 | z = Instance.new("Sound",torso) | |
2419 | z.SoundId = "rbxassetid://142070127" | |
2420 | z.Volume = 2 | |
2421 | wait(.1) | |
2422 | z:Play() | |
2423 | partic2.Enabled = false | |
2424 | hum.WalkSpeed = 0 | |
2425 | for i = 1, 25 do | |
2426 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.3) *CFrame.Angles (math.rad(120),math.rad(10),math.rad(32)), 0.2) | |
2427 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,1,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-20)), 0.2) | |
2428 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (-8),math.rad(-40), math.rad(-8)),0.2) | |
2429 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(0)), 0.2) | |
2430 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, 0, -.6) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2) | |
2431 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2) | |
2432 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 229.5, 0), 0.3) | |
2433 | if Debounces.on == false then break end | |
2434 | wait() | |
2435 | end | |
2436 | wait(0.2) | |
2437 | Debounces.on = false | |
2438 | Debounces.NoIdl = false | |
2439 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
2440 | ||
2441 | if Debounces.CanAttack == false then | |
2442 | Debounces.CanAttack = true | |
2443 | hum.WalkSpeed = 14 | |
2444 | end | |
2445 | end | |
2446 | end | |
2447 | end) | |
2448 | ---------------------------------------------------- | |
2449 | ---------------------------------------------------- | |
2450 | ------------------------------- | |
2451 | mouse.KeyDown:connect(function(key) | |
2452 | if key == "q" then | |
2453 | if Debounces.CanAttack == true then | |
2454 | Debounces.CanAttack = false | |
2455 | Debounces.NoIdl = true | |
2456 | Debounces.on = true | |
2457 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
2458 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2459 | local List = {} | |
2460 | for i,v in pairs(workspace:GetChildren())do | |
2461 | if v:IsA("Model")then | |
2462 | if v:findFirstChild("Torso")then | |
2463 | if v ~= char then | |
2464 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2465 | table.insert(List,v) | |
2466 | end | |
2467 | end | |
2468 | end | |
2469 | end | |
2470 | end | |
2471 | return List | |
2472 | end | |
2473 | z = Instance.new("Sound",hed) | |
2474 | z.SoundId = "rbxassetid://232213955" | |
2475 | z.Pitch = 1 | |
2476 | z.Volume = 1 | |
2477 | wait(0.2) | |
2478 | z:Play() | |
2479 | sp = Instance.new("Part",rarm) | |
2480 | sp.Anchored = true | |
2481 | sp.CanCollide = false | |
2482 | sp.Locked = true | |
2483 | sp.Transparency = 0 | |
2484 | sp.Material = "Neon" | |
2485 | sp.Size = Vector3.new(1,1,1) | |
2486 | sp.TopSurface = "SmoothNoOutlines" | |
2487 | sp.BottomSurface = "SmoothNoOutlines" | |
2488 | sp.BrickColor = BrickColor.new("Royal purple") | |
2489 | spm = Instance.new("SpecialMesh",sp) | |
2490 | spm.MeshType = "Sphere" | |
2491 | spm.Scale = Vector3.new(21,21,21) | |
2492 | sp2 = Instance.new("Part", rarm) | |
2493 | sp2.Name = "Energy" | |
2494 | sp2.BrickColor = BrickColor.new("Royal purple") | |
2495 | sp2.Size = Vector3.new(1, 1, 1) | |
2496 | sp2.Shape = "Ball" | |
2497 | sp2.CanCollide = false | |
2498 | sp2.Anchored = true | |
2499 | sp2.Locked = true | |
2500 | sp2.TopSurface = 0 | |
2501 | sp2.BottomSurface = 0 | |
2502 | sp2.Transparency = 1 | |
2503 | spm2 = Instance.new("SpecialMesh",sp2) | |
2504 | spm2.MeshId = "rbxassetid://9982590" | |
2505 | spm2.Scale = Vector3.new(2,2,2) | |
2506 | for i = 1, 20 do | |
2507 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
2508 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
2509 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
2510 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
2511 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
2512 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2513 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
2514 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
2515 | if Debounces.on == false then break end | |
2516 | rs:wait() | |
2517 | end | |
2518 | for i = 1, 100, 20 do rs:wait() | |
2519 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
2520 | end | |
2521 | for i = 1, 20 do | |
2522 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
2523 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
2524 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4) | |
2525 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
2526 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
2527 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
2528 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
2529 | if Debounces.on == false then break end | |
2530 | rs:wait() | |
2531 | end | |
2532 | sp.Transparency = 1 | |
2533 | for i = 1, 20 do | |
2534 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
2535 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4) | |
2536 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
2537 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
2538 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
2539 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
2540 | if Debounces.on == false then break end | |
2541 | rs:wait() | |
2542 | end | |
2543 | wait(1) | |
2544 | sp.Transparency = 0 | |
2545 | sp2.Transparency = 0.84 | |
2546 | for i = 1, 20 do | |
2547 | --spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
2548 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
2549 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
2550 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
2551 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
2552 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
2553 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
2554 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
2555 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
2556 | if Debounces.on == false then break end | |
2557 | rs:wait() | |
2558 | end | |
2559 | for i = 1, 2880, 50 do | |
2560 | rs:wait() | |
2561 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
2562 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
2563 | rs:wait() | |
2564 | end | |
2565 | sp:Destroy() | |
2566 | sp2:Destroy() | |
2567 | local X = Instance.new("Part",char) | |
2568 | local O = Instance.new("ObjectValue",X) | |
2569 | O.Name = "creator" | |
2570 | X.Locked = true | |
2571 | X.Name = "Shell" | |
2572 | X.Anchored = false | |
2573 | X.CanCollide = false | |
2574 | X.Transparency = 0 | |
2575 | X.Reflectance = 0 | |
2576 | X.BottomSurface = 0 | |
2577 | X.TopSurface = 0 | |
2578 | X.Shape = 0 | |
2579 | local V = Instance.new("ObjectValue",X) | |
2580 | V.Value = char | |
2581 | V.Name = "creator" | |
2582 | X.BrickColor = BrickColor.new("Royal purple") | |
2583 | X.Size = Vector3.new(2,2,2) | |
2584 | X.Material = "Neon" | |
2585 | local Z = Instance.new("SpecialMesh",X) | |
2586 | Z.MeshType = "Sphere" | |
2587 | Z.Scale = Vector3.new(0.5,0.5,1) | |
2588 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
2589 | local bv = Instance.new("BodyVelocity",X) | |
2590 | bv.maxForce = Vector3.new(99999,99999,99999) | |
2591 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
2592 | bv.velocity = X.CFrame.lookVector*65 | |
2593 | ||
2594 | Explode = X.Touched:connect(function(hit) | |
2595 | if hit ~= char and hit.Name ~= "Shell" then | |
2596 | local cf = X.CFrame | |
2597 | bv:Destroy() | |
2598 | X.Anchored = true | |
2599 | Z:Remove() | |
2600 | Explode:disconnect() | |
2601 | X.Size = Vector3.new(3,3,3) | |
2602 | X.Touched:connect(function(hit) end) | |
2603 | X.CanCollide = false | |
2604 | local part3 = Instance.new("Part", rarm) | |
2605 | part3.Anchored=true | |
2606 | part3.CanCollide=false | |
2607 | part3.Locked = true | |
2608 | part3.TopSurface = "SmoothNoOutlines" | |
2609 | part3.BottomSurface = "SmoothNoOutlines" | |
2610 | part3.FormFactor='Custom' | |
2611 | part3.Size=Vector3.new(1,1, 1) | |
2612 | part3.CFrame=X.CFrame | |
2613 | part3.Transparency=0 | |
2614 | part3.BrickColor=BrickColor.new("Royal purple") | |
2615 | local mesh3 = Instance.new("SpecialMesh",part3) | |
2616 | mesh3.MeshType = "Sphere" | |
2617 | mesh3.Scale = Vector3.new(1,1,1) | |
2618 | --debris:AddItem(X,8) | |
2619 | local part4 = Instance.new("Part", rarm) | |
2620 | part4.Material = "Neon" | |
2621 | part4.Anchored=true | |
2622 | part4.CanCollide=false | |
2623 | part4.Locked = true | |
2624 | part4.TopSurface = "SmoothNoOutlines" | |
2625 | part4.BottomSurface = "SmoothNoOutlines" | |
2626 | part4.FormFactor='Custom' | |
2627 | part4.Size=Vector3.new(1,1, 1) | |
2628 | part4.CFrame=X.CFrame | |
2629 | part4.Transparency=0 | |
2630 | part4.BrickColor=BrickColor.new("Hot pink") | |
2631 | local mesh4 = Instance.new("SpecialMesh",part4) | |
2632 | mesh4.MeshType = "Sphere" | |
2633 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
2634 | local part7 = Instance.new("Part", rarm) | |
2635 | part7.Material = "Neon" | |
2636 | part7.Anchored=true | |
2637 | part7.CanCollide=false | |
2638 | part7.Locked = true | |
2639 | part7.TopSurface = "SmoothNoOutlines" | |
2640 | part7.BottomSurface = "SmoothNoOutlines" | |
2641 | part7.FormFactor='Custom' | |
2642 | part7.Size=Vector3.new(1,1, 1) | |
2643 | part7.CFrame=X.CFrame | |
2644 | part7.Transparency=0 | |
2645 | part7.BrickColor=BrickColor.new("Royal purple") | |
2646 | local mesh7 = Instance.new("SpecialMesh",part7) | |
2647 | mesh7.MeshType = "Sphere" | |
2648 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
2649 | --[[X.Touched:connect(function(ht) | |
2650 | hit = ht.Parent | |
2651 | if ht and hit:IsA("Model") then | |
2652 | if hit:FindFirstChild("Humanoid") then | |
2653 | if hit.Name ~= p.Name then | |
2654 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
2655 | wait(.3) | |
2656 | end | |
2657 | end | |
2658 | elseif ht and hit:IsA("Hat") then | |
2659 | if hit.Parent.Name ~= p.Name then | |
2660 | if hit.Parent:FindFirstChild("Humanoid") then | |
2661 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
2662 | wait(.3) | |
2663 | end | |
2664 | end | |
2665 | end | |
2666 | end) | |
2667 | part3.Touched:connect(function(ht) | |
2668 | hit = ht.Parent | |
2669 | if ht and hit:IsA("Model") then | |
2670 | if hit:FindFirstChild("Humanoid") then | |
2671 | if hit.Name ~= p.Name then | |
2672 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
2673 | wait(.3) | |
2674 | end | |
2675 | end | |
2676 | elseif ht and hit:IsA("Hat") then | |
2677 | if hit.Parent.Name ~= p.Name then | |
2678 | if hit.Parent:FindFirstChild("Humanoid") then | |
2679 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
2680 | wait(.3) | |
2681 | end | |
2682 | end | |
2683 | end | |
2684 | end)]]-- | |
2685 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
2686 | if v:FindFirstChild('Humanoid') then | |
2687 | v.Humanoid:TakeDamage(math.random(60,90)) | |
2688 | v.Humanoid.PlatformStand = true | |
2689 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
2690 | end | |
2691 | end | |
2692 | ||
2693 | local acos = math.acos | |
2694 | local sqrt = math.sqrt | |
2695 | local Vec3 = Vector3.new | |
2696 | local fromAxisAngle = CFrame.fromAxisAngle | |
2697 | ||
2698 | local function toAxisAngle(CFr) | |
2699 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
2700 | local Angle = math.acos((R00+R11+R22-1)/2) | |
2701 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
2702 | A = A == 0 and 0.00001 or A | |
2703 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
2704 | B = B == 0 and 0.00001 or B | |
2705 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
2706 | C = C == 0 and 0.00001 or C | |
2707 | local x = (R21-R12)/sqrt(A) | |
2708 | local y = (R02-R20)/sqrt(B) | |
2709 | local z = (R10-R01)/sqrt(C) | |
2710 | return Vec3(x,y,z),Angle | |
2711 | end | |
2712 | ||
2713 | function ApplyTrig(Num,Func) | |
2714 | local Min,Max = Func(0),Func(1) | |
2715 | local i = Func(Num) | |
2716 | return (i-Min)/(Max-Min) | |
2717 | end | |
2718 | ||
2719 | function LerpCFrame(CFrame1,CFrame2,Num) | |
2720 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
2721 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
2722 | end | |
2723 | ||
2724 | function Crater(Torso,Radius) | |
2725 | Spawn(function() | |
2726 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
2727 | local Ignore = {} | |
2728 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
2729 | if v.Character ~= nil then | |
2730 | Ignore[#Ignore+1] = v.Character | |
2731 | end | |
2732 | end | |
2733 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
2734 | if Hit == nil then return end | |
2735 | local Parts = {} | |
2736 | for i = 1,360,10 do | |
2737 | local P = Instance.new("Part",Torso.Parent) | |
2738 | P.Anchored = true | |
2739 | P.FormFactor = "Custom" | |
2740 | P.BrickColor = Hit.BrickColor | |
2741 | P.Material = Hit.Material | |
2742 | P.TopSurface = "Smooth" | |
2743 | P.BottomSurface = "Smooth" | |
2744 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
2745 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
2746 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size} | |
2747 | if math.random(0,5) == 0 then -- rubble | |
2748 | local P = Instance.new("Part",Torso.Parent) | |
2749 | P.Anchored = true | |
2750 | P.FormFactor = "Custom" | |
2751 | P.BrickColor = Hit.BrickColor | |
2752 | P.Material = Hit.Material | |
2753 | P.TopSurface = "Smooth" | |
2754 | P.BottomSurface = "Smooth" | |
2755 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
2756 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
2757 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size} | |
2758 | end | |
2759 | end | |
2760 | for i = 0,1,0.05 do | |
2761 | for i2,v in pairs(Parts) do | |
2762 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
2763 | end | |
2764 | wait(0.02) | |
2765 | end | |
2766 | for i,v in pairs(Parts) do | |
2767 | if v[1].Size.X > 2.1 then | |
2768 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
2769 | end | |
2770 | v[1].Anchored = false | |
2771 | end | |
2772 | for i = 0,1,0.05 do | |
2773 | for i2,v in pairs(Parts) do | |
2774 | v[1].Transparency = i | |
2775 | if i == 1 then | |
2776 | v[1]:Destroy() | |
2777 | elseif i >= 0.25 then | |
2778 | v[1].CanCollide = false | |
2779 | end | |
2780 | end | |
2781 | wait(0.02) | |
2782 | end | |
2783 | Parts = nil | |
2784 | end) | |
2785 | end | |
2786 | ||
2787 | ROW = function(out, trans, s, wt, t, ang, plus) | |
2788 | for i = 1, 360, 360/t do | |
2789 | local c = Instance.new("Part", game.Workspace) | |
2790 | c.FormFactor = 3 | |
2791 | c.TopSurface = 0 | |
2792 | c.BottomSurface = 0 | |
2793 | c.Size = s | |
2794 | c.Anchored = true | |
2795 | c.CanCollide = wt | |
2796 | c.Material=workspace.Base.Material | |
2797 | c.Transparency = trans | |
2798 | c.BrickColor = workspace.Base.BrickColor | |
2799 | c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
2800 | c.Locked=true | |
2801 | game.Debris:AddItem(c,15) | |
2802 | end | |
2803 | end | |
2804 | ||
2805 | Part = function(x,y,z,color,tr,cc,an,parent) | |
2806 | local p = Instance.new('Part',parent or Weapon) | |
2807 | p.formFactor = 'Custom' | |
2808 | p.Size = Vector3.new(x,y,z) | |
2809 | p.BrickColor = BrickColor.new(color) | |
2810 | p.CanCollide = cc | |
2811 | p.Transparency = tr | |
2812 | p.Anchored = an | |
2813 | p.TopSurface,p.BottomSurface = 0,0 | |
2814 | p.Locked=true | |
2815 | p:BreakJoints() | |
2816 | return p end | |
2817 | ||
2818 | Mesh = function(par,num,x,y,z) | |
2819 | local msh = _ | |
2820 | if num == 1 then msh = Instance.new("CylinderMesh",par) | |
2821 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3 | |
2822 | elseif num == 3 then msh = Instance.new("BlockMesh",par) | |
2823 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso" | |
2824 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num | |
2825 | end msh.Scale = Vector3.new(x,y,z) | |
2826 | return msh end | |
2827 | ||
2828 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
2829 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
2830 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
2831 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
2832 | v1,v2,v3=sz.x,sz.y,sz.z | |
2833 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
2834 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
2835 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
2836 | a.CFrame=cfr | |
2837 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
2838 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
2839 | ||
2840 | Spawn(function() | |
2841 | while wait() do | |
2842 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
2843 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
2844 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
2845 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
2846 | a.Transparency=a.Transparency+0.05 | |
2847 | a2.Transparency=a2.Transparency+0.05 | |
2848 | a3.Transparency=a3.Transparency+0.05 | |
2849 | end | |
2850 | end) | |
2851 | end | |
2852 | ||
2853 | Crater(X,20) | |
2854 | ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
2855 | z = Instance.new("Sound",X) | |
2856 | z.SoundId = "rbxassetid://231917744" | |
2857 | z.Pitch = .5 | |
2858 | z.Volume = 10 | |
2859 | z1 = Instance.new("Sound",X) | |
2860 | z1.SoundId = "rbxassetid://231917744" | |
2861 | z1.Pitch = .5 | |
2862 | z1.Volume = 10 | |
2863 | z2 = Instance.new("Sound",X) | |
2864 | z2.SoundId = "rbxassetid://231917744" | |
2865 | z2.Pitch = .5 | |
2866 | z2.Volume = 10 | |
2867 | z3 = Instance.new("Sound",X) | |
2868 | z3.SoundId = "rbxassetid://245537790" | |
2869 | z3.Pitch = .7 | |
2870 | z3.Volume = 1 | |
2871 | z4 = Instance.new("Sound",X) | |
2872 | z4.SoundId = "rbxassetid://245537790" | |
2873 | z4.Pitch = .7 | |
2874 | z4.Volume = 1 | |
2875 | wait(0.1) | |
2876 | z:Play() | |
2877 | z1:Play() | |
2878 | z2:Play() | |
2879 | z3:Play() | |
2880 | z4:Play() | |
2881 | ||
2882 | local part=Instance.new('Part',rarm) | |
2883 | part.Anchored=true | |
2884 | part.CanCollide=false | |
2885 | part.Locked = true | |
2886 | part.FormFactor='Custom' | |
2887 | part.Size=Vector3.new(1,1,1) | |
2888 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
2889 | part.Transparency=0 | |
2890 | part.BrickColor=BrickColor.new('Royal purple') | |
2891 | local mesh=Instance.new('SpecialMesh',part) | |
2892 | mesh.MeshId='http://www.roblox.com/asset/?id=24388358' | |
2893 | mesh.Scale=Vector3.new(2,2,2) | |
2894 | local part2=part:clone() | |
2895 | part2.Parent = rarm | |
2896 | part2.BrickColor=BrickColor.new("Royal purple") | |
2897 | local part5=part:clone() | |
2898 | part5.Parent = rarm | |
2899 | part5.BrickColor=BrickColor.new("Magenta") | |
2900 | local part6=part:clone() | |
2901 | part6.Parent = rarm | |
2902 | part6.BrickColor=BrickColor.new("Black") | |
2903 | local mesh2=mesh:clone() | |
2904 | mesh2.Parent=part2 | |
2905 | mesh2.Scale=Vector3.new(3, 3, 3) | |
2906 | local mesh5=mesh:clone() | |
2907 | mesh5.Parent=part5 | |
2908 | mesh5.Scale=Vector3.new(3, 3, 3) | |
2909 | local mesh6=mesh:clone() | |
2910 | mesh6.Parent=part6 | |
2911 | mesh6.Scale=Vector3.new(3, 3, 3) | |
2912 | local blast = Instance.new("Part", rarm) | |
2913 | blast.BrickColor = BrickColor.new("Royal purple") | |
2914 | blast.Anchored = true | |
2915 | blast.CanCollide = false | |
2916 | blast.Locked = true | |
2917 | blast.Size = Vector3.new(1, 1, 1) | |
2918 | blast.TopSurface = "Smooth" | |
2919 | blast.BottomSurface = "Smooth" | |
2920 | blast.Transparency = 0 | |
2921 | blast.CFrame = HandCF | |
2922 | local bm = Instance.new("SpecialMesh", blast) | |
2923 | bm.Scale = Vector3.new(5,1,5) | |
2924 | bm.MeshId = "rbxassetid://24388358" | |
2925 | local blast2 = Instance.new("Part", rarm) | |
2926 | blast2.BrickColor = BrickColor.new("Royal purple") | |
2927 | blast2.Anchored = true | |
2928 | blast2.CanCollide = false | |
2929 | blast2.Locked = true | |
2930 | blast2.Size = Vector3.new(1, 1, 1) | |
2931 | blast2.TopSurface = "Smooth" | |
2932 | blast2.BottomSurface = "Smooth" | |
2933 | blast2.Transparency = 0 | |
2934 | blast2.CFrame = HandCF | |
2935 | local bm2 = Instance.new("SpecialMesh", blast2) | |
2936 | bm2.Scale = Vector3.new(3,1,3) | |
2937 | bm2.MeshId = "rbxassetid://24388358" | |
2938 | local blast3 = Instance.new("Part", rarm) | |
2939 | blast3.BrickColor = BrickColor.new("Royal purple") | |
2940 | blast3.Anchored = true | |
2941 | blast3.CanCollide = false | |
2942 | blast3.Locked = true | |
2943 | blast3.Size = Vector3.new(1, 1, 1) | |
2944 | blast3.TopSurface = "Smooth" | |
2945 | blast3.BottomSurface = "Smooth" | |
2946 | blast3.Transparency = 0 | |
2947 | blast3.CFrame = HandCF | |
2948 | local bm3 = Instance.new("SpecialMesh", blast3) | |
2949 | bm3.Scale = Vector3.new(3,1,3) | |
2950 | bm3.MeshId = "rbxassetid://24388358" | |
2951 | for i = 1,120 do rs:wait() | |
2952 | X.Transparency = X.Transparency + (1/120) | |
2953 | part.Transparency = part.Transparency + (1/120) | |
2954 | part2.Transparency = part2.Transparency + (1/120) | |
2955 | part3.Transparency = part3.Transparency + (1/120) | |
2956 | part4.Transparency = part4.Transparency + (1/120) | |
2957 | part5.Transparency = part5.Transparency + (1/120) | |
2958 | part6.Transparency = part6.Transparency + (1/120) | |
2959 | part7.Transparency = part7.Transparency + (1/120) | |
2960 | blast.Transparency = blast.Transparency + (1/120) | |
2961 | blast2.Transparency = blast2.Transparency + (1/120) | |
2962 | blast3.Transparency = blast3.Transparency + (1/120) | |
2963 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
2964 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
2965 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
2966 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
2967 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
2968 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
2969 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
2970 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
2971 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
2972 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
2973 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
2974 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
2975 | X.CFrame = cf | |
2976 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
2977 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
2978 | part3.CFrame=X.CFrame | |
2979 | part4.CFrame=X.CFrame | |
2980 | part7.CFrame=X.CFrame | |
2981 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
2982 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
2983 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2984 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
2985 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
2986 | rs:wait() | |
2987 | end | |
2988 | X:Destroy() | |
2989 | part:Destroy() | |
2990 | part2:Destroy() | |
2991 | part3:Destroy() | |
2992 | part4:Destroy() | |
2993 | part5:Destroy() | |
2994 | part6:Destroy() | |
2995 | blast:Destroy() | |
2996 | blast2:Destroy() | |
2997 | blast3:Destroy() | |
2998 | z:Destroy() | |
2999 | z1:Destroy() | |
3000 | z2:Destroy() | |
3001 | z3:Destroy() | |
3002 | z4:Destroy() | |
3003 | end | |
3004 | end) | |
3005 | for i = 1, 20 do | |
3006 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
3007 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
3008 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
3009 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
3010 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
3011 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
3012 | if Debounces.on == false then break end | |
3013 | rs:wait() | |
3014 | end | |
3015 | if Debounces.CanAttack == false then | |
3016 | Debounces.CanAttack = true | |
3017 | Debounces.NoIdl = false | |
3018 | Debounces.on = false | |
3019 | end | |
3020 | end | |
3021 | end | |
3022 | end) | |
3023 | ---------------------------------------------------- | |
3024 | mouse.KeyDown:connect(function(key) | |
3025 | if key == "e" then | |
3026 | if Debounces.CanAttack == true then | |
3027 | Debounces.CanAttack = false | |
3028 | Debounces.on = true | |
3029 | Debounces.NoIdl = true | |
3030 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5} | |
3031 | z = Instance.new("Sound", rarm) | |
3032 | z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
3033 | z.Volume = .6 | |
3034 | z.Pitch = pt[math.random(1,#pt)] | |
3035 | z.Looped = false | |
3036 | z:Play() | |
3037 | Debounces.RPunch = true | |
3038 | Debounces.LPunch = true | |
3039 | Debounces.ks = true | |
3040 | Debounces.ks2 = true | |
3041 | for i = 1, 3 do | |
3042 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
3043 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
3044 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3045 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3046 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3047 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3048 | if Debounces.on == false then break end | |
3049 | wait() | |
3050 | end | |
3051 | z2 = Instance.new("Sound", larm) | |
3052 | z2.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3053 | z2.Volume = .6 | |
3054 | z2.Pitch = pt[math.random(1,#pt)] | |
3055 | z2.Looped = false | |
3056 | z2:Play() | |
3057 | for i = 1, 3 do | |
3058 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3059 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
3060 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3061 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3062 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3063 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3064 | if Debounces.on == false then break end | |
3065 | wait() | |
3066 | end | |
3067 | z3 = Instance.new("Sound", rarm) | |
3068 | z3.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3069 | z3.Volume = 0.6 | |
3070 | z3.Pitch = pt[math.random(1,#pt)] | |
3071 | z3.Looped = false | |
3072 | z3:Play() | |
3073 | for i = 1, 3 do | |
3074 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
3075 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
3076 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3077 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3078 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3079 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3080 | if Debounces.on == false then break end | |
3081 | wait() | |
3082 | end | |
3083 | z4 = Instance.new("Sound", larm) | |
3084 | z4.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3085 | z4.Volume = .6 | |
3086 | z4.Pitch = pt[math.random(1,#pt)] | |
3087 | z4.Looped = false | |
3088 | z4:Play() | |
3089 | for i = 1, 3 do | |
3090 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3091 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3092 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3093 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3094 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3095 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3096 | if Debounces.on == false then break end | |
3097 | wait() | |
3098 | end | |
3099 | z5 = Instance.new("Sound", rarm) | |
3100 | z5.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3101 | z5.Volume = .6 | |
3102 | z5.Pitch = pt[math.random(1,#pt)] | |
3103 | z5.Looped = false | |
3104 | z5:Play() | |
3105 | for i = 1, 3 do | |
3106 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
3107 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
3108 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
3109 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
3110 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
3111 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
3112 | if Debounces.on == false then break end | |
3113 | wait() | |
3114 | end | |
3115 | z6 = Instance.new("Sound", larm) | |
3116 | z6.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3117 | z6.Volume = .6 | |
3118 | z6.Pitch = pt[math.random(1,#pt)] | |
3119 | z6.Looped = false | |
3120 | z6:Play() | |
3121 | for i = 1, 3 do | |
3122 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3123 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3124 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3125 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3126 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3127 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3128 | if Debounces.on == false then break end | |
3129 | wait() | |
3130 | end | |
3131 | z7 = Instance.new("Sound", rarm) | |
3132 | z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
3133 | z7.Volume = .6 | |
3134 | z7.Pitch = pt[math.random(1,#pt)] | |
3135 | z7.Looped = false | |
3136 | z7:Play() | |
3137 | for i = 1, 3 do | |
3138 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
3139 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
3140 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3141 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3142 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3143 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3144 | if Debounces.on == false then break end | |
3145 | wait() | |
3146 | end | |
3147 | z8 = Instance.new("Sound", larm) | |
3148 | z8.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3149 | z8.Volume = .6 | |
3150 | z8.Pitch = pt[math.random(1,#pt)] | |
3151 | z8.Looped = false | |
3152 | z8:Play() | |
3153 | for i = 1, 3 do | |
3154 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3155 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
3156 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3157 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3158 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3159 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3160 | if Debounces.on == false then break end | |
3161 | wait() | |
3162 | end | |
3163 | z9 = Instance.new("Sound", rarm) | |
3164 | z9.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3165 | z9.Volume = 0.6 | |
3166 | z9.Pitch = pt[math.random(1,#pt)] | |
3167 | z9.Looped = false | |
3168 | z9:Play() | |
3169 | for i = 1, 3 do | |
3170 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
3171 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
3172 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3173 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3174 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3175 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3176 | if Debounces.on == false then break end | |
3177 | wait() | |
3178 | end | |
3179 | z10 = Instance.new("Sound", larm) | |
3180 | z10.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3181 | z10.Volume = .6 | |
3182 | z10.Pitch = pt[math.random(1,#pt)] | |
3183 | z10.Looped = false | |
3184 | z10:Play() | |
3185 | for i = 1, 3 do | |
3186 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3187 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3188 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3189 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3190 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3191 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3192 | if Debounces.on == false then break end | |
3193 | wait() | |
3194 | end | |
3195 | z11 = Instance.new("Sound", rarm) | |
3196 | z11.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3197 | z11.Volume = .6 | |
3198 | z11.Pitch = pt[math.random(1,#pt)] | |
3199 | z11.Looped = false | |
3200 | z11:Play() | |
3201 | for i = 1, 3 do | |
3202 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
3203 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
3204 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
3205 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
3206 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
3207 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
3208 | if Debounces.on == false then break end | |
3209 | wait() | |
3210 | end | |
3211 | z12 = Instance.new("Sound", larm) | |
3212 | z12.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3213 | z12.Volume = .6 | |
3214 | z12.Pitch = pt[math.random(1,#pt)] | |
3215 | z12.Looped = false | |
3216 | z12:Play() | |
3217 | for i = 1, 3 do | |
3218 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3219 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
3220 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3221 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3222 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3223 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3224 | if Debounces.on == false then break end | |
3225 | wait() | |
3226 | end | |
3227 | z13 = Instance.new("Sound", rarm) | |
3228 | z13.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3229 | z13.Volume = 0.6 | |
3230 | z13.Pitch = pt[math.random(1,#pt)] | |
3231 | z13.Looped = false | |
3232 | z13:Play() | |
3233 | for i = 1, 3 do | |
3234 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
3235 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
3236 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3237 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3238 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3239 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3240 | if Debounces.on == false then break end | |
3241 | wait() | |
3242 | end | |
3243 | z14 = Instance.new("Sound", larm) | |
3244 | z14.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3245 | z14.Volume = .6 | |
3246 | z14.Pitch = pt[math.random(1,#pt)] | |
3247 | z14.Looped = false | |
3248 | z14:Play() | |
3249 | for i = 1, 3 do | |
3250 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3251 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3252 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3253 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3254 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3255 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3256 | if Debounces.on == false then break end | |
3257 | wait() | |
3258 | end | |
3259 | z15 = Instance.new("Sound", rarm) | |
3260 | z15.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3261 | z15.Volume = .6 | |
3262 | z15.Pitch = pt[math.random(1,#pt)] | |
3263 | z15.Looped = false | |
3264 | z15:Play() | |
3265 | for i = 1, 3 do | |
3266 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
3267 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
3268 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
3269 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
3270 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
3271 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
3272 | if Debounces.on == false then break end | |
3273 | wait() | |
3274 | end | |
3275 | z16 = Instance.new("Sound", larm) | |
3276 | z16.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3277 | z16.Volume = .6 | |
3278 | z16.Pitch = pt[math.random(1,#pt)] | |
3279 | z16.Looped = false | |
3280 | z16:Play() | |
3281 | for i = 1, 3 do | |
3282 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3283 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3284 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3285 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3286 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3287 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3288 | if Debounces.on == false then break end | |
3289 | wait() | |
3290 | end | |
3291 | z17 = Instance.new("Sound", rarm) | |
3292 | z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
3293 | z17.Volume = .6 | |
3294 | z17.Pitch = pt[math.random(1,#pt)] | |
3295 | z17.Looped = false | |
3296 | z17:Play() | |
3297 | for i = 1, 3 do | |
3298 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
3299 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
3300 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3301 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3302 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3303 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3304 | if Debounces.on == false then break end | |
3305 | wait() | |
3306 | end | |
3307 | z18 = Instance.new("Sound", larm) | |
3308 | z18.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3309 | z18.Volume = .6 | |
3310 | z18.Pitch = pt[math.random(1,#pt)] | |
3311 | z18.Looped = false | |
3312 | z18:Play() | |
3313 | for i = 1, 3 do | |
3314 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3315 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
3316 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3317 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3318 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3319 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3320 | if Debounces.on == false then break end | |
3321 | wait() | |
3322 | end | |
3323 | z19 = Instance.new("Sound", rarm) | |
3324 | z19.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3325 | z19.Volume = 0.6 | |
3326 | z19.Pitch = pt[math.random(1,#pt)] | |
3327 | z19.Looped = false | |
3328 | z19:Play() | |
3329 | for i = 1, 3 do | |
3330 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
3331 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
3332 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3333 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3334 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3335 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3336 | if Debounces.on == false then break end | |
3337 | wait() | |
3338 | end | |
3339 | z20 = Instance.new("Sound", larm) | |
3340 | z20.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3341 | z20.Volume = .6 | |
3342 | z20.Pitch = pt[math.random(1,#pt)] | |
3343 | z20.Looped = false | |
3344 | z20:Play() | |
3345 | for i = 1, 3 do | |
3346 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3347 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3348 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3349 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3350 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3351 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3352 | if Debounces.on == false then break end | |
3353 | wait() | |
3354 | end | |
3355 | z:Destroy() | |
3356 | z2:Destroy() | |
3357 | z3:Destroy() | |
3358 | z4:Destroy() | |
3359 | z5:Destroy() | |
3360 | z6:Destroy() | |
3361 | z7:Destroy() | |
3362 | z8:Destroy() | |
3363 | z9:Destroy() | |
3364 | z10:Destroy() | |
3365 | z11:Destroy() | |
3366 | z12:Destroy() | |
3367 | z13:Destroy() | |
3368 | z14:Destroy() | |
3369 | z15:Destroy() | |
3370 | z16:Destroy() | |
3371 | z17:Destroy() | |
3372 | z18:Destroy() | |
3373 | z19:Destroy() | |
3374 | z20:Destroy() | |
3375 | Debounces.LPunch = false | |
3376 | Debounces.RPunch = false | |
3377 | Debounces.ks = false | |
3378 | Debounces.ks2 = false | |
3379 | if Debounces.CanAttack == false then | |
3380 | Debounces.CanAttack = true | |
3381 | Debounces.on = false | |
3382 | Debounces.NoIdl = false | |
3383 | end | |
3384 | end | |
3385 | end | |
3386 | end) | |
3387 | ------------------------------- | |
3388 | mouse.KeyDown:connect(function(key) | |
3389 | if key == "t" then | |
3390 | if Debounces.CanAttack == true then | |
3391 | Debounces.CanAttack = false | |
3392 | Debounces.NoIdl = true | |
3393 | Debounces.on = true | |
3394 | Debounces.ks = true | |
3395 | kik = rleg.Touched:connect(function(ht) | |
3396 | hit = ht.Parent | |
3397 | if ht and hit:IsA("Model") then | |
3398 | if hit:FindFirstChild("Humanoid") then | |
3399 | if hit.Name ~= p.Name then | |
3400 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
3401 | Debounces.Slashed = true]]-- | |
3402 | if Debounces.ks==true then | |
3403 | z = Instance.new("Sound",hed) | |
3404 | z.SoundId = "rbxassetid://169380525" | |
3405 | z.Volume = 1 | |
3406 | z:Play() | |
3407 | Debounces.ks=false | |
3408 | end | |
3409 | hit:FindFirstChild("Humanoid"):TakeDamage(2) | |
3410 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
3411 | --Debounces.Slashed = false | |
3412 | --end | |
3413 | end | |
3414 | end | |
3415 | elseif ht and hit:IsA("Hat") then | |
3416 | if hit.Parent.Name ~= p.Name then | |
3417 | if hit.Parent:FindFirstChild("Humanoid") then | |
3418 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
3419 | Debounces.Slashed = true]]-- | |
3420 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2) | |
3421 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
3422 | --Debounces.Slashed = false | |
3423 | --end | |
3424 | end | |
3425 | end | |
3426 | end | |
3427 | end) | |
3428 | for i = 1,20 do | |
3429 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
3430 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4) | |
3431 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3432 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
3433 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
3434 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
3435 | if Debounces.on == false then break end | |
3436 | rs:wait() | |
3437 | end | |
3438 | kik:disconnect() | |
3439 | if Debounces.CanAttack == false then | |
3440 | Debounces.CanAttack = true | |
3441 | Debounces.NoIdl = false | |
3442 | Debounces.on = false | |
3443 | end | |
3444 | end | |
3445 | end | |
3446 | end) | |
3447 | ---------------------------------------------------- | |
3448 | mouse.KeyDown:connect(function(key) | |
3449 | if key == "y" then | |
3450 | if Debounces.CanAttack == true then | |
3451 | Debounces.CanAttack = false | |
3452 | Debounces.on = true | |
3453 | Debounces.NoIdl = true | |
3454 | for i = 1, 15 do | |
3455 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(90+1), math.rad(0), math.rad(-60)), 0.2) | |
3456 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(93),math.rad(0),math.rad(10)), 0.2) | |
3457 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-20),math.rad(-10),0), 0.2) | |
3458 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(10), 0), 0.2) | |
3459 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.2) | |
3460 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.2) | |
3461 | if Debounces.on == false then break end if Debounces.on == false then break end | |
3462 | rs:wait(2.7) | |
3463 | end | |
3464 | x = Instance.new("Sound",char) | |
3465 | x.SoundId = "rbxassetid://228343271" | |
3466 | x.Pitch = 1 | |
3467 | x.Volume = .8 | |
3468 | wait(.1) | |
3469 | x:Play() | |
3470 | Debounces.on = false | |
3471 | Debounces.Here = false | |
3472 | shot = shot + 1 | |
3473 | local rng = Instance.new("Part", larm) | |
3474 | rng.Anchored = true | |
3475 | rng.BrickColor = BrickColor.new("Royal purple") | |
3476 | rng.CanCollide = false | |
3477 | rng.FormFactor = 3 | |
3478 | rng.Name = "Ring" | |
3479 | rng.Size = Vector3.new(1, 1, 1) | |
3480 | rng.Transparency = 0.35 | |
3481 | rng.TopSurface = 0 | |
3482 | rng.BottomSurface = 0 | |
3483 | rng2 = rng:clone() | |
3484 | rng3 = rng2:clone() | |
3485 | rng4 = rng2:clone() | |
3486 | local rngm = Instance.new("SpecialMesh", rng) | |
3487 | rngm.MeshId = "http://www.roblox.com/asset/?id=1125473" -- 1125473 | |
3488 | rngm.Scale = Vector3.new(10, 10, 1) | |
3489 | rngm2 = rngm:clone() | |
3490 | rngm2.Scale = Vector3.new(5, 5, 3) | |
3491 | rngm3=rngm2:clone() | |
3492 | rngm3.Parent = rng3 | |
3493 | rngm3.Scale = Vector3.new(8, 8, 1) | |
3494 | rngm4 = rngm2:clone() | |
3495 | rngm4.Parent = rng4 | |
3496 | rngm4.Scale = Vector3.new(6, 6, 1) | |
3497 | local bem = Instance.new("Part", larm) | |
3498 | bem.Anchored = true | |
3499 | bem.BrickColor = BrickColor.new("Royal purple") | |
3500 | bem.CanCollide = false | |
3501 | bem.FormFactor = 3 | |
3502 | bem.Name = "Beam" .. shot | |
3503 | bem.Size = Vector3.new(1, 1, 1) | |
3504 | bem.Transparency = 0.35 | |
3505 | bem.TopSurface = 0 | |
3506 | bem.BottomSurface = 0 | |
3507 | local bemm = Instance.new("SpecialMesh", bem) | |
3508 | bemm.MeshType = 4 | |
3509 | bemm.Scale = Vector3.new(1, 4, 4) | |
3510 | local out = Instance.new("Part", larm) | |
3511 | out.Anchored = true | |
3512 | out.BrickColor = BrickColor.new("Royal purple") | |
3513 | out.CanCollide = false | |
3514 | out.FormFactor = 3 | |
3515 | out.Name = "Out" | |
3516 | out.Size = Vector3.new(4, 4, 4) | |
3517 | out.Transparency = 0.35 | |
3518 | out.TopSurface = 0 | |
3519 | out.BottomSurface = 0 | |
3520 | local outm = Instance.new("SpecialMesh", out) | |
3521 | outm.MeshId = "http://www.roblox.com/asset/?id=24388358" | |
3522 | outm.Scale = Vector3.new(6, 4, 6) | |
3523 | local bnd = Instance.new("Part", larm) | |
3524 | bnd.Anchored = true | |
3525 | bnd.BrickColor = BrickColor.new("Lavender") | |
3526 | bnd.CanCollide = false | |
3527 | bnd.FormFactor = 3 | |
3528 | bnd.Name = "Bend" | |
3529 | bnd.Size = Vector3.new(1, 1, 1) | |
3530 | bnd.Transparency = 1 | |
3531 | bnd.TopSurface = 0 | |
3532 | bnd.BottomSurface = 0 | |
3533 | local bndm = Instance.new("SpecialMesh", bnd) | |
3534 | bndm.MeshType = 3 | |
3535 | bndm.Scale = Vector3.new(8, 8, 8) | |
3536 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
3537 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
3538 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
3539 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
3540 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
3541 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
3542 | Debounces.Shewt = true | |
3543 | coroutine.wrap(function() | |
3544 | for i = 1, 20, 0.2 do | |
3545 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
3546 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
3547 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
3548 | rng.Transparency = i/20 | |
3549 | rng3.Transparency = 1/24 | |
3550 | rng4.Transparency = i/26 | |
3551 | wait() | |
3552 | end | |
3553 | wait() | |
3554 | rng:Destroy() | |
3555 | end)() | |
3556 | if Debounces.Shewt == true then | |
3557 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
3558 | hit = ht.Parent | |
3559 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
3560 | if HasntTouched(hit.Name) == true and deb == false then | |
3561 | deb = true | |
3562 | coroutine.wrap(function() | |
3563 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
3564 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
3565 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73)) | |
3566 | end)() | |
3567 | table.insert(Touche, hit.Name) | |
3568 | deb = false | |
3569 | end | |
3570 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
3571 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
3572 | deb = true | |
3573 | coroutine.wrap(function() | |
3574 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
3575 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
3576 | wait(1) | |
3577 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
3578 | end)() | |
3579 | table.insert(Touche, hit.Parent.Name) | |
3580 | deb = false | |
3581 | for i, v in pairs(Touche) do | |
3582 | print(v) | |
3583 | end | |
3584 | end | |
3585 | end | |
3586 | end) | |
3587 | end | |
3588 | for i = 0, 260, 8 do | |
3589 | bem.Size = Vector3.new(i, 3, 3) | |
3590 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
3591 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
3592 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
3593 | bnd.Size = Vector3.new(1,1,1) | |
3594 | bndm.Scale = Vector3.new(8,8,8) | |
3595 | if i % 10 == 0 then | |
3596 | local newRng = rng2:Clone() | |
3597 | newRng.Parent = larm | |
3598 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
3599 | local newRngm = rngm2:clone() | |
3600 | newRngm.Parent=newRng | |
3601 | coroutine.wrap(function() | |
3602 | for i = 1, 10, 0.2 do | |
3603 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
3604 | newRng.Transparency = i/10 | |
3605 | wait() | |
3606 | end | |
3607 | wait() | |
3608 | newRng:Destroy() | |
3609 | end)() | |
3610 | end | |
3611 | wait() | |
3612 | end | |
3613 | wait() | |
3614 | Debounces.Shewt = false | |
3615 | bem:Destroy() | |
3616 | out:Destroy() | |
3617 | bnd:Destroy() | |
3618 | Debounces.Ready = false | |
3619 | for i, v in pairs(Touche) do | |
3620 | table.remove(Touche, i) | |
3621 | end | |
3622 | wait() | |
3623 | table.insert(Touche, char.Name) | |
3624 | Debounces.NoIdl = false | |
3625 | if Debounces.CanAttack == false then | |
3626 | Debounces.CanAttack = true | |
3627 | end | |
3628 | end | |
3629 | end | |
3630 | end) | |
3631 | ---------------------------------------------------- | |
3632 | mouse.KeyDown:connect(function(key) | |
3633 | if key == "x" then | |
3634 | if Debounces.CanAttack == true then | |
3635 | Debounces.CanAttack = false | |
3636 | Debounces.NoIdl = true | |
3637 | Debounces.on = true | |
3638 | hed.Anchored=true | |
3639 | local shell = Instance.new("Part",torso) | |
3640 | shell.BrickColor = BrickColor.new("Lavender") | |
3641 | shell.Anchored = false | |
3642 | shell.CanCollide = false | |
3643 | shell.Locked = true | |
3644 | shell.Material = "Neon" | |
3645 | shell.TopSurface = "SmoothNoOutlines" | |
3646 | shell.BottomSurface = "SmoothNoOutlines" | |
3647 | shell.Size = Vector3.new(2.2,2.2,2.2) | |
3648 | shell.FormFactor = 3 | |
3649 | local shellm = Instance.new("SpecialMesh",shell) | |
3650 | shellm.MeshType = "Sphere" | |
3651 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
3652 | local Omega = function() | |
3653 | local X = Instance.new("Part",char) | |
3654 | local O = Instance.new("ObjectValue",X) | |
3655 | O.Name = "creator" | |
3656 | X.Locked = true | |
3657 | X.Name = "Shell" | |
3658 | X.Anchored = false | |
3659 | X.CanCollide = false | |
3660 | X.Transparency = 0.5 | |
3661 | X.Reflectance = 0 | |
3662 | X.BottomSurface = 0 | |
3663 | X.TopSurface = 0 | |
3664 | X.Shape = 0 | |
3665 | local V = Instance.new("ObjectValue",X) | |
3666 | V.Value = char | |
3667 | V.Name = "creator" | |
3668 | X.BrickColor = BrickColor.new("Lavender") | |
3669 | X.Size = Vector3.new(100,40,100) | |
3670 | X.CFrame=torso.CFrame*CFrame.new(0,0,-40) | |
3671 | X.Material = "Neon" | |
3672 | b = Instance.new("Sound") | |
3673 | b.SoundId = "http://www.roblox.com/asset/?id=262498472" | |
3674 | b.Parent = char.Head | |
3675 | b.Looped = false | |
3676 | b.Pitch = 1 | |
3677 | b.Volume = 1 | |
3678 | wait(.1) | |
3679 | b:Play() | |
3680 | local Z = Instance.new("SpecialMesh",X) | |
3681 | Z.MeshType = "Sphere" | |
3682 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
3683 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
3684 | local bv = Instance.new("BodyVelocity",X) | |
3685 | bv.maxForce = Vector3.new(99999,99999,99999) | |
3686 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
3687 | bv.velocity = root.CFrame.lookVector*10 | |
3688 | Explode = X.Touched:connect(function(hit) | |
3689 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart") then | |
3690 | local cf = X.CFrame | |
3691 | bv:Destroy() | |
3692 | X.Anchored = true | |
3693 | Z:Remove() | |
3694 | Explode:disconnect() | |
3695 | X.Size = Vector3.new(3,3,3) | |
3696 | X.Touched:connect(function(hit) end) | |
3697 | X.CanCollide = false | |
3698 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
3699 | if v:FindFirstChild('Humanoid') then | |
3700 | v.Humanoid:TakeDamage(math.random(80,120)) | |
3701 | end | |
3702 | end | |
3703 | for i = 1, (40) do rs:wait() | |
3704 | X.Transparency = X.Transparency + (1/40) | |
3705 | X.Size = X.Size + Vector3.new(1,1,1) | |
3706 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
3707 | end | |
3708 | X:Destroy() | |
3709 | end | |
3710 | end) | |
3711 | end | |
3712 | --Omega() | |
3713 | local function wat() | |
3714 | local sweld=Instance.new('ManualWeld',shell) | |
3715 | sweld.Part0=shell | |
3716 | sweld.Part1=rarm | |
3717 | sweld.C0=CFrame.new(0,1,0) | |
3718 | return sweld | |
3719 | end | |
3720 | local watweld=wat() | |
3721 | for i = 1,200 do | |
3722 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03) | |
3723 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
3724 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3725 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3726 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3727 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3728 | if Debounces.on == false then break end | |
3729 | rs:wait() | |
3730 | end | |
3731 | b = Instance.new("Sound") | |
3732 | b.SoundId = "http://www.roblox.com/asset/?id=245537790" | |
3733 | b.Parent = char.Head | |
3734 | b.Looped = false | |
3735 | b.Pitch = 1 | |
3736 | b.Volume = 1 | |
3737 | wait(.1) | |
3738 | b:Play() | |
3739 | watweld.Part1=torso | |
3740 | watweld.C0=CFrame.new(0,-4,0) | |
3741 | for i = 1,30 do | |
3742 | watweld.C0=watweld.C0*CFrame.new(0,-1,0) | |
3743 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4) | |
3744 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4) | |
3745 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3746 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3747 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3748 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3749 | if Debounces.on == false then break end | |
3750 | rs:wait() | |
3751 | end | |
3752 | local shelbx=true | |
3753 | --Experimental Damagefunction | |
3754 | coroutine.resume(coroutine.create(function() while shelbx do wait() | |
3755 | for _,v in pairs(game.workspace:GetChildren()) do | |
3756 | if v:IsA'Model' and v:FindFirstChild'Humanoid' and v:FindFirstChild'Torso' and v~=pchar then | |
3757 | local mag=(v.Torso.CFrame.p-shell.CFrame.p).magnitude | |
3758 | if mag <= shell.Size.x then | |
3759 | v.Humanoid.Health=v.Humanoid.Health-(v.Humanoid.MaxHealth/7) | |
3760 | end | |
3761 | end | |
3762 | end | |
3763 | end end)) | |
3764 | for i = 1,40 do | |
3765 | --shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
3766 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
3767 | local watweld=wat() | |
3768 | watweld.C0=CFrame.new(0,-14-i,0) | |
3769 | watweld.Part1=torso | |
3770 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4) | |
3771 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4) | |
3772 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3773 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3774 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3775 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3776 | if Debounces.on == false then break end | |
3777 | rs:wait() | |
3778 | end | |
3779 | for i = 1,40 do | |
3780 | --shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
3781 | local watweld=wat() | |
3782 | watweld.Part1=torso | |
3783 | watweld.C0=watweld.C0:lerp(CFrame.new(0,0,40),1) | |
3784 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4) | |
3785 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4) | |
3786 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3787 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3788 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3789 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3790 | if Debounces.on == false then break end | |
3791 | rs:wait() | |
3792 | end | |
3793 | for i = 1,60 do | |
3794 | --shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
3795 | local watweld=wat() | |
3796 | watweld.Part1=torso | |
3797 | watweld.C0=watweld.C0:lerp(CFrame.new(0,0,60),1) | |
3798 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4) | |
3799 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4) | |
3800 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3801 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3802 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3803 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3804 | if Debounces.on == false then break end | |
3805 | rs:wait() | |
3806 | end | |
3807 | for i = 1,60 do | |
3808 | --shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
3809 | --shell.Size = shell.Size + Vector3.new(1,1,1) | |
3810 | shell.Size=shell.Size+Vector3.new(1,1,1) | |
3811 | local watweld=wat() | |
3812 | watweld.Part1=torso | |
3813 | watweld.C0=watweld.C0:lerp(CFrame.new(0,0,62),1) | |
3814 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4) | |
3815 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4) | |
3816 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3817 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3818 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3819 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3820 | if Debounces.on == false then break end | |
3821 | rs:wait() | |
3822 | end | |
3823 | coroutine.resume(coroutine.create(function() | |
3824 | for i=0,1,.1 do wait() shell.Transparency=i end | |
3825 | shell:Destroy() | |
3826 | shelbx=false | |
3827 | end)) | |
3828 | hed.Anchored=false | |
3829 | if Debounces.CanAttack == false then | |
3830 | Debounces.CanAttack = true | |
3831 | Debounces.NoIdl = false | |
3832 | Debounces.on = false | |
3833 | b:Destroy() | |
3834 | ||
3835 | end | |
3836 | end | |
3837 | end | |
3838 | end) | |
3839 | ---------------------------------------------------- | |
3840 | mouse.KeyDown:connect(function(key) | |
3841 | if key == "z" then | |
3842 | if Debounces.CanAttack == true then | |
3843 | Debounces.CanAttack = false | |
3844 | Debounces.NoIdl = true | |
3845 | char.Humanoid.WalkSpeed = .01 | |
3846 | Debounces.on = true | |
3847 | for i = 1, 20 do | |
3848 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-12)), 0.3) | |
3849 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(90)), 0.3) | |
3850 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-6)), 0.3) | |
3851 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(6)), 0.3) | |
3852 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8), math.rad(-84), 0), 0.3) | |
3853 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.3) | |
3854 | if Debounces.on == false then | |
3855 | break | |
3856 | end | |
3857 | wait() | |
3858 | end | |
3859 | for i = 1, 20 do | |
3860 | wait() | |
3861 | end | |
3862 | x = Instance.new("Sound") | |
3863 | x.SoundId = "http://www.roblox.com/asset/?id=235097614" | |
3864 | x.Parent = char | |
3865 | x.Looped = false | |
3866 | x.Pitch = .7 | |
3867 | x.Volume = .6 | |
3868 | wait(.1) | |
3869 | x:Play() | |
3870 | Debounces.on = false | |
3871 | Debounces.Here = false | |
3872 | shot = shot + 1 | |
3873 | for i = 1, 6 do | |
3874 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-12)), 0.4) | |
3875 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(90)), 0.4) | |
3876 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-6)), 0.4) | |
3877 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(6)), 0.4) | |
3878 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8), math.rad(-84), 0), 0.4) | |
3879 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 3) * CFrame.Angles(0, math.rad(90), 0), 0.4) | |
3880 | wait() | |
3881 | end | |
3882 | local rng = Instance.new("Part", char) | |
3883 | rng.Anchored = true | |
3884 | rng.BrickColor = BrickColor.new("Royal purple") | |
3885 | rng.CanCollide = false | |
3886 | rng.FormFactor = 3 | |
3887 | rng.Name = "Ring" | |
3888 | rng.Size = Vector3.new(1, 1, 1) | |
3889 | rng.Transparency = 0.35 | |
3890 | rng.TopSurface = 0 | |
3891 | rng.BottomSurface = 0 | |
3892 | local rngm = Instance.new("SpecialMesh", rng) | |
3893 | rngm.MeshId = "http://www.roblox.com/asset/?id=24388358" | |
3894 | rngm.Scale = Vector3.new(10, 10, 1) | |
3895 | local bem = Instance.new("Part", char) | |
3896 | bem.Anchored = true | |
3897 | bem.BrickColor = BrickColor.new("Royal purple") | |
3898 | bem.CanCollide = false | |
3899 | bem.FormFactor = 3 | |
3900 | bem.Name = "Beam" .. shot | |
3901 | bem.Size = Vector3.new(1, 1, 1) | |
3902 | bem.Transparency = 0.35 | |
3903 | bem.TopSurface = 0 | |
3904 | bem.BottomSurface = 0 | |
3905 | local bemm = Instance.new("SpecialMesh", bem) | |
3906 | bemm.MeshType = 4 | |
3907 | bemm.Scale = Vector3.new(1, 4, 4) | |
3908 | local out = Instance.new("Part", char) | |
3909 | out.Anchored = true | |
3910 | out.BrickColor = BrickColor.new("Royal purple") | |
3911 | out.CanCollide = false | |
3912 | out.FormFactor = 3 | |
3913 | out.Name = "Out" | |
3914 | out.Size = Vector3.new(4, 4, 4) | |
3915 | out.Transparency = 0.35 | |
3916 | out.TopSurface = 0 | |
3917 | out.BottomSurface = 0 | |
3918 | local outm = Instance.new("SpecialMesh", out) | |
3919 | outm.MeshId = "http://www.roblox.com/asset/?id=24388358" --24388358 | |
3920 | outm.Scale = Vector3.new(4, 4, 4) | |
3921 | local bnd = Instance.new("Part", char) | |
3922 | bnd.Anchored = true | |
3923 | bnd.BrickColor = BrickColor.new("Royal purple") | |
3924 | bnd.CanCollide = false | |
3925 | bnd.FormFactor = 3 | |
3926 | bnd.Name = "Bend" | |
3927 | bnd.Size = Vector3.new(1, 1, 1) | |
3928 | bnd.Transparency = 1 | |
3929 | bnd.TopSurface = 0 | |
3930 | bnd.BottomSurface = 0 | |
3931 | local bndm = Instance.new("SpecialMesh", bnd) | |
3932 | bndm.MeshType = 3 | |
3933 | bndm.Scale = Vector3.new(8, 8, 8) | |
3934 | out.CFrame = rarm.CFrame * CFrame.new(0, -1.75, 0) | |
3935 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
3936 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
3937 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
3938 | Debounces.Shewt = true | |
3939 | coroutine.wrap(function() | |
3940 | for i = 1, 20, 0.2 do | |
3941 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
3942 | rng.Transparency = i/20 | |
3943 | wait() | |
3944 | end | |
3945 | wait() | |
3946 | rng:Destroy() | |
3947 | end)() | |
3948 | if Debounces.Shewt == true then | |
3949 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
3950 | hit = ht.Parent | |
3951 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
3952 | if HasntTouched(hit.Name) == true and deb == false then | |
3953 | deb = true | |
3954 | coroutine.wrap(function() | |
3955 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
3956 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
3957 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73)) | |
3958 | end)() | |
3959 | table.insert(Touche, hit.Name) | |
3960 | deb = false | |
3961 | end | |
3962 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
3963 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
3964 | deb = true | |
3965 | coroutine.wrap(function() | |
3966 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
3967 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
3968 | wait(1) | |
3969 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
3970 | end)() | |
3971 | table.insert(Touche, hit.Parent.Name) | |
3972 | deb = false | |
3973 | for i, v in pairs(Touche) do | |
3974 | print(v) | |
3975 | end | |
3976 | end | |
3977 | end | |
3978 | end) | |
3979 | end | |
3980 | for i = 0, 260, 8 do | |
3981 | bem.Size = Vector3.new(i, 2, 2) | |
3982 | bem.CFrame = rarm.CFrame * CFrame.new(0, -3.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
3983 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
3984 | bnd.Size = Vector3.new(1,1,1) | |
3985 | bndm.Scale = Vector3.new(8,8,8) | |
3986 | wait() | |
3987 | end | |
3988 | wait() | |
3989 | Debounces.Shewt = false | |
3990 | bem:Destroy() | |
3991 | out:Destroy() | |
3992 | bnd:Destroy() | |
3993 | char.Humanoid.WalkSpeed = 10 | |
3994 | Debounces.Ready = false | |
3995 | for i, v in pairs(Touche) do | |
3996 | table.remove(Touche, i) | |
3997 | end | |
3998 | wait() | |
3999 | table.insert(Touche, char.Name) | |
4000 | Debounces.NoIdl = false | |
4001 | if Debounces.CanAttack == false then | |
4002 | Debounces.CanAttack = true | |
4003 | for i = 1, 20 do | |
4004 | wait() | |
4005 | hum.WalkSpeed = 5 | |
4006 | end | |
4007 | end | |
4008 | end | |
4009 | end | |
4010 | end) | |
4011 | ||
4012 | ---------------------------------------------------- | |
4013 | Charging = false | |
4014 | mouse.KeyDown:connect(function(key) | |
4015 | if key == "r" then | |
4016 | if Charging == false then | |
4017 | Charging = true | |
4018 | if Debounces.CanAttack == true then | |
4019 | Debounces.CanAttack = false | |
4020 | Debounces.NoIdl = true | |
4021 | Debounces.on = true | |
4022 | ||
4023 | for i = 1,20 do | |
4024 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
4025 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
4026 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
4027 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
4028 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
4029 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
4030 | if Debounces.on == false then break end | |
4031 | rs:wait() | |
4032 | end | |
4033 | ||
4034 | ||
4035 | pt=Instance.new('Part',torso) | |
4036 | pt.Anchored=true | |
4037 | pt.CanCollide=false | |
4038 | pt.Locked = true | |
4039 | pt.FormFactor='Custom' | |
4040 | pt.Size=Vector3.new(1,1,1) | |
4041 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
4042 | pt.Transparency=.6 | |
4043 | pt.BrickColor=BrickColor.new('Royal purple') | |
4044 | msh=Instance.new('SpecialMesh',pt) | |
4045 | msh.MeshId='http://www.roblox.com/asset/?id=24388358' | |
4046 | msh.Scale=Vector3.new(8,4,8) | |
4047 | pt2=pt:clone() | |
4048 | pt2.Parent = torso | |
4049 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
4050 | pt2.BrickColor=BrickColor.new("Royal purple") | |
4051 | msh2=msh:clone() | |
4052 | msh2.Parent=pt2 | |
4053 | msh2.Scale=Vector3.new(10,5,10) | |
4054 | particle = Instance.new("ParticleEmitter", pt) | |
4055 | particle.Size = NumberSequence.new(1.2) | |
4056 | particle.LightEmission = 0.2 | |
4057 | particle.EmissionDirection = "Top" | |
4058 | particle.Lifetime = NumberRange.new(5,10) | |
4059 | particle.Rotation = NumberRange.new(5,10) | |
4060 | particle.RotSpeed = NumberRange.new(5) | |
4061 | particle.Speed = NumberRange.new(15) | |
4062 | particle.VelocitySpread = 500 | |
4063 | particle.Rate = 150 | |
4064 | if potential then | |
4065 | particle.Color = ColorSequence.new(Color3.new(.139,0,.139)) | |
4066 | else | |
4067 | particle.Color = ColorSequence.new(Color3.new(0,0,0)) | |
4068 | end | |
4069 | ------------------ | |
4070 | ||
4071 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100} | |
4072 | ||
4073 | bl = Instance.new("Part", char) | |
4074 | bl.Locked = true | |
4075 | bl.Name = "Shell" | |
4076 | bl.BrickColor = BrickColor.new("Royal purple") | |
4077 | bl.Anchored = true | |
4078 | bl.CanCollide = false | |
4079 | bl.Transparency = 0 | |
4080 | bl.Reflectance = 0 | |
4081 | bl.BottomSurface = 0 | |
4082 | bl.TopSurface = 0 | |
4083 | bl.Shape = 0 | |
4084 | blm = Instance.new("SpecialMesh",bl) | |
4085 | blm.MeshType = "Sphere" | |
4086 | blm.Scale = Vector3.new(1,1,1) | |
4087 | blm.MeshId = "rbxassetid://9982590" | |
4088 | -- | |
4089 | b = Instance.new("Sound") | |
4090 | b.SoundId = "http://www.roblox.com/asset/?id=262498472" | |
4091 | b.Parent = char.Head | |
4092 | b.Looped = true | |
4093 | b.Pitch = 1 | |
4094 | b.Volume = 1 | |
4095 | wait(.1) | |
4096 | b:Play() | |
4097 | -- | |
4098 | coroutine.resume(coroutine.create(function() | |
4099 | for i=1, math.huge, 4 do | |
4100 | if Charging == true then | |
4101 | rs:wait() | |
4102 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
4103 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
4104 | bl.Transparency = bl.Transparency + 0.005 | |
4105 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
4106 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
4107 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
4108 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
4109 | elseif Charging == false then break | |
4110 | end | |
4111 | end | |
4112 | end)) | |
4113 | ||
4114 | repeat | |
4115 | local p = Instance.new('Part',torso) | |
4116 | p.formFactor = 'Custom' | |
4117 | p.Size = Vector3.new(1,1,1) | |
4118 | p.BrickColor = workspace.Base.BrickColor | |
4119 | p.CanCollide = false | |
4120 | p.Transparency = 0 | |
4121 | p.Anchored = true | |
4122 | p.Locked=true | |
4123 | p.Material = workspace.Base.Material | |
4124 | s = math.random(1,40)/10 | |
4125 | local m = Instance.new("BlockMesh",p) | |
4126 | m.Scale = Vector3.new(s,s,s) | |
4127 | p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
4128 | --[[coroutine.wrap(function() | |
4129 | wait(2) | |
4130 | while Charging == true do | |
4131 | wait(2) | |
4132 | GroundWave1() | |
4133 | wait(2) | |
4134 | end | |
4135 | end)()]]-- | |
4136 | Spawn(function() | |
4137 | while rs:wait() do | |
4138 | if Charging == true then | |
4139 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
4140 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
4141 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
4142 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
4143 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
4144 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
4145 | elseif Charging == false then break | |
4146 | end | |
4147 | end | |
4148 | end) | |
4149 | Spawn(function() | |
4150 | while rs:wait() do | |
4151 | if p.Transparency >= 1 then p:Destroy() break end | |
4152 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
4153 | p.Transparency = p.Transparency+0.01 | |
4154 | end | |
4155 | end) | |
4156 | wait(.3) | |
4157 | until Charging == false | |
4158 | end | |
4159 | end | |
4160 | end | |
4161 | end) | |
4162 | ---------------------------------------------------- | |
4163 | mouse.KeyUp:connect(function(key) | |
4164 | if key == "r" then | |
4165 | if Charging == true then | |
4166 | Charging = false | |
4167 | pt:Destroy() | |
4168 | pt2:Destroy() | |
4169 | bl:Destroy() | |
4170 | particle:Destroy() | |
4171 | if Debounces.CanAttack == false then | |
4172 | Debounces.CanAttack = true | |
4173 | Debounces.NoIdl = false | |
4174 | Debounces.on = false | |
4175 | end | |
4176 | end | |
4177 | b:Stop() | |
4178 | end | |
4179 | end) | |
4180 | ---------------------------------------------------- | |
4181 | ||
4182 | ---------------------------------------------------- | |
4183 | Search = false | |
4184 | mouse.KeyDown:connect(function(key) | |
4185 | if key == "n" then | |
4186 | if Search == false then | |
4187 | Search = true | |
4188 | for i,v in pairs(game.Players:getPlayers()) do | |
4189 | if v.Name~=char.Name then | |
4190 | for j,k in pairs(v.Character:GetChildren()) do | |
4191 | if k:IsA("BasePart") and k.Transparency >= 1 then | |
4192 | bawx=Instance.new("SelectionBox",cam) | |
4193 | bawx.Color = BrickColor.new("Bright red") | |
4194 | bawx.Transparency = .5 | |
4195 | bawx.Adornee = k | |
4196 | end | |
4197 | end | |
4198 | end | |
4199 | end | |
4200 | elseif Search == true then | |
4201 | Search = false | |
4202 | for i, v in pairs(cam:GetChildren()) do | |
4203 | if v:IsA("SelectionBox") then | |
4204 | v:Destroy() | |
4205 | end | |
4206 | end | |
4207 | end | |
4208 | end | |
4209 | end) | |
4210 | ---------------------------------------------------- | |
4211 | ||
4212 | ---------------------------------------------------- | |
4213 | mouse.KeyDown:connect(function(key) | |
4214 | if string.byte(key) == 52 then | |
4215 | char.Humanoid.WalkSpeed = 60 | |
4216 | end | |
4217 | end) | |
4218 | mouse.KeyUp:connect(function(key) | |
4219 | if string.byte(key) == 52 then | |
4220 | char.Humanoid.WalkSpeed = 8 | |
4221 | end | |
4222 | end) | |
4223 | ------------------------------- | |
4224 | local animpose = "Idle" | |
4225 | local lastanimpose = "Idle" | |
4226 | local sine = 0 | |
4227 | local change = 1 | |
4228 | local val = 0 | |
4229 | local ffing = false | |
4230 | ------------------------------- | |
4231 | game:GetService("RunService").RenderStepped:connect(function() | |
4232 | --[[if char.Humanoid.Jump == true then | |
4233 | jump = true | |
4234 | else | |
4235 | jump = false | |
4236 | end]] | |
4237 | char.Humanoid.FreeFalling:connect(function(f) | |
4238 | if f then | |
4239 | ffing = true | |
4240 | else | |
4241 | ffing = false | |
4242 | end | |
4243 | end) | |
4244 | sine = sine + change | |
4245 | if jumpn == true then | |
4246 | animpose = "Jumping" | |
4247 | elseif ffing == true then | |
4248 | animpose = "Freefalling" | |
4249 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
4250 | animpose = "Idle" | |
4251 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
4252 | animpose = "Walking" | |
4253 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
4254 | animpose = "Running" | |
4255 | end | |
4256 | if animpose ~= lastanimpose then | |
4257 | sine = 0 | |
4258 | if Debounces.NoIdl == false then | |
4259 | if animpose == "Idle" then | |
4260 | for i = 1, 2 do | |
4261 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
4262 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
4263 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
4264 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
4265 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
4266 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
4267 | end | |
4268 | elseif animpose == "Walking" then | |
4269 | for i = 1, 2 do | |
4270 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
4271 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
4272 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
4273 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
4274 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
4275 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
4276 | end | |
4277 | elseif animpose == "Running" then | |
4278 | for i = 1, 2 do | |
4279 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2) | |
4280 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2) | |
4281 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
4282 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
4283 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
4284 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
4285 | wait() | |
4286 | end | |
4287 | end | |
4288 | else | |
4289 | end | |
4290 | end | |
4291 | lastanimpose = animpose | |
4292 | if Debounces.NoIdl == false then | |
4293 | if animpose == "Idle" then | |
4294 | change = 0.5 | |
4295 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(-10),math.rad(-10),math.rad(14+2*math.cos(sine/10))), 0.4) | |
4296 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(-20),math.rad(6),math.rad(-10-2*math.cos(sine/10))), 0.4) | |
4297 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/10)),math.rad(20),0), 0.2) | |
4298 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
4299 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.16*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-20), math.rad(0)), 0.05) | |
4300 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0-0.1*math.cos(sine/10), -0.55) * CFrame.Angles(math.rad(-10+1*math.cos(sine/10)), math.rad(10), math.rad(-0-2*math.cos(sine/10))), 0.4) | |
4301 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1-0.1*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-10), math.rad(0+2*math.cos(sine/10))), 0.4) | |
4302 | elseif animpose == "Walking" then | |
4303 | change = 1 | |
4304 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
4305 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
4306 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
4307 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
4308 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
4309 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
4310 | elseif animpose == "Running" then | |
4311 | change = 1 | |
4312 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2) | |
4313 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2) | |
4314 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
4315 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2) | |
4316 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4) | |
4317 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4) | |
4318 | end | |
4319 | end | |
4320 | end) | |
4321 | ||
4322 | hum.MaxHealth = 9001 | |
4323 | wait(3) | |
4324 | hum.Health = 9001 | |
4325 | Spawn(function() | |
4326 | while wait(.1) do | |
4327 | Magik() | |
4328 | end | |
4329 | end) | |
4330 | ||
4331 | Spawn(function() | |
4332 | while wait(.1) do | |
4333 | Magik2() | |
4334 | end | |
4335 | end) | |
4336 | ----------------------------------------------- | |
4337 | ||
4338 | LocalPlayer = game:GetService("Players").LocalPlayer | |
4339 | local lastCF=char.Torso.Position | |
4340 | local x1=Instance.new("Part",game.Workspace) | |
4341 | x1.Name="Lightning" | |
4342 | x1.Size=Vector3.new(1,1,1) | |
4343 | x1.CanCollide=false | |
4344 | x1.Anchored=true | |
4345 | x1.Transparency=1 | |
4346 | Spawn(function() | |
4347 | while true do | |
4348 | wait(-1) | |
4349 | x1.CFrame=char.Torso.CFrame*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(50,360)))*CFrame.new(0,0,2.6) | |
4350 | end | |
4351 | end) | |
4352 | for i = 1,math.huge do | |
4353 | local dist2 = (lastCF-x1.Position).magnitude | |
4354 | local x2=Instance.new("Part",game.Workspace) | |
4355 | x2.Name="Lightning2" | |
4356 | x2.Size=Vector3.new(1,1,1) | |
4357 | x2.Material="Neon" | |
4358 | x2.BrickColor=BrickColor.new("Lavender") | |
4359 | x2.CFrame=CFrame.new(lastCF,x1.Position)*CFrame.new(0,0,-dist2/2) | |
4360 | x2.CanCollide=false | |
4361 | x2.Anchored=true | |
4362 | local m = Instance.new("BlockMesh",x2) | |
4363 | m.Scale = Vector3.new(0.5,0.5,dist2) | |
4364 | lastCF=x1.Position | |
4365 | spawn(function() | |
4366 | for i = 1,20 do | |
4367 | xx=m.Scale.x/2 | |
4368 | y=m.Scale.x/2 | |
4369 | m.Scale=m.Scale-Vector3.new(xx,y,0) | |
4370 | wait() | |
4371 | end | |
4372 | end) | |
4373 | game.Debris:AddItem(x2,1.5) | |
4374 | wait() | |
4375 | end |