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