SHOW:
|
|
- or go back to the newest paste.
1 | Wait()local Player = Game.Players.LocalPlayer | |
2 | local Character,Backpack,PlayerGui,CurrentCamera = Player.Character,Player.Backpack,Player.PlayerGui,Workspace.CurrentCamera | |
3 | local T,H,RL,LL,LA,RA,HU = Character.Torso,Character.Head,Character["Right Leg"],Character["Left Leg"],Character["Left Arm"],Character["Right Arm"],Character.Humanoid | |
4 | local N,LS,RS,LH,RH = T.Neck,T["Left Shoulder"],T["Right Shoulder"],T["Left Hip"],T["Right Hip"] | |
5 | local Tool = Instance.new("HopperBin",Backpack) | |
6 | - | Tool.Name = "Kronos" |
6 | + | Tool.Name = "Zypher(Offical~Psy)" |
7 | Game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset?id=167115397")-- bs | |
8 | Game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset?id=167197110")-- chs | |
9 | Game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=167222585")-- cre | |
10 | Game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=167222604")-- cae | |
11 | Tool.Selected:wait() | |
12 | pcall(function()Character.Animate:Destroy()end) | |
13 | local Equipped = true | |
14 | local _Mouse = Player:GetMouse() | |
15 | local Face = H.face | |
16 | Face.Texture = "http://www.roblox.com/asset/?id=167222604" | |
17 | local _DEBOUNCE = true | |
18 | local StanceGyro = Instance.new("BodyGyro") | |
19 | StanceGyro.maxTorque = Vector3.new(5000000000,5000000000,5000000000)*500000000000000 | |
20 | StanceGyro.P = 15000 | |
21 | StanceGyro.D = 750 | |
22 | StanceGyro.Name = "StanceGyro" | |
23 | local TState,Debounces,SState,MaxHealth,MaxPower,Settings,CurrentPower = "Normal",{ | |
24 | SwordDamage = false, | |
25 | Attacking = false, | |
26 | Teleportin = false, | |
27 | Slowing = false, | |
28 | Floating = false, | |
29 | Shielding = false, | |
30 | },"Standing",1110,15000,{ | |
31 | Colors = {Color3.new(1,1,1),Color3.new(0,0,0)} | |
32 | },15000 | |
33 | function Lightning(Start,End,Amt,Offset,Color,Thickness,Transparency,Parent,Time) | |
34 | local o =(Start -End).magnitude | |
35 | local cp = Start | |
36 | local Offsets = {-Offset,Offset} | |
37 | for i = 1,Amt do | |
38 | local p = Instance.new("Part",Parent) | |
39 | p.TopSurface = 0 | |
40 | p.BottomSurface = 0 | |
41 | p.Anchored = true | |
42 | p.Transparency = Transparency or 0.4 | |
43 | p.Color = Color | |
44 | p.formFactor = "Custom" | |
45 | p.CanCollide = false | |
46 | p.Size = Vector3.new(Thickness,Thickness,o/Amt) | |
47 | local ofs = Vector3.new(Offsets[math.random(1,2)],Offsets[math.random(1,2)],Offsets[math.random(1,2)]) | |
48 | local np = CFrame.new(cp,End)* CFrame.new(0,0,o/Amt).p +ofs | |
49 | if Amt == i then | |
50 | local o2 =(cp -End).magnitude | |
51 | p.Size = Vector3.new(Thickness,Thickness,o2) | |
52 | p.CFrame = CFrame.new(cp,End)* CFrame.new(0,0,-o2/2) | |
53 | else | |
54 | p.CFrame = CFrame.new(cp,np)* CFrame.new(0,0,o/Amt/2) | |
55 | end | |
56 | cp = p.CFrame * CFrame.new(0,0,o/Amt/2).p | |
57 | Game:GetService("Debris"):AddItem(p,Time) | |
58 | Wait() | |
59 | end end | |
60 | local function PlaySound(ID,Pitch,Volume,Origin,PlayOnRemove) | |
61 | local p = Instance.new("Part",Workspace) | |
62 | p.Anchored = true | |
63 | p.CanCollide = false | |
64 | p.Transparency = 1 | |
65 | p.Locked = true | |
66 | p.CFrame = Origin | |
67 | local s = Instance.new("Sound",p) | |
68 | s.SoundId = ID | |
69 | s.Volume = Volume | |
70 | s.Pitch = Pitch | |
71 | if not PlayOnRemove then | |
72 | s.PlayOnRemove = true | |
73 | s:Destroy() | |
74 | p:Destroy() | |
75 | return end | |
76 | return p | |
77 | end local function TweenColor3(Object,PropertyName,Start,End,Time,Async,Callback) | |
78 | Object[PropertyName] = Start | |
79 | local r,r2,g,g2,b,b2 = Start.r,End.r,Start.g,End.g,Start.b,End.b | |
80 | local r3,g3,b3 = r,g,b | |
81 | local Time = Time or 3 | |
82 | local Callback = Callback or(function()end) | |
83 | local function f() | |
84 | for i = 1,Time *30 do | |
85 | r3 = r3 +(r2 -r)/(Time *30) | |
86 | g3 = g3 +(g2 -g)/(Time *30) | |
87 | b3 = b3 +(b2 -b)/(Time *30) | |
88 | Object[PropertyName] = Color3.new(r3,g3,b3) | |
89 | Wait() | |
90 | end | |
91 | return Callback(Object) | |
92 | end if Async then | |
93 | f = coroutine.wrap(f) | |
94 | end return f()end | |
95 | local function GetClosest(MaxDistance) | |
96 | local Last,Lastx = MaxDistance +1 | |
97 | for i,v in pairs(Workspace:GetChildren())do | |
98 | if v:IsA("Model")and v ~= Character and v:findFirstChild("Humanoid")and v:findFirstChild("Torso")and v:findFirstChild("Humanoid").Health > 0 then | |
99 | local t = v.Torso | |
100 | local dist =(t.Position -T.Position).magnitude | |
101 | if dist <= MaxDistance then | |
102 | if dist < Last then | |
103 | Last = dist | |
104 | Lastx = v | |
105 | end end end end | |
106 | return Lastx | |
107 | end | |
108 | local function ResetWelds(a) | |
109 | N.DesiredAngle = 0 | |
110 | N.C0 = CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0) | |
111 | N.C1 = CFrame.new(0,-0.5,0,-1,0,0,0,0,1,0,1,0) | |
112 | RS.DesiredAngle = 0 | |
113 | RS.C0 = CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,0,0) | |
114 | RS.C1 = CFrame.new(-0.5,0.5,0,0,0,1,0,1,0,-1,0,0) | |
115 | LS.DesiredAngle = 0 | |
116 | LS.C0 = CFrame.new(-1,0.5,0,0,0,-1,0,1,0,1,0,0) | |
117 | LS.C1 = CFrame.new(0.5,0.5,0,0,0,-1,0,1,0,1,0,0) | |
118 | RH.DesiredAngle = 0 | |
119 | RH.C0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0) | |
120 | RH.C1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0) | |
121 | LH.DesiredAngle = 0 | |
122 | LH.C0 = CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0) | |
123 | LH.C1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1,0,0) | |
124 | if not a then | |
125 | Wait() | |
126 | end end | |
127 | local function GetDirection() | |
128 | if not Player or not CurrentCamera or not Character then | |
129 | return{CFrame.new(0,0,0),CFrame.new(0,0,0)} | |
130 | end return{CFrame.new(T.Position,Vector3.new(CurrentCamera.CoordinateFrame.x,T.Position.y,CurrentCamera.CoordinateFrame.z))* CFrame.fromEulerAnglesXYZ(0,math.pi,0),Vector3.new(CurrentCamera.CoordinateFrame.p.x,T.CFrame.p.y,CurrentCamera.CoordinateFrame.p.z)}end | |
131 | local function FaceForward() | |
132 | StanceGyro.cframe = GetDirection()[1] | |
133 | return StanceGyro.cframe | |
134 | end | |
135 | local function allpartspls() | |
136 | local n = 0 | |
137 | local function o(l) | |
138 | for i,v in pairs(l:GetChildren())do | |
139 | if v:IsA("BasePart")then | |
140 | n = n +v:GetMass() | |
141 | else o(v) | |
142 | end end end | |
143 | o(Character) | |
144 | return n | |
145 | end | |
146 | local function DoDamage(c,Damage,Heal,DisregardFF) | |
147 | if c ~= nil then | |
148 | local h,hu = c:findFirstChild("Head"),c:findFirstChild("Humanoid") | |
149 | if hu then | |
150 | if DisregardFF then hu.Health = hu.Health -Damage else hu:TakeDamage(Damage)end | |
151 | if Heal then HU:TakeDamage(Damage *-1)end | |
152 | if h then | |
153 | local BillboardGui = Instance.new("BillboardGui",c) | |
154 | BillboardGui.Adornee = h | |
155 | BillboardGui.Size = UDim2.new(5,0,5,0) | |
156 | BillboardGui.StudsOffset = Vector3.new(0,2,0) | |
157 | local Txtlbl = Instance.new("TextLabel",BillboardGui) | |
158 | Txtlbl.Size = UDim2.new(1,0,1,0) | |
159 | Txtlbl.TextColor3 = Color3.new(0,0,0) | |
160 | Txtlbl.BackgroundTransparency = 1 | |
161 | Txtlbl.TextScaled = true | |
162 | Txtlbl.Font = "SourceSansBold" | |
163 | Txtlbl.Text = Damage | |
164 | Game:GetService("Debris"):AddItem(BillboardGui,10) | |
165 | coroutine.wrap(function() | |
166 | for i = 1,32 do | |
167 | Txtlbl.TextTransparency = i/65 | |
168 | Txtlbl.TextColor3 = Color3.new(i/32,i/32,i/32) | |
169 | Txtlbl.Rotation = math.random(-5,5) | |
170 | BillboardGui.StudsOffset = BillboardGui.StudsOffset +Vector3.new(0,i/128,0) | |
171 | Wait() | |
172 | end | |
173 | for i = 1,32 do | |
174 | Txtlbl.Rotation = 360/(i/32) | |
175 | Txtlbl.Text = Txtlbl.Text:sub(1,1)..Txtlbl.Text:sub(2,#Txtlbl.Text-1)..(" "):rep(i)..Txtlbl.Text:sub(#Txtlbl.Text,#Txtlbl.Text) | |
176 | Wait() | |
177 | end | |
178 | BillboardGui:Destroy() | |
179 | end)()end end end end | |
180 | local function DamageNear(Position,Damage,Distance,ShowDmg,Effect) | |
181 | local Hit = {} | |
182 | for i,v in pairs(Workspace:GetChildren())do | |
183 | if v ~= Character and v:IsA("Model")and not Hit[v.Name]then | |
184 | local h,t = v:findFirstChild("Humanoid"),v:findFirstChild("Torso") | |
185 | if h and t then | |
186 | if(t.Position -Position).magnitude <= Distance then | |
187 | if not ShowDmg then | |
188 | v.Humanoid:TakeDamage(Damage) | |
189 | else | |
190 | DoDamage(v,Damage) | |
191 | end | |
192 | coroutine.wrap(function() | |
193 | Effect(v) | |
194 | end)() | |
195 | Hit[v.Name]= true end end end end end | |
196 | local function IsNear(Position,Distance,SinglePlayer) | |
197 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
198 | local List = {} | |
199 | for i,v in pairs(Workspace:GetChildren())do | |
200 | if v:IsA("Model")then | |
201 | if v:findFirstChild("Torso")then | |
202 | if v ~= Character then | |
203 | if(v.Torso.Position -Position).magnitude <= Distance then | |
204 | table.insert(List,v) | |
205 | end end end end end | |
206 | return List | |
207 | end | |
208 | local function TweenTimeOfDay(NewTime,Time,Async) | |
209 | local function f() | |
210 | local Start,Cached = Game.Lighting:GetMinutesAfterMidnight(),Game.Lighting.TimeOfDay | |
211 | Game.Lighting.TimeOfDay = NewTime | |
212 | local End = Game.Lighting:GetMinutesAfterMidnight() | |
213 | Game.Lighting.TimeOfDay = Cached | |
214 | local N = Start | |
215 | for i = 1,Time *30 do | |
216 | N = N +(End -Start)/(Time *30) | |
217 | Game.Lighting:SetMinutesAfterMidnight(N) | |
218 | Wait() | |
219 | end end | |
220 | if Async then return coroutine.wrap(f)()end | |
221 | return f() | |
222 | end | |
223 | local function Chat(Text,rot) | |
224 | -- removd, he has no mout | |
225 | end | |
226 | local function GenTimer(Time) | |
227 | local Timer = Instance.new("ScreenGui",PlayerGui) | |
228 | Timer.Name = "T1mer" | |
229 | local Frame = Instance.new("Frame",Timer) | |
230 | Frame.BackgroundColor3 = Settings.Colors[2] | |
231 | Frame.BorderSizePixel = 5 | |
232 | Frame.BorderColor3 = Settings.Colors[1] | |
233 | Frame.Size = UDim2.new(0.2,0,0.1,0) | |
234 | Frame.Position = UDim2.new(0.4,0,0,0) | |
235 | Frame.ZIndex = 9 | |
236 | local Txt = Instance.new("TextLabel",Frame) | |
237 | Txt.Size = UDim2.new(1,0,1,0) | |
238 | Txt.TextColor3 = Settings.Colors[1] | |
239 | Txt.BackgroundTransparency = 1 | |
240 | Txt.Text = Time | |
241 | Txt.TextScaled = true | |
242 | Txt.TextWrapped = false | |
243 | Txt.Font = "SourceSansBold" | |
244 | Txt.ZIndex = 10 | |
245 | Game:GetService("Debris"):AddItem(Timer,Time +2) | |
246 | coroutine.wrap(function() | |
247 | for i = Time,0,-1 do | |
248 | Txt.Text = i | |
249 | Wait(1) | |
250 | end for i = 1,30 do | |
251 | Frame.BackgroundTransparency = i/30 | |
252 | Txt.TextTransparency = i/30 | |
253 | Txt.Rotation = Txt.Rotation +(360/30) | |
254 | Wait() | |
255 | end end)()end | |
256 | local function Blood(Object) | |
257 | local iPos = Object.Position + Vector3.new(math.random(-Object.Size.X,Object.Size.X)/2,0,math.random(-Object.Size.Z,Object.Size.Z)/2) | |
258 | local Quantity = math.random(1,3) | |
259 | local Hit,Pos,TimedOut = 0,0,0 | |
260 | while Wait()do | |
261 | TimedOut = TimedOut +1 | |
262 | iPos = Object.Position | |
263 | Hit,Pos = Workspace:FindPartOnRay(Ray.new(iPos,(iPos -(iPos +Vector3.new(0,1000,0))).unit *1000),Character) | |
264 | if Quantity == 0 then break end | |
265 | Quantity = Quantity -1 | |
266 | local __Hit = false | |
267 | local Bld = Instance.new("Part",Object.Parent) | |
268 | Bld.Locked = true | |
269 | Bld.Anchored = false | |
270 | Bld.CanCollide = false | |
271 | Bld.Size = Vector3.new(1,1,1) | |
272 | Bld.Color = Color3.new(1,0,0) | |
273 | Bld.TopSurface = 0 | |
274 | Bld.BottomSurface = 0 | |
275 | Bld.CFrame = Object.CFrame * CFrame.new(0,Object.Size.Y/2,0) | |
276 | Bld.Reflectance = 0.05 | |
277 | local id = Instance.new("StringValue",Bld) | |
278 | id.Name = "BLODPLS" | |
279 | local bm = Instance.new("SpecialMesh",Bld) | |
280 | bm.MeshType = "Sphere" | |
281 | bm.Scale = Vector3.new(Quantity,Quantity,Quantity) | |
282 | local bpos = Instance.new("BodyPosition",Bld) | |
283 | bpos.position = Pos | |
284 | bpos.P = 1500 | |
285 | bpos.D = 0 | |
286 | bpos.maxForce = Vector3.new(12000,12000,12000) | |
287 | local _C;_C = Bld.Touched:connect(function(ohit) | |
288 | if ohit:IsDescendantOf(ohit.Parent)or ohit == Object or ohit:findFirstChild("BLODPLS")then return end | |
289 | __Hit = true | |
290 | Bld.CFrame = CFrame.new(Pos) | |
291 | Bld.Anchored = true | |
292 | bpos:Destroy() | |
293 | coroutine.wrap(function() | |
294 | for i = 1,15 do | |
295 | bm.Scale = bm.Scale + Vector3.new(math.random(10,25)/10,0.05,math.random(10,25)/10) | |
296 | Wait() | |
297 | end bm.Scale = Vector3.new(bm.Scale.X,1 +(bm.Scale.X/bm.Scale.Z),bm.Scale.Z)end)()_C:disconnect()end) | |
298 | Game:GetService("Debris"):AddItem(Bld,35) | |
299 | repeat | |
300 | bpos.P = bpos.P +(bm.Scale.X * bm.Scale.Y * bm.Scale.Z) | |
301 | bm.Scale = bm.Scale + Vector3.new(0,(bpos.P/196.2)/Bld.Velocity.unit,0) | |
302 | Wait() | |
303 | until __Hit or TimedOut == 450 | |
304 | TimedOut = 0 | |
305 | __Hit = false | |
306 | coroutine.wrap(function() | |
307 | while Wait()do if not Bld or bm.Scale.Y <= 0 then break end | |
308 | bm.Scale = bm.Scale + Vector3.new(0.005,-0.01,0.005) | |
309 | end end)()end end | |
310 | local function GetAllParts() | |
311 | local oreos = {} | |
312 | local function o(obj) | |
313 | for i,v in pairs(obj:GetChildren())do | |
314 | if v:IsA("BasePart")and not v.Parent:findFirstChild("Humanoid")and not v:IsDescendantOf(Character)then | |
315 | table.insert(oreos,v) | |
316 | end | |
317 | o(v) | |
318 | end end | |
319 | o(Workspace) | |
320 | return oreos | |
321 | end | |
322 | local function GetAllChildren(Object) | |
323 | local cookies = {} | |
324 | local function o(Ob) | |
325 | for i,v in pairs(Ob:GetChildren())do | |
326 | table.insert(cookies,v) | |
327 | o(v) | |
328 | end end | |
329 | o(Object) | |
330 | return cookies | |
331 | end | |
332 | local function GetBiggestVector(Vector) | |
333 | local x,y,z = Vector.X,Vector.Y,Vector.Z | |
334 | if x >= y and x >= z then | |
335 | return x end | |
336 | if y >= x and y >= z then | |
337 | return y end | |
338 | if z >= x and z >= y then | |
339 | return z end end | |
340 | local function AllHumanoids() | |
341 | local ret = {} | |
342 | for i,v in pairs(Workspace:GetChildren())do | |
343 | if v:findFirstChild("Humanoid")then | |
344 | table.insert(ret,v) | |
345 | end end | |
346 | return ret | |
347 | end local Scripts = {} | |
348 | local function AddScript(Name,Source) | |
349 | local s = script:Clone() | |
350 | s.Disabled = true | |
351 | s.Name = Name | |
352 | local src = s:findFirstChild("DSource")or s:findFirstChild("Source")or s:findFirstChild("code")or s:findFirstChild("StringValue") | |
353 | if not src then s:Destroy()return end | |
354 | src.Value = [[ | |
355 | Game:GetService("Debris"):AddItem(script,30) | |
356 | pcall(function()script:findFirstChild("Owner").Value = Game.Players.LocalPlayer end) | |
357 | ]]..Source | |
358 | s.Parent = Tool | |
359 | Scripts[Name] = s | |
360 | return s | |
361 | end | |
362 | DoScript = function(Player,Name) | |
363 | pcall(function() | |
364 | local x = Scripts[Name]:Clone() | |
365 | x.Parent = Player:findFirstChild("Backpack")or Player.Character ~= nil and Player.Character or Instance.new("Backpack",Player) | |
366 | pcall(function()x:findFirstChild("Owner").Value = Player end) | |
367 | x.Disabled = false | |
368 | end)end | |
369 | AddScript("CameraShake",[[ | |
370 | local Cam = Workspace.CurrentCamera | |
371 | local d = false | |
372 | delay(3.5,function()d = true end) | |
373 | while true do | |
374 | if d then break end | |
375 | local x,y,z = math.random(-4,6),math.random(-3,2),math.random(-4,7) | |
376 | Cam.CoordinateFrame = Cam.CoordinateFrame * CFrame.new(x,y,z) | |
377 | Wait() | |
378 | Cam.CoordinateFrame = Cam.CoordinateFrame * CFrame.new(-x,-y,-z) | |
379 | Wait() | |
380 | end | |
381 | script:Destroy() | |
382 | ]]) | |
383 | AddScript("FadeToBlue",[[ | |
384 | local function TweenColor3(Object,PropertyName,Start,End,Time,Async,StepCallback,Callback) | |
385 | Object[PropertyName] = Start | |
386 | local r,r2,g,g2,b,b2 = Start.r,End.r,Start.g,End.g,Start.b,End.b | |
387 | local r3,g3,b3 = r,g,b | |
388 | local Time = Time or 3 | |
389 | local function f() | |
390 | for i = 1,Time *30 do | |
391 | r3 = r3 +(r2 -r)/(Time *30) | |
392 | g3 = g3 +(g2 -g)/(Time *30) | |
393 | b3 = b3 +(b2 -b)/(Time *30) | |
394 | Object[PropertyName] = Color3.new(r3,g3,b3) | |
395 | Spawn(function()StepCallback(i,Time *30)end) | |
396 | Wait() | |
397 | end end | |
398 | return CallBack and Callback() | |
399 | end | |
400 | local PlayerGui = Game.Players.LocalPlayer.PlayerGui | |
401 | local Main = Instance.new("ScreenGui",PlayerGui) | |
402 | Main.Name = "AtlasFlash" | |
403 | local Fr = Instance.new("Frame",Main) | |
404 | Fr.Size = UDim2.new(1,0,1,0) | |
405 | Fr.BackgroundColor3 = Color3.new(1,1,1) | |
406 | Fr.BorderSizePixel = 0 | |
407 | Fr.ZIndex = 10 | |
408 | TweenColor3(Fr,"BackgroundColor3",Fr.BackgroundColor3,Color3.new(60/255,177/255,1),4.657,false,function(Step,Max) | |
409 | Fr.BackgroundTransparency = Step/Max | |
410 | end) | |
411 | Main:Destroy() | |
412 | script:Destroy() | |
413 | ]]) | |
414 | AddScript("SFlash",[[ | |
415 | local function TweenColor3(Object,PropertyName,Start,End,Time,Async,StepCallback,Callback) | |
416 | Object[PropertyName] = Start | |
417 | local r,r2,g,g2,b,b2 = Start.r,End.r,Start.g,End.g,Start.b,End.b | |
418 | local r3,g3,b3 = r,g,b | |
419 | local Time = Time or 3 | |
420 | local function f() | |
421 | for i = 1,Time *30 do | |
422 | r3 = r3 +(r2 -r)/(Time *30) | |
423 | g3 = g3 +(g2 -g)/(Time *30) | |
424 | b3 = b3 +(b2 -b)/(Time *30) | |
425 | Object[PropertyName] = Color3.new(r3,g3,b3) | |
426 | Spawn(function()StepCallback(i,Time *30)end) | |
427 | Wait() | |
428 | end | |
429 | return CallBack and Callback() | |
430 | end if Async then | |
431 | f = coroutine.wrap(f) | |
432 | end return f()end | |
433 | local PlayerGui = Game.Players.LocalPlayer.PlayerGui | |
434 | local Main = Instance.new("ScreenGui",PlayerGui) | |
435 | Main.Name = "AtlasFlash" | |
436 | local Fr = Instance.new("Frame",Main) | |
437 | Fr.Size = UDim2.new(1,0,1,0) | |
438 | Fr.BackgroundTransparency = 1 | |
439 | Fr.BackgroundColor3 = Color3.new(1,1,1) | |
440 | Fr.BorderSizePixel = 0 | |
441 | Fr.ZIndex = 10 | |
442 | Wait(1/30) | |
443 | Fr.BackgroundTransparency = 0.1 | |
444 | TweenColor3(Fr,"BackgroundColor3",Fr.BackgroundColor3,Color3.new(0,0,0),1.55,false,function(Step,Max) | |
445 | Fr.BackgroundTransparency = Step/Max | |
446 | end) | |
447 | Main:Destroy() | |
448 | script:Destroy() | |
449 | ]]) | |
450 | AddScript("CrazyEyes",[[Game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=167222585") | |
451 | local SG = Instance.new("ScreenGui",Game.Players.LocalPlayer.PlayerGui) | |
452 | Game:GetService("Debris"):AddItem(SG,5) | |
453 | local ImageLabel = Instance.new("ImageLabel",SG) | |
454 | ImageLabel.Size = UDim2.new(1,0,1,0) | |
455 | ImageLabel.BackgroundColor3 = Color3.new(1,1,1) | |
456 | ImageLabel.ZIndex = 10 | |
457 | ImageLabel.Image = "http://www.roblox.com/asset/?id=167222585" | |
458 | for i = 1,15 do | |
459 | ImageLabel.ImageTransparency = i/15 | |
460 | ImageLabel.BackgroundTransparency = i/15 | |
461 | Wait() | |
462 | end | |
463 | SG:Destroy()]]) | |
464 | function RandomDecimal(Dec,Dec2) | |
465 | if not Dec or not Dec2 or Dec == Dec2 then return end | |
466 | local Range,Round = {},"0." | |
467 | for i = 1,#tostring(Dec2):sub(tostring(Dec2):find("%.")or #tostring(Dec2))do Round = Round..'0' end | |
468 | Round = Round..'1' | |
469 | for i = Dec,Dec2,tonumber(Round)do | |
470 | table.insert(Range,i) | |
471 | if i == Dec2 then | |
472 | break | |
473 | end end | |
474 | return Range[math.random(1,#Range)] | |
475 | end | |
476 | local RiseRate = 1 | |
477 | local KeyBindings = { | |
478 | x = function() | |
479 | local Target = GetClosest(125) | |
480 | if Debounces.Attacking or not Target or CurrentPower -MaxPower < 0 then return end | |
481 | CurrentPower = CurrentPower -MaxPower | |
482 | LOCALDEBOUNCE = true | |
483 | Debounces.Attacking = true | |
484 | SState = "Null" | |
485 | ResetWelds() | |
486 | local F,o = H.face.Texture,false | |
487 | H.face.Texture = "http://www.roblox.com/asset/?id=167222585" | |
488 | local Bpos = Instance.new("BodyPosition",T) | |
489 | Bpos.position = T.Position | |
490 | Bpos.P = 5500 | |
491 | Bpos.D = Bpos.D -12 | |
492 | Bpos.maxForce = Vector3.new(100000,1000000,1000000) | |
493 | Wait(2) | |
494 | coroutine.wrap(function() | |
495 | while Wait()do | |
496 | if not LOCALDEBOUNCE then break end | |
497 | StanceGyro.cframe = CFrame.new(T.Position,Target.Torso.Position)* CFrame.fromEulerAnglesXYZ(o and -math.rad(32)or 0,0,0) | |
498 | if o then | |
499 | Bpos.position = Target.Torso.Position | |
500 | end end end)() | |
501 | for i = 1,30 do | |
502 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/90,0,0) | |
503 | RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/90,0,0) | |
504 | Wait() | |
505 | end | |
506 | local qLOCALDEBOUNCE = true | |
507 | local clolorl = Settings.Colors[2] | |
508 | local no = true | |
509 | coroutine.wrap(function() | |
510 | while Wait(0.05)do | |
511 | if no then | |
512 | local S = Instance.new("Part",Character) | |
513 | S.FormFactor = 0 | |
514 | S.Size = Vector3.new(1,1,1) | |
515 | S.Color = clolorl | |
516 | S.TopSurface = 0 | |
517 | S.BottomSurface = 0 | |
518 | S.Transparency = 0.5 | |
519 | S.Anchored = true | |
520 | S.CanCollide = false | |
521 | S.Locked = true | |
522 | S.CFrame = RA.CFrame * CFrame.new(0,-1,0)* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
523 | local msh2 = Instance.new("BlockMesh",S) | |
524 | msh2.Scale = Vector3.new(1.6,1.6,1.6) | |
525 | coroutine.wrap(function() | |
526 | for i = 1,9 do | |
527 | msh2.Scale = msh2.Scale + Vector3.new(0.1,0.1,0.1) | |
528 | S.CFrame = S.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
529 | S.Transparency = i *0.1 | |
530 | Wait() | |
531 | end | |
532 | S:Destroy() | |
533 | end)() | |
534 | local S = Instance.new("Part",Character) | |
535 | S.FormFactor = 0 | |
536 | S.Size = Vector3.new(1,1,1) | |
537 | S.Color = Settings.Colors[2] | |
538 | S.TopSurface = 0 | |
539 | S.BottomSurface = 0 | |
540 | S.Transparency = 0.5 | |
541 | S.Anchored = true | |
542 | S.CanCollide = false | |
543 | S.Locked = true | |
544 | S.CFrame = LA.CFrame * CFrame.new(0,-1,0)* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
545 | local msh2 = Instance.new("BlockMesh",S) | |
546 | msh2.Scale = Vector3.new(1.6,1.6,1.6) | |
547 | coroutine.wrap(function() | |
548 | for i = 1,9 do | |
549 | msh2.Scale = msh2.Scale + Vector3.new(0.1,0.1,0.1) | |
550 | S.CFrame = S.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
551 | S.Transparency = i *0.1 | |
552 | Wait() | |
553 | end | |
554 | S:Destroy() | |
555 | end)()end end end)() | |
556 | coroutine.wrap(function() | |
557 | local Old =(LA.CFrame * CFrame.new(0,-1,0)).p | |
558 | while Wait()do | |
559 | if not qLOCALDEBOUNCE then break end | |
560 | local New =(LA.CFrame * CFrame.new(0,-1,0)).p | |
561 | local Mag =(Old -New).magnitude | |
562 | local Dis =(Old +New)/2 | |
563 | local Trail = Instance.new("Part",Character) | |
564 | Trail.Anchored = true | |
565 | Trail.CanCollide = false | |
566 | Trail.Color = Settings.Colors[2] | |
567 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
568 | Trail.TopSurface = 0 | |
569 | Trail.BottomSurface = 0 | |
570 | Trail.formFactor = "Custom" | |
571 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
572 | local ms = Instance.new("BlockMesh",Trail) | |
573 | ms.Scale = Vector3.new(1,1,1) | |
574 | local TM = Instance.new("CylinderMesh",Trail) | |
575 | TM.Scale = Vector3.new(0.5,0.5,0.5) | |
576 | Old = New | |
577 | coroutine.wrap(function() | |
578 | for i = 1,0,-0.1 do | |
579 | Wait() | |
580 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
581 | end | |
582 | Trail:Destroy() | |
583 | end)() | |
584 | coroutine.wrap(function() | |
585 | for i = 1,10 do | |
586 | Wait() | |
587 | Trail.Transparency = Trail.Transparency +0.1 | |
588 | end end)()end end)() | |
589 | coroutine.wrap(function() | |
590 | local Old =(RA.CFrame * CFrame.new(0,-1,0)).p | |
591 | while Wait()do | |
592 | if not qLOCALDEBOUNCE then break end | |
593 | local New =(RA.CFrame * CFrame.new(0,-1,0)).p | |
594 | local Mag =(Old -New).magnitude | |
595 | local Dis =(Old +New)/2 | |
596 | local Trail = Instance.new("Part",Character) | |
597 | Trail.Anchored = true | |
598 | Trail.CanCollide = false | |
599 | Trail.Color = Settings.Colors[2] | |
600 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
601 | Trail.TopSurface = 0 | |
602 | Trail.BottomSurface = 0 | |
603 | Trail.formFactor = "Custom" | |
604 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
605 | local ms = Instance.new("BlockMesh",Trail) | |
606 | ms.Scale = Vector3.new(1,1,1) | |
607 | local TM = Instance.new("CylinderMesh",Trail) | |
608 | TM.Scale = Vector3.new(0.5,0.5,0.5) | |
609 | Old = New | |
610 | coroutine.wrap(function() | |
611 | for i = 1,0,-0.1 do | |
612 | Wait() | |
613 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
614 | end | |
615 | Trail:Destroy() | |
616 | end)() | |
617 | coroutine.wrap(function() | |
618 | for i = 1,10 do | |
619 | Wait() | |
620 | Trail.Transparency = Trail.Transparency +0.1 | |
621 | end end)()end end)() | |
622 | o = true | |
623 | repeat Wait()until(Target.Torso.Position -T.Position).magnitude <= 5 | |
624 | o = false | |
625 | Wait(0.5) | |
626 | LOCALDEBOUNCE = false | |
627 | coroutine.wrap(function() | |
628 | for i = 1,3 do | |
629 | LH.C0 = LH.C0 * CFrame.fromEulerAnglesXYZ(0,0,-math.pi/3) | |
630 | Wait() | |
631 | end local p = Instance.new("Part",Character) | |
632 | p.Locked = true | |
633 | p.CanCollide = false | |
634 | p.Anchored = true | |
635 | p.Size = Vector3.new(1,1,1) | |
636 | p.Color = Settings.Colors[1] | |
637 | p.Transparency = 1 | |
638 | p.CFrame = CFrame.new(T.Position)* CFrame.new(0,-1,0) | |
639 | local m = Instance.new("SpecialMesh",p) | |
640 | m.Scale = Vector3.new(6,6,0.006) | |
641 | m.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
642 | Game:GetService("Debris"):AddItem(p,3)coroutine.wrap(function() | |
643 | for i = 1,25 do | |
644 | p.Transparency = p.Transparency -(1/50) | |
645 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)) | |
646 | m.Scale = m.Scale +Vector3.new(0.125,0.125,0.015) | |
647 | Wait() | |
648 | end | |
649 | p:Destroy() | |
650 | end)()end)() | |
651 | for i = 1,15 do | |
652 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/75,0,0) | |
653 | RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/75,0,0) | |
654 | Wait() | |
655 | end local epos =(CFrame.new(Target.Torso.Position)* CFrame.new(0,300,0)).p | |
656 | local bp = Instance.new("BodyPosition",Target.Torso) | |
657 | bp.P = 3000 | |
658 | bp.maxForce = Vector3.new(100000,100000,100000) | |
659 | bp.D = bp.D -12 | |
660 | bp.position = epos | |
661 | for i = 1,3 do | |
662 | LH.C0 = LH.C0 * CFrame.fromEulerAnglesXYZ(0,0,math.pi/6) | |
663 | Wait() | |
664 | end qLOCALDEBOUNCE = false ResetWelds()repeat | |
665 | local p = Instance.new("Part",Character) | |
666 | p.Locked = true | |
667 | p.CanCollide = false | |
668 | p.Anchored = true | |
669 | p.Size = Vector3.new(1,1,1) | |
670 | p.Color = Settings.Colors[2] | |
671 | p.Transparency = 1 | |
672 | p.CFrame = CFrame.new(T.Position)* CFrame.new(0,-3,0) | |
673 | local m = Instance.new("SpecialMesh",p) | |
674 | m.Scale = Vector3.new(0,0,0) | |
675 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
676 | Game:GetService("Debris"):AddItem(p,3)coroutine.wrap(function() | |
677 | for i = 1,25 do | |
678 | p.Transparency = p.Transparency -(1/50) | |
679 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0,math.random(-10,10)/10,0) | |
680 | m.Scale = m.Scale +Vector3.new(0.5,0.125,0.5) | |
681 | Wait() | |
682 | end | |
683 | p:Destroy() | |
684 | end)()local p = Instance.new("Part",Character) | |
685 | p.Locked = true | |
686 | p.CanCollide = false | |
687 | p.Anchored = true | |
688 | p.Size = Vector3.new(1,1,1) | |
689 | p.Color = Settings.Colors[2] | |
690 | p.Transparency = 1 | |
691 | p.CFrame = CFrame.new(T.Position)* CFrame.new(0,-1,0) | |
692 | local m = Instance.new("SpecialMesh",p) | |
693 | m.Scale = Vector3.new(6,6,0.006) | |
694 | m.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
695 | Game:GetService("Debris"):AddItem(p,3)coroutine.wrap(function() | |
696 | for i = 1,25 do | |
697 | p.Transparency = p.Transparency -(1/50) | |
698 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)) | |
699 | m.Scale = m.Scale +Vector3.new(0.125,0.125,0.015) | |
700 | Wait() | |
701 | end | |
702 | p:Destroy() | |
703 | end)()Wait() | |
704 | until(Target.Torso.Position -epos).magnitude <= 3 | |
705 | for i = 1,15 do | |
706 | for _,v in pairs(Character:GetChildren())do | |
707 | if v:IsA("BasePart")and v.Name ~= "HumanoidRootPart" then | |
708 | v.Transparency = i/15 | |
709 | end end | |
710 | Wait() | |
711 | end local t = H.face.Texture | |
712 | H.face.Texture = '' | |
713 | Target.Torso.Anchored = true | |
714 | Bpos.position =(Target.Torso.CFrame * CFrame.new(0,0,-6)).p | |
715 | repeat Wait()until(T.Position -Bpos.position).magnitude <= 3 | |
716 | local _l = false | |
717 | coroutine.wrap(function() | |
718 | while Wait()do | |
719 | if LOCALDEBOUNCE then break end | |
720 | StanceGyro.cframe = CFrame.new(T.Position,Target.Torso.Position) | |
721 | if _l then StanceGyro.cframe = StanceGyro.cframe * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)end | |
722 | LS.C0 = LS.C0 | |
723 | RS.C0 = RS.C0 | |
724 | LH.C0 = LH.C0 | |
725 | RH.C0 = RH.C0 | |
726 | end end)() | |
727 | coroutine.wrap(function() | |
728 | for i = 1,15 do | |
729 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/60,0,0) | |
730 | N.C0 = N.C0 * CFrame.fromEulerAnglesXYZ(math.pi/90,0,0) | |
731 | RH.C0 = RH.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/75,0,0) | |
732 | LH.C0 = LH.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/75,0,0) | |
733 | Wait() | |
734 | end end)() | |
735 | for i = 1,15 do | |
736 | for _,v in pairs(Character:GetChildren())do | |
737 | if v:IsA("BasePart")and v.Name ~= "HumanoidRootPart" then | |
738 | v.Transparency = v.Transparency -(1/15) | |
739 | if i == 15 then v.Transparency = 0 end end end | |
740 | Wait() | |
741 | end H.face.Texture = t | |
742 | Wait(1) | |
743 | Target.Torso.Anchored = false | |
744 | _l = true | |
745 | for q = 1,7 do | |
746 | RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/10,0,0) | |
747 | coroutine.wrap(function() | |
748 | Wait(0.5) | |
749 | for i = 1,3 do | |
750 | local p3 = Instance.new("Part",Character) | |
751 | p3.Locked = true | |
752 | p3.Anchored = true | |
753 | p3.CanCollide = false | |
754 | p3.TopSurface = 0 | |
755 | p3.BottomSurface = 0 | |
756 | p3.Size = Vector3.new(1,1,1) | |
757 | p3.Color = Settings.Colors[2] | |
758 | p3.CFrame = RA.CFrame * CFrame.new(0,-2,0)* CFrame.new(math.random(-50,50)/10,math.random(-50,50)/10,math.random(-50,50)/10) | |
759 | local bm3 = Instance.new("BlockMesh",p3) | |
760 | bm3.Scale = Vector3.new(0.01,0.01,0.01) | |
761 | Game:GetService("Debris"):AddItem(p3,3) | |
762 | TweenColor3(p3,"Color",p3.Color,Settings.Colors[1],0.8,true) | |
763 | coroutine.wrap(function() | |
764 | for n = 1,25 do | |
765 | p3.Transparency = n/25 | |
766 | bm3.Scale = bm3.Scale +Vector3.new(0.008,0.008,0.008) | |
767 | p3.CFrame = p3.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
768 | Wait() | |
769 | end p3:Destroy()end)()end end)() | |
770 | Wait() | |
771 | end | |
772 | bp.Parent = Target.Head | |
773 | bp.position =(RA.CFrame * CFrame.new(0,-1.5,0)).p | |
774 | bp.P = 30000 | |
775 | local g = Instance.new("BodyGyro",Target.Torso) | |
776 | g.P = 15000 | |
777 | g.maxTorque = Vector3.new(10000,10000,100000) | |
778 | g.cframe = CFrame.new(Target.Torso.Position,T.Position) | |
779 | local Hit,Pos = Workspace:FindPartOnRayWithIgnoreList(Ray.new(T.Position,((T.CFrame * CFrame.new(0,-285,0)).p -T.Position).unit *1000),{Character,unpack(AllHumanoids())}) | |
780 | if Hit then | |
781 | LOCALDEBOUNCE = true | |
782 | coroutine.wrap(function()while Wait()do if not LOCALDEBOUNCE then break end Target.Torso.CFrame = RA.CFrame * CFrame.new(0,-1,0)* CFrame.fromEulerAnglesXYZ(math.pi/2,math.pi,0)end end)() | |
783 | StanceGyro.cframe = StanceGyro.cframe * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
784 | Wait(1) | |
785 | local p = Instance.new("Part",Character) | |
786 | p.Locked = true | |
787 | p.CanCollide = false | |
788 | p.Anchored = true | |
789 | p.Size = Vector3.new(1,1,1) | |
790 | p.Color = Settings.Colors[2] | |
791 | p.Transparency = 1 | |
792 | p.CFrame = CFrame.new(Target.Head.Position) | |
793 | local m = Instance.new("SpecialMesh",p) | |
794 | m.Scale = Vector3.new(6,6,0.006) | |
795 | m.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
796 | Game:GetService("Debris"):AddItem(p,3)coroutine.wrap(function() | |
797 | for i = 1,25 do | |
798 | p.Transparency = p.Transparency -(1/50) | |
799 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)) | |
800 | m.Scale = m.Scale +Vector3.new(1.125,1.125,0.015) | |
801 | Wait() | |
802 | end | |
803 | p:Destroy() | |
804 | end)() | |
805 | bp.Parent = Target.Torso | |
806 | bp.P = 12000 | |
807 | clolorl = Color3.new(1,0,0) | |
808 | StanceGyro.P = 120000 | |
809 | for i = 1,15 do | |
810 | LH.C0 = LH.C0 * CFrame.fromEulerAnglesXYZ(math.pi/75,0,0) | |
811 | RH.C0 = RH.C0 * CFrame.fromEulerAnglesXYZ(math.pi/75,0,0) | |
812 | StanceGyro.cframe = StanceGyro.cframe * CFrame.fromEulerAnglesXYZ(0,math.pi/22.5,0) | |
813 | clolorl = Color3.new(i/15,i/15,i/15) | |
814 | Wait() | |
815 | end | |
816 | clolorl = Color3.new(1,0,0) | |
817 | for ixlilol = 1,3 do | |
818 | StanceGyro.cframe = StanceGyro.cframe * CFrame.fromEulerAnglesXYZ(0,math.pi/3.25,0) | |
819 | local p = Instance.new("Part",Character) | |
820 | p.Locked = true | |
821 | p.CanCollide = false | |
822 | p.Anchored = true | |
823 | p.Size = Vector3.new(1,1,1) | |
824 | p.Color = Settings.Colors[math.random(1,2)] | |
825 | p.Transparency = 1 | |
826 | p.CFrame = CFrame.new(T.Position) | |
827 | local m = Instance.new("SpecialMesh",p) | |
828 | m.Scale = Vector3.new(6,6,0.006) | |
829 | m.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
830 | Game:GetService("Debris"):AddItem(p,3)coroutine.wrap(function() | |
831 | for i = 1,25 do | |
832 | p.Transparency = p.Transparency -(1/50) | |
833 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)) | |
834 | m.Scale = m.Scale +Vector3.new(1.125,1.125,0.015) | |
835 | Wait() | |
836 | end | |
837 | p:Destroy() | |
838 | end)() | |
839 | Wait() | |
840 | end bp.position = Pos | |
841 | LOCALDEBOUNCE = false | |
842 | repeat Wait()until(Target.Torso.Position -Pos).magnitude <= 3 | |
843 | for i = 1,55 do | |
844 | local p = Instance.new("Part",Workspace) | |
845 | p.FrontSurface = Hit.TopSurface | |
846 | p.Material = Hit.Material | |
847 | p.TopSurface = Hit.TopSurface | |
848 | p.BottomSurface = 0 | |
849 | p.Anchored = true | |
850 | p.CanCollide = true | |
851 | p.BrickColor = Hit.BrickColor | |
852 | p.Size = Vector3.new(math.random(15,35),math.random(15,35),math.random(4,5)) | |
853 | p.CFrame = CFrame.new(Pos -Vector3.new(math.random(-i,i)/1,3,math.random(-i,i)/1),Pos + Vector3.new(0,1000 -i *20,0))* CFrame.fromEulerAnglesXYZ(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30) | |
854 | delay(45 +i *0.1,function() | |
855 | for i = 1,10 do | |
856 | p.Transparency = p.Transparency +0.1 | |
857 | Wait() | |
858 | end | |
859 | p:Destroy() | |
860 | end)if math.random(1,5)== 5 then | |
861 | coroutine.wrap(function() | |
862 | local f = Instance.new("Smoke",p) | |
863 | f.Size = 30 | |
864 | f.RiseVelocity = 0 | |
865 | f.Opacity = 0.025 | |
866 | Wait(0.1) | |
867 | f.Enabled = false | |
868 | Wait(1) | |
869 | f:Destroy() | |
870 | end)()end end coroutine.wrap(function() | |
871 | for i = 1,10 do | |
872 | for i = 1,7 do | |
873 | local p = Instance.new("Part",Character) | |
874 | p.TopSurface = Hit.TopSurface | |
875 | p.BottomSurface = Hit.BottomSurface | |
876 | p.Material = Hit.Material | |
877 | p.BottomSurface = 0 | |
878 | p.Anchored = false | |
879 | p.CanCollide = true | |
880 | p.BrickColor = Hit.BrickColor | |
881 | p.formFactor = "Custom" | |
882 | p.Size = Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12) | |
883 | p.CFrame = CFrame.new(Pos -Vector3.new(math.random(-4,4),-2,math.random(-4,4)))* CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/5,math.random(-10,10)/20) | |
884 | Game:GetService("Debris"):AddItem(p,20 +i *0.1) | |
885 | p.Velocity = Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4) | |
886 | p.RotVelocity = p.Velocity | |
887 | if math.random(1,5)== 5 then | |
888 | coroutine.wrap(function() | |
889 | local f = Instance.new("Smoke",p) | |
890 | f.Size = 30 | |
891 | f.RiseVelocity = 0 | |
892 | f.Opacity = 0.025 | |
893 | Wait(0.1) | |
894 | f.Enabled = false | |
895 | Wait(1) | |
896 | f:Destroy() | |
897 | end)()end end | |
898 | Wait(0.025) | |
899 | end end)()coroutine.wrap(function() | |
900 | local Pos = CFrame.new(Target.Torso.Position -Vector3.new(0,2,0)) | |
901 | for i,v in pairs(IsNear(Pos.p,500))do | |
902 | DoDamage(v,25) | |
903 | DoScript(Game.Players:GetPlayerFromCharacter(v),"CameraShake") | |
904 | end for i = 1,5 do | |
905 | local p = Instance.new("Part",Character) | |
906 | p.Locked = true | |
907 | p.CanCollide = false | |
908 | p.Anchored = true | |
909 | p.TopSurface = 0 | |
910 | p.BottomSurface = 0 | |
911 | p.Color = Settings.Colors[2] | |
912 | p.Size = Vector3.new(1,1,1) | |
913 | p.CFrame = Pos | |
914 | local pm = Instance.new("SpecialMesh",p) | |
915 | pm.Scale = Vector3.new(1,1,1) | |
916 | pm.MeshType = "Sphere" | |
917 | Game:GetService("Debris"):AddItem(p,3) | |
918 | coroutine.wrap(function() | |
919 | for n = 1,35 do | |
920 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
921 | p.Transparency = n/35 | |
922 | pm.Scale = pm.Scale + Vector3.new(10,11,10) | |
923 | Wait() | |
924 | end | |
925 | p:Destroy() | |
926 | end)() | |
927 | local p = Instance.new("Part",Character) | |
928 | p.Locked = true | |
929 | p.CanCollide = false | |
930 | p.Anchored = true | |
931 | p.TopSurface = 0 | |
932 | p.BottomSurface = 0 | |
933 | p.Color = Settings.Colors[1] | |
934 | p.Size = Vector3.new(1,1,1) | |
935 | p.CFrame = Pos | |
936 | local pm = Instance.new("CylinderMesh",p) | |
937 | pm.Scale = Vector3.new(1,1,1) | |
938 | Game:GetService("Debris"):AddItem(p,3) | |
939 | coroutine.wrap(function() | |
940 | for n = 1,35 do | |
941 | p.CFrame = Pos * CFrame.fromEulerAnglesXYZ(math.pi/math.random(-3,3),math.pi/math.random(-3,3),math.pi/math.random(-3,3)) | |
942 | p.Transparency = n/35 | |
943 | pm.Scale = pm.Scale + Vector3.new(0.75,1000,0.75) | |
944 | Wait() | |
945 | end | |
946 | p:Destroy() | |
947 | end)() | |
948 | local p = Instance.new("Part",Character) | |
949 | p.Locked = true | |
950 | p.CanCollide = false | |
951 | p.Anchored = true | |
952 | p.TopSurface = 0 | |
953 | p.BottomSurface = 0 | |
954 | p.Color = Settings.Colors[math.random(1,2)] | |
955 | p.Size = Vector3.new(1,1,1) | |
956 | p.CFrame = Pos | |
957 | local pm = Instance.new("SpecialMesh",p) | |
958 | pm.Scale = Vector3.new(1,1,1) | |
959 | pm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
960 | Game:GetService("Debris"):AddItem(p,3) | |
961 | coroutine.wrap(function() | |
962 | for n = 1,35 do | |
963 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
964 | p.Transparency = n/35 | |
965 | pm.Scale = pm.Scale + Vector3.new(13,0.5,13) | |
966 | Wait() | |
967 | end | |
968 | p:Destroy() | |
969 | end)() | |
970 | local p = Instance.new("Part",Character) | |
971 | p.Locked = true | |
972 | p.CanCollide = false | |
973 | p.Anchored = true | |
974 | p.TopSurface = 0 | |
975 | p.BottomSurface = 0 | |
976 | p.Color = Settings.Colors[1] | |
977 | p.Size = Vector3.new(1,1,1) | |
978 | p.CFrame = Pos | |
979 | local pm = Instance.new("SpecialMesh",p) | |
980 | pm.Scale = Vector3.new(1,1,1) | |
981 | pm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
982 | Game:GetService("Debris"):AddItem(p,3) | |
983 | coroutine.wrap(function() | |
984 | for n = 1,35 do | |
985 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0,math.random(-10,10)/10,0) | |
986 | p.Transparency = n/35 | |
987 | pm.Scale = pm.Scale + Vector3.new(13,0.5,13) | |
988 | Wait() | |
989 | end | |
990 | p:Destroy() | |
991 | end)() | |
992 | Wait(0.05) | |
993 | end end)() | |
994 | no = false | |
995 | local lulkbro = false | |
996 | local Size = 5 | |
997 | coroutine.wrap(function() | |
998 | while Wait()do | |
999 | if lulkbro then break end | |
1000 | Target.Humanoid.PlatformStand = true | |
1001 | Target.Torso.CFrame = CFrame.new(Pos)* CFrame.new(0,1,0)* CFrame.fromEulerAnglesXYZ(math.pi/2,math.pi,0) | |
1002 | end end)() | |
1003 | FaceForward() | |
1004 | for i = 1,15 do | |
1005 | RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(math.pi/23,0,0) | |
1006 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(math.pi/90,0,0) | |
1007 | Wait() | |
1008 | end | |
1009 | ResetWelds() | |
1010 | H.face.Texture = F | |
1011 | if math.floor(Target.Humanoid.Health)<= 0 then | |
1012 | Debounces.Attacking = false | |
1013 | SState = "Standing" | |
1014 | bp:Destroy() | |
1015 | Bpos:Destroy() | |
1016 | g:Destroy() | |
1017 | return end | |
1018 | StanceGyro.cframe = CFrame.new(T.Position,Target.Torso.Position) | |
1019 | StanceGyro.P = 14000 | |
1020 | for lololol = 1,30 do | |
1021 | if lololol < 15 then | |
1022 | RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(0,0,-math.pi/30) | |
1023 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(0,0,math.pi/30) | |
1024 | else | |
1025 | RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/60,0,0) | |
1026 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/60,0,0) | |
1027 | end | |
1028 | Wait() | |
1029 | end ResetWelds() | |
1030 | StanceGyro.cframe = StanceGyro.cframe * CFrame.fromEulerAnglesXYZ(0,math.pi/2,math.pi) | |
1031 | local d = H.face.Texture | |
1032 | H.face.Texture = '' | |
1033 | no = false | |
1034 | for i = 1,30 do | |
1035 | for _,v in pairs(Character:GetChildren())do | |
1036 | if v.Name ~= "HumanoidRootPart" and v:IsA("BasePart")then | |
1037 | v.Transparency = i/30 | |
1038 | end end Wait()end | |
1039 | no = true | |
1040 | clolorl = Settings.Colors[2] | |
1041 | Bpos.position = Pos + Vector3.new(0,2,-90) | |
1042 | clr = Color3.new(1,0,0) | |
1043 | clr2 = Color3.new(1,0,0) | |
1044 | Wait(0.5) | |
1045 | local ve = Size/90 | |
1046 | local CachedTime = Game.Lighting.TimeOfDay | |
1047 | TweenTimeOfDay("00:00:00",3,true) | |
1048 | for i = 1,90 do | |
1049 | Size = Size -ve | |
1050 | Wait() | |
1051 | end _LAL = false | |
1052 | coroutine.wrap(function() | |
1053 | for i = 1,30 do | |
1054 | for _,v in pairs(Character:GetChildren())do | |
1055 | if v.Name ~= "HumanoidRootPart" and v:IsA("BasePart")then | |
1056 | v.Transparency = v.Transparency -(1/30) | |
1057 | end end Wait()end | |
1058 | H.face.Texture = d end)() | |
1059 | coroutine.wrap(function() | |
1060 | for i,v in pairs(IsNear(Pos,95))do | |
1061 | DoDamage(v,130,false,true) | |
1062 | DoScript(Game.Players:GetPlayerFromCharacter(v),"CameraShake") | |
1063 | DoScript(Game.Players:GetPlayerFromCharacter(v),"SFlash") | |
1064 | end local Pos = CFrame.new(Pos)for i = 1,26 do | |
1065 | local lSize,u = i *4.15267,i/1.110115 | |
1066 | local p = Instance.new("Part",Character) | |
1067 | p.Locked = true | |
1068 | p.CanCollide = false | |
1069 | p.Anchored = true | |
1070 | p.TopSurface = 0 | |
1071 | p.BottomSurface = 0 | |
1072 | p.Color = clr | |
1073 | p.Size = Vector3.new(1,1+(u^1.5),1) | |
1074 | p.CFrame = Pos * CFrame.new(0,p.Size.Y,0) | |
1075 | local pm = Instance.new("SpecialMesh",p) | |
1076 | pm.Scale = Vector3.new(1,1+(u^1.5),1) | |
1077 | pm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1078 | Game:GetService("Debris"):AddItem(p,3) | |
1079 | coroutine.wrap(function() | |
1080 | for n = 1,35 do | |
1081 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0,math.random(-10,10)/10,0) | |
1082 | p.Transparency = n/35 | |
1083 | pm.Scale = pm.Scale + Vector3.new(7,0.5,7) | |
1084 | Wait() | |
1085 | end | |
1086 | p:Destroy() | |
1087 | end)() | |
1088 | local p4 = Instance.new("Part",Character) | |
1089 | p4.Locked = true | |
1090 | p4.Anchored = true | |
1091 | p4.CanCollide = false | |
1092 | p4.TopSurface = 0 | |
1093 | p4.BottomSurface = 0 | |
1094 | p4.Size = Vector3.new(1,1,1) | |
1095 | p4.Color = Color3.new(0,0,0) | |
1096 | p4.CFrame = Pos * CFrame.new(0,10,0)* CFrame.new(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1097 | local bm4 = Instance.new("SpecialMesh",p4) | |
1098 | bm4.Scale = Vector3.new(lSize *0.545,lSize *0.545,lSize *0.545) | |
1099 | bm4.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
1100 | Game:GetService("Debris"):AddItem(p4,3) | |
1101 | coroutine.wrap(function() | |
1102 | for n = 1,25 do | |
1103 | bm4.Scale = bm4.Scale -Vector3.new(lSize *0.025,lSize *0.025,lSize *0.025) | |
1104 | p4.Transparency = n/50 | |
1105 | p4.CFrame = p4.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
1106 | Wait() | |
1107 | end | |
1108 | p4:Destroy() | |
1109 | end)() | |
1110 | local p = Instance.new("Part",Character) | |
1111 | p.Locked = true | |
1112 | p.CanCollide = false | |
1113 | p.Anchored = true | |
1114 | p.TopSurface = 0 | |
1115 | p.BottomSurface = 0 | |
1116 | p.Transparency = 0.5 | |
1117 | p.Color = Color3.new(0,0,0) | |
1118 | p.Size = Vector3.new(1,1,1) | |
1119 | p.CFrame = Pos * CFrame.fromEulerAnglesXYZ((math.pi/math.random(-4,4))*math.random(-math.ceil(u),math.ceil(u)),(math.pi/math.random(-4,4))*math.random(-math.ceil(u),math.ceil(u)),(math.pi/math.random(-4,4))*math.random(-math.ceil(u),math.ceil(u))) | |
1120 | local pm = Instance.new("CylinderMesh",p) | |
1121 | pm.Scale = Vector3.new(0.75*35,35000,0.7*35) | |
1122 | Game:GetService("Debris"):AddItem(p,3) | |
1123 | coroutine.wrap(function() | |
1124 | for n = 1,35 do | |
1125 | p.Reflectance = n/140 | |
1126 | p.Transparency = p.Transparency -(0.5/35) | |
1127 | pm.Scale = pm.Scale -Vector3.new(0.75,1000,0.75) | |
1128 | Wait() | |
1129 | end | |
1130 | p:Destroy() | |
1131 | end)() | |
1132 | local p4 = Instance.new("Part",Character) | |
1133 | p4.Locked = true | |
1134 | p4.Anchored = true | |
1135 | p4.CanCollide = false | |
1136 | p4.TopSurface = 0 | |
1137 | p4.BottomSurface = 0 | |
1138 | p4.Size = Vector3.new(1,1,1) | |
1139 | p4.Transparency = 1 | |
1140 | p4.Color = Color3.new(0,0,0) | |
1141 | p4.CFrame = Pos * CFrame.new(0,10,0) | |
1142 | local bm4 = Instance.new("SpecialMesh",p4) | |
1143 | bm4.Scale = Vector3.new(lSize *6,lSize *6,lSize *6) | |
1144 | bm4.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
1145 | Game:GetService("Debris"):AddItem(p4,3) | |
1146 | coroutine.wrap(function() | |
1147 | for n = 1,25 do | |
1148 | bm4.Scale = bm4.Scale -Vector3.new((lSize *6)/25,(lSize *6)/25,(lSize *6)/25) | |
1149 | p4.Transparency = p4.Transparency -(1/25) | |
1150 | p4.CFrame = p4.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
1151 | Wait() | |
1152 | end | |
1153 | p4:Destroy() | |
1154 | end)() | |
1155 | Wait(0.025) | |
1156 | end | |
1157 | local p = Instance.new("Part",Character) | |
1158 | p.Locked = true | |
1159 | p.CanCollide = false | |
1160 | p.Anchored = true | |
1161 | p.TopSurface = 0 | |
1162 | p.BottomSurface = 0 | |
1163 | p.Color = Color3.new(0,0,0) | |
1164 | p.Size = Vector3.new(1,1,1) | |
1165 | p.CFrame = Pos * CFrame.new(0,35,0)* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1166 | local pm = Instance.new("SpecialMesh",p) | |
1167 | pm.Scale = Vector3.new(0,0,0) | |
1168 | pm.MeshId = "http://www.roblox.com/asset/?id=24388358" | |
1169 | Game:GetService("Debris"):AddItem(p,3) | |
1170 | coroutine.wrap(function() | |
1171 | for n = 1,35 do | |
1172 | p.Transparency = n/35 | |
1173 | pm.Scale = pm.Scale +Vector3.new(18.5,18.5,18.5) | |
1174 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
1175 | Wait() | |
1176 | end | |
1177 | p:Destroy() | |
1178 | end)()TweenTimeOfDay(CachedTime,3,true)end)() | |
1179 | else | |
1180 | ResetWelds() | |
1181 | for i = 1,15 do | |
1182 | N.C0 = N.C0 * CFrame.fromEulerAnglesXYZ(math.pi/70,0,0) | |
1183 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/75,0,0) | |
1184 | RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/75,0,0) | |
1185 | Wait() | |
1186 | end Bpos.position =(Target.Torso.CFrame * CFrame.new(0,0,30)).p | |
1187 | local lolj = true;coroutine.wrap(function()while Wait()do if not lolj then break end g.cframe = CFrame.new(Target.Torso.Position,T.Position)end end)()for i = 1,15 do | |
1188 | RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/65,0,0) | |
1189 | N.C0 = N.C0 * CFrame.fromEulerAnglesXYZ(math.pi/115,0,0) | |
1190 | local p = Instance.new("Part",Character) | |
1191 | p.Locked = true | |
1192 | p.Anchored = true | |
1193 | p.CanCollide = false | |
1194 | p.TopSurface = 0 | |
1195 | p.BottomSurface = 0 | |
1196 | p.Transparency = 0.5 | |
1197 | p.Color = Color3.new(1,0,0) | |
1198 | p.Size = Vector3.new(1,1,1) | |
1199 | p.CFrame = RA.CFrame * CFrame.new(0,-1,0) | |
1200 | local b = Instance.new("BlockMesh",p) | |
1201 | b.Scale = Vector3.new(2,2,2) | |
1202 | Game:GetService("Debris"):AddItem(p,3) | |
1203 | coroutine.wrap(function() | |
1204 | for u = 1,29 do | |
1205 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1206 | b.Scale = b.Scale +Vector3.new(0.05,0.05,0.05) | |
1207 | p.Transparency = p.Transparency +(0.5/29) | |
1208 | Wait() | |
1209 | end | |
1210 | p:Destroy() | |
1211 | end)() | |
1212 | local p = Instance.new("Part",Character) | |
1213 | p.Locked = true | |
1214 | p.Anchored = true | |
1215 | p.CanCollide = false | |
1216 | p.TopSurface = 0 | |
1217 | p.BottomSurface = 0 | |
1218 | p.Transparency = 0.5 | |
1219 | p.Color = Color3.new(1,0,0) | |
1220 | p.Size = Vector3.new(1,1,1) | |
1221 | p.CFrame = RA.CFrame * CFrame.new(0,-3,0) | |
1222 | local b = Instance.new("BlockMesh",p) | |
1223 | b.Scale = Vector3.new(2,2,2) | |
1224 | -- brandantyler@att.net | |
1225 | Game:GetService("Debris"):AddItem(p,3) | |
1226 | coroutine.wrap(function() | |
1227 | for u = 1,29 do | |
1228 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1229 | b.Scale = b.Scale +Vector3.new(0.05,0.05,0.05) | |
1230 | p.Transparency = p.Transparency -(0.5/29) | |
1231 | Wait() | |
1232 | end | |
1233 | p:Destroy() | |
1234 | end)() | |
1235 | Wait() | |
1236 | end g.P = 1000000 while Wait(0.1)do | |
1237 | if Target.Humanoid.Health <= math.ceil(Target.Humanoid.MaxHealth/2)then break end | |
1238 | Target.Humanoid:TakeDamage(1) | |
1239 | g.cframe = CFrame.new(Target.Torso.Position,T.Position) | |
1240 | coroutine.wrap(function() | |
1241 | Lightning((RA.CFrame * CFrame.new(0,-1,0)).p,(Target.Torso.CFrame * CFrame.new(-0.5,0.5,0)).p,math.random(4,7),3.25,Settings.Colors[2],0.25,math.random(0,5)/10,Character,0.25) | |
1242 | end)()coroutine.wrap(function() | |
1243 | Lightning((RA.CFrame * CFrame.new(0,-1,0)).p,(Target.Torso.CFrame * CFrame.new(-0.5,0.5,0)).p,math.random(4,7),4.0125,Color3.new(1,0,0),0.25,math.random(0,5)/10,Character,0.25) | |
1244 | end)()end no = false | |
1245 | for i = 1,15 do | |
1246 | local p = Instance.new("Part",Character) | |
1247 | p.Locked = true | |
1248 | p.TopSurface = 0 | |
1249 | p.BottomSurface = 0 | |
1250 | p.CanCollide = false | |
1251 | p.Anchored = true | |
1252 | p.Transparency = 0.5 | |
1253 | p.Size = Vector3.new(2,2,2) | |
1254 | p.Color = Color3.new(1,0,0) | |
1255 | p.CFrame = RA.CFrame * CFrame.new(0,-1,0) | |
1256 | Game:GetService("Debris"):AddItem(p,3) | |
1257 | local m = Instance.new("BlockMesh",p) | |
1258 | m.Scale = Vector3.new(3,3,3) | |
1259 | coroutine.wrap(function() | |
1260 | for u = 1,15 do | |
1261 | m.Scale = m.Scale -Vector3.new(6/15,6/15,6/15) | |
1262 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-25,25),math.random(-25,25),math.random(-25,25)) | |
1263 | p.Transparency = p.Transparency +(0.5/15) | |
1264 | Wait() | |
1265 | end p:Destroy()end)() | |
1266 | Wait() | |
1267 | end Bpos.position =(CFrame.new((T.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)).p)* CFrame.new(0,0,-100)).p for i = 1,6 do | |
1268 | if i <= 3 then | |
1269 | N.C0 = N.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/8.75,0,0) | |
1270 | else | |
1271 | N.C0 = N.C0 * CFrame.fromEulerAnglesXYZ(0,0,-math.pi/6) | |
1272 | end Wait()end | |
1273 | local n = 0.25 | |
1274 | for i = 1,15 do | |
1275 | RS.C0 = RS.C0 * CFrame.new(0,-0.3/15,-0.5/15)* CFrame.fromEulerAnglesXYZ(-math.pi/115,0,0) | |
1276 | Wait() | |
1277 | end no = true while Wait(0.1)do | |
1278 | if Target.Humanoid.Health <= 0 then break end | |
1279 | Target.Humanoid:TakeDamage(n*4) | |
1280 | n = n +0.05 | |
1281 | g.cframe = CFrame.new(Target.Torso.Position,T.Position) | |
1282 | coroutine.wrap(function() | |
1283 | Lightning((RA.CFrame * CFrame.new(0,-1,0)).p,(Target.Torso.CFrame * CFrame.new(-0.5,0.5,0)).p,math.random(4,7),3.25,Settings.Colors[1],n,math.random(0,5)/10,Character,0.25) | |
1284 | end)()coroutine.wrap(function() | |
1285 | Lightning((RA.CFrame * CFrame.new(0,-1,0)).p,(Target.Torso.CFrame * CFrame.new(-0.5,0.5,0)).p,math.random(4,7),4.0125,Color3.new(0,0,1),n,math.random(0,5)/10,Character,0.25) | |
1286 | end)()end coroutine.wrap(function() | |
1287 | local Pos = Target.Torso.Position | |
1288 | local BOOSH = Instance.new("Sound",Workspace) | |
1289 | BOOSH.SoundId = "http://www.roblox.com/asset/?id=2101159" | |
1290 | BOOSH.Volume = 1 | |
1291 | BOOSH.Pitch = 0.675 | |
1292 | local Fuse = Instance.new("Sound",Workspace) | |
1293 | Fuse.SoundId = "http://www.roblox.com/asset/?id=2233908" | |
1294 | Fuse.Volume = 1 | |
1295 | Fuse.Pitch = 0.25 | |
1296 | local BOOSH2 = Instance.new("Sound",Workspace) | |
1297 | BOOSH2.SoundId = "http://www.roblox.com/asset/?id=3264793" | |
1298 | BOOSH2.Volume = 1 | |
1299 | BOOSH2.Pitch = 0.25 | |
1300 | local dsound = true | |
1301 | local PewPew = Instance.new("Sound",Workspace) | |
1302 | PewPew.Name = "PewPew" | |
1303 | PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534" | |
1304 | PewPew.Volume = 1 | |
1305 | PewPew.Pitch = 0.32 | |
1306 | local function GetHumanoids() | |
1307 | local Characters = {} | |
1308 | for i,v in pairs(Workspace:GetChildren())do | |
1309 | if v:IsA("Model")then | |
1310 | local Hu = v:findFirstChild("Humanoid") | |
1311 | local Torso = v:findFirstChild("Torso") | |
1312 | if Hu and Torso and v.Name ~= Player.Name then | |
1313 | table.insert(Characters,Torso) | |
1314 | end end end | |
1315 | return Characters | |
1316 | end | |
1317 | local function Boom() | |
1318 | for i = 1,25 do | |
1319 | for _,v in pairs(GetHumanoids())do | |
1320 | if(Pos - v.Position).magnitude <=(40 +i *2.5)/2 then | |
1321 | local h = v.Parent:findFirstChild("Humanoid") | |
1322 | if h then | |
1323 | local Moar =(Pos - v.Position).unit | |
1324 | local p = Instance.new("BodyVelocity",v) | |
1325 | p.P = 1500 | |
1326 | p.maxForce = Vector3.new(500000000000,500000000000,500000000000)*500099 | |
1327 | p.velocity = Vector3.new(math.random(-10,10),math.random(3,20),math.random(-10,10))/2 +Moar *12 | |
1328 | Game:GetService("Debris"):AddItem(p,0.15) | |
1329 | local p = Instance.new("BodyAngularVelocity",v) | |
1330 | p.P = 1500 | |
1331 | p.maxTorque = Vector3.new(50000000,50000000,50000000)*5000 | |
1332 | p.angularvelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position - Pos).unit *30 | |
1333 | Game:GetService("Debris"):AddItem(p,0.1) | |
1334 | end end end | |
1335 | local p = Instance.new("Part",Character) | |
1336 | p.Name = "BlastRing" | |
1337 | p.TopSurface = 0 | |
1338 | p.BottomSurface = 0 | |
1339 | p.CanCollide = false | |
1340 | p.Anchored = true | |
1341 | p.Color = Settings.Colors[math.random(1,2)] | |
1342 | p.Size = Vector3.new(1,1,1) | |
1343 | p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30) | |
1344 | local rm = Instance.new("SpecialMesh",p) | |
1345 | rm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1346 | rm.Name = "BlastMesh" | |
1347 | rm.Scale = Vector3.new(1,1,1) | |
1348 | coroutine.wrap(function() | |
1349 | for n = 1,15 do | |
1350 | rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*4/2 | |
1351 | if 2 +i/5 == 1.2 then | |
1352 | rm.Scale = rm.Scale + Vector3.new(0,0.9,0) | |
1353 | end | |
1354 | p.Transparency = n/15 | |
1355 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0) | |
1356 | Wait() | |
1357 | end | |
1358 | p:Destroy() | |
1359 | end)() | |
1360 | local p = Instance.new("Part",Character) | |
1361 | p.TopSurface = 0 | |
1362 | p.BottomSurface = 0 | |
1363 | p.formFactor = "Symmetric" | |
1364 | p.Size = Vector3.new(1,1,1) | |
1365 | p.Anchored = true | |
1366 | p.CanCollide = false | |
1367 | p.Color = Settings.Colors[math.random(1,2)] | |
1368 | p.CFrame = CFrame.new(Pos) | |
1369 | local m = Instance.new("BlockMesh",p) | |
1370 | coroutine.wrap(function() | |
1371 | for x = 1,48 do | |
1372 | m.Scale = m.Scale + Vector3.new(0.48 *2 -x/50 +i *0.4,0.48 *2 -i/50 +i *0.4,0.48 *2 -i/50 +i *0.4)/2 | |
1373 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/60,math.random(-10,10)/50) | |
1374 | p.Transparency = x/48 | |
1375 | Wait() | |
1376 | end | |
1377 | p:Destroy() | |
1378 | end)() | |
1379 | Game:GetService("Debris"):AddItem(p,5) | |
1380 | local p = Instance.new("Part",Character) | |
1381 | p.Name = "BlastRing" | |
1382 | p.TopSurface = 0 | |
1383 | p.BottomSurface = 0 | |
1384 | p.CanCollide = false | |
1385 | p.Anchored = true | |
1386 | p.Color = Settings.Colors[math.random(1,2)] | |
1387 | p.Size = Vector3.new(1,1,1) | |
1388 | p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0) | |
1389 | local m = Instance.new("SpecialMesh",p) | |
1390 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1391 | m.Scale = Vector3.new(1,0.25,1) | |
1392 | coroutine.wrap(function() | |
1393 | for n = 1,13 do | |
1394 | m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2 | |
1395 | if 1 +i/5 == 1.2 then | |
1396 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
1397 | end | |
1398 | p.Transparency = n/13 | |
1399 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0) | |
1400 | Wait() | |
1401 | end | |
1402 | p:Destroy() | |
1403 | end)() | |
1404 | Wait(0.1) | |
1405 | end for i = 10,19 do | |
1406 | local p = Instance.new("Part",Character) | |
1407 | p.Name = "BlastRing" | |
1408 | p.TopSurface = 0 | |
1409 | p.BottomSurface = 0 | |
1410 | p.CanCollide = false | |
1411 | p.Anchored = true | |
1412 | p.Color = Settings.Colors[math.random(1,2)] | |
1413 | p.Size = Vector3.new(1,1,1) | |
1414 | p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0) | |
1415 | local m = Instance.new("SpecialMesh",p) | |
1416 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1417 | m.Scale = Vector3.new(1,0.25,1) | |
1418 | coroutine.wrap(function() | |
1419 | for n = 1,13 do | |
1420 | m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2 | |
1421 | if 1 +i/5 == 1.2 then | |
1422 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
1423 | end | |
1424 | p.Transparency = n/13 | |
1425 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0) | |
1426 | Wait() | |
1427 | end | |
1428 | p:Destroy() | |
1429 | end)() | |
1430 | local p = Instance.new("Part",Character) | |
1431 | p.Name = "BlastRing" | |
1432 | p.TopSurface = 0 | |
1433 | p.BottomSurface = 0 | |
1434 | p.CanCollide = false | |
1435 | p.Anchored = true | |
1436 | p.Color = Settings.Colors[math.random(1,2)] | |
1437 | p.Size = Vector3.new(1,1,1) | |
1438 | p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30) | |
1439 | p.Parent = workspace | |
1440 | local m = Instance.new("SpecialMesh",p) | |
1441 | m.Name = "BlastMesh" | |
1442 | m.Scale = Vector3.new(0.1,0.1,0.1) | |
1443 | m.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1444 | coroutine.wrap(function() | |
1445 | for n = 1,15 do | |
1446 | m.Scale = m.Scale + Vector3.new(1.5 + 3 +i/5,1.5 + 3+i/5,0.1)*4/2 | |
1447 | if 3+i/5 == 1.2 then | |
1448 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
1449 | end | |
1450 | p.Transparency = n/15 | |
1451 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/90,math.random(-20,20)/170,0) | |
1452 | Wait() | |
1453 | end | |
1454 | p:Destroy() | |
1455 | end)() | |
1456 | for _,v in pairs(GetHumanoids())do | |
1457 | if(Pos - v.Position).magnitude <=(5 +i *9.5)/3 then | |
1458 | local h = v.Parent:findFirstChild("Humanoid") | |
1459 | if h then | |
1460 | local Moar =(Pos - v.Position).unit | |
1461 | local p = Instance.new("BodyVelocity",v) | |
1462 | p.P = 1500 | |
1463 | p.maxForce = Vector3.new(500000000000,500000000000,500000000000)*5000000 | |
1464 | p.velocity = Vector3.new(math.random(-10,10),math.random(3,20),math.random(-10,10))/2 +Moar *11 | |
1465 | Game:GetService("Debris"):AddItem(p,0.15) | |
1466 | local p = Instance.new("BodyAngularVelocity",v) | |
1467 | p.P = 1500 | |
1468 | p.maxTorque = Vector3.new(50000000,50000000,50000000)*500000 | |
1469 | p.angularvelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position -Pos).unit *30 | |
1470 | Game:GetService("Debris"):AddItem(p,0.1) | |
1471 | end end end | |
1472 | Wait(0.1) | |
1473 | end for i = 30,37 do | |
1474 | for _,v in pairs(GetHumanoids())do | |
1475 | if(Pos -v.Position).magnitude <=(140 +i *2.5)/3 then | |
1476 | local h = v.Parent:findFirstChild("Humanoid") | |
1477 | if h then | |
1478 | local Moar =(Pos - v.Position).unit | |
1479 | local p = Instance.new("BodyVelocity",v) | |
1480 | p.P = 1500 | |
1481 | p.maxForce = Vector3.new(500000000000,500000000000,500000000000)*500000000000 | |
1482 | p.velocity = Vector3.new(math.random(-10,10),math.random(3,60),math.random(-10,10))+Moar*-160 | |
1483 | Game:GetService("Debris"):AddItem(p,0.15) | |
1484 | local p = Instance.new("BodyAngularVelocity",v) | |
1485 | p.P = 1500 | |
1486 | p.maxTorque = Vector3.new(50000000,50000000,50000000)*500000000000 | |
1487 | p.angularvelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position -Pos).unit *30 | |
1488 | Game:GetService("Debris"):AddItem(p,0.1) | |
1489 | end end end end | |
1490 | dsound = false | |
1491 | wait(6.5) | |
1492 | for i = 1,30 do | |
1493 | BOOSH.Volume = BOOSH.Volume -0.033 | |
1494 | BOOSH2.Volume = BOOSH.Volume | |
1495 | Fuse.Volume = BOOSH.Volume | |
1496 | Wait() | |
1497 | end | |
1498 | BOOSH:Stop() | |
1499 | BOOSH2:Stop() | |
1500 | Fuse:Stop() | |
1501 | end | |
1502 | BOOSH2:Play() | |
1503 | Fuse:Play() | |
1504 | BOOSH:Play() | |
1505 | Boom() | |
1506 | end)()no = false end | |
1507 | ResetWelds() | |
1508 | SState = "Standing" | |
1509 | Debounces.Attacking = false | |
1510 | bp:Destroy() | |
1511 | Bpos:Destroy() | |
1512 | g:Destroy() | |
1513 | lulkbro = true | |
1514 | no = false | |
1515 | end; | |
1516 | b = function(Mouse) | |
1517 | local Target = GetClosest(500) | |
1518 | if Debounces.Attacking or not Target or CurrentPower -10000 < 0 then return end | |
1519 | CurrentPower = CurrentPower -10000 | |
1520 | LOCALDEBOUNCE = true | |
1521 | Debounces.Attacking = true | |
1522 | SState = "Null" | |
1523 | ResetWelds() | |
1524 | local opos = Instance.new("BodyPosition",T) | |
1525 | opos.P = 100000 | |
1526 | opos.maxForce = Vector3.new(1000000,1000000,10000000) | |
1527 | opos.position = T.Position | |
1528 | Wait(1) | |
1529 | local Size = 0 | |
1530 | local Main = Instance.new("Model",Character) | |
1531 | local LObj = Instance.new("Part",Main) | |
1532 | LObj.Transparency = 1 | |
1533 | LObj.Locked = true | |
1534 | LObj.CanCollide = true | |
1535 | LObj.Anchored = false | |
1536 | LObj.Size = Vector3.new(1,1,1) | |
1537 | local oWeld = Instance.new("Weld",LObj) | |
1538 | oWeld.Part0 = RA | |
1539 | oWeld.Part1 = LObj | |
1540 | oWeld.C0 = CFrame.new(0,math.abs(Size +2.25)*-1,0) | |
1541 | for i = 1,13 do | |
1542 | RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/29,0,0) | |
1543 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/58,math.pi/35.5,0) | |
1544 | if i == 9 then | |
1545 | coroutine.wrap(function() | |
1546 | for n = 1,13 do | |
1547 | local p2 = Instance.new("Part",Main) | |
1548 | p2.Locked = true | |
1549 | p2.Anchored = true | |
1550 | p2.CanCollide = false | |
1551 | p2.TopSurface = 0 | |
1552 | p2.BottomSurface = 0 | |
1553 | p2.Size = Vector3.new(1,1,1) | |
1554 | p2.Color = Settings.Colors[2] | |
1555 | p2.CFrame = RA.CFrame * CFrame.new(0,-2,0) | |
1556 | local bm2 = Instance.new("SpecialMesh",p2) | |
1557 | bm2.Scale = Vector3.new(2,2,2) | |
1558 | bm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1559 | Game:GetService("Debris"):AddItem(p2,3)coroutine.wrap(function() | |
1560 | for u = 1,9 do | |
1561 | p2.Transparency = u/9 | |
1562 | bm2.Scale = bm2.Scale + Vector3.new(0.4,0.4,0.05) | |
1563 | p2.CFrame = p2.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-3,3)/10,math.random(-3,3)/10,math.random(-3,3)/10) | |
1564 | Wait() | |
1565 | end | |
1566 | p2:Destroy() | |
1567 | end)() | |
1568 | Wait(0.05) | |
1569 | end end)() | |
1570 | coroutine.wrap(function() | |
1571 | while Wait()do if not LOCALDEBOUNCE then break end | |
1572 | pcall(function()Main.Anchored = false end) | |
1573 | StanceGyro.cframe = CFrame.new(T.Position,Target.Torso.Position) | |
1574 | local p = Instance.new("Part",Main) | |
1575 | p.Locked = true | |
1576 | p.Anchored = true | |
1577 | p.CanCollide = false | |
1578 | p.TopSurface = 0 | |
1579 | p.BottomSurface = 0 | |
1580 | p.Size = Vector3.new(1,1,1) | |
1581 | p.Color = Settings.Colors[2] | |
1582 | p.CFrame = LObj.CFrame | |
1583 | local bm = Instance.new("BlockMesh",p) | |
1584 | bm.Scale = Vector3.new(0.5,0.5,0.5) | |
1585 | local p2 = Instance.new("Part",Main) | |
1586 | p2.Locked = true | |
1587 | p2.Anchored = true | |
1588 | p2.CanCollide = false | |
1589 | p2.TopSurface = 0 | |
1590 | p2.BottomSurface = 0 | |
1591 | p2.Size = Vector3.new(1,1,1) | |
1592 | p2.Color = Settings.Colors[1] | |
1593 | p2.CFrame = LObj.CFrame | |
1594 | local bm2 = Instance.new("SpecialMesh",p2) | |
1595 | bm2.Scale = Vector3.new(2,2,2) | |
1596 | bm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1597 | local p3 = Instance.new("Part",Main) | |
1598 | p3.Locked = true | |
1599 | p3.Anchored = true | |
1600 | p3.CanCollide = false | |
1601 | p3.TopSurface = 0 | |
1602 | p3.BottomSurface = 0 | |
1603 | p3.Size = Vector3.new(1,1,1) | |
1604 | p3.Color = Settings.Colors[2] | |
1605 | p3.CFrame = LObj.CFrame * CFrame.new(math.random(-50,50)/10,math.random(-50,50)/10,math.random(-50,50)/10) | |
1606 | local bm3 = Instance.new("BlockMesh",p3) | |
1607 | bm3.Scale = Vector3.new(0.01,0.01,0.01) | |
1608 | Game:GetService("Debris"):AddItem(p,3) | |
1609 | Game:GetService("Debris"):AddItem(p2,3) | |
1610 | Game:GetService("Debris"):AddItem(p3,3) | |
1611 | TweenColor3(p3,"Color",p3.Color,Settings.Colors[1],0.8,true) | |
1612 | coroutine.wrap(function() | |
1613 | for n = 1,25 do | |
1614 | p.Transparency = n/25 | |
1615 | p2.Transparency = n/25 | |
1616 | p3.Transparency = n/25 | |
1617 | bm.Scale = bm.Scale +Vector3.new(Size +0.025,Size +0.025,Size +0.025) | |
1618 | bm2.Scale = bm2.Scale +Vector3.new(Size +0.01,Size +0.01,0.01) | |
1619 | bm3.Scale = bm3.Scale +Vector3.new(0.008,0.008,0.008) | |
1620 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
1621 | p2.CFrame = p2.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
1622 | p3.CFrame = p3.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
1623 | Wait() | |
1624 | end p:Destroy() | |
1625 | p2:Destroy() | |
1626 | p3:Destroy() | |
1627 | end)()end end)()end | |
1628 | Wait() | |
1629 | end for i = 1,20 do | |
1630 | Size = Size +0.001 | |
1631 | RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(0,0,math.pi/30) | |
1632 | Wait() | |
1633 | end local bf = Instance.new("BodyPosition",LObj) | |
1634 | bf.maxForce = Vector3.new(100000,100000,100000) | |
1635 | oWeld:Destroy()repeat | |
1636 | Size = Size +0.005 | |
1637 | bf.position = Target.Torso.Position | |
1638 | bf.P =(Size *25)+1500 | |
1639 | bf.D = bf.D -0.01 | |
1640 | local p2 = Instance.new("Part",Main) | |
1641 | p2.Locked = true | |
1642 | p2.Anchored = true | |
1643 | p2.CanCollide = false | |
1644 | p2.TopSurface = 0 | |
1645 | p2.BottomSurface = 0 | |
1646 | p2.Size = Vector3.new(1,1,1) | |
1647 | p2.Color = Settings.Colors[math.random(1,2)] | |
1648 | p2.CFrame = RA.CFrame * CFrame.new(0,-2,0) | |
1649 | local bm2 = Instance.new("SpecialMesh",p2) | |
1650 | bm2.Scale = Vector3.new(2,2,2) | |
1651 | bm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1652 | Game:GetService("Debris"):AddItem(p2,3)coroutine.wrap(function() | |
1653 | for u = 1,9 do | |
1654 | p2.Transparency = u/9 | |
1655 | bm2.Scale = bm2.Scale + Vector3.new(0.4,0.4,0.05) | |
1656 | p2.CFrame = p2.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-3,3)/10,math.random(-3,3)/10,math.random(-3,3)/10) | |
1657 | Wait() | |
1658 | end | |
1659 | p2:Destroy() | |
1660 | end)()Wait() | |
1661 | until(Target.Torso.Position -LObj.Position).magnitude <=(Size +2) | |
1662 | Target.Torso.Anchored = true | |
1663 | local n0 = Size/25 | |
1664 | local cs = Size | |
1665 | for i = 1,30 do | |
1666 | Size = Size -n0 | |
1667 | Wait() | |
1668 | end coroutine.wrap(function() | |
1669 | DoScript(Game.Players:GetPlayerFromCharacter(Target),"CameraShake") | |
1670 | PlaySound("http://www.roblox.com/asset?id=167115397",1,50,Target.Torso.CFrame) | |
1671 | local Pos = CFrame.new(Target.Torso.Position -Vector3.new(0,2,0)) | |
1672 | for i,v in pairs(IsNear(Pos.p,500))do | |
1673 | DoDamage(v,100 +(math.abs(cs *2)*250),false,true) | |
1674 | end for i = 1,32 do | |
1675 | local p = Instance.new("Part",Character) | |
1676 | p.Locked = true | |
1677 | p.CanCollide = false | |
1678 | p.Anchored = true | |
1679 | p.TopSurface = 0 | |
1680 | p.BottomSurface = 0 | |
1681 | p.Color = Settings.Colors[2] | |
1682 | p.Size = Vector3.new(1,1,1) | |
1683 | p.CFrame = Pos | |
1684 | local pm = Instance.new("SpecialMesh",p) | |
1685 | pm.Scale = Vector3.new(1,1,1) | |
1686 | pm.MeshType = "Sphere" | |
1687 | Game:GetService("Debris"):AddItem(p,3) | |
1688 | coroutine.wrap(function() | |
1689 | for n = 1,35 do | |
1690 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
1691 | p.Transparency = n/35 | |
1692 | pm.Scale = pm.Scale + Vector3.new(10,11,10) | |
1693 | Wait() | |
1694 | end | |
1695 | p:Destroy() | |
1696 | end)()local p = Instance.new("Part",Character) | |
1697 | p.Locked = true | |
1698 | p.CanCollide = false | |
1699 | p.Anchored = true | |
1700 | p.TopSurface = 0 | |
1701 | p.BottomSurface = 0 | |
1702 | p.Color = Settings.Colors[1] | |
1703 | p.Size = Vector3.new(1,1,1) | |
1704 | p.CFrame = Pos | |
1705 | local pm = Instance.new("CylinderMesh",p) | |
1706 | pm.Scale = Vector3.new(1,1,1) | |
1707 | Game:GetService("Debris"):AddItem(p,3) | |
1708 | coroutine.wrap(function() | |
1709 | for n = 1,35 do | |
1710 | p.CFrame = Pos * CFrame.fromEulerAnglesXYZ(math.pi/math.random(-3,3),math.pi/math.random(-3,3),math.pi/math.random(-3,3)) | |
1711 | p.Transparency = n/35 | |
1712 | pm.Scale = pm.Scale + Vector3.new(0.75,1000,0.75) | |
1713 | Wait() | |
1714 | end | |
1715 | p:Destroy() | |
1716 | end)()local p = Instance.new("Part",Character) | |
1717 | p.Locked = true | |
1718 | p.CanCollide = false | |
1719 | p.Anchored = true | |
1720 | p.TopSurface = 0 | |
1721 | p.BottomSurface = 0 | |
1722 | p.Color = Settings.Colors[math.random(1,2)] | |
1723 | p.Size = Vector3.new(1,1,1) | |
1724 | p.CFrame = Pos | |
1725 | local pm = Instance.new("SpecialMesh",p) | |
1726 | pm.Scale = Vector3.new(1,1,1) | |
1727 | pm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1728 | Game:GetService("Debris"):AddItem(p,3) | |
1729 | coroutine.wrap(function() | |
1730 | for n = 1,35 do | |
1731 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
1732 | p.Transparency = n/35 | |
1733 | pm.Scale = pm.Scale + Vector3.new(13,0.5,13) | |
1734 | Wait() | |
1735 | end | |
1736 | p:Destroy() | |
1737 | end)() | |
1738 | local p = Instance.new("Part",Character) | |
1739 | p.Locked = true | |
1740 | p.CanCollide = false | |
1741 | p.Anchored = true | |
1742 | p.TopSurface = 0 | |
1743 | p.BottomSurface = 0 | |
1744 | p.Color = Settings.Colors[1] | |
1745 | p.Size = Vector3.new(1,1,1) | |
1746 | p.CFrame = Pos | |
1747 | local pm = Instance.new("SpecialMesh",p) | |
1748 | pm.Scale = Vector3.new(1,1,1) | |
1749 | pm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1750 | Game:GetService("Debris"):AddItem(p,3) | |
1751 | coroutine.wrap(function() | |
1752 | for n = 1,35 do | |
1753 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0,math.random(-10,10)/10,0) | |
1754 | p.Transparency = n/35 | |
1755 | pm.Scale = pm.Scale + Vector3.new(13,0.5,13) | |
1756 | Wait() | |
1757 | end | |
1758 | p:Destroy() | |
1759 | end)() | |
1760 | Wait(0.05) | |
1761 | end Target.Torso.Anchored = false end)() | |
1762 | Debounces.Attacking = false | |
1763 | ResetWelds() | |
1764 | opos:Destroy() | |
1765 | SState = "Standing" | |
1766 | LOCALDEBOUNCE = false | |
1767 | Main:Destroy() | |
1768 | end;u = function(Mouse) | |
1769 | for i,v in pairs(Debounces)do | |
1770 | if i ~= "Slowing" then | |
1771 | if v then return end | |
1772 | end end if Debounces.Shielding or Debounces.Attacking or CurrentPower -12000 < 0 then return end | |
1773 | SState = "Null" | |
1774 | ResetWelds() | |
1775 | T.Anchored = true | |
1776 | Debounces.Attacking = true | |
1777 | Debounces.Shielding = true | |
1778 | CurrentPower = CurrentPower -12000 | |
1779 | for i = 1,15 do | |
1780 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/55,0,0) | |
1781 | RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/55,0,0) | |
1782 | Wait() | |
1783 | end | |
1784 | LA.Anchored = true | |
1785 | RA.Anchored = true | |
1786 | coroutine.wrap(function() | |
1787 | Wait(1)while Wait()do | |
1788 | if not Debounces.Shielding then break end | |
1789 | local p = Instance.new("Part",Character) | |
1790 | p.Locked = true | |
1791 | p.Anchored = true | |
1792 | p.CanCollide = false | |
1793 | p.Size = Vector3.new(1,1,1) | |
1794 | p.TopSurface = 0 | |
1795 | p.BottomSurface = 0 | |
1796 | p.Color = Settings.Colors[1] | |
1797 | p.CFrame = CFrame.new(T.Position)* CFrame.new(0,-2.13,0) | |
1798 | local pm = Instance.new("SpecialMesh",p) | |
1799 | pm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1800 | pm.Scale = Vector3.new(11,0.15,11) | |
1801 | Game:GetService("Debris"):AddItem(p,3) | |
1802 | coroutine.wrap(function() | |
1803 | for i = 1,15 do | |
1804 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0,math.random(-100,100)/10,0) | |
1805 | pm.Scale = pm.Scale + Vector3.new(0.325,0.125,0.325) | |
1806 | p.Transparency = i/15 | |
1807 | Wait() | |
1808 | end p:Destroy()end)()end end)() | |
1809 | local Rot = 0 | |
1810 | local Parts,Connections = {},{} | |
1811 | local LOCALDEBOUNCE = false | |
1812 | local function n(v) | |
1813 | pcall(function() | |
1814 | v.P = v.P *1.5 | |
1815 | if v:IsA("BodyVelocity")then | |
1816 | v.velocity = v.velocity *-1 | |
1817 | end if v:IsA("BodyForce")or v:IsA("BodyThrust")then | |
1818 | v.force = v.force *-1 | |
1819 | end if v:IsA("BodyPosition")then | |
1820 | v.position = v.position *-1 | |
1821 | end if v:IsA("BodyGyro")then | |
1822 | v.cframe = CFrame.new(v.cframe.X *-1,v.cframe.Y *-1,v.cframe.Z *-1) | |
1823 | end if v:IsA("BodyAngularVelocity")then | |
1824 | v.angularvelocity = v.angularvelocity *-1 | |
1825 | end end)end | |
1826 | local MShieldHealth = math.ceil(math.floor(CurrentPower +HU.Health)*1.5) | |
1827 | local ShieldHealth = MShieldHealth | |
1828 | local HitAlready = {} | |
1829 | local BillboardGui = Instance.new("BillboardGui",Character) | |
1830 | BillboardGui.Adornee = H | |
1831 | BillboardGui.Size = UDim2.new(5,0,5,0) | |
1832 | BillboardGui.StudsOffset = Vector3.new(0,2,0) | |
1833 | local Txtlbl = Instance.new("TextLabel",BillboardGui) | |
1834 | Txtlbl.Size = UDim2.new(1,0,1,0) | |
1835 | Txtlbl.TextColor3 = Color3.new(MShieldHealth/ShieldHealth,MShieldHealth/ShieldHealth,MShieldHealth/ShieldHealth) | |
1836 | Txtlbl.BackgroundTransparency = 1 | |
1837 | Txtlbl.TextScaled = true | |
1838 | Txtlbl.Font = "SourceSansBold" | |
1839 | Txtlbl.TextTransparency = 1 | |
1840 | Txtlbl.Text = tostring(ShieldHealth) | |
1841 | Txtlbl.TextWrapped = false | |
1842 | local o;o = Mouse.KeyUp:connect(function(k) | |
1843 | if k:lower()== 'u' then | |
1844 | Debounces.Attacking = false | |
1845 | Debounces.Shielding = false | |
1846 | LOCALDEBOUNCE = false | |
1847 | o:disconnect() | |
1848 | SState = "Standing" | |
1849 | T.Anchored = false | |
1850 | LA.Anchored = false | |
1851 | RA.Anchored = false | |
1852 | end end) | |
1853 | coroutine.wrap(function() | |
1854 | for i = 1,15 do | |
1855 | Txtlbl.TextTransparency = Txtlbl.TextTransparency -(1/15) | |
1856 | Wait() | |
1857 | end end)() | |
1858 | table.insert(Connections,Game.DescendantAdded:connect(function(o) | |
1859 | ypcall(function() | |
1860 | if o:IsA("Explosion")then | |
1861 | if(T.Position -o.Position).magnitude <= o.BlastRadius then | |
1862 | local kik = o.Position | |
1863 | o:Destroy() | |
1864 | local p = Instance.new("Part",Character) | |
1865 | p.Locked = true | |
1866 | p.Anchored = true | |
1867 | p.CanCollide = false | |
1868 | p.Size = Vector3.new(1,1,1) | |
1869 | p.Color = Settings.Colors[1] | |
1870 | p.TopSurface = 0 | |
1871 | p.Transparency = 1 | |
1872 | p.BottomSurface = 0 | |
1873 | p.CFrame = CFrame.new(kik) | |
1874 | local pm;pm = Instance.new("SpecialMesh",p) | |
1875 | pm.Scale = Vector3.new(0,0,0) | |
1876 | pm.MeshId = "http://www.roblox.com/asset/?id=1185246" | |
1877 | Game:GetService("Debris"):AddItem(p,3) | |
1878 | coroutine.wrap(function() | |
1879 | for i = 1,15 do | |
1880 | p.Transparency = p.Transparency -(1/15) | |
1881 | pm.Scale = pm.Scale +Vector3.new(1.3,1.3,1.3) | |
1882 | Wait() | |
1883 | end local sc = pm.Scale;pm:Destroy()pm = Instance.new("CylinderMesh",p)pm.Scale = sc +Vector3.new(0,100000,0) | |
1884 | for i = 1,15 do | |
1885 | p.Transparency = i/15 | |
1886 | pm.Scale = pm.Scale -Vector3.new(math.sin((math.abs(GetBiggestVector(obj.Size)*0.5)+(i/1.67))/2),100000/15,math.sin((math.abs(GetBiggestVector(obj.Size)*0.5)+(i/1.67))/2)) | |
1887 | p.Color = Color3.new(i/15,i/15,i/15) | |
1888 | Wait() | |
1889 | end | |
1890 | p:Destroy() | |
1891 | end)()end end end)end)) | |
1892 | for i = 1,10 do | |
1893 | local p = Instance.new("Part",Character) | |
1894 | p.Locked = true | |
1895 | p.Anchored = true | |
1896 | p.CanCollide = true | |
1897 | p.Transparency = 1 | |
1898 | p.FormFactor = "Custom" | |
1899 | p.Size = Vector3.new(5,15,0.25) | |
1900 | p.TopSurface = 0 | |
1901 | p.BottomSurface = 0 | |
1902 | p.Color = Settings.Colors[1] | |
1903 | p.CFrame = CFrame.new(T.Position)* CFrame.fromEulerAnglesXYZ(0,math.rad((i *360/10)+Rot),0)* CFrame.new(0,0,-5) | |
1904 | local op = Instance.new("PointLight",p) | |
1905 | op.Color = Color3.new(1,1,1) | |
1906 | op.Range = 4.657 | |
1907 | op.Brightness = 10 | |
1908 | table.insert(Parts,p) | |
1909 | table.insert(Connections,p.Touched:connect(function(obj) | |
1910 | if GetBiggestVector(obj.Size)>= 150 or HitAlready[obj]or obj:IsDescendantOf(Character)then return end | |
1911 | for i,_ in pairs(HitAlready)do | |
1912 | if i ~= nil then | |
1913 | if obj:IsDescendantOf(i.Parent)then | |
1914 | return end end end | |
1915 | HitAlready[obj]= true | |
1916 | pcall(function() | |
1917 | DoScript(Game.Players:GetPlayerFromCharacter(obj.Parent),"SFlash") | |
1918 | DoScript(Game.Players:GetPlayerFromCharacter(obj.Parent),"CameraShake") | |
1919 | end)delay(1,function()HitAlready[obj]= nil end) | |
1920 | local p = Instance.new("Part",Character) | |
1921 | p.Locked = true | |
1922 | p.Anchored = true | |
1923 | p.CanCollide = false | |
1924 | p.Size = Vector3.new(1,1,1) | |
1925 | p.Color = Settings.Colors[1] | |
1926 | p.TopSurface = 0 | |
1927 | p.Transparency = 1 | |
1928 | p.BottomSurface = 0 | |
1929 | p.CFrame = CFrame.new(obj.Position) | |
1930 | local pm;pm = Instance.new("SpecialMesh",p) | |
1931 | pm.Scale = Vector3.new(0,0,0) | |
1932 | pm.MeshId = "http://www.roblox.com/asset/?id=1185246" | |
1933 | Game:GetService("Debris"):AddItem(p,3) | |
1934 | coroutine.wrap(function() | |
1935 | for i = 1,15 do | |
1936 | p.Transparency = p.Transparency -(1/15) | |
1937 | pm.Scale = pm.Scale +Vector3.new(math.abs(GetBiggestVector(obj.Size)*0.5)+(i/1.67),math.abs(GetBiggestVector(obj.Size)*0.5)+(i/1.67),math.abs(GetBiggestVector(obj.Size)*0.5)+(i/1.67)) | |
1938 | Wait() | |
1939 | end local sc = pm.Scale;pm:Destroy()pm = Instance.new("CylinderMesh",p)pm.Scale = sc +Vector3.new(0,100000,0) | |
1940 | for i = 1,15 do | |
1941 | p.Transparency = i/15 | |
1942 | pm.Scale = pm.Scale -Vector3.new((math.abs(GetBiggestVector(obj.Size)*0.5)+(i/1.67))/2,100000/15,(math.abs(GetBiggestVector(obj.Size)*0.5)+(i/1.67))/2) | |
1943 | p.Color = Color3.new(i/15,i/15,i/15) | |
1944 | Wait() | |
1945 | end | |
1946 | p:Destroy() | |
1947 | end)()TweenColor3(p,"Color",p.Color,Settings.Colors[1],0.5,true,function() | |
1948 | TweenColor3(p,"Color",p.Color,Settings.Colors[2],0.5,true) | |
1949 | end)local h = obj.Parent:findFirstChild("Humanoid") | |
1950 | local go = false | |
1951 | local t = obj.Parent:findFirstChild("Torso") | |
1952 | if h then | |
1953 | if h.MaxHealth == math.huge or h.Health <= 0 then | |
1954 | go = true | |
1955 | if t then | |
1956 | local bf = Instance.new("BodyVelocity",t) | |
1957 | bf.velocity =(p.Position -t.Position).unit *350 | |
1958 | bf.maxForce = Vector3.new(1000000,1000000,1000000)*100200 | |
1959 | Game:GetService("Debris"):AddItem(bf,0.5) | |
1960 | delay(0.5,function() | |
1961 | DoDamage(obj.Parent,h.MaxHealth,false,true) | |
1962 | end)end else | |
1963 | if t then | |
1964 | local bf = Instance.new("BodyVelocity",t) | |
1965 | bf.velocity =(p.Position -t.Position).unit *350 | |
1966 | bf.maxForce = Vector3.new(1000000,1000000,1000000)*100200 | |
1967 | Game:GetService("Debris"):AddItem(bf,0.5) | |
1968 | DoDamage(obj.Parent,math.ceil(ShieldHealth/200),false,true) | |
1969 | end end end | |
1970 | if not go then | |
1971 | if obj.Parent:IsA("Model")then | |
1972 | for i,v in pairs(GetAllChildren(obj.Parent))do | |
1973 | if v:IsA("BasePart")then | |
1974 | TweenColor3(v,"Color",v.Color,v.Color == Settings.Colors[2]and Settings.Colors[1]or Settings.Colors[2],0.5,true,function()for i = 1,90 do v.Transparency = i/90 Wait()end pcall(function()v:Destroy()end)end) | |
1975 | else n(v)end end else | |
1976 | TweenColor3(obj,"Color",obj.Color,obj.Color == Settings.Colors[2]and Settings.Colors[1]or Settings.Colors[2],0.5,true,function()for i = 1,90 do obj.Transparency = i/90 Wait()end pcall(function()obj:Destroy()end)end) | |
1977 | for i,v in pairs(obj:GetChildren())do | |
1978 | n(v) | |
1979 | end end end end))coroutine.wrap(function() | |
1980 | for n = 1,15 do | |
1981 | p.Transparency = p.Transparency -(1/15) | |
1982 | Wait() | |
1983 | end | |
1984 | TweenColor3(p,"Color",p.Color,Settings.Colors[2],1,true) | |
1985 | LOCALDEBOUNCE = true | |
1986 | end)()end | |
1987 | local Change = true | |
1988 | local LastHealth = HU.Health;table.insert(Connections,HU.HealthChanged:connect(function(HV) | |
1989 | if HV < LastHealth then | |
1990 | local SH = ShieldHealth | |
1991 | ShieldHealth = ShieldHealth -HV | |
1992 | local pl = HV | |
1993 | if ShieldHealth <= 0 then pl = math.abs(ShieldHealth +SH)LOCALDEBOUNCE = false ShieldHealth = 0 Debounces.Shielding = false | |
1994 | LOCALDEBOUNCE = false | |
1995 | Debounces.Attacking = false | |
1996 | Debounces.Shielding = false | |
1997 | SState = "Standing" | |
1998 | o:disconnect() | |
1999 | T.Anchored = false | |
2000 | LA.Anchored = false | |
2001 | RA.Anchored = false | |
2002 | end | |
2003 | Txtlbl.TextColor3 = Color3.new(MShieldHealth/ShieldHealth,MShieldHealth/ShieldHealth,MShieldHealth/ShieldHealth) | |
2004 | coroutine.wrap(function() | |
2005 | for n = 1,16 do | |
2006 | local s = '' | |
2007 | for i = 1,#Txtlbl.Text do | |
2008 | s = s..math.random(0,9) | |
2009 | end | |
2010 | Txtlbl.Text = s | |
2011 | Wait() | |
2012 | end | |
2013 | Txtlbl.Text = tostring(ShieldHealth) | |
2014 | end)()if Change then | |
2015 | Change = false | |
2016 | coroutine.wrap(function() | |
2017 | for i = 1,13 do | |
2018 | Txtlbl.Rotation = math.abs(Txtlbl.Rotation)== Txtlbl.Rotation and Txtlbl.Rotation +math.random(-12,-1)or Txtlbl.Rotation +math.random(1,12) | |
2019 | Wait() | |
2020 | end | |
2021 | Txtlbl.Rotation = 0 | |
2022 | Change = true | |
2023 | end)()end | |
2024 | HU:TakeDamage(pl *-1) | |
2025 | end end)) | |
2026 | PlaySound("http://www.roblox.com/asset?id=167115397",1,50,T.CFrame) | |
2027 | repeat Wait()until LOCALDEBOUNCE | |
2028 | coroutine.wrap(function() | |
2029 | while Wait()do | |
2030 | if not LOCALDEBOUNCE then break end | |
2031 | for i,v in pairs(Parts)do | |
2032 | v.CanCollide = true | |
2033 | v.CFrame = CFrame.new(T.Position)* CFrame.fromEulerAnglesXYZ(0,math.rad((i *360/#Parts)+Rot),0)* CFrame.new(0,0,-5)* CFrame.fromEulerAnglesXYZ(math.rad(45),0,0) | |
2034 | end Rot = Rot >= 360 and 0 or Rot +5.5 end pcall(function()BillboardGui:Destroy()end)for i,v in pairs(Connections)do | |
2035 | v:disconnect() | |
2036 | end for _,v in pairs(Parts)do | |
2037 | coroutine.wrap(function() | |
2038 | local l,r = v.Size.X/15,0 | |
2039 | TweenColor3(v,"Color",v.Color,Settings.Colors[1],(1/30)*15,true) | |
2040 | for i = 1,15 do | |
2041 | v.Size = v.Size -Vector3.new(l,0,0) | |
2042 | Wait() | |
2043 | end | |
2044 | v:Destroy() | |
2045 | end)()end end)()end; | |
2046 | j = function(Mouse) | |
2047 | if Debounces.Attacking or CurrentPower -MaxPower < 0 then return end | |
2048 | CurrentPower = CurrentPower -MaxPower | |
2049 | SState = "Null" | |
2050 | ResetWelds() | |
2051 | Debounces.Attacking = true | |
2052 | _DEBOUNCE = false | |
2053 | T.Anchored = true | |
2054 | for i = 1,13 do | |
2055 | if i < 6 then | |
2056 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/6.5,0,0) | |
2057 | end | |
2058 | LS.C0 = LS.C0 * CFrame.new(0,-0.05,0) | |
2059 | Wait() | |
2060 | end local Projectile = Instance.new("Model",Character) | |
2061 | local P0 = Instance.new("Model",Projectile) | |
2062 | local Main = Instance.new("Part",Projectile) | |
2063 | Main.Anchored = false | |
2064 | Main.Size = Vector3.new(1,1,1) | |
2065 | Main.Locked = true | |
2066 | Main.CanCollide = false | |
2067 | Main.Transparency = 1 | |
2068 | local Weld = Instance.new("Weld",Main) | |
2069 | Weld.Part0 = LA | |
2070 | Weld.Part1 = Main | |
2071 | Weld.C0 = CFrame.new(0,-10,0) | |
2072 | local oD = Instance.new("Part",Projectile) | |
2073 | oD.Anchored = false | |
2074 | oD.Locked = true | |
2075 | oD.CanCollide = false | |
2076 | oD.Transparency = 1 | |
2077 | oD.Color = Settings.Colors[2] | |
2078 | oD.TopSurface = 0 | |
2079 | oD.BottomSurface = 0 | |
2080 | oD.Size = Vector3.new(1,1,1) | |
2081 | local w = Instance.new("Weld",Main) | |
2082 | w.Part0 = Main | |
2083 | w.Part1 = oD | |
2084 | local bpm = Instance.new("SpecialMesh",oD) | |
2085 | bpm.Scale = Vector3.new(0,0,0) | |
2086 | bpm.MeshId = "http://www.roblox.com/asset/?id=1185246" | |
2087 | LA.Anchored = true | |
2088 | for i = 1,150 do | |
2089 | bpm.Scale = bpm.Scale + Vector3.new(11/300,11/300,11/300) | |
2090 | oD.Transparency = oD.Transparency -(1/150) | |
2091 | if i%2 == 1 then | |
2092 | Wait() | |
2093 | end end coroutine.wrap(function() | |
2094 | for i = 1,9 do | |
2095 | local oD = Instance.new("Part",P0) | |
2096 | oD.Anchored = false | |
2097 | oD.Locked = true | |
2098 | oD.CanCollide = false | |
2099 | oD.Color = Settings.Colors[1] | |
2100 | oD.TopSurface = 0 | |
2101 | oD.Transparency = 1 | |
2102 | oD.BottomSurface = 0 | |
2103 | oD.Size = Vector3.new(1,1,1) | |
2104 | local w = Instance.new("Weld",oD) | |
2105 | w.Part0 = Main | |
2106 | w.Part1 = oD | |
2107 | local bpsm = Instance.new("SpecialMesh",oD) | |
2108 | bpsm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2109 | bpsm.Scale = Vector3.new(bpm.Scale.X,bpm.Scale.Y,0.05) | |
2110 | coroutine.wrap(function() | |
2111 | for n = 1,19 do | |
2112 | oD.Transparency = oD.Transparency -(1/19) | |
2113 | Wait() | |
2114 | end end)()end | |
2115 | while Wait()do | |
2116 | if _DEBOUNCE then break end | |
2117 | for _,n in pairs(P0:GetChildren())do | |
2118 | n.Weld.C0 = n.Weld.C0 * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
2119 | n.Mesh.Scale = Vector3.new(bpm.Scale.X,bpm.Scale.Y,0.05) | |
2120 | end end end)()for i = 1,150 do | |
2121 | bpm.Scale = bpm.Scale + Vector3.new(15/300,15/300,15/300) | |
2122 | if i%2 == 1 then | |
2123 | Wait() | |
2124 | end end | |
2125 | LA.Anchored = false | |
2126 | for i,v in pairs(P0:GetChildren())do | |
2127 | if v:IsA("BasePart")then | |
2128 | v.Color = Color3.new(1,0,0) | |
2129 | end end for i = 1,15 do | |
2130 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(0,0,-math.pi/30) | |
2131 | Wait() | |
2132 | end Weld:Destroy() | |
2133 | for i = 1,9 do | |
2134 | local oD = Instance.new("Part",Character) | |
2135 | oD.Anchored = true | |
2136 | oD.Locked = true | |
2137 | oD.CanCollide = false | |
2138 | oD.Color = Settings.Colors[1] | |
2139 | oD.TopSurface = 0 | |
2140 | oD.BottomSurface = 0 | |
2141 | oD.Size = Vector3.new(1,1,1) | |
2142 | oD.CFrame = LA.CFrame * CFrame.new(0,-1.5,0) | |
2143 | local bpsm = Instance.new("SpecialMesh",oD) | |
2144 | bpsm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2145 | bpsm.Scale = Vector3.new(0,0,0) | |
2146 | coroutine.wrap(function() | |
2147 | for n = 1,13 do | |
2148 | oD.Transparency = n/13 | |
2149 | bpsm.Scale = bpsm.Scale + Vector3.new(n/13,n/13,n/13) | |
2150 | Wait() | |
2151 | end oD:Destroy()end)()end | |
2152 | local Sucking = {} | |
2153 | local bv = Instance.new("BodyVelocity",Main) | |
2154 | bv.velocity = T.CFrame.lookVector *165 | |
2155 | local function Checkk(Char) | |
2156 | for i,v in pairs(Sucking)do | |
2157 | if v == Char then | |
2158 | return true | |
2159 | end end end | |
2160 | coroutine.wrap(function() | |
2161 | while Wait()do | |
2162 | if _DEBOUNCE then break end | |
2163 | for i,v in pairs(IsNear(Main.Position,30,false))do | |
2164 | if not Checkk(v)and v ~= Character then | |
2165 | table.insert(Sucking,v) | |
2166 | coroutine.wrap(function() | |
2167 | local bp = Instance.new("BodyPosition",v.Torso) | |
2168 | bp.P = 300000 | |
2169 | bp.maxForce = Vector3.new(10000000,10000000,10000000) | |
2170 | local _O = false | |
2171 | coroutine.wrap(function() | |
2172 | while Wait()do | |
2173 | if _O then break end | |
2174 | bp.position = Main.Position | |
2175 | end bp:Destroy()end)() | |
2176 | repeat | |
2177 | Wait() | |
2178 | until(Main.Position -v.Torso.Position).magnitude <= 3 | |
2179 | bpm.Scale = bpm.Scale *(100/v.Humanoid.Health) | |
2180 | _O = true | |
2181 | for _,q in pairs(v:GetChildren())do | |
2182 | if q:IsA("Clothing")or v:IsA("Hat")then | |
2183 | q:Destroy() | |
2184 | elseif q:IsA("Part")then | |
2185 | if v.Name ~= "Torso" then | |
2186 | bp:Clone().Parent = v | |
2187 | end coroutine.wrap(function() | |
2188 | for lol = 1,13 do | |
2189 | q.Transparency = lol/13 | |
2190 | Wait() | |
2191 | end q:Destroy()end)()end end end)()end end end end)() | |
2192 | local Properties = {} | |
2193 | coroutine.wrap(function() | |
2194 | Wait(0.15) | |
2195 | while Wait(0.05)do | |
2196 | if _DEBOUNCE then break end | |
2197 | local Hit,Pos = Workspace:FindPartOnRayWithIgnoreList(Ray.new(Main.Position,Main.Position -(Main.Position +Vector3.new(0,150,0)).unit *150),{unpack(AllHumanoids()),Projectile,Character})-- ray cast | |
2198 | if Hit ~= nil then | |
2199 | Properties.BrickColor = Hit.BrickColor | |
2200 | Properties.Material = Hit.Material | |
2201 | Properties.Reflectance = Hit.Reflectance | |
2202 | Properties.Transparency = Hit.Transparency | |
2203 | Properties.TopSurface = Hit.TopSurface | |
2204 | Properties.BottomSurface = Hit.BottomSurface | |
2205 | Properties.BackSurface = Hit.BackSurface | |
2206 | Properties.LeftSurface = Hit.LeftSurface | |
2207 | Properties.RightSurface = Hit.RightSurface | |
2208 | Properties.FrontSurface = Hit.FrontSurface | |
2209 | Properties.Friction = Hit.Friction | |
2210 | for u = 1,math.random(2,3)do | |
2211 | local p = Instance.new("Part",Projectile) | |
2212 | p.Anchored = true | |
2213 | p.Locked = true | |
2214 | p.CanCollide = true | |
2215 | p.Size = Vector3.new(bpm.Scale.X +(math.random(-80,80)/10),math.random(2,6),bpm.Scale.Z +(math.random(-80,80)/10)) | |
2216 | for i,v in pairs(Properties)do | |
2217 | p[i]= v | |
2218 | end | |
2219 | p.CFrame = CFrame.new(Pos)* CFrame.new(math.random(-5,5),0,math.random(-5,5))* CFrame.Angles(Main.CFrame:toEulerAnglesXYZ())* CFrame.fromEulerAnglesXYZ(math.random(-100,100)/35,math.random(-50,50)/10,math.random(-100,100)/35) | |
2220 | local s = Instance.new("Smoke",p) | |
2221 | s.Size = p.Size.magnitude *1.5 | |
2222 | s.RiseVelocity = 3 | |
2223 | Game:GetService("Debris"):AddItem(s,0.5) | |
2224 | end end end end)() | |
2225 | LA.Anchored = true | |
2226 | local on = Mouse.Button1Down:connect(function() | |
2227 | _DEBOUNCE = true | |
2228 | end)while Wait()do | |
2229 | if _DEBOUNCE then break end | |
2230 | local oD = Instance.new("Part",Character) | |
2231 | oD.Anchored = true | |
2232 | oD.Locked = true | |
2233 | oD.CanCollide = false | |
2234 | oD.Color = Color3.new(1,0,0) | |
2235 | oD.TopSurface = 0 | |
2236 | oD.BottomSurface = 0 | |
2237 | oD.Size = Vector3.new(1,1,1) | |
2238 | oD.CFrame = LA.CFrame * CFrame.new(0,-1.5,0) | |
2239 | local bpsm = Instance.new("SpecialMesh",oD) | |
2240 | bpsm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2241 | bpsm.Scale = Vector3.new(0,0,0) | |
2242 | coroutine.wrap(function() | |
2243 | for n = 1,13 do | |
2244 | oD.Transparency = n/13 | |
2245 | bpsm.Scale = bpsm.Scale + Vector3.new(n/13,n/13,n/13) | |
2246 | oD.CFrame = oD.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-80,50)/10,math.random(-80,50)/10,math.random(-80,50)/10) | |
2247 | Wait() | |
2248 | end oD:Destroy()end)()end | |
2249 | on:disconnect() | |
2250 | bv.velocity = bv.velocity *0.25 | |
2251 | P0:BreakJoints() | |
2252 | for i,v in pairs(P0:GetChildren())do | |
2253 | v.Anchored = true | |
2254 | v.Color = Color3.new(1,0,0) | |
2255 | coroutine.wrap(function() | |
2256 | for n = 1,13 do | |
2257 | v.Mesh.Scale = v.Mesh.Scale + Vector3.new(22.5,22.5,22.5) | |
2258 | v.CFrame = v.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50) | |
2259 | v.Transparency = n/13 | |
2260 | Wait() | |
2261 | end end)()end | |
2262 | Wait(1) | |
2263 | Projectile:BreakJoints() | |
2264 | oD.Anchored = true | |
2265 | Main.Anchored = true | |
2266 | oD.Color = Color3.new(1,1,0) | |
2267 | oD.Material = "Granite" | |
2268 | local oDr = Instance.new("Part",Character) | |
2269 | oDr.Anchored = true | |
2270 | oDr.Locked = true | |
2271 | oDr.CanCollide = false | |
2272 | oDr.Color = Settings.Colors[2] | |
2273 | oDr.TopSurface = 0 | |
2274 | oDr.BottomSurface = 0 | |
2275 | oDr.Size = Vector3.new(1,1,1) | |
2276 | oDr.CFrame = oD.CFrame | |
2277 | local bpsm = Instance.new("SpecialMesh",oDr) | |
2278 | bpsm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2279 | bpsm.Scale = Vector3.new(0,0,0) | |
2280 | for i = 1,13 do | |
2281 | bpm.Scale = bpm.Scale + Vector3.new(20,20,20) | |
2282 | oD.Transparency = i/26 | |
2283 | bpsm.Scale = Vector3.new(bpm.Scale.X,bpm.Scale.Y,0.5) | |
2284 | oDr.CFrame = oDr.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
2285 | Wait() | |
2286 | end | |
2287 | TweenColor3(oD,"Color",oD.Color,Settings.Colors[1],1,true,function()oo = true end) | |
2288 | coroutine.wrap(function() | |
2289 | while Wait()do | |
2290 | if not _DEBOUNCE then break end | |
2291 | oDr.CFrame = oDr.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
2292 | bpsm.Scale = Vector3.new(bpm.Scale.X,bpm.Scale.Y,0.5) | |
2293 | end oDr:Destroy()end)() | |
2294 | Wait(0.5) | |
2295 | oD.Color = Color3.new(1,0,0) | |
2296 | local o = bpm.Scale.X/90 | |
2297 | for i = 1,90 do | |
2298 | bpm.Scale = bpm.Scale -Vector3.new(o,o,o) | |
2299 | Wait() | |
2300 | end | |
2301 | _DEBOUNCE = true | |
2302 | local cp = Instance.new("Part",Projectile) | |
2303 | cp.Locked = true | |
2304 | cp.Anchored = true | |
2305 | cp.CanCollide = false | |
2306 | cp.Size = Vector3.new(0,0,0) | |
2307 | cp.Color = Settings.Colors[2] | |
2308 | cp.TopSurface = 0 | |
2309 | cp.Transparency = 1 | |
2310 | cp.BottomSurface = 0 | |
2311 | cp.CFrame = CFrame.new(Main.Position) | |
2312 | local bc = Instance.new("CylinderMesh",cp) | |
2313 | bc.Scale = Vector3.new(0,0,0) | |
2314 | for i = 1,90 do | |
2315 | bc.Scale = bc.Scale + Vector3.new(15,10000,15) | |
2316 | cp.Transparency = i/270 | |
2317 | Wait() | |
2318 | end | |
2319 | coroutine.wrap(function() | |
2320 | local cp2 = Instance.new("Part",Projectile) | |
2321 | cp2.Locked = true | |
2322 | cp2.Anchored = true | |
2323 | cp2.CanCollide = false | |
2324 | cp2.Size = Vector3.new(0,0,0) | |
2325 | cp2.Color = Settings.Colors[1] | |
2326 | cp2.TopSurface = 0 | |
2327 | cp2.Transparency = 1 | |
2328 | cp2.BottomSurface = 0 | |
2329 | cp2.CFrame = CFrame.new(Main.Position) | |
2330 | local bc2 = Instance.new("CylinderMesh",cp2) | |
2331 | bc2.Scale = Vector3.new(0,0,0) | |
2332 | for i = 1,60 do | |
2333 | bc2.Scale = bc.Scale + Vector3.new(15,10000,15) | |
2334 | cp2.Transparency = i/60 | |
2335 | Wait() | |
2336 | end | |
2337 | cp2:Destroy() | |
2338 | end)() | |
2339 | for i = 1,30 do | |
2340 | bc.Scale = bc.Scale -Vector3.new(45,30000,45) | |
2341 | cp.Transparency = i/35 | |
2342 | Wait() | |
2343 | end | |
2344 | for i,v in pairs(Game.Players:GetPlayers())do DoScript(v,"SFlash")end | |
2345 | local CachedTime = Game.Lighting.TimeOfDay | |
2346 | local Sky,o = {},Game.Lighting:findFirstChild("Sky")or Instance.new("Sky",Game.Lighting) | |
2347 | if o then | |
2348 | Sky.SkyboxBk = o.SkyboxBk | |
2349 | Sky.SkyboxDn = o.SkyboxDn | |
2350 | Sky.SkyboxFt = o.SkyboxFt | |
2351 | Sky.SkyboxLf = o.SkyboxLf | |
2352 | Sky.SkyboxRt = o.SkyboxRt | |
2353 | Sky.SkyboxUp = o.SkyboxUp | |
2354 | Sky.CelestialBodiesShown = o.CelestialBodiesShown | |
2355 | end local Parts,Queue = GetAllParts(),{} | |
2356 | for i,v in pairs(Parts)do | |
2357 | if GetBiggestVector(v.Size)< 500 then | |
2358 | v.Anchored = false | |
2359 | table.insert(Queue,v) | |
2360 | end end if o then | |
2361 | o.SkyboxBk = "http://www.roblox.com/asset/?version=1&id=1327340" | |
2362 | o.SkyboxDn = "http://www.roblox.com/asset/?version=1&id=1327341" | |
2363 | o.SkyboxFt = "http://www.roblox.com/asset/?version=1&id=1327338" | |
2364 | o.SkyboxLf = "http://www.roblox.com/asset/?version=1&id=1327339" | |
2365 | o.SkyboxRt = "http://www.roblox.com/asset/?version=1&id=1327337" | |
2366 | o.SkyboxUp = "http://www.roblox.com/asset/?version=1&id=1327342" | |
2367 | o.CelestialBodiesShown = false | |
2368 | end | |
2369 | Game.Lighting.FogEnd = 1000000000 | |
2370 | TweenTimeOfDay("00:00:00",3,true) | |
2371 | Game.Lighting.Brightness = 0.25 | |
2372 | local Pos = Main.Position | |
2373 | coroutine.wrap(function() | |
2374 | local function GetHumanoids() | |
2375 | local Characters = {} | |
2376 | for i,v in pairs(Workspace:GetChildren())do | |
2377 | if v:IsA("Model")then | |
2378 | local Hu = v:findFirstChild("Humanoid") | |
2379 | local Torso = v:findFirstChild("Torso") | |
2380 | if Hu and Torso and v.Name ~= Player.Name then | |
2381 | table.insert(Characters,Torso) | |
2382 | end end end | |
2383 | return Characters | |
2384 | end for i = 1,29 do | |
2385 | for _,v in pairs(GetHumanoids())do | |
2386 | local h = v.Parent:findFirstChild("Humanoid") | |
2387 | if h then | |
2388 | DoDamage(v.Parent,36656,true) | |
2389 | local Moar =(Pos - v.Position).unit | |
2390 | local p = Instance.new("BodyVelocity",v) | |
2391 | p.P = 1500 | |
2392 | p.maxForce = Vector3.new(500000000000,500000000000,500000000000)*500099 | |
2393 | p.velocity = Vector3.new(math.random(-10,10),math.random(3,20),math.random(-10,10))/2 +Moar *12 | |
2394 | Game:GetService("Debris"):AddItem(p,9) | |
2395 | coroutine.wrap(function() | |
2396 | for i = 1,270 do | |
2397 | p.P = p.P -(1500/270) | |
2398 | Wait() | |
2399 | end | |
2400 | v.Anchored = true | |
2401 | p:Destroy() | |
2402 | end)()end end | |
2403 | local p = Instance.new("Part",Character) | |
2404 | p.Name = "BlastRing" | |
2405 | p.TopSurface = 0 | |
2406 | p.BottomSurface = 0 | |
2407 | p.CanCollide = false | |
2408 | p.Anchored = true | |
2409 | p.Color = Settings.Colors[math.random(1,2)] | |
2410 | p.Size = Vector3.new(1,1,1) | |
2411 | p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0)) | |
2412 | local rm = Instance.new("SpecialMesh",p) | |
2413 | rm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2414 | rm.Name = "BlastMesh" | |
2415 | rm.Scale = Vector3.new(1,1,1) | |
2416 | coroutine.wrap(function() | |
2417 | for n = 1,15 do | |
2418 | rm.Scale = rm.Scale + Vector3.new(13.2 +Main.Size.X +i/5,13.2 +Main.Size.X +i/5,0.1)*4/2 | |
2419 | if 2 +i/5 == 1.2 then | |
2420 | rm.Scale = rm.Scale + Vector3.new(0,0.9,0) | |
2421 | end | |
2422 | p.Transparency = n/15 | |
2423 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(360/(math.pi/i),360/(math.pi/i),0) | |
2424 | Wait() | |
2425 | end | |
2426 | p:Destroy() | |
2427 | end)() | |
2428 | local p = Instance.new("Part",Character) | |
2429 | p.Name = "BlastRing" | |
2430 | p.TopSurface = 0 | |
2431 | p.BottomSurface = 0 | |
2432 | p.CanCollide = false | |
2433 | p.Anchored = true | |
2434 | p.Color = Settings.Colors[math.random(1,2)] | |
2435 | p.Size = Vector3.new(1,1,1) | |
2436 | p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0)) | |
2437 | local rm = Instance.new("SpecialMesh",p) | |
2438 | rm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2439 | rm.Name = "BlastMesh" | |
2440 | rm.Scale = Vector3.new(1,1,1) | |
2441 | coroutine.wrap(function() | |
2442 | for n = 1,15 do | |
2443 | rm.Scale = rm.Scale + Vector3.new(12.2 +Main.Size.X +i/5,12.2 +Main.Size.X +i/5,0.1)*4/2 | |
2444 | if 2 +i/5 == 1.2 then | |
2445 | rm.Scale = rm.Scale + Vector3.new(0,0.9,0) | |
2446 | end | |
2447 | p.Transparency = n/15 | |
2448 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,(360/15)-i,0) | |
2449 | Wait() | |
2450 | end | |
2451 | p:Destroy() | |
2452 | end)() | |
2453 | Wait() | |
2454 | end end)() | |
2455 | for _,v in pairs(Queue)do | |
2456 | v.Anchored = false | |
2457 | coroutine.wrap(function() | |
2458 | Wait(2) | |
2459 | v.Anchored = true | |
2460 | local f = Instance.new("Fire",v) | |
2461 | f.Size = GetBiggestVector(v.Size) | |
2462 | f.SecondaryColor = Settings.Colors[2] | |
2463 | f.Color = Settings.Colors[1] | |
2464 | f.Heat = 0 | |
2465 | local o = v | |
2466 | for i,x in pairs(v:GetChildren())do | |
2467 | if x:IsA("SpecialMesh")or x:IsA("CylinderMesh")or x:IsA("BlockMesh")then | |
2468 | f.Size = GetBiggestVector(x.Scale)*1.5 | |
2469 | o = x | |
2470 | break | |
2471 | end end | |
2472 | Wait(1) | |
2473 | local x,y,z,fs = not o:IsA("BasePart")and o.Scale.X or o.Size.X/10,not o:IsA("BasePart")and o.Scale.Y or o.Size.Y/10,not o:IsA("BasePart")and o.Scale.Z or o.Size.Z/10,f.Size/10 | |
2474 | coroutine.wrap(function() | |
2475 | local p = Instance.new("Part",v.Parent) | |
2476 | p.Anchored = true | |
2477 | p.Locked = true | |
2478 | p.CanCollide = false | |
2479 | p.Color = Settings.Colors[2] | |
2480 | p.TopSurface = 0 | |
2481 | p.BottomSurface = 0 | |
2482 | p.Size = Vector3.new(1,1,1) | |
2483 | p.CFrame = v.CFrame | |
2484 | Game:GetService("Debris"):AddItem(p,5) | |
2485 | local m = Instance.new("SpecialMesh",p) | |
2486 | m.Scale = Vector3.new(0,0,0) | |
2487 | m.MeshType = "Sphere" | |
2488 | for n = 1,16 do | |
2489 | m.Scale = m.Scale + Vector3.new(1.15,1.15,1.15) | |
2490 | p.Transparency = n/16 | |
2491 | Wait() | |
2492 | end | |
2493 | p:Destroy() | |
2494 | end)() | |
2495 | for i = 1,10 do | |
2496 | if o:IsA("BasePart")then | |
2497 | o.Size = Vector3.new(o.Size.X -x,o.Size.Y -y,o.Size.Z -z) | |
2498 | else | |
2499 | o.Scale = Vector3.new(o.Scale.X -x,o.Scale.Y -y,o.Scale.Z -z) | |
2500 | end | |
2501 | f.Heat = f.Heat +1.5 | |
2502 | f.Size = f.Size -fs | |
2503 | Wait() | |
2504 | end | |
2505 | f:Destroy() | |
2506 | v:Destroy() | |
2507 | _DEBOUNCE = true | |
2508 | end)()end | |
2509 | _DEBOUNCE = false | |
2510 | for i,v in pairs(Game.Players:GetPlayers())do | |
2511 | DoScript(v,"FadeToBlue") | |
2512 | DoScript(v,"CameraShake") | |
2513 | end repeat Wait()until _DEBOUNCE | |
2514 | LA.Anchored = false | |
2515 | T.Anchored = false | |
2516 | RA.Anchored = false | |
2517 | Projectile:Destroy() | |
2518 | ResetWelds() | |
2519 | SState = "Standing" | |
2520 | Game.Lighting.TimeOfDay = CachedTime | |
2521 | Debounces.Attacking = false | |
2522 | end; | |
2523 | q = function(Mouse) | |
2524 | if Debounces.Attacking or Debounces.Floating then return end | |
2525 | Debounces.Floating = true | |
2526 | SState = "Null" | |
2527 | ResetWelds() | |
2528 | Wait(0.5) | |
2529 | local oo = Mouse.KeyUp:connect(function(Key) | |
2530 | if Key:lower()== 'q' then | |
2531 | _DEBOUNCE = true | |
2532 | end end) | |
2533 | _DEBOUNCE = false | |
2534 | local vu = Instance.new("BodyVelocity",T) | |
2535 | vu.P = 5000 | |
2536 | vu.maxForce = Vector3.new(0,5000000000000000000000,0) | |
2537 | while Wait()do | |
2538 | if CurrentPower -85 < 0 then _DEBOUNCE = true end | |
2539 | if _DEBOUNCE then oo:disconnect()break end | |
2540 | CurrentPower = CurrentPower -25 | |
2541 | vu.velocity = Vector3.new(0,RiseRate *2.35,0) | |
2542 | -- animate a litl bit pls | |
2543 | end | |
2544 | vu:Destroy() | |
2545 | SState = "Standing" | |
2546 | ResetWelds() | |
2547 | Debounces.Floating = false | |
2548 | end; | |
2549 | r = function() | |
2550 | local Target = GetClosest(46.75666-0.666) | |
2551 | if Debounces.Attacking or CurrentPower -10000 < 0 or not Target or not Target:findFirstChild("Torso")then return end | |
2552 | Debounces.Attacking = true | |
2553 | CurrentPower = CurrentPower -10000 | |
2554 | coroutine.wrap(Chat)("Round Wave Crusher.") | |
2555 | ResetWelds() | |
2556 | _DEBOUNCE = false | |
2557 | SState = "Null" | |
2558 | local Holdh = Instance.new("BodyPosition",Target.Torso) | |
2559 | Holdh.position = Target.Torso.Position | |
2560 | Holdh.P = 3000 | |
2561 | Holdh.maxForce = Vector3.new(1000000,1000000,1000000) | |
2562 | Wait(2) | |
2563 | StanceGyro.cframe = CFrame.new(T.Position,Target.Torso.Position) | |
2564 | Wait(2) | |
2565 | Holdh.position =(CFrame.new(T.CFrame.lookVector,Target.Torso.Position).lookVector *125)+ Vector3.new(0,12,0) | |
2566 | for i = 1,13 do | |
2567 | N.C0 = N.C0 * CFrame.fromEulerAnglesXYZ(math.pi/65,0,0) | |
2568 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/26,0,0) | |
2569 | RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/26,0,0) | |
2570 | Wait() | |
2571 | end | |
2572 | repeat Wait()until(Holdh.position -Target.Torso.Position).magnitude <= 3 | |
2573 | local Boldh = Instance.new("BodyPosition",T) | |
2574 | Boldh.position = T.Position + Vector3.new(0,19,0) | |
2575 | Boldh.P = 3000 | |
2576 | Boldh.maxForce = Vector3.new(100000,100000,100000) | |
2577 | repeat Wait()until(Boldh.position -T.Position).magnitude <= 3 | |
2578 | StanceGyro.cframe = CFrame.new(T.Position,Target.Torso.Position) | |
2579 | Wait(1.5) | |
2580 | T.Anchored = true | |
2581 | LA.Anchored = true | |
2582 | RA.Anchored = true | |
2583 | local OldT = H.face.Texture | |
2584 | H.face.Texture = "http://www.roblox.com/asset/?id=167222585" | |
2585 | local Portal = Instance.new("Model",Character) | |
2586 | local prt1 = Instance.new("Model",Portal) | |
2587 | local prt2 = Instance.new("Model",Portal) | |
2588 | local prt3 = Instance.new("Model",Portal) | |
2589 | for i = 1,7 do | |
2590 | local p = Instance.new("Part",prt1) | |
2591 | p.Locked = true | |
2592 | p.Anchored = true | |
2593 | p.Transparency = 1 | |
2594 | p.CanCollide = false | |
2595 | p.Color = Settings.Colors[1] | |
2596 | p.TopSurface = 0 | |
2597 | p.BottomSurface = 0 | |
2598 | p.Size = Vector3.new(1,1,1) | |
2599 | local m = Instance.new("SpecialMesh",p) | |
2600 | m.Name = 'm' | |
2601 | m.Scale = Vector3.new(1,1,1) | |
2602 | m.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
2603 | end for i = 1,7 do | |
2604 | local p = Instance.new("Part",prt2) | |
2605 | p.Locked = true | |
2606 | p.Anchored = true | |
2607 | p.CanCollide = false | |
2608 | p.Transparency = 1 | |
2609 | p.Color = Settings.Colors[2] | |
2610 | p.TopSurface = 0 | |
2611 | p.BottomSurface = 0 | |
2612 | p.Size = Vector3.new(1,1,1) | |
2613 | local m = Instance.new("SpecialMesh",p) | |
2614 | m.Name = 'm' | |
2615 | m.Scale = Vector3.new(1,1,1) | |
2616 | m.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
2617 | end for i = 1,7 do | |
2618 | local p = Instance.new("Part",prt3) | |
2619 | p.Locked = true | |
2620 | p.Anchored = true | |
2621 | p.CanCollide = false | |
2622 | p.Transparency = 1 | |
2623 | p.Color = Color3.new(0.5,0.5,0.5) | |
2624 | p.TopSurface = 0 | |
2625 | p.BottomSurface = 0 | |
2626 | p.Size = Vector3.new(1,1,1) | |
2627 | local m = Instance.new("SpecialMesh",p) | |
2628 | m.Name = 'm' | |
2629 | m.Scale = Vector3.new(1,1,1) | |
2630 | m.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
2631 | end | |
2632 | local Rot,Rate,Dist,Size = 0,65,65,1 | |
2633 | coroutine.wrap(function() | |
2634 | while Wait()do | |
2635 | if _DEBOUNCE then break end | |
2636 | for i,v in pairs(prt1:GetChildren())do | |
2637 | v.Transparency = v.Transparency -0.035 | |
2638 | v.CFrame = CFrame.new(Target.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,math.rad((i *360/#prt1:GetChildren())+Rot),0)* CFrame.new(0,0,-Dist) | |
2639 | v.m.Scale = Vector3.new(Size,Size,Size) | |
2640 | end for i,v in pairs(prt2:GetChildren())do | |
2641 | v.Transparency = v.Transparency -0.035 | |
2642 | v.CFrame = CFrame.new(Target.Torso.Position)* CFrame.fromEulerAnglesXYZ(math.rad((i *360/#prt2:GetChildren())+Rot),0,0)* CFrame.new(0,0,-Dist) | |
2643 | v.m.Scale = Vector3.new(Size,Size,Size) | |
2644 | end for i,v in pairs(prt3:GetChildren())do | |
2645 | v.Transparency = v.Transparency -0.035 | |
2646 | v.CFrame = CFrame.new(Target.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,0,math.rad((i *360/#prt2:GetChildren())+Rot))* CFrame.new(-Dist,-Dist,0) | |
2647 | v.m.Scale = Vector3.new(Size,Size,Size) | |
2648 | end | |
2649 | Rot = Rot >= 360 and 0 or Rot +Rate | |
2650 | end end)() | |
2651 | Wait(0.75) | |
2652 | H.face.Texture = OldT | |
2653 | for i = 1,90 do | |
2654 | Rate = Rate -(2.3/3) | |
2655 | Dist = Dist -(1.5/3) | |
2656 | Wait() | |
2657 | end | |
2658 | Wait(1) | |
2659 | for i = 1,30 do | |
2660 | Rate = Rate -(2.3/3) | |
2661 | Dist = Dist +0.5 | |
2662 | Wait() | |
2663 | end | |
2664 | Wait(2) | |
2665 | for i = 1,30 do | |
2666 | Rate = Rate +(9.2/3) | |
2667 | Dist = Dist -1.75 | |
2668 | Wait() | |
2669 | end | |
2670 | H.face.Texture = "http://www.roblox.com/asset/?id=167222585" | |
2671 | Wait(0.75) | |
2672 | H.face.Texture = OldT | |
2673 | for i = 1,6 do | |
2674 | Rate = Rate -4 | |
2675 | Dist = Dist +0.5 | |
2676 | Wait() | |
2677 | end | |
2678 | Rate = 0 | |
2679 | Dist = 6 | |
2680 | DoScript(Game.Players:GetPlayerFromCharacter(Target),"CrazyEyes") | |
2681 | coroutine.wrap(Chat)("Crusher...") | |
2682 | Wait(2) | |
2683 | for i = 1,90 do | |
2684 | Rate = Rate +0.5 | |
2685 | Dist = Dist +0.2 | |
2686 | Wait() | |
2687 | end | |
2688 | Wait(1) | |
2689 | for i = 1,30 do | |
2690 | Dist = Dist -(24/30) | |
2691 | Size = Size +0.05 | |
2692 | Wait() | |
2693 | end | |
2694 | -- Scream in pain | |
2695 | for i,v in pairs(Target.Torso:GetChildren())do | |
2696 | if v:IsA("Motor6D")then | |
2697 | coroutine.wrap(function() | |
2698 | for u = 1,32 do | |
2699 | v.C0 = v.C0 * CFrame.fromEulerAnglesXYZ(math.random(-76,75)/10,math.random(-76,75)/10,math.random(-76,75)/10) | |
2700 | Wait(0.05) | |
2701 | end if v.Name ~= "Neck" then | |
2702 | v:Destroy() | |
2703 | end end)()end end | |
2704 | coroutine.wrap(function() | |
2705 | for i = 1,3 do | |
2706 | Blood(Target.Torso) | |
2707 | Wait() | |
2708 | end end)() | |
2709 | Wait(1.65) | |
2710 | _DEBOUNCE = true | |
2711 | Wait() | |
2712 | Portal:Destroy() | |
2713 | coroutine.wrap(function() | |
2714 | local Pos = Target.Torso.Position | |
2715 | local BOOSH = Instance.new("Sound",Workspace) | |
2716 | BOOSH.SoundId = "http://www.roblox.com/asset/?id=2101159" | |
2717 | BOOSH.Volume = 1 | |
2718 | BOOSH.Pitch = 0.675 | |
2719 | local Fuse = Instance.new("Sound",Workspace) | |
2720 | Fuse.SoundId = "http://www.roblox.com/asset/?id=2233908" | |
2721 | Fuse.Volume = 1 | |
2722 | Fuse.Pitch = 0.25 | |
2723 | local BOOSH2 = Instance.new("Sound",Workspace) | |
2724 | BOOSH2.SoundId = "http://www.roblox.com/asset/?id=3264793" | |
2725 | BOOSH2.Volume = 1 | |
2726 | BOOSH2.Pitch = 0.25 | |
2727 | local dsound = true | |
2728 | local PewPew = Instance.new("Sound",Workspace) | |
2729 | PewPew.Name = "PewPew" | |
2730 | PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534" | |
2731 | PewPew.Volume = 1 | |
2732 | PewPew.Pitch = 0.32 | |
2733 | local function GetHumanoids() | |
2734 | local Characters = {} | |
2735 | for i,v in pairs(Workspace:GetChildren())do | |
2736 | if v:IsA("Model")then | |
2737 | local Hu = v:findFirstChild("Humanoid") | |
2738 | local Torso = v:findFirstChild("Torso") | |
2739 | if Hu and Torso and v.Name ~= Player.Name then | |
2740 | table.insert(Characters,Torso) | |
2741 | end end end | |
2742 | return Characters | |
2743 | end | |
2744 | local function Boom() | |
2745 | for i = 1,25 do | |
2746 | for _,v in pairs(GetHumanoids())do | |
2747 | if(Pos - v.Position).magnitude <=(40 +i *2.5)/2 then | |
2748 | local h = v.Parent:findFirstChild("Humanoid") | |
2749 | if h then | |
2750 | local Moar =(Pos - v.Position).unit | |
2751 | local p = Instance.new("BodyVelocity",v) | |
2752 | p.P = 1500 | |
2753 | p.maxForce = Vector3.new(500000000000,500000000000,500000000000)*500099 | |
2754 | p.velocity = Vector3.new(math.random(-10,10),math.random(3,20),math.random(-10,10))/2 +Moar *12 | |
2755 | Game:GetService("Debris"):AddItem(p,0.15) | |
2756 | local p = Instance.new("BodyAngularVelocity",v) | |
2757 | p.P = 1500 | |
2758 | p.maxTorque = Vector3.new(50000000,50000000,50000000)*5000 | |
2759 | p.angularvelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position - Pos).unit *30 | |
2760 | Game:GetService("Debris"):AddItem(p,0.1) | |
2761 | end end end | |
2762 | local p = Instance.new("Part",Character) | |
2763 | p.Name = "BlastRing" | |
2764 | p.TopSurface = 0 | |
2765 | p.BottomSurface = 0 | |
2766 | p.CanCollide = false | |
2767 | p.Anchored = true | |
2768 | p.Color = Settings.Colors[math.random(1,2)] | |
2769 | p.Size = Vector3.new(1,1,1) | |
2770 | p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30) | |
2771 | local rm = Instance.new("SpecialMesh",p) | |
2772 | rm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2773 | rm.Name = "BlastMesh" | |
2774 | rm.Scale = Vector3.new(1,1,1) | |
2775 | coroutine.wrap(function() | |
2776 | for n = 1,15 do | |
2777 | rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*4/2 | |
2778 | if 2 +i/5 == 1.2 then | |
2779 | rm.Scale = rm.Scale + Vector3.new(0,0.9,0) | |
2780 | end | |
2781 | p.Transparency = n/15 | |
2782 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0) | |
2783 | Wait() | |
2784 | end | |
2785 | p:Destroy() | |
2786 | end)() | |
2787 | local p = Instance.new("Part",Character) | |
2788 | p.TopSurface = 0 | |
2789 | p.BottomSurface = 0 | |
2790 | p.formFactor = "Symmetric" | |
2791 | p.Size = Vector3.new(1,1,1) | |
2792 | p.Anchored = true | |
2793 | p.CanCollide = false | |
2794 | p.Color = Settings.Colors[math.random(1,2)] | |
2795 | p.CFrame = CFrame.new(Pos) | |
2796 | local m = Instance.new("BlockMesh",p) | |
2797 | coroutine.wrap(function() | |
2798 | for x = 1,48 do | |
2799 | m.Scale = m.Scale + Vector3.new(0.48 *2 -x/50 +i *0.4,0.48 *2 -i/50 +i *0.4,0.48 *2 -i/50 +i *0.4)/2 | |
2800 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/60,math.random(-10,10)/50) | |
2801 | p.Transparency = x/48 | |
2802 | Wait() | |
2803 | end | |
2804 | p:Destroy() | |
2805 | end)() | |
2806 | Game:GetService("Debris"):AddItem(p,5) | |
2807 | local p = Instance.new("Part",Character) | |
2808 | p.Name = "BlastRing" | |
2809 | p.TopSurface = 0 | |
2810 | p.BottomSurface = 0 | |
2811 | p.CanCollide = false | |
2812 | p.Anchored = true | |
2813 | p.Color = Settings.Colors[math.random(1,2)] | |
2814 | p.Size = Vector3.new(1,1,1) | |
2815 | p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0) | |
2816 | local m = Instance.new("SpecialMesh",p) | |
2817 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2818 | m.Scale = Vector3.new(1,0.25,1) | |
2819 | coroutine.wrap(function() | |
2820 | for n = 1,13 do | |
2821 | m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2 | |
2822 | if 1 +i/5 == 1.2 then | |
2823 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
2824 | end | |
2825 | p.Transparency = n/13 | |
2826 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0) | |
2827 | Wait() | |
2828 | end | |
2829 | p:Destroy() | |
2830 | end)() | |
2831 | Wait(0.1) | |
2832 | end for i = 10,19 do | |
2833 | local p = Instance.new("Part",Character) | |
2834 | p.Name = "BlastRing" | |
2835 | p.TopSurface = 0 | |
2836 | p.BottomSurface = 0 | |
2837 | p.CanCollide = false | |
2838 | p.Anchored = true | |
2839 | p.Color = Settings.Colors[math.random(1,2)] | |
2840 | p.Size = Vector3.new(1,1,1) | |
2841 | p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0) | |
2842 | local m = Instance.new("SpecialMesh",p) | |
2843 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2844 | m.Scale = Vector3.new(1,0.25,1) | |
2845 | coroutine.wrap(function() | |
2846 | for n = 1,13 do | |
2847 | m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2 | |
2848 | if 1 +i/5 == 1.2 then | |
2849 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
2850 | end | |
2851 | p.Transparency = n/13 | |
2852 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0) | |
2853 | Wait() | |
2854 | end | |
2855 | p:Destroy() | |
2856 | end)() | |
2857 | local p = Instance.new("Part",Character) | |
2858 | p.Name = "BlastRing" | |
2859 | p.TopSurface = 0 | |
2860 | p.BottomSurface = 0 | |
2861 | p.CanCollide = false | |
2862 | p.Anchored = true | |
2863 | p.Color = Settings.Colors[math.random(1,2)] | |
2864 | p.Size = Vector3.new(1,1,1) | |
2865 | p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30) | |
2866 | p.Parent = workspace | |
2867 | local m = Instance.new("SpecialMesh",p) | |
2868 | m.Name = "BlastMesh" | |
2869 | m.Scale = Vector3.new(0.1,0.1,0.1) | |
2870 | m.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2871 | coroutine.wrap(function() | |
2872 | for n = 1,15 do | |
2873 | m.Scale = m.Scale + Vector3.new(1.5 + 3 +i/5,1.5 + 3+i/5,0.1)*4/2 | |
2874 | if 3+i/5 == 1.2 then | |
2875 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
2876 | end | |
2877 | p.Transparency = n/15 | |
2878 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/90,math.random(-20,20)/170,0) | |
2879 | Wait() | |
2880 | end | |
2881 | p:Destroy() | |
2882 | end)() | |
2883 | for _,v in pairs(GetHumanoids())do | |
2884 | if(Pos - v.Position).magnitude <=(5 +i *9.5)/3 then | |
2885 | local h = v.Parent:findFirstChild("Humanoid") | |
2886 | if h then | |
2887 | local Moar =(Pos - v.Position).unit | |
2888 | local p = Instance.new("BodyVelocity",v) | |
2889 | p.P = 1500 | |
2890 | p.maxForce = Vector3.new(500000000000,500000000000,500000000000)*5000000 | |
2891 | p.velocity = Vector3.new(math.random(-10,10),math.random(3,20),math.random(-10,10))/2 +Moar *11 | |
2892 | Game:GetService("Debris"):AddItem(p,0.15) | |
2893 | local p = Instance.new("BodyAngularVelocity",v) | |
2894 | p.P = 1500 | |
2895 | p.maxTorque = Vector3.new(50000000,50000000,50000000)*500000 | |
2896 | p.angularvelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position -Pos).unit *30 | |
2897 | Game:GetService("Debris"):AddItem(p,0.1) | |
2898 | end end end | |
2899 | Wait(0.1) | |
2900 | end for i = 30,37 do | |
2901 | for _,v in pairs(GetHumanoids())do | |
2902 | if(Pos -v.Position).magnitude <=(140 +i *2.5)/3 then | |
2903 | local h = v.Parent:findFirstChild("Humanoid") | |
2904 | if h then | |
2905 | local Moar =(Pos - v.Position).unit | |
2906 | local p = Instance.new("BodyVelocity",v) | |
2907 | p.P = 1500 | |
2908 | p.maxForce = Vector3.new(500000000000,500000000000,500000000000)*500000000000 | |
2909 | p.velocity = Vector3.new(math.random(-10,10),math.random(3,60),math.random(-10,10))+Moar*-160 | |
2910 | Game:GetService("Debris"):AddItem(p,0.15) | |
2911 | local p = Instance.new("BodyAngularVelocity",v) | |
2912 | p.P = 1500 | |
2913 | p.maxTorque = Vector3.new(50000000,50000000,50000000)*500000000000 | |
2914 | p.angularvelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position -Pos).unit *30 | |
2915 | Game:GetService("Debris"):AddItem(p,0.1) | |
2916 | end end end end | |
2917 | dsound = false | |
2918 | wait(6.5) | |
2919 | for i = 1,30 do | |
2920 | BOOSH.Volume = BOOSH.Volume -0.033 | |
2921 | BOOSH2.Volume = BOOSH.Volume | |
2922 | Fuse.Volume = BOOSH.Volume | |
2923 | Wait() | |
2924 | end | |
2925 | BOOSH:Stop() | |
2926 | BOOSH2:Stop() | |
2927 | Fuse:Stop() | |
2928 | end | |
2929 | BOOSH2:Play() | |
2930 | Fuse:Play() | |
2931 | BOOSH:Play() | |
2932 | Boom() | |
2933 | end)() | |
2934 | DoDamage(Target,Target.Humanoid.MaxHealth,false) | |
2935 | T.Anchored = false | |
2936 | RA.Anchored = false | |
2937 | LA.Anchored = false | |
2938 | Boldh:Destroy() | |
2939 | ResetWelds() | |
2940 | SState = "Standing" | |
2941 | Debounces.Attacking = false | |
2942 | end; | |
2943 | f = function(Mouse) | |
2944 | if Debounces.Attacking or CurrentPower -15000 < 0 then return end | |
2945 | Debounces.Attacking = true | |
2946 | CurrentPower = CurrentPower -15000 | |
2947 | local CachedTime = Game.Lighting.TimeOfDay | |
2948 | SState = "Null" | |
2949 | Wait() | |
2950 | ResetWelds() | |
2951 | Wait(0.5) | |
2952 | T.Anchored = true | |
2953 | _DEBOUNCE = false | |
2954 | local oo;oo = Mouse.KeyUp:connect(function(k) | |
2955 | if k:lower()== 'f' then | |
2956 | _DEBOUNCE = true | |
2957 | oo:disconnect() | |
2958 | end end) | |
2959 | for i = 1,15 do | |
2960 | N.C0 = N.C0 * CFrame.fromEulerAnglesXYZ(math.pi/90,0,0) | |
2961 | if i < 7 then | |
2962 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(0,-math.pi/30,0) | |
2963 | else | |
2964 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/30,0,0) | |
2965 | end Wait()end | |
2966 | LA.Anchored = true | |
2967 | local Positionz = {} | |
2968 | local Ball = Instance.new("Model",Character) | |
2969 | local Main = Instance.new("Part",Ball) | |
2970 | Main.Locked = true | |
2971 | Main.CanCollide = false | |
2972 | Main.Transparency = 1 | |
2973 | Main.CFrame = LA.CFrame * CFrame.new(0,-3,0) | |
2974 | Main.Size = Vector3.new(1,1,1) | |
2975 | local _Weld = Instance.new("Weld",Main) | |
2976 | _Weld.Part0 = LA | |
2977 | _Weld.Part1 = Main | |
2978 | _Weld.C0 = CFrame.new(0,-3,0) | |
2979 | local oooooo,ah = false,false | |
2980 | coroutine.wrap(function() | |
2981 | for i = 1,8 do | |
2982 | local p = Instance.new("Part",Ball) | |
2983 | p.Locked = true | |
2984 | p.CanCollide = false | |
2985 | p.Size = Vector3.new(0,0,0) | |
2986 | p.Color = Settings.Colors[1] | |
2987 | p.TopSurface = 0 | |
2988 | p.Transparency = 1 | |
2989 | p.BottomSurface = 0 | |
2990 | p.CFrame = Main.CFrame | |
2991 | local b = Instance.new("SpecialMesh",p) | |
2992 | b.Scale = Vector3.new(0,0,0.05) | |
2993 | b.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2994 | local oweld = Instance.new("Weld",Main) | |
2995 | oweld.Part0 = Main | |
2996 | oweld.Part1 = p | |
2997 | coroutine.wrap(function() | |
2998 | for n = 1,35 do | |
2999 | b.Scale = b.Scale + Vector3.new(0.1,0.1,0) | |
3000 | p.Transparency = p.Transparency -(1/35) | |
3001 | oweld.C0 = oweld.C0 * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
3002 | Wait() | |
3003 | end | |
3004 | for n = 1,15 do | |
3005 | p.Color = Color3.new(p.Color.r-(n/15),p.Color.g-(n/15),p.Color.b-(n/15)) | |
3006 | oweld.C0 = oweld.C0 * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
3007 | Wait() | |
3008 | end | |
3009 | oooooo = true | |
3010 | while Wait()do | |
3011 | if _DEBOUNCE then break end | |
3012 | oweld.C0 = oweld.C0 * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
3013 | if i == 1 then | |
3014 | coroutine.wrap(function() | |
3015 | local p = Instance.new("Part",Ball) | |
3016 | p.Locked = true | |
3017 | p.Anchored = true | |
3018 | p.CanCollide = false | |
3019 | p.Size = Vector3.new(0,0,0) | |
3020 | p.Color = Settings.Colors[1] | |
3021 | p.TopSurface = 0 | |
3022 | p.Transparency = 1 | |
3023 | p.BottomSurface = 0 | |
3024 | p.CFrame = CFrame.new(Main.Position)* CFrame.new(0,-1,0) | |
3025 | local b = Instance.new("SpecialMesh",p) | |
3026 | b.Scale = Vector3.new(3.5,0.05,3.5) | |
3027 | b.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
3028 | for n = 1,13 do | |
3029 | p.Transparency = n/13 | |
3030 | b.Scale = b.Scale + Vector3.new(0.05,0.1,0.05) | |
3031 | p.CFrame =(ah and Main.CFrame or p.CFrame)* CFrame.fromEulerAnglesXYZ(ah and math.random(-10,10)/10 or 0,ah and math.random(-10,10)/10 or math.pi/(math.random(-10,10)/10),ah and math.random(-10,10)/10 or 0) | |
3032 | Wait() | |
3033 | end | |
3034 | p:Destroy() | |
3035 | end)()end end end)() | |
3036 | Wait() | |
3037 | end end)() | |
3038 | repeat Wait()until oooooo | |
3039 | TweenTimeOfDay("00:00:00",1,false) | |
3040 | local p = Instance.new("PointLight",Main) | |
3041 | p.Color = Settings.Colors[1] | |
3042 | p.Range = 0 | |
3043 | local cp = Instance.new("Part",Ball) | |
3044 | cp.Locked = true | |
3045 | cp.Anchored = true | |
3046 | cp.CanCollide = false | |
3047 | cp.Size = Vector3.new(0,0,0) | |
3048 | cp.Color = Settings.Colors[1] | |
3049 | cp.TopSurface = 0 | |
3050 | cp.Transparency = 1 | |
3051 | cp.BottomSurface = 0 | |
3052 | cp.CFrame = CFrame.new(Main.Position) | |
3053 | local bc = Instance.new("CylinderMesh",cp) | |
3054 | bc.Scale = Vector3.new(0,0,0) | |
3055 | local cp2 = Instance.new("Part",Ball) | |
3056 | cp2.Locked = true | |
3057 | cp2.Anchored = true | |
3058 | cp2.CanCollide = false | |
3059 | cp2.Size = Vector3.new(0,0,0) | |
3060 | cp2.Color = Settings.Colors[2] | |
3061 | cp2.TopSurface = 0 | |
3062 | cp2.Transparency = 1 | |
3063 | cp2.BottomSurface = 0 | |
3064 | cp2.CFrame = CFrame.new(Main.Position) | |
3065 | local bc2 = Instance.new("CylinderMesh",cp2) | |
3066 | bc2.Scale = Vector3.new(0,0,0) | |
3067 | for i = 1,60 do | |
3068 | p.Range = p.Range +1 | |
3069 | bc.Scale = bc.Scale + Vector3.new(2.4/60,10000,2.4/60) | |
3070 | bc2.Scale = bc2.Scale + Vector3.new(1.2/60,10000,1.2/60) | |
3071 | cp.Transparency = cp.Transparency -(1/240) | |
3072 | cp2.Transparency = cp2.Transparency -(1/120) | |
3073 | Wait() | |
3074 | end | |
3075 | Wait(1.1) | |
3076 | LA.Anchored = false | |
3077 | for i = 1,30 do | |
3078 | p.Range = p.Range -1 | |
3079 | bc.Scale = bc.Scale - Vector3.new(2.4/30,20000,2.4/30) | |
3080 | bc2.Scale = bc2.Scale - Vector3.new(1.2/30,20000,1.2/30) | |
3081 | cp.Transparency = i/30 | |
3082 | cp2.Transparency = i/30 | |
3083 | if i < 15 then | |
3084 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(0,-math.pi/60,0) | |
3085 | else | |
3086 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/60,0,0) | |
3087 | end | |
3088 | Wait() | |
3089 | end | |
3090 | LA.Anchored = true | |
3091 | ah = true | |
3092 | coroutine.wrap(function() | |
3093 | local cp = Instance.new("Part",Ball) | |
3094 | cp.Locked = true | |
3095 | cp.Anchored = true | |
3096 | cp.CanCollide = false | |
3097 | cp.Size = Vector3.new(0,0,0) | |
3098 | cp.Color = Settings.Colors[1] | |
3099 | cp.TopSurface = 0 | |
3100 | cp.Transparency = 1 | |
3101 | cp.BottomSurface = 0 | |
3102 | cp.CFrame = RA.CFrame * CFrame.new(0,-2,0) | |
3103 | local bc = Instance.new("SpecialMesh",cp) | |
3104 | bc.Scale = Vector3.new(0,0,0) | |
3105 | bc.MeshType = "Sphere" | |
3106 | for i = 1,15 do | |
3107 | bc.Scale = bc.Scale + Vector3.new(1,1,1) | |
3108 | cp.Transparency = i/15 | |
3109 | Wait() | |
3110 | end cp:Destroy()end)() | |
3111 | cp:Destroy() | |
3112 | cp2:Destroy() | |
3113 | for i,v in pairs(IsNear(Main.Position,165,false))do | |
3114 | if v ~= Character then | |
3115 | pcall(function() | |
3116 | local BodyPOS = Instance.new("BodyPosition",v.Torso) | |
3117 | BodyPOS.P = 7000 | |
3118 | BodyPOS.position = Main.Position + Vector3.new(math.random(-30,30),math.random(0,30),math.random(-30,30)) | |
3119 | BodyPOS.maxForce = Vector3.new(3000000,3000000,3000000) | |
3120 | table.insert(Positionz,BodyPOS) | |
3121 | print(v) | |
3122 | end)end end | |
3123 | Wait(0.3) | |
3124 | _Weld:Destroy() | |
3125 | local Bp = Instance.new("BodyPosition",Main) | |
3126 | Bp.position =(LA.CFrame * CFrame.new(0,-180,0)).p | |
3127 | Bp.P = 4000 | |
3128 | Bp.maxForce = Vector3.new(100000,100000,100000) | |
3129 | coroutine.wrap(function() | |
3130 | while Wait()do | |
3131 | if _DEBOUNCE then break end | |
3132 | for i,v in pairs(Positionz)do | |
3133 | v.position = Main.Position + Vector3.new(math.random(-30,30),math.random(0,30),math.random(-30,30)) | |
3134 | end end end)() | |
3135 | while Wait()do | |
3136 | if(Bp.position -Main.Position).magnitude <= 3 then | |
3137 | break | |
3138 | end end | |
3139 | Main.Anchored = true | |
3140 | Bp:Destroy() | |
3141 | Wait(1.2) | |
3142 | TweenTimeOfDay(CachedTime,1,true) | |
3143 | coroutine.wrap(function() | |
3144 | for u = 1,3 do | |
3145 | coroutine.wrap(function() | |
3146 | local cp = Instance.new("Part",Ball) | |
3147 | cp.Locked = true | |
3148 | cp.Anchored = true | |
3149 | cp.CanCollide = false | |
3150 | cp.Size = Vector3.new(0,0,0) | |
3151 | cp.Color = Settings.Colors[2] | |
3152 | cp.TopSurface = 0 | |
3153 | cp.Transparency = 1 | |
3154 | cp.BottomSurface = 0 | |
3155 | cp.CFrame = LA.CFrame * CFrame.new(0,-2,0) | |
3156 | local bc = Instance.new("SpecialMesh",cp) | |
3157 | bc.Scale = Vector3.new(0,0,0) | |
3158 | bc.MeshType = "Sphere" | |
3159 | for i = 1,15 do | |
3160 | bc.Scale = bc.Scale + Vector3.new(1,1,1) | |
3161 | cp.Transparency = i/15 | |
3162 | Wait() | |
3163 | end cp:Destroy()end)()Wait()end end)() | |
3164 | coroutine.wrap(function() | |
3165 | local Pos = Main.Position | |
3166 | local BOOSH = Instance.new("Sound",Workspace) | |
3167 | BOOSH.SoundId = "http://www.roblox.com/asset/?id=2101159" | |
3168 | BOOSH.Volume = 1 | |
3169 | BOOSH.Pitch = 0.675 | |
3170 | local Fuse = Instance.new("Sound",Workspace) | |
3171 | Fuse.SoundId = "http://www.roblox.com/asset/?id=2233908" | |
3172 | Fuse.Volume = 1 | |
3173 | Fuse.Pitch = 0.25 | |
3174 | local BOOSH2 = Instance.new("Sound",Workspace) | |
3175 | BOOSH2.SoundId = "http://www.roblox.com/asset/?id=3264793" | |
3176 | BOOSH2.Volume = 1 | |
3177 | BOOSH2.Pitch = 0.25 | |
3178 | local dsound = true | |
3179 | local PewPew = Instance.new("Sound",Workspace) | |
3180 | PewPew.Name = "PewPew" | |
3181 | PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534" | |
3182 | PewPew.Volume = 1 | |
3183 | PewPew.Pitch = 0.32 | |
3184 | local function GetHumanoids() | |
3185 | local Characters = {} | |
3186 | for i,v in pairs(Workspace:GetChildren())do | |
3187 | if v:IsA("Model")then | |
3188 | local Hu = v:findFirstChild("Humanoid") | |
3189 | local Torso = v:findFirstChild("Torso") | |
3190 | if Hu and Torso and v.Name ~= Player.Name then | |
3191 | table.insert(Characters,Torso) | |
3192 | end end end | |
3193 | return Characters | |
3194 | end | |
3195 | local function Boom() | |
3196 | for i = 1,25 do | |
3197 | for _,v in pairs(GetHumanoids())do | |
3198 | if(Pos - v.Position).magnitude <=(40 +i *2.5)/2 then | |
3199 | local h = v.Parent:findFirstChild("Humanoid") | |
3200 | if h then | |
3201 | local Moar =(Pos - v.Position).unit | |
3202 | local p = Instance.new("BodyVelocity",v) | |
3203 | p.P = 1500 | |
3204 | p.maxForce = Vector3.new(500000000000,500000000000,500000000000)*500099 | |
3205 | p.velocity = Vector3.new(math.random(-10,10),math.random(3,20),math.random(-10,10))/2 +Moar *12 | |
3206 | Game:GetService("Debris"):AddItem(p,0.15) | |
3207 | local p = Instance.new("BodyAngularVelocity",v) | |
3208 | p.P = 1500 | |
3209 | p.maxTorque = Vector3.new(50000000,50000000,50000000)*5000 | |
3210 | p.angularvelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position - Pos).unit *30 | |
3211 | Game:GetService("Debris"):AddItem(p,0.1) | |
3212 | end end end | |
3213 | local p = Instance.new("Part",Character) | |
3214 | p.Name = "BlastRing" | |
3215 | p.TopSurface = 0 | |
3216 | p.BottomSurface = 0 | |
3217 | p.CanCollide = false | |
3218 | p.Anchored = true | |
3219 | p.Color = Settings.Colors[math.random(1,2)] | |
3220 | p.Size = Vector3.new(1,1,1) | |
3221 | p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30) | |
3222 | local rm = Instance.new("SpecialMesh",p) | |
3223 | rm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3224 | rm.Name = "BlastMesh" | |
3225 | rm.Scale = Vector3.new(1,1,1) | |
3226 | coroutine.wrap(function() | |
3227 | for n = 1,15 do | |
3228 | rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*4/2 | |
3229 | if 2 +i/5 == 1.2 then | |
3230 | rm.Scale = rm.Scale + Vector3.new(0,0.9,0) | |
3231 | end | |
3232 | p.Transparency = n/15 | |
3233 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0) | |
3234 | Wait() | |
3235 | end | |
3236 | p:Destroy() | |
3237 | end)() | |
3238 | local p = Instance.new("Part",Character) | |
3239 | p.TopSurface = 0 | |
3240 | p.BottomSurface = 0 | |
3241 | p.formFactor = "Symmetric" | |
3242 | p.Size = Vector3.new(1,1,1) | |
3243 | p.Anchored = true | |
3244 | p.CanCollide = false | |
3245 | p.Color = Settings.Colors[math.random(1,2)] | |
3246 | p.CFrame = CFrame.new(Pos) | |
3247 | local m = Instance.new("BlockMesh",p) | |
3248 | coroutine.wrap(function() | |
3249 | for x = 1,48 do | |
3250 | m.Scale = m.Scale + Vector3.new(0.48 *2 -x/50 +i *0.4,0.48 *2 -i/50 +i *0.4,0.48 *2 -i/50 +i *0.4)/2 | |
3251 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/60,math.random(-10,10)/50) | |
3252 | p.Transparency = x/48 | |
3253 | Wait() | |
3254 | end | |
3255 | p:Destroy() | |
3256 | end)() | |
3257 | Game:GetService("Debris"):AddItem(p,5) | |
3258 | local p = Instance.new("Part",Character) | |
3259 | p.Name = "BlastRing" | |
3260 | p.TopSurface = 0 | |
3261 | p.BottomSurface = 0 | |
3262 | p.CanCollide = false | |
3263 | p.Anchored = true | |
3264 | p.Color = Settings.Colors[math.random(1,2)] | |
3265 | p.Size = Vector3.new(1,1,1) | |
3266 | p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0) | |
3267 | local m = Instance.new("SpecialMesh",p) | |
3268 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
3269 | m.Scale = Vector3.new(1,0.25,1) | |
3270 | coroutine.wrap(function() | |
3271 | for n = 1,13 do | |
3272 | m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2 | |
3273 | if 1 +i/5 == 1.2 then | |
3274 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
3275 | end | |
3276 | p.Transparency = n/13 | |
3277 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0) | |
3278 | Wait() | |
3279 | end | |
3280 | p:Destroy() | |
3281 | end)() | |
3282 | Wait(0.1) | |
3283 | end for i = 10,19 do | |
3284 | local p = Instance.new("Part",Character) | |
3285 | p.Name = "BlastRing" | |
3286 | p.TopSurface = 0 | |
3287 | p.BottomSurface = 0 | |
3288 | p.CanCollide = false | |
3289 | p.Anchored = true | |
3290 | p.Color = Settings.Colors[math.random(1,2)] | |
3291 | p.Size = Vector3.new(1,1,1) | |
3292 | p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0) | |
3293 | local m = Instance.new("SpecialMesh",p) | |
3294 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
3295 | m.Scale = Vector3.new(1,0.25,1) | |
3296 | coroutine.wrap(function() | |
3297 | for n = 1,13 do | |
3298 | m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2 | |
3299 | if 1 +i/5 == 1.2 then | |
3300 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
3301 | end | |
3302 | p.Transparency = n/13 | |
3303 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0) | |
3304 | Wait() | |
3305 | end | |
3306 | p:Destroy() | |
3307 | end)() | |
3308 | local p = Instance.new("Part",Character) | |
3309 | p.Name = "BlastRing" | |
3310 | p.TopSurface = 0 | |
3311 | p.BottomSurface = 0 | |
3312 | p.CanCollide = false | |
3313 | p.Anchored = true | |
3314 | p.Color = Settings.Colors[math.random(1,2)] | |
3315 | p.Size = Vector3.new(1,1,1) | |
3316 | p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30) | |
3317 | p.Parent = workspace | |
3318 | local m = Instance.new("SpecialMesh",p) | |
3319 | m.Name = "BlastMesh" | |
3320 | m.Scale = Vector3.new(0.1,0.1,0.1) | |
3321 | m.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3322 | coroutine.wrap(function() | |
3323 | for n = 1,15 do | |
3324 | m.Scale = m.Scale + Vector3.new(1.5 + 3 +i/5,1.5 + 3+i/5,0.1)*4/2 | |
3325 | if 3+i/5 == 1.2 then | |
3326 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
3327 | end | |
3328 | p.Transparency = n/15 | |
3329 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/90,math.random(-20,20)/170,0) | |
3330 | Wait() | |
3331 | end | |
3332 | p:Destroy() | |
3333 | end)() | |
3334 | for _,v in pairs(GetHumanoids())do | |
3335 | if(Pos - v.Position).magnitude <=(5 +i *9.5)/3 then | |
3336 | local h = v.Parent:findFirstChild("Humanoid") | |
3337 | if h then | |
3338 | local Moar =(Pos - v.Position).unit | |
3339 | local p = Instance.new("BodyVelocity",v) | |
3340 | p.P = 1500 | |
3341 | p.maxForce = Vector3.new(500000000000,500000000000,500000000000)*5000000 | |
3342 | p.velocity = Vector3.new(math.random(-10,10),math.random(3,20),math.random(-10,10))/2 +Moar *11 | |
3343 | Game:GetService("Debris"):AddItem(p,0.15) | |
3344 | local p = Instance.new("BodyAngularVelocity",v) | |
3345 | p.P = 1500 | |
3346 | p.maxTorque = Vector3.new(50000000,50000000,50000000)*500000 | |
3347 | p.angularvelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position -Pos).unit *30 | |
3348 | Game:GetService("Debris"):AddItem(p,0.1) | |
3349 | end end end | |
3350 | Wait(0.1) | |
3351 | end for i = 30,37 do | |
3352 | for _,v in pairs(GetHumanoids())do | |
3353 | if(Pos -v.Position).magnitude <=(140 +i *2.5)/3 then | |
3354 | local h = v.Parent:findFirstChild("Humanoid") | |
3355 | if h then | |
3356 | local Moar =(Pos - v.Position).unit | |
3357 | local p = Instance.new("BodyVelocity",v) | |
3358 | p.P = 1500 | |
3359 | p.maxForce = Vector3.new(500000000000,500000000000,500000000000)*500000000000 | |
3360 | p.velocity = Vector3.new(math.random(-10,10),math.random(3,60),math.random(-10,10))+Moar*-160 | |
3361 | Game:GetService("Debris"):AddItem(p,0.15) | |
3362 | local p = Instance.new("BodyAngularVelocity",v) | |
3363 | p.P = 1500 | |
3364 | p.maxTorque = Vector3.new(50000000,50000000,50000000)*500000000000 | |
3365 | p.angularvelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position -Pos).unit *30 | |
3366 | Game:GetService("Debris"):AddItem(p,0.1) | |
3367 | end end end end | |
3368 | dsound = false | |
3369 | wait(6.5) | |
3370 | for i = 1,30 do | |
3371 | BOOSH.Volume = BOOSH.Volume -0.033 | |
3372 | BOOSH2.Volume = BOOSH.Volume | |
3373 | Fuse.Volume = BOOSH.Volume | |
3374 | Wait() | |
3375 | end | |
3376 | BOOSH:Stop() | |
3377 | BOOSH2:Stop() | |
3378 | Fuse:Stop() | |
3379 | end | |
3380 | BOOSH2:Play() | |
3381 | Fuse:Play() | |
3382 | BOOSH:Play() | |
3383 | Boom() | |
3384 | end)() | |
3385 | GenTimer(25) | |
3386 | for i,v in pairs(IsNear(Main.Position,30,false))do | |
3387 | if v ~= Character then | |
3388 | ypcall(function() | |
3389 | DoDamage(v,v.Humanoid.Health -1,true) | |
3390 | delay(25,function() | |
3391 | v.Humanoid.WalkSpeed = Cached | |
3392 | end)coroutine.wrap(function() | |
3393 | local Cached = v.Humanoid.WalkSpeed | |
3394 | local oo = 0 | |
3395 | repeat | |
3396 | v.Humanoid.WalkSpeed = math.abs(v.Humanoid.WalkSpeed)*-1 | |
3397 | oo = oo +1 | |
3398 | Wait() | |
3399 | until oo ==(25 *30) | |
3400 | end)()end)end end | |
3401 | for i,v in pairs(Positionz)do | |
3402 | v:Destroy() | |
3403 | end Ball:Destroy() | |
3404 | T.Anchored = false | |
3405 | LA.Anchored = false | |
3406 | SState = "Standing" | |
3407 | ResetWelds() | |
3408 | Debounces.Attacking = false | |
3409 | end; | |
3410 | n = function() | |
3411 | if Debounces.Attacking or CurrentPower -9500 < 0 or Debounces.Slowing then return end | |
3412 | CurrentPower = CurrentPower -9500 | |
3413 | Debounces.Attacking = true | |
3414 | Debounces.Slowing = true | |
3415 | SState = "Null" | |
3416 | ResetWelds() | |
3417 | Wait(0.5) | |
3418 | T.Anchored = true | |
3419 | for i = 1,15 do | |
3420 | RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(0,math.pi/45,math.pi/50) | |
3421 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(0,math.pi/45,math.pi/50) | |
3422 | Wait() | |
3423 | end | |
3424 | local CanDO = true | |
3425 | local Colorr = Settings.Colors[2] | |
3426 | coroutine.wrap(function() | |
3427 | while Wait()do | |
3428 | if not CanDO then break end | |
3429 | for i = 1,3 do | |
3430 | local p = Instance.new("Part",Character) | |
3431 | p.Anchored = true | |
3432 | p.Locked = true | |
3433 | p.CanCollide = false | |
3434 | p.Size = Vector3.new(0,0,0) | |
3435 | p.Color = Colorr | |
3436 | p.TopSurface = 0 | |
3437 | p.BottomSurface = 0 | |
3438 | p.CFrame = LA.CFrame * CFrame.new(0,-1.5,0) | |
3439 | local b = Instance.new("BlockMesh",p) | |
3440 | b.Scale = Vector3.new(0,0,0) | |
3441 | coroutine.wrap(function() | |
3442 | for n = 1,15 do | |
3443 | b.Scale = b.Scale + Vector3.new(0.15,0.15,0.15) | |
3444 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
3445 | p.Transparency = n/15 | |
3446 | Wait() | |
3447 | end p:Destroy()end)()end end end)() | |
3448 | Wait(1) | |
3449 | for i = 1,3 do | |
3450 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(0,math.pi/32,math.pi/-3) | |
3451 | Wait() | |
3452 | end | |
3453 | Colorr = Color3.new(0.5,0.5,0.5) | |
3454 | delay(0.3,function() | |
3455 | CanDO = false | |
3456 | end)for i = 1,50 do | |
3457 | for u = 1,3 do | |
3458 | local p = Instance.new("Part",Character) | |
3459 | p.Anchored = true | |
3460 | p.Locked = true | |
3461 | p.CanCollide = false | |
3462 | p.Size = Vector3.new(0,0,0) | |
3463 | p.Color = Settings.Colors[2] | |
3464 | p.TopSurface = 0 | |
3465 | p.BottomSurface = 0 | |
3466 | p.CFrame = T.CFrame * CFrame.new(0,-2,-15) | |
3467 | local b = Instance.new("SpecialMesh",p) | |
3468 | b.Scale = Vector3.new(i/12.5,i/12.5,i/12.5) | |
3469 | b.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3470 | local p2 = Instance.new("Part",Character) | |
3471 | p2.Locked = true | |
3472 | p2.CanCollide = false | |
3473 | p2.Anchored = true | |
3474 | p2.FormFactor = "Custom" | |
3475 | p2.TopSurface = 0 | |
3476 | p2.BottomSurface = 0 | |
3477 | p2.Color = Settings.Colors[2] | |
3478 | p2.CFrame = T.CFrame * CFrame.new(0,-2,-15) | |
3479 | local bpm = Instance.new("SpecialMesh",p2) | |
3480 | bpm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
3481 | bpm.Scale = Vector3.new(0,0,0) | |
3482 | coroutine.wrap(function() | |
3483 | for n = 1,15 do | |
3484 | b.Scale = b.Scale + Vector3.new(0.15,0.15,0.15) | |
3485 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
3486 | p.Transparency = n/15 | |
3487 | p2.CFrame = p2.CFrame * CFrame.fromEulerAnglesXYZ(0,math.random(-10,10)/10,0) | |
3488 | p2.Transparency = n/15 | |
3489 | bpm.Scale = bpm.Scale + Vector3.new(0.4,0.025,0.4) | |
3490 | Wait() | |
3491 | end p:Destroy()end)()end | |
3492 | Wait(0.05) | |
3493 | end | |
3494 | for u = 1,3 do | |
3495 | local p = Instance.new("Part",Character) | |
3496 | p.Anchored = true | |
3497 | p.Locked = true | |
3498 | p.CanCollide = false | |
3499 | p.Size = Vector3.new(0,0,0) | |
3500 | p.Color = Settings.Colors[1] | |
3501 | p.TopSurface = 0 | |
3502 | p.BottomSurface = 0 | |
3503 | p.CFrame = T.CFrame * CFrame.new(0,-2,-15) | |
3504 | local b = Instance.new("SpecialMesh",p) | |
3505 | b.Scale = Vector3.new(5,5,5) | |
3506 | b.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3507 | local p2 = Instance.new("Part",Character) | |
3508 | p2.Locked = true | |
3509 | p2.CanCollide = false | |
3510 | p2.Anchored = true | |
3511 | p2.FormFactor = "Custom" | |
3512 | p2.TopSurface = 0 | |
3513 | p2.BottomSurface = 0 | |
3514 | p2.Color = Settings.Colors[2] | |
3515 | p2.CFrame = T.CFrame * CFrame.new(0,-2,-15) | |
3516 | local bpm = Instance.new("SpecialMesh",p2) | |
3517 | bpm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
3518 | bpm.Scale = Vector3.new(0,0,0) | |
3519 | coroutine.wrap(function() | |
3520 | for n = 1,15 do | |
3521 | bpm.Scale = bpm.Scale + Vector3.new(0.6,0.025,0.6) | |
3522 | p2.Transparency = n/15 | |
3523 | b.Scale = b.Scale + Vector3.new(u*(3/15),u*(3/15),u*(3/15)) | |
3524 | p2.CFrame = p2.CFrame * CFrame.fromEulerAnglesXYZ(0,math.random(-10,10)/10,0) | |
3525 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
3526 | p.Transparency = n/15 | |
3527 | Wait() | |
3528 | end p:Destroy()p2:Destroy()end)()end | |
3529 | local p = Instance.new("Part",Character) | |
3530 | p.Anchored = true | |
3531 | p.Locked = true | |
3532 | p.CanCollide = true | |
3533 | p.Size = Vector3.new(0,0,0) | |
3534 | p.Color = Settings.Colors[2] | |
3535 | p.TopSurface = 0 | |
3536 | p.Transparency = 0.5 | |
3537 | p.BottomSurface = 0 | |
3538 | p.CFrame = T.CFrame * CFrame.new(0,-2,-15) | |
3539 | local b = Instance.new("SpecialMesh",p) | |
3540 | b.Scale = Vector3.new(1,0,1) | |
3541 | b.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
3542 | for i = 1,6 do | |
3543 | b.Scale = b.Scale + Vector3.new(0.25,4,0.25) | |
3544 | p.CFrame = p.CFrame * CFrame.new(0,(b.Scale.y/6)/2,0) | |
3545 | local p2 = Instance.new("Part",Character) | |
3546 | p2.Locked = true | |
3547 | p2.CanCollide = false | |
3548 | p2.Anchored = true | |
3549 | p2.FormFactor = "Custom" | |
3550 | p2.TopSurface = 0 | |
3551 | p2.BottomSurface = 0 | |
3552 | p2.Color = Settings.Colors[1] | |
3553 | p2.CFrame = T.CFrame * CFrame.new(0,-2,-15) | |
3554 | local bpm = Instance.new("SpecialMesh",p2) | |
3555 | bpm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
3556 | bpm.Scale = Vector3.new(i,0,i) | |
3557 | coroutine.wrap(function() | |
3558 | for n = 1,15 do | |
3559 | bpm.Scale = bpm.Scale + Vector3.new(0.5,0.05,0.5) | |
3560 | p2.CFrame = p2.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/(math.random(10,60)/10),0) | |
3561 | p2.Transparency = n/15 | |
3562 | Wait() | |
3563 | end p2:Destroy()end)() | |
3564 | Wait() | |
3565 | end | |
3566 | for i = 1,7 do | |
3567 | local p2 = Instance.new("Part",Character) | |
3568 | p2.Locked = true | |
3569 | p2.CanCollide = false | |
3570 | p2.Anchored = true | |
3571 | p2.FormFactor = "Custom" | |
3572 | p2.TopSurface = 0 | |
3573 | p2.BottomSurface = 0 | |
3574 | p2.Color = Settings.Colors[2] | |
3575 | p2.CFrame = p.CFrame * CFrame.new(0,b.Scale.Y/2,0) | |
3576 | local bpm = Instance.new("SpecialMesh",p2) | |
3577 | bpm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
3578 | bpm.Scale = Vector3.new(i,0,i) | |
3579 | coroutine.wrap(function() | |
3580 | for n = 1,15 do | |
3581 | bpm.Scale = bpm.Scale + Vector3.new(0.75,0.75,0.75) | |
3582 | p2.CFrame = p2.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-600,600)/100,math.pi/(math.random(10,60)/10),math.random(-600,600)/100) | |
3583 | p2.Transparency = n/15 | |
3584 | Wait() | |
3585 | end p2:Destroy()end)() | |
3586 | Wait() | |
3587 | end | |
3588 | local dim = Instance.new("Part",Character) | |
3589 | dim.Anchored = true | |
3590 | dim.Locked = true | |
3591 | dim.CanCollide = true | |
3592 | dim.Size = Vector3.new(0,0,0) | |
3593 | dim.Color = Settings.Colors[1] | |
3594 | dim.TopSurface = 0 | |
3595 | dim.BottomSurface = 0 | |
3596 | dim.Transparency = 0.5 | |
3597 | local b2 = Instance.new("SpecialMesh",dim) | |
3598 | b2.Scale = Vector3.new(4,6,4) | |
3599 | b2.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
3600 | dim.CFrame = p.CFrame * CFrame.new(0,b.Scale.Y/2,0) | |
3601 | local l = T.CFrame * CFrame.new(0,-2,-15) | |
3602 | T.Anchored = false | |
3603 | CanDO = true | |
3604 | Debounces.Attacking = false | |
3605 | ResetWelds() | |
3606 | SState = "Standing" | |
3607 | for u = 1,3 do | |
3608 | local p = Instance.new("Part",Character) | |
3609 | p.Anchored = true | |
3610 | p.Locked = true | |
3611 | p.CanCollide = true | |
3612 | p.Size = Vector3.new(0,0,0) | |
3613 | p.Color = Settings.Colors[2] | |
3614 | p.TopSurface = 0 | |
3615 | p.BottomSurface = 0 | |
3616 | p.CFrame = dim.CFrame | |
3617 | local b = Instance.new("SpecialMesh",p) | |
3618 | b.Scale = Vector3.new(5,5,0.05) | |
3619 | b.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3620 | local p3 = Instance.new("Part",Character) | |
3621 | p3.Anchored = true | |
3622 | p3.Locked = true | |
3623 | p3.CanCollide = false | |
3624 | p3.Size = Vector3.new(0,0,0) | |
3625 | p3.Color = Settings.Colors[1] | |
3626 | p3.TopSurface = 0 | |
3627 | p3.BottomSurface = 0 | |
3628 | p3.CFrame = l | |
3629 | local b3 = Instance.new("SpecialMesh",p3) | |
3630 | b3.Scale = Vector3.new(u*3,u,u*3) | |
3631 | b3.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
3632 | coroutine.wrap(function() | |
3633 | while Wait()do | |
3634 | if not CanDO then break end | |
3635 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
3636 | p3.CFrame = p3.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/6,0) | |
3637 | end | |
3638 | for i = 1,15 do | |
3639 | p.Transparency = i/15 | |
3640 | p3.Transparency = i/15 | |
3641 | b.Scale = b.Scale + Vector3.new(0.05,0.05,0.05) | |
3642 | b3.Scale = b3.Scale + Vector3.new(1,0.5,1) | |
3643 | Wait() | |
3644 | end | |
3645 | p:Destroy() | |
3646 | p3:Destroy() | |
3647 | end)()end | |
3648 | Wait(2.3) | |
3649 | GenTimer(35) | |
3650 | coroutine.wrap(function() | |
3651 | for i = 1,35 do | |
3652 | local p2 = Instance.new("Part",Character) | |
3653 | p2.Locked = true | |
3654 | p2.CanCollide = false | |
3655 | p2.Anchored = true | |
3656 | p2.FormFactor = "Custom" | |
3657 | p2.TopSurface = 0 | |
3658 | p2.BottomSurface = 0 | |
3659 | p2.Color = Settings.Colors[2] | |
3660 | p2.CFrame = p.CFrame * CFrame.new(0,b.Scale.Y/2,0) | |
3661 | local bpm = Instance.new("SpecialMesh",p2) | |
3662 | bpm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
3663 | bpm.Scale = Vector3.new(i,0,i) | |
3664 | coroutine.wrap(function() | |
3665 | for n = 1,15 do | |
3666 | bpm.Scale = bpm.Scale + Vector3.new(0.75,0.75,0.75) | |
3667 | p2.CFrame = p2.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-600,600)/100,math.pi/(math.random(10,60)/10),math.random(-600,600)/100) | |
3668 | p2.Transparency = n/15 | |
3669 | Wait() | |
3670 | end p2:Destroy()end)() | |
3671 | Wait() | |
3672 | end | |
3673 | p:Destroy() | |
3674 | dim:Destroy() | |
3675 | end)() | |
3676 | CanDO = false | |
3677 | for i,v in pairs(IsNear(T.Position,75))do | |
3678 | if v ~= Character then | |
3679 | coroutine.wrap(function() | |
3680 | local p = Instance.new("Part",v) | |
3681 | p.Anchored = true | |
3682 | p.Locked = true | |
3683 | p.CanCollide = false | |
3684 | p.Size = Vector3.new(0,0,0) | |
3685 | p.Color = Settings.Colors[2] | |
3686 | p.TopSurface = 0 | |
3687 | p.BottomSurface = 0 | |
3688 | p.CFrame = v.Torso.CFrame | |
3689 | local b = Instance.new("SpecialMesh",p) | |
3690 | b.Scale = Vector3.new(0,0,0) | |
3691 | b.MeshType = "Sphere" | |
3692 | Game:GetService("Debris"):AddItem(p,4) | |
3693 | local p2 = Instance.new("Part",v) | |
3694 | p2.Anchored = true | |
3695 | p2.Locked = true | |
3696 | p2.CanCollide = false | |
3697 | p2.Size = Vector3.new(0,0,0) | |
3698 | p2.Color = Settings.Colors[2] | |
3699 | p2.TopSurface = 0 | |
3700 | p2.BottomSurface = 0 | |
3701 | p2.CFrame = v.Torso.CFrame | |
3702 | local b2 = Instance.new("CylinderMesh",p2) | |
3703 | b2.Scale = Vector3.new(0,0,0) | |
3704 | Game:GetService("Debris"):AddItem(p2,4) | |
3705 | coroutine.wrap(function() | |
3706 | for n = 1,15 do | |
3707 | p.Transparency = n/15 | |
3708 | b.Scale = b.Scale + Vector3.new(0.75,0.75,0.75) | |
3709 | p2.Transparency = n/15 | |
3710 | b2.Scale = b2.Scale + Vector3.new(0.5,2000,0.5) | |
3711 | Wait() | |
3712 | end | |
3713 | p:Destroy()p2:Destroy()end)()end)()pcall(function() | |
3714 | local Cache = v.Humanoid.WalkSpeed | |
3715 | coroutine.wrap(function() | |
3716 | for o = 1,(35/(1/30))do | |
3717 | pcall(function() | |
3718 | v.Humanoid.WalkSpeed = 5 | |
3719 | end)Wait()end end)()delay(35,function() | |
3720 | pcall(function() | |
3721 | v.Humanoid.WalkSpeed = Cache | |
3722 | end)end)end)end end | |
3723 | delay(35,function() | |
3724 | Debounces.Slowing = false | |
3725 | end)end; | |
3726 | t = function(Mouse) | |
3727 | if Debounces.Teleportin or Debounces.Attacking or CurrentPower -1000 < 0 or not Mouse.Hit then return end | |
3728 | Debounces.Teleportin = true | |
3729 | CurrentPower = CurrentPower -1000 | |
3730 | T.CFrame = Mouse.Hit * CFrame.new(0,2,0) | |
3731 | local p = Instance.new("Part",Character) | |
3732 | p.Locked = true | |
3733 | p.CanCollide = false | |
3734 | p.Anchored = true | |
3735 | p.FormFactor = "Custom" | |
3736 | p.TopSurface = 0 | |
3737 | p.BottomSurface = 0 | |
3738 | p.Color = Settings.Colors[2] | |
3739 | p.CFrame = CFrame.new(T.Position) | |
3740 | local bpm = Instance.new("SpecialMesh",p) | |
3741 | bpm.MeshId = "http://www.roblox.com/asset/?id=1323306" | |
3742 | bpm.Scale = Vector3.new(0,0,0) | |
3743 | local p3 = Instance.new("Part",Character) | |
3744 | p3.Locked = true | |
3745 | p3.CanCollide = false | |
3746 | p3.Anchored = true | |
3747 | p3.FormFactor = "Custom" | |
3748 | p3.TopSurface = 0 | |
3749 | p3.BottomSurface = 0 | |
3750 | p3.Color = p.Color | |
3751 | p3.CFrame = CFrame.new(T.Position) | |
3752 | local bpm3 = Instance.new("CylinderMesh",p3) | |
3753 | bpm3.Scale = Vector3.new(0,0,0) | |
3754 | coroutine.wrap(function() | |
3755 | for i = 1,17 do | |
3756 | p.CFrame = CFrame.new(p.Position)* CFrame.new(0,0.05,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-60,60)/100,0) | |
3757 | p.Transparency = i/17 | |
3758 | bpm.Scale = bpm.Scale + Vector3.new(i*0.6,0.15,i*0.6) | |
3759 | p3.Transparency = i/17 | |
3760 | bpm3.Scale = bpm3.Scale + Vector3.new(i*0.13,i*3000,i*0.13) | |
3761 | Wait() | |
3762 | end | |
3763 | o = true | |
3764 | p:Destroy() | |
3765 | p3:Destroy() | |
3766 | end)() | |
3767 | SState = "Standing" | |
3768 | Wait(3) | |
3769 | Debounces.Teleportin = false | |
3770 | end; | |
3771 | c = function(Mouse) | |
3772 | if Debounces.Attacking then return end | |
3773 | Debounces.Attacking = true | |
3774 | SState = "Null" | |
3775 | ResetWelds() | |
3776 | _DEBOUNCE = false;local Co;Co = Mouse.KeyUp:connect(function(k) | |
3777 | if k:lower()== 'c' then | |
3778 | _DEBOUNCE = true | |
3779 | Co:disconnect() | |
3780 | end end) | |
3781 | coroutine.wrap(function() | |
3782 | local s = PlaySound("http://www.roblox.com/asset?id=167197110",1,25,T.CFrame,true):GetChildren()[1] | |
3783 | s.Looped = true | |
3784 | s:Play() | |
3785 | while Wait()do | |
3786 | if _DEBOUNCE then | |
3787 | if s then | |
3788 | s:Stop() | |
3789 | s.Parent:Destroy() | |
3790 | end break end end end)() | |
3791 | while Wait()do | |
3792 | if _DEBOUNCE then break end | |
3793 | N.C0 = CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0) | |
3794 | N.C1 = CFrame.new(0,-0.5,0,-1,0,0,0,0,1,0,1,0) | |
3795 | RS.C0 = CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,0,0) | |
3796 | RS.C1 = CFrame.new(-0.5,0.5,0,0,0,1,0,1,0,-1,0,0) | |
3797 | LS.C0 = CFrame.new(-1,0.5,0,0,0,-1,0,1,0,1,0,0) | |
3798 | LS.C1 = CFrame.new(0.5,0.5,0,0,0,-1,0,1,0,1,0,0) | |
3799 | RH.C0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0) | |
3800 | RH.C1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0) | |
3801 | LH.C0 = CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0) | |
3802 | LH.C1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1,0,0) | |
3803 | for i = 1,2 do | |
3804 | RS.C0 = RS.C0 * CFrame.new(0.01,0,0.25)* CFrame.Angles(-(i-0.5),0,0) | |
3805 | LS.C0 = LS.C0 * CFrame.new(0.01,0,0.25)* CFrame.Angles(-(i-0.5),0,0) | |
3806 | RH.C0 = RH.C0 * CFrame.new(0,0.015,0)* CFrame.Angles(-(i-1.4),0,0) | |
3807 | LH.C0 = LH.C0 * CFrame.new(0,0.015,0)* CFrame.Angles(-(i-1.4),0,0) | |
3808 | end coroutine.wrap(function() | |
3809 | local p = Instance.new("Part",Character) | |
3810 | p.Locked = true | |
3811 | p.CanCollide = false | |
3812 | p.Anchored = true | |
3813 | p.FormFactor = "Custom" | |
3814 | p.TopSurface = 0 | |
3815 | p.BottomSurface = 0 | |
3816 | p.Color = Settings.Colors[2] | |
3817 | p.CFrame = CFrame.new(T.Position)* CFrame.new(0,-2,0) | |
3818 | local bpm = Instance.new("SpecialMesh",p) | |
3819 | bpm.Scale = Vector3.new(9,1.1,9) | |
3820 | bpm.MeshId = "http://www.roblox.com/asset/?id=1323306" | |
3821 | local p2 = Instance.new("Part",Character) | |
3822 | p2.Locked = true | |
3823 | p2.CanCollide = false | |
3824 | p2.Anchored = true | |
3825 | p2.FormFactor = "Custom" | |
3826 | p2.TopSurface = 0 | |
3827 | p2.BottomSurface = 0 | |
3828 | p2.Color = Settings.Colors[2] | |
3829 | p2.CFrame = CFrame.new(T.Position)* CFrame.new(0,-2,0) | |
3830 | local bpm2 = Instance.new("SpecialMesh",p2) | |
3831 | bpm2.Scale = Vector3.new(9,1.1,9) | |
3832 | bpm2.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
3833 | local p3 = Instance.new("Part",Character) | |
3834 | p3.Locked = true | |
3835 | p3.CanCollide = false | |
3836 | p3.Anchored = true | |
3837 | p3.FormFactor = "Custom" | |
3838 | p3.TopSurface = 0 | |
3839 | p3.BottomSurface = 0 | |
3840 | p3.Color = Settings.Colors[1] | |
3841 | p3.CFrame = CFrame.new(T.Position)* CFrame.new(0,-2,0) | |
3842 | local bpm3 = Instance.new("CylinderMesh",p3) | |
3843 | bpm3.Scale = Vector3.new(2.5,100000,2.5) | |
3844 | coroutine.wrap(function() | |
3845 | for n = 1,15 do | |
3846 | p.Transparency = n/15 | |
3847 | p.CFrame = p.CFrame * CFrame.new(0,-1,0) | |
3848 | bpm.Scale = bpm.Scale + Vector3.new(-0.005,3,-0.005) | |
3849 | bpm2.Scale = bpm2.Scale + Vector3.new(1,0.5,1) | |
3850 | bpm3.Scale = bpm3.Scale + Vector3.new(-0.05,1000,-0.05) | |
3851 | p3.Transparency = n/15 | |
3852 | p2.CFrame = p2.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/math.random(0,32),0) | |
3853 | p2.Transparency = n/30 | |
3854 | Wait() | |
3855 | end | |
3856 | p:Destroy() | |
3857 | p2:Destroy() | |
3858 | p3:Destroy() | |
3859 | end)()end)() | |
3860 | CurrentPower = CurrentPower +(15000/90) | |
3861 | if CurrentPower >= MaxPower then | |
3862 | CurrentPower = MaxPower | |
3863 | _DEBOUNCE = true | |
3864 | Co:disconnect() | |
3865 | end end | |
3866 | ResetWelds() | |
3867 | SState = "Standing" | |
3868 | Wait(1) | |
3869 | Debounces.Attacking = false | |
3870 | end; | |
3871 | h = function(Mouse) | |
3872 | if Debounces.Attacking then return end | |
3873 | Debounces.Attacking = true | |
3874 | SState = "Null" | |
3875 | ResetWelds() | |
3876 | _DEBOUNCE = false;local Co;Co = Mouse.KeyUp:connect(function(k) | |
3877 | if k:lower()== 'h' then | |
3878 | _DEBOUNCE = true | |
3879 | Co:disconnect() | |
3880 | end end) | |
3881 | coroutine.wrap(function() | |
3882 | local s = PlaySound("http://www.roblox.com/asset?id=167197110",1.85,25,T.CFrame,true):GetChildren()[1] | |
3883 | s:Play() | |
3884 | while Wait()do | |
3885 | if _DEBOUNCE then | |
3886 | if s then | |
3887 | s:Stop() | |
3888 | s.Parent:Destroy() | |
3889 | end break end end end)() | |
3890 | while Wait()do | |
3891 | if _DEBOUNCE then break end | |
3892 | N.C0 = CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0) | |
3893 | N.C1 = CFrame.new(0,-0.5,0,-1,0,0,0,0,1,0,1,0) | |
3894 | RS.C0 = CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,0,0) | |
3895 | RS.C1 = CFrame.new(-0.5,0.5,0,0,0,1,0,1,0,-1,0,0) | |
3896 | LS.C0 = CFrame.new(-1,0.5,0,0,0,-1,0,1,0,1,0,0) | |
3897 | LS.C1 = CFrame.new(0.5,0.5,0,0,0,-1,0,1,0,1,0,0) | |
3898 | RH.C0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0) | |
3899 | RH.C1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0) | |
3900 | LH.C0 = CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0) | |
3901 | LH.C1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1,0,0) | |
3902 | for i = 1,2 do | |
3903 | RS.C0 = RS.C0 * CFrame.new(0.01,0,0.25)* CFrame.Angles(-(i-0.5),0,0) | |
3904 | LS.C0 = LS.C0 * CFrame.new(0.01,0,0.25)* CFrame.Angles(-(i-0.5),0,0) | |
3905 | RH.C0 = RH.C0 * CFrame.new(0,0.015,0)* CFrame.Angles(-(i-1.4),0,0) | |
3906 | LH.C0 = LH.C0 * CFrame.new(0,0.015,0)* CFrame.Angles(-(i-1.4),0,0) | |
3907 | end coroutine.wrap(function() | |
3908 | local p = Instance.new("Part",Character) | |
3909 | p.Locked = true | |
3910 | p.CanCollide = false | |
3911 | p.Anchored = true | |
3912 | p.FormFactor = "Custom" | |
3913 | p.TopSurface = 0 | |
3914 | p.BottomSurface = 0 | |
3915 | p.Color = Settings.Colors[2] | |
3916 | p.CFrame = CFrame.new(T.Position)* CFrame.new(0,-2,0) | |
3917 | local bpm = Instance.new("SpecialMesh",p) | |
3918 | bpm.Scale = Vector3.new(9,1.1,9) | |
3919 | bpm.MeshId = "http://www.roblox.com/asset/?id=1323306" | |
3920 | local p2 = Instance.new("Part",Character) | |
3921 | p2.Locked = true | |
3922 | p2.CanCollide = false | |
3923 | p2.Anchored = true | |
3924 | p2.FormFactor = "Custom" | |
3925 | p2.TopSurface = 0 | |
3926 | p2.BottomSurface = 0 | |
3927 | p2.Color = Settings.Colors[2] | |
3928 | p2.CFrame = CFrame.new(T.Position)* CFrame.new(0,-2,0) | |
3929 | local bpm2 = Instance.new("SpecialMesh",p2) | |
3930 | bpm2.Scale = Vector3.new(9,1.1,9) | |
3931 | bpm2.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
3932 | local p3 = Instance.new("Part",Character) | |
3933 | p3.Locked = true | |
3934 | p3.CanCollide = false | |
3935 | p3.Anchored = true | |
3936 | p3.FormFactor = "Custom" | |
3937 | p3.TopSurface = 0 | |
3938 | p3.BottomSurface = 0 | |
3939 | p3.Color = Color3.new(0,1,0) | |
3940 | p3.CFrame = CFrame.new(T.Position)* CFrame.new(0,-2,0) | |
3941 | local bpm3 = Instance.new("CylinderMesh",p3) | |
3942 | bpm3.Scale = Vector3.new(2.5,100000,2.5) | |
3943 | coroutine.wrap(function() | |
3944 | for n = 1,15 do | |
3945 | p.Transparency = n/15 | |
3946 | p.CFrame = p.CFrame * CFrame.new(0,-1,0) | |
3947 | bpm.Scale = bpm.Scale + Vector3.new(-0.005,3,-0.005) | |
3948 | bpm2.Scale = bpm2.Scale + Vector3.new(1,0.5,1) | |
3949 | bpm3.Scale = bpm3.Scale + Vector3.new(-0.05,1000,-0.05) | |
3950 | p3.Transparency = n/15 | |
3951 | p2.CFrame = p2.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/math.random(0,32),0) | |
3952 | p2.Transparency = n/30 | |
3953 | Wait() | |
3954 | end | |
3955 | p:Destroy() | |
3956 | p2:Destroy() | |
3957 | p3:Destroy() | |
3958 | end)()end)()if HU.Health >= MaxHealth or CurrentPower -200 < 0 then | |
3959 | HU.Health = MaxHealth | |
3960 | CurrentPower = math.abs(CurrentPower) | |
3961 | _DEBOUNCE = true | |
3962 | Co:disconnect() | |
3963 | end | |
3964 | HU.Health = HU.Health +((MaxHealth/90)*1.85) | |
3965 | CurrentPower = CurrentPower -200 | |
3966 | end | |
3967 | ResetWelds() | |
3968 | SState = "Standing" | |
3969 | Wait(1) | |
3970 | Debounces.Attacking = false | |
3971 | end;} | |
3972 | local KeyBindings2 = { | |
3973 | c = KeyBindings.c; | |
3974 | t = KeyBindings.t; | |
3975 | h = KeyBindings.h; | |
3976 | q = KeyBindings.q; | |
3977 | l = function() | |
3978 | local Target = GetClosest(25) | |
3979 | if Debounces.Attacking or not Target or CurrentPower -MaxPower < 0 then return end | |
3980 | CurrentPower = CurrentPower -MaxPower | |
3981 | LOCALDEBOUNCE = true | |
3982 | Debounces.Attacking = true | |
3983 | SState = "Null" | |
3984 | ResetWelds()-- brb | |
3985 | HU.WalkSpeed = 5 | |
3986 | coroutine.wrap(function()while Wait()do if not LOCALDEBOUNCE then break end StanceGyro.cframe = CFrame.new(T.Position,Vector3.new(Target.Torso.Position.X,T.Position.Y,Target.Torso.Position.Z))end end)() | |
3987 | local vec = allpartspls()*196.2 | |
3988 | local vd = Instance.new("BodyVelocity",T) | |
3989 | vd.velocity = Vector3.new(0,vec+5,0) | |
3990 | delay(1.1,function()vd.velocity = Vector3.new(0,vec,0)end) | |
3991 | ||
3992 | end; | |
3993 | } | |
3994 | ||
3995 | do local p1 = Instance.new("Part",Tool) | |
3996 | p1.Anchored = true | |
3997 | p1.Locked = true | |
3998 | p1.CanCollide = false | |
3999 | p1.Name = "Handle" | |
4000 | p1.Color = Settings.Colors[2] | |
4001 | p1.TopSurface = 0 | |
4002 | p1.BottomSurface = 0 | |
4003 | p1.FormFactor = "Custom" | |
4004 | p1.Size = Vector3.new(1,1,1) | |
4005 | local cm1 = Instance.new("CylinderMesh",p1) | |
4006 | cm1.Scale = Vector3.new(0.25,1.5,0.25) | |
4007 | local p2 = Instance.new("Part",Tool) | |
4008 | p2.Anchored = true | |
4009 | p2.Locked = true | |
4010 | p2.CanCollide = false | |
4011 | p2.Name = "Handle" | |
4012 | p2.Color = Settings.Colors[2] | |
4013 | p2.TopSurface = 0 | |
4014 | p2.BottomSurface = 0 | |
4015 | p2.FormFactor = "Custom" | |
4016 | p2.Size = Vector3.new(1,1,1) | |
4017 | local cm2 = Instance.new("SpecialMesh",p2) | |
4018 | cm2.Scale = Vector3.new(0.65,0.65,0.65) | |
4019 | cm2.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
4020 | local w1 = Instance.new("Weld",p2) | |
4021 | w1.Part1 = p1 | |
4022 | w1.Part0 = p2 | |
4023 | w1.C0 = CFrame.new(0,1,0) | |
4024 | local p3 = Instance.new("Part",Tool) | |
4025 | p3.Anchored = true | |
4026 | p3.Locked = true | |
4027 | p3.CanCollide = false | |
4028 | p3.Name = "Handle" | |
4029 | p3.Color = Settings.Colors[2] | |
4030 | p3.TopSurface = 0 | |
4031 | p3.BottomSurface = 0 | |
4032 | p3.FormFactor = "Custom" | |
4033 | p3.Size = Vector3.new(1,1,1) | |
4034 | local cm3 = Instance.new("SpecialMesh",p3) | |
4035 | cm3.Scale = Vector3.new(1.15,0.4,1.15) | |
4036 | cm3.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
4037 | local w2 = Instance.new("Weld",p3) | |
4038 | w2.Part1 = p1 | |
4039 | w2.Part0 = p3 | |
4040 | w2.C0 = CFrame.new(0,-0.75,0) | |
4041 | local p4 = Instance.new("Part",Tool) | |
4042 | p4.Anchored = true | |
4043 | p4.Locked = true | |
4044 | p4.CanCollide = false | |
4045 | p4.Name = "Handle" | |
4046 | p4.Color = Settings.Colors[2] | |
4047 | p4.TopSurface = 0 | |
4048 | p4.BottomSurface = 0 | |
4049 | p4.FormFactor = "Custom" | |
4050 | p4.Size = Vector3.new(1,1,1) | |
4051 | local cm4 = Instance.new("SpecialMesh",p4) | |
4052 | cm4.Scale = Vector3.new(1.5,1.5,0.05) | |
4053 | cm4.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
4054 | local w4 = Instance.new("Weld",p4) | |
4055 | w4.Part1 = p1 | |
4056 | w4.Part0 = p4 | |
4057 | local p5 = Instance.new("Part",Tool) | |
4058 | p5.Anchored = true | |
4059 | p5.Locked = true | |
4060 | p5.CanCollide = false | |
4061 | p5.Name = "Handle" | |
4062 | p5.Color = Settings.Colors[2] | |
4063 | p5.TopSurface = 0 | |
4064 | p5.BottomSurface = 0 | |
4065 | p5.FormFactor = "Custom" | |
4066 | p5.Size = Vector3.new(0.8,6.5,0.005) | |
4067 | local cm5 = Instance.new("BlockMesh",p5) | |
4068 | cm5.Scale = Vector3.new(1,1,0.3) | |
4069 | local w5 = Instance.new("Weld",p5) | |
4070 | w5.Part1 = p1 | |
4071 | w5.Part0 = p5 | |
4072 | w5.C0 = CFrame.new(0,-4,0) | |
4073 | local p6 = Instance.new("Part",Tool) | |
4074 | p6.Anchored = true | |
4075 | p6.Locked = true | |
4076 | p6.CanCollide = false | |
4077 | p6.Name = "Handle" | |
4078 | p6.Color = Settings.Colors[1] | |
4079 | p6.TopSurface = 0 | |
4080 | p6.BottomSurface = 0 | |
4081 | p6.FormFactor = "Custom" | |
4082 | p6.Size = Vector3.new(0.1,6.5,0.1) | |
4083 | local cm6 = Instance.new("BlockMesh",p6) | |
4084 | cm6.Scale = Vector3.new(1,1,0.4) | |
4085 | local w6 = Instance.new("Weld",p6) | |
4086 | w6.Part1 = p1 | |
4087 | w6.Part0 = p6 | |
4088 | w6.C0 = CFrame.new(0,-4,0) | |
4089 | local p7 = Instance.new("Part",Tool) | |
4090 | p7.Anchored = true | |
4091 | p7.Locked = true | |
4092 | p7.CanCollide = false | |
4093 | p7.Name = "Handle" | |
4094 | p7.Color = Settings.Colors[2] | |
4095 | p7.TopSurface = 0 | |
4096 | p7.BottomSurface = 0 | |
4097 | p7.FormFactor = "Custom" | |
4098 | p7.Name = "p7" | |
4099 | p7.Size = Vector3.new(1,1,0.1) | |
4100 | local cm7 = Instance.new("SpecialMesh",p7) | |
4101 | cm7.Scale = Vector3.new(0.7,1.2,0.1) | |
4102 | cm7.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
4103 | local w7 = Instance.new("Weld",p7) | |
4104 | w7.Part1 = p6 | |
4105 | w7.Part0 = p7 | |
4106 | w7.C0 = CFrame.new(0,-3.25,0) | |
4107 | local p8 = Instance.new("Part",Tool) | |
4108 | p8.Anchored = true | |
4109 | p8.Locked = true | |
4110 | p8.CanCollide = false | |
4111 | p8.Name = "Handle" | |
4112 | p8.Color = Settings.Colors[1] | |
4113 | p8.TopSurface = 0 | |
4114 | p8.BottomSurface = 0 | |
4115 | p8.FormFactor = "Custom" | |
4116 | p8.Size = Vector3.new(1,1,0.1) | |
4117 | local cm8 = Instance.new("SpecialMesh",p8) | |
4118 | cm8.Scale = Vector3.new(1,1,0.4) | |
4119 | cm8.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
4120 | local w8 = Instance.new("Weld",p8) | |
4121 | w8.Part1 = p6 | |
4122 | w8.Part0 = p8 | |
4123 | w8.C0 = CFrame.new(0,-2,0) | |
4124 | local p9 = Instance.new("Part",Tool) | |
4125 | p9.Anchored = true | |
4126 | p9.Locked = true | |
4127 | p9.CanCollide = false | |
4128 | p9.Name = "Handle" | |
4129 | p9.Color = Settings.Colors[1] | |
4130 | p9.TopSurface = 0 | |
4131 | p9.BottomSurface = 0 | |
4132 | p9.Name = "p9" | |
4133 | p9.FormFactor = "Custom" | |
4134 | p9.Size = Vector3.new(1,1,0.1) | |
4135 | local cm9 = Instance.new("SpecialMesh",p9) | |
4136 | cm9.Scale = Vector3.new(1,1,0.4) | |
4137 | cm9.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
4138 | local w9 = Instance.new("Weld",p9) | |
4139 | w9.Part1 = p6 | |
4140 | w9.Part0 = p9 | |
4141 | w9.C0 = CFrame.new(0,-1,0) | |
4142 | local p10 = Instance.new("Part",Tool) | |
4143 | p10.Anchored = true | |
4144 | p10.Locked = true | |
4145 | p10.CanCollide = false | |
4146 | p10.Name = "Handle" | |
4147 | p10.Color = Settings.Colors[1] | |
4148 | p10.TopSurface = 0 | |
4149 | p10.BottomSurface = 0 | |
4150 | p10.FormFactor = "Custom" | |
4151 | p10.Size = Vector3.new(1,1,0.1) | |
4152 | local cm10 = Instance.new("SpecialMesh",p10) | |
4153 | cm10.Scale = Vector3.new(1,1,0.4) | |
4154 | cm10.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
4155 | local w10 = Instance.new("Weld",p10) | |
4156 | w10.Part1 = p6 | |
4157 | w10.Part0 = p10 | |
4158 | local p11 = Instance.new("Part",Tool) | |
4159 | p11.Anchored = true | |
4160 | p11.Locked = true | |
4161 | p11.CanCollide = false | |
4162 | p11.Name = "Handle" | |
4163 | p11.Color = Settings.Colors[1] | |
4164 | p11.TopSurface = 0 | |
4165 | p11.BottomSurface = 0 | |
4166 | p11.FormFactor = "Custom" | |
4167 | p11.Name = "pd" | |
4168 | p11.Size = Vector3.new(1,1,0.1) | |
4169 | local cm11 = Instance.new("SpecialMesh",p11) | |
4170 | cm11.Scale = Vector3.new(1,1,0.4) | |
4171 | cm11.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
4172 | local w11 = Instance.new("Weld",p11) | |
4173 | w11.Part1 = p6 | |
4174 | w11.Part0 = p11 | |
4175 | w11.C0 = CFrame.new(0,2,0) | |
4176 | Tool.Selected:connect(function(Mouse) | |
4177 | w1 = Instance.new("Weld",p2) | |
4178 | w1.Part1 = p1 | |
4179 | w1.Part0 = p2 | |
4180 | w1.C0 = CFrame.new(0,1,0) | |
4181 | w2 = Instance.new("Weld",p3) | |
4182 | w2.Part1 = p1 | |
4183 | w2.Part0 = p3 | |
4184 | w2.C0 = CFrame.new(0,-0.75,0) | |
4185 | w4 = Instance.new("Weld",p4) | |
4186 | w4.Part1 = p1 | |
4187 | w4.Part0 = p4 | |
4188 | w5 = Instance.new("Weld",p5) | |
4189 | w5.Part1 = p1 | |
4190 | w5.Part0 = p5 | |
4191 | w5.C0 = CFrame.new(0,-4,0) | |
4192 | w6 = Instance.new("Weld",p6) | |
4193 | w6.Part1 = p1 | |
4194 | w6.Part0 = p6 | |
4195 | w6.C0 = CFrame.new(0,-4,0) | |
4196 | w7 = Instance.new("Weld",p7) | |
4197 | w7.Part1 = p6 | |
4198 | w7.Part0 = p7 | |
4199 | w7.C0 = CFrame.new(0,-3.25,0) | |
4200 | w8 = Instance.new("Weld",p8) | |
4201 | w8.Part1 = p6 | |
4202 | w8.Part0 = p8 | |
4203 | w8.C0 = CFrame.new(0,-2,0) | |
4204 | w9 = Instance.new("Weld",p9) | |
4205 | w9.Part1 = p6 | |
4206 | w9.Part0 = p9 | |
4207 | w9.C0 = CFrame.new(0,-1,0) | |
4208 | w10 = Instance.new("Weld",p10) | |
4209 | w10.Part1 = p6 | |
4210 | w10.Part0 = p10 | |
4211 | w11 = Instance.new("Weld",p11) | |
4212 | w11.Part1 = p6 | |
4213 | w11.Part0 = p11 | |
4214 | w11.C0 = CFrame.new(0,2,0) | |
4215 | Mouse.KeyDown:connect(function(Key) | |
4216 | if KeyBindings2[Key:lower()]then | |
4217 | coroutine.wrap(function() | |
4218 | KeyBindings2[Key:lower()](Mouse) | |
4219 | end)()end end)end) | |
4220 | coroutine.wrap(function() | |
4221 | while Wait()do | |
4222 | w1.C0 = w1.C0 * CFrame.fromEulerAnglesXYZ(0,math.pi/-32,0) | |
4223 | w2.C0 = w2.C0 * CFrame.fromEulerAnglesXYZ(0,math.pi/32,0) | |
4224 | end end)() | |
4225 | local _HIT = {} | |
4226 | for i,v in pairs(Tool:GetChildren())do | |
4227 | if v:IsA("BasePart")then | |
4228 | v.Anchored = false | |
4229 | v.CanCollide = true | |
4230 | v.Touched:connect(function(obj) | |
4231 | if obj.Parent ~= Character and Debounces.SwordDamage and obj.Parent:findFirstChild("Humanoid")and not _HIT[obj.Parent]then | |
4232 | _HIT[obj.Parent]= true | |
4233 | DoDamage(obj.Parent,math.random(30,70)) | |
4234 | pcall(function() | |
4235 | local bf = Instance.new("BodyVelocity",obj.Parent.Torso) | |
4236 | bf.velocity =(v.Position -obj.Position).unit *200 | |
4237 | bf.maxForce = Vector3.new(10000,100000,10000) | |
4238 | Game:GetService("Debris"):AddItem(bf,0.5) | |
4239 | end)do ypcall(function() | |
4240 | local p = Instance.new("Part",Character) | |
4241 | p.Locked = true | |
4242 | p.CanCollide = false | |
4243 | p.Anchored = true | |
4244 | p.FormFactor = "Custom" | |
4245 | p.TopSurface = 0 | |
4246 | p.BottomSurface = 0 | |
4247 | p.Color = Settings.Colors[2] | |
4248 | p.CFrame = CFrame.new(obj.Parent.Torso.Position)* CFrame.new(0,-2,0) | |
4249 | local bpm = Instance.new("SpecialMesh",p) | |
4250 | bpm.MeshId = "http://www.roblox.com/asset/?id=1323306" | |
4251 | bpm.Scale = Vector3.new(0,0,0) | |
4252 | local p3 = Instance.new("Part",Character) | |
4253 | p3.Locked = true | |
4254 | p3.CanCollide = false | |
4255 | p3.Anchored = true | |
4256 | p3.FormFactor = "Custom" | |
4257 | p3.TopSurface = 0 | |
4258 | p3.BottomSurface = 0 | |
4259 | p3.Color = p.Color | |
4260 | p3.CFrame = CFrame.new(obj.Parent.Torso.Position) | |
4261 | local bpm3 = Instance.new("CylinderMesh",p3) | |
4262 | bpm3.Scale = Vector3.new(0,0,0) | |
4263 | coroutine.wrap(function() | |
4264 | for ae = 1,18 do | |
4265 | p.Transparency = ae/18 | |
4266 | p3.Transparency = ae/18 | |
4267 | bpm3.Scale = bpm3.Scale + Vector3.new(0.1,100,0.1) | |
4268 | bpm.Scale = bpm.Scale + Vector3.new(1.5,2,1.5) | |
4269 | Wait() | |
4270 | end | |
4271 | p:Destroy() | |
4272 | p3:Destroy() | |
4273 | end)()end)end delay(0.5,function() | |
4274 | pcall(function() | |
4275 | _HIT[obj.Parent]= nil | |
4276 | end)end)end end)end end end | |
4277 | Tool.Deselected:connect(function() | |
4278 | Equipped = false | |
4279 | _Mouse = Player:GetMouse() | |
4280 | end) | |
4281 | _Mouse.KeyDown:connect(function(Key) | |
4282 | if KeyBindings[Key:lower()]and not Equipped then | |
4283 | KeyBindings[Key:lower()](_Mouse) | |
4284 | end end) | |
4285 | Tool.Selected:connect(function(Mouse) | |
4286 | Equipped = true | |
4287 | Mouse.Button1Down:connect(function() | |
4288 | Debounces.SwordDamage = false | |
4289 | Wait() | |
4290 | if Debounces.Attacking then return end | |
4291 | Debounces.SwordDamage = true | |
4292 | Debounces.Attacking = true | |
4293 | SState = "Null" | |
4294 | for i,v in pairs(Tool:GetChildren())do | |
4295 | if v:IsA("BasePart")then | |
4296 | v.CanCollide = false | |
4297 | end end | |
4298 | ResetWelds() | |
4299 | for i = 1,15 do | |
4300 | RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(0,0,math.pi/30) | |
4301 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/60,0,0) | |
4302 | Wait() | |
4303 | end local o;o = Mouse.Button1Up:connect(function() | |
4304 | Debounces.SwordDamage = false | |
4305 | Debounces.Attacking = false | |
4306 | o:disconnect() | |
4307 | end) | |
4308 | coroutine.wrap(function() | |
4309 | local Old = Tool.pd.CFrame.p | |
4310 | while Wait()do | |
4311 | if not Debounces.SwordDamage then break end | |
4312 | local New = Tool.pd.CFrame.p | |
4313 | local Mag =(Old -New).magnitude | |
4314 | local Dis =(Old +New)/2 | |
4315 | local Trail = Instance.new("Part",Character) | |
4316 | Trail.Anchored = true | |
4317 | Trail.CanCollide = false | |
4318 | Trail.Color = Settings.Colors[1] | |
4319 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4320 | Trail.TopSurface = 0 | |
4321 | Trail.BottomSurface = 0 | |
4322 | Trail.formFactor = "Custom" | |
4323 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4324 | local ms = Instance.new("BlockMesh",Trail) | |
4325 | ms.Scale = Vector3.new(1,1,1) | |
4326 | local TM = Instance.new("CylinderMesh",Trail) | |
4327 | TM.Scale = Vector3.new(1,1,1) | |
4328 | Old = New | |
4329 | coroutine.wrap(function() | |
4330 | for i = 1,0,-0.1 do | |
4331 | Wait() | |
4332 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4333 | end | |
4334 | Trail:Destroy() | |
4335 | end)() | |
4336 | coroutine.wrap(function() | |
4337 | for i = 1,10 do | |
4338 | Wait() | |
4339 | Trail.Transparency = Trail.Transparency +0.1 | |
4340 | end end)()end end)() | |
4341 | coroutine.wrap(function() | |
4342 | local Old = Tool.p7.CFrame.p | |
4343 | while Wait()do | |
4344 | if not Debounces.SwordDamage then break end | |
4345 | local New = Tool.p7.CFrame.p | |
4346 | local Mag =(Old -New).magnitude | |
4347 | local Dis =(Old +New)/2 | |
4348 | local Trail = Instance.new("Part",Character) | |
4349 | Trail.Anchored = true | |
4350 | Trail.CanCollide = false | |
4351 | Trail.Color = Settings.Colors[2] | |
4352 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4353 | Trail.TopSurface = 0 | |
4354 | Trail.BottomSurface = 0 | |
4355 | Trail.formFactor = "Custom" | |
4356 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4357 | local ms = Instance.new("BlockMesh",Trail) | |
4358 | ms.Scale = Vector3.new(1,1,1) | |
4359 | local TM = Instance.new("CylinderMesh",Trail) | |
4360 | TM.Scale = Vector3.new(1,1,1) | |
4361 | Old = New | |
4362 | coroutine.wrap(function() | |
4363 | for i = 1,0,-0.1 do | |
4364 | Wait() | |
4365 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4366 | end | |
4367 | Trail:Destroy() | |
4368 | end)() | |
4369 | coroutine.wrap(function() | |
4370 | for i = 1,10 do | |
4371 | Wait() | |
4372 | Trail.Transparency = Trail.Transparency +0.1 | |
4373 | end end)()end end)() | |
4374 | coroutine.wrap(function() | |
4375 | local Old = Tool.p9.CFrame.p | |
4376 | while Wait()do | |
4377 | if not Debounces.SwordDamage then break end | |
4378 | local New = Tool.p9.CFrame.p | |
4379 | local Mag =(Old -New).magnitude | |
4380 | local Dis =(Old +New)/2 | |
4381 | local Trail = Instance.new("Part",Character) | |
4382 | Trail.Anchored = true | |
4383 | Trail.CanCollide = false | |
4384 | Trail.Color = Color3.new(0.5,0.5,0.5) | |
4385 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4386 | Trail.TopSurface = 0 | |
4387 | Trail.BottomSurface = 0 | |
4388 | Trail.formFactor = "Custom" | |
4389 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4390 | local ms = Instance.new("BlockMesh",Trail) | |
4391 | ms.Scale = Vector3.new(1,1,1) | |
4392 | local TM = Instance.new("CylinderMesh",Trail) | |
4393 | TM.Scale = Vector3.new(1,1,1) | |
4394 | Old = New | |
4395 | coroutine.wrap(function() | |
4396 | for i = 1,0,-0.1 do | |
4397 | Wait() | |
4398 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4399 | end | |
4400 | Trail:Destroy() | |
4401 | end)() | |
4402 | coroutine.wrap(function() | |
4403 | for i = 1,10 do | |
4404 | Wait() | |
4405 | Trail.Transparency = Trail.Transparency +0.1 | |
4406 | end end)()end end)() | |
4407 | local ooo = -5 | |
4408 | while Wait()do | |
4409 | if not Debounces.SwordDamage then break end | |
4410 | HU.WalkSpeed = 0 | |
4411 | ooo = ooo +0.005 | |
4412 | StanceGyro.cframe = FaceForward() | |
4413 | pcall(function() | |
4414 | RA.RightGrip.C0 = RA.RightGrip.C0 * CFrame.fromEulerAnglesXYZ(0,0,math.pi/-ooo) | |
4415 | end)end | |
4416 | for i,v in pairs(Tool:GetChildren())do | |
4417 | if v:IsA("BasePart")then | |
4418 | v.CanCollide = true | |
4419 | end end | |
4420 | ResetWelds() | |
4421 | SState = "Standing" | |
4422 | pcall(function() | |
4423 | RA.RightGrip.C0 = CFrame.new(0,-1,0,1,0,-0,0,0,1,0,-1,-0) | |
4424 | end)end)end) | |
4425 | local MainGui = Instance.new("ScreenGui",PlayerGui) | |
4426 | MainGui.Name = "Kronos Gui" | |
4427 | local StopGuiAnim = false | |
4428 | local HealthBar = Instance.new("Frame",MainGui) | |
4429 | HealthBar.Size = UDim2.new(0.06,0,0.3,0) | |
4430 | HealthBar.Position = UDim2.new(0.005,0,0.28,0) | |
4431 | HealthBar.BorderSizePixel = 5 | |
4432 | HealthBar.BackgroundColor3 = Settings.Colors[2] | |
4433 | HealthBar.BorderColor3 = Settings.Colors[2] | |
4434 | local HealthFluidC = Instance.new("Frame",HealthBar) | |
4435 | HealthFluidC.Size = UDim2.new(1,0,0.85,0) | |
4436 | HealthFluidC.BackgroundTransparency = 1 | |
4437 | local Heart = Instance.new("ImageLabel",HealthFluidC) | |
4438 | Heart.Image = "http://www.roblox.com/asset/?id=166857692" | |
4439 | Heart.BackgroundTransparency = 1 | |
4440 | Heart.Size = UDim2.new(0.7,0,0.35,0) | |
4441 | Heart.Position = UDim2.new(0.15,0,0.38,0) | |
4442 | Heart.ZIndex = 4 | |
4443 | local HealthFluid = Instance.new("Frame",HealthFluidC) | |
4444 | HealthFluid.Size = UDim2.new(1,0,-1,0) | |
4445 | HealthFluid.Position = UDim2.new(0,0,1,0) | |
4446 | HealthFluid.BackgroundColor3 = Color3.new(1,0,0) | |
4447 | HealthFluid.ZIndex = 3 | |
4448 | HealthFluid.BorderSizePixel = 0 | |
4449 | HealthFluid.BorderColor3 = Color3.new(1,1,1) | |
4450 | local HealthDisplayType,HSpinDir = true,true | |
4451 | local HealthCount = Instance.new("TextLabel",HealthBar) | |
4452 | HealthCount.Size = UDim2.new(1,0,0.15,0) | |
4453 | HealthCount.Position = UDim2.new(0,0,0.85,0) | |
4454 | HealthCount.BorderSizePixel = 0 | |
4455 | HealthCount.BorderColor3 = Color3.new(1,1,1) | |
4456 | HealthCount.BackgroundColor3 = Settings.Colors[2] | |
4457 | HealthCount.TextColor3 = Color3.new(1,1,1) | |
4458 | HealthCount.TextScaled = true | |
4459 | HealthCount.Font = "SourceSansBold" | |
4460 | HealthCount.Text = "0%" | |
4461 | HealthCount.ZIndex = 2 | |
4462 | HealthCount.MouseEnter:connect(function()HealthDisplayType = false end) | |
4463 | HealthCount.MouseLeave:connect(function()HealthDisplayType = true end) | |
4464 | local nhel = true;local function UpdateHealth() | |
4465 | if HU.Health < 1 or not nhel then HU:TakeDamage(MaxHealth)nhel = false end | |
4466 | if HU.Health < MaxHealth and nhel then | |
4467 | HU.Health = HU.Health +0.25 | |
4468 | end end | |
4469 | local PowerBar = Instance.new("Frame",MainGui) | |
4470 | PowerBar.Size = UDim2.new(0.06,0,0.3,0) | |
4471 | PowerBar.Position = UDim2.new(0.935,0,0.28,0) | |
4472 | PowerBar.BorderSizePixel = 5 | |
4473 | PowerBar.BackgroundColor3 = Settings.Colors[2] | |
4474 | PowerBar.BorderColor3 = Settings.Colors[2] | |
4475 | local PowerFluidC = Instance.new("Frame",PowerBar) | |
4476 | PowerFluidC.Size = UDim2.new(1,0,0.85,0) | |
4477 | PowerFluidC.BackgroundTransparency = 1 | |
4478 | local PowerImg = Instance.new("ImageLabel",PowerFluidC) | |
4479 | PowerImg.Image = "http://www.roblox.com/asset/?id=166864206" | |
4480 | PowerImg.BackgroundTransparency = 1 | |
4481 | PowerImg.Size = UDim2.new(0.7,0,0.35,0) | |
4482 | PowerImg.Position = UDim2.new(0.15,0,0.38,0) | |
4483 | PowerImg.ZIndex = 4 | |
4484 | local PowerFluid = Instance.new("Frame",PowerFluidC) | |
4485 | PowerFluid.Size = UDim2.new(1,0,-1,0) | |
4486 | PowerFluid.Position = UDim2.new(0,0,1,0) | |
4487 | PowerFluid.BackgroundColor3 = Settings.Colors[1] | |
4488 | PowerFluid.ZIndex = 3 | |
4489 | PowerFluid.BorderSizePixel = 0 | |
4490 | PowerFluid.BorderColor3 = Color3.new(1,1,1) | |
4491 | local PowerDisplayType = true | |
4492 | local PowerCount = Instance.new("TextLabel",PowerBar) | |
4493 | PowerCount.Size = UDim2.new(1,0,0.15,0) | |
4494 | PowerCount.Position = UDim2.new(0,0,0.85,0) | |
4495 | PowerCount.BorderSizePixel = 0 | |
4496 | PowerCount.BorderColor3 = Color3.new(1,1,1) | |
4497 | PowerCount.BackgroundColor3 = Settings.Colors[2] | |
4498 | PowerCount.TextColor3 = Color3.new(1,1,1) | |
4499 | PowerCount.TextScaled = true | |
4500 | PowerCount.Font = "SourceSansBold" | |
4501 | PowerCount.Text = "0%" | |
4502 | PowerCount.ZIndex = 2 | |
4503 | PowerCount.MouseEnter:connect(function()PowerDisplayType = false end) | |
4504 | PowerCount.MouseLeave:connect(function()PowerDisplayType = true end) | |
4505 | local function UpdateBars() | |
4506 | if StopGuiAnim then return end | |
4507 | PowerFluid:TweenSize(UDim2.new(1,0,-1/(MaxPower/CurrentPower),0),"InOut","Quint",0.1) | |
4508 | PowerCount.Text = PowerDisplayType and tostring((CurrentPower/MaxPower)*100):gsub("%.+%d+",'').."%" or math.floor(CurrentPower) | |
4509 | PowerCount.BorderSizePixel = PowerCount.BorderSizePixel +1 | |
4510 | PowerFluid.BorderSizePixel = PowerFluid.BorderSizePixel +1 | |
4511 | PowerFluid.Transparency = PowerFluid.Transparency +0.025 | |
4512 | PowerImg.Rotation = HSpinDir and PowerImg.Rotation -1 or PowerImg.Rotation +1 | |
4513 | if PowerFluid.BackgroundTransparency >= 0.5 then | |
4514 | PowerFluid.BackgroundTransparency = 0 | |
4515 | end if PowerCount.BorderSizePixel == 5 then | |
4516 | PowerFluid.BorderSizePixel = 0 | |
4517 | PowerCount.BorderSizePixel = 0 | |
4518 | end HealthFluid:TweenSize(UDim2.new(1,0,-1/(MaxHealth/HU.Health),0),"InOut","Quint",0.1) | |
4519 | HealthCount.Text = HealthDisplayType and tostring((HU.Health/MaxHealth)*100):gsub("%.+%d+",'').."%" or math.floor(HU.Health) | |
4520 | HealthCount.BorderSizePixel = HealthCount.BorderSizePixel +1 | |
4521 | HealthFluid.BorderSizePixel = HealthFluid.BorderSizePixel +1 | |
4522 | HealthFluid.Transparency = HealthFluid.Transparency +0.025 | |
4523 | Heart.Rotation = HSpinDir and Heart.Rotation +1 or Heart.Rotation -1 | |
4524 | if Heart.Rotation >= 45 or Heart.Rotation <= -45 then | |
4525 | HSpinDir = not HSpinDir | |
4526 | end if HealthFluid.BackgroundTransparency >= 0.5 then | |
4527 | HealthFluid.BackgroundTransparency = 0 | |
4528 | end if HealthCount.BorderSizePixel == 5 then | |
4529 | HealthCount.BorderSizePixel = 0 | |
4530 | HealthFluid.BorderSizePixel = 0 | |
4531 | end end | |
4532 | coroutine.wrap(function() | |
4533 | while Wait()do(function() | |
4534 | if SState == "Null" or SState == "Jumping" then return end | |
4535 | if not Debounces.Attacking then | |
4536 | if T.Velocity.magnitude >= 5 and SState ~= "Null" and SState ~= "Jumping" then | |
4537 | SState = "Running" | |
4538 | else | |
4539 | SState = "Standing" | |
4540 | end end end)()end end)() | |
4541 | HU.Jumping:connect(function() | |
4542 | if SState == "Null" then return end | |
4543 | SState = "Jumping" | |
4544 | local vu = Instance.new("BodyVelocity",T) | |
4545 | vu.P = 5125 | |
4546 | vu.maxForce = Vector3.new(0,5000000000000000000000,0) | |
4547 | vu.velocity = Vector3.new(0,60,0) | |
4548 | Game:GetService("Debris"):AddItem(vu,0.267) | |
4549 | RiseRate = RiseRate +3 | |
4550 | delay(1,function() | |
4551 | RiseRate = RiseRate -3 | |
4552 | if SState ~= "Null" then | |
4553 | SState = "Standing" | |
4554 | end end)end) | |
4555 | local DCon;DCon = HU.Died:connect(function() | |
4556 | for i,v in pairs(Tool:GetChildren())do | |
4557 | if v:IsA("BasePart")then | |
4558 | v.Anchored = true | |
4559 | coroutine.wrap(function() | |
4560 | for i = 1,32 do | |
4561 | v.Transparency = i/32 | |
4562 | Wait() | |
4563 | end v:Destroy()end)()end end | |
4564 | local o = false | |
4565 | SState = "Null" | |
4566 | ResetWelds() | |
4567 | Wait() | |
4568 | delay((1/30)*32,function()PlaySound("http://www.roblox.com/asset?id=167115397",1,30,T.CFrame)end) | |
4569 | table.foreach(Character:GetChildren(),function(_,v) | |
4570 | if v:IsA("BasePart")and v.Name ~= "HumanoidRootPart" then | |
4571 | v.Anchored = true | |
4572 | coroutine.wrap(function() | |
4573 | for i = 1,32 do | |
4574 | v.Transparency = i/32 | |
4575 | Wait() | |
4576 | end for i = 1,3 do | |
4577 | local p = Instance.new("Part",Character) | |
4578 | p.Locked = true | |
4579 | p.CanCollide = false | |
4580 | p.Anchored = true | |
4581 | p.FormFactor = "Custom" | |
4582 | p.TopSurface = 0 | |
4583 | p.BottomSurface = 0 | |
4584 | p.Color = Settings.Colors[2] | |
4585 | p.CFrame = CFrame.new(T.Position)* CFrame.new(0,-2,0) | |
4586 | local bpm = Instance.new("SpecialMesh",p) | |
4587 | bpm.MeshId = "http://www.roblox.com/asset/?id=1323306" | |
4588 | bpm.Scale = Vector3.new(0,0,0) | |
4589 | local p3 = Instance.new("Part",Character) | |
4590 | p3.Locked = true | |
4591 | p3.CanCollide = false | |
4592 | p3.Anchored = true | |
4593 | p3.FormFactor = "Custom" | |
4594 | p3.TopSurface = 0 | |
4595 | p3.BottomSurface = 0 | |
4596 | p3.Color = p.Color | |
4597 | p3.CFrame = CFrame.new(T.Position) | |
4598 | local bpm3 = Instance.new("CylinderMesh",p3) | |
4599 | bpm3.Scale = Vector3.new(0,0,0) | |
4600 | coroutine.wrap(function() | |
4601 | for n = 1,17 do | |
4602 | p.CFrame = CFrame.new(p.Position)* CFrame.new(0,0.05,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-60,60)/100,0) | |
4603 | p.Transparency = n/35 | |
4604 | bpm.Scale = bpm.Scale + Vector3.new(i*0.6,0.15,i*0.6) | |
4605 | p3.Transparency = n/35 | |
4606 | bpm3.Scale = bpm3.Scale + Vector3.new(i*0.13,i*3000,i*0.13) | |
4607 | Wait() | |
4608 | end | |
4609 | o = true | |
4610 | p:Destroy() | |
4611 | p3:Destroy() | |
4612 | end)() | |
4613 | Wait() | |
4614 | end end)()end end) | |
4615 | local Bright = Game.Lighting.Brightness | |
4616 | local Amb = Game.Lighting.Ambient | |
4617 | local function nn(oc,xx,Div) | |
4618 | pcall(function() | |
4619 | oc.BackgroundTransparency = xx/Div | |
4620 | oc.Image = "" | |
4621 | end) | |
4622 | for i,v in pairs(oc:GetChildren())do | |
4623 | nn(v,xx,Div) | |
4624 | end end | |
4625 | while Wait()do | |
4626 | if o then | |
4627 | PlaySound("http://www.roblox.com/asset?id=167115397",1.4,50,T.CFrame) | |
4628 | for i = 1,26 do | |
4629 | PowerBar.Rotation = math.random(-65,65) | |
4630 | HealthBar.Rotation = math.random(-90,90) | |
4631 | StopGuiAnim = true | |
4632 | nn(PowerBar,i,26) | |
4633 | nn(HealthBar,i,26) | |
4634 | DamageNear(T.Position,1205/26,300,false,function(Char) | |
4635 | table.foreach(Char:GetChildren(),function(_,v) | |
4636 | if v:IsA("BasePart")then | |
4637 | v.Anchored = true | |
4638 | delay(0.5,function() | |
4639 | v.Anchored = false | |
4640 | end)end end) | |
4641 | local p2 = Instance.new("Part",Char) | |
4642 | p2.Locked = true | |
4643 | p2.CanCollide = false | |
4644 | p2.Anchored = true | |
4645 | p2.FormFactor = "Custom" | |
4646 | p2.TopSurface = 0 | |
4647 | p2.BottomSurface = 0 | |
4648 | p2.Color = Settings.Colors[2] | |
4649 | p2.CFrame = Char.Torso.CFrame * CFrame.new(0,-1,0) | |
4650 | local bpm2 = Instance.new("SpecialMesh",p2) | |
4651 | bpm2.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
4652 | bpm2.Scale = Vector3.new(0,0,0) | |
4653 | for u = 1,5 do | |
4654 | p2.Transparency = u/5 | |
4655 | bpm2.Scale = bpm2.Scale + Vector3.new(3,6,3) | |
4656 | Wait() | |
4657 | end end) | |
4658 | local p = Instance.new("Part",Character) | |
4659 | p.Locked = true | |
4660 | p.CanCollide = false | |
4661 | p.Anchored = true | |
4662 | p.FormFactor = "Custom" | |
4663 | p.TopSurface = 0 | |
4664 | p.BottomSurface = 0 | |
4665 | p.Color = Settings.Colors[math.random(1,2)] | |
4666 | p.CFrame = CFrame.new(T.Position)* CFrame.new(0,-1,0)* CFrame.fromEulerAnglesXYZ(0,math.pi/math.random(0,4),0) | |
4667 | local bpm = Instance.new("SpecialMesh",p) | |
4668 | bpm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
4669 | bpm.Scale = Vector3.new(0,0,0) | |
4670 | local p2 = Instance.new("Part",Character) | |
4671 | p2.Locked = true | |
4672 | p2.CanCollide = false | |
4673 | p2.Anchored = true | |
4674 | p2.FormFactor = "Custom" | |
4675 | p2.TopSurface = 0 | |
4676 | p2.BottomSurface = 0 | |
4677 | p2.Color = p.Color | |
4678 | p2.CFrame = T.CFrame * CFrame.new(0,-1,0) | |
4679 | local bpm2 = Instance.new("SpecialMesh",p2) | |
4680 | bpm2.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
4681 | bpm2.Scale = Vector3.new(0,0,0) | |
4682 | local p3 = Instance.new("Part",Character) | |
4683 | p3.Locked = true | |
4684 | p3.CanCollide = false | |
4685 | p3.Anchored = true | |
4686 | p3.FormFactor = "Custom" | |
4687 | p3.TopSurface = 0 | |
4688 | p3.BottomSurface = 0 | |
4689 | p3.Color = p.Color | |
4690 | p3.CFrame = T.CFrame | |
4691 | local bpm3 = Instance.new("CylinderMesh",p3) | |
4692 | bpm3.Scale = Vector3.new(0,0,0) | |
4693 | coroutine.wrap(function() | |
4694 | for n = 1,19 do | |
4695 | p2.Transparency = n/19 | |
4696 | p.Transparency = n/19 | |
4697 | bpm.Scale = bpm.Scale + Vector3.new(i*10,i*10,1) | |
4698 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
4699 | bpm2.Scale = bpm2.Scale + Vector3.new(i*0.75,-1.5+i,i*0.75) | |
4700 | p3.Transparency = n/10 | |
4701 | bpm3.Scale = bpm3.Scale + Vector3.new(i*0.3,i*3000,i*0.3) | |
4702 | Game.Lighting.Brightness = n/19 | |
4703 | Game.Lighting.Ambient = Color3.new(n/19,n/19,n/19) | |
4704 | Wait() | |
4705 | end | |
4706 | p2:Destroy() | |
4707 | p:Destroy() | |
4708 | p3:Destroy() | |
4709 | end)() | |
4710 | Wait()end break end end | |
4711 | Wait(3) | |
4712 | Game.Lighting.Brightness = Bright | |
4713 | Game.Lighting.Ambient = Amb | |
4714 | local m = Instance.new("Model",Workspace) | |
4715 | m.Name = Player.Name | |
4716 | local hu = Instance.new("Humanoid",m) | |
4717 | hu.MaxHealth = 100 | |
4718 | Player.Character = m | |
4719 | hu.Health = 0 | |
4720 | DCon:disconnect() | |
4721 | HU:Destroy() | |
4722 | end) | |
4723 | local function RunAnimation() | |
4724 | local STCO = CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0) | |
4725 | local StandRS = CFrame.new(1,0.5,0,0.707106709,0,0.707106709,0,1,0,-0.707106709,0,0.707106709) | |
4726 | local StandRH = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0) | |
4727 | local StandLS = CFrame.new(-1,0.5,0,-0.923879445,0,-0.382683426,0,1,0,0.382683426,0,-0.923879445) | |
4728 | local StandLH = CFrame.new(-1,-1,0,0,0.0392597914,-0.999228895,0,0.999228895,0.0392597914,1,0,0) | |
4729 | if SState == "Jumping" then | |
4730 | HU.WalkSpeed = 154 | |
4731 | ResetWelds(true) | |
4732 | RS.DesiredAngle = -0.4 | |
4733 | LS.DesiredAngle = 0.4 | |
4734 | RH.DesiredAngle = -0.4 | |
4735 | LH.DesiredAngle = 0.4 | |
4736 | N.C0 = STCO * CFrame.fromEulerAnglesXYZ(-math.pi/12,0,0) | |
4737 | N.DesiredAngle = 0 | |
4738 | end if SState == "Standing" then | |
4739 | HU.WalkSpeed = 154 | |
4740 | RS.C0 = StandRS | |
4741 | RH.C0 = StandRH | |
4742 | LS.C0 = StandLS | |
4743 | LH.C0 = StandLH | |
4744 | local tb = math.cos(time()*3.1) | |
4745 | local tbs = math.sin(time()*3.1) | |
4746 | StanceGyro.cframe = FaceForward()* CFrame.fromEulerAnglesXYZ(0,-math.pi/4,0) | |
4747 | StanceGyro.Parent = T | |
4748 | StanceGyro.P = 10000 | |
4749 | StanceGyro.maxTorque = Vector3.new(5000,5000,5000)*50000 | |
4750 | N.C0 = STCO * CFrame.fromEulerAnglesXYZ(tb *0.05 +0.2,0,0) | |
4751 | N.DesiredAngle = 0.8 | |
4752 | RS.DesiredAngle = -0.1 | |
4753 | LS.DesiredAngle = 0.2 | |
4754 | RH.DesiredAngle = 0 | |
4755 | LH.DesiredAngle = 0 | |
4756 | RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(-tb *0.01 -0.2,0,0) | |
4757 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-tbs *0.1 -0.8,0.8,0) | |
4758 | RH.C0 = RH.C0 * CFrame.fromEulerAnglesXYZ(-0.2,tbs *0.05,0) | |
4759 | LH.C0 = LH.C0 * CFrame.fromEulerAnglesXYZ(-0.15,0,0) | |
4760 | end if SState == "Running" then | |
4761 | HU.WalkSpeed = 154 | |
4762 | ResetWelds(true) | |
4763 | StanceGyro.Parent = T | |
4764 | StanceGyro.P = 14000 | |
4765 | StanceGyro.D = 3000 | |
4766 | StanceGyro.maxTorque = Vector3.new(5000,5000,5000)*50000000000000000000000 | |
4767 | StanceGyro.cframe = FaceForward() | |
4768 | StanceGyro.cframe = StanceGyro.cframe * CFrame.fromEulerAnglesXYZ(-math.pi/7,0,0) | |
4769 | N.C0 = STCO * CFrame.fromEulerAnglesXYZ(-0.4,0,0) | |
4770 | N.DesiredAngle = 0 | |
4771 | RS.DesiredAngle = Equipped and 0.2 or(-math.cos(time()*9)*8)/10 | |
4772 | LS.DesiredAngle =(-math.cos(time()*9)*8)/10 | |
4773 | RH.DesiredAngle = math.cos(time()*9)*2.5 +0.25 | |
4774 | LH.DesiredAngle = math.cos(time()*9)*2.5 -0.25 | |
4775 | RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/6.5,-math.pi/10,0) | |
4776 | LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/4,0,0) | |
4777 | end | |
4778 | Wait(0.05-(1/30)) | |
4779 | end | |
4780 | for i,v in pairs(Character:GetChildren())do if v:IsA("Clothing")or v:IsA("Hat")or v:IsA("CharacterMesh")then | |
4781 | v:Destroy() | |
4782 | end end | |
4783 | HU.MaxHealth = MaxHealth | |
4784 | Wait() | |
4785 | HU.Health = MaxHealth | |
4786 | pcall(function() | |
4787 | Character.Health:Destroy() | |
4788 | Character.Torso.roblox:Destroy() | |
4789 | end)while Wait()do | |
4790 | RunAnimation() | |
4791 | UpdateBars() | |
4792 | UpdateHealth() | |
4793 | local s = Character:findFirstChild("Body Colors") | |
4794 | if s then | |
4795 | local n = {"HeadColor","TorsoColor","LeftLegColor","RightLegColor","RightArmColor","LeftArmColor"} | |
4796 | for _,o in pairs(n)do | |
4797 | s[o] = BrickColor.new("Institutional white") | |
4798 | end end end | |
4799 | ||
4800 | - | --~IR(InternelRecorshun), Pr0m(F1r3Bla3zpls)& Esy(Est0mehk)~--- |
4800 | + | --~Kazu(psynaruto), Pr0m(VinnyGalaxy)& Esy(Est0mehk)~--- |