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