SHOW:
|
|
- or go back to the newest paste.
1 | - | { |
1 | + | --Made by Noobygames12, edited by RealPieDiePew |
2 | - | "59216439": "794k", |
2 | + | --If credit is removed, go die. |
3 | - | } |
3 | + | print("For my Friend McPunho2") |
4 | paly = game.Players.LocalPlayer | |
5 | p = game.Players.LocalPlayer | |
6 | char = paly.Character | |
7 | torso = char.Torso | |
8 | neck = char.Torso.Neck | |
9 | hum = char.Humanoid | |
10 | Player = game:GetService("Players").LocalPlayer | |
11 | local mouse = Player:GetMouse() | |
12 | Character = Player.Character | |
13 | tors = Character.Torso | |
14 | lleg = Character["Left Leg"] | |
15 | root = Character.HumanoidRootPart | |
16 | hed = Character.Head | |
17 | rleg = Character["Right Leg"] | |
18 | rarm = Character["Right Arm"] | |
19 | larm = Character["Left Arm"] | |
20 | tors.Material = Enum.Material.Fabric | |
21 | local root = char.HumanoidRootPart | |
22 | local rj = root.RootJoint | |
23 | local deb = false | |
24 | local shot = 0 | |
25 | local stanceToggle = "Idle1" | |
26 | local l = game:GetService("Lighting") | |
27 | local rs = game:GetService("RunService").RenderStepped | |
28 | local hb = game:GetService("RunService").Heartbeat | |
29 | local Stepped = game:GetService("RunService").Stepped | |
30 | math.randomseed(os.time()) | |
31 | ptez = {0.7, 0.8, 0.9, 1} | |
32 | local BC = Character["Body Colors"] | |
33 | BC.HeadColor = BrickColor.new("Really black") | |
34 | BC.LeftArmColor = BrickColor.new("Really black") | |
35 | BC.LeftLegColor = BrickColor.new("Really black") | |
36 | BC.RightArmColor = BrickColor.new("Really black") | |
37 | BC.RightLegColor = BrickColor.new("Really black") | |
38 | BC.TorsoColor = BrickColor.new("White") | |
39 | local Effects = {} | |
40 | hed.face:Destroy() | |
41 | hum.MaxHealth = math.huge | |
42 | attack = false | |
43 | vt = Vector3.new | |
44 | bc = BrickColor.new | |
45 | br = BrickColor.random | |
46 | it = Instance.new | |
47 | cf = CFrame.new | |
48 | euler = CFrame.fromEulerAnglesXYZ | |
49 | angles = CFrame.Angles | |
50 | matr = math.random | |
51 | local basiccooldown = math.huge | |
52 | local ultcooldown = math.huge | |
53 | local secondcooldown = math.huge | |
54 | local thirdcooldown = math.huge | |
55 | local s = Instance.new("Sound",char) | |
56 | local s = Instance.new("Sound",char) | |
57 | s.SoundId = "http://www.roblox.com/asset/?id=415880409" | |
58 | s.Pitch = 0.98 | |
59 | s.Volume = 50 | |
60 | s.Looped = false | |
61 | wait(0.1) | |
62 | s:play() | |
63 | ||
64 | local s = Instance.new("Sound",char) | |
65 | s.SoundId = "http://www.roblox.com/asset/?id=420316000" | |
66 | s.Pitch = 1 | |
67 | s.Volume = 2 | |
68 | s.Looped = true | |
69 | wait(0.1) | |
70 | s:play() | |
71 | ||
72 | local prtrm = Instance.new("Part",Character) | |
73 | prtrm.Size = vt(2.1,2.1,1.1) | |
74 | prtrm.CanCollide = false | |
75 | prtrm.Transparency = 0.5 | |
76 | prtrm.Material = "SmoothPlastic" | |
77 | prtrm.BrickColor = bc("Really black") | |
78 | local wldm = Instance.new("Weld",Character) | |
79 | wldm.Part0 = tors | |
80 | wldm.Part1 = prtrm | |
81 | ||
82 | local prtr = Instance.new("Part",Character) | |
83 | prtr.Size = vt(1.1,2.1,1.1) | |
84 | prtr.CanCollide = false | |
85 | prtr.Transparency = 0.5 | |
86 | prtr.Material = "SmoothPlastic" | |
87 | prtr.BrickColor = bc("Really black") | |
88 | local prtrl = Instance.new("Part",Character) | |
89 | prtrl.Size = vt(1.1,2.1,1.1) | |
90 | prtrl.CanCollide = false | |
91 | prtrl.Transparency = 0.5 | |
92 | prtrl.Material = "SmoothPlastic" | |
93 | prtrl.BrickColor = bc("Really black") | |
94 | local eff = Instance.new("ParticleEmitter",prtr) | |
95 | eff.LightEmission = 0 | |
96 | eff.Texture = "rbxassetid://284205403" | |
97 | eff.Color = ColorSequence.new(Color3.new(255,0,0),Color3.new(255,0,0)) | |
98 | eff.Size = NumberSequence.new(0.5,1) | |
99 | eff.Acceleration = vt(0,25,0) | |
100 | eff.Speed = NumberRange.new(-5) | |
101 | eff.LockedToPart = false | |
102 | eff.Transparency = NumberSequence.new(0.95) | |
103 | eff.Lifetime = NumberRange.new(0.5) | |
104 | eff.Rate = 100000 | |
105 | eff.VelocitySpread = 25 | |
106 | local wld = Instance.new("Weld",Character) | |
107 | wld.Part0 = rarm | |
108 | wld.Part1 = prtr | |
109 | local wldl = Instance.new("Weld",Character) | |
110 | wldl.Part0 = rleg | |
111 | wldl.Part1 = prtrl | |
112 | ||
113 | local prtr2 = Instance.new("Part",Character) | |
114 | prtr2.Size = vt(1.1,2.1,1.1) | |
115 | prtr2.CanCollide = false | |
116 | prtr2.Transparency = 0.5 | |
117 | prtr2.Material = "SmoothPlastic" | |
118 | prtr2.BrickColor = bc("Really black") | |
119 | local prtrl2 = Instance.new("Part",Character) | |
120 | prtrl2.Size = vt(1.1,2.1,1.1) | |
121 | prtrl2.CanCollide = false | |
122 | prtrl2.Transparency = 0.5 | |
123 | prtrl2.Material = "SmoothPlastic" | |
124 | prtrl2.BrickColor = bc("Really black") | |
125 | local eff2 = Instance.new("ParticleEmitter",prtr2) | |
126 | eff2.LightEmission = 0 | |
127 | eff2.Texture = "rbxassetid://284205403" | |
128 | eff2.Color = ColorSequence.new(Color3.new(255,0,0),Color3.new(255,0,0)) | |
129 | eff2.Size = NumberSequence.new(0.5,1) | |
130 | eff2.Acceleration = vt(0,25,0) | |
131 | eff2.Speed = NumberRange.new(-5) | |
132 | eff2.LockedToPart = false | |
133 | eff2.Transparency = NumberSequence.new(0.95) | |
134 | eff2.Lifetime = NumberRange.new(0.5) | |
135 | eff2.Rate = 100000 | |
136 | eff2.VelocitySpread = 25 | |
137 | local wld2 = Instance.new("Weld",Character) | |
138 | wld2.Part0 = larm | |
139 | wld2.Part1 = prtr2 | |
140 | local wldl2 = Instance.new("Weld",Character) | |
141 | wldl2.Part0 = lleg | |
142 | wldl2.Part1 = prtrl2 | |
143 | ||
144 | local lightning = Instance.new("ParticleEmitter",torso) | |
145 | lightning.Texture = "http://www.roblox.com/asset/?id=348321827" | |
146 | lightning.LightEmission = 0 | |
147 | lightning.Color = ColorSequence.new(Color3.new(255,0,0),Color3.new(255,0,0)) | |
148 | lightning.LockedToPart = true | |
149 | lightning.Rate = 20 | |
150 | lightning.Lifetime = NumberRange.new(0.1,0.10) | |
151 | lightning.Rotation = NumberRange.new(0,360) | |
152 | lightning.Size = NumberSequence.new(3,3,3) | |
153 | lightning.Transparency = NumberSequence.new(0,0) | |
154 | lightning.Speed = NumberRange.new(0,0) | |
155 | lightning.RotSpeed = NumberRange.new(0,0) | |
156 | lightning.ZOffset = 5 | |
157 | lightning.Enabled = false | |
158 | ||
159 | local eeeffecto = Instance.new("ParticleEmitter",torso) | |
160 | eeeffecto.Texture = "http://www.roblox.com/asset/?id=305943367" | |
161 | eeeffecto.LightEmission = 0 | |
162 | eeeffecto.Color = ColorSequence.new(Color3.new(255,0,0),Color3.new(255,0,0)) | |
163 | eeeffecto.LockedToPart = true | |
164 | eeeffecto.Rate = 10 | |
165 | eeeffecto.Lifetime = NumberRange.new(0.1,0.1) | |
166 | eeeffecto.Rotation = NumberRange.new(0,0) | |
167 | eeeffecto.Size = NumberSequence.new(9,9,9) | |
168 | eeeffecto.Transparency = NumberSequence.new(0,0) | |
169 | eeeffecto.Speed = NumberRange.new(0,0) | |
170 | eeeffecto.RotSpeed = NumberRange.new(0,0) | |
171 | eeeffecto.Enabled = false | |
172 | ||
173 | ||
174 | for i,v in pairs(Character:children()) do | |
175 | if v:IsA("Shirt") then | |
176 | v:Destroy() | |
177 | end | |
178 | end | |
179 | for i,v in pairs(Character:children()) do | |
180 | if v:IsA("Pants") then | |
181 | v:Destroy() | |
182 | end | |
183 | end | |
184 | for i,v in pairs(char:children()) do | |
185 | if v:IsA("Accessory") then | |
186 | v:Destroy() | |
187 | end | |
188 | end | |
189 | ||
190 | CV="Hot pink" | |
191 | ||
192 | Reaper = Instance.new("Model",Character) | |
193 | Reaper.Name = "Reaper" | |
194 | rh = Instance.new("Part") | |
195 | rh.Name = "rh" | |
196 | rh.Parent = Reaper | |
197 | rh.Locked = true | |
198 | rh.CanCollide = false | |
199 | mesh = Instance.new("SpecialMesh") | |
200 | rh.formFactor = "Symmetric" | |
201 | mesh.MeshType = "FileMesh" | |
202 | mesh.MeshId = "http://www.roblox.com/asset/?id=21057410" | |
203 | mesh.TextureId = "http://www.roblox.com/asset/?id=48857582" | |
204 | mesh.Scale = Vector3.new(1.05, 1.05, 1.05) | |
205 | mesh.Parent = rh | |
206 | local weld = Instance.new("Weld") | |
207 | weld.Parent = rh | |
208 | weld.Part0 = rh | |
209 | weld.Part1 = Player.Character.Head | |
210 | weld.C0 = CFrame.new(0, -0.045, -0.028)*CFrame.Angles(0, 0, 0) | |
211 | ||
212 | local txt = Instance.new("BillboardGui", char) | |
213 | txt.Adornee = char .Head | |
214 | txt.Name = "_status" | |
215 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
216 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
217 | local text = Instance.new("TextLabel", txt) | |
218 | text.Size = UDim2.new(10, 0, 7, 0) | |
219 | text.FontSize = "Size24" | |
220 | text.TextScaled = true | |
221 | text.TextTransparency = 0 | |
222 | text.BackgroundTransparency = 1 | |
223 | text.TextTransparency = 0 | |
224 | text.TextStrokeTransparency = 0 | |
225 | text.Font = "Bodoni" | |
226 | text.TextStrokeColor3 = BrickColor.new("Really black").Color | |
227 | ||
228 | v=Instance.new("Part") | |
229 | v.Name = "ColorBrick" | |
230 | v.Parent=p.Character | |
231 | v.FormFactor="Symmetric" | |
232 | v.Anchored=true | |
233 | v.CanCollide=false | |
234 | v.BottomSurface="Smooth" | |
235 | v.TopSurface="Smooth" | |
236 | v.Size=Vector3.new(10,5,3) | |
237 | v.Transparency=1 | |
238 | v.CFrame=char.Torso.CFrame | |
239 | v.BrickColor=BrickColor.new(CV) | |
240 | v.Transparency=1 | |
241 | text.TextColor3 = BrickColor.new("Really black").Color | |
242 | v.Shape="Block" | |
243 | text.Text = "Xer, The Devil's Son Of Galactic:" ..math.floor(hum.Health) | |
244 | ||
245 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) | |
246 | local gui = it(GuiType) | |
247 | gui.Parent = parent | |
248 | gui.Text = text | |
249 | gui.BackgroundTransparency = backtrans | |
250 | gui.BackgroundColor3 = backcol | |
251 | gui.SizeConstraint = "RelativeXY" | |
252 | gui.TextXAlignment = "Center" | |
253 | gui.TextYAlignment = "Center" | |
254 | gui.Position = pos | |
255 | gui.Size = size | |
256 | gui.Font = "SourceSans" | |
257 | gui.FontSize = "Size14" | |
258 | gui.TextWrapped = false | |
259 | gui.TextStrokeTransparency = 0 | |
260 | gui.TextColor = BrickColor.new("White") | |
261 | return gui | |
262 | end | |
263 | ||
264 | local boll = Instance.new("Part",game.Lighting) | |
265 | boll.Transparency = 0.5 | |
266 | boll.Material = "Neon" | |
267 | boll.BrickColor = bc("Bright red") | |
268 | boll.Anchored = true | |
269 | boll.Size = vt(1,1,1) | |
270 | boll.Shape = "Ball" | |
271 | boll.CanCollide = false | |
272 | ||
273 | local shur = Instance.new("Part",game.Lighting) | |
274 | shur.Transparency = 0 | |
275 | shur.Material = "Neon" | |
276 | shur.BrickColor = bc("Bright red") | |
277 | shur.Anchored = true | |
278 | shur.Size = vt(5,0.2,5) | |
279 | shur.CanCollide = false | |
280 | local Meshshur = Instance.new("CylinderMesh",shur) | |
281 | ||
282 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
283 | if hit.Parent==nil then | |
284 | return | |
285 | end | |
286 | h=hit.Parent:FindFirstChild("Humanoid") | |
287 | for _,v in pairs(hit.Parent:children()) do | |
288 | if v:IsA("Humanoid") then | |
289 | h=v | |
290 | end | |
291 | end | |
292 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
293 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
294 | end | |
295 | if hit.Parent.className=="Hat" then | |
296 | hit=hit.Parent.Parent:findFirstChild("Head") | |
297 | end | |
298 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
299 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
300 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
301 | return | |
302 | end]] | |
303 | -- hs(hit,1.2) | |
304 | c=Instance.new("ObjectValue") | |
305 | c.Name="creator" | |
306 | c.Value=game:service("Players").LocalPlayer | |
307 | c.Parent=h | |
308 | game:GetService("Debris"):AddItem(c,.5) | |
309 | Damage=math.random(minim,maxim) | |
310 | -- h:TakeDamage(Damage) | |
311 | blocked=false | |
312 | block=hit.Parent:findFirstChild("Block") | |
313 | if block~=nil then | |
314 | print(block.className) | |
315 | if block.className=="NumberValue" then | |
316 | if block.Value>0 then | |
317 | blocked=true | |
318 | if decreaseblock==nil then | |
319 | block.Value=block.Value-1 | |
320 | end | |
321 | end | |
322 | end | |
323 | if block.className=="IntValue" then | |
324 | if block.Value>0 then | |
325 | blocked=true | |
326 | if decreaseblock~=nil then | |
327 | block.Value=block.Value-1 | |
328 | end | |
329 | end | |
330 | end | |
331 | end | |
332 | if blocked==false then | |
333 | -- h:TakeDamage(Damage) | |
334 | h.Health=h.Health-Damage | |
335 | showDamage(hit.Parent,Damage,.5,TorsoColor) | |
336 | else | |
337 | h.Health=h.Health-(Damage/2) | |
338 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) | |
339 | end | |
340 | if Type=="Knockdown" then | |
341 | hum=hit.Parent.Humanoid | |
342 | hum.PlatformStand=true | |
343 | coroutine.resume(coroutine.create(function(HHumanoid) | |
344 | swait(1) | |
345 | HHumanoid.PlatformStand=false | |
346 | end),hum) | |
347 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
348 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
349 | local bodvol=Instance.new("BodyVelocity") | |
350 | bodvol.velocity=angle*knockback | |
351 | bodvol.P=5000 | |
352 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
353 | bodvol.Parent=hit | |
354 | rl=Instance.new("BodyAngularVelocity") | |
355 | rl.P=3000 | |
356 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
357 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
358 | rl.Parent=hit | |
359 | game:GetService("Debris"):AddItem(bodvol,.5) | |
360 | game:GetService("Debris"):AddItem(rl,.5) | |
361 | elseif Type=="Normal" then | |
362 | vp=Instance.new("BodyVelocity") | |
363 | vp.P=500 | |
364 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
365 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
366 | if KnockbackType==1 then | |
367 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
368 | elseif KnockbackType==2 then | |
369 | vp.velocity=Property.CFrame.lookVector*knockback | |
370 | end | |
371 | if knockback>0 then | |
372 | vp.Parent=hit.Parent.Torso | |
373 | end | |
374 | game:GetService("Debris"):AddItem(vp,.5) | |
375 | elseif Type=="Up" then | |
376 | local bodyVelocity=Instance.new("BodyVelocity") | |
377 | bodyVelocity.velocity=vt(0,10,0) | |
378 | bodyVelocity.P=1000 | |
379 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
380 | bodyVelocity.Parent=hit | |
381 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
382 | rl=Instance.new("BodyAngularVelocity") | |
383 | rl.P=3000 | |
384 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
385 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
386 | rl.Parent=hit | |
387 | game:GetService("Debris"):AddItem(rl,.5) | |
388 | elseif Type=="Snare" then | |
389 | bp=Instance.new("BodyPosition") | |
390 | bp.P=2000 | |
391 | bp.D=100 | |
392 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
393 | bp.position=hit.Parent.Torso.Position | |
394 | bp.Parent=hit.Parent.Torso | |
395 | game:GetService("Debris"):AddItem(bp,1) | |
396 | elseif Type=="Target" then | |
397 | if Targetting==false then | |
398 | ZTarget=hit.Parent.Torso | |
399 | coroutine.resume(coroutine.create(function(Part) | |
400 | swait(5) | |
401 | end),ZTarget) | |
402 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
403 | targetgui=Instance.new("BillboardGui") | |
404 | targetgui.Parent=ZTarget | |
405 | targetgui.Size=UDim2.new(10,100,10,100) | |
406 | targ=Instance.new("ImageLabel") | |
407 | targ.Parent=targetgui | |
408 | targ.BackgroundTransparency=1 | |
409 | targ.Image="rbxassetid://4834067" | |
410 | targ.Size=UDim2.new(1,0,1,0) | |
411 | cam.CameraType="Scriptable" | |
412 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
413 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
414 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
415 | Targetting=true | |
416 | RocketTarget=ZTarget | |
417 | for i=1,Property do | |
418 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
419 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
420 | swait() | |
421 | end | |
422 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
423 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
424 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
425 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
426 | end | |
427 | Targetting=false | |
428 | RocketTarget=nil | |
429 | targetgui.Parent=nil | |
430 | cam.CameraType="Custom" | |
431 | end | |
432 | end | |
433 | debounce=Instance.new("BoolValue") | |
434 | debounce.Name="DebounceHit" | |
435 | debounce.Parent=hit.Parent | |
436 | debounce.Value=true | |
437 | game:GetService("Debris"):AddItem(debounce,Delay) | |
438 | c=Instance.new("ObjectValue") | |
439 | c.Name="creator" | |
440 | c.Value=Player | |
441 | c.Parent=h | |
442 | game:GetService("Debris"):AddItem(c,.5) | |
443 | CRIT=false | |
444 | hitDeb=true | |
445 | AttackPos=6 | |
446 | end | |
447 | end | |
448 | ||
449 | showDamage=function(Char,Dealt,du,Color) | |
450 | m=Instance.new("Model") | |
451 | m.Name=tostring(Dealt) | |
452 | h=Instance.new("Humanoid") | |
453 | h.Health=0 | |
454 | h.MaxHealth=0 | |
455 | h.Parent=m | |
456 | c=Instance.new("Part") | |
457 | c.Transparency=0 | |
458 | c.Material = "Neon" | |
459 | c.BrickColor=bc("New Yeller") | |
460 | c.Name="Head" | |
461 | c.TopSurface=0 | |
462 | c.BottomSurface=0 | |
463 | local tick = Instance.new("Sound",c) | |
464 | tick.SoundId = "rbxassetid://12221976" | |
465 | tick.Volume = 5 | |
466 | tick.Pitch = 4 | |
467 | tick:Play() | |
468 | c.formFactor="Plate" | |
469 | c.Size=Vector3.new(1,.4,1) | |
470 | ms=Instance.new("CylinderMesh") | |
471 | ms.Scale=Vector3.new(.8,.8,.8) | |
472 | if CRIT==true then | |
473 | ms.Scale=Vector3.new(1,1.25,1) | |
474 | end | |
475 | ms.Parent=c | |
476 | c.Reflectance=0 | |
477 | Instance.new("BodyGyro").Parent=c | |
478 | c.Parent=m | |
479 | if Char:findFirstChild("Head")~=nil then | |
480 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
481 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
482 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
483 | end | |
484 | f=Instance.new("BodyPosition") | |
485 | f.P=2000 | |
486 | f.D=100 | |
487 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
488 | f.position=c.Position+Vector3.new(0,3,0) | |
489 | f.Parent=c | |
490 | game:GetService("Debris"):AddItem(m,.5+du) | |
491 | c.CanCollide=false | |
492 | m.Parent=workspace | |
493 | c.CanCollide=false | |
494 | p:Destroy() | |
495 | end | |
496 | ||
497 | function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type) | |
498 | for _, c in pairs(workspace:children()) do | |
499 | local hum = c:findFirstChild("Humanoid") | |
500 | if hum ~= nil then | |
501 | local head = c:findFirstChild("Torso") | |
502 | if head ~= nil then | |
503 | local targ = head.Position - Part.Position | |
504 | local mag = targ.magnitude | |
505 | if mag <= magni and c.Name ~= Player.Name then | |
506 | Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3) | |
507 | end | |
508 | end | |
509 | end | |
510 | end | |
511 | end | |
512 | ||
513 | function ExplodeFast(rad,par) | |
514 | local expart = Instance.new("Part",script.Parent) | |
515 | local expart2 = Instance.new("Part",script.Parent) | |
516 | local partMesh = Instance.new("SpecialMesh",expart) | |
517 | partMesh.MeshType = "Sphere" | |
518 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
519 | partMesh2.MeshType = "Sphere" | |
520 | local expld = Instance.new("Explosion", script.Parent) | |
521 | expld.Visible = false | |
522 | local plode = Instance.new("Sound",expart) | |
523 | plode.SoundId = "rbxassetid://153274423" | |
524 | plode.Volume = 2.5 | |
525 | plode.Pitch = 1 | |
526 | plode.Looped = false | |
527 | plode:Play() | |
528 | local ploder = Instance.new("Sound",expart) | |
529 | ploder.SoundId = "rbxassetid://130972023" | |
530 | ploder.Volume = 2.5 | |
531 | ploder.Pitch = 1 | |
532 | ploder.Looped = false | |
533 | ploder:Play() | |
534 | expld.BlastRadius = rad | |
535 | expld.Position = par.Position | |
536 | partMesh.Scale = vt(rad,rad,rad) | |
537 | expart.Size = vt(1,1,1)*1.5 | |
538 | expart.Transparency = 0 | |
539 | expart.Anchored = true | |
540 | expart.Material = "Neon" | |
541 | expart.BrickColor = bc("Really black") | |
542 | expart.CFrame = par.CFrame | |
543 | partMesh2.Scale = vt(rad,rad,rad) | |
544 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
545 | expart2.Transparency = 0.5 | |
546 | expart2.Anchored = true | |
547 | expart2.Material = "Neon" | |
548 | expart2.BrickColor = bc("Really black") | |
549 | expart2.CFrame = par.CFrame | |
550 | local value = 1*rad/6.5 | |
551 | par:Destroy() | |
552 | for i = 0, 100 do | |
553 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
554 | expart.CFrame = expart.CFrame | |
555 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
556 | expart2.CFrame = expart.CFrame | |
557 | value = value - 0.035*rad/6.5 | |
558 | if value < 1 then | |
559 | value = 0.25 | |
560 | expart.Transparency = expart.Transparency + 0.025 | |
561 | expart2.Transparency = expart2.Transparency + 0.025 | |
562 | end | |
563 | wait() | |
564 | end | |
565 | plode.Parent = nil | |
566 | ploder.Parent = nil | |
567 | expart.Parent = nil | |
568 | expart2.Parent = nil | |
569 | expld.Parent = nil | |
570 | end | |
571 | ||
572 | function Explode(rad,par) | |
573 | local expart = Instance.new("Part",script.Parent) | |
574 | local expart2 = Instance.new("Part",script.Parent) | |
575 | local partMesh = Instance.new("SpecialMesh",expart) | |
576 | partMesh.MeshType = "Sphere" | |
577 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
578 | partMesh2.MeshType = "Sphere" | |
579 | local expld = Instance.new("Explosion", script.Parent) | |
580 | expld.Visible = false | |
581 | local plode = Instance.new("Sound",expart) | |
582 | plode.SoundId = "rbxassetid://288641686" | |
583 | plode.Volume = 2.5 | |
584 | plode.Pitch = 0.75 | |
585 | plode.Looped = false | |
586 | plode:Play() | |
587 | local ploder = Instance.new("Sound",expart) | |
588 | ploder.SoundId = "rbxassetid://206049428" | |
589 | ploder.Volume = 3.25 | |
590 | ploder.Pitch = 0.5 | |
591 | ploder.Looped = false | |
592 | ploder:Play() | |
593 | expld.BlastRadius = rad | |
594 | expld.Position = par.Position | |
595 | partMesh.Scale = vt(rad,rad,rad) | |
596 | expart.Size = vt(1,1,1)*1.5 | |
597 | expart.Transparency = 0 | |
598 | expart.Anchored = true | |
599 | expart.Material = "Neon" | |
600 | expart.BrickColor = bc("Really black") | |
601 | expart.CFrame = par.CFrame | |
602 | partMesh2.Scale = vt(rad,rad,rad) | |
603 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
604 | expart2.Transparency = 0.5 | |
605 | expart2.Anchored = true | |
606 | expart2.Material = "Neon" | |
607 | expart2.BrickColor = bc("Really black") | |
608 | expart2.CFrame = par.CFrame | |
609 | local value = 1*rad/6.5 | |
610 | par:Destroy() | |
611 | for i = 0, 100 do | |
612 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
613 | expart.CFrame = expart.CFrame | |
614 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
615 | expart2.CFrame = expart.CFrame | |
616 | value = value - 0.035*rad/6.5 | |
617 | if value < 1 then | |
618 | value = 0.25 | |
619 | expart.Transparency = expart.Transparency + 0.025 | |
620 | expart2.Transparency = expart2.Transparency + 0.025 | |
621 | end | |
622 | wait() | |
623 | end | |
624 | plode.Parent = nil | |
625 | ploder.Parent = nil | |
626 | expart.Parent = nil | |
627 | expart2.Parent = nil | |
628 | expld.Parent = nil | |
629 | end | |
630 | ||
631 | function ExplodeMass(rad,par) | |
632 | local expart = Instance.new("Part",script.Parent) | |
633 | local expart2 = Instance.new("Part",script.Parent) | |
634 | local partMesh = Instance.new("SpecialMesh",expart) | |
635 | partMesh.MeshType = "Sphere" | |
636 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
637 | partMesh2.MeshType = "Sphere" | |
638 | local expld = Instance.new("Explosion", script.Parent) | |
639 | expld.Visible = false | |
640 | local plode = Instance.new("Sound",workspace) | |
641 | plode.SoundId = "rbxassetid://579687077" | |
642 | plode.Volume = 1 | |
643 | plode.Pitch = 0.75 | |
644 | plode.Looped = false | |
645 | plode:Play() | |
646 | local plodez = Instance.new("Sound",workspace) | |
647 | plodez.SoundId = "rbxassetid://288641686" | |
648 | plodez.Volume = 1 | |
649 | plodez.Pitch = 0.625 | |
650 | plodez.Looped = false | |
651 | plodez:Play() | |
652 | local plodeza = Instance.new("Sound",workspace) | |
653 | plodeza.SoundId = "rbxassetid://197161452" | |
654 | plodeza.Volume = 0.85 | |
655 | plodeza.Pitch = 0.5 | |
656 | plodeza.Looped = false | |
657 | plodeza:Play() | |
658 | local plodezar = Instance.new("Sound",workspace) | |
659 | plodezar.SoundId = "rbxassetid://197161452" | |
660 | plodezar.Volume = 0.85 | |
661 | plodezar.Pitch = 0.2 | |
662 | plodezar.Looped = false | |
663 | plodezar:Play() | |
664 | local s3 = Instance.new("Sound",workspace) | |
665 | s3.SoundId = "rbxassetid://268931189" | |
666 | s3.Pitch = 0.875 | |
667 | s3.Volume = 1 | |
668 | s3.Looped = false | |
669 | s3:Play() | |
670 | expld.BlastRadius = rad | |
671 | expld.Position = par.Position | |
672 | partMesh.Scale = vt(rad,rad,rad) | |
673 | expart.Size = vt(1,1,1)*1.5 | |
674 | expart.Transparency = 0 | |
675 | expart.Anchored = true | |
676 | expart.Material = "Neon" | |
677 | expart.BrickColor = bc("Really black") | |
678 | expart.CFrame = par.CFrame | |
679 | partMesh2.Scale = vt(rad,rad,rad) | |
680 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
681 | expart2.Transparency = 0.5 | |
682 | expart2.Anchored = true | |
683 | expart2.Material = "Neon" | |
684 | expart2.BrickColor = bc("Really black") | |
685 | expart2.CFrame = par.CFrame | |
686 | local value = 1*rad/10 | |
687 | par:Destroy() | |
688 | for i = 0, 300 do | |
689 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
690 | expart.CFrame = expart.CFrame | |
691 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
692 | expart2.CFrame = expart.CFrame | |
693 | value = value - 0.0175*rad/10 | |
694 | if value <= 0 then | |
695 | expart.Transparency = expart.Transparency + 0.0125 | |
696 | expart2.Transparency = expart2.Transparency + 0.0125 | |
697 | value = 0.25 | |
698 | end | |
699 | wait() | |
700 | end | |
701 | plode.Parent = nil | |
702 | expart.Parent = nil | |
703 | expart2.Parent = nil | |
704 | expld.Parent = nil | |
705 | end | |
706 | ||
707 | local basgui = it("GuiMain") | |
708 | basgui.Parent = Player.PlayerGui | |
709 | basgui.Name = "CooldownsGUI" | |
710 | local basframe = it("Frame") | |
711 | basframe.Parent = basgui | |
712 | basframe.BackgroundColor3 = Color3.new(255, 255, 255) | |
713 | basframe.BackgroundTransparency = 1 | |
714 | basframe.BorderColor3 = Color3.new(17, 17, 17) | |
715 | basframe.Size = UDim2.new(0.2, 0, 0.2, 0) | |
716 | basframe.Position = UDim2.new(0.8, 0, 0.8, 0) | |
717 | local healthgui = gui("TextLabel", basframe, "Health: " ..basiccooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, -0.5, 0)) | |
718 | local basicgui = gui("TextLabel", basframe, "Basic: " ..basiccooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0.25, 0)) | |
719 | local basic2gui = gui("TextLabel", basframe, "FirstMove: " ..secondcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1.25, 0)) | |
720 | local basic3gui = gui("TextLabel", basframe, "SecondMove: " ..thirdcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(1.15, 0, 0.25, 0)) | |
721 | local basic4gui = gui("TextLabel", basframe, "Ultimate: " ..ultcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(1.15, 0, 1.25, 0)) | |
722 | basicgui.ZIndex = 2 | |
723 | healthgui.TextSize = 24 | |
724 | healthgui.ZIndex = 2 | |
725 | basicgui.TextSize = 24 | |
726 | basic4gui.ZIndex = 2 | |
727 | basic4gui.TextSize = 24 | |
728 | basic3gui.ZIndex = 2 | |
729 | basic3gui.TextSize = 24 | |
730 | basic2gui.ZIndex = 2 | |
731 | basic2gui.TextSize = 24 | |
732 | ||
733 | ||
734 | function Blaze() | |
735 | if ultcooldown >= 30 then | |
736 | local kolor = Instance.new("ColorCorrectionEffect",game.Lighting) | |
737 | local see = Instance.new("Sound",workspace) | |
738 | see.SoundId = "rbxassetid://21420962" | |
739 | see.Pitch = 1 | |
740 | see.Volume = 2.75 | |
741 | see.Looped = false | |
742 | see:Play() | |
743 | kolor.Brightness = -1 | |
744 | kolor.Contrast = -1 | |
745 | kolor.TintColor = BrickColor.new("Really black").Color | |
746 | wait(0.1) | |
747 | for i = 0, 9 do | |
748 | kolor.Brightness = kolor.Brightness + 0.35 | |
749 | kolor.Contrast = kolor.Contrast + 0.35 | |
750 | wait(0.05) | |
751 | end | |
752 | for i = 0, 9 do | |
753 | kolor.Brightness = kolor.Brightness - 0.35 | |
754 | kolor.Contrast = kolor.Contrast - 0.35 | |
755 | wait(0.05) | |
756 | end | |
757 | kolor:Destroy() | |
758 | local sloc = Instance.new("Part",workspace) | |
759 | local msh = Instance.new("SpecialMesh",sloc) | |
760 | msh.MeshType = "Sphere" | |
761 | sloc.Size = vt(1,1,1) | |
762 | sloc.Transparency = 1 | |
763 | sloc.BrickColor = bc("Really black") | |
764 | sloc.Position = hed.Position + vt(0,250,0) | |
765 | sloc.CanCollide = false | |
766 | sloc.Shape = "Ball" | |
767 | sloc.Anchored = true | |
768 | sloc.Material = "Neon" | |
769 | local s = Instance.new("Sound",workspace) | |
770 | s.SoundId = "rbxassetid://342793847" | |
771 | s.Pitch = 0.75 | |
772 | s.Volume = 1 | |
773 | s.Looped = false | |
774 | s:Play() | |
775 | local s2 = Instance.new("Sound",workspace) | |
776 | s2.SoundId = "rbxassetid://137463716" | |
777 | s2.Pitch = 0.5 | |
778 | s2.Volume = 1 | |
779 | s2.Looped = false | |
780 | s2:Play() | |
781 | local val = 0.65*5 | |
782 | for i = 0 , 150 do | |
783 | sloc.Transparency = sloc.Transparency - 0.035 | |
784 | msh.Scale = msh.Scale + vt(val,val,val) | |
785 | val = val - 0.0075*2.5 | |
786 | wait() | |
787 | end | |
788 | msh.Scale = msh.Scale - vt(1,1,1) | |
789 | sloc.Transparency = sloc.Transparency + 0.015 | |
790 | local spart = Instance.new("Part",workspace) | |
791 | local msh2 = Instance.new("SpecialMesh",spart) | |
792 | msh2.MeshType = "Sphere" | |
793 | spart.Size = vt(2,2,2) | |
794 | spart.Shape = "Ball" | |
795 | spart.BrickColor = bc("Really black") | |
796 | spart.Material = "Neon" | |
797 | spart.Transparency = 0 | |
798 | spart.Anchored = false | |
799 | msh2.Scale = msh.Scale/2 | |
800 | spart.Rotation = hed.Rotation | |
801 | spart.CanCollide = false | |
802 | spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0)) | |
803 | local bv = Instance.new("BodyVelocity") | |
804 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
805 | bv.velocity = mouse.Hit.lookVector * 125 | |
806 | bv.Parent = spart | |
807 | local tick = Instance.new("Sound",workspace) | |
808 | tick.SoundId = "rbxassetid://203691467" | |
809 | tick.Volume = 2 | |
810 | tick.Pitch = 0.5 | |
811 | tick:Play() | |
812 | sloc:Destroy() | |
813 | wait(0.00001) | |
814 | pewdiepie=spart.Touched:connect(function(hit) | |
815 | ExplodeMass(125,spart) | |
816 | end) | |
817 | sloc:Destroy() | |
818 | end | |
819 | if ultcooldown < 1 then | |
820 | for i = 0, 29 do | |
821 | ultcooldown = ultcooldown + 1 | |
822 | wait(1) | |
823 | end | |
824 | end | |
825 | end | |
826 | ||
827 | function LocateSpot() | |
828 | if basiccooldown >= 5 then | |
829 | local spart = Instance.new("Part",workspace) | |
830 | local msh = Instance.new("SpecialMesh",spart) | |
831 | msh.MeshType = "Sphere" | |
832 | local sa2 = Instance.new("Sound",spart) | |
833 | sa2.SoundId = "rbxassetid://244578827" | |
834 | sa2.Pitch = 1 | |
835 | sa2.Volume = 2.5 | |
836 | sa2.Looped = false | |
837 | sa2:Play() | |
838 | spart.Size = vt(1,1,1) | |
839 | spart.BrickColor = BrickColor.new("Really black") | |
840 | spart.Material = "Neon" | |
841 | spart.Transparency = 0.25 | |
842 | spart.Anchored = true | |
843 | spart.CanCollide = false | |
844 | spart.CFrame = mouse.Hit | |
845 | spart.Rotation = vt(0,0,0) | |
846 | local value = 2.75 | |
847 | for i = 0, 74 do | |
848 | value = value - 0.035 | |
849 | msh.Scale = msh.Scale + vt(value,0,value) | |
850 | wait() | |
851 | end | |
852 | wait(1) | |
853 | for i = 0, 24 do | |
854 | value = value - 0.2215 | |
855 | spart.Transparency = spart.Transparency - 0.015 | |
856 | msh.Scale = msh.Scale + vt(value,500,value) | |
857 | wait() | |
858 | end | |
859 | wait(0.1) | |
860 | Explode(42.5,spart) | |
861 | end | |
862 | end | |
863 | ||
864 | function TeleportSpot() | |
865 | if basiccooldown >= 5 then | |
866 | local sparta = Instance.new("Part",workspace) | |
867 | local msher = Instance.new("SpecialMesh",sparta) | |
868 | msher.MeshType = "Sphere" | |
869 | msher.Scale = vt(0,0.1,0) | |
870 | local sa2 = Instance.new("Sound",sparta) | |
871 | sa2.SoundId = "rbxassetid://169380479" | |
872 | sa2.Pitch = 0.75 | |
873 | sa2.Volume = 2 | |
874 | sa2.Looped = false | |
875 | sa2:Play() | |
876 | local sa3 = Instance.new("Sound",sparta) | |
877 | sa3.SoundId = "rbxassetid://289556450" | |
878 | sa3.Pitch = 1 | |
879 | sa3.Volume = 3 | |
880 | sa3.Looped = false | |
881 | sparta.Size = vt(1,1,1) | |
882 | sparta.BrickColor = BrickColor.new("Really black") | |
883 | sparta.Material = "Neon" | |
884 | sparta.Transparency = 0 | |
885 | sparta.Anchored = true | |
886 | sparta.CanCollide = false | |
887 | sparta.CFrame = mouse.Hit | |
888 | sparta.Rotation = vt(0,0,0) | |
889 | local sparte = sparta:Clone() | |
890 | sparte.Position = tors.Position + vt(0,-2.75,0) | |
891 | sparte.Parent = workspace | |
892 | local msher2 = sparte.Mesh | |
893 | local value2 = 2.5 | |
894 | for i = 0, 24 do | |
895 | value2 = value2 - 0.065 | |
896 | msher.Scale = msher.Scale + vt(value2,0,value2) | |
897 | msher2.Scale = msher2.Scale + vt(value2,0,value2) | |
898 | wait() | |
899 | end | |
900 | for i = 0, 5 do | |
901 | msher.Scale = msher.Scale + vt(0,500,0) | |
902 | msher2.Scale = msher2.Scale + vt(0,500,0) | |
903 | wait() | |
904 | end | |
905 | wait(0.1) | |
906 | sa3:Play() | |
907 | tors.CFrame = sparta.CFrame | |
908 | for i = 0, 49 do | |
909 | value2 = value2 - 0.5 | |
910 | sparta.Transparency = sparta.Transparency + 0.1 | |
911 | msher.Scale = msher.Scale - vt(value2,-500,value2) | |
912 | sparte.Transparency = sparte.Transparency + 0.1 | |
913 | msher2.Scale = msher2.Scale - vt(value2,-500,value2) | |
914 | wait() | |
915 | end | |
916 | sparta:Destroy() | |
917 | sparte:Destroy() | |
918 | end | |
919 | end | |
920 | ||
921 | mod4 = Instance.new("Model",char) | |
922 | ||
923 | ptez = {0.7, 0.8, 0.9, 1} | |
924 | ||
925 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
926 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
927 | local List = {} | |
928 | for i,v in pairs(workspace:GetChildren())do | |
929 | if v:IsA("Model")then | |
930 | if v:findFirstChild("Torso")then | |
931 | if v ~= char then | |
932 | if(v.Torso.Position -Position).magnitude <= Distance then | |
933 | table.insert(List,v) | |
934 | end | |
935 | end | |
936 | end | |
937 | end | |
938 | end | |
939 | return List | |
940 | end | |
941 | ||
942 | function Slam() | |
943 | local part=Instance.new('Part',mod4) | |
944 | part.Anchored=true | |
945 | part.CanCollide=false | |
946 | part.FormFactor='Custom' | |
947 | part.Size=Vector3.new(.2,.2,.2) | |
948 | part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0) | |
949 | part.Transparency=.7 | |
950 | part.BrickColor=BrickColor.new('Really black') | |
951 | mesh=Instance.new('SpecialMesh',part) | |
952 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
953 | mesh.Scale=Vector3.new(3,3,3) | |
954 | local part2=Instance.new('Part',mod4) | |
955 | part2.Anchored=true | |
956 | part2.CanCollide=false | |
957 | part2.FormFactor='Custom' | |
958 | part2.Size=Vector3.new(.2,.2,.2) | |
959 | part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6) | |
960 | part2.Transparency=.7 | |
961 | part2.BrickColor=BrickColor.new("Plum") | |
962 | mesh2=Instance.new('SpecialMesh',part2) | |
963 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
964 | mesh2.Scale=Vector3.new(3,1.5,3) | |
965 | x = Instance.new("Sound",larm) | |
966 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
967 | x.Pitch = ptez[math.random(1,#ptez)] | |
968 | x.Volume = 1 | |
969 | wait(.1) | |
970 | x1 = Instance.new("Sound",larm) | |
971 | x1.SoundId = "http://www.roblox.com/asset/?id=206082327" | |
972 | x1.Pitch = ptez[math.random(1,#ptez)] | |
973 | x1.Volume = 1 | |
974 | wait(.1) | |
975 | x:Play() | |
976 | x1:Play() | |
977 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
978 | if v:FindFirstChild('Humanoid') then | |
979 | v.Humanoid:TakeDamage(math.random(99,99)) | |
980 | end | |
981 | end | |
982 | coroutine.resume(coroutine.create(function() | |
983 | for i=0,0.62,0.13 do | |
984 | wait() | |
985 | part.CFrame=part.CFrame | |
986 | part.Transparency=i | |
987 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
988 | part2.CFrame=part2.CFrame | |
989 | part2.Transparency=i | |
990 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
991 | end | |
992 | part.Parent=nil | |
993 | part2.Parent=nil | |
994 | x:Destroy() | |
995 | end)) | |
996 | end | |
997 | ||
998 | game.StarterGui:SetCore("ChatMakeSystemMessage", { | |
999 | Text = "Made by Noobygames12, Edited by McPunho2, Helped: Sawyerqqqqq"; | |
1000 | Color = Color3.new(0, 1, 1); | |
1001 | Font = Enum.Font.Bodoni; | |
1002 | FontSize = Enum.FontSize.Size24; | |
1003 | }) | |
1004 | wait() | |
1005 | game.StarterGui:SetCore("ChatMakeSystemMessage", { | |
1006 | Text = "Kyuubi#1669 my discord :3"; | |
1007 | Color = Color3.new(0, 1, 1); | |
1008 | Font = Enum.Font.Bodoni; | |
1009 | FontSize = Enum.FontSize.Size24; | |
1010 | }) | |
1011 | ||
1012 | Reap = function() | |
1013 | ||
1014 | rarm.Touched:connect(function(ht1) | |
1015 | ||
1016 | hit1 = ht1.Parent | |
1017 | if ht1 and hit1:IsA("Model") and hit1:FindFirstChild("Humanoid") and hit1.Name ~= Player.Name and Debounces.Reaping == true and Debounces.Reaped == false then | |
1018 | Debounces.Reaped = true | |
1019 | h = hit1:FindFirstChild("Humanoid") | |
1020 | if h ~= nil then | |
1021 | hum.MaxHealth = hum.MaxHealth + h.MaxHealth | |
1022 | hum.Health = hum.MaxHealth | |
1023 | e = Instance.new("Part") | |
1024 | e.TopSurface = 0 | |
1025 | e.BottomSurface = 0 | |
1026 | e.Reflectance = 0.05 | |
1027 | e.formFactor = "Symmetric" | |
1028 | e.Size = Vector3.new(1, 1, 1) | |
1029 | e.Anchored = true | |
1030 | e.CanCollide = false | |
1031 | e.BrickColor = BrickColor.new("Really black") | |
1032 | e.CFrame = CFrame.new(ht1.Position) | |
1033 | e.Parent = hit1 | |
1034 | Instance.new("BlockMesh", e) | |
1035 | coroutine.resume(coroutine.create(function(par) | |
1036 | ||
1037 | for i = 1, 13 do | |
1038 | par.CFrame = par.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-20, 20) / 50, math.random(-20, 20) / 50, math.random(-20, 20) / 50) | |
1039 | par.Transparency = i / 13 | |
1040 | par.Mesh.Scale = par.Mesh.Scale + Vector3.new(0.4, 0.4, 0.4) | |
1041 | wait() | |
1042 | end | |
1043 | par.Parent = nil | |
1044 | end | |
1045 | ), e) | |
1046 | for _,v in pairs(hit1:children()) do | |
1047 | if v.className == "Part" then | |
1048 | v.BrickColor = BrickColor.new("Really black") | |
1049 | v.RotVelocity = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) * 3 | |
1050 | v:BreakJoints() | |
1051 | f = Instance.new("BodyVelocity") | |
1052 | f.P = 3000 | |
1053 | f.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1054 | f.velocity = Vector3.new(math.random(-30, 30) / 10, math.random(-30, 30) / 10, math.random(-30, 30) / 10) | |
1055 | f.Parent = v | |
1056 | v.CanCollide = false | |
1057 | coroutine.resume(coroutine.create(function(par) | |
1058 | ||
1059 | for i = 1, 30 do | |
1060 | par.Transparency = i / 30 | |
1061 | wait() | |
1062 | end | |
1063 | par.Parent = nil | |
1064 | end | |
1065 | ), v) | |
1066 | else | |
1067 | if v.className == "Hat" then | |
1068 | v.Handle.BrickColor = BrickColor.new("Really black") | |
1069 | v.Handle.RotVelocity = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) * 3 | |
1070 | v.Handle:BreakJoints() | |
1071 | f = Instance.new("BodyVelocity") | |
1072 | f.P = 3000 | |
1073 | f.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1074 | f.velocity = Vector3.new(math.random(-30, 30) / 10, math.random(-30, 30) / 10, math.random(-30, 30) / 10) | |
1075 | f.Parent = v.Handle | |
1076 | v.Handle.CanCollide = false | |
1077 | coroutine.resume(coroutine.create(function(par) | |
1078 | ||
1079 | for i = 1, 30 do | |
1080 | par.Transparency = i / 30 | |
1081 | wait() | |
1082 | end | |
1083 | par.Parent = nil | |
1084 | end | |
1085 | ), v.Handle) | |
1086 | if h == nil then | |
1087 | wait() | |
1088 | end | |
1089 | end | |
1090 | end | |
1091 | end | |
1092 | end | |
1093 | end | |
1094 | end | |
1095 | ) | |
1096 | Debounces.Reaped = false | |
1097 | end | |
1098 | ||
1099 | mouse.KeyDown:connect(function(key) | |
1100 | ||
1101 | if key == "e" and Debounces.CanAttack == true then | |
1102 | Debounces.CanAttack = false | |
1103 | Debounces.NoIdl = true | |
1104 | Debounces.on = true | |
1105 | Debounces.Reaping = true | |
1106 | for i = 1, 35 do | |
1107 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.4) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(70)), .4) | |
1108 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-30)), 0.4) | |
1109 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(70), 0), 0.4) | |
1110 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.4) | |
1111 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-10)), 0.4) | |
1112 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(7), math.rad(-20), math.rad(10)), 0.4) | |
1113 | if Debounces.on == false then | |
1114 | break | |
1115 | end | |
1116 | lightning.Enabled = true | |
1117 | eeeffecto.Enabled = true | |
1118 | fat.Event:wait() | |
1119 | end | |
1120 | do | |
1121 | wait(1) | |
1122 | Reap() | |
1123 | for i = 1, 10 do | |
1124 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, -0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(70)), 0.7) | |
1125 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0.2) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.7) | |
1126 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(-70), 0), 0.7) | |
1127 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.7) | |
1128 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(-10)), 0.7) | |
1129 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.7) | |
1130 | if Debounces.on == false then | |
1131 | break | |
1132 | end | |
1133 | lightning.Enabled = false | |
1134 | eeeffecto.Enabled = false | |
1135 | fat.Event:wait() | |
1136 | end | |
1137 | do | |
1138 | if Debounces.CanAttack == false then | |
1139 | Debounces.CanAttack = true | |
1140 | Debounces.NoIdl = false | |
1141 | Debounces.on = false | |
1142 | Debounces.Reaping = false | |
1143 | end | |
1144 | end | |
1145 | end | |
1146 | end | |
1147 | end | |
1148 | ) | |
1149 | ||
1150 | function ExplosiveLightBall() | |
1151 | if basiccooldown >= 5 then | |
1152 | local spart = Instance.new("Part",workspace) | |
1153 | local msh = Instance.new("SpecialMesh",spart) | |
1154 | msh.MeshType = "Sphere" | |
1155 | local sa = Instance.new("Sound",hed) | |
1156 | sa.SoundId = "rbxassetid://203691467" | |
1157 | sa.Pitch = 0.775 | |
1158 | sa.Volume = 1 | |
1159 | sa.Looped = false | |
1160 | local sa1 = Instance.new("Sound",hed) | |
1161 | sa1.SoundId = "rbxassetid://200633529" | |
1162 | sa1.Pitch = 0.75 | |
1163 | sa1.Volume = 1 | |
1164 | sa1.Looped = false | |
1165 | sa1:Play() | |
1166 | local sans1 = Instance.new("Sound",hed) | |
1167 | sans1.SoundId = "rbxassetid://200633529" | |
1168 | sans1.Pitch = 0.725 | |
1169 | sans1.Volume = 1 | |
1170 | sans1.Looped = false | |
1171 | sans1:Play() | |
1172 | spart.Size = vt(1,1,1) | |
1173 | spart.BrickColor = BrickColor.new("Really black") | |
1174 | spart.Material = "Neon" | |
1175 | spart.Transparency = 1 | |
1176 | spart.Anchored = true | |
1177 | spart.CanCollide = false | |
1178 | spart.Position = hed.Position + vt(0,20,0) | |
1179 | local value = 2.5 | |
1180 | for i = 0, 24 do | |
1181 | spart.Transparency = spart.Transparency - 0.05 | |
1182 | value = value - 0.05 | |
1183 | msh.Scale = msh.Scale + vt(value,value,value) | |
1184 | wait() | |
1185 | end | |
1186 | sa:Play() | |
1187 | spart.Anchored = false | |
1188 | local bv = Instance.new("BodyVelocity") | |
1189 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1190 | bv.velocity = mouse.Hit.lookVector *125 | |
1191 | bv.Parent = spart | |
1192 | wait(0.1) | |
1193 | pewdiepie=spart.Touched:connect(function(hit) Explode(20,spart) end) | |
1194 | end | |
1195 | end | |
1196 | ||
1197 | function ExplosiveLightBalls() | |
1198 | if basiccooldown >= 5 then | |
1199 | local spart = Instance.new("Part",workspace) | |
1200 | local msh = Instance.new("SpecialMesh",spart) | |
1201 | msh.MeshType = "Sphere" | |
1202 | spart.Size = vt(1,1,1) | |
1203 | spart.BrickColor = BrickColor.new("Really black") | |
1204 | spart.Material = "Neon" | |
1205 | spart.Transparency = 0.65 | |
1206 | spart.Anchored = true | |
1207 | spart.CanCollide = false | |
1208 | spart.CFrame = mouse.Hit | |
1209 | spart.Rotation = vt(0,0,0) | |
1210 | msh.Scale = vt(15,15,15)*2 | |
1211 | wait(0.35) | |
1212 | ExplodeFast(15,spart) | |
1213 | end | |
1214 | end | |
1215 | ||
1216 | mouse.KeyDown:connect(function(k) | |
1217 | ||
1218 | k = k:lower() | |
1219 | if k == "z" then | |
1220 | ExplosiveLightBall() | |
1221 | end | |
1222 | if k == "x" then | |
1223 | LocateSpot() | |
1224 | end | |
1225 | if k == "c" then | |
1226 | ExplosiveLightBalls() | |
1227 | end | |
1228 | if k == "v" then | |
1229 | TeleportSpot() | |
1230 | end | |
1231 | if k == "b" then | |
1232 | Blaze() | |
1233 | end | |
1234 | end) | |
1235 | ||
1236 | ---------------------------------------------------- | |
1237 | fat = Instance.new("BindableEvent",script) | |
1238 | fat.Name = "Heartbeat" | |
1239 | ||
1240 | script:WaitForChild("Heartbeat") | |
1241 | ||
1242 | frame = 1/30 | |
1243 | tf = 0 | |
1244 | allowframeloss = true --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater. | |
1245 | tossremainder = true --if set to true t will be set to 0 after Fire()-ing. | |
1246 | lastframe = tick() | |
1247 | script.Heartbeat:Fire() --ayy lmao | |
1248 | ||
1249 | game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp | |
1250 | tf = tf + s | |
1251 | if tf >= frame then | |
1252 | if allowframeloss then | |
1253 | script.Heartbeat:Fire() | |
1254 | lastframe=tick() | |
1255 | else | |
1256 | --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame)))) | |
1257 | for i=1, math.floor(tf/frame) do | |
1258 | script.Heartbeat:Fire() | |
1259 | end | |
1260 | lastframe=tick() | |
1261 | end | |
1262 | if tossremainder then | |
1263 | tf = 0 | |
1264 | else | |
1265 | tf = tf - frame * math.floor(tf/frame) | |
1266 | end | |
1267 | end | |
1268 | end) | |
1269 | ---------------------------------------------------- | |
1270 | Debounces = { | |
1271 | CanAttack = true; | |
1272 | CanJoke = true; | |
1273 | NoIdl = false; | |
1274 | Slashing = false; | |
1275 | Slashed = false; | |
1276 | ks = false; | |
1277 | RPunch = false; | |
1278 | RPunched = false; | |
1279 | LPunch = false; | |
1280 | LPunched = false; | |
1281 | } | |
1282 | local Touche = {char.Name, } | |
1283 | function HasntTouched(plrname) | |
1284 | local ret = true | |
1285 | for _, v in pairs(Touche) do | |
1286 | if v == plrname then | |
1287 | ret = false | |
1288 | end | |
1289 | end | |
1290 | return ret | |
1291 | end | |
1292 | ---------------------------------------------------- | |
1293 | function weld5(part0, part1, c0, c1) | |
1294 | weeld=Instance.new("Weld", part0) | |
1295 | weeld.Part0=part0 | |
1296 | weeld.Part1=part1 | |
1297 | weeld.C0=c0 | |
1298 | weeld.C1=c1 | |
1299 | return weeld | |
1300 | end | |
1301 | ---------------------------------------------------- | |
1302 | function lerp(a, b, t) -- Linear interpolation | |
1303 | return a + (b - a)*t | |
1304 | end | |
1305 | ||
1306 | function slerp(a, b, t) --Spherical interpolation | |
1307 | dot = a:Dot(b) | |
1308 | if dot > 0.99999 or dot < -0.99999 then | |
1309 | return t <= 0.5 and a or b | |
1310 | else | |
1311 | r = math.acos(dot) | |
1312 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
1313 | end | |
1314 | end | |
1315 | ||
1316 | function matrixInterpolate(a, b, t) | |
1317 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
1318 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
1319 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
1320 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
1321 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
1322 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
1323 | local t = v1:Dot(v2) | |
1324 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
1325 | return CFrame.new() | |
1326 | end | |
1327 | return CFrame.new( | |
1328 | v0.x, v0.y, v0.z, | |
1329 | v1.x, v1.y, v1.z, | |
1330 | v2.x, v2.y, v2.z, | |
1331 | v3.x, v3.y, v3.z) | |
1332 | end | |
1333 | ---------------------------------------------------- | |
1334 | function genWeld(a,b) | |
1335 | local w = Instance.new("Weld",a) | |
1336 | w.Part0 = a | |
1337 | w.Part1 = b | |
1338 | return w | |
1339 | end | |
1340 | function weld(a, b) | |
1341 | local weld = Instance.new("Weld") | |
1342 | weld.Name = "W" | |
1343 | weld.Part0 = a | |
1344 | weld.Part1 = b | |
1345 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
1346 | weld.Parent = a | |
1347 | return weld; | |
1348 | end | |
1349 | ---------------------------------------------------- | |
1350 | function Lerp(c1,c2,al) | |
1351 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
1352 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
1353 | for i,v in pairs(com1) do | |
1354 | com1[i] = v+(com2[i]-v)*al | |
1355 | end | |
1356 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
1357 | end | |
1358 | ---------------------------------------------------- | |
1359 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
1360 | local wld = Instance.new("Weld", wp1) | |
1361 | wld.Part0 = wp0 | |
1362 | wld.Part1 = wp1 | |
1363 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
1364 | end | |
1365 | ---------------------------------------------------- | |
1366 | newWeld(torso, larm, -1.5, 0.5, 0) | |
1367 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
1368 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
1369 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
1370 | newWeld(torso, hed, 0, 1.5, 0) | |
1371 | newWeld(torso, lleg, -0.5, -1, 0) | |
1372 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
1373 | newWeld(torso, rleg, 0.5, -1, 0) | |
1374 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
1375 | newWeld(root, torso, 0, -1, 0) | |
1376 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
1377 | ---------------------------------------------------- | |
1378 | hats={} | |
1379 | Part = function(x,y,z,color,tr,cc,an,parent) | |
1380 | local p = Instance.new('Part',parent or Weapon) | |
1381 | p.formFactor = 'Custom' | |
1382 | p.Size = Vector3.new(x,y,z) | |
1383 | p.BrickColor = BrickColor.new(color) | |
1384 | p.CanCollide = cc | |
1385 | p.Transparency = tr | |
1386 | p.Anchored = an | |
1387 | p.TopSurface,p.BottomSurface = 0,0 | |
1388 | p:BreakJoints() | |
1389 | return p | |
1390 | end | |
1391 | Weld = function(p0,p1,x,y,z,rx,ry,rz,par) | |
1392 | local w = Instance.new('Motor',par or p0) | |
1393 | w.Part0 = p0 | |
1394 | w.Part1 = p1 | |
1395 | w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz) | |
1396 | return w | |
1397 | end | |
1398 | Mesh = function(par,num,x,y,z) | |
1399 | local msh = nil | |
1400 | if num == 1 then | |
1401 | msh = Instance.new("CylinderMesh",par) | |
1402 | elseif num == 2 then | |
1403 | msh = Instance.new("SpecialMesh",par) | |
1404 | msh.MeshType = 'Wedge' | |
1405 | elseif num == 3 then | |
1406 | msh = Instance.new("BlockMesh",par) | |
1407 | elseif type(num) == 'string' then | |
1408 | msh = Instance.new("SpecialMesh",par) | |
1409 | msh.MeshId = num | |
1410 | end | |
1411 | msh.Scale = Vector3.new(x,y,z) | |
1412 | return msh | |
1413 | end | |
1414 | ||
1415 | function addh(id,txt,s1,s2,s3,x,y,z) | |
1416 | local hat=Part(1,1,1,'',0,false,false,char) | |
1417 | table.insert(hats,hat) | |
1418 | Weld(char.Head,hat,x,y,z,0,0,0,p) | |
1419 | m=Mesh(hat,'http://www.roblox.com/asset/?id='..id,s1,s2,s3) | |
1420 | m.TextureId='http://www.roblox.com/asset/?id='..txt | |
1421 | return m | |
1422 | end | |
1423 | ||
1424 | addh('11380070','11380053',1,1,1,0,-.75,0) | |
1425 | ---------------------------------------------------- | |
1426 | New = function(Object, Parent, Name, Data) | |
1427 | local Object = Instance.new(Object) | |
1428 | for Index, Value in pairs(Data or {}) do | |
1429 | Object[Index] = Value | |
1430 | end | |
1431 | Object.Parent = Parent | |
1432 | Object.Name = Name | |
1433 | return Object | |
1434 | end | |
1435 | ---------------------------------------------------- | |
1436 | local animpose = "Idle1" | |
1437 | local lastanimpose = "Idle1" | |
1438 | local grab = false | |
1439 | local Smooth = 1 | |
1440 | local sine = 0 | |
1441 | local change = 1 | |
1442 | local val = 0 | |
1443 | local ffing = false | |
1444 | ---------------------------------------------------- | |
1445 | jump = false | |
1446 | rs:connect(function() | |
1447 | if char.Humanoid.Jump == true then | |
1448 | jump = true | |
1449 | else | |
1450 | jump = false | |
1451 | end | |
1452 | char.Humanoid.FreeFalling:connect(function(f) | |
1453 | if f then | |
1454 | ffing = true | |
1455 | else | |
1456 | ffing = false | |
1457 | end | |
1458 | end) | |
1459 | sine = sine + change | |
1460 | if jump == true then | |
1461 | animpose = "Jumping" | |
1462 | elseif ffing == true then | |
1463 | animpose = "Freefalling" | |
1464 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
1465 | animpose = "Idle" | |
1466 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
1467 | animpose = "Walking" | |
1468 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
1469 | animpose = "Running" | |
1470 | end | |
1471 | RightLeg = CFrame.new(0.5,-1,0) | |
1472 | LeftLeg = CFrame.new(-0.5,-1,0) | |
1473 | ||
1474 | lefth = (torso.CFrame*LeftLeg) | |
1475 | righth = (torso.CFrame*RightLeg) | |
1476 | ||
1477 | speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z) | |
1478 | ||
1479 | TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100) | |
1480 | ||
1481 | local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100) | |
1482 | local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100) | |
1483 | if animpose ~= lastanimpose then | |
1484 | sine = 0 | |
1485 | if Debounces.NoIdl == false then | |
1486 | if stanceToggle == "Idle1" then | |
1487 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3) | |
1488 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3) | |
1489 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2) | |
1490 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
1491 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1492 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1493 | end | |
1494 | fat.Event:wait() | |
1495 | end | |
1496 | else | |
1497 | end | |
1498 | lastanimpose = animpose | |
1499 | if Debounces.NoIdl == false then | |
1500 | if animpose == "Idle" then | |
1501 | change = 0.5 | |
1502 | if stanceToggle == "Idle1" then | |
1503 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-3 + 6 * math.sin(sine / 10)), math.rad(-15 - 10 * math.cos(sine / 10)), math.rad(13 + 6 * math.cos(sine / 10))), 0.4) | |
1504 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4) | |
1505 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-4 - 6 * math.sin(sine / 10)), math.rad(15 + 10 * math.cos(sine / 10)), math.rad(-13 - 6 * math.cos(sine / 10))), 0.4) | |
1506 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4) | |
1507 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0.1 - 0.05 * math.cos(sine / 10)) * CFrame.Angles(math.rad(14 - 5 * math.cos(sine / 10)), math.rad(20), 0), 0.4) | |
1508 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.16 * math.cos(sine / 10), 0) * CFrame.Angles(0, math.rad(20), math.rad(0)), 0.05) | |
1509 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10 + 3 * math.cos(sine / 10)), math.rad(0), math.rad(0)), 0.05) | |
1510 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-12 + 5 * math.sin(sine / 10)), math.rad(20 + 6 * math.sin(sine / 10)), math.rad(-12 - 2 * math.sin(sine / 10))), 0.4) | |
1511 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6 - 0.1 * math.sin(sine / 10), -0.5) * CFrame.Angles(math.rad(-9 + 5 * math.sin(sine / 10)), math.rad(-9 - 6 * math.sin(sine / 10)), math.rad(4 + 3 * math.sin(sine / 10))), 0.4) | |
1512 | end | |
1513 | elseif animpose == "Walking" then | |
1514 | change = 1 | |
1515 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.55, 0) * CFrame.Angles(math.rad(-20) + root.RotVelocity.Y / 20, math.rad(16) - root.RotVelocity.Y / 20, math.rad(-10 - 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
1516 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14), 0, 0), 0.4) | |
1517 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20) - root.RotVelocity.Y / 10, 0), 0.2) | |
1518 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.17 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-16), math.rad(0), root.RotVelocity.Y / 10), 0.05) | |
1519 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20) + root.RotVelocity.Y / 10, 0), 0.05) | |
1520 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-13 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(-8) - root.RotVelocity.Y / 20), 0.4) | |
1521 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -0.5 - 0.1 * math.sin(sine / 14), -0.7) * CFrame.Angles(math.rad(-16 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(8) - root.RotVelocity.Y / 20), 0.4) | |
1522 | elseif animpose == "Running" then | |
1523 | change = 1.5 | |
1524 | 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) | |
1525 | 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) | |
1526 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
1527 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/10), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.4) | |
1528 | 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) | |
1529 | 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) | |
1530 | end | |
1531 | end | |
1532 | end) | |
1533 | ||
1534 | paly = game.Players.LocalPlayer | |
1535 | p = game.Players.LocalPlayer | |
1536 | char = paly.Character | |
1537 | vt = Vector3.new | |
1538 | rleg = char["Right Leg"] | |
1539 | lleg = char["Left Leg"] | |
1540 | local maincolor = BrickColor.new("Plum") | |
1541 | ||
1542 | local orb = Instance.new("Part") | |
1543 | orb.Parent = char | |
1544 | orb.Size = Vector3.new(0.2, 0.2, 0.2) | |
1545 | orb.Archivable = true | |
1546 | orb.Transparency = 1 | |
1547 | orb.BrickColor = maincolor | |
1548 | orb.Material = "Neon" | |
1549 | orb.CanCollide = false | |
1550 | local weld1 = Instance.new("Weld") | |
1551 | weld1.Parent = rleg | |
1552 | weld1.Part0 = rleg | |
1553 | weld1.Part1 = orb | |
1554 | weld1.C1 = CFrame.new(0, 1.125, 0) | |
1555 | local pt1 = NumberSequenceKeypoint.new(0,0.85,0) | |
1556 | local pt2 = NumberSequenceKeypoint.new(1,0,0) | |
1557 | local effecto = Instance.new("ParticleEmitter",orb) | |
1558 | effecto.ZOffset = 1 | |
1559 | effecto.LightEmission = 1 | |
1560 | effecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1561 | effecto.Color = ColorSequence.new(maincolor.Color) | |
1562 | effecto.Rate = 10000 | |
1563 | effecto.Lifetime = NumberRange.new(1) | |
1564 | effecto.Size = NumberSequence.new({pt1,pt2}) | |
1565 | effecto.Speed = NumberRange.new(0,0) | |
1566 | effecto.RotSpeed = NumberRange.new(100,100) | |
1567 | ||
1568 | local orbz = Instance.new("Part") | |
1569 | orbz.Parent = char | |
1570 | orbz.Size = Vector3.new(0.2, 0.2, 0.2) | |
1571 | orbz.Archivable = true | |
1572 | orbz.Transparency = 1 | |
1573 | orbz.BrickColor = maincolor | |
1574 | orbz.Material = "Neon" | |
1575 | orbz.CanCollide = false | |
1576 | local weldz1 = Instance.new("Weld") | |
1577 | weldz1.Parent = lleg | |
1578 | weldz1.Part0 = lleg | |
1579 | weldz1.Part1 = orbz | |
1580 | weldz1.C1 = CFrame.new(0, 1.125, 0) | |
1581 | local effecton = Instance.new("ParticleEmitter",orbz) | |
1582 | effecton.ZOffset = 1 | |
1583 | effecton.LightEmission = 1 | |
1584 | effecton.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1585 | effecton.Color = ColorSequence.new(maincolor.Color) | |
1586 | effecton.Rate = 10000 | |
1587 | effecton.Lifetime = NumberRange.new(1) | |
1588 | effecton.Size = NumberSequence.new({pt1,pt2}) | |
1589 | effecton.Speed = NumberRange.new(0,0) | |
1590 | effecton.RotSpeed = NumberRange.new(100,100) | |
1591 | ||
1592 | local runServ = game:GetService("RunService").RenderStepped | |
1593 | ||
1594 | runServ:connect(function() | |
1595 | text.Text = "Xer, The Devil's Son Of Galactic: " ..math.floor(hum.Health) | |
1596 | end) | |
1597 | ||
1598 | Charging = false | |
1599 | chargewait = false | |
1600 | mouse.KeyDown:connect(function(key) | |
1601 | if key == "h" then | |
1602 | if Charging == false and chargewait == false then | |
1603 | Charging = true | |
1604 | chargewait = true | |
1605 | if Debounces.CanAttack == true then | |
1606 | Debounces.CanAttack = false | |
1607 | Debounces.NoIdl = true | |
1608 | Debounces.on = true | |
1609 | ||
1610 | ||
1611 | ||
1612 | ||
1613 | for i = 1,20 do | |
1614 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
1615 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
1616 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
1617 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
1618 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
1619 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
1620 | ||
1621 | if Debounces.on == false then break end | |
1622 | rs:wait() | |
1623 | end | |
1624 | pt=Instance.new('Part',torso) | |
1625 | pt.Anchored=true | |
1626 | pt.CanCollide=false | |
1627 | pt.Locked = true | |
1628 | pt.Material = "Neon" | |
1629 | pt.FormFactor='Custom' | |
1630 | pt.Size=Vector3.new(1,1,1) | |
1631 | pt.BrickColor = BrickColor.new("Really black") | |
1632 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
1633 | pt.Transparency=.6 | |
1634 | ||
1635 | ||
1636 | msh=Instance.new('SpecialMesh',pt) | |
1637 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1638 | msh.Scale=Vector3.new(8,4,8) | |
1639 | pt2=pt:clone() | |
1640 | pt2.Parent = torso | |
1641 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
1642 | ||
1643 | ||
1644 | msh2=msh:clone() | |
1645 | msh2.Parent=pt2 | |
1646 | msh2.Scale=Vector3.new(10,5,10) | |
1647 | ||
1648 | 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} | |
1649 | ||
1650 | bl = Instance.new("Part", char) | |
1651 | bl.Locked = true | |
1652 | bl.Name = "Shell" | |
1653 | ||
1654 | ||
1655 | bl.Anchored = true | |
1656 | bl.Material = "Neon" | |
1657 | bl.CanCollide = false | |
1658 | bl.BrickColor = BrickColor.new("Dark indigo") | |
1659 | bl.Transparency = 0 | |
1660 | bl.Reflectance = 0 | |
1661 | bl.BottomSurface = 0 | |
1662 | bl.TopSurface = 0 | |
1663 | bl.Shape = 0 | |
1664 | blm = Instance.new("SpecialMesh",bl) | |
1665 | blm.MeshType = "Sphere" | |
1666 | blm.Scale = Vector3.new(1,1,1) | |
1667 | ||
1668 | ||
1669 | ||
1670 | ||
1671 | coroutine.resume(coroutine.create(function() | |
1672 | for i=1, math.huge, 4 do | |
1673 | if Charging == true then | |
1674 | rs:wait() | |
1675 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
1676 | blm.Scale = blm.Scale + Vector3.new(0.5, 0.5, 0.5) | |
1677 | bl.Transparency = bl.Transparency + 0.05 | |
1678 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
1679 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
1680 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
1681 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
1682 | elseif Charging == false then break | |
1683 | end | |
1684 | end | |
1685 | end)) | |
1686 | ||
1687 | ||
1688 | repeat | |
1689 | local p = Instance.new('Part',torso) | |
1690 | p.formFactor = 'Custom' | |
1691 | p.Size = Vector3.new(1,1,1) | |
1692 | ||
1693 | p.CanCollide = false | |
1694 | p.Transparency = 0 | |
1695 | p.Anchored = true | |
1696 | p.Locked=true | |
1697 | p.Material = "Neon" | |
1698 | p.Transparency = 1 | |
1699 | p.BrickColor = BrickColor.new("Dark indigo") | |
1700 | s = math.random(1,40)/10 | |
1701 | local m = Instance.new("BlockMesh",p) | |
1702 | m.Scale = Vector3.new(s,s,s) | |
1703 | 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()) | |
1704 | --[[coroutine.wrap(function() | |
1705 | wait(2) | |
1706 | while Charging == true do | |
1707 | wait(2) | |
1708 | GroundWave1() | |
1709 | wait(2) | |
1710 | end | |
1711 | end)()]]-- | |
1712 | Spawn(function() | |
1713 | while rs:wait() do | |
1714 | if Charging == true then | |
1715 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
1716 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
1717 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
1718 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
1719 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
1720 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
1721 | elseif Charging == false then break | |
1722 | end | |
1723 | end | |
1724 | end) | |
1725 | Spawn(function() | |
1726 | while rs:wait() do | |
1727 | if p.Transparency >= 1 then p:Destroy() break end | |
1728 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
1729 | p.Transparency = p.Transparency+0.01 | |
1730 | end | |
1731 | end) | |
1732 | ||
1733 | ||
1734 | ||
1735 | ||
1736 | local Transforming = true | |
1737 | hum.WalkSpeed = 0 | |
1738 | local fx = Instance.new("Part",torso) | |
1739 | wit = torso.BrickColor.Color | |
1740 | wit2 = Color3.new(0,0,0) | |
1741 | local glowz = Instance.new("ParticleEmitter",fx) | |
1742 | glowz.LightEmission = 1 | |
1743 | glowz.Texture = "rbxassetid://284205403" | |
1744 | glowz.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0)) | |
1745 | glowz.Size = NumberSequence.new(5) | |
1746 | glowz.Speed = NumberRange.new(25,50) | |
1747 | glowz.LockedToPart = false | |
1748 | glowz.Transparency = NumberSequence.new(0.75) | |
1749 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
1750 | glowz.Lifetime = NumberRange.new(1) | |
1751 | glowz.Rate = 50000 | |
1752 | glowz.VelocitySpread = 9001 | |
1753 | local glowz2 = Instance.new("ParticleEmitter",fx) | |
1754 | glowz2.LightEmission = 0.5 | |
1755 | glowz.Texture = "rbxassetid://284205403" | |
1756 | glowz2.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0)) | |
1757 | glowz2.Size = NumberSequence.new(5) | |
1758 | glowz2.Speed = NumberRange.new(25,50) | |
1759 | glowz2.LockedToPart = false | |
1760 | glowz2.Transparency = NumberSequence.new(0.75) | |
1761 | glowz2.RotSpeed = NumberRange.new(-2000,2000) | |
1762 | glowz2.Lifetime = NumberRange.new(1) | |
1763 | glowz2.Rate = 50000 | |
1764 | glowz2.VelocitySpread = 9001 | |
1765 | fx.Anchored = true | |
1766 | fx.Material = "Neon" | |
1767 | fx.CanCollide = false | |
1768 | fx.Locked = true | |
1769 | fx.Transparency = 1 | |
1770 | fx.Material = "Neon" | |
1771 | fx.Size = Vector3.new(1,1,1) | |
1772 | fx.TopSurface = "SmoothNoOutlines" | |
1773 | fx.BottomSurface = "SmoothNoOutlines" | |
1774 | fx.BrickColor = BrickColor.new("Really black") | |
1775 | fxm = Instance.new("SpecialMesh",fx) | |
1776 | fxm.MeshType = "Sphere" | |
1777 | local sa2 = Instance.new("Sound",torso) | |
1778 | sa2.SoundId = "rbxassetid://93724183" | |
1779 | sa2.Pitch = 0.5 | |
1780 | sa2.Volume = 5 | |
1781 | sa2.Looped = false | |
1782 | sa2:Play() | |
1783 | local value = 1 | |
1784 | fxm.Scale = Vector3.new(1,1,1) | |
1785 | for i = 1, 20 do rs:wait() | |
1786 | value = value - 0.05 | |
1787 | fx.Transparency = fx.Transparency - (1/20) | |
1788 | fx.CFrame = torso.CFrame | |
1789 | fxm.Scale = fxm.Scale + Vector3.new(value,value,value) | |
1790 | rs:wait() | |
1791 | end | |
1792 | ---------------------------------------------------- | |
1793 | GroundWave1 = function() | |
1794 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1795 | local Colors = {"White", "Really black"} | |
1796 | local wave = Instance.new("Part", torso) | |
1797 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1798 | wave.Anchored = true | |
1799 | wave.CanCollide = false | |
1800 | wave.Locked = true | |
1801 | wave.Size = Vector3.new(1, 1, 1) | |
1802 | wave.TopSurface = "Smooth" | |
1803 | wave.BottomSurface = "Smooth" | |
1804 | wave.Transparency = 0.35 | |
1805 | wave.CFrame = HandCF | |
1806 | wm = Instance.new("SpecialMesh", wave) | |
1807 | wm.MeshId = "rbxassetid://3270017" | |
1808 | coroutine.wrap(function() | |
1809 | for i = 1, 30, 1 do | |
1810 | wm.Scale = Vector3.new(50, 50, 1 + i*50) | |
1811 | wave.Size = wm.Scale | |
1812 | wave.CFrame = HandCF | |
1813 | wave.Transparency = i/30 | |
1814 | wait() | |
1815 | end | |
1816 | wait() | |
1817 | wave:Destroy() | |
1818 | end)() | |
1819 | end | |
1820 | ---------------------------------------------------- | |
1821 | GroundWave = function() | |
1822 | if Transforming == true then | |
1823 | local value = 5 | |
1824 | local value2 = 10 | |
1825 | local value3 = 20 | |
1826 | local sa2 = Instance.new("Sound",torso) | |
1827 | sa2.SoundId = "rbxassetid://413682983" | |
1828 | sa2.Pitch = 1 | |
1829 | sa2.Volume = 10 | |
1830 | sa2.Looped = false | |
1831 | sa2:Play() | |
1832 | local wave = Instance.new("Part", torso) | |
1833 | local glowz = Instance.new("ParticleEmitter",wave) | |
1834 | glowz.LightEmission = 1 | |
1835 | glowz.Texture = "rbxassetid://284205403" | |
1836 | glowz.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0)) | |
1837 | glowz.Size = NumberSequence.new(30) | |
1838 | glowz.Speed = NumberRange.new(25,100) | |
1839 | glowz.LockedToPart = false | |
1840 | glowz.Transparency = NumberSequence.new(0.75) | |
1841 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
1842 | glowz.Lifetime = NumberRange.new(1) | |
1843 | glowz.Rate = 50000 | |
1844 | glowz.VelocitySpread = 9001 | |
1845 | local glowz2 = Instance.new("ParticleEmitter",wave) | |
1846 | glowz2.LightEmission = 1 | |
1847 | glowz.Texture = "rbxassetid://284205403" | |
1848 | glowz2.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0)) | |
1849 | glowz2.Size = NumberSequence.new(30) | |
1850 | glowz2.Speed = NumberRange.new(25,100) | |
1851 | glowz2.LockedToPart = false | |
1852 | glowz2.Transparency = NumberSequence.new(0.75) | |
1853 | glowz2.RotSpeed = NumberRange.new(-2000,2000) | |
1854 | glowz2.Lifetime = NumberRange.new(1) | |
1855 | glowz2.Rate = 50000 | |
1856 | glowz2.VelocitySpread = 9001 | |
1857 | wave.BrickColor = BrickColor.new("Dark indigo") | |
1858 | wave.Anchored = true | |
1859 | wave.CanCollide = false | |
1860 | wave.Locked = true | |
1861 | wave.Size = Vector3.new(1, 1, 1) | |
1862 | wave.TopSurface = "Smooth" | |
1863 | wave.BottomSurface = "Smooth" | |
1864 | wave.Transparency = 0.35 | |
1865 | wave.CFrame = fx.CFrame | |
1866 | wave.Material = "Neon" | |
1867 | wm = Instance.new("SpecialMesh", wave) | |
1868 | wm.MeshType = "Sphere" | |
1869 | wm.Scale = Vector3.new(1,1,1) | |
1870 | local wave2 = Instance.new("Part", torso) | |
1871 | wave2.BrickColor = BrickColor.new("Dark indigo") | |
1872 | wave2.Anchored = true | |
1873 | wave2.CanCollide = false | |
1874 | wave2.Locked = true | |
1875 | wave2.Size = Vector3.new(1, 1, 1) | |
1876 | wave2.TopSurface = "Smooth" | |
1877 | wave2.BottomSurface = "Smooth" | |
1878 | wave2.Transparency = 0.35 | |
1879 | wave2.CFrame = fx.CFrame | |
1880 | wave2.Material = "Neon" | |
1881 | wm2 = Instance.new("SpecialMesh", wave2) | |
1882 | wm2.MeshType = "FileMesh" | |
1883 | wm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1884 | wm2.Scale = Vector3.new(1,1,1) | |
1885 | local wave3 = Instance.new("Part", torso) | |
1886 | wave3.BrickColor = BrickColor.new("Really black") | |
1887 | wave3.Anchored = true | |
1888 | wave3.CanCollide = false | |
1889 | wave3.Locked = true | |
1890 | wave3.Size = Vector3.new(1, 1, 1) | |
1891 | wave3.TopSurface = "Smooth" | |
1892 | wave3.BottomSurface = "Smooth" | |
1893 | wave3.Transparency = 0.35 | |
1894 | wave3.CFrame = fx.CFrame | |
1895 | wave3.Material = "Neon" | |
1896 | wm3 = Instance.new("SpecialMesh", wave3) | |
1897 | wm3.MeshType = "FileMesh" | |
1898 | wm3.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1899 | wm3.Scale = Vector3.new(1,1,1) | |
1900 | coroutine.wrap(function() | |
1901 | for i = 1, 18, 1 do | |
1902 | value = value - 0.5 | |
1903 | value2 = value2 - 0.75*1.5 | |
1904 | value3 = value3 - 0.475*1.5 | |
1905 | wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5) | |
1906 | wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5) | |
1907 | wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25) | |
1908 | --wave.Size = wm.Scale | |
1909 | wave.CFrame = fx.CFrame | |
1910 | wave.Transparency = i/14 | |
1911 | --wave2.Size = wm2.Scale | |
1912 | wave2.CFrame = fx.CFrame | |
1913 | wave2.Rotation = Vector3.new(90, 0, 0) | |
1914 | wave2.Transparency = i/14 | |
1915 | --wave3.Size = wm3.Scale | |
1916 | wave3.CFrame = fx.CFrame | |
1917 | wave3.Rotation = Vector3.new(90, 0, 0) | |
1918 | wave3.Transparency = i/14 | |
1919 | wait() | |
1920 | glowz.Rate = 0 | |
1921 | glowz2.Rate = 0 | |
1922 | end | |
1923 | wait() | |
1924 | wave:Destroy() | |
1925 | wave2:Destroy() | |
1926 | wave3:Destroy() | |
1927 | end)() | |
1928 | elseif Transforming == false then | |
1929 | wait() | |
1930 | end | |
1931 | end | |
1932 | ||
1933 | for i = 1, 100 do rs:wait() | |
1934 | fx.CFrame = torso.CFrame | |
1935 | end | |
1936 | ||
1937 | Spawn(function() | |
1938 | while wait(1) do | |
1939 | GroundWave() | |
1940 | end | |
1941 | end) | |
1942 | ||
1943 | wait(4) | |
1944 | ||
1945 | Transforming = false | |
1946 | ||
1947 | local value2 = 1 | |
1948 | for i = 1, 20 do rs:wait() | |
1949 | value2 = value2 - 0.05 | |
1950 | glowz.Rate = 0 | |
1951 | glowz2.Rate = 0 | |
1952 | fx.Transparency = fx.Transparency + (1/20) | |
1953 | fx.CFrame = torso.CFrame | |
1954 | fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2) | |
1955 | rs:wait() | |
1956 | end | |
1957 | glowz:Destroy() | |
1958 | glowz2:Destroy() | |
1959 | ||
1960 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1961 | local valuer = 5 | |
1962 | local valuer2 = 10 | |
1963 | local valuer3 = 15 | |
1964 | local sa2 = Instance.new("Sound",torso) | |
1965 | sa2.SoundId = "rbxassetid://130972023" | |
1966 | sa2.Pitch = 1 | |
1967 | sa2.Volume = 5 | |
1968 | sa2.Looped = false | |
1969 | sa2:Play() | |
1970 | local sar2 = Instance.new("Sound",torso) | |
1971 | sar2.SoundId = "rbxassetid://0" | |
1972 | sar2.Pitch = 1 | |
1973 | sar2.Volume = 5 | |
1974 | sar2.Looped = false | |
1975 | sar2:Play() | |
1976 | local wave = Instance.new("Part", torso) | |
1977 | wave.BrickColor = BrickColor.new("Dark indigo") | |
1978 | wave.Anchored = true | |
1979 | wave.CanCollide = false | |
1980 | wave.Locked = true | |
1981 | wave.Size = Vector3.new(1, 1, 1) | |
1982 | wave.TopSurface = "Smooth" | |
1983 | wave.BottomSurface = "Smooth" | |
1984 | wave.Transparency = 0.35 | |
1985 | wave.CFrame = HandCF | |
1986 | wm = Instance.new("SpecialMesh", wave) | |
1987 | wm.MeshId = "rbxassetid://3270017" | |
1988 | local wave2 = Instance.new("Part", torso) | |
1989 | wave2.BrickColor = BrickColor.new("Really black") | |
1990 | wave2.Anchored = true | |
1991 | wave2.CanCollide = false | |
1992 | wave2.Locked = true | |
1993 | wave2.Size = Vector3.new(1, 1, 1) | |
1994 | wave2.TopSurface = "Smooth" | |
1995 | wave2.BottomSurface = "Smooth" | |
1996 | wave2.Transparency = 0.35 | |
1997 | wave2.CFrame = HandCF | |
1998 | wm2 = Instance.new("SpecialMesh", wave2) | |
1999 | wm2.MeshId = "rbxassetid://3270017" | |
2000 | local wave3 = Instance.new("Part", torso) | |
2001 | wave3.BrickColor = BrickColor.new("Dark indigo") | |
2002 | wave3.Anchored = true | |
2003 | wave3.CanCollide = false | |
2004 | wave3.Locked = true | |
2005 | wave3.Size = Vector3.new(1, 1, 1) | |
2006 | wave3.TopSurface = "Smooth" | |
2007 | wave3.BottomSurface = "Smooth" | |
2008 | wave3.Transparency = 0.35 | |
2009 | wave3.CFrame = HandCF | |
2010 | wm3 = Instance.new("SpecialMesh", wave3) | |
2011 | wm3.MeshId = "rbxassetid://3270017" | |
2012 | coroutine.wrap(function() | |
2013 | for i = 1, 14, 1 do | |
2014 | valuer = valuer - 0.35 | |
2015 | valuer2 = valuer - 0.45 | |
2016 | valuer3 = valuer3 - 0.475 | |
2017 | wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200) | |
2018 | wave.Size = wm.Scale | |
2019 | wave.CFrame = HandCF | |
2020 | wave.Transparency = i/14 | |
2021 | wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10) | |
2022 | wave2.Size = wm2.Scale | |
2023 | wave2.CFrame = HandCF | |
2024 | wave2.Transparency = i/14 | |
2025 | wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1) | |
2026 | wave3.Size = wm2.Scale | |
2027 | wave3.CFrame = HandCF | |
2028 | wave3.Transparency = i/14 | |
2029 | wait() | |
2030 | end | |
2031 | wait() | |
2032 | wave:Destroy() | |
2033 | wave2:Destroy() | |
2034 | end)() | |
2035 | hum.WalkSpeed = 17 | |
2036 | ||
2037 | ||
2038 | ||
2039 | until Charging == false | |
2040 | end | |
2041 | end | |
2042 | end | |
2043 | end) | |
2044 | ||
2045 | ||
2046 | ---------------------------------------------------- | |
2047 | mouse.KeyUp:connect(function(key) | |
2048 | if key == "h" then | |
2049 | if Charging == true and chargewait == true then | |
2050 | chargewait = false | |
2051 | wait(1) | |
2052 | Charging = false | |
2053 | ||
2054 | local runServ = game:GetService("RunService").RenderStepped | |
2055 | ||
2056 | ||
2057 | --[[for i,v in pairs (torso:GetChildren()) do | |
2058 | if v:IsA("Sound") then | |
2059 | v:Destroy() | |
2060 | end | |
2061 | end]] | |
2062 | ||
2063 | ||
2064 | --so("http://roblox.com/asset/?id=160867463",torso,1,0.7) | |
2065 | ||
2066 | pt:Destroy() | |
2067 | pt2:Destroy() | |
2068 | bl:Destroy() | |
2069 | if Debounces.CanAttack == false then | |
2070 | Debounces.CanAttack = true | |
2071 | Debounces.NoIdl = false | |
2072 | Debounces.on = false | |
2073 | Debounces.grab = false | |
2074 | ||
2075 | end | |
2076 | end | |
2077 | end | |
2078 | end) | |
2079 | ||
2080 | while wait() do | |
2081 | healthgui.Text = "[Z]\nMultiverse Bullet" | |
2082 | basicgui.Text = "[X]\nMultiversal Strike" | |
2083 | basic2gui.Text = "[C]\nOmegaKarma" | |
2084 | basic3gui.Text = "[V]\nHyperWarp" | |
2085 | basic4gui.Text = "[B]\nUniverse Destroyer" | |
2086 | hed.BrickColor = BrickColor.new("Really black") | |
2087 | tors.BrickColor = BrickColor.new("Really black") | |
2088 | rleg.BrickColor = BrickColor.new("Really black") | |
2089 | rarm.BrickColor = BrickColor.new("Really black") | |
2090 | larm.BrickColor = BrickColor.new("Really black") | |
2091 | lleg.BrickColor = BrickColor.new("Really black") | |
2092 | end |