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