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