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