SHOW:
|
|
- or go back to the newest paste.
1 | - | print'i dont wanna be associated with SB anymore' |
1 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
3 | do | |
4 | print("FE Compatibility code by Mokiros") | |
5 | script.Parent = Player.Character | |
6 | ||
7 | --RemoteEvent for communicating | |
8 | local Event = Instance.new("RemoteEvent") | |
9 | Event.Name = "UserInput_Event" | |
10 | ||
11 | --Fake event to make stuff like Mouse.KeyDown work | |
12 | local function fakeEvent() | |
13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
14 | t.connect = t.Connect | |
15 | return t | |
16 | end | |
17 | ||
18 | --Creating fake input objects with fake variables | |
19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
22 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
23 | end} | |
24 | --Merged 2 functions into one by checking amount of arguments | |
25 | CAS.UnbindAction = CAS.BindAction | |
26 | ||
27 | --This function will trigger the events that have been :Connect()'ed | |
28 | local function te(self,ev,...) | |
29 | local t = m[ev] | |
30 | if t and t._fakeEvent and t.Function then | |
31 | t.Function(...) | |
32 | end | |
33 | end | |
34 | m.TrigEvent = te | |
35 | UIS.TrigEvent = te | |
36 | ||
37 | Event.OnServerEvent:Connect(function(plr,io) | |
38 | if plr~=Player then return end | |
39 | if io.isMouse then | |
40 | m.Target = io.Target | |
41 | m.Hit = io.Hit | |
42 | else | |
43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
46 | end | |
47 | for _,t in pairs(CAS.Actions) do | |
48 | for _,k in pairs(t.Keys) do | |
49 | if k==io.KeyCode then | |
50 | t.Function(t.Name,io.UserInputState,io) | |
51 | end | |
52 | end | |
53 | end | |
54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
56 | end | |
57 | end) | |
58 | Event.Parent = NLS([==[ | |
59 | local Player = game:GetService("Players").LocalPlayer | |
60 | local Event = script:WaitForChild("UserInput_Event") | |
61 | ||
62 | local UIS = game:GetService("UserInputService") | |
63 | local input = function(io,a) | |
64 | if a then return end | |
65 | --Since InputObject is a client-side instance, we create and pass table instead | |
66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
67 | end | |
68 | UIS.InputBegan:Connect(input) | |
69 | UIS.InputEnded:Connect(input) | |
70 | ||
71 | local Mouse = Player:GetMouse() | |
72 | local h,t | |
73 | --Give the server mouse data 30 times every second, but only if the values changed | |
74 | --If player is not moving their mouse, client won't fire events | |
75 | while wait(1/30) do | |
76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
77 | h,t=Mouse.Hit,Mouse.Target | |
78 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
79 | end | |
80 | end]==],Player.Character) | |
81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
82 | end | |
83 | ||
84 | warn([[Galaxy Glitcher Loaded. | |
85 | The third glitcher, once as the core is now new. | |
86 | ||
87 | MAIN WIELDER: ??? | |
88 | Created by NoobyGames12 | |
89 | ]]) | |
90 | ||
91 | print([[Icons: | |
92 | ! = New | |
93 | ? = Spoilers | |
94 | * = Exclusivity | |
95 | C = Changes | |
96 | ||
97 | ]]) | |
98 | warn([[V 5.1 Update Log: | |
99 | C - Sol's transformation now has more dramatic effects. | |
100 | !C - Azure X's "V" is changed. | |
101 | !?* - Darkness mode is added, still wip. | |
102 | !C - Blaze's "Z" is now crossfire and majorly changed. | |
103 | !? - New transformations coming soon. | |
104 | ! - Effects update. | |
105 | ! - Additional circle rooted to the wielder | |
106 | !* - SOL has been added as Blaze's major. | |
107 | ||
108 | Commands for visualiser mode: play/, vol/, pitch/, skipto/, telltime/]]) | |
109 | ---- IMPORTANT READING: | |
110 | ---- Sources and functions might be taken from others | |
111 | plr = owner | |
112 | plr.CharacterAdded:connect(function() | |
113 | script.Disabled = true | |
114 | script:destroy() | |
115 | end) | |
116 | char = plr.Character | |
117 | hum = char.Humanoid | |
118 | local cam = game.Workspace.CurrentCamera | |
119 | Camera = cam | |
120 | local CamInterrupt = false | |
121 | local TwoD = false | |
122 | local TargetInfo = {nil, nil} | |
123 | cam.CameraType = "Custom" | |
124 | t = char.Torso | |
125 | h = char.Head | |
126 | ra = char["Right Arm"] | |
127 | la = char["Left Arm"] | |
128 | rl = char["Right Leg"] | |
129 | ll = char["Left Leg"] | |
130 | tors = char.Torso | |
131 | lleg = char["Left Leg"] | |
132 | root = char.HumanoidRootPart | |
133 | hed = char.Head | |
134 | rleg = char["Right Leg"] | |
135 | rarm = char["Right Arm"] | |
136 | larm = char["Left Arm"] | |
137 | radian = math.rad | |
138 | random = math.random | |
139 | Vec3 = Vector3.new | |
140 | Inst = Instance.new | |
141 | cFrame = CFrame.new | |
142 | Euler = CFrame.fromEulerAnglesXYZ | |
143 | vt = Vector3.new | |
144 | bc = BrickColor.new | |
145 | br = BrickColor.random | |
146 | it = Instance.new | |
147 | cf = CFrame.new | |
148 | ||
149 | ||
150 | local Booleans = { | |
151 | CamFollow = true, | |
152 | GyroUse = true | |
153 | } | |
154 | ||
155 | function lerp(object, newCFrame, alpha) | |
156 | return object:lerp(newCFrame, alpha) | |
157 | end | |
158 | ||
159 | local Directer = Inst("BodyGyro", root) | |
160 | Directer.MaxTorque = Vec3(0, 0, 0) | |
161 | Directer.P = 600000 | |
162 | local CPart = Inst("Part") | |
163 | CPart.Anchored = true | |
164 | CPart.CanCollide = false | |
165 | CPart.Locked = true | |
166 | CPart.Transparency = 1 | |
167 | ||
168 | local rainbowmode = false | |
169 | local chaosmode = false | |
170 | local duringend = false | |
171 | local ModeOfGlitch = 1 | |
172 | ||
173 | local kan = Instance.new("Sound",char) | |
174 | kan.Volume = 1.25 | |
175 | kan.TimePosition = 0 | |
176 | kan.PlaybackSpeed = 1 | |
177 | kan.Pitch = 1.02 | |
178 | kan.SoundId = "rbxassetid://603567552" | |
179 | kan.Name = "wreckeda" | |
180 | kan.Looped = true | |
181 | kan:Play() | |
182 | ||
183 | local REMOTE = Instance.new("RemoteEvent") | |
184 | ||
185 | REMOTE.Parent = Character | |
186 | ||
187 | local playbackloudness = 0 | |
188 | local sound = kan | |
189 | game:GetService("RunService").Heartbeat:Connect(function() | |
190 | REMOTE:FireClient(Player, sound) | |
191 | end) | |
192 | REMOTE.OnServerEvent:Connect(function(plr, loud) | |
193 | if plr.Name == Player.Name then | |
194 | playbackloudness = loud | |
195 | end | |
196 | end) | |
197 | ||
198 | local currentThemePlaying = kan.SoundId | |
199 | local currentPitch = kan.Pitch | |
200 | local currentVol = kan.Volume | |
201 | function newTheme(ID,timepos,pitch,vol) | |
202 | local kanz = kan | |
203 | --kanz:Stop() | |
204 | kanz.Volume = vol | |
205 | --kanz.TimePosition = timepos | |
206 | kanz.PlaybackSpeed = pitch | |
207 | kanz.Pitch = pitch | |
208 | kanz.SoundId = ID | |
209 | kanz.Name = "wrecked" | |
210 | kanz.Looped = true | |
211 | currentThemePlaying = kanz.SoundId | |
212 | currentVol = kanz.Volume | |
213 | currentPitch = kanz.Pitch | |
214 | --kanz:Play() | |
215 | --coroutine.resume(coroutine.create(function() | |
216 | --wait(0.05) | |
217 | --end)) | |
218 | end | |
219 | ||
220 | ||
221 | function newThemeCust(ID,timepos,pitch,vol) | |
222 | local kanz = kan | |
223 | kanz:Stop() | |
224 | kanz.Volume = vol | |
225 | kanz.TimePosition = timepos | |
226 | kanz.PlaybackSpeed = pitch | |
227 | kanz.Pitch = pitch | |
228 | kanz.SoundId = ID | |
229 | kanz.Name = "wrecked" | |
230 | kanz.Looped = true | |
231 | currentThemePlaying = kanz.SoundId | |
232 | currentVol = kanz.Volume | |
233 | currentPitch = kanz.Pitch | |
234 | kanz:Play() | |
235 | coroutine.resume(coroutine.create(function() | |
236 | wait(0.05) | |
237 | end)) | |
238 | end | |
239 | ||
240 | local mutedtog = false | |
241 | ||
242 | function CameraEnshaking(Length,Intensity) | |
243 | coroutine.resume(coroutine.create(function() | |
244 | local intensity = 1*Intensity | |
245 | local rotM = 0.01*Intensity | |
246 | for i = 0, Length, 0.1 do | |
247 | swait() | |
248 | intensity = intensity - 0.05*Intensity/Length | |
249 | rotM = rotM - 0.0005*Intensity/Length | |
250 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
251 | cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM) | |
252 | end | |
253 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
254 | end)) | |
255 | end | |
256 | CamShake=function(Part,Distan,Power,Times) | |
257 | local de=Part.Position | |
258 | for i,v in pairs(workspace:children()) do | |
259 | if v:IsA("Model") and v:findFirstChild("Humanoid") then | |
260 | for _,c in pairs(v:children()) do | |
261 | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then | |
262 | local Noob=v.Humanoid | |
263 | if Noob~=nil then | |
264 | coroutine.resume(coroutine.create(function() | |
265 | FV = Instance.new("BoolValue", Noob) | |
266 | FV.Name = "CameraShake" | |
267 | for ShakeNum=1,Times do | |
268 | swait() | |
269 | local ef=Power | |
270 | if ef>=1 then | |
271 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
272 | else | |
273 | ef=Power*10 | |
274 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
275 | end | |
276 | end | |
277 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
278 | FV:Destroy() | |
279 | end)) | |
280 | CameraShake(Times, Power, Noob) | |
281 | end | |
282 | end | |
283 | end | |
284 | end | |
285 | end | |
286 | end | |
287 | ||
288 | local toggleTag = true | |
289 | local bilguit = Instance.new("BillboardGui", hed) | |
290 | bilguit.Adornee = nil | |
291 | bilguit.Name = "ModeName" | |
292 | bilguit.Size = UDim2.new(4, 0, 1.2, 0) | |
293 | bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0) | |
294 | local modet = Instance.new("TextLabel", bilguit) | |
295 | modet.Size = UDim2.new(10/2, 0, 7/2, 0) | |
296 | modet.FontSize = "Size8" | |
297 | modet.TextScaled = true | |
298 | modet.TextTransparency = 0 | |
299 | modet.BackgroundTransparency = 1 | |
300 | modet.TextTransparency = 0 | |
301 | modet.TextStrokeTransparency = 0 | |
302 | modet.Font = "Code" | |
303 | modet.TextStrokeColor3 = Color3.new(0.75,0.75,0.75) | |
304 | modet.TextColor3 = Color3.new(1,1,1) | |
305 | modet.Text = "Enlightened" | |
306 | ||
307 | ||
308 | function chatfunc(text,color,typet,font,timeex) | |
309 | local chat = coroutine.wrap(function() | |
310 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
311 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
312 | end | |
313 | local naeeym2 = Instance.new("BillboardGui",Character) | |
314 | naeeym2.Size = UDim2.new(0,100,0,40) | |
315 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
316 | naeeym2.Adornee = Character.Head | |
317 | naeeym2.Name = "TalkingBillBoard" | |
318 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
319 | tecks2.BackgroundTransparency = 1 | |
320 | tecks2.BorderSizePixel = 0 | |
321 | tecks2.Text = "" | |
322 | tecks2.Font = font | |
323 | tecks2.TextSize = 30 | |
324 | tecks2.TextStrokeTransparency = 0 | |
325 | tecks2.TextColor3 = color | |
326 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
327 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
328 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
329 | tecks3.BackgroundTransparency = 1 | |
330 | tecks3.BorderSizePixel = 0 | |
331 | tecks3.Text = "" | |
332 | tecks3.Font = font | |
333 | tecks3.TextSize = 30 | |
334 | tecks3.TextStrokeTransparency = 0 | |
335 | if typet == "Inverted" then | |
336 | tecks3.TextColor3 = Color3.new(0,0,0) | |
337 | tecks3.TextStrokeColor3 = color | |
338 | elseif typet == "Normal" then | |
339 | tecks3.TextColor3 = color | |
340 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
341 | end | |
342 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
343 | coroutine.resume(coroutine.create(function() | |
344 | while true do | |
345 | swait(1) | |
346 | if chaosmode == true then | |
347 | tecks2.TextColor3 = BrickColor.random().Color | |
348 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
349 | end | |
350 | end | |
351 | end)) | |
352 | modet.TextTransparency = modet.TextTransparency + 1 | |
353 | modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1 | |
354 | for i = 0, 74*timeex do | |
355 | swait() | |
356 | modet.TextTransparency = 1 | |
357 | modet.TextStrokeTransparency = 1 | |
358 | tecks2.Text = text | |
359 | tecks3.Text = text | |
360 | end | |
361 | local randomrot = math.random(1,2) | |
362 | if randomrot == 1 then | |
363 | for i = 1, 50 do | |
364 | swait() | |
365 | tecks2.Text = text | |
366 | tecks3.Text = text | |
367 | modet.TextTransparency = modet.TextTransparency - .02 | |
368 | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 | |
369 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
370 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
371 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
372 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
373 | end | |
374 | elseif randomrot == 2 then | |
375 | for i = 1, 50 do | |
376 | swait() | |
377 | tecks2.Text = text | |
378 | tecks3.Text = text | |
379 | modet.TextTransparency = modet.TextTransparency - .02 | |
380 | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 | |
381 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
382 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
383 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
384 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
385 | end | |
386 | end | |
387 | modet.TextTransparency = 0 | |
388 | modet.TextStrokeTransparency = 0 | |
389 | if toggleTag == false then | |
390 | modet.TextTransparency = 1 | |
391 | modet.TextStrokeTransparency = 1 | |
392 | end | |
393 | naeeym2:Destroy() | |
394 | end) | |
395 | chat() | |
396 | end | |
397 | ||
398 | ||
399 | local Create = LoadLibrary("RbxUtility").Create | |
400 | ||
401 | CFuncs = { | |
402 | ["Part"] = { | |
403 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
404 | local Part = Create("Part"){ | |
405 | Parent = Parent, | |
406 | Reflectance = Reflectance, | |
407 | Transparency = Transparency, | |
408 | CanCollide = false, | |
409 | Locked = true, | |
410 | BrickColor = BrickColor.new(tostring(BColor)), | |
411 | Name = Name, | |
412 | Size = Size, | |
413 | Material = Material, | |
414 | } | |
415 | RemoveOutlines(Part) | |
416 | return Part | |
417 | end; | |
418 | }; | |
419 | ||
420 | ["Mesh"] = { | |
421 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
422 | local Msh = Create(Mesh){ | |
423 | Parent = Part, | |
424 | Offset = OffSet, | |
425 | Scale = Scale, | |
426 | } | |
427 | if Mesh == "SpecialMesh" then | |
428 | Msh.MeshType = MeshType | |
429 | Msh.MeshId = MeshId | |
430 | end | |
431 | return Msh | |
432 | end; | |
433 | }; | |
434 | ||
435 | ["Mesh"] = { | |
436 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
437 | local Msh = Create(Mesh){ | |
438 | Parent = Part, | |
439 | Offset = OffSet, | |
440 | Scale = Scale, | |
441 | } | |
442 | if Mesh == "SpecialMesh" then | |
443 | Msh.MeshType = MeshType | |
444 | Msh.MeshId = MeshId | |
445 | end | |
446 | return Msh | |
447 | end; | |
448 | }; | |
449 | ||
450 | ["Weld"] = { | |
451 | Create = function(Parent, Part0, Part1, C0, C1) | |
452 | local Weld = Create("Weld"){ | |
453 | Parent = Parent, | |
454 | Part0 = Part0, | |
455 | Part1 = Part1, | |
456 | C0 = C0, | |
457 | C1 = C1, | |
458 | } | |
459 | return Weld | |
460 | end; | |
461 | }; | |
462 | ||
463 | ["Sound"] = { | |
464 | Create = function(id, par, vol, pit) | |
465 | coroutine.resume(coroutine.create(function() | |
466 | local S = Create("Sound"){ | |
467 | Volume = vol, | |
468 | Name = "EffectSoundo", | |
469 | Pitch = pit or 1, | |
470 | SoundId = id, | |
471 | Parent = par or workspace, | |
472 | } | |
473 | wait() | |
474 | S:play() | |
475 | game:GetService("Debris"):AddItem(S, 10) | |
476 | end)) | |
477 | end; | |
478 | }; | |
479 | ||
480 | ["LongSound"] = { | |
481 | Create = function(id, par, vol, pit) | |
482 | coroutine.resume(coroutine.create(function() | |
483 | local S = Create("Sound"){ | |
484 | Volume = vol, | |
485 | Pitch = pit or 1, | |
486 | SoundId = id, | |
487 | Parent = par or workspace, | |
488 | } | |
489 | wait() | |
490 | S:play() | |
491 | game:GetService("Debris"):AddItem(S, 60) | |
492 | end)) | |
493 | end; | |
494 | }; | |
495 | ||
496 | ["ParticleEmitter"] = { | |
497 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
498 | local fp = Create("ParticleEmitter"){ | |
499 | Parent = Parent, | |
500 | Color = ColorSequence.new(Color1, Color2), | |
501 | LightEmission = LightEmission, | |
502 | Size = Size, | |
503 | Texture = Texture, | |
504 | Transparency = Transparency, | |
505 | ZOffset = ZOffset, | |
506 | Acceleration = Accel, | |
507 | Drag = Drag, | |
508 | LockedToPart = LockedToPart, | |
509 | VelocityInheritance = VelocityInheritance, | |
510 | EmissionDirection = EmissionDirection, | |
511 | Enabled = Enabled, | |
512 | Lifetime = LifeTime, | |
513 | Rate = Rate, | |
514 | Rotation = Rotation, | |
515 | RotSpeed = RotSpeed, | |
516 | Speed = Speed, | |
517 | VelocitySpread = VelocitySpread, | |
518 | } | |
519 | return fp | |
520 | end; | |
521 | }; | |
522 | ||
523 | CreateTemplate = { | |
524 | ||
525 | }; | |
526 | } | |
527 | ||
528 | ||
529 | ||
530 | New = function(Object, Parent, Name, Data) | |
531 | local Object = Instance.new(Object) | |
532 | for Index, Value in pairs(Data or {}) do | |
533 | Object[Index] = Value | |
534 | end | |
535 | Object.Parent = Parent | |
536 | Object.Name = Name | |
537 | return Object | |
538 | end | |
539 | local halocolor = BrickColor.new("Pastel light blue") | |
540 | local halocolor2 = BrickColor.new("Cool yellow") | |
541 | local starcolor = BrickColor.new("Bright yellow") | |
542 | local lunacolor = BrickColor.new("Navy blue") | |
543 | local lunacolor2 = BrickColor.new("Bright blue") | |
544 | local wepcolor = BrickColor.new("Really black") | |
545 | local maincolor = BrickColor.new("Really black") | |
546 | local m = Instance.new("Model",char) | |
547 | local m2 = Instance.new("Model",char) | |
548 | local m3 = Instance.new("Model",char) | |
549 | local mw1 = Instance.new("Model",char) | |
550 | local mw2 = Instance.new("Model",char) | |
551 | ||
552 | ||
553 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) | |
554 | local gui = it(GuiType) | |
555 | gui.Parent = parent | |
556 | gui.Text = text | |
557 | gui.BackgroundTransparency = backtrans | |
558 | gui.BackgroundColor3 = backcol | |
559 | gui.SizeConstraint = "RelativeXY" | |
560 | gui.TextXAlignment = "Center" | |
561 | gui.TextYAlignment = "Center" | |
562 | gui.Position = pos | |
563 | gui.Size = size | |
564 | gui.Font = "SourceSans" | |
565 | gui.FontSize = "Size14" | |
566 | gui.TextWrapped = false | |
567 | gui.TextStrokeTransparency = 0 | |
568 | gui.TextColor = BrickColor.new("White") | |
569 | return gui | |
570 | end | |
571 | --------------------------- GUI STUFF | |
572 | local basgui = it("GuiMain") | |
573 | basgui.Parent = plr.PlayerGui | |
574 | basgui.Name = "VISgui" | |
575 | local fullscreenz = it("Frame") | |
576 | fullscreenz.Parent = basgui | |
577 | fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255) | |
578 | fullscreenz.BackgroundTransparency = 1 | |
579 | fullscreenz.BorderColor3 = Color3.new(17, 17, 17) | |
580 | fullscreenz.Size = UDim2.new(1, 0, 1, 0) | |
581 | fullscreenz.Position = UDim2.new(0, 0, 0, 0) | |
582 | local imgl2 = Instance.new("ImageLabel",fullscreenz) | |
583 | imgl2.BackgroundTransparency = 1 | |
584 | imgl2.BorderSizePixel = 0 | |
585 | imgl2.ImageTransparency = 0.5 | |
586 | imgl2.ImageColor3 = Color3.new(1,1,1) | |
587 | imgl2.Position = UDim2.new(0.75,-100,0.55,-100) | |
588 | imgl2.Size = UDim2.new(0,800,0,800) | |
589 | imgl2.Image = "rbxassetid://2076458450" | |
590 | local techc = imgl2:Clone() | |
591 | techc.Parent = fullscreenz | |
592 | techc.ImageTransparency = 0 | |
593 | techc.Size = UDim2.new(0,900,0,900) | |
594 | techc.Position = UDim2.new(0.75,-150,0.55,-150) | |
595 | techc.ImageColor3 = Color3.new(1,1,1) | |
596 | techc.Image = "rbxassetid://2092248396" | |
597 | local circl = imgl2:Clone() | |
598 | circl.Parent = fullscreenz | |
599 | circl.ImageTransparency = 0 | |
600 | circl.Size = UDim2.new(0,550,0,550) | |
601 | circl.Position = UDim2.new(0.75,25,0.55,25) | |
602 | circl.ImageColor3 = Color3.new(0,0,0) | |
603 | circl.Image = "rbxassetid://2076519836" | |
604 | local circl2 = imgl2:Clone() | |
605 | circl2.Parent = fullscreenz | |
606 | circl2.ImageTransparency = 0 | |
607 | circl2.Size = UDim2.new(0,700,0,700) | |
608 | circl2.Position = UDim2.new(0.75,-50,0.55,-50) | |
609 | circl2.ImageColor3 = Color3.new(1,1,1) | |
610 | circl2.Image = "rbxassetid://2076519836" | |
611 | local imgl2b = imgl2:Clone() | |
612 | imgl2b.Parent = fullscreenz | |
613 | imgl2b.ImageTransparency = 0 | |
614 | imgl2b.Size = UDim2.new(0,600,0,600) | |
615 | imgl2b.Position = UDim2.new(0.75,0,0.55,0) | |
616 | imgl2b.ImageColor3 = Color3.new(0,0,0) | |
617 | local ned = Instance.new("TextLabel",fullscreenz) | |
618 | ned.ZIndex = 2 | |
619 | ned.Font = "SciFi" | |
620 | ned.BackgroundTransparency = 1 | |
621 | ned.BorderSizePixel = 0.65 | |
622 | ned.Size = UDim2.new(0.3,0,0.2,0) | |
623 | ned.Position = UDim2.new(0.7,0,0.8,0) | |
624 | ned.TextColor3 = BrickColor.new("White").Color | |
625 | ned.TextStrokeColor3 = BrickColor.new("Medium stone grey").Color | |
626 | ned.TextScaled = true | |
627 | ned.TextStrokeTransparency = 0 | |
628 | ned.Text = "ENLIGHTENED" | |
629 | ned.TextSize = 24 | |
630 | ned.Rotation = 1 | |
631 | ned.TextXAlignment = "Right" | |
632 | ned.TextYAlignment = "Bottom" | |
633 | ||
634 | local bguis = Instance.new("BillboardGui",tors) | |
635 | bguis.Size = UDim2.new(25, 0, 25, 0) | |
636 | local imgca = Instance.new("ImageLabel",bguis) | |
637 | imgca.BackgroundTransparency = 1 | |
638 | imgca.ImageTransparency = 1 | |
639 | imgca.Size = UDim2.new(1,0,1,0) | |
640 | imgca.Image = "rbxassetid://2076519836" --997291547,521073910 | |
641 | imgca.ImageColor3 = Color3.new(0,0,0) | |
642 | ||
643 | local extrawingmod1 = Instance.new("Model",char) | |
644 | local extrawingmod2 = Instance.new("Model",char) | |
645 | ||
646 | function CreateParta(parent,transparency,reflectance,material,brickcolor) | |
647 | local p = Instance.new("Part") | |
648 | p.TopSurface = 0 | |
649 | p.BottomSurface = 0 | |
650 | p.Parent = parent | |
651 | p.Size = Vector3.new(0.1,0.1,0.1) | |
652 | p.Transparency = transparency | |
653 | p.Reflectance = reflectance | |
654 | p.CanCollide = false | |
655 | p.Locked = true | |
656 | p.BrickColor = brickcolor | |
657 | p.Material = material | |
658 | return p | |
659 | end | |
660 | ||
661 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
662 | local mesh = Instance.new("SpecialMesh",parent) | |
663 | mesh.MeshType = meshtype | |
664 | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) | |
665 | return mesh | |
666 | end | |
667 | ||
668 | function CreateSpecialMesh(parent,meshid,x1,y1,z1) | |
669 | local mesh = Instance.new("SpecialMesh",parent) | |
670 | mesh.MeshType = "FileMesh" | |
671 | mesh.MeshId = meshid | |
672 | mesh.Scale = Vector3.new(x1,y1,z1) | |
673 | return mesh | |
674 | end | |
675 | ||
676 | ||
677 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
678 | local mesh = Instance.new("SpecialMesh",parent) | |
679 | mesh.MeshType = "FileMesh" | |
680 | mesh.MeshId = meshid | |
681 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
682 | mesh.Scale = Vector3.new(x1,y1,z1) | |
683 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
684 | return mesh | |
685 | end | |
686 | ||
687 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
688 | local weld = Instance.new("Weld") | |
689 | weld.Parent = parent | |
690 | weld.Part0 = part0 | |
691 | weld.Part1 = part1 | |
692 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
693 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
694 | return weld | |
695 | end | |
696 | ||
697 | ||
698 | -------------- | |
699 | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
700 | CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
701 | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
702 | CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
703 | ||
704 | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
705 | CreateMesh(handle,"Brick",0,0,0) | |
706 | local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
707 | local valuaring = 10 | |
708 | ||
709 | local refec = Instance.new("ParticleEmitter",handlex) | |
710 | refec.Texture = "rbxassetid://284205403" | |
711 | refec.LightEmission = 0.95 | |
712 | refec.Color = ColorSequence.new(BrickColor.new("White").Color) | |
713 | refec.Rate = 50 | |
714 | refec.Lifetime = NumberRange.new(0.5) | |
715 | refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)}) | |
716 | refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)}) | |
717 | refec.Speed = NumberRange.new(0,2) | |
718 | refec.Drag = 5 | |
719 | refec.LockedToPart = true | |
720 | refec.Rotation = NumberRange.new(-500,500) | |
721 | refec.VelocitySpread = 9000 | |
722 | refec.RotSpeed = NumberRange.new(-500,500) | |
723 | local refec2 = refec:Clone() | |
724 | refec2.LightEmission = 0.75 | |
725 | refec2.Texture = "rbxassetid://2109052855"--2108979939 254287058 2109052855 | |
726 | refec2.Parent = handlex | |
727 | refec2.Rate = 15 | |
728 | refec2.Lifetime = NumberRange.new(0.75) | |
729 | refec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.15,0),NumberSequenceKeypoint.new(0.7,2.25,0),NumberSequenceKeypoint.new(0.8,2.15,0),NumberSequenceKeypoint.new(1,1.75,0)}) | |
730 | refec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)}) | |
731 | refec2.Speed = NumberRange.new(0) | |
732 | local refec3 = refec:Clone() | |
733 | refec3.LightEmission = 0.75 | |
734 | refec3.Texture = "rbxassetid://2092248396" | |
735 | refec3.Parent = handlex | |
736 | refec3.Rate = 25 | |
737 | refec3.Lifetime = NumberRange.new(1) | |
738 | refec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,4,0),NumberSequenceKeypoint.new(1,15,0)}) | |
739 | refec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)}) | |
740 | refec3.Speed = NumberRange.new(0) | |
741 | refec3.RotSpeed = NumberRange.new(-50,50) | |
742 | local refec4 = refec:Clone() | |
743 | refec4.LightEmission = 0.75 | |
744 | refec4.Texture = "rbxassetid://2273224484" | |
745 | refec4.Parent = handlex | |
746 | refec4.Rate = 250 | |
747 | refec4.LockedToPart = false | |
748 | refec4.VelocityInheritance = 1 | |
749 | refec4.Lifetime = NumberRange.new(1) | |
750 | refec4.Drag = 5 | |
751 | refec4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)}) | |
752 | refec4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
753 | refec4.Speed = NumberRange.new(1,10) | |
754 | refec4.RotSpeed = NumberRange.new(-50,50) | |
755 | ||
756 | for i = 0, 35 do | |
757 | valuaring = valuaring + 10 | |
758 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
759 | CreateMesh(rn,"Wedge",0.1,0.5,0.1) | |
760 | CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
761 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
762 | CreateMesh(rn,"Wedge",0.1,0.5,0.1) | |
763 | CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
764 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
765 | CreateMesh(rn,"Wedge",0.1,0.2,0.05) | |
766 | CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
767 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
768 | CreateMesh(rn,"Wedge",0.1,0.2,0.05) | |
769 | CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
770 | end | |
771 | ||
772 | ||
773 | local handle = CreateParta(m,1,1,"Neon",maincolor) | |
774 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
775 | local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
776 | ||
777 | --- Left wing. | |
778 | ||
779 | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
780 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
781 | local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
782 | ||
783 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
784 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
785 | CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
786 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
787 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
788 | CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
789 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
790 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
791 | CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
792 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
793 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
794 | CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
795 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
796 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
797 | CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
798 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
799 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
800 | CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
801 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
802 | CreateMesh(wed,"Wedge",0.05,0.5,1.5) | |
803 | CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
804 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
805 | CreateMesh(wed,"Wedge",0.05,1.5,0.5) | |
806 | CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
807 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
808 | CreateMesh(wed,"Wedge",0.05,0.25,1.75) | |
809 | CreateWeld(wed,lwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
810 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
811 | CreateMesh(wed,"Wedge",0.05,1.75,0.25) | |
812 | CreateWeld(wed,lwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
813 | ||
814 | ||
815 | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
816 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
817 | local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
818 | ||
819 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
820 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
821 | CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
822 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
823 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
824 | CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
825 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
826 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
827 | CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
828 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
829 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
830 | CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
831 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
832 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
833 | CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
834 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
835 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
836 | CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
837 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
838 | CreateMesh(wed,"Wedge",0.05,0.5,1.5) | |
839 | CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
840 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
841 | CreateMesh(wed,"Wedge",0.05,1.5,0.5) | |
842 | CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
843 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
844 | CreateMesh(wed,"Wedge",0.05,0.25,1.75) | |
845 | CreateWeld(wed,lwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
846 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
847 | CreateMesh(wed,"Wedge",0.05,1.75,0.25) | |
848 | CreateWeld(wed,lwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
849 | ||
850 | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
851 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
852 | local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
853 | ||
854 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
855 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
856 | CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
857 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
858 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
859 | CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
860 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
861 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
862 | CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
863 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
864 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
865 | CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
866 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
867 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
868 | CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
869 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
870 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
871 | CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
872 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
873 | CreateMesh(wed,"Wedge",0.05,0.5,1.5) | |
874 | CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
875 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
876 | CreateMesh(wed,"Wedge",0.05,1.5,0.5) | |
877 | CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
878 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
879 | CreateMesh(wed,"Wedge",0.05,0.25,1.75) | |
880 | CreateWeld(wed,lwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
881 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
882 | CreateMesh(wed,"Wedge",0.05,1.75,0.25) | |
883 | CreateWeld(wed,lwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
884 | ||
885 | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
886 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
887 | local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
888 | ||
889 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
890 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
891 | CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
892 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
893 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
894 | CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
895 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
896 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
897 | CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
898 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
899 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
900 | CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
901 | ||
902 | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
903 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
904 | local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
905 | ||
906 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
907 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
908 | CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
909 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
910 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
911 | CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
912 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
913 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
914 | CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
915 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
916 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
917 | CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
918 | ||
919 | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
920 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
921 | local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
922 | ||
923 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
924 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
925 | CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
926 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
927 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
928 | CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
929 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
930 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
931 | CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
932 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
933 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
934 | CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
935 | ||
936 | -- Right wing. | |
937 | ||
938 | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
939 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
940 | local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
941 | ||
942 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
943 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
944 | CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
945 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
946 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
947 | CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
948 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
949 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
950 | CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
951 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
952 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
953 | CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
954 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
955 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
956 | CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
957 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
958 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
959 | CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
960 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
961 | CreateMesh(wed,"Wedge",0.05,0.5,1.5) | |
962 | CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
963 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
964 | CreateMesh(wed,"Wedge",0.05,1.5,0.5) | |
965 | CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
966 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
967 | CreateMesh(wed,"Wedge",0.05,0.25,1.75) | |
968 | CreateWeld(wed,rwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
969 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
970 | CreateMesh(wed,"Wedge",0.05,1.75,0.25) | |
971 | CreateWeld(wed,rwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
972 | ||
973 | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
974 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
975 | local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
976 | ||
977 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
978 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
979 | CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
980 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
981 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
982 | CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
983 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
984 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
985 | CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
986 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
987 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
988 | CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
989 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
990 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
991 | CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
992 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
993 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
994 | CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
995 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
996 | CreateMesh(wed,"Wedge",0.05,0.5,1.5) | |
997 | CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
998 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
999 | CreateMesh(wed,"Wedge",0.05,1.5,0.5) | |
1000 | CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1001 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1002 | CreateMesh(wed,"Wedge",0.05,0.25,1.75) | |
1003 | CreateWeld(wed,rwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1004 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1005 | CreateMesh(wed,"Wedge",0.05,1.75,0.25) | |
1006 | CreateWeld(wed,rwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1007 | ||
1008 | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
1009 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1010 | local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1011 | ||
1012 | ||
1013 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1014 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1015 | CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1016 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1017 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1018 | CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1019 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1020 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1021 | CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1022 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1023 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1024 | CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1025 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1026 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1027 | CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1028 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1029 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1030 | CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1031 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1032 | CreateMesh(wed,"Wedge",0.05,0.5,1.5) | |
1033 | CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1034 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1035 | CreateMesh(wed,"Wedge",0.05,1.5,0.5) | |
1036 | CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1037 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1038 | CreateMesh(wed,"Wedge",0.05,0.25,1.75) | |
1039 | CreateWeld(wed,rwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1040 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1041 | CreateMesh(wed,"Wedge",0.05,1.75,0.25) | |
1042 | CreateWeld(wed,rwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1043 | ||
1044 | ||
1045 | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
1046 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1047 | local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1048 | ||
1049 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1050 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1051 | CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1052 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1053 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1054 | CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1055 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1056 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1057 | CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1058 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1059 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1060 | CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1061 | ||
1062 | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
1063 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1064 | local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1065 | ||
1066 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1067 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1068 | CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1069 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1070 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1071 | CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1072 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1073 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1074 | CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1075 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1076 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1077 | CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1078 | ||
1079 | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
1080 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1081 | local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1082 | ||
1083 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1084 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1085 | CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1086 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1087 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1088 | CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1089 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1090 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1091 | CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1092 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1093 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1094 | CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1095 | ||
1096 | ||
1097 | ---- HERES THE RING | |
1098 | ||
1099 | ||
1100 | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
1101 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
1102 | CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1103 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1104 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
1105 | CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1106 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1107 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
1108 | CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1109 | ||
1110 | ||
1111 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1112 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
1113 | CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1114 | ||
1115 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1116 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
1117 | CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1118 | ||
1119 | ||
1120 | ||
1121 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
1122 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1123 | CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1124 | ||
1125 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
1126 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1127 | CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1128 | ||
1129 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
1130 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
1131 | CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1132 | ||
1133 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1134 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
1135 | CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1136 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
1137 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
1138 | CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1139 | ||
1140 | --- second ring | |
1141 | ||
1142 | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
1143 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
1144 | CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1145 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1146 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
1147 | CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1148 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1149 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
1150 | CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1151 | ||
1152 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1153 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
1154 | CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1155 | ||
1156 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1157 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
1158 | CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1159 | ||
1160 | ||
1161 | ||
1162 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
1163 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1164 | CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1165 | ||
1166 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
1167 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1168 | CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1169 | ||
1170 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
1171 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
1172 | CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1173 | ||
1174 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1175 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
1176 | CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1177 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
1178 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
1179 | CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]-- | |
1180 | ||
1181 | ------------- Trails | |
1182 | local A0 = Instance.new("Attachment",lwing1) | |
1183 | A0.Position = Vector3.new(0,-0.7,0) | |
1184 | local A1 = Instance.new("Attachment",lwing1) | |
1185 | A1.Position = Vector3.new(0,-3.5,0) | |
1186 | tl1 = Instance.new('Trail',lwing1) | |
1187 | tl1.Attachment0 = A0 | |
1188 | tl1.Attachment1 = A1 | |
1189 | tl1.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
1190 | tl1.LightEmission = 1 | |
1191 | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1192 | tl1.Color = ColorSequence.new(BrickColor.new('White').Color) | |
1193 | tl1.Lifetime = 0.6 | |
1194 | ||
1195 | local A0 = Instance.new("Attachment",lwing2) | |
1196 | A0.Position = Vector3.new(0,-0.7,0) | |
1197 | local A1 = Instance.new("Attachment",lwing2) | |
1198 | A1.Position = Vector3.new(0,-3.5,0) | |
1199 | tl2 = Instance.new('Trail',lwing2) | |
1200 | tl2.Attachment0 = A0 | |
1201 | tl2.Attachment1 = A1 | |
1202 | tl2.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
1203 | tl2.LightEmission = 1 | |
1204 | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1205 | tl2.Color = ColorSequence.new(BrickColor.new('White').Color) | |
1206 | tl2.Lifetime = 0.6 | |
1207 | ||
1208 | local A0 = Instance.new("Attachment",lwing3) | |
1209 | A0.Position = Vector3.new(0,-0.7,0) | |
1210 | local A1 = Instance.new("Attachment",lwing3) | |
1211 | A1.Position = Vector3.new(0,-3.5,0) | |
1212 | tl3 = Instance.new('Trail',lwing3) | |
1213 | tl3.Attachment0 = A0 | |
1214 | tl3.Attachment1 = A1 | |
1215 | tl3.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
1216 | tl3.LightEmission = 1 | |
1217 | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1218 | tl3.Color = ColorSequence.new(BrickColor.new('White').Color) | |
1219 | tl3.Lifetime = 0.6 | |
1220 | ||
1221 | local A0 = Instance.new("Attachment",rwing1) | |
1222 | A0.Position = Vector3.new(0,-0.7,0) | |
1223 | local A1 = Instance.new("Attachment",rwing1) | |
1224 | A1.Position = Vector3.new(0,-3.5,0) | |
1225 | tr1 = Instance.new('Trail',rwing1) | |
1226 | tr1.Attachment0 = A0 | |
1227 | tr1.Attachment1 = A1 | |
1228 | tr1.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
1229 | tr1.LightEmission = 1 | |
1230 | tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1231 | tr1.Color = ColorSequence.new(BrickColor.new('White').Color) | |
1232 | tr1.Lifetime = 0.6 | |
1233 | ||
1234 | local A0 = Instance.new("Attachment",rwing2) | |
1235 | A0.Position = Vector3.new(0,-0.7,0) | |
1236 | local A1 = Instance.new("Attachment",rwing2) | |
1237 | A1.Position = Vector3.new(0,-3.5,0) | |
1238 | tr2 = Instance.new('Trail',rwing2) | |
1239 | tr2.Attachment0 = A0 | |
1240 | tr2.Attachment1 = A1 | |
1241 | tr2.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
1242 | tr2.LightEmission = 1 | |
1243 | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1244 | tr2.Color = ColorSequence.new(BrickColor.new('White').Color) | |
1245 | tr2.Lifetime = 0.6 | |
1246 | ||
1247 | local A0 = Instance.new("Attachment",rwing3) | |
1248 | A0.Position = Vector3.new(0,-0.7,0) | |
1249 | local A1 = Instance.new("Attachment",rwing3) | |
1250 | A1.Position = Vector3.new(0,-3.5,0) | |
1251 | tr3 = Instance.new('Trail',rwing3) | |
1252 | tr3.Attachment0 = A0 | |
1253 | tr3.Attachment1 = A1 | |
1254 | tr3.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
1255 | tr3.LightEmission = 1 | |
1256 | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1257 | tr3.Color = ColorSequence.new(BrickColor.new('White').Color) | |
1258 | tr3.Lifetime = 0.6 | |
1259 | -------------- | |
1260 | ||
1261 | for i, v in pairs(mw2:GetChildren()) do | |
1262 | if v:IsA("Part") then | |
1263 | v.BrickColor = BrickColor.new("White") | |
1264 | v.Material = "Neon" | |
1265 | end | |
1266 | end | |
1267 | for i, v in pairs(mw1:GetChildren()) do | |
1268 | if v:IsA("Part") then | |
1269 | v.Transparency = 0 | |
1270 | v.BrickColor = BrickColor.new("White") | |
1271 | v.Material = "Neon" | |
1272 | end | |
1273 | end | |
1274 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
1275 | if v:IsA("Part") then | |
1276 | v.Transparency = 1 | |
1277 | v.BrickColor = BrickColor.new("White") | |
1278 | v.Material = "Neon" | |
1279 | end | |
1280 | end | |
1281 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
1282 | if v:IsA("Part") then | |
1283 | v.Transparency = 1 | |
1284 | v.BrickColor = BrickColor.new("White") | |
1285 | v.Material = "Neon" | |
1286 | end | |
1287 | end | |
1288 | local MAINRUINCOLOR = BrickColor.new("White") | |
1289 | ------ | |
1290 | ||
1291 | ||
1292 | function RemoveOutlines(part) | |
1293 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
1294 | end | |
1295 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1296 | local Part = Create("Part")({ | |
1297 | Parent = Parent, | |
1298 | Reflectance = Reflectance, | |
1299 | Transparency = Transparency, | |
1300 | CanCollide = false, | |
1301 | Locked = true, | |
1302 | BrickColor = BrickColor.new(tostring(BColor)), | |
1303 | Name = Name, | |
1304 | Size = Size, | |
1305 | Material = Material | |
1306 | }) | |
1307 | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
1308 | RemoveOutlines(Part) | |
1309 | return Part | |
1310 | end | |
1311 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1312 | local Msh = Create(Mesh)({ | |
1313 | Parent = Part, | |
1314 | Offset = OffSet, | |
1315 | Scale = Scale | |
1316 | }) | |
1317 | if Mesh == "SpecialMesh" then | |
1318 | Msh.MeshType = MeshType | |
1319 | Msh.MeshId = MeshId | |
1320 | end | |
1321 | return Msh | |
1322 | end | |
1323 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
1324 | local Weld = Create("Weld")({ | |
1325 | Parent = Parent, | |
1326 | Part0 = Part0, | |
1327 | Part1 = Part1, | |
1328 | C0 = C0, | |
1329 | C1 = C1 | |
1330 | }) | |
1331 | return Weld | |
1332 | end | |
1333 | ||
1334 | Character=Player.Character | |
1335 | PlayerGui=Player.PlayerGui | |
1336 | Backpack=Player.Backpack | |
1337 | Torso=Character.Torso | |
1338 | Head=Character.Head | |
1339 | Humanoid=Character.Humanoid | |
1340 | m=Instance.new('Model',Character) | |
1341 | LeftArm=Character["Left Arm"] | |
1342 | LeftLeg=Character["Left Leg"] | |
1343 | RightArm=Character["Right Arm"] | |
1344 | RightLeg=Character["Right Leg"] | |
1345 | LW=Torso["Left Shoulder"] | |
1346 | LH=Torso["Left Hip"] | |
1347 | RW=Torso["Right Shoulder"] | |
1348 | RH=Torso["Right Hip"] | |
1349 | Face = Head.face | |
1350 | Neck=Torso.Neck | |
1351 | it=Instance.new | |
1352 | attacktype=1 | |
1353 | vt=Vector3.new | |
1354 | cf=CFrame.new | |
1355 | euler=CFrame.fromEulerAnglesXYZ | |
1356 | angles=CFrame.Angles | |
1357 | cloaked=false | |
1358 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1359 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1360 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
1361 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
1362 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
1363 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
1364 | RootPart=Character.HumanoidRootPart | |
1365 | RootJoint=RootPart.RootJoint | |
1366 | RootCF=euler(-1.57,0,3.14) | |
1367 | attack = false | |
1368 | attackdebounce = false | |
1369 | deb=false | |
1370 | equipped=true | |
1371 | hand=false | |
1372 | MMouse=nil | |
1373 | combo=0 | |
1374 | mana=0 | |
1375 | trispeed=.2 | |
1376 | attackmode='none' | |
1377 | local idle=0 | |
1378 | local Anim="Idle" | |
1379 | local Effects={} | |
1380 | local gun=false | |
1381 | local shoot=false | |
1382 | local sine = 0 | |
1383 | local change = 1 | |
1384 | ||
1385 | function RecolorTextAndRename(name,col1,col2,font) | |
1386 | modet.TextStrokeColor3 = col2 | |
1387 | modet.TextColor3 = col1 | |
1388 | modet.Font = font | |
1389 | modet.Text = name | |
1390 | techc.ImageColor3 = col2 | |
1391 | circl.ImageColor3 = col2 | |
1392 | circl2.ImageColor3 = col1 | |
1393 | imgca.ImageColor3 = col2 | |
1394 | imgl2.ImageColor3 = col1 | |
1395 | imgl2b.ImageColor3 = col2 | |
1396 | ned.Text = name | |
1397 | ned.TextColor3 = col1 | |
1398 | ned.TextStrokeColor3 = col2 | |
1399 | end | |
1400 | --save shoulders | |
1401 | RSH, LSH=nil, nil | |
1402 | --welds | |
1403 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
1404 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
1405 | LH=Torso["Left Hip"] | |
1406 | RH=Torso["Right Hip"] | |
1407 | TorsoColor=Torso.BrickColor | |
1408 | function NoOutline(Part) | |
1409 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
1410 | end | |
1411 | ch=Character | |
1412 | RSH=ch.Torso["Right Shoulder"] | |
1413 | LSH=ch.Torso["Left Shoulder"] | |
1414 | -- | |
1415 | RSH.Parent=nil | |
1416 | LSH.Parent=nil | |
1417 | -- | |
1418 | RW.Name="Right Shoulder" | |
1419 | RW.Part0=char.Torso | |
1420 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
1421 | RW.C1=cf(0, 0.5, 0) | |
1422 | RW.Part1=char["Right Arm"] | |
1423 | RW.Parent=char.Torso | |
1424 | -- | |
1425 | LW.Name="Left Shoulder" | |
1426 | LW.Part0=char.Torso | |
1427 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
1428 | LW.C1=cf(0, 0.5, 0) | |
1429 | LW.Part1=char["Left Arm"] | |
1430 | LW.Parent=char.Torso | |
1431 | ||
1432 | local donum=0 | |
1433 | ||
1434 | ||
1435 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
1436 | local fp=it("Part") | |
1437 | fp.formFactor=formfactor | |
1438 | fp.Parent=parent | |
1439 | fp.Reflectance=reflectance | |
1440 | fp.Transparency=transparency | |
1441 | fp.CanCollide=false | |
1442 | fp.Locked=true | |
1443 | fp.BrickColor=brickcolor | |
1444 | fp.Name=name | |
1445 | fp.Size=size | |
1446 | fp.Position=Torso.Position | |
1447 | NoOutline(fp) | |
1448 | fp.Material="SmoothPlastic" | |
1449 | fp:BreakJoints() | |
1450 | return fp | |
1451 | end | |
1452 | ||
1453 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1454 | local mesh=it(Mesh) | |
1455 | mesh.Parent=part | |
1456 | if Mesh=="SpecialMesh" then | |
1457 | mesh.MeshType=meshtype | |
1458 | if meshid~="nil" then | |
1459 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
1460 | end | |
1461 | end | |
1462 | mesh.Offset=offset | |
1463 | mesh.Scale=scale | |
1464 | return mesh | |
1465 | end | |
1466 | ||
1467 | function weld(parent,part0,part1,c0) | |
1468 | local weld=it("Weld") | |
1469 | weld.Parent=parent | |
1470 | weld.Part0=part0 | |
1471 | weld.Part1=part1 | |
1472 | weld.C0=c0 | |
1473 | return weld | |
1474 | end | |
1475 | ||
1476 | local Color1=Torso.BrickColor | |
1477 | ||
1478 | local bodvel=Instance.new("BodyVelocity") | |
1479 | local bg=Instance.new("BodyGyro") | |
1480 | ||
1481 | --------- SazEreno's Artificial HB -------------- | |
1482 | ArtificialHB = Instance.new("BindableEvent", script) | |
1483 | ArtificialHB.Name = "ArtificialHB" | |
1484 | ||
1485 | script:WaitForChild("ArtificialHB") | |
1486 | Frame_Speed = 1 / 60 | |
1487 | frame = Frame_Speed | |
1488 | tf = 0 | |
1489 | allowframeloss = false | |
1490 | tossremainder = false | |
1491 | lastframe = tick() | |
1492 | script.ArtificialHB:Fire() | |
1493 | ||
1494 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1495 | tf = tf + s | |
1496 | if tf >= frame then | |
1497 | if allowframeloss then | |
1498 | script.ArtificialHB:Fire() | |
1499 | lastframe = tick() | |
1500 | else | |
1501 | for i = 1, math.floor(tf / frame) do | |
1502 | script.ArtificialHB:Fire() | |
1503 | end | |
1504 | lastframe = tick() | |
1505 | end | |
1506 | if tossremainder then | |
1507 | tf = 0 | |
1508 | else | |
1509 | tf = tf - frame * math.floor(tf / frame) | |
1510 | end | |
1511 | end | |
1512 | end) | |
1513 | ||
1514 | ------------------ | |
1515 | function swait(num) | |
1516 | if num == 0 or num == nil then | |
1517 | ArtificialHB.Event:wait() | |
1518 | else | |
1519 | for i = 1, num do | |
1520 | ArtificialHB.Event:wait() | |
1521 | end | |
1522 | end | |
1523 | end | |
1524 | ||
1525 | -------- RAINBOW LEAVE IT TO ME | |
1526 | local r = 255 | |
1527 | local g = 0 | |
1528 | local b = 0 | |
1529 | coroutine.resume(coroutine.create(function() | |
1530 | while wait() do | |
1531 | for i = 0, 254/5 do | |
1532 | swait() | |
1533 | g = g + 5 | |
1534 | end | |
1535 | for i = 0, 254/5 do | |
1536 | swait() | |
1537 | r = r - 5 | |
1538 | end | |
1539 | for i = 0, 254/5 do | |
1540 | swait() | |
1541 | b = b + 5 | |
1542 | end | |
1543 | for i = 0, 254/5 do | |
1544 | swait() | |
1545 | g = g - 5 | |
1546 | end | |
1547 | for i = 0, 254/5 do | |
1548 | swait() | |
1549 | r = r + 5 | |
1550 | end | |
1551 | for i = 0, 254/5 do | |
1552 | swait() | |
1553 | b = b - 5 | |
1554 | end | |
1555 | end | |
1556 | end)) | |
1557 | ||
1558 | ||
1559 | so = function(id,par,vol,pit) | |
1560 | coroutine.resume(coroutine.create(function() | |
1561 | local sou = Instance.new("Sound",par or workspace) | |
1562 | sou.Volume=vol | |
1563 | sou.Pitch=pit or 1 | |
1564 | sou.SoundId=id | |
1565 | swait() | |
1566 | sou:play() | |
1567 | game:GetService("Debris"):AddItem(sou,6) | |
1568 | end)) | |
1569 | end | |
1570 | ||
1571 | function clerp(a,b,t) | |
1572 | local qa = {QuaternionFromCFrame(a)} | |
1573 | local qb = {QuaternionFromCFrame(b)} | |
1574 | local ax, ay, az = a.x, a.y, a.z | |
1575 | local bx, by, bz = b.x, b.y, b.z | |
1576 | local _t = 1-t | |
1577 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
1578 | end | |
1579 | ||
1580 | function QuaternionFromCFrame(cf) | |
1581 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
1582 | local trace = m00 + m11 + m22 | |
1583 | if trace > 0 then | |
1584 | local s = math.sqrt(1 + trace) | |
1585 | local recip = 0.5/s | |
1586 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
1587 | else | |
1588 | local i = 0 | |
1589 | if m11 > m00 then | |
1590 | i = 1 | |
1591 | end | |
1592 | if m22 > (i == 0 and m00 or m11) then | |
1593 | i = 2 | |
1594 | end | |
1595 | if i == 0 then | |
1596 | local s = math.sqrt(m00-m11-m22+1) | |
1597 | local recip = 0.5/s | |
1598 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
1599 | elseif i == 1 then | |
1600 | local s = math.sqrt(m11-m22-m00+1) | |
1601 | local recip = 0.5/s | |
1602 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
1603 | elseif i == 2 then | |
1604 | local s = math.sqrt(m22-m00-m11+1) | |
1605 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
1606 | end | |
1607 | end | |
1608 | end | |
1609 | ||
1610 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
1611 | local xs, ys, zs = x + x, y + y, z + z | |
1612 | local wx, wy, wz = w*xs, w*ys, w*zs | |
1613 | local xx = x*xs | |
1614 | local xy = x*ys | |
1615 | local xz = x*zs | |
1616 | local yy = y*ys | |
1617 | local yz = y*zs | |
1618 | local zz = z*zs | |
1619 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
1620 | end | |
1621 | ||
1622 | function QuaternionSlerp(a, b, t) | |
1623 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
1624 | local startInterp, finishInterp; | |
1625 | if cosTheta >= 0.0001 then | |
1626 | if (1 - cosTheta) > 0.0001 then | |
1627 | local theta = math.acos(cosTheta) | |
1628 | local invSinTheta = 1/math.sin(theta) | |
1629 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
1630 | finishInterp = math.sin(t*theta)*invSinTheta | |
1631 | else | |
1632 | startInterp = 1-t | |
1633 | finishInterp = t | |
1634 | end | |
1635 | else | |
1636 | if (1+cosTheta) > 0.0001 then | |
1637 | local theta = math.acos(-cosTheta) | |
1638 | local invSinTheta = 1/math.sin(theta) | |
1639 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
1640 | finishInterp = math.sin(t*theta)*invSinTheta | |
1641 | else | |
1642 | startInterp = t-1 | |
1643 | finishInterp = t | |
1644 | end | |
1645 | end | |
1646 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
1647 | end | |
1648 | ||
1649 | local function CFrameFromTopBack(at, top, back) | |
1650 | local right = top:Cross(back) | |
1651 | return CFrame.new(at.x, at.y, at.z, | |
1652 | right.x, top.x, back.x, | |
1653 | right.y, top.y, back.y, | |
1654 | right.z, top.z, back.z) | |
1655 | end | |
1656 | ||
1657 | function Triangle(a, b, c) | |
1658 | local edg1 = (c-a):Dot((b-a).unit) | |
1659 | local edg2 = (a-b):Dot((c-b).unit) | |
1660 | local edg3 = (b-c):Dot((a-c).unit) | |
1661 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
1662 | a, b, c = a, b, c | |
1663 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
1664 | a, b, c = b, c, a | |
1665 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
1666 | a, b, c = c, a, b | |
1667 | else | |
1668 | assert(false, "unreachable") | |
1669 | end | |
1670 | ||
1671 | local len1 = (c-a):Dot((b-a).unit) | |
1672 | local len2 = (b-a).magnitude - len1 | |
1673 | local width = (a + (b-a).unit*len1 - c).magnitude | |
1674 | ||
1675 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
1676 | ||
1677 | local list = {} | |
1678 | ||
1679 | if len1 > 0.01 then | |
1680 | local w1 = Instance.new('WedgePart', m) | |
1681 | game:GetService("Debris"):AddItem(w1,5) | |
1682 | w1.Material = "SmoothPlastic" | |
1683 | w1.FormFactor = 'Custom' | |
1684 | w1.BrickColor = BrickColor.new("Really red") | |
1685 | w1.Transparency = 0 | |
1686 | w1.Reflectance = 0 | |
1687 | w1.Material = "SmoothPlastic" | |
1688 | w1.CanCollide = false | |
1689 | local l1 = Instance.new("PointLight",w1) | |
1690 | l1.Color = Color3.new(170,0,0) | |
1691 | NoOutline(w1) | |
1692 | local sz = Vector3.new(0.2, width, len1) | |
1693 | w1.Size = sz | |
1694 | local sp = Instance.new("SpecialMesh",w1) | |
1695 | sp.MeshType = "Wedge" | |
1696 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
1697 | w1:BreakJoints() | |
1698 | w1.Anchored = true | |
1699 | w1.Parent = workspace | |
1700 | w1.Transparency = 0.7 | |
1701 | table.insert(Effects,{w1,"Disappear",.01}) | |
1702 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
1703 | table.insert(list,w1) | |
1704 | end | |
1705 | ||
1706 | if len2 > 0.01 then | |
1707 | local w2 = Instance.new('WedgePart', m) | |
1708 | game:GetService("Debris"):AddItem(w2,5) | |
1709 | w2.Material = "SmoothPlastic" | |
1710 | w2.FormFactor = 'Custom' | |
1711 | w2.BrickColor = BrickColor.new("Really red") | |
1712 | w2.Transparency = 0 | |
1713 | w2.Reflectance = 0 | |
1714 | w2.Material = "SmoothPlastic" | |
1715 | w2.CanCollide = false | |
1716 | local l2 = Instance.new("PointLight",w2) | |
1717 | l2.Color = Color3.new(170,0,0) | |
1718 | NoOutline(w2) | |
1719 | local sz = Vector3.new(0.2, width, len2) | |
1720 | w2.Size = sz | |
1721 | local sp = Instance.new("SpecialMesh",w2) | |
1722 | sp.MeshType = "Wedge" | |
1723 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
1724 | w2:BreakJoints() | |
1725 | w2.Anchored = true | |
1726 | w2.Parent = workspace | |
1727 | w2.Transparency = 0.7 | |
1728 | table.insert(Effects,{w2,"Disappear",.01}) | |
1729 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
1730 | table.insert(list,w2) | |
1731 | end | |
1732 | return unpack(list) | |
1733 | end | |
1734 | ||
1735 | ||
1736 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1737 | if hit.Parent == nil then | |
1738 | return | |
1739 | end | |
1740 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1741 | for _, v in pairs(hit.Parent:children()) do | |
1742 | if v:IsA("Humanoid") then | |
1743 | h = v | |
1744 | end | |
1745 | end | |
1746 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then | |
1747 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
1748 | return | |
1749 | end | |
1750 | local c = Create("ObjectValue")({ | |
1751 | Name = "creator", | |
1752 | Value = game:GetService("Players").Helkern, | |
1753 | Parent = h | |
1754 | }) | |
1755 | game:GetService("Debris"):AddItem(c, 0.5) | |
1756 | if HitSound ~= nil and HitPitch ~= nil then | |
1757 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
1758 | end | |
1759 | local Damage = math.random(minim, maxim) | |
1760 | local blocked = false | |
1761 | local block = hit.Parent:findFirstChild("Block") | |
1762 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
1763 | blocked = true | |
1764 | block.Value = block.Value - 1 | |
1765 | print(block.Value) | |
1766 | end | |
1767 | if blocked == false then | |
1768 | HitHealth = h.Health | |
1769 | h.Health = h.Health - Damage | |
1770 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
1771 | print("gained kill") | |
1772 | end | |
1773 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1774 | else | |
1775 | h.Health = h.Health - Damage / 2 | |
1776 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1777 | end | |
1778 | if Type == "Knockdown" then | |
1779 | local hum = hit.Parent.Humanoid | |
1780 | hum.PlatformStand = true | |
1781 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1782 | swait(1) | |
1783 | HHumanoid.PlatformStand = false | |
1784 | end), hum) | |
1785 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
1786 | local bodvol = Create("BodyVelocity")({ | |
1787 | velocity = angle * knockback, | |
1788 | P = 5000, | |
1789 | maxForce = Vector3.new(8000, 8000, 8000), | |
1790 | Parent = hit | |
1791 | }) | |
1792 | local rl = Create("BodyAngularVelocity")({ | |
1793 | P = 3000, | |
1794 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1795 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1796 | Parent = hit | |
1797 | }) | |
1798 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
1799 | game:GetService("Debris"):AddItem(rl, 0.5) | |
1800 | elseif Type == "Normal" then | |
1801 | local vp = Create("BodyVelocity")({ | |
1802 | P = 500, | |
1803 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1804 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
1805 | }) | |
1806 | if knockback > 0 then | |
1807 | vp.Parent = hit.Parent.Head | |
1808 | end | |
1809 | game:GetService("Debris"):AddItem(vp, 0.5) | |
1810 | elseif Type == "Up" then | |
1811 | local bodyVelocity = Create("BodyVelocity")({ | |
1812 | velocity = Vector3.new(0, 20, 0), | |
1813 | P = 5000, | |
1814 | maxForce = Vector3.new(8000, 8000, 8000), | |
1815 | Parent = hit | |
1816 | }) | |
1817 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
1818 | local bodyVelocity = Create("BodyVelocity")({ | |
1819 | velocity = Vector3.new(0, 20, 0), | |
1820 | P = 5000, | |
1821 | maxForce = Vector3.new(8000, 8000, 8000), | |
1822 | Parent = hit | |
1823 | }) | |
1824 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1825 | elseif Type == "Leech" then | |
1826 | local hum = hit.Parent.Humanoid | |
1827 | if hum ~= nil then | |
1828 | for i = 0, 2 do | |
1829 | Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) | |
1830 | end | |
1831 | Humanoid.Health = Humanoid.Health + 10 | |
1832 | end | |
1833 | elseif Type == "UpKnock" then | |
1834 | local hum = hit.Parent.Humanoid | |
1835 | hum.PlatformStand = true | |
1836 | if hum ~= nil then | |
1837 | hitr = true | |
1838 | end | |
1839 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1840 | swait(5) | |
1841 | HHumanoid.PlatformStand = false | |
1842 | hitr = false | |
1843 | end), hum) | |
1844 | local bodyVelocity = Create("BodyVelocity")({ | |
1845 | velocity = Vector3.new(0, 20, 0), | |
1846 | P = 5000, | |
1847 | maxForce = Vector3.new(8000, 8000, 8000), | |
1848 | Parent = hit | |
1849 | }) | |
1850 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
1851 | local bodyVelocity = Create("BodyVelocity")({ | |
1852 | velocity = Vector3.new(0, 20, 0), | |
1853 | P = 5000, | |
1854 | maxForce = Vector3.new(8000, 8000, 8000), | |
1855 | Parent = hit | |
1856 | }) | |
1857 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1858 | elseif Type == "Snare" then | |
1859 | local bp = Create("BodyPosition")({ | |
1860 | P = 2000, | |
1861 | D = 100, | |
1862 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1863 | position = hit.Parent.Torso.Position, | |
1864 | Parent = hit.Parent.Torso | |
1865 | }) | |
1866 | game:GetService("Debris"):AddItem(bp, 1) | |
1867 | elseif Type == "Slashnare" then | |
1868 | Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07) | |
1869 | for i = 1, math.random(4, 5) do | |
1870 | Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) | |
1871 | end | |
1872 | local bp = Create("BodyPosition")({ | |
1873 | P = 2000, | |
1874 | D = 100, | |
1875 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1876 | position = hit.Parent.Torso.Position, | |
1877 | Parent = hit.Parent.Torso | |
1878 | }) | |
1879 | game:GetService("Debris"):AddItem(bp, 1) | |
1880 | elseif Type == "Spike" then | |
1881 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
1882 | local bp = Create("BodyPosition")({ | |
1883 | P = 2000, | |
1884 | D = 100, | |
1885 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1886 | position = hit.Parent.Torso.Position, | |
1887 | Parent = hit.Parent.Torso | |
1888 | }) | |
1889 | game:GetService("Debris"):AddItem(bp, 1) | |
1890 | elseif Type == "Freeze" then | |
1891 | local BodPos = Create("BodyPosition")({ | |
1892 | P = 50000, | |
1893 | D = 1000, | |
1894 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1895 | position = hit.Parent.Torso.Position, | |
1896 | Parent = hit.Parent.Torso | |
1897 | }) | |
1898 | local BodGy = Create("BodyGyro")({ | |
1899 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
1900 | P = 20000, | |
1901 | Parent = hit.Parent.Torso, | |
1902 | cframe = hit.Parent.Torso.CFrame | |
1903 | }) | |
1904 | hit.Parent.Torso.Anchored = true | |
1905 | coroutine.resume(coroutine.create(function(Part) | |
1906 | swait(1.5) | |
1907 | Part.Anchored = false | |
1908 | end), hit.Parent.Torso) | |
1909 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1910 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1911 | end | |
1912 | local debounce = Create("BoolValue")({ | |
1913 | Name = "DebounceHit", | |
1914 | Parent = hit.Parent, | |
1915 | Value = true | |
1916 | }) | |
1917 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1918 | c = Instance.new("ObjectValue") | |
1919 | c.Name = "creator" | |
1920 | c.Value = Player | |
1921 | c.Parent = h | |
1922 | game:GetService("Debris"):AddItem(c, 0.5) | |
1923 | end | |
1924 | end | |
1925 | function ShowDamage(Pos, Text, Time, Color) | |
1926 | local Rate = 0.03333333333333333 | |
1927 | local Pos = Pos or Vector3.new(0, 0, 0) | |
1928 | local Text = Text or "" | |
1929 | local Time = Time or 2 | |
1930 | local Color = Color or Color3.new(1, 0, 1) | |
1931 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1932 | EffectPart.Anchored = true | |
1933 | local BillboardGui = Create("BillboardGui")({ | |
1934 | Size = UDim2.new(3, 0, 3, 0), | |
1935 | Adornee = EffectPart, | |
1936 | Parent = EffectPart | |
1937 | }) | |
1938 | local TextLabel = Create("TextLabel")({ | |
1939 | BackgroundTransparency = 1, | |
1940 | Size = UDim2.new(1, 0, 1, 0), | |
1941 | Text = Text, | |
1942 | TextColor3 = Color, | |
1943 | TextScaled = true, | |
1944 | Font = Enum.Font.ArialBold, | |
1945 | Parent = BillboardGui | |
1946 | }) | |
1947 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
1948 | EffectPart.Parent = game:GetService("Workspace") | |
1949 | delay(0, function() | |
1950 | local Frames = Time / Rate | |
1951 | for Frame = 1, Frames do | |
1952 | wait(Rate) | |
1953 | local Percent = Frame / Frames | |
1954 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1955 | TextLabel.TextTransparency = Percent | |
1956 | end | |
1957 | if EffectPart and EffectPart.Parent then | |
1958 | EffectPart:Destroy() | |
1959 | end | |
1960 | end) | |
1961 | end | |
1962 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
1963 | for _, c in pairs(workspace:children()) do | |
1964 | local hum = c:findFirstChildOfClass("Humanoid") | |
1965 | if hum ~= nil then | |
1966 | local head = c:findFirstChild("Head") | |
1967 | if head ~= nil then | |
1968 | local targ = head.Position - Part.Position | |
1969 | local mag = targ.magnitude | |
1970 | if magni >= mag and c.Name ~= Player.Name then | |
1971 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
1972 | end | |
1973 | end | |
1974 | end | |
1975 | end | |
1976 | end | |
1977 | ||
1978 | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) | |
1979 | for _, c in pairs(workspace:children()) do | |
1980 | local hum = c:findFirstChild("Humanoid") | |
1981 | if hum ~= nil then | |
1982 | local head = c:findFirstChild("Torso") | |
1983 | if head ~= nil then | |
1984 | local targ = head.Position - Part.Position | |
1985 | local mag = targ.magnitude | |
1986 | if magni >= mag and c.Name ~= Player.Name then | |
1987 | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05) | |
1988 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
1989 | end | |
1990 | end | |
1991 | end | |
1992 | end | |
1993 | end | |
1994 | ||
1995 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
1996 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
1997 | end | |
1998 | ||
1999 | local origcolor = BrickColor.new("Pastel light blue") | |
2000 | ---- This section of explosions. | |
2001 | ||
2002 | ---- | |
2003 | ||
2004 | ||
2005 | ||
2006 | function ring(type,pos,scale,value) | |
2007 | local type = type | |
2008 | local rng = Instance.new("Part", char) | |
2009 | rng.Anchored = true | |
2010 | rng.BrickColor = origcolor | |
2011 | rng.CanCollide = false | |
2012 | rng.FormFactor = 3 | |
2013 | rng.Name = "Ring" | |
2014 | rng.Size = Vector3.new(1, 1, 1) | |
2015 | rng.Transparency = 0 | |
2016 | rng.TopSurface = 0 | |
2017 | rng.BottomSurface = 0 | |
2018 | rng.CFrame = pos | |
2019 | local rngm = Instance.new("SpecialMesh", rng) | |
2020 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2021 | rngm.Scale = scale | |
2022 | local scaler2 = 1 | |
2023 | if type == "Add" then | |
2024 | scaler2 = 1*value | |
2025 | elseif type == "Divide" then | |
2026 | scaler2 = 1/value | |
2027 | end | |
2028 | coroutine.resume(coroutine.create(function() | |
2029 | for i = 0,10,0.1 do | |
2030 | swait() | |
2031 | if type == "Add" then | |
2032 | scaler2 = scaler2 - 0.01*value | |
2033 | elseif type == "Divide" then | |
2034 | scaler2 = scaler2 - 0.01/value | |
2035 | end | |
2036 | rng.Transparency = rng.Transparency + 0.01 | |
2037 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2038 | end | |
2039 | rng:Destroy() | |
2040 | end)) | |
2041 | end | |
2042 | ||
2043 | ||
2044 | function wave(type,pos,scale,value) | |
2045 | local type = type | |
2046 | local rng = Instance.new("Part", char) | |
2047 | rng.Anchored = true | |
2048 | rng.BrickColor = origcolor | |
2049 | rng.CanCollide = false | |
2050 | rng.FormFactor = 3 | |
2051 | rng.Name = "Ring" | |
2052 | rng.Size = Vector3.new(1, 1, 1) | |
2053 | rng.Transparency = 0 | |
2054 | rng.TopSurface = 0 | |
2055 | rng.BottomSurface = 0 | |
2056 | rng.CFrame = pos | |
2057 | local rngm = Instance.new("SpecialMesh", rng) | |
2058 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2059 | rngm.Scale = scale | |
2060 | local scaler2 = 1 | |
2061 | if type == "Add" then | |
2062 | scaler2 = 1*value | |
2063 | elseif type == "Divide" then | |
2064 | scaler2 = 1/value | |
2065 | end | |
2066 | coroutine.resume(coroutine.create(function() | |
2067 | for i = 0,10,0.1 do | |
2068 | swait() | |
2069 | if type == "Add" then | |
2070 | scaler2 = scaler2 - 0.01*value | |
2071 | elseif type == "Divide" then | |
2072 | scaler2 = scaler2 - 0.01/value | |
2073 | end | |
2074 | rng.Transparency = rng.Transparency + 0.01 | |
2075 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
2076 | end | |
2077 | rng:Destroy() | |
2078 | end)) | |
2079 | end | |
2080 | ||
2081 | function sphere(bonuspeed,type,pos,scale,value,color) | |
2082 | local type = type | |
2083 | local rng = Instance.new("Part", char) | |
2084 | rng.Anchored = true | |
2085 | if ModeOfGlitch ~= 9 then | |
2086 | rng.BrickColor = color | |
2087 | elseif ModeOfGlitch == 9 then | |
2088 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
2089 | end | |
2090 | rng.CanCollide = false | |
2091 | rng.FormFactor = 3 | |
2092 | rng.Name = "Ring" | |
2093 | rng.Material = "Neon" | |
2094 | rng.Size = Vector3.new(1, 1, 1) | |
2095 | rng.Transparency = 0 | |
2096 | rng.TopSurface = 0 | |
2097 | rng.BottomSurface = 0 | |
2098 | rng.CFrame = pos | |
2099 | local rngm = Instance.new("SpecialMesh", rng) | |
2100 | rngm.MeshType = "Sphere" | |
2101 | rngm.Scale = scale | |
2102 | if rainbowmode == true then | |
2103 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2104 | end | |
2105 | if ModeOfGlitch == 9 then | |
2106 | coroutine.resume(coroutine.create(function() | |
2107 | while true do | |
2108 | swait() | |
2109 | if rng.Parent ~= nil then | |
2110 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
2111 | else | |
2112 | break | |
2113 | end | |
2114 | end | |
2115 | end)) | |
2116 | end | |
2117 | local scaler2 = 1 | |
2118 | if type == "Add" then | |
2119 | scaler2 = 1*value | |
2120 | elseif type == "Divide" then | |
2121 | scaler2 = 1/value | |
2122 | end | |
2123 | coroutine.resume(coroutine.create(function() | |
2124 | for i = 0,10/bonuspeed,0.1 do | |
2125 | swait() | |
2126 | if rainbowmode == true then | |
2127 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2128 | end | |
2129 | if type == "Add" then | |
2130 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2131 | elseif type == "Divide" then | |
2132 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2133 | end | |
2134 | if chaosmode == true then | |
2135 | rng.BrickColor = BrickColor.random() | |
2136 | end | |
2137 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2138 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
2139 | end | |
2140 | rng:Destroy() | |
2141 | end)) | |
2142 | end | |
2143 | ||
2144 | function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color) | |
2145 | local type = type | |
2146 | local rng = Instance.new("Part", char) | |
2147 | rng.Anchored = true | |
2148 | if ModeOfGlitch ~= 9 then | |
2149 | rng.BrickColor = color | |
2150 | elseif ModeOfGlitch == 9 then | |
2151 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
2152 | end | |
2153 | rng.CanCollide = false | |
2154 | rng.FormFactor = 3 | |
2155 | rng.Name = "Ring" | |
2156 | rng.Material = "Neon" | |
2157 | rng.Size = Vector3.new(1, 1, 1) | |
2158 | rng.Transparency = 0 | |
2159 | rng.TopSurface = 0 | |
2160 | rng.BottomSurface = 0 | |
2161 | rng.CFrame = pos | |
2162 | local rngm = Instance.new("SpecialMesh", rng) | |
2163 | rngm.MeshType = "Sphere" | |
2164 | rngm.Scale = scale | |
2165 | local scaler2 = 1 | |
2166 | local scaler2b = 1 | |
2167 | local scaler2c = 1 | |
2168 | if type == "Add" then | |
2169 | scaler2 = 1*value | |
2170 | scaler2b = 1*value2 | |
2171 | scaler2c = 1*value3 | |
2172 | elseif type == "Divide" then | |
2173 | scaler2 = 1/value | |
2174 | scaler2b = 1/value2 | |
2175 | scaler2c = 1/value3 | |
2176 | end | |
2177 | if ModeOfGlitch == 9 then | |
2178 | coroutine.resume(coroutine.create(function() | |
2179 | while true do | |
2180 | swait() | |
2181 | if rng.Parent ~= nil then | |
2182 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
2183 | else | |
2184 | break | |
2185 | end | |
2186 | end | |
2187 | end)) | |
2188 | end | |
2189 | coroutine.resume(coroutine.create(function() | |
2190 | for i = 0,10/bonuspeed,0.1 do | |
2191 | swait() | |
2192 | if type == "Add" then | |
2193 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2194 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
2195 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
2196 | elseif type == "Divide" then | |
2197 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2198 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
2199 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
2200 | end | |
2201 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2202 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
2203 | end | |
2204 | rng:Destroy() | |
2205 | end)) | |
2206 | end | |
2207 | ||
2208 | function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color) | |
2209 | local type = type | |
2210 | local rotenable = rotatingop | |
2211 | local rng = Instance.new("Part", char) | |
2212 | rng.Anchored = true | |
2213 | rng.BrickColor = color | |
2214 | rng.CanCollide = false | |
2215 | rng.FormFactor = 3 | |
2216 | rng.Name = "Ring" | |
2217 | rng.Material = "Neon" | |
2218 | rng.Size = Vector3.new(1, 1, 1) | |
2219 | rng.Transparency = 0 | |
2220 | if typeoftrans == "In" then | |
2221 | rng.Transparency = 1 | |
2222 | end | |
2223 | rng.TopSurface = 0 | |
2224 | rng.BottomSurface = 0 | |
2225 | rng.CFrame = pos | |
2226 | local rngm = Instance.new("SpecialMesh", rng) | |
2227 | rngm.MeshType = "FileMesh" | |
2228 | if typeofshape == "Normal" then | |
2229 | rngm.MeshId = "rbxassetid://662586858" | |
2230 | elseif typeofshape == "Round" then | |
2231 | rngm.MeshId = "rbxassetid://662585058" | |
2232 | end | |
2233 | rngm.Scale = scale | |
2234 | local scaler2 = 1/10 | |
2235 | if type == "Add" then | |
2236 | scaler2 = 1*value/10 | |
2237 | elseif type == "Divide" then | |
2238 | scaler2 = 1/value/10 | |
2239 | end | |
2240 | local randomrot = math.random(1,2) | |
2241 | coroutine.resume(coroutine.create(function() | |
2242 | for i = 0,10/bonuspeed,0.1 do | |
2243 | swait() | |
2244 | if type == "Add" then | |
2245 | scaler2 = scaler2 - 0.01*value/bonuspeed/10 | |
2246 | elseif type == "Divide" then | |
2247 | scaler2 = scaler2 - 0.01/value*bonuspeed/10 | |
2248 | end | |
2249 | if rotenable == true then | |
2250 | if randomrot == 1 then | |
2251 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0) | |
2252 | elseif randomrot == 2 then | |
2253 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0) | |
2254 | end | |
2255 | end | |
2256 | if typeoftrans == "Out" then | |
2257 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2258 | elseif typeoftrans == "In" then | |
2259 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
2260 | end | |
2261 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10) | |
2262 | end | |
2263 | rng:Destroy() | |
2264 | end)) | |
2265 | end | |
2266 | ||
2267 | ||
2268 | ||
2269 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
2270 | local type = type | |
2271 | local rng = Instance.new("Part", char) | |
2272 | rng.Anchored = true | |
2273 | rng.BrickColor = color | |
2274 | rng.CanCollide = false | |
2275 | rng.FormFactor = 3 | |
2276 | rng.Name = "Ring" | |
2277 | rng.Material = "Neon" | |
2278 | rng.Size = Vector3.new(1, 1, 1) | |
2279 | rng.Transparency = 0 | |
2280 | rng.TopSurface = 0 | |
2281 | rng.BottomSurface = 0 | |
2282 | rng.CFrame = pos | |
2283 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
2284 | local rngm = Instance.new("SpecialMesh", rng) | |
2285 | rngm.MeshType = "Brick" | |
2286 | rngm.Scale = vt(x1,y1,z1) | |
2287 | if rainbowmode == true then | |
2288 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2289 | end | |
2290 | local scaler2 = 1 | |
2291 | local speeder = FastSpeed/10 | |
2292 | if type == "Add" then | |
2293 | scaler2 = 1*value | |
2294 | elseif type == "Divide" then | |
2295 | scaler2 = 1/value | |
2296 | end | |
2297 | coroutine.resume(coroutine.create(function() | |
2298 | for i = 0,10/bonuspeed,0.1 do | |
2299 | swait() | |
2300 | if rainbowmode == true then | |
2301 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2302 | end | |
2303 | if type == "Add" then | |
2304 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2305 | elseif type == "Divide" then | |
2306 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2307 | end | |
2308 | if chaosmode == true then | |
2309 | rng.BrickColor = BrickColor.random() | |
2310 | end | |
2311 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
2312 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
2313 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2314 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
2315 | end | |
2316 | rng:Destroy() | |
2317 | end)) | |
2318 | end | |
2319 | ||
2320 | function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
2321 | local type = type | |
2322 | local rng = Instance.new("Part", char) | |
2323 | rng.Anchored = true | |
2324 | rng.BrickColor = color | |
2325 | rng.CanCollide = false | |
2326 | rng.FormFactor = 3 | |
2327 | rng.Name = "Ring" | |
2328 | rng.Material = "Neon" | |
2329 | rng.Size = Vector3.new(1, 1, 1) | |
2330 | rng.Transparency = 0 | |
2331 | rng.TopSurface = 0 | |
2332 | rng.BottomSurface = 0 | |
2333 | rng.CFrame = pos | |
2334 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
2335 | local rngm = Instance.new("SpecialMesh", rng) | |
2336 | rngm.MeshType = "Brick" | |
2337 | rngm.Scale = vt(x1,y1,z1) | |
2338 | if rainbowmode == true then | |
2339 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2340 | end | |
2341 | local scaler2 = 1 | |
2342 | local speeder = FastSpeed/10 | |
2343 | if type == "Add" then | |
2344 | scaler2 = 1*value | |
2345 | elseif type == "Divide" then | |
2346 | scaler2 = 1/value | |
2347 | end | |
2348 | coroutine.resume(coroutine.create(function() | |
2349 | for i = 0,10/bonuspeed,0.1 do | |
2350 | swait() | |
2351 | if rainbowmode == true then | |
2352 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2353 | end | |
2354 | if type == "Add" then | |
2355 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2356 | elseif type == "Divide" then | |
2357 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2358 | end | |
2359 | if chaosmode == true then | |
2360 | rng.BrickColor = BrickColor.random() | |
2361 | end | |
2362 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
2363 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
2364 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2365 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
2366 | end | |
2367 | rng:Destroy() | |
2368 | end)) | |
2369 | end | |
2370 | ||
2371 | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
2372 | local type = type | |
2373 | local rng = Instance.new("Part", char) | |
2374 | rng.Anchored = true | |
2375 | rng.BrickColor = color | |
2376 | rng.CanCollide = false | |
2377 | rng.FormFactor = 3 | |
2378 | rng.Name = "Ring" | |
2379 | rng.Material = "Neon" | |
2380 | rng.Size = Vector3.new(1, 1, 1) | |
2381 | rng.Transparency = 0 | |
2382 | rng.TopSurface = 0 | |
2383 | rng.BottomSurface = 0 | |
2384 | rng.CFrame = pos | |
2385 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
2386 | local rngm = Instance.new("SpecialMesh", rng) | |
2387 | rngm.MeshType = "Brick" | |
2388 | rngm.Scale = vt(x1,y1,z1) | |
2389 | if rainbowmode == true then | |
2390 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2391 | end | |
2392 | local scaler2 = 0 | |
2393 | local speeder = FastSpeed/10 | |
2394 | if type == "Add" then | |
2395 | scaler2 = 1*value | |
2396 | elseif type == "Divide" then | |
2397 | scaler2 = 1/value | |
2398 | end | |
2399 | coroutine.resume(coroutine.create(function() | |
2400 | for i = 0,10/bonuspeed,0.1 do | |
2401 | swait() | |
2402 | if rainbowmode == true then | |
2403 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2404 | end | |
2405 | if type == "Add" then | |
2406 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2407 | elseif type == "Divide" then | |
2408 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2409 | end | |
2410 | if chaosmode == true then | |
2411 | rng.BrickColor = BrickColor.random() | |
2412 | end | |
2413 | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 | |
2414 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
2415 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2416 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
2417 | end | |
2418 | rng:Destroy() | |
2419 | end)) | |
2420 | end | |
2421 | ||
2422 | function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3) | |
2423 | local type = type | |
2424 | local rng = Instance.new("Part", char) | |
2425 | rng.Anchored = true | |
2426 | rng.BrickColor = color | |
2427 | rng.Color = color3 | |
2428 | rng.CanCollide = false | |
2429 | rng.FormFactor = 3 | |
2430 | rng.Name = "Ring" | |
2431 | rng.Material = "Neon" | |
2432 | rng.Size = Vector3.new(1, 1, 1) | |
2433 | rng.Transparency = 0 | |
2434 | rng.TopSurface = 0 | |
2435 | rng.BottomSurface = 0 | |
2436 | rng.CFrame = pos | |
2437 | local rngm = Instance.new("SpecialMesh", rng) | |
2438 | rngm.MeshType = "Brick" | |
2439 | rngm.Scale = scale | |
2440 | local scaler2 = 1 | |
2441 | local scaler2b = 1 | |
2442 | local scaler2c = 1 | |
2443 | if type == "Add" then | |
2444 | scaler2 = 1*value | |
2445 | scaler2b = 1*value2 | |
2446 | scaler2c = 1*value3 | |
2447 | elseif type == "Divide" then | |
2448 | scaler2 = 1/value | |
2449 | scaler2b = 1/value2 | |
2450 | scaler2c = 1/value3 | |
2451 | end | |
2452 | coroutine.resume(coroutine.create(function() | |
2453 | for i = 0,10/bonuspeed,0.1 do | |
2454 | swait() | |
2455 | if type == "Add" then | |
2456 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2457 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
2458 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
2459 | elseif type == "Divide" then | |
2460 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2461 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
2462 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
2463 | end | |
2464 | rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
2465 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2466 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
2467 | end | |
2468 | rng:Destroy() | |
2469 | end)) | |
2470 | end | |
2471 | ||
2472 | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
2473 | local type = type | |
2474 | local rng = Instance.new("Part", char) | |
2475 | rng.Anchored = true | |
2476 | if ModeOfGlitch ~= 9 then | |
2477 | rng.BrickColor = color | |
2478 | elseif ModeOfGlitch == 9 then | |
2479 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
2480 | end | |
2481 | rng.CanCollide = false | |
2482 | rng.FormFactor = 3 | |
2483 | rng.Name = "Ring" | |
2484 | rng.Material = "Neon" | |
2485 | rng.Size = Vector3.new(1, 1, 1) | |
2486 | rng.Transparency = 0 | |
2487 | rng.TopSurface = 0 | |
2488 | rng.BottomSurface = 0 | |
2489 | rng.CFrame = pos | |
2490 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
2491 | local rngm = Instance.new("SpecialMesh", rng) | |
2492 | rngm.MeshType = "Sphere" | |
2493 | rngm.Scale = vt(x1,y1,z1) | |
2494 | if rainbowmode == true then | |
2495 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2496 | end | |
2497 | if ModeOfGlitch == 9 then | |
2498 | coroutine.resume(coroutine.create(function() | |
2499 | while true do | |
2500 | swait() | |
2501 | if rng.Parent ~= nil then | |
2502 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
2503 | else | |
2504 | break | |
2505 | end | |
2506 | end | |
2507 | end)) | |
2508 | end | |
2509 | local scaler2 = 1 | |
2510 | local speeder = FastSpeed | |
2511 | if type == "Add" then | |
2512 | scaler2 = 1*value | |
2513 | elseif type == "Divide" then | |
2514 | scaler2 = 1/value | |
2515 | end | |
2516 | coroutine.resume(coroutine.create(function() | |
2517 | for i = 0,10/bonuspeed,0.1 do | |
2518 | swait() | |
2519 | if rainbowmode == true then | |
2520 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2521 | end | |
2522 | if type == "Add" then | |
2523 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2524 | elseif type == "Divide" then | |
2525 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2526 | end | |
2527 | if chaosmode == true then | |
2528 | rng.BrickColor = BrickColor.random() | |
2529 | end | |
2530 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
2531 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
2532 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2533 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
2534 | end | |
2535 | rng:Destroy() | |
2536 | end)) | |
2537 | end | |
2538 | ||
2539 | ||
2540 | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
2541 | local type = type | |
2542 | local rng = Instance.new("Part", char) | |
2543 | rng.Anchored = true | |
2544 | if ModeOfGlitch ~= 9 then | |
2545 | rng.BrickColor = color | |
2546 | elseif ModeOfGlitch == 9 then | |
2547 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
2548 | end | |
2549 | rng.CanCollide = false | |
2550 | rng.FormFactor = 3 | |
2551 | rng.Name = "Ring" | |
2552 | rng.Material = "Neon" | |
2553 | rng.Size = Vector3.new(1, 1, 1) | |
2554 | rng.Transparency = 1 | |
2555 | rng.TopSurface = 0 | |
2556 | rng.BottomSurface = 0 | |
2557 | rng.CFrame = pos | |
2558 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
2559 | local rngm = Instance.new("SpecialMesh", rng) | |
2560 | rngm.MeshType = "Sphere" | |
2561 | rngm.Scale = vt(x1,y1,z1) | |
2562 | if rainbowmode == true then | |
2563 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2564 | end | |
2565 | if ModeOfGlitch == 9 then | |
2566 | coroutine.resume(coroutine.create(function() | |
2567 | while true do | |
2568 | swait() | |
2569 | if rng.Parent ~= nil then | |
2570 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
2571 | else | |
2572 | break | |
2573 | end | |
2574 | end | |
2575 | end)) | |
2576 | end | |
2577 | local scaler2 = 1 | |
2578 | local speeder = FastSpeed | |
2579 | if type == "Add" then | |
2580 | scaler2 = 1*value | |
2581 | elseif type == "Divide" then | |
2582 | scaler2 = 1/value | |
2583 | end | |
2584 | coroutine.resume(coroutine.create(function() | |
2585 | for i = 0,10/bonuspeed,0.1 do | |
2586 | swait() | |
2587 | if rainbowmode == true then | |
2588 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2589 | end | |
2590 | if type == "Add" then | |
2591 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2592 | elseif type == "Divide" then | |
2593 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2594 | end | |
2595 | if chaosmode == true then | |
2596 | rng.BrickColor = BrickColor.random() | |
2597 | end | |
2598 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
2599 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
2600 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
2601 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
2602 | end | |
2603 | rng:Destroy() | |
2604 | end)) | |
2605 | end | |
2606 | ||
2607 | ||
2608 | ||
2609 | function dmg(dude) | |
2610 | if dude.Name ~= Character then | |
2611 | local keptcolor = MAINRUINCOLOR | |
2612 | local bgf = Instance.new("BodyGyro",dude.Head) | |
2613 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
2614 | --[[local val = Instance.new("BoolValue",dude) | |
2615 | val.Name = "IsHit"]]-- | |
2616 | local ds = coroutine.wrap(function() | |
2617 | dude:WaitForChild("Head"):BreakJoints() | |
2618 | for i, v in pairs(dude:GetChildren()) do | |
2619 | if v:IsA("Part") or v:IsA("MeshPart") then | |
2620 | v.Name = "DEMINISHED" | |
2621 | end | |
2622 | end | |
2623 | wait(0.5) | |
2624 | targetted = nil | |
2625 | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285) | |
2626 | coroutine.resume(coroutine.create(function() | |
2627 | for i, v in pairs(dude:GetChildren()) do | |
2628 | if v:IsA("Accessory") then | |
2629 | v:Destroy() | |
2630 | end | |
2631 | if v:IsA("Humanoid") then | |
2632 | v:Destroy() | |
2633 | end | |
2634 | if v:IsA("CharacterMesh") then | |
2635 | v:Destroy() | |
2636 | end | |
2637 | if v:IsA("Model") then | |
2638 | v:Destroy() | |
2639 | end | |
2640 | if v:IsA("Part") or v:IsA("MeshPart") then | |
2641 | for x, o in pairs(v:GetChildren()) do | |
2642 | if o:IsA("Decal") then | |
2643 | o:Destroy() | |
2644 | end | |
2645 | end | |
2646 | coroutine.resume(coroutine.create(function() | |
2647 | v.Material = "Neon" | |
2648 | v.CanCollide = false | |
2649 | v.Anchored = false | |
2650 | local bld = Instance.new("ParticleEmitter",v) | |
2651 | bld.LightEmission = 0.75 | |
2652 | bld.Texture = "rbxassetid://363275192" ---284205403 | |
2653 | bld.Color = ColorSequence.new(keptcolor.Color) | |
2654 | bld.Rate = 500 | |
2655 | bld.Lifetime = NumberRange.new(1) | |
2656 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2657 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2658 | bld.Speed = NumberRange.new(2,5) | |
2659 | bld.VelocitySpread = 50000 | |
2660 | bld.Rotation = NumberRange.new(-500,500) | |
2661 | bld.RotSpeed = NumberRange.new(-500,500) | |
2662 | local sbs = Instance.new("BodyPosition", v) | |
2663 | sbs.P = 3000 | |
2664 | sbs.D = 1000 | |
2665 | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
2666 | sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2)) | |
2667 | v.Color = keptcolor.Color | |
2668 | coroutine.resume(coroutine.create(function() | |
2669 | for i = 0, 49 do | |
2670 | swait(1) | |
2671 | v:BreakJoints() | |
2672 | v.Transparency = v.Transparency + 0.02 | |
2673 | end | |
2674 | v:BreakJoints() | |
2675 | sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor) | |
2676 | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75) | |
2677 | bld.Speed = NumberRange.new(10,25) | |
2678 | bld.Drag = 5 | |
2679 | bld.Acceleration = vt(0,2,0) | |
2680 | wait(0.5) | |
2681 | bld.Enabled = false | |
2682 | wait(8) | |
2683 | v:Destroy() | |
2684 | dude:Destroy() | |
2685 | end)) | |
2686 | end)) | |
2687 | end | |
2688 | end | |
2689 | end)) | |
2690 | end) | |
2691 | ds() | |
2692 | end | |
2693 | end | |
2694 | ||
2695 | ||
2696 | ||
2697 | function FindNearestHead(Position, Distance, SinglePlayer) | |
2698 | if SinglePlayer then | |
2699 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
2700 | end | |
2701 | local List = {} | |
2702 | for i, v in pairs(workspace:GetChildren()) do | |
2703 | if v:IsA("Model") then | |
2704 | if v:findFirstChild("Head") then | |
2705 | if v ~= Character then | |
2706 | if (v.Head.Position - Position).magnitude <= Distance then | |
2707 | table.insert(List, v) | |
2708 | end | |
2709 | end | |
2710 | end | |
2711 | end | |
2712 | end | |
2713 | return List | |
2714 | end | |
2715 | ||
2716 | function FaceMouse() | |
2717 | Cam = workspace.CurrentCamera | |
2718 | return { | |
2719 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
2720 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
2721 | } | |
2722 | end | |
2723 | ||
2724 | function FaceMouse2() | |
2725 | Cam = workspace.CurrentCamera | |
2726 | return { | |
2727 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), | |
2728 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
2729 | } | |
2730 | end | |
2731 | ||
2732 | -- Functions are ready. | |
2733 | local storehumanoidWS = 16 | |
2734 | ||
2735 | function resetmode() | |
2736 | attack = true | |
2737 | hum.WalkSpeed = 0 | |
2738 | hum.JumpPower = 0 | |
2739 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 3,1) | |
2740 | local fvalu = 0 | |
2741 | for x = 0, 6 do | |
2742 | for i = 0, 1, 0.6 do | |
2743 | swait() | |
2744 | sphere2(3,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,1.25,-0.01,MAINRUINCOLOR) | |
2745 | fvalu = fvalu + 0.025 | |
2746 | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("White")) | |
2747 | RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.1) | |
2748 | LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.1) | |
2749 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,fvalu)*angles(math.rad(0),math.rad(0),math.rad(0)),.8) | |
2750 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.1) | |
2751 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.1) | |
2752 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.1) | |
2753 | end | |
2754 | for i = 0, 1, 0.6 do | |
2755 | swait() | |
2756 | sphere2(3,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,1.25,-0.01,MAINRUINCOLOR) | |
2757 | fvalu = fvalu + 0.025 | |
2758 | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("White")) | |
2759 | RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.1) | |
2760 | LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.1) | |
2761 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,fvalu)*angles(math.rad(0),math.rad(0),math.rad(90)),.8) | |
2762 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.1) | |
2763 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.1) | |
2764 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.1) | |
2765 | end | |
2766 | for i = 0, 1, 0.6 do | |
2767 | swait() | |
2768 | sphere2(3,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,1.25,-0.01,MAINRUINCOLOR) | |
2769 | fvalu = fvalu + 0.025 | |
2770 | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("White")) | |
2771 | RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.1) | |
2772 | LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.1) | |
2773 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,fvalu)*angles(math.rad(0),math.rad(0),math.rad(180)),.8) | |
2774 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.1) | |
2775 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.1) | |
2776 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.1) | |
2777 | end | |
2778 | for i = 0, 1, 0.6 do | |
2779 | swait() | |
2780 | sphere2(3,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,1.25,-0.01,MAINRUINCOLOR) | |
2781 | fvalu = fvalu + 0.025 | |
2782 | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("White")) | |
2783 | RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.1) | |
2784 | LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.1) | |
2785 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,fvalu)*angles(math.rad(0),math.rad(0),math.rad(270)),.8) | |
2786 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.1) | |
2787 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.1) | |
2788 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.1) | |
2789 | end | |
2790 | end | |
2791 | ModeOfGlitch = 1 | |
2792 | storehumanoidWS = 16 | |
2793 | hum.JumpPower = 50 | |
2794 | rainbowmode = false | |
2795 | chaosmode = false | |
2796 | RecolorTextAndRename("Enlightened",Color3.new(1,1,1),Color3.new(0.75,0.75,0.75),"Code") | |
2797 | newTheme("rbxassetid://603567552",0,1.02,1.25) | |
2798 | MAINRUINCOLOR = BrickColor.new("White") | |
2799 | for i = 0, 24 do | |
2800 | sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR) | |
2801 | slash(math.random(10,50)/10,5,true,"Round","Add","Out",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,250)/250,BrickColor.new("White")) | |
2802 | end | |
2803 | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7.5,1) | |
2804 | CFuncs["Sound"].Create("rbxassetid://763718160", root, 10, 1.1) | |
2805 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 10, 1) | |
2806 | sphere2(3,"Add",tors.CFrame,vt(1,1,1),0.25,0.25,0.25,MAINRUINCOLOR) | |
2807 | sphere2(4,"Add",tors.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR) | |
2808 | sphere2(5,"Add",tors.CFrame,vt(1,1,1),0.75,0.75,0.75,MAINRUINCOLOR) | |
2809 | for i, v in pairs(mw2:GetChildren()) do | |
2810 | if v:IsA("Part") then | |
2811 | v.BrickColor = MAINRUINCOLOR | |
2812 | v.Material = "Neon" | |
2813 | end | |
2814 | end | |
2815 | refec.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
2816 | refec2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
2817 | refec3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
2818 | refec4.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
2819 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
2820 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
2821 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
2822 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
2823 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
2824 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
2825 | for i, v in pairs(mw1:GetChildren()) do | |
2826 | if v:IsA("Part") then | |
2827 | v.Transparency = 0 | |
2828 | v.BrickColor = MAINRUINCOLOR | |
2829 | v.Material = "Neon" | |
2830 | end | |
2831 | end | |
2832 | for i, v in pairs(m:GetChildren()) do | |
2833 | if v:IsA("Part") then | |
2834 | v.BrickColor = BrickColor.new("White") | |
2835 | v.Material = "Ice" | |
2836 | end | |
2837 | end | |
2838 | for i, v in pairs(m2:GetChildren()) do | |
2839 | if v:IsA("Part") then | |
2840 | v.BrickColor = BrickColor.new("White") | |
2841 | v.Material = "Ice" | |
2842 | end | |
2843 | end | |
2844 | for i, v in pairs(m3:GetChildren()) do | |
2845 | if v:IsA("Part") then | |
2846 | v.BrickColor = BrickColor.new("White") | |
2847 | v.Material = "Neon" | |
2848 | end | |
2849 | end | |
2850 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
2851 | if v:IsA("Part") then | |
2852 | v.Transparency = 1 | |
2853 | v.BrickColor = BrickColor.new("White") | |
2854 | v.Material = "Neon" | |
2855 | end | |
2856 | end | |
2857 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
2858 | if v:IsA("Part") then | |
2859 | v.Transparency = 1 | |
2860 | v.BrickColor = BrickColor.new("White") | |
2861 | v.Material = "Neon" | |
2862 | end | |
2863 | end | |
2864 | for i = 0, 5, 0.1 do | |
2865 | swait() | |
2866 | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("White")) | |
2867 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-25)),.1) | |
2868 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(25)),.1) | |
2869 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-25),math.rad(0),math.rad(0)),.1) | |
2870 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
2871 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(35)),.1) | |
2872 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-35)),.1) | |
2873 | end | |
2874 | hum.WalkSpeed = 16 | |
2875 | attack = false | |
2876 | end | |
2877 | ||
2878 | function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo) | |
2879 | for i, v in pairs(mw2:GetChildren()) do | |
2880 | if v:IsA("Part") then | |
2881 | v.BrickColor = one | |
2882 | v.Material = "Neon" | |
2883 | end | |
2884 | end | |
2885 | refec.Color = ColorSequence.new(one.Color) | |
2886 | refec2.Color = ColorSequence.new(one.Color) | |
2887 | refec3.Color = ColorSequence.new(one.Color) | |
2888 | refec4.Color = ColorSequence.new(one.Color) | |
2889 | tr1.Color = ColorSequence.new(one.Color) | |
2890 | tr2.Color = ColorSequence.new(one.Color) | |
2891 | tr3.Color = ColorSequence.new(one.Color) | |
2892 | for i, v in pairs(mw1:GetChildren()) do | |
2893 | if v:IsA("Part") then | |
2894 | v.Transparency = 0 | |
2895 | v.BrickColor = two | |
2896 | v.Material = "Neon" | |
2897 | end | |
2898 | end | |
2899 | tl1.Color = ColorSequence.new(two.Color) | |
2900 | tl2.Color = ColorSequence.new(two.Color) | |
2901 | tl3.Color = ColorSequence.new(two.Color) | |
2902 | for i, v in pairs(m:GetChildren()) do | |
2903 | if v:IsA("Part") then | |
2904 | v.BrickColor = three | |
2905 | v.Material = "Ice" | |
2906 | end | |
2907 | end | |
2908 | for i, v in pairs(m2:GetChildren()) do | |
2909 | if v:IsA("Part") then | |
2910 | v.BrickColor = four | |
2911 | v.Material = "Ice" | |
2912 | end | |
2913 | end | |
2914 | for i, v in pairs(m3:GetChildren()) do | |
2915 | if v:IsA("Part") then | |
2916 | v.BrickColor = five | |
2917 | v.Material = "Neon" | |
2918 | end | |
2919 | end | |
2920 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
2921 | if v:IsA("Part") then | |
2922 | v.Transparency = exonetran | |
2923 | v.BrickColor = exone | |
2924 | v.Material = "Neon" | |
2925 | end | |
2926 | end | |
2927 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
2928 | if v:IsA("Part") then | |
2929 | v.Transparency = extwotran | |
2930 | v.BrickColor = extwo | |
2931 | v.Material = "Neon" | |
2932 | end | |
2933 | end | |
2934 | end | |
2935 | ||
2936 | function createBGCircle(size,parent,color) | |
2937 | local bgui = Instance.new("BillboardGui",parent) | |
2938 | bgui.Size = UDim2.new(size, 0, size, 0) | |
2939 | local imgc = Instance.new("ImageLabel",bgui) | |
2940 | imgc.BackgroundTransparency = 1 | |
2941 | imgc.ImageTransparency = 0 | |
2942 | imgc.Size = UDim2.new(1,0,1,0) | |
2943 | imgc.Image = "rbxassetid://997291547" --997291547,521073910 | |
2944 | imgc.ImageColor3 = color | |
2945 | return bgui,imgc | |
2946 | end | |
2947 | ||
2948 | ||
2949 | function attackone() | |
2950 | attack = true | |
2951 | local keptcolor = MAINRUINCOLOR | |
2952 | for i = 0,1,0.1 do | |
2953 | swait() | |
2954 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3) | |
2955 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3) | |
2956 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3) | |
2957 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
2958 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3) | |
2959 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3) | |
2960 | end | |
2961 | local distlook = 5 | |
2962 | coroutine.resume(coroutine.create(function() | |
2963 | for i = 0, 4 do | |
2964 | swait(2) | |
2965 | CameraEnshaking(2,3) | |
2966 | local hite = Instance.new("Part", char) | |
2967 | hite.Anchored = true | |
2968 | hite.CanCollide = false | |
2969 | hite.FormFactor = 3 | |
2970 | hite.Name = "Ring" | |
2971 | hite.Material = "Neon" | |
2972 | hite.Size = Vector3.new(1, 1, 1) | |
2973 | hite.Transparency = 1 | |
2974 | hite.TopSurface = 0 | |
2975 | hite.BottomSurface = 0 | |
2976 | hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook) | |
2977 | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor) | |
2978 | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor) | |
2979 | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor) | |
2980 | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor) | |
2981 | MagniDamage(hite, 9, 10,25, 0, "Normal") | |
2982 | for i = 0, 14 do | |
2983 | local rsiz = math.random(5,20) | |
2984 | sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0) | |
2985 | end | |
2986 | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1) | |
2987 | CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1) | |
2988 | game:GetService("Debris"):AddItem(hite, 5) | |
2989 | distlook = distlook + 10 | |
2990 | end | |
2991 | end)) | |
2992 | for i = 0,1,0.1 do | |
2993 | swait() | |
2994 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5) | |
2995 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5) | |
2996 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5) | |
2997 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5) | |
2998 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5) | |
2999 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5) | |
3000 | end | |
3001 | attack = false | |
3002 | end | |
3003 | ||
3004 | function attacktwo() | |
3005 | attack = true | |
3006 | for i = 0,1,0.1 do | |
3007 | swait() | |
3008 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3) | |
3009 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
3010 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3) | |
3011 | LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3) | |
3012 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10)),.3) | |
3013 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.3) | |
3014 | end | |
3015 | CameraEnshaking(3,4) | |
3016 | MagniDamage(root, 12, 15,30, 0, "Normal") | |
3017 | sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR) | |
3018 | sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR) | |
3019 | sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR) | |
3020 | coroutine.resume(coroutine.create(function() | |
3021 | local eff = Instance.new("ParticleEmitter",root) | |
3022 | eff.Texture = "rbxassetid://363275192" | |
3023 | eff.LightEmission = 0.95 | |
3024 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
3025 | eff.Rate = 10000 | |
3026 | eff.Lifetime = NumberRange.new(1) | |
3027 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,30,0)}) | |
3028 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3029 | eff.Speed = NumberRange.new(10,125) | |
3030 | eff.Drag = 5 | |
3031 | eff.Rotation = NumberRange.new(-500,500) | |
3032 | eff.VelocitySpread = 9000 | |
3033 | eff.RotSpeed = NumberRange.new(-50,50) | |
3034 | local eff2 = eff:Clone() | |
3035 | eff2.Parent = root | |
3036 | eff2.Texture = "rbxassetid://2273224484" | |
3037 | eff2.Rate = 10000 | |
3038 | eff2.Lifetime = NumberRange.new(1.5) | |
3039 | eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,3,0),NumberSequenceKeypoint.new(0.8,6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3040 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3041 | eff2.Drag = 5 | |
3042 | eff2.Speed = NumberRange.new(25,150) | |
3043 | eff2.Rotation = NumberRange.new(-500,500) | |
3044 | eff2.VelocitySpread = 9000 | |
3045 | wait(0.25) | |
3046 | eff2.Enabled = false | |
3047 | eff.Enabled = false | |
3048 | wait(5) | |
3049 | eff2:Destroy() | |
3050 | eff:Destroy() | |
3051 | end)) | |
3052 | for i = 0, 9 do | |
3053 | sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR) | |
3054 | end | |
3055 | for i = 0, 24 do | |
3056 | local rsiz = math.random(5,20) | |
3057 | sphereMK(math.random(1,5),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0) | |
3058 | end | |
3059 | CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1) | |
3060 | CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1) | |
3061 | CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1) | |
3062 | for i = 0,2,0.1 do | |
3063 | swait() | |
3064 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3) | |
3065 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
3066 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3) | |
3067 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3) | |
3068 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.3) | |
3069 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3) | |
3070 | end | |
3071 | attack = false | |
3072 | end | |
3073 | ||
3074 | ||
3075 | function attackthree() | |
3076 | attack = true | |
3077 | local keptcolor = MAINRUINCOLOR | |
3078 | CFuncs["Sound"].Create("rbxassetid://1042700914", root, 2, 1.75) | |
3079 | for i = 0,1,0.1 do | |
3080 | swait() | |
3081 | sphere2(6,"Add",root.CFrame + root.CFrame.lookVector*2.5,vt(3,3,3),0.01,0.01,0.01,MAINRUINCOLOR) | |
3082 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5) | |
3083 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5) | |
3084 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(-40)), 0.5) | |
3085 | LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.5) | |
3086 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5) | |
3087 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5) | |
3088 | end | |
3089 | CFuncs["Sound"].Create("rbxassetid://1042705869", root, 1.5, 0.9) | |
3090 | CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 0.9) | |
3091 | local angle = -25 | |
3092 | coroutine.resume(coroutine.create(function() | |
3093 | for i = 0, 2 do | |
3094 | local orb = Instance.new("Part", char) | |
3095 | orb.BrickColor = MAINRUINCOLOR | |
3096 | orb.CanCollide = false | |
3097 | orb.FormFactor = 3 | |
3098 | orb.Name = "Ring" | |
3099 | orb.Material = "Neon" | |
3100 | orb.Size = Vector3.new(1, 1, 1) | |
3101 | orb.Transparency = 0.5 | |
3102 | orb.TopSurface = 0 | |
3103 | orb.BottomSurface = 0 | |
3104 | local orbm = Instance.new("SpecialMesh", orb) | |
3105 | orbm.MeshType = "Sphere" | |
3106 | orbm.Name = "SizeMesh" | |
3107 | orbm.Scale = vt(3,3,3) | |
3108 | orb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(angle),0) + root.CFrame.lookVector*2.5 | |
3109 | local bv = Instance.new("BodyVelocity") | |
3110 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3111 | bv.velocity = orb.CFrame.lookVector*100 | |
3112 | bv.Parent = orb | |
3113 | game:GetService("Debris"):AddItem(orb, 10) | |
3114 | sphere2(6,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor) | |
3115 | sphere2(9,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor) | |
3116 | coroutine.resume(coroutine.create(function() | |
3117 | MagniDamage(orb, 6, 8,15, 0, "Normal") | |
3118 | for i = 0, 7 do | |
3119 | swait(2.5) | |
3120 | CameraEnshaking(1,2) | |
3121 | MagniDamage(orb, 6, 8,15, 0, "Normal") | |
3122 | CFuncs["Sound"].Create("rbxassetid://1042693018", orb, 1.5, 1.5) | |
3123 | for i = 0, 4 do | |
3124 | local rsiz = math.random(5,10) | |
3125 | sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,1,0.5),-0.0025,0.25,-0.0025,keptcolor) | |
3126 | sphereMK(math.random(2,6),0.15,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0) | |
3127 | end | |
3128 | sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor) | |
3129 | sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor) | |
3130 | end | |
3131 | orb.Transparency = 1 | |
3132 | orb.Anchored = false | |
3133 | wait(10) | |
3134 | orb:Destroy() | |
3135 | end)) | |
3136 | angle = angle + 25 | |
3137 | end | |
3138 | end)) | |
3139 | for i = 0,1,0.1 do | |
3140 | swait() | |
3141 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3) | |
3142 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
3143 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.3) | |
3144 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3) | |
3145 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.3) | |
3146 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3) | |
3147 | end | |
3148 | attack = false | |
3149 | end | |
3150 | ||
3151 | ||
3152 | ||
3153 | ------------------------------------- Abilities --------------------------------------------------------- | |
3154 | function Crossfire() | |
3155 | attack = true | |
3156 | hum.WalkSpeed = 0 | |
3157 | local vel = Instance.new("BodyPosition", root) | |
3158 | vel.P = 30000 | |
3159 | vel.D = 1000 | |
3160 | vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
3161 | vel.position = root.CFrame.p + vt(0,150,0) | |
3162 | CFuncs["Sound"].Create("rbxassetid://1295446488", root, 7.5, 1) | |
3163 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1) | |
3164 | local keptcolor = MAINRUINCOLOR | |
3165 | sphere2(2,"Add",root.CFrame,vt(25,1,25),-0.05,3,-0.05,keptcolor) | |
3166 | sphere2(2,"Add",root.CFrame,vt(50,1,50),-0.1,6,-0.1,keptcolor) | |
3167 | for i = 0, 24 do | |
3168 | slash(math.random(30,60)/10,3,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.05,0.01,0.05),math.random(25,250)/250,BrickColor.new("White")) | |
3169 | end | |
3170 | for i = 0,3,0.1 do | |
3171 | swait() | |
3172 | sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1.5,1.5),-0.01,0.15,-0.01,keptcolor) | |
3173 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5) | |
3174 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5) | |
3175 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5) | |
3176 | LW.C0 = clerp(LW.C0, CFrame.new(-1.05, 0.5, -0.65) * angles(math.rad(-20), math.rad(0), math.rad(140)), 0.5) | |
3177 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.5) | |
3178 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(10)),.5) | |
3179 | end | |
3180 | local rotz = 25 | |
3181 | coroutine.resume(coroutine.create(function() | |
3182 | for i = 0, 4 do | |
3183 | local orb = Instance.new("Part", char) | |
3184 | orb.BrickColor = keptcolor | |
3185 | orb.CanCollide = false | |
3186 | orb.FormFactor = 3 | |
3187 | orb.Name = "Ring" | |
3188 | orb.Material = "Neon" | |
3189 | orb.Size = Vector3.new(1, 1, 1) | |
3190 | orb.Transparency = 0 | |
3191 | orb.TopSurface = 0 | |
3192 | orb.BottomSurface = 0 | |
3193 | local orbm = Instance.new("SpecialMesh", orb) | |
3194 | orbm.MeshType = "Sphere" | |
3195 | orbm.Name = "SizeMesh" | |
3196 | orbm.Scale = vt(4,4,4) | |
3197 | orb.CFrame = root.CFrame + root.CFrame.lookVector*3 | |
3198 | local eff = Instance.new("ParticleEmitter",orb) | |
3199 | eff.Texture = "rbxassetid://296874871" | |
3200 | eff.LightEmission = 0.95 | |
3201 | eff.Color = ColorSequence.new(orb.BrickColor.Color) | |
3202 | eff.Rate = 500 | |
3203 | eff.Lifetime = NumberRange.new(1.5) | |
3204 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3205 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3206 | eff.Speed = NumberRange.new(25) | |
3207 | eff.Drag = 5 | |
3208 | eff.Rotation = NumberRange.new(-500,500) | |
3209 | eff.VelocitySpread = 9000 | |
3210 | eff.RotSpeed = NumberRange.new(-500,500) | |
3211 | local a = Instance.new("Part",workspace) | |
3212 | a.Name = "Direction" | |
3213 | a.Anchored = true | |
3214 | a.BrickColor = bc("Bright red") | |
3215 | a.Material = "Neon" | |
3216 | a.Transparency = 1 | |
3217 | a.CanCollide = false | |
3218 | local ray = Ray.new( | |
3219 | orb.CFrame.p, -- origin | |
3220 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
3221 | ) | |
3222 | local ignore = orb | |
3223 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
3224 | a.BottomSurface = 10 | |
3225 | a.TopSurface = 10 | |
3226 | local distance = (orb.CFrame.p - position).magnitude | |
3227 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
3228 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
3229 | orb.CFrame = a.CFrame | |
3230 | a:Destroy() | |
3231 | orb.CFrame = orb.CFrame*CFrame.Angles(0,math.rad(rotz),0) | |
3232 | rotz = rotz - 12.5 | |
3233 | CFuncs["Sound"].Create("rbxassetid://335657174", orb, 3, 0.75) | |
3234 | CFuncs["Sound"].Create("rbxassetid://304448425", orb, 3.5, 0.9) | |
3235 | local bv = Instance.new("BodyVelocity") | |
3236 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3237 | bv.velocity = orb.CFrame.lookVector*225 | |
3238 | bv.Parent = orb | |
3239 | game:GetService("Debris"):AddItem(orb, 10) | |
3240 | local hitted = false | |
3241 | local hit =orb.Touched:connect(function(hit) | |
3242 | if hitted == false and hit.Parent ~= char then | |
3243 | hitted = true | |
3244 | eff.Enabled = false | |
3245 | CameraEnshaking(4,4) | |
3246 | for i = 0, 9 do | |
3247 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
3248 | disr.CFrame = orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
3249 | local at1 = Instance.new("Attachment",disr) | |
3250 | at1.Position = vt(-15,0,0) | |
3251 | local at2 = Instance.new("Attachment",disr) | |
3252 | at2.Position = vt(15,0,0) | |
3253 | local trl = Instance.new('Trail',disr) | |
3254 | trl.Attachment0 = at1 | |
3255 | trl.FaceCamera = true | |
3256 | trl.Attachment1 = at2 | |
3257 | trl.Texture = "rbxassetid://2325530138" | |
3258 | trl.LightEmission = 1 | |
3259 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
3260 | trl.Color = ColorSequence.new(keptcolor.Color) | |
3261 | trl.Lifetime = 0.5 | |
3262 | local bv = Instance.new("BodyVelocity") | |
3263 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3264 | bv.velocity = disr.CFrame.lookVector*math.random(75,250) | |
3265 | bv.Parent = disr | |
3266 | local val = 0 | |
3267 | coroutine.resume(coroutine.create(function() | |
3268 | swait(30) | |
3269 | for i = 0, 19 do | |
3270 | swait() | |
3271 | val = val + 0.05 | |
3272 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)}) | |
3273 | end | |
3274 | game:GetService("Debris"):AddItem(disr, 3) | |
3275 | end)) | |
3276 | end | |
3277 | CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 6, 0.7) | |
3278 | CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1) | |
3279 | CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1) | |
3280 | CFuncs["Sound"].Create("rbxassetid://763718160", orb, 7, 1.1) | |
3281 | CFuncs["Sound"].Create("rbxassetid://782353443", orb, 7, 1) | |
3282 | CFuncs["Sound"].Create("rbxassetid://178452221", orb, 6, 0.4) | |
3283 | MagniDamage(orb, 25, 80,140, 0, "Normal") | |
3284 | sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor) | |
3285 | sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor) | |
3286 | sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor) | |
3287 | for i = 0, 9 do | |
3288 | sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor) | |
3289 | end | |
3290 | for i = 0, 19 do | |
3291 | slash(math.random(10,50)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,250)/250,BrickColor.new("White")) | |
3292 | end | |
3293 | for i = 0, 19 do | |
3294 | local rsiz = math.random(10,30) | |
3295 | sphereMK(math.random(2,6),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0) | |
3296 | end | |
3297 | local eff = Instance.new("ParticleEmitter",orb) | |
3298 | eff.Texture = "rbxassetid://296874871" | |
3299 | eff.LightEmission = 0.95 | |
3300 | eff.Color = ColorSequence.new(orb.BrickColor.Color) | |
3301 | eff.Rate = 10000 | |
3302 | eff.Lifetime = NumberRange.new(1.5) | |
3303 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3304 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3305 | eff.Speed = NumberRange.new(150) | |
3306 | eff.Drag = 5 | |
3307 | eff.Rotation = NumberRange.new(-500,500) | |
3308 | eff.VelocitySpread = 9000 | |
3309 | eff.RotSpeed = NumberRange.new(-500,500) | |
3310 | coroutine.resume(coroutine.create(function() | |
3311 | wait(0.25) | |
3312 | eff.Enabled = false | |
3313 | end)) | |
3314 | orb.Anchored = true | |
3315 | orb.Transparency = 1 | |
3316 | wait(10) | |
3317 | orb:Destroy() | |
3318 | end | |
3319 | end) | |
3320 | end | |
3321 | end)) | |
3322 | for i = 0,1,0.1 do | |
3323 | swait() | |
3324 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),0.3) | |
3325 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.3) | |
3326 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3) | |
3327 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3) | |
3328 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.5) | |
3329 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(10)),.5) | |
3330 | end | |
3331 | for i = 0,1,0.1 do | |
3332 | swait() | |
3333 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.3) | |
3334 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3) | |
3335 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3) | |
3336 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-10)), 0.3) | |
3337 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.5) | |
3338 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(10)),.5) | |
3339 | end | |
3340 | coroutine.resume(coroutine.create(function() | |
3341 | for i = 0, 4 do | |
3342 | local orb = Instance.new("Part", char) | |
3343 | orb.BrickColor = keptcolor | |
3344 | orb.CanCollide = false | |
3345 | orb.FormFactor = 3 | |
3346 | orb.Name = "Ring" | |
3347 | orb.Material = "Neon" | |
3348 | orb.Size = Vector3.new(1, 1, 1) | |
3349 | orb.Transparency = 0 | |
3350 | orb.TopSurface = 0 | |
3351 | orb.BottomSurface = 0 | |
3352 | local orbm = Instance.new("SpecialMesh", orb) | |
3353 | orbm.MeshType = "Sphere" | |
3354 | orbm.Name = "SizeMesh" | |
3355 | orbm.Scale = vt(4,4,4) | |
3356 | orb.CFrame = root.CFrame + root.CFrame.lookVector*3 | |
3357 | local eff = Instance.new("ParticleEmitter",orb) | |
3358 | eff.Texture = "rbxassetid://296874871" | |
3359 | eff.LightEmission = 0.95 | |
3360 | eff.Color = ColorSequence.new(orb.BrickColor.Color) | |
3361 | eff.Rate = 500 | |
3362 | eff.Lifetime = NumberRange.new(1.5) | |
3363 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3364 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3365 | eff.Speed = NumberRange.new(25) | |
3366 | eff.Drag = 5 | |
3367 | eff.Rotation = NumberRange.new(-500,500) | |
3368 | eff.VelocitySpread = 9000 | |
3369 | eff.RotSpeed = NumberRange.new(-500,500) | |
3370 | local a = Instance.new("Part",workspace) | |
3371 | a.Name = "Direction" | |
3372 | a.Anchored = true | |
3373 | a.BrickColor = bc("Bright red") | |
3374 | a.Material = "Neon" | |
3375 | a.Transparency = 1 | |
3376 | a.CanCollide = false | |
3377 | local ray = Ray.new( | |
3378 | orb.CFrame.p, -- origin | |
3379 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
3380 | ) | |
3381 | local ignore = orb | |
3382 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
3383 | a.BottomSurface = 10 | |
3384 | a.TopSurface = 10 | |
3385 | local distance = (orb.CFrame.p - position).magnitude | |
3386 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
3387 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
3388 | orb.CFrame = a.CFrame | |
3389 | a:Destroy() | |
3390 | rotz = rotz + 12.5 | |
3391 | orb.CFrame = orb.CFrame*CFrame.Angles(math.rad(rotz),0,0) | |
3392 | CFuncs["Sound"].Create("rbxassetid://335657174", orb, 3, 0.75) | |
3393 | CFuncs["Sound"].Create("rbxassetid://304448425", orb, 3.5, 0.9) | |
3394 | local bv = Instance.new("BodyVelocity") | |
3395 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3396 | bv.velocity = orb.CFrame.lookVector*225 | |
3397 | bv.Parent = orb | |
3398 | game:GetService("Debris"):AddItem(orb, 10) | |
3399 | local hitted = false | |
3400 | local hit =orb.Touched:connect(function(hit) | |
3401 | if hitted == false and hit.Parent ~= char then | |
3402 | hitted = true | |
3403 | eff.Enabled = false | |
3404 | CameraEnshaking(4,4) | |
3405 | for i = 0, 9 do | |
3406 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
3407 | disr.CFrame = orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
3408 | local at1 = Instance.new("Attachment",disr) | |
3409 | at1.Position = vt(-15,0,0) | |
3410 | local at2 = Instance.new("Attachment",disr) | |
3411 | at2.Position = vt(15,0,0) | |
3412 | local trl = Instance.new('Trail',disr) | |
3413 | trl.Attachment0 = at1 | |
3414 | trl.FaceCamera = true | |
3415 | trl.Attachment1 = at2 | |
3416 | trl.Texture = "rbxassetid://2325530138" | |
3417 | trl.LightEmission = 1 | |
3418 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
3419 | trl.Color = ColorSequence.new(keptcolor.Color) | |
3420 | trl.Lifetime = 0.5 | |
3421 | local bv = Instance.new("BodyVelocity") | |
3422 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3423 | bv.velocity = disr.CFrame.lookVector*math.random(75,250) | |
3424 | bv.Parent = disr | |
3425 | local val = 0 | |
3426 | coroutine.resume(coroutine.create(function() | |
3427 | swait(30) | |
3428 | for i = 0, 19 do | |
3429 | swait() | |
3430 | val = val + 0.05 | |
3431 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)}) | |
3432 | end | |
3433 | game:GetService("Debris"):AddItem(disr, 3) | |
3434 | end)) | |
3435 | end | |
3436 | CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 6, 0.7) | |
3437 | CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1) | |
3438 | CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1) | |
3439 | CFuncs["Sound"].Create("rbxassetid://763718160", orb, 7, 1.1) | |
3440 | CFuncs["Sound"].Create("rbxassetid://782353443", orb, 7, 1) | |
3441 | CFuncs["Sound"].Create("rbxassetid://178452221", orb, 6, 0.4) | |
3442 | MagniDamage(orb, 25, 80,140, 0, "Normal") | |
3443 | sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor) | |
3444 | sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor) | |
3445 | sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor) | |
3446 | for i = 0, 9 do | |
3447 | sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor) | |
3448 | end | |
3449 | for i = 0, 19 do | |
3450 | slash(math.random(10,50)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,250)/250,BrickColor.new("White")) | |
3451 | end | |
3452 | for i = 0, 24 do | |
3453 | local rsiz = math.random(10,30) | |
3454 | sphereMK(math.random(1,3),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0) | |
3455 | end | |
3456 | local eff = Instance.new("ParticleEmitter",orb) | |
3457 | eff.Texture = "rbxassetid://296874871" | |
3458 | eff.LightEmission = 0.95 | |
3459 | eff.Color = ColorSequence.new(orb.BrickColor.Color) | |
3460 | eff.Rate = 10000 | |
3461 | eff.Lifetime = NumberRange.new(1.5) | |
3462 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3463 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3464 | eff.Speed = NumberRange.new(150) | |
3465 | eff.Drag = 5 | |
3466 | eff.Rotation = NumberRange.new(-500,500) | |
3467 | eff.VelocitySpread = 9000 | |
3468 | eff.RotSpeed = NumberRange.new(-500,500) | |
3469 | coroutine.resume(coroutine.create(function() | |
3470 | wait(0.25) | |
3471 | eff.Enabled = false | |
3472 | end)) | |
3473 | orb.Anchored = true | |
3474 | orb.Transparency = 1 | |
3475 | wait(10) | |
3476 | orb:Destroy() | |
3477 | end | |
3478 | end) | |
3479 | end | |
3480 | end)) | |
3481 | for i = 0,2,0.1 do | |
3482 | swait() | |
3483 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-80)),0.3) | |
3484 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.3) | |
3485 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3) | |
3486 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.3) | |
3487 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.5) | |
3488 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(10)),.5) | |
3489 | end | |
3490 | vel:Destroy() | |
3491 | hum.WalkSpeed = storehumanoidWS | |
3492 | attack = false | |
3493 | end | |
3494 | ||
3495 | function BeamOfDeath() | |
3496 | attack = true | |
3497 | hum.WalkSpeed = 0 | |
3498 | CFuncs["Sound"].Create("rbxassetid://1368598393", rarm, 8, 1) | |
3499 | for i = 0, 5, 0.1 do | |
3500 | swait() | |
3501 | block(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.01,0.01,0.01,BrickColor.new("Really red"),Color3.new(1,0,0)) | |
3502 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10)),.1) | |
3503 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6)),.1) | |
3504 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(60)),.1) | |
3505 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(-5),math.rad(-60)),.1) | |
3506 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(1),math.rad(60)),.1) | |
3507 | LW.C0=clerp(LW.C0,cf(-0.95,0.65,-0.65)*angles(math.rad(90),math.rad(25),math.rad(73)),.1) | |
3508 | end | |
3509 | CFuncs["Sound"].Create("rbxassetid://335657174", rarm, 8, 1) | |
3510 | for i = 0, 14 do | |
3511 | slash(math.random(10,40)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(25,150)/250,BrickColor.new("Really red")) | |
3512 | end | |
3513 | block(3,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.05,0.05,0.05,BrickColor.new("Really red"),Color3.new(1,0,0)) | |
3514 | block(3,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.1,0.15,0.1,BrickColor.new("Really red"),Color3.new(1,0,0)) | |
3515 | local keptcolor = MAINRUINCOLOR | |
3516 | local orb = Instance.new("Part", char) | |
3517 | orb.BrickColor = keptcolor | |
3518 | orb.CanCollide = false | |
3519 | orb.FormFactor = 3 | |
3520 | orb.Name = "Ring" | |
3521 | orb.Material = "Neon" | |
3522 | orb.Size = Vector3.new(1, 1, 1) | |
3523 | orb.Transparency = 1 | |
3524 | orb.TopSurface = 0 | |
3525 | orb.BottomSurface = 0 | |
3526 | local orbm = Instance.new("SpecialMesh", orb) | |
3527 | orbm.MeshType = "Sphere" | |
3528 | orbm.Name = "SizeMesh" | |
3529 | orbm.Scale = vt(22.5,10000,22.5) | |
3530 | orb.CFrame = mouse.Hit | |
3531 | orb.Anchored = true | |
3532 | orb.Orientation = vt(0,0,0) | |
3533 | orb.CFrame = orb.CFrame*CFrame.new(0,1,0) | |
3534 | CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 2.5, 1) | |
3535 | local bgui,imgc = createBGCircle(300,orb,MAINRUINCOLOR.Color) | |
3536 | bgui.AlwaysOnTop = true | |
3537 | imgc.ImageTransparency = 1 | |
3538 | imgc.Image = "rbxassetid://2325939897" | |
3539 | local over = false | |
3540 | coroutine.resume(coroutine.create(function() | |
3541 | while true do | |
3542 | swait() | |
3543 | imgc.Rotation = imgc.Rotation + 5 | |
3544 | if over == true then | |
3545 | break | |
3546 | end | |
3547 | end | |
3548 | end)) | |
3549 | coroutine.resume(coroutine.create(function() | |
3550 | coroutine.resume(coroutine.create(function() | |
3551 | for i = 0, 399 do | |
3552 | swait() | |
3553 | bgui.Size = bgui.Size - UDim2.new(0.5,0,0.5,0) | |
3554 | imgc.ImageTransparency = imgc.ImageTransparency - 0.0025 | |
3555 | orbm.Scale = orbm.Scale - vt(0.05,0,0.05) | |
3556 | --orb.Transparency = orb.Transparency - 0.0025 | |
3557 | end | |
3558 | end)) | |
3559 | wait(9) | |
3560 | CameraEnshaking(15,5) | |
3561 | for i = 0, 99 do | |
3562 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
3563 | dis.CFrame = orb.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
3564 | local at1 = Instance.new("Attachment",dis) | |
3565 | at1.Position = vt(-25000,0,0) | |
3566 | local at2 = Instance.new("Attachment",dis) | |
3567 | at2.Position = vt(25000,0,0) | |
3568 | local trl = Instance.new('Trail',dis) | |
3569 | trl.Attachment0 = at1 | |
3570 | trl.FaceCamera = true | |
3571 | trl.Attachment1 = at2 | |
3572 | trl.Texture = "rbxassetid://1049219073" | |
3573 | trl.LightEmission = 1 | |
3574 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
3575 | trl.Color = ColorSequence.new(keptcolor.Color) | |
3576 | trl.Lifetime = 5 | |
3577 | local bv = Instance.new("BodyVelocity") | |
3578 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3579 | bv.velocity = dis.CFrame.lookVector*math.random(1500,7500) | |
3580 | bv.Parent = dis | |
3581 | game:GetService("Debris"):AddItem(dis, 15) | |
3582 | end | |
3583 | CFuncs["Sound"].Create("rbxassetid://763718160", char, 6, 1.1) | |
3584 | CFuncs["Sound"].Create("rbxassetid://782353443", char, 6, 1) | |
3585 | CFuncs["LongSound"].Create("rbxassetid://763717897", char, 5, 0.5) | |
3586 | CFuncs["LongSound"].Create("rbxassetid://763717897", char, 4, 0.75) | |
3587 | CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 1) | |
3588 | coroutine.resume(coroutine.create(function() | |
3589 | local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char) | |
3590 | if hfr ~= nil then | |
3591 | for i = 0, 49 do | |
3592 | local deb = Instance.new("Part", char) | |
3593 | deb.Anchored = true | |
3594 | deb.CanCollide = false | |
3595 | deb.FormFactor = 3 | |
3596 | deb.Name = "Ring" | |
3597 | deb.Material = hitfloor.Material | |
3598 | deb.Color = hitfloor.Color | |
3599 | deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55)) | |
3600 | deb.Transparency = 0 | |
3601 | deb.TopSurface = 0 | |
3602 | deb.BottomSurface = 0 | |
3603 | deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
3604 | local deb2 = Instance.new("Part", char) | |
3605 | deb2.CanCollide = false | |
3606 | deb2.FormFactor = 3 | |
3607 | deb2.Name = "Ring" | |
3608 | deb2.Material = hitfloor.Material | |
3609 | deb2.Color = hitfloor.Color | |
3610 | deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38)) | |
3611 | deb2.Transparency = 0 | |
3612 | deb2.TopSurface = 0 | |
3613 | deb2.BottomSurface = 0 | |
3614 | deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150)) | |
3615 | deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
3616 | local eff = Instance.new("ParticleEmitter",deb) | |
3617 | eff.Texture = "rbxassetid://363275192" | |
3618 | eff.LightEmission = 0.95 | |
3619 | eff.Color = ColorSequence.new(keptcolor.Color) | |
3620 | eff.Rate = 100 | |
3621 | eff.Lifetime = NumberRange.new(1) | |
3622 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)}) | |
3623 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3624 | eff.Speed = NumberRange.new(0,5) | |
3625 | eff.Rotation = NumberRange.new(-500,500) | |
3626 | eff.VelocitySpread = 9000 | |
3627 | eff.RotSpeed = NumberRange.new(-10,10) | |
3628 | local at1 = Instance.new('Attachment',deb2) | |
3629 | at1.Position = vt(0,15,0) | |
3630 | local at2 = Instance.new('Attachment',deb2) | |
3631 | at2.Position = vt(0,-15,0) | |
3632 | local tl = Instance.new('Trail',deb2) | |
3633 | tl.Attachment0 = at1 | |
3634 | tl.Attachment1 = at2 | |
3635 | tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
3636 | tl.Color = ColorSequence.new(BrickColor.new('White').Color) | |
3637 | tl.Lifetime = 1 | |
3638 | game:GetService("Debris"):AddItem(deb,30) | |
3639 | game:GetService("Debris"):AddItem(deb2,30) | |
3640 | coroutine.resume(coroutine.create(function() | |
3641 | wait(15) | |
3642 | eff.Enabled = false | |
3643 | for i = 0, 49 do | |
3644 | swait() | |
3645 | deb.Transparency = deb.Transparency + 0.02 | |
3646 | end | |
3647 | wait(1) | |
3648 | deb:Destroy() | |
3649 | end)) | |
3650 | end | |
3651 | end | |
3652 | end)) | |
3653 | for i = 0, 49, 0.1 do | |
3654 | swait(1.5) | |
3655 | bgui.Size = bgui.Size + UDim2.new(45,0,45,0) | |
3656 | imgc.ImageTransparency = imgc.ImageTransparency + 0.01 | |
3657 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do | |
3658 | if v:FindFirstChild('Head') then | |
3659 | dmg(v) | |
3660 | end | |
3661 | end | |
3662 | for i = 0, 2 do | |
3663 | slash(math.random(40,80)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,2500)/250,BrickColor.new("White")) | |
3664 | end | |
3665 | sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor) | |
3666 | sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor) | |
3667 | sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor) | |
3668 | sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor) | |
3669 | end | |
3670 | over = true | |
3671 | orb:Destroy() | |
3672 | end)) | |
3673 | hum.WalkSpeed = storehumanoidWS | |
3674 | attack = false | |
3675 | end | |
3676 | ||
3677 | ||
3678 | ||
3679 | function Beams() | |
3680 | attack = true | |
3681 | hum.WalkSpeed = 0 | |
3682 | local keptcolor = MAINRUINCOLOR | |
3683 | coroutine.resume(coroutine.create(function() | |
3684 | for i = 0, 24 do | |
3685 | swait(5) | |
3686 | local orb = Instance.new("Part", char) | |
3687 | CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1) | |
3688 | orb.BrickColor = keptcolor | |
3689 | orb.CanCollide = false | |
3690 | orb.FormFactor = 3 | |
3691 | orb.Name = "Ring" | |
3692 | orb.Material = "Neon" | |
3693 | orb.Size = Vector3.new(1, 1, 1) | |
3694 | orb.Transparency = 0 | |
3695 | orb.TopSurface = 0 | |
3696 | orb.BottomSurface = 0 | |
3697 | orb.Anchored = true | |
3698 | local orbm = Instance.new("SpecialMesh", orb) | |
3699 | orbm.MeshType = "Sphere" | |
3700 | orbm.Name = "SizeMesh" | |
3701 | orbm.Scale = vt(1.25,1.25,1.25) | |
3702 | orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6)) | |
3703 | sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor) | |
3704 | coroutine.resume(coroutine.create(function() | |
3705 | local eff = Instance.new("ParticleEmitter",orb) | |
3706 | eff.Texture = "rbxassetid://2273224484" | |
3707 | eff.LightEmission = 1 | |
3708 | eff.Color = ColorSequence.new(keptcolor.Color) | |
3709 | eff.Rate = 1500 | |
3710 | eff.Lifetime = NumberRange.new(0.5,1) | |
3711 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.2,1,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3712 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3713 | eff.Speed = NumberRange.new(10,30) | |
3714 | eff.Drag = 5 | |
3715 | eff.Rotation = NumberRange.new(-500,500) | |
3716 | eff.VelocitySpread = 9000 | |
3717 | eff.RotSpeed = NumberRange.new(-500,500) | |
3718 | wait(0.25) | |
3719 | eff.Enabled = false | |
3720 | end)) | |
3721 | coroutine.resume(coroutine.create(function() | |
3722 | wait(0.5) | |
3723 | CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1) | |
3724 | sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor) | |
3725 | sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor) | |
3726 | orb.Transparency = 1 | |
3727 | local a = Instance.new("Part",char) | |
3728 | a.Name = "Direction" | |
3729 | a.Anchored = true | |
3730 | a.BrickColor = keptcolor | |
3731 | a.Material = "Neon" | |
3732 | a.Transparency = 0.25 | |
3733 | a.Shape = "Cylinder" | |
3734 | local ht = Instance.new("Part",char) | |
3735 | ht.Name = "DirectionHit" | |
3736 | ht.Anchored = true | |
3737 | ht.BrickColor = keptcolor | |
3738 | ht.CanCollide = false | |
3739 | ht.Transparency = 1 | |
3740 | ht.Size = vt(0.1,0.1,0.1) | |
3741 | CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.2) | |
3742 | a.CanCollide = false | |
3743 | local ray = Ray.new( | |
3744 | orb.CFrame.p, -- origin | |
3745 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
3746 | ) | |
3747 | local ignore = char | |
3748 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
3749 | a.BottomSurface = 10 | |
3750 | a.TopSurface = 10 | |
3751 | local distance = (orb.CFrame.p - position).magnitude | |
3752 | a.Size = Vector3.new(distance,1,1) | |
3753 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
3754 | ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
3755 | sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor) | |
3756 | sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor) | |
3757 | MagniDamage(ht, 9, 10,15, 0, "Normal") | |
3758 | CameraEnshaking(2,1) | |
3759 | coroutine.resume(coroutine.create(function() | |
3760 | for i = 0, 9 do | |
3761 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
3762 | disr.CFrame = ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
3763 | local at1 = Instance.new("Attachment",disr) | |
3764 | at1.Position = vt(-2,0,0) | |
3765 | local at2 = Instance.new("Attachment",disr) | |
3766 | at2.Position = vt(2,0,0) | |
3767 | local trl = Instance.new('Trail',disr) | |
3768 | trl.Attachment0 = at1 | |
3769 | trl.FaceCamera = true | |
3770 | trl.Attachment1 = at2 | |
3771 | trl.Texture = "rbxassetid://2325530138" | |
3772 | trl.LightEmission = 1 | |
3773 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
3774 | trl.Color = ColorSequence.new(keptcolor.Color) | |
3775 | trl.Lifetime = 0.5 | |
3776 | local bv = Instance.new("BodyVelocity") | |
3777 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3778 | bv.velocity = disr.CFrame.lookVector*math.random(25,100) | |
3779 | bv.Parent = disr | |
3780 | local val = 0 | |
3781 | coroutine.resume(coroutine.create(function() | |
3782 | swait(30) | |
3783 | for i = 0, 9 do | |
3784 | swait() | |
3785 | val = val + 0.1 | |
3786 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)}) | |
3787 | end | |
3788 | game:GetService("Debris"):AddItem(disr, 3) | |
3789 | end)) | |
3790 | end | |
3791 | local eff = Instance.new("ParticleEmitter",ht) | |
3792 | eff.Texture = "rbxassetid://2273224484" | |
3793 | eff.LightEmission = 1 | |
3794 | eff.Color = ColorSequence.new(keptcolor.Color) | |
3795 | eff.Rate = 5000 | |
3796 | eff.Lifetime = NumberRange.new(0.5,1.5) | |
3797 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3798 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3799 | eff.Speed = NumberRange.new(5,100) | |
3800 | eff.Drag = 5 | |
3801 | eff.Rotation = NumberRange.new(-500,500) | |
3802 | eff.VelocitySpread = 9000 | |
3803 | eff.RotSpeed = NumberRange.new(-50,50) | |
3804 | wait(0.25) | |
3805 | eff.Enabled = false | |
3806 | end)) | |
3807 | for i = 0, 4 do | |
3808 | slash(math.random(10,60)/10,5,true,"Round","Add","Out",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(10,50)/250,BrickColor.new("White")) | |
3809 | sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor) | |
3810 | sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor) | |
3811 | local rsiz = math.random(10,30) | |
3812 | sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0) | |
3813 | end | |
3814 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
3815 | local msh = Instance.new("SpecialMesh",a) | |
3816 | msh.MeshType = "Cylinder" | |
3817 | msh.Scale = vt(1,1,1) | |
3818 | for i = 0, 49 do | |
3819 | swait() | |
3820 | msh.Scale = msh.Scale + vt(0,0.01,0.01) | |
3821 | a.Transparency = a.Transparency + 0.02 | |
3822 | end | |
3823 | wait(1) | |
3824 | orb:Destroy() | |
3825 | a:Destroy() | |
3826 | ht:Destroy() | |
3827 | end)) | |
3828 | game:GetService("Debris"):AddItem(orb, 10) | |
3829 | end | |
3830 | end)) | |
3831 | for i = 0,12,0.1 do | |
3832 | swait() | |
3833 | sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor) | |
3834 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3) | |
3835 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3) | |
3836 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3) | |
3837 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3) | |
3838 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.3) | |
3839 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3) | |
3840 | end | |
3841 | hum.WalkSpeed = storehumanoidWS | |
3842 | attack = false | |
3843 | end | |
3844 | ||
3845 | function smiter() | |
3846 | local targetted = nil | |
3847 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
3848 | targetted = mouse.Target.Parent | |
3849 | end | |
3850 | if targetted ~= nil then | |
3851 | attack = true | |
3852 | hum.WalkSpeed = 0 | |
3853 | coroutine.resume(coroutine.create(function() | |
3854 | CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1) | |
3855 | sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR) | |
3856 | local vel = Instance.new("BodyPosition", targetted.Head) | |
3857 | vel.P = 12500 | |
3858 | vel.D = 1000 | |
3859 | vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
3860 | vel.position = targetted.Head.CFrame.p | |
3861 | end)) | |
3862 | CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2) | |
3863 | for i = 0,4,0.1 do | |
3864 | swait() | |
3865 | sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MAINRUINCOLOR) | |
3866 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
3867 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
3868 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
3869 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
3870 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.2) | |
3871 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.2) | |
3872 | end | |
3873 | coroutine.resume(coroutine.create(function() | |
3874 | CameraEnshaking(6,5) | |
3875 | MagniDamage(targetted.Head, 18, 18,30, 0, "Normal") | |
3876 | CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8) | |
3877 | CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8) | |
3878 | CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8) | |
3879 | for i = 0, 19 do | |
3880 | slash(math.random(10,50)/10,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,250)/250,BrickColor.new("White")) | |
3881 | end | |
3882 | sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR) | |
3883 | sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR) | |
3884 | sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR) | |
3885 | sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR) | |
3886 | coroutine.resume(coroutine.create(function() | |
3887 | local eff = Instance.new("ParticleEmitter",targetted.Head) | |
3888 | eff.Texture = "rbxassetid://363275192" | |
3889 | eff.LightEmission = 0.95 | |
3890 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
3891 | eff.Rate = 10000 | |
3892 | eff.Lifetime = NumberRange.new(1.5) | |
3893 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3894 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3895 | eff.Speed = NumberRange.new(25,150) | |
3896 | eff.Drag = 5 | |
3897 | eff.Rotation = NumberRange.new(-500,500) | |
3898 | eff.VelocitySpread = 9000 | |
3899 | eff.RotSpeed = NumberRange.new(-50,50) | |
3900 | local eff2 = eff:Clone() | |
3901 | eff2.Parent = targetted.Head | |
3902 | eff2.LightEmission = 1 | |
3903 | eff2.Color = ColorSequence.new(Color3.new(0.75,0.5,1)) | |
3904 | eff2.Texture = "rbxassetid://2273224484" | |
3905 | eff2.Rate = 10000 | |
3906 | eff2.Lifetime = NumberRange.new(1,3) | |
3907 | eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,10,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3908 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3909 | eff2.Drag = 5 | |
3910 | eff2.Speed = NumberRange.new(50,250) | |
3911 | eff2.Rotation = NumberRange.new(-500,500) | |
3912 | eff2.VelocitySpread = 9000 | |
3913 | wait(0.5) | |
3914 | eff2.Enabled = false | |
3915 | eff.Enabled = false | |
3916 | end)) | |
3917 | for i = 0, 9 do | |
3918 | sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR) | |
3919 | end | |
3920 | for i = 0, 49 do | |
3921 | local rsiz = math.random(10,50) | |
3922 | sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) | |
3923 | end | |
3924 | game:GetService("Debris"):AddItem(vel,1) | |
3925 | dmg(targetted) | |
3926 | end)) | |
3927 | for i = 0,1,0.1 do | |
3928 | swait() | |
3929 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5) | |
3930 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5) | |
3931 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5) | |
3932 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5) | |
3933 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5) | |
3934 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.5) | |
3935 | end | |
3936 | attack = false | |
3937 | hum.WalkSpeed = storehumanoidWS | |
3938 | end | |
3939 | end | |
3940 | ||
3941 | function supsmiter() | |
3942 | local targetted = nil | |
3943 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
3944 | targetted = mouse.Target.Parent | |
3945 | end | |
3946 | if targetted ~= nil then | |
3947 | attack = true | |
3948 | hum.WalkSpeed = 0 | |
3949 | coroutine.resume(coroutine.create(function() | |
3950 | CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 5, 0.5) | |
3951 | local vel = Instance.new("BodyPosition", targetted.Head) | |
3952 | vel.P = 12500 | |
3953 | vel.D = 1000 | |
3954 | vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
3955 | vel.position = targetted.Head.CFrame.p + vt(0,10,0) | |
3956 | for i,v in pairs(targetted:GetChildren()) do | |
3957 | if v:IsA("Part") or v:IsA("MeshPart") then | |
3958 | coroutine.resume(coroutine.create(function() | |
3959 | local bld = Instance.new("ParticleEmitter",v) | |
3960 | bld.LightEmission = 0.75 | |
3961 | bld.Texture = "rbxassetid://363275192" ---284205403 | |
3962 | bld.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
3963 | bld.Rate = 500 | |
3964 | bld.Lifetime = NumberRange.new(1) | |
3965 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3966 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3967 | bld.Speed = NumberRange.new(2,5) | |
3968 | bld.VelocitySpread = 50000 | |
3969 | bld.Rotation = NumberRange.new(-500,500) | |
3970 | bld.RotSpeed = NumberRange.new(-500,500) | |
3971 | end)) | |
3972 | end | |
3973 | end | |
3974 | local A1 = Instance.new("Attachment",sorb2) | |
3975 | local A2 = Instance.new("Attachment",targetted.Head) | |
3976 | local Beem = Instance.new("Beam",targetted.Head) | |
3977 | Beem.Attachment0 = A1 | |
3978 | Beem.Attachment1 = A2 | |
3979 | Beem.LightEmission = 1 | |
3980 | Beem.FaceCamera = true | |
3981 | Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)}) | |
3982 | Beem.Width0 = 1 | |
3983 | Beem.Width1 = 1 | |
3984 | Beem.Texture = "rbxassetid://1134824633" | |
3985 | Beem.TextureMode = "Wrap" | |
3986 | Beem.TextureLength = 2 | |
3987 | Beem.TextureSpeed = 5 | |
3988 | Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
3989 | end)) | |
3990 | local rd = math.random(1,5) | |
3991 | if rd == 1 then | |
3992 | chatfunc("Your fate goes here.",MAINRUINCOLOR.Color,"Inverted","Antique",1.5) | |
3993 | elseif rd == 2 then | |
3994 | chatfunc("You're nonexistant.",MAINRUINCOLOR.Color,"Inverted","Antique",1.5) | |
3995 | elseif rd == 3 then | |
3996 | chatfunc("Sigh... you really make me bored, dont ya?",MAINRUINCOLOR.Color,"Inverted","Antique",1.5) | |
3997 | elseif rd == 4 then | |
3998 | chatfunc("Nothing will exist into you after you're gone!",MAINRUINCOLOR.Color,"Inverted","Antique",1.5) | |
3999 | elseif rd == 5 then | |
4000 | chatfunc("You're a disgrace to this universe!",MAINRUINCOLOR.Color,"Inverted","Antique",1.5) | |
4001 | end | |
4002 | CFuncs["Sound"].Create("rbxassetid://1042700914", sorb2, 2.5, 0.25) | |
4003 | for i = 0,14,0.1 do | |
4004 | swait() | |
4005 | rsiz = math.random(5,15) | |
4006 | sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15) | |
4007 | sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1.5,1.5),-0.01,0.15,-0.01,MAINRUINCOLOR) | |
4008 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
4009 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
4010 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
4011 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
4012 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) | |
4013 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2) | |
4014 | end | |
4015 | sphere2(3,"Add",sorb2.CFrame,vt(0,0,0),0.1,0.1,0.1,MAINRUINCOLOR) | |
4016 | sphere2(3,"Add",sorb2.CFrame,vt(0,0,0),0.2,0.2,0.2,MAINRUINCOLOR) | |
4017 | CFuncs["Sound"].Create("rbxassetid://1368637781", sorb2, 2.5, 1.1) | |
4018 | coroutine.resume(coroutine.create(function() | |
4019 | local ref = Instance.new("Part", char) | |
4020 | ref.Anchored = true | |
4021 | ref.CanCollide = false | |
4022 | ref.Transparency = 1 | |
4023 | ref.CFrame = targetted.Head.CFrame | |
4024 | sphere2(1,"Add",targetted.Head.CFrame,vt(8,8,8),0.25,0.25,0.25,MAINRUINCOLOR) | |
4025 | sphere2(2,"Add",targetted.Head.CFrame,vt(8,8,8),0.5,0.5,0.5,MAINRUINCOLOR) | |
4026 | sphere2(3,"Add",targetted.Head.CFrame,vt(8,8,8),0.75,0.75,0.75,MAINRUINCOLOR) | |
4027 | for i = 0, 24 do | |
4028 | slash(math.random(10,25)/10,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.001,0.001,0.001),math.random(25,250)/250,BrickColor.new("White")) | |
4029 | end | |
4030 | targetted.Head.Parent:Destroy() | |
4031 | CFuncs["Sound"].Create("rbxassetid://1368637781", ref, 10, 1) | |
4032 | CFuncs["Sound"].Create("rbxassetid://763718160", ref, 10, 1.1) | |
4033 | CFuncs["Sound"].Create("rbxassetid://782353443", ref, 10, 1) | |
4034 | CFuncs["Sound"].Create("rbxassetid://335657174", ref, 10, 1) | |
4035 | wait(5) | |
4036 | ref:Destroy() | |
4037 | end)) | |
4038 | attack = false | |
4039 | hum.WalkSpeed = storehumanoidWS | |
4040 | end | |
4041 | end | |
4042 | ||
4043 | function BinaryBLINK() | |
4044 | for i = 0, 9 do | |
4045 | sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) | |
4046 | end | |
4047 | sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) | |
4048 | coroutine.resume(coroutine.create(function() | |
4049 | local eff = Instance.new("ParticleEmitter",root) | |
4050 | eff.Texture = "rbxassetid://1175838406" | |
4051 | eff.LightEmission = 0.95 | |
4052 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
4053 | eff.Rate = 10000 | |
4054 | eff.Lifetime = NumberRange.new(1) | |
4055 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4056 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4057 | eff.Speed = NumberRange.new(30,160) | |
4058 | eff.Drag = 5 | |
4059 | eff.Rotation = NumberRange.new(-500,500) | |
4060 | eff.VelocitySpread = 100000 | |
4061 | wait(0.25) | |
4062 | eff.Enabled = false | |
4063 | wait(4) | |
4064 | eff:Destroy() | |
4065 | end)) | |
4066 | CFuncs["Sound"].Create("rbxassetid://335657174", root, 5, 1) | |
4067 | CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1) | |
4068 | RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0) | |
4069 | CameraEnshaking(2,10) | |
4070 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do | |
4071 | if v:FindFirstChild('Head') then | |
4072 | dmg(v) | |
4073 | end | |
4074 | end | |
4075 | for i = 0, 9 do | |
4076 | sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) | |
4077 | end | |
4078 | sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) | |
4079 | end | |
4080 | ||
4081 | function BinaryE() | |
4082 | local posit = -2 | |
4083 | attack = true | |
4084 | hum.WalkSpeed = 5 | |
4085 | CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1) | |
4086 | for i = 0,2,0.1 do | |
4087 | swait() | |
4088 | sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR) | |
4089 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5) | |
4090 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5) | |
4091 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5) | |
4092 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5) | |
4093 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5) | |
4094 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5) | |
4095 | end | |
4096 | for i = 0, 2 do | |
4097 | CameraEnshaking(1,2) | |
4098 | local hite = Instance.new("Part", char) | |
4099 | hite.Anchored = true | |
4100 | hite.CanCollide = false | |
4101 | hite.FormFactor = 3 | |
4102 | hite.Name = "Ring" | |
4103 | hite.Material = "Neon" | |
4104 | hite.Size = Vector3.new(1, 1, 1) | |
4105 | hite.Transparency = 1 | |
4106 | hite.TopSurface = 0 | |
4107 | hite.BottomSurface = 0 | |
4108 | hite.CFrame = root.CFrame*CFrame.new(0,posit,-5) | |
4109 | CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9) | |
4110 | CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8) | |
4111 | coroutine.resume(coroutine.create(function() | |
4112 | local eff = Instance.new("ParticleEmitter",hite) | |
4113 | eff.Texture = "rbxassetid://1175838406" | |
4114 | eff.LightEmission = 0.95 | |
4115 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
4116 | eff.Rate = 1000 | |
4117 | eff.Lifetime = NumberRange.new(1) | |
4118 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4119 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4120 | eff.Speed = NumberRange.new(10,50) | |
4121 | eff.Drag = 5 | |
4122 | eff.Rotation = NumberRange.new(-500,500) | |
4123 | eff.VelocitySpread = 100000 | |
4124 | wait(0.25) | |
4125 | eff.Enabled = false | |
4126 | end)) | |
4127 | coroutine.resume(coroutine.create(function() | |
4128 | for i = 0, 1 do | |
4129 | swait() | |
4130 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
4131 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
4132 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
4133 | end | |
4134 | end)) | |
4135 | sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR) | |
4136 | MagniDamage(hite, 3, 30,40, 0, "Normal") | |
4137 | game:GetService("Debris"):AddItem(hite, 5) | |
4138 | posit = posit + 2 | |
4139 | end | |
4140 | for i = 0,1,0.1 do | |
4141 | swait() | |
4142 | sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR) | |
4143 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5) | |
4144 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5) | |
4145 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5) | |
4146 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5) | |
4147 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5) | |
4148 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5) | |
4149 | end | |
4150 | for i = 0,1,0.1 do | |
4151 | swait() | |
4152 | sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR) | |
4153 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5) | |
4154 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5) | |
4155 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5) | |
4156 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5) | |
4157 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5) | |
4158 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5) | |
4159 | end | |
4160 | posit = -6 | |
4161 | for i = 0, 6 do | |
4162 | CameraEnshaking(1,3) | |
4163 | local hite = Instance.new("Part", char) | |
4164 | hite.Anchored = true | |
4165 | hite.CanCollide = false | |
4166 | hite.FormFactor = 3 | |
4167 | hite.Name = "Ring" | |
4168 | hite.Material = "Neon" | |
4169 | hite.Size = Vector3.new(1, 1, 1) | |
4170 | hite.Transparency = 1 | |
4171 | hite.TopSurface = 0 | |
4172 | hite.BottomSurface = 0 | |
4173 | hite.CFrame = root.CFrame*CFrame.new(posit,0,-5) | |
4174 | CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2) | |
4175 | CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1) | |
4176 | sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR) | |
4177 | coroutine.resume(coroutine.create(function() | |
4178 | local eff = Instance.new("ParticleEmitter",hite) | |
4179 | eff.Texture = "rbxassetid://1175838406" | |
4180 | eff.LightEmission = 0.95 | |
4181 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
4182 | eff.Rate = 1000 | |
4183 | eff.Lifetime = NumberRange.new(1) | |
4184 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4185 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4186 | eff.Speed = NumberRange.new(20,70) | |
4187 | eff.Drag = 5 | |
4188 | eff.Rotation = NumberRange.new(-500,500) | |
4189 | eff.VelocitySpread = 100000 | |
4190 | wait(0.25) | |
4191 | eff.Enabled = false | |
4192 | end)) | |
4193 | coroutine.resume(coroutine.create(function() | |
4194 | for i = 0, 2 do | |
4195 | swait() | |
4196 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
4197 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
4198 | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) | |
4199 | end | |
4200 | end)) | |
4201 | MagniDamage(hite, 5, 40,70, 0, "Normal") | |
4202 | game:GetService("Debris"):AddItem(hite, 5) | |
4203 | posit = posit + 2 | |
4204 | end | |
4205 | for i = 0,1,0.1 do | |
4206 | swait() | |
4207 | sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR) | |
4208 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5) | |
4209 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5) | |
4210 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5) | |
4211 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5) | |
4212 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5) | |
4213 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5) | |
4214 | end | |
4215 | hum.WalkSpeed = storehumanoidWS | |
4216 | attack = false | |
4217 | end | |
4218 | ||
4219 | ||
4220 | ||
4221 | function AZUREFINALE() | |
4222 | attack = true | |
4223 | duringend = true | |
4224 | hum.WalkSpeed = 0 | |
4225 | CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75) | |
4226 | CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05) | |
4227 | local hite = Instance.new("Part", char) | |
4228 | hite.Anchored = true | |
4229 | hite.CanCollide = false | |
4230 | hite.FormFactor = 3 | |
4231 | hite.Name = "Ring" | |
4232 | hite.Material = "Neon" | |
4233 | hite.Size = Vector3.new(1, 1, 1) | |
4234 | hite.Transparency = 0 | |
4235 | hite.TopSurface = 0 | |
4236 | hite.BottomSurface = 0 | |
4237 | hite.BrickColor = MAINRUINCOLOR | |
4238 | local orbm = Instance.new("SpecialMesh", hite) | |
4239 | orbm.MeshType = "Sphere" | |
4240 | orbm.Name = "SizeMesh" | |
4241 | orbm.Scale = vt(0,0,0) | |
4242 | hite.CFrame = root.CFrame*CFrame.new(0,200,0) | |
4243 | for i = 0,70,0.1 do | |
4244 | swait() | |
4245 | orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5) | |
4246 | rsiz = math.random(10,45) | |
4247 | kan.Volume = kan.Volume + 0.01 | |
4248 | kan.Pitch = kan.Pitch - 0.00135 | |
4249 | sphereMK(math.random(1,4),2.5,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/2,rsiz/2,rsiz/2,0,MAINRUINCOLOR,-300) | |
4250 | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,1.5,10),-0.01,10,-0.01,MAINRUINCOLOR) | |
4251 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
4252 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
4253 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
4254 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
4255 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) | |
4256 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2) | |
4257 | end | |
4258 | kan.Pitch = 0.1 | |
4259 | hite.Transparency = 1 | |
4260 | for i = 0,2 do | |
4261 | CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9) | |
4262 | end | |
4263 | CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75) | |
4264 | sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),-5,-5,-5,MAINRUINCOLOR) | |
4265 | sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),2,2,2,MAINRUINCOLOR) | |
4266 | sphere2(2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),3,3,3,MAINRUINCOLOR) | |
4267 | coroutine.resume(coroutine.create(function() | |
4268 | local eff = Instance.new("ParticleEmitter",hite) | |
4269 | eff.Texture = "rbxassetid://284205403" | |
4270 | eff.LightEmission = 0.95 | |
4271 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
4272 | eff.Rate = 10000 | |
4273 | eff.Lifetime = NumberRange.new(5) | |
4274 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4275 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4276 | eff.Speed = NumberRange.new(600,1250) | |
4277 | eff.Drag = 5 | |
4278 | eff.Rotation = NumberRange.new(-500,500) | |
4279 | eff.VelocitySpread = 9000 | |
4280 | eff.RotSpeed = NumberRange.new(-500,500) | |
4281 | wait(1) | |
4282 | eff.Enabled = false | |
4283 | end)) | |
4284 | for i = 0,5,0.1 do | |
4285 | swait() | |
4286 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
4287 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
4288 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
4289 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
4290 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) | |
4291 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2) | |
4292 | end | |
4293 | local adsc = 0 | |
4294 | local radiatezone = 0 | |
4295 | for i = 0,20,0.1 do | |
4296 | swait() | |
4297 | adsc = adsc + 0.025 | |
4298 | radiatezone = radiatezone + 1.25 | |
4299 | sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR) | |
4300 | for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do | |
4301 | if v:FindFirstChild('Head') then | |
4302 | dmg(v) | |
4303 | end | |
4304 | end | |
4305 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
4306 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
4307 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
4308 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
4309 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) | |
4310 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2) | |
4311 | end | |
4312 | for i = 0,2 do | |
4313 | CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9) | |
4314 | end | |
4315 | for i = 0,40,0.1 do | |
4316 | swait() | |
4317 | adsc = adsc + 0.05 | |
4318 | radiatezone = radiatezone + 2.5 | |
4319 | sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR) | |
4320 | for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do | |
4321 | if v:FindFirstChild('Head') then | |
4322 | dmg(v) | |
4323 | end | |
4324 | end | |
4325 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
4326 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
4327 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
4328 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
4329 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) | |
4330 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2) | |
4331 | end | |
4332 | for i = 0,4 do | |
4333 | CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75) | |
4334 | CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75) | |
4335 | end | |
4336 | for i = 0,80,0.1 do | |
4337 | swait() | |
4338 | adsc = adsc + 0.075 | |
4339 | radiatezone = radiatezone + 3.75 | |
4340 | sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR) | |
4341 | for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do | |
4342 | if v:FindFirstChild('Head') then | |
4343 | dmg(v) | |
4344 | end | |
4345 | end | |
4346 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
4347 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
4348 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
4349 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
4350 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) | |
4351 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2) | |
4352 | end | |
4353 | hite:Destroy() | |
4354 | duringend = false | |
4355 | hum.WalkSpeed = storehumanoidWS | |
4356 | attack = false | |
4357 | end | |
4358 | ||
4359 | function AzureVANISHMENT() | |
4360 | attack = true | |
4361 | hum.WalkSpeed = 0 | |
4362 | local truescale = 0 | |
4363 | local rd = math.random(1,3) | |
4364 | if rd == 1 then | |
4365 | chatfunc("This is your end!",MAINRUINCOLOR.Color,"Inverted","Antique",2.5) | |
4366 | elseif rd == 2 then | |
4367 | chatfunc("Pathetic.",MAINRUINCOLOR.Color,"Inverted","Antique",2.5) | |
4368 | elseif rd == 3 then | |
4369 | chatfunc("Time to end this.",MAINRUINCOLOR.Color,"Inverted","Antique",2.5) | |
4370 | end | |
4371 | CFuncs["LongSound"].Create("rbxassetid://1368583274", char, 10, 0.25) | |
4372 | for i = 0,49,0.1 do | |
4373 | swait() | |
4374 | truescale = truescale + 0.2 | |
4375 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
4376 | slash(5,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,75,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,0.01,3),-3,BrickColor.new("Royal purple")) | |
4377 | block(10,"Add",root.CFrame*CFrame.new(0,75,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(truescale,truescale,truescale),0.01,0.01,0.01,BrickColor.new("Magenta"),BrickColor.new("Magenta").Color) | |
4378 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(5),math.rad(-10)),.5) | |
4379 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(5)),.5) | |
4380 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(40)),.5) | |
4381 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.5) | |
4382 | RW.C0=clerp(RW.C0,cf(1.45,1,0.1)*angles(math.rad(180),math.rad(-30),math.rad(-5)),.5) | |
4383 | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-10)),.5) | |
4384 | end | |
4385 | hum.CameraOffset = vt(0,0,0) | |
4386 | CFuncs["Sound"].Create("rbxassetid://260411131", rarm, 7.5, 1) | |
4387 | for i = 0,2,0.1 do | |
4388 | swait() | |
4389 | block(10,"Add",rarm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.01,0.01,0.01,BrickColor.new("Magenta"),BrickColor.new("Magenta").Color) | |
4390 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(5),math.rad(-10)),.5) | |
4391 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(5)),.5) | |
4392 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(55)),.5) | |
4393 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-55)),.5) | |
4394 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.6)*angles(math.rad(90),math.rad(0),math.rad(-50)),.5) | |
4395 | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-10)),.5) | |
4396 | end | |
4397 | local orb = Instance.new("Part", char) | |
4398 | for i = 0, 4 do | |
4399 | CFuncs["Sound"].Create("rbxassetid://335657174", char, 7.5, 0.5) | |
4400 | end | |
4401 | local efec = Instance.new("ParticleEmitter",orb) | |
4402 | efec.Texture = "rbxassetid://2109052855" | |
4403 | efec.LightEmission = 1 | |
4404 | efec.Color = ColorSequence.new(Color3.new(0.5,0,1)) | |
4405 | efec.Rate = 5 | |
4406 | efec.Lifetime = NumberRange.new(3) | |
4407 | efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(0.2,175,0),NumberSequenceKeypoint.new(0.6,110,0),NumberSequenceKeypoint.new(0.8,175,0),NumberSequenceKeypoint.new(1,200,0)}) | |
4408 | efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4409 | efec.Drag = 5 | |
4410 | efec.LockedToPart = true | |
4411 | efec.Rotation = NumberRange.new(-500,500) | |
4412 | efec.VelocitySpread = 9000 | |
4413 | efec.RotSpeed = NumberRange.new(-500,500) | |
4414 | orb.BrickColor = BrickColor.new("Magenta") | |
4415 | orb.CanCollide = false | |
4416 | orb.FormFactor = 3 | |
4417 | orb.Name = "Ring" | |
4418 | orb.Material = "Neon" | |
4419 | orb.Size = Vector3.new(1, 1, 1) | |
4420 | orb.Transparency = 0 | |
4421 | orb.TopSurface = 0 | |
4422 | orb.BottomSurface = 0 | |
4423 | local orbm = Instance.new("SpecialMesh", orb) | |
4424 | orbm.MeshType = "Sphere" | |
4425 | orbm.Name = "SizeMesh" | |
4426 | orbm.Scale = vt(25,25,25) | |
4427 | orb.CFrame = root.CFrame + root.CFrame.lookVector*3 | |
4428 | local a = Instance.new("Part",workspace) | |
4429 | a.Name = "Direction" | |
4430 | a.Anchored = true | |
4431 | a.BrickColor = bc("Bright red") | |
4432 | a.Material = "Neon" | |
4433 | a.Transparency = 1 | |
4434 | a.CanCollide = false | |
4435 | local ray = Ray.new( | |
4436 | orb.CFrame.p, -- origin | |
4437 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
4438 | ) | |
4439 | local ignore = orb | |
4440 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4441 | a.BottomSurface = 10 | |
4442 | a.TopSurface = 10 | |
4443 | local distance = (orb.CFrame.p - position).magnitude | |
4444 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
4445 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
4446 | orb.CFrame = a.CFrame | |
4447 | a:Destroy() | |
4448 | local over = false | |
4449 | local bgui,imgc = createBGCircle(250,orb,Color3.new(0.5,0,1)) | |
4450 | bgui.AlwaysOnTop = true | |
4451 | imgc.Image = "rbxassetid://2076519836" | |
4452 | coroutine.resume(coroutine.create(function() | |
4453 | while true do | |
4454 | swait() | |
4455 | if over == false then | |
4456 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
4457 | coroutine.resume(coroutine.create(function() | |
4458 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 100)) do | |
4459 | if v:FindFirstChild('Head') then | |
4460 | dmg(v) | |
4461 | end | |
4462 | end | |
4463 | end)) | |
4464 | slash(10,2,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),1,BrickColor.new("Dark indigo")) | |
4465 | imgc.Rotation = imgc.Rotation + 5 | |
4466 | imgc.ImageTransparency = 0.75 + 0.25 * math.cos(sine / 15) | |
4467 | bgui.Size = UDim2.new(250 + 25 * math.cos(sine / 15),0, 250 + 25 * math.cos(sine / 15),0) | |
4468 | elseif over == true then | |
4469 | break | |
4470 | end | |
4471 | end | |
4472 | end)) | |
4473 | local bv = Instance.new("BodyVelocity") | |
4474 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4475 | bv.velocity = orb.CFrame.lookVector*50 | |
4476 | bv.Parent = orb | |
4477 | coroutine.resume(coroutine.create(function() | |
4478 | wait(10) | |
4479 | hum.CameraOffset = vt(0,0,0) | |
4480 | over = true | |
4481 | efec.Enabled = false | |
4482 | orb.Anchored = true | |
4483 | for i = 0, 2 do | |
4484 | CFuncs["Sound"].Create("rbxassetid://1664711478", char, 10,1) | |
4485 | CFuncs["LongSound"].Create("rbxassetid://763717897", char, 10, 0.5) | |
4486 | CFuncs["LongSound"].Create("rbxassetid://763717897", char, 7.5, 0.25) | |
4487 | CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.9) | |
4488 | CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 0.5) | |
4489 | CFuncs["Sound"].Create("rbxassetid://335657174", char, 5, 0.75) | |
4490 | CFuncs["LongSound"].Create("rbxassetid://335657174", char, 10, 0.25) | |
4491 | CFuncs["Sound"].Create("rbxassetid://167115397", char, 10, 1) | |
4492 | CFuncs["LongSound"].Create("rbxassetid://167115397", char, 10, 0.75) | |
4493 | CFuncs["LongSound"].Create("rbxassetid://167115397", char, 10, 0.5) | |
4494 | end | |
4495 | for i = 0, 2 do | |
4496 | block(3,"Add",orb.CFrame,vt(1,1,1),6.5,6.5,6.5,BrickColor.new("Dark indigo"),BrickColor.new("Dark indigo").Color) | |
4497 | block(2,"Add",orb.CFrame,vt(1,1,1),6,6,6,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color) | |
4498 | block(1,"Add",orb.CFrame,vt(1,1,1),4.5,4.5,4.5,BrickColor.new("Magenta"),BrickColor.new("Magenta").Color) | |
4499 | end | |
4500 | for i = 0, 49 do | |
4501 | slash(math.random(10,30)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,2500)/250,BrickColor.new("Royal purple")) | |
4502 | end | |
4503 | imgc.ImageTransparency = 0 | |
4504 | --CameraEnshaking(20,30) | |
4505 | for i = 0, 199 do | |
4506 | swait() | |
4507 | --[[coroutine.resume(coroutine.create(function() | |
4508 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 5000)) do | |
4509 | if v:FindFirstChild('Head') then | |
4510 | dmg(v) | |
4511 | end | |
4512 | end | |
4513 | end))]]-- | |
4514 | imgc.Rotation = imgc.Rotation + 10 | |
4515 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
4516 | dis.CFrame = orb.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
4517 | local at1 = Instance.new("Attachment",dis) | |
4518 | at1.Position = vt(-25000,0,0) | |
4519 | local at2 = Instance.new("Attachment",dis) | |
4520 | at2.Position = vt(25000,0,0) | |
4521 | local trl = Instance.new('Trail',dis) | |
4522 | trl.Attachment0 = at1 | |
4523 | trl.FaceCamera = true | |
4524 | trl.Attachment1 = at2 | |
4525 | trl.Texture = "rbxassetid://1049219073" | |
4526 | trl.LightEmission = 1 | |
4527 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
4528 | trl.Color = ColorSequence.new(orb.Color) | |
4529 | trl.Lifetime = 5 | |
4530 | local bv = Instance.new("BodyVelocity") | |
4531 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4532 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
4533 | bv.Parent = dis | |
4534 | game:GetService("Debris"):AddItem(dis, 5) | |
4535 | sphere2(15,"Add",orb.CFrame,vt(1.25,1.25,1.25),45,45,45,BrickColor.new("Royal purple")) | |
4536 | for i = 0, 2 do | |
4537 | slash(15,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),25,BrickColor.new("Really black")) | |
4538 | slash(15,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),50,BrickColor.new("Dark indigo")) | |
4539 | end | |
4540 | orbm.Scale = orbm.Scale + vt(10,10,10) | |
4541 | orb.Transparency = orb.Transparency + 0.005 | |
4542 | imgc.ImageTransparency = imgc.ImageTransparency + 0.005 | |
4543 | bgui.Size = bgui.Size + UDim2.new(35,0,35,0) | |
4544 | end | |
4545 | hum.CameraOffset = vt(0,0,0) | |
4546 | game:GetService("Debris"):AddItem(orb, 10) | |
4547 | end)) | |
4548 | for i = 0,2,0.1 do | |
4549 | swait() | |
4550 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(5),math.rad(-10)),.5) | |
4551 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(20),math.rad(10)),.5) | |
4552 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,1)*angles(math.rad(5),math.rad(0),math.rad(-45)),.5) | |
4553 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(45)),.5) | |
4554 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(50)),.5) | |
4555 | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(20),math.rad(10),math.rad(-30)),.5) | |
4556 | end | |
4557 | attack = false | |
4558 | hum.WalkSpeed = storehumanoidWS | |
4559 | end | |
4560 | ||
4561 | function GalacticalBeams() | |
4562 | attack = true | |
4563 | local keptcolor = MAINRUINCOLOR | |
4564 | coroutine.resume(coroutine.create(function() | |
4565 | for i = 0, 0 do | |
4566 | swait(10) | |
4567 | local orb = Instance.new("Part", char) | |
4568 | CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1) | |
4569 | orb.BrickColor = keptcolor | |
4570 | orb.CanCollide = false | |
4571 | orb.FormFactor = 3 | |
4572 | orb.Name = "Ring" | |
4573 | orb.Material = "Neon" | |
4574 | orb.Size = Vector3.new(1, 1, 1) | |
4575 | orb.Transparency = 1 | |
4576 | orb.TopSurface = 0 | |
4577 | orb.BottomSurface = 0 | |
4578 | orb.Anchored = true | |
4579 | local orbm = Instance.new("SpecialMesh", orb) | |
4580 | orbm.MeshType = "Sphere" | |
4581 | orbm.Name = "SizeMesh" | |
4582 | orbm.Scale = vt(1.25,1.25,1.25) | |
4583 | orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25)) | |
4584 | coroutine.resume(coroutine.create(function() | |
4585 | orb.Transparency = 1 | |
4586 | local a = Instance.new("Part",char) | |
4587 | a.Name = "Direction" | |
4588 | a.Anchored = true | |
4589 | a.BrickColor = keptcolor | |
4590 | a.Material = "Neon" | |
4591 | a.Transparency = 1 | |
4592 | a.Shape = "Cylinder" | |
4593 | local x = Instance.new("Part",char) | |
4594 | x.Name = "Direction" | |
4595 | x.Anchored = true | |
4596 | x.BrickColor = keptcolor | |
4597 | x.Material = "Neon" | |
4598 | x.Transparency = 1 | |
4599 | x.Shape = "Cylinder" | |
4600 | local ht = Instance.new("Part",char) | |
4601 | ht.Name = "DirectionHit" | |
4602 | ht.Anchored = true | |
4603 | ht.BrickColor = keptcolor | |
4604 | ht.CanCollide = false | |
4605 | ht.Transparency = 1 | |
4606 | ht.Size = vt(0.1,0.1,0.1) | |
4607 | a.CanCollide = false | |
4608 | local ray = Ray.new( | |
4609 | orb.CFrame.p, -- origin | |
4610 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4611 | ) | |
4612 | local ignore = char | |
4613 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4614 | a.BottomSurface = 10 | |
4615 | a.TopSurface = 10 | |
4616 | local distance = (orb.CFrame.p - position).magnitude | |
4617 | a.Size = Vector3.new(distance,1,1) | |
4618 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4619 | ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4620 | x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
4621 | local poste = 0 | |
4622 | local rotation = 0 | |
4623 | CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1) | |
4624 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor) | |
4625 | CameraEnshaking(2,2) | |
4626 | coroutine.resume(coroutine.create(function() | |
4627 | local eff = Instance.new("ParticleEmitter",orb) | |
4628 | eff.Texture = "rbxassetid://2273224484" | |
4629 | eff.LightEmission = 1 | |
4630 | eff.Color = ColorSequence.new(keptcolor.Color) | |
4631 | eff.Rate = 15000 | |
4632 | eff.Lifetime = NumberRange.new(2.5,5) | |
4633 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,60,0),NumberSequenceKeypoint.new(0.2,3,0),NumberSequenceKeypoint.new(0.8,24,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4634 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4635 | eff.Speed = NumberRange.new(100,650) | |
4636 | eff.Drag = 5 | |
4637 | eff.Rotation = NumberRange.new(-500,500) | |
4638 | eff.VelocitySpread = 9000 | |
4639 | eff.RotSpeed = NumberRange.new(-50,50) | |
4640 | wait(0.35) | |
4641 | eff.Enabled = false | |
4642 | end)) | |
4643 | for i = 0, 49 do | |
4644 | swait() | |
4645 | rotation = rotation + 5 | |
4646 | poste = poste + 1 | |
4647 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
4648 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
4649 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
4650 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
4651 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
4652 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
4653 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
4654 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
4655 | end | |
4656 | local A1 = Instance.new("Attachment",x) | |
4657 | local A2 = Instance.new("Attachment",ht) | |
4658 | local Beem = Instance.new("Beam",ht) | |
4659 | Beem.Attachment0 = A1 | |
4660 | Beem.Attachment1 = A2 | |
4661 | Beem.LightEmission = 1 | |
4662 | Beem.FaceCamera = true | |
4663 | Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)}) | |
4664 | Beem.Width0 = 125 | |
4665 | Beem.Width1 = 125 | |
4666 | Beem.Texture = "rbxassetid://1134824633" | |
4667 | Beem.TextureMode = "Wrap" | |
4668 | Beem.TextureLength = 200 | |
4669 | Beem.TextureSpeed = 1.5 | |
4670 | Beem.Color = ColorSequence.new(keptcolor.Color) | |
4671 | CameraEnshaking(3,6) | |
4672 | CFuncs["Sound"].Create("rbxassetid://1664711478", char, 1.5, 1) | |
4673 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5) | |
4674 | a.Transparency = 0.25 | |
4675 | for i = 0, 49 do | |
4676 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
4677 | disr.CFrame = ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
4678 | local at1 = Instance.new("Attachment",disr) | |
4679 | at1.Position = vt(-5,0,0) | |
4680 | local at2 = Instance.new("Attachment",disr) | |
4681 | at2.Position = vt(5,0,0) | |
4682 | local trl = Instance.new('Trail',disr) | |
4683 | trl.Attachment0 = at1 | |
4684 | trl.FaceCamera = true | |
4685 | trl.Attachment1 = at2 | |
4686 | trl.Texture = "rbxassetid://2325530138" | |
4687 | trl.LightEmission = 1 | |
4688 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
4689 | trl.Color = ColorSequence.new(keptcolor.Color) | |
4690 | trl.Lifetime = 0.5 | |
4691 | local bv = Instance.new("BodyVelocity") | |
4692 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4693 | bv.velocity = disr.CFrame.lookVector*math.random(50,500) | |
4694 | bv.Parent = disr | |
4695 | local val = 0 | |
4696 | coroutine.resume(coroutine.create(function() | |
4697 | swait(math.random(30,60)) | |
4698 | for i = 0, 19 do | |
4699 | swait() | |
4700 | val = val + 0.05 | |
4701 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)}) | |
4702 | end | |
4703 | game:GetService("Debris"):AddItem(disr, 3) | |
4704 | end)) | |
4705 | end | |
4706 | sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor) | |
4707 | sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor) | |
4708 | sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor) | |
4709 | sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor) | |
4710 | sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor) | |
4711 | sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor) | |
4712 | MagniDamage(ht, 70, 1000,1500, 0, "Normal") | |
4713 | local eff = Instance.new("ParticleEmitter",ht) | |
4714 | eff.Texture = "rbxassetid://2273224484" | |
4715 | eff.LightEmission = 1 | |
4716 | eff.Color = ColorSequence.new(keptcolor.Color) | |
4717 | eff.Rate = 500 | |
4718 | eff.Lifetime = NumberRange.new(1,3) | |
4719 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,10,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4720 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.25,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4721 | eff.Speed = NumberRange.new(80,700) | |
4722 | eff.Drag = 3 | |
4723 | eff.Rotation = NumberRange.new(-500,500) | |
4724 | eff.VelocitySpread = 9000 | |
4725 | eff.RotSpeed = NumberRange.new(-100,100) | |
4726 | for i = 0, 24 do | |
4727 | sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor) | |
4728 | local rsiz = math.random(10,50) | |
4729 | sphereMK(math.random(3,6),1.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0) | |
4730 | end | |
4731 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4732 | local msh = Instance.new("SpecialMesh",a) | |
4733 | msh.MeshType = "Cylinder" | |
4734 | msh.Scale = vt(1,15,15) | |
4735 | for i = 0, 49 do | |
4736 | swait() | |
4737 | CameraEnshaking(1,4) | |
4738 | MagniDamage(ht, 70, 1000,1500, 0, "Normal") | |
4739 | rotation = rotation + 5 | |
4740 | slash(math.random(30,90)/10,5,true,"Round","Add","Out",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,450)/250,BrickColor.new("White")) | |
4741 | sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor) | |
4742 | sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor) | |
4743 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor) | |
4744 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor) | |
4745 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor) | |
4746 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor) | |
4747 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor) | |
4748 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor) | |
4749 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor) | |
4750 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor) | |
4751 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor) | |
4752 | for i = 0, 2 do | |
4753 | local rsiz = math.random(50,250) | |
4754 | sphereMK(math.random(3,6),math.random(2,4),"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0) | |
4755 | end | |
4756 | msh.Scale = msh.Scale + vt(0,0.25,0.25) | |
4757 | end | |
4758 | eff.Enabled = false | |
4759 | local visibility = 0 | |
4760 | for i = 0, 49 do | |
4761 | swait() | |
4762 | visibility = visibility + 0.02 | |
4763 | Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)}) | |
4764 | rotation = rotation + 5 | |
4765 | poste = poste - 1 | |
4766 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
4767 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
4768 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
4769 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
4770 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
4771 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
4772 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
4773 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
4774 | msh.Scale = msh.Scale + vt(0,-0.5,-0.5) | |
4775 | a.Transparency = a.Transparency + 0.02 | |
4776 | end | |
4777 | wait(1) | |
4778 | orb:Destroy() | |
4779 | a:Destroy() | |
4780 | ht:Destroy() | |
4781 | end)) | |
4782 | game:GetService("Debris"):AddItem(orb, 10) | |
4783 | end | |
4784 | end)) | |
4785 | hum.WalkSpeed = storehumanoidWS | |
4786 | attack = false | |
4787 | end | |
4788 | ||
4789 | ||
4790 | ||
4791 | function SingularityVoid() | |
4792 | attack = true | |
4793 | hum.WalkSpeed = 0 | |
4794 | hum.JumpPower = 0 | |
4795 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1) | |
4796 | local poste = 3 | |
4797 | local rotation = 0 | |
4798 | local rate = 0 | |
4799 | local bgui,imgc = createBGCircle(0,root,Color3.new(0,0,0)) | |
4800 | bgui.AlwaysOnTop = true | |
4801 | imgc.ImageTransparency = 1 | |
4802 | imgc.Image = "rbxassetid://2076519836" | |
4803 | for i = 0, 124 do | |
4804 | swait() | |
4805 | bgui.Size = bgui.Size + UDim2.new(2.5,0,2.5,0) | |
4806 | imgc.ImageTransparency = imgc.ImageTransparency - 0.01 | |
4807 | imgc.Rotation = imgc.Rotation - rotation/10 | |
4808 | rotation = rotation + rate | |
4809 | poste = poste + 0.1 | |
4810 | rate = rate + 0.1 | |
4811 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-25)),.1) | |
4812 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(25)),.1) | |
4813 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-25),math.rad(0),math.rad(0)),.1) | |
4814 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
4815 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(90)),.1) | |
4816 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(-90)),.1) | |
4817 | end | |
4818 | CameraEnshaking(5,12) | |
4819 | local keptcolor = MAINRUINCOLOR | |
4820 | for i, v in pairs(FindNearestHead(root.CFrame.p, 125)) do | |
4821 | if v:FindFirstChild('Head') then | |
4822 | coroutine.resume(coroutine.create(function() | |
4823 | CFuncs["Sound"].Create("rbxassetid://1042716828", v.Head, 5, 0.5) | |
4824 | local vel = Instance.new("BodyPosition", v.Head) | |
4825 | vel.P = 12500 | |
4826 | vel.D = 1000 | |
4827 | vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
4828 | vel.position = v.Head.CFrame.p + vt(0,10,0) | |
4829 | for i,v in pairs(v:GetChildren()) do | |
4830 | if v:IsA("Part") or v:IsA("MeshPart") then | |
4831 | coroutine.resume(coroutine.create(function() | |
4832 | local bld = Instance.new("ParticleEmitter",v) | |
4833 | bld.LightEmission = 0.75 | |
4834 | bld.Texture = "rbxassetid://363275192" ---284205403 | |
4835 | bld.Color = ColorSequence.new(keptcolor.Color) | |
4836 | bld.Rate = 500 | |
4837 | bld.Lifetime = NumberRange.new(1) | |
4838 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4839 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4840 | bld.Speed = NumberRange.new(2,5) | |
4841 | bld.VelocitySpread = 50000 | |
4842 | bld.Rotation = NumberRange.new(-500,500) | |
4843 | bld.RotSpeed = NumberRange.new(-500,500) | |
4844 | end)) | |
4845 | end | |
4846 | end | |
4847 | local A1 = Instance.new("Attachment",root) | |
4848 | local A2 = Instance.new("Attachment",v.Head) | |
4849 | local Beem = Instance.new("Beam",v.Head) | |
4850 | Beem.Attachment0 = A1 | |
4851 | Beem.Attachment1 = A2 | |
4852 | Beem.LightEmission = 1 | |
4853 | Beem.FaceCamera = true | |
4854 | Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)}) | |
4855 | Beem.Width0 = 1 | |
4856 | Beem.Width1 = 1 | |
4857 | Beem.Texture = "rbxassetid://1134824633" | |
4858 | Beem.TextureMode = "Wrap" | |
4859 | Beem.TextureLength = 2 | |
4860 | Beem.TextureSpeed = 5 | |
4861 | Beem.Color = ColorSequence.new(keptcolor.Color) | |
4862 | wait(5) | |
4863 | coroutine.resume(coroutine.create(function() | |
4864 | local ref = Instance.new("Part", char) | |
4865 | ref.Anchored = true | |
4866 | ref.CanCollide = false | |
4867 | ref.Transparency = 1 | |
4868 | ref.CFrame = v.Head.CFrame | |
4869 | sphere2(1,"Add",v.Head.CFrame,vt(25,25,25),-0.25,-0.25,-0.25,keptcolor) | |
4870 | sphere2(2,"Add",v.Head.CFrame,vt(25,25,25),-0.5,-0.5,-0.5,keptcolor) | |
4871 | sphere2(3,"Add",v.Head.CFrame,vt(25,25,25),-0.75,-0.75,-0.75,keptcolor) | |
4872 | for i = 0, 9 do | |
4873 | slash(math.random(10,25)/10,5,true,"Round","Add","Out",v.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.001,0.5),-1,BrickColor.new("Really black")) | |
4874 | end | |
4875 | v.Head.Parent:Destroy() | |
4876 | CFuncs["Sound"].Create("rbxassetid://763718160", ref, 10, 1.1) | |
4877 | CFuncs["Sound"].Create("rbxassetid://782353443", ref, 10, 1) | |
4878 | CFuncs["Sound"].Create("rbxassetid://335657174", ref, 10, 1) | |
4879 | wait(5) | |
4880 | ref:Destroy() | |
4881 | end)) | |
4882 | end)) | |
4883 | end | |
4884 | end | |
4885 | CFuncs["Sound"].Create("rbxassetid://1664711478", char, 2, 1) | |
4886 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 3, 1) | |
4887 | CFuncs["Sound"].Create("rbxassetid://167115397", char, 3, 1) | |
4888 | CFuncs["Sound"].Create("rbxassetid://782353443", char, 3, 0.9) | |
4889 | CFuncs["Sound"].Create("rbxassetid://782353443", char, 4, 0.8) | |
4890 | CFuncs["Sound"].Create("rbxassetid://782353443", char, 5, 0.7) | |
4891 | for i = 0, 49 do | |
4892 | slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.25,0.01,0.25),math.random(150,1000)/250,BrickColor.new("Really black")) | |
4893 | end | |
4894 | coroutine.resume(coroutine.create(function() | |
4895 | local eff = Instance.new("ParticleEmitter",root) | |
4896 | eff.Texture = "rbxassetid://2273224484" | |
4897 | eff.LightEmission = 1 | |
4898 | eff.Color = ColorSequence.new(BrickColor.new("Alder").Color) | |
4899 | eff.Rate = 5000000 | |
4900 | eff.Lifetime = NumberRange.new(3) | |
4901 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(0.2,8,0),NumberSequenceKeypoint.new(1,0.1,0)}) | |
4902 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4903 | eff.Speed = NumberRange.new(150,1000) | |
4904 | eff.Drag = 5 | |
4905 | eff.Rotation = NumberRange.new(-500,500) | |
4906 | eff.VelocitySpread = 9000 | |
4907 | eff.RotSpeed = NumberRange.new(-100,100) | |
4908 | wait(0.5) | |
4909 | eff.Enabled = false | |
4910 | wait(6) | |
4911 | eff:Destroy() | |
4912 | end)) | |
4913 | coroutine.resume(coroutine.create(function() | |
4914 | local eff = Instance.new("ParticleEmitter",root) | |
4915 | eff.Texture = "rbxassetid://363275192" | |
4916 | eff.LightEmission = 0.95 | |
4917 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
4918 | eff.Rate = 10000 | |
4919 | eff.Lifetime = NumberRange.new(1) | |
4920 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,80,0)}) | |
4921 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4922 | eff.Speed = NumberRange.new(100,500) | |
4923 | eff.Drag = 5 | |
4924 | eff.Rotation = NumberRange.new(-500,500) | |
4925 | eff.VelocitySpread = 9000 | |
4926 | eff.RotSpeed = NumberRange.new(-50,50) | |
4927 | wait(0.5) | |
4928 | eff.Enabled = false | |
4929 | wait(6) | |
4930 | eff:Destroy() | |
4931 | end)) | |
4932 | sphere2(10,"Add",root.CFrame,vt(250,250,250),5,5,5,MAINRUINCOLOR) | |
4933 | sphere2(9,"Add",root.CFrame,vt(250,250,250),5,5,5,MAINRUINCOLOR) | |
4934 | sphere2(8,"Add",root.CFrame,vt(250,250,250),5,5,5,MAINRUINCOLOR) | |
4935 | sphere2(2,"Add",root.CFrame,vt(250,250,250),0.1,0.1,0.1,MAINRUINCOLOR) | |
4936 | coroutine.resume(coroutine.create(function() | |
4937 | wait(1) | |
4938 | rotation = 0 | |
4939 | rate = 0 | |
4940 | for i = 0, 49 do | |
4941 | swait() | |
4942 | bgui.Size = bgui.Size - UDim2.new(rate/2,0,rate/2,0) | |
4943 | imgc.Rotation = imgc.Rotation + rotation/20 | |
4944 | rotation = rotation + rate | |
4945 | poste = poste + 1.5 | |
4946 | rate = rate + 1.5 | |
4947 | end | |
4948 | bgui:Destroy() | |
4949 | end)) | |
4950 | hum.WalkSpeed = storehumanoidWS | |
4951 | hum.JumpPower = 50 | |
4952 | attack = false | |
4953 | end | |
4954 | ||
4955 | ||
4956 | function WarpedDash() | |
4957 | attack = true | |
4958 | hum.WalkSpeed = 0 | |
4959 | hum.JumpPower = 0 | |
4960 | CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1) | |
4961 | local poste = 3 | |
4962 | local rotation = 0 | |
4963 | local rate = 0 | |
4964 | local bgui,imgc = createBGCircle(100,root,MAINRUINCOLOR.Color) | |
4965 | bgui.AlwaysOnTop = true | |
4966 | imgc.ImageTransparency = 1 | |
4967 | imgc.Image = "rbxassetid://2076519836" | |
4968 | for i = 0, 124 do | |
4969 | swait() | |
4970 | bgui.Size = bgui.Size - UDim2.new(0.85,0,0.85,0) | |
4971 | imgc.ImageTransparency = imgc.ImageTransparency - 0.01 | |
4972 | imgc.Rotation = imgc.Rotation - rotation/10 | |
4973 | rotation = rotation + rate | |
4974 | poste = poste + 0.1 | |
4975 | rate = rate + 0.1 | |
4976 | sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR) | |
4977 | sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR) | |
4978 | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR) | |
4979 | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR) | |
4980 | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR) | |
4981 | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR) | |
4982 | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(poste/100,0.01,poste/100),poste/30,BrickColor.new("White")) | |
4983 | RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5) | |
4984 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.5) | |
4985 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5) | |
4986 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5) | |
4987 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5) | |
4988 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5) | |
4989 | end | |
4990 | bgui:Destroy() | |
4991 | CameraEnshaking(3,7) | |
4992 | local loc = Instance.new("Part", char) | |
4993 | loc.BrickColor = MAINRUINCOLOR | |
4994 | loc.CanCollide = false | |
4995 | loc.FormFactor = 3 | |
4996 | loc.Name = "Ring" | |
4997 | loc.Material = "Neon" | |
4998 | loc.Size = Vector3.new(1, 1, 1) | |
4999 | loc.Transparency = 1 | |
5000 | loc.TopSurface = 0 | |
5001 | loc.BottomSurface = 0 | |
5002 | loc.Anchored = true | |
5003 | loc.CFrame = root.CFrame + root.CFrame.lookVector*100 | |
5004 | CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1) | |
5005 | CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1) | |
5006 | MagniDamage(loc, 95, 500,6000, 0, "Normal") | |
5007 | sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR) | |
5008 | sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR) | |
5009 | sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR) | |
5010 | sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR) | |
5011 | coroutine.resume(coroutine.create(function() | |
5012 | for i = 0, 49 do | |
5013 | local disr = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
5014 | disr.CFrame = loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
5015 | local at1 = Instance.new("Attachment",disr) | |
5016 | at1.Position = vt(-5,0,0) | |
5017 | local at2 = Instance.new("Attachment",disr) | |
5018 | at2.Position = vt(5,0,0) | |
5019 | local trl = Instance.new('Trail',disr) | |
5020 | trl.Attachment0 = at1 | |
5021 | trl.FaceCamera = true | |
5022 | trl.Attachment1 = at2 | |
5023 | trl.Texture = "rbxassetid://2325530138" | |
5024 | trl.LightEmission = 1 | |
5025 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
5026 | trl.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5027 | trl.Lifetime = 0.5 | |
5028 | local bv = Instance.new("BodyVelocity") | |
5029 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5030 | bv.velocity = disr.CFrame.lookVector*math.random(50,500) | |
5031 | bv.Parent = disr | |
5032 | local val = 0 | |
5033 | coroutine.resume(coroutine.create(function() | |
5034 | swait(math.random(30,60)) | |
5035 | for i = 0, 9 do | |
5036 | swait() | |
5037 | val = val + 0.1 | |
5038 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)}) | |
5039 | end | |
5040 | game:GetService("Debris"):AddItem(disr, 3) | |
5041 | end)) | |
5042 | end | |
5043 | local eff = Instance.new("ParticleEmitter",loc) | |
5044 | eff.Texture = "rbxassetid://363275192" | |
5045 | eff.LightEmission = 0.95 | |
5046 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5047 | eff.Rate = 10000 | |
5048 | eff.Lifetime = NumberRange.new(1) | |
5049 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,80,0)}) | |
5050 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5051 | eff.Speed = NumberRange.new(100,500) | |
5052 | eff.Drag = 5 | |
5053 | eff.Rotation = NumberRange.new(-500,500) | |
5054 | eff.VelocitySpread = 9000 | |
5055 | eff.RotSpeed = NumberRange.new(-50,50) | |
5056 | wait(0.5) | |
5057 | eff.Enabled = false | |
5058 | end)) | |
5059 | for i = 0, 29 do | |
5060 | slash(math.random(10,50)/10,5,true,"Round","Add","Out",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,500)/250,BrickColor.new("White")) | |
5061 | end | |
5062 | for i = 0, 49 do | |
5063 | sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR) | |
5064 | end | |
5065 | for i = 0, 9 do | |
5066 | sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR) | |
5067 | end | |
5068 | game:GetService("Debris"):AddItem(loc, 5) | |
5069 | root.CFrame = root.CFrame + root.CFrame.lookVector*200 | |
5070 | hum.WalkSpeed = storehumanoidWS | |
5071 | hum.JumpPower = 50 | |
5072 | attack = false | |
5073 | end | |
5074 | ||
5075 | ------------------------------------ | |
5076 | function harmonytaunty() | |
5077 | attack = true | |
5078 | hum.WalkSpeed = 0 | |
5079 | CFuncs["Sound"].Create("rbxassetid://430312221", tors, 1.25, 1.15) | |
5080 | for i = 0,7,0.1 do | |
5081 | swait() | |
5082 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-20 + 6 * math.cos(sine / 34))),.2) | |
5083 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(10 - 4 * math.cos(sine / 47))),.2) | |
5084 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-2 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-2 + 4 * math.cos(sine / 62))),.2) | |
5085 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 - 3 * math.cos(sine / 28)),math.rad(12 - 3 * math.cos(sine / 79)),math.rad(2 - 4 * math.cos(sine / 62))),.2) | |
5086 | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.01 * math.cos(sine / 28),-0.1)*angles(math.rad(34 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-13 - 3 * math.cos(sine / 28))),.2) | |
5087 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(80 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(10 + 5 * math.cos(sine / 30))),.2) | |
5088 | end | |
5089 | hum.WalkSpeed = storehumanoidWS | |
5090 | attack = false | |
5091 | end | |
5092 | ||
5093 | ||
5094 | ||
5095 | function vistaunty() | |
5096 | attack = true | |
5097 | hum.WalkSpeed = 0 | |
5098 | local rd = math.random(1,5) | |
5099 | if rd == 1 then | |
5100 | chatfunc("You're familiar with this, arent you?",MAINRUINCOLOR.Color,"Inverted","Arcade",1) | |
5101 | elseif rd == 2 then | |
5102 | chatfunc("Dance to the beat. If you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1) | |
5103 | elseif rd == 3 then | |
5104 | chatfunc("I'm just bored. Don't mess with me.",MAINRUINCOLOR.Color,"Inverted","Arcade",1) | |
5105 | elseif rd == 4 then | |
5106 | chatfunc("Ready to dance? If not, come back if you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1) | |
5107 | elseif rd == 5 then | |
5108 | chatfunc("Ehh, not really into something right now.",MAINRUINCOLOR.Color,"Inverted","Arcade",1) | |
5109 | end | |
5110 | for i = 0, 8, 0.1 do | |
5111 | swait() | |
5112 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4) | |
5113 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4) | |
5114 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(60)),.4) | |
5115 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-60)),.4) | |
5116 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(90 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(60 - 2 * math.cos(sine / 38))),.4) | |
5117 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4) | |
5118 | end | |
5119 | hum.WalkSpeed = storehumanoidWS | |
5120 | attack = false | |
5121 | end | |
5122 | ||
5123 | function shytaunty() | |
5124 | attack = true | |
5125 | hum.WalkSpeed = 0 | |
5126 | CFuncs["Sound"].Create("rbxassetid://543623779", tors, 0.35, 1) | |
5127 | local blush = Instance.new("Decal",hed) | |
5128 | blush.Texture = "rbxassetid://898404027" | |
5129 | blush.Face = "Front" | |
5130 | for i = 0, 13, 0.1 do | |
5131 | swait() | |
5132 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1) | |
5133 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1) | |
5134 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1) | |
5135 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1) | |
5136 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1) | |
5137 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1) | |
5138 | end | |
5139 | coroutine.resume(coroutine.create(function() | |
5140 | for i = 0, 49 do | |
5141 | swait() | |
5142 | blush.Transparency = blush.Transparency + 0.02 | |
5143 | end | |
5144 | blush:Destroy() | |
5145 | end)) | |
5146 | hum.WalkSpeed = storehumanoidWS | |
5147 | attack = false | |
5148 | end | |
5149 | ------------------------------------ Mode Ascendances | |
5150 | function UnknownA() | |
5151 | hum.WalkSpeed = 0 | |
5152 | attack = true | |
5153 | local keptcolor = MAINRUINCOLOR | |
5154 | local locat = Instance.new("Part", char) | |
5155 | locat.CanCollide = false | |
5156 | locat.FormFactor = 3 | |
5157 | locat.Name = "Ring" | |
5158 | locat.Material = "Neon" | |
5159 | locat.Size = Vector3.new(1, 1, 1) | |
5160 | locat.Transparency = 1 | |
5161 | locat.TopSurface = 0 | |
5162 | locat.BottomSurface = 0 | |
5163 | locat.Anchored = true | |
5164 | locat.CFrame = root.CFrame*CFrame.new(0,-3,0) | |
5165 | local poste = 0 | |
5166 | local rotation = 0 | |
5167 | local upperpos = 0 | |
5168 | local rate = 0 | |
5169 | local x = locat | |
5170 | ||
5171 | local efec = Instance.new("ParticleEmitter",root) | |
5172 | efec.Texture = "rbxassetid://2109052855" | |
5173 | efec.LightEmission = 1 | |
5174 | efec.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5175 | efec.Rate = 5 | |
5176 | efec.Lifetime = NumberRange.new(1) | |
5177 | efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(0.2,50,0),NumberSequenceKeypoint.new(0.6,125,0),NumberSequenceKeypoint.new(0.8,175,0),NumberSequenceKeypoint.new(1,20,0)}) | |
5178 | efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5179 | efec.Drag = 5 | |
5180 | efec.LockedToPart = true | |
5181 | efec.Rotation = NumberRange.new(-500,500) | |
5182 | efec.VelocitySpread = 9000 | |
5183 | efec.RotSpeed = NumberRange.new(-500,500) | |
5184 | local efec2 = efec:Clone() | |
5185 | efec2.LightEmission = 1 | |
5186 | efec2.Texture = "rbxassetid://2092248396" | |
5187 | efec2.Parent = root | |
5188 | efec2.Rate = 10 | |
5189 | efec2.Lifetime = NumberRange.new(1) | |
5190 | efec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(0.5,150,0),NumberSequenceKeypoint.new(0.8,500,0),NumberSequenceKeypoint.new(1,1000,0)}) | |
5191 | efec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5192 | efec2.Speed = NumberRange.new(0) | |
5193 | efec2.RotSpeed = NumberRange.new(-100,100) | |
5194 | local efec3 = efec:Clone() | |
5195 | efec3.LightEmission = 1 | |
5196 | efec3.Color = ColorSequence.new(Color3.new(0.75,0.85,1)) | |
5197 | efec3.Texture = "rbxassetid://2273224484" | |
5198 | efec3.Parent = root | |
5199 | efec3.Rate = 10000 | |
5200 | efec3.Drag = 5 | |
5201 | efec3.LockedToPart = false | |
5202 | efec3.Lifetime = NumberRange.new(2) | |
5203 | efec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.5,10,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5204 | efec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5205 | efec3.Speed = NumberRange.new(50,700) | |
5206 | efec3.RotSpeed = NumberRange.new(-100,100) | |
5207 | CFuncs["Sound"].Create("rbxassetid://136007472", char, 3.5,0.7) | |
5208 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 3.5, 1) | |
5209 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 3.5, 1) | |
5210 | sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor) | |
5211 | sphere2(6,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor) | |
5212 | sphere2(4,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor) | |
5213 | sphere2(2,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor) | |
5214 | CameraEnshaking(2,5) | |
5215 | for i = 0, 99 do | |
5216 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
5217 | disr.CFrame = root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
5218 | local at1 = Instance.new("Attachment",disr) | |
5219 | at1.Position = vt(-10,0,0) | |
5220 | local at2 = Instance.new("Attachment",disr) | |
5221 | at2.Position = vt(10,0,0) | |
5222 | local trl = Instance.new('Trail',disr) | |
5223 | trl.Attachment0 = at1 | |
5224 | trl.FaceCamera = true | |
5225 | trl.Attachment1 = at2 | |
5226 | trl.Texture = "rbxassetid://2325530138" | |
5227 | trl.LightEmission = 1 | |
5228 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
5229 | trl.Color = ColorSequence.new(keptcolor.Color) | |
5230 | trl.Lifetime = 0.5 | |
5231 | local bv = Instance.new("BodyVelocity") | |
5232 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5233 | bv.velocity = disr.CFrame.lookVector*math.random(50,500) | |
5234 | bv.Parent = disr | |
5235 | local val = 0 | |
5236 | coroutine.resume(coroutine.create(function() | |
5237 | swait(math.random(30,60)) | |
5238 | for i = 0, 19 do | |
5239 | swait() | |
5240 | val = val + 0.05 | |
5241 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)}) | |
5242 | end | |
5243 | game:GetService("Debris"):AddItem(disr, 3) | |
5244 | end)) | |
5245 | end | |
5246 | for i = 0, 49 do | |
5247 | swait() | |
5248 | rotation = rotation + 5 | |
5249 | poste = poste + 1 | |
5250 | sphere2(math.random(4,6),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.05,math.random(25,100)/25,-0.05,keptcolor) | |
5251 | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(poste/100,0.01,poste/100),poste/50,BrickColor.new("White")) | |
5252 | sphere2(8,"Add",tors.CFrame,vt(poste/1.5,poste/1.5,poste/1.5),0.01,0.01,0.01,keptcolor) | |
5253 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
5254 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
5255 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
5256 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
5257 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
5258 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
5259 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
5260 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
5261 | RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5) | |
5262 | LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5) | |
5263 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5) | |
5264 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5) | |
5265 | RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.5) | |
5266 | LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.5) | |
5267 | end | |
5268 | for i = 0, 149 do | |
5269 | swait() | |
5270 | rotation = rotation + 5 | |
5271 | sphere2(math.random(4,6),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.05,math.random(25,100)/25,-0.05,keptcolor) | |
5272 | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(poste/100,0.01,poste/100),poste/50,BrickColor.new("White")) | |
5273 | sphere2(8,"Add",tors.CFrame,vt(poste/1.5,poste/1.5,poste/1.5),0.01,0.01,0.01,keptcolor) | |
5274 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
5275 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
5276 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
5277 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
5278 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
5279 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
5280 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
5281 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor) | |
5282 | RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5) | |
5283 | LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5) | |
5284 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5) | |
5285 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5) | |
5286 | RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.5) | |
5287 | LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.5) | |
5288 | end | |
5289 | efec.Enabled = false | |
5290 | efec2.Enabled = false | |
5291 | efec3.Enabled = false | |
5292 | game:GetService("Debris"):AddItem(efec, 5) | |
5293 | game:GetService("Debris"):AddItem(efec2, 5) | |
5294 | game:GetService("Debris"):AddItem(efec3, 5) | |
5295 | ModeOfGlitch = 6000000000 | |
5296 | storehumanoidWS = 300 | |
5297 | hum.WalkSpeed = 300 | |
5298 | rainbowmode = false | |
5299 | chaosmode = false | |
5300 | RecolorTextAndRename("HARMONY",BrickColor.new("Toothpaste").Color,BrickColor.new("Cool yellow").Color,"Highway") | |
5301 | newThemeCust("rbxassetid://603565821",0,1.01,1.5) | |
5302 | MAINRUINCOLOR = BrickColor.new("Toothpaste") | |
5303 | keptcolor = MAINRUINCOLOR | |
5304 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Cool yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
5305 | CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 1) | |
5306 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75) | |
5307 | CFuncs["Sound"].Create("rbxassetid://1664711478", char, 4, 0.95) | |
5308 | sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,BrickColor.new("Cool yellow")) | |
5309 | sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,keptcolor) | |
5310 | sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("White")) | |
5311 | sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Cool yellow")) | |
5312 | sphere2(4,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,keptcolor) | |
5313 | for i = 0, 99 do | |
5314 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
5315 | dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
5316 | local at1 = Instance.new("Attachment",dis) | |
5317 | at1.Position = vt(-25000,0,0) | |
5318 | local at2 = Instance.new("Attachment",dis) | |
5319 | at2.Position = vt(25000,0,0) | |
5320 | local trl = Instance.new('Trail',dis) | |
5321 | trl.Attachment0 = at1 | |
5322 | trl.FaceCamera = true | |
5323 | trl.Attachment1 = at2 | |
5324 | trl.Texture = "rbxassetid://1049219073" | |
5325 | trl.LightEmission = 1 | |
5326 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
5327 | trl.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5328 | trl.Lifetime = 5 | |
5329 | local bv = Instance.new("BodyVelocity") | |
5330 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5331 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
5332 | bv.Parent = dis | |
5333 | game:GetService("Debris"):AddItem(dis, 10) | |
5334 | end | |
5335 | attack = false | |
5336 | hum.WalkSpeed = storehumanoidWS | |
5337 | for i = 0, 99 do | |
5338 | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(250,2500)/250,BrickColor.new("White")) | |
5339 | end | |
5340 | for i = 0, 49 do | |
5341 | local rsiz = math.random(150,450) | |
5342 | sphere2(math.random(1,4),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Cool yellow")) | |
5343 | sphere2(math.random(1,2),"Add",x.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,BrickColor.new("Cool yellow")) | |
5344 | sphereMK(math.random(1,2),math.random(2,4),"Add",x.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("White"),0) | |
5345 | end | |
5346 | coroutine.resume(coroutine.create(function() | |
5347 | local eff = Instance.new("ParticleEmitter",x) | |
5348 | eff.Texture = "rbxassetid://2273224484" | |
5349 | eff.LightEmission = 1 | |
5350 | eff.Color = ColorSequence.new(BrickColor.new("Cool yellow").Color) | |
5351 | eff.Rate = 50000 | |
5352 | eff.Lifetime = NumberRange.new(3,8) | |
5353 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.2,25,0),NumberSequenceKeypoint.new(1,0.1,0)}) | |
5354 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5355 | eff.Speed = NumberRange.new(250,1500) | |
5356 | eff.Drag = 5 | |
5357 | eff.Rotation = NumberRange.new(-500,500) | |
5358 | eff.VelocitySpread = 9000 | |
5359 | eff.RotSpeed = NumberRange.new(-100,100) | |
5360 | wait(1.25) | |
5361 | eff.Enabled = false | |
5362 | end)) | |
5363 | --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do | |
5364 | if v:FindFirstChild('Head') then | |
5365 | dmg(v) | |
5366 | end | |
5367 | end]]-- | |
5368 | sphere2(3,"Add",tors.CFrame,vt(1,1,1),10,10,10,keptcolor) | |
5369 | sphere2(2,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("Cool yellow")) | |
5370 | sphere2(1,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("White")) | |
5371 | CameraEnshaking(8,10) | |
5372 | for i = 0, 99 do | |
5373 | swait() | |
5374 | rotation = rotation + 5 | |
5375 | poste = poste + 1 | |
5376 | upperpos = upperpos + rate | |
5377 | rate = rate + 0.1 | |
5378 | sphere2(math.random(1,2),"Add",x.CFrame*CFrame.new(math.random(-350,350),0,math.random(-350,350)),vt(5,1,5),-0.05,math.random(50,250)/50,-0.05,keptcolor) | |
5379 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow")) | |
5380 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow")) | |
5381 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow")) | |
5382 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow")) | |
5383 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor) | |
5384 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor) | |
5385 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor) | |
5386 | sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor) | |
5387 | end | |
5388 | wait(6) | |
5389 | x:Destroy() | |
5390 | end | |
5391 | ||
5392 | ||
5393 | ||
5394 | function loveydovey() | |
5395 | attack = true | |
5396 | local keptcolor = MAINRUINCOLOR | |
5397 | hum.WalkSpeed = 0 | |
5398 | for i = 0, 5, 0.1 do | |
5399 | swait() | |
5400 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1) | |
5401 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1) | |
5402 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
5403 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1) | |
5404 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1) | |
5405 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1) | |
5406 | end | |
5407 | CameraEnshaking(4,9) | |
5408 | sphere2(2,"Add",root.CFrame,vt(5,5,5),0.5,0.5,0.5,keptcolor) | |
5409 | sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,keptcolor) | |
5410 | sphere2(3,"Add",root.CFrame,vt(5,5,5),1,1,1,keptcolor) | |
5411 | sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,keptcolor) | |
5412 | sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,keptcolor) | |
5413 | sphere2(2,"Add",root.CFrame,vt(5,10000,5),0.6,0.6,0.6,keptcolor) | |
5414 | CFuncs["Sound"].Create("rbxassetid://1368637781", char, 1.5,1.25) | |
5415 | CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1.25) | |
5416 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 1) | |
5417 | coroutine.resume(coroutine.create(function() | |
5418 | local eff = Instance.new("ParticleEmitter",root) | |
5419 | eff.Texture = "rbxassetid://363275192" | |
5420 | eff.LightEmission = 0.95 | |
5421 | eff.Color = ColorSequence.new(keptcolor.Color) | |
5422 | eff.Rate = 10000 | |
5423 | eff.Lifetime = NumberRange.new(1) | |
5424 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5425 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5426 | eff.Speed = NumberRange.new(50,200) | |
5427 | eff.Drag = 5 | |
5428 | eff.Rotation = NumberRange.new(-500,500) | |
5429 | eff.VelocitySpread = 9000 | |
5430 | eff.RotSpeed = NumberRange.new(-50,50) | |
5431 | wait(0.5) | |
5432 | eff.Enabled = false | |
5433 | wait(5) | |
5434 | eff:Destroy() | |
5435 | end)) | |
5436 | for i = 0, 24 do | |
5437 | slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(250,500)/250,BrickColor.new("White")) | |
5438 | end | |
5439 | for i = 0, 49 do | |
5440 | local rsiz = math.random(70,90) | |
5441 | sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.005,math.random(25,100)/25,-0.005,MAINRUINCOLOR) | |
5442 | end | |
5443 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1) | |
5444 | CFuncs["Sound"].Create("rbxassetid://543623779", root, 1.5,1) | |
5445 | newTheme("rbxassetid://728272672",0,1.02,1.25) | |
5446 | ModeOfGlitch = 9600000000 | |
5447 | MAINRUINCOLOR = BrickColor.new("Hot pink") | |
5448 | for i = 0, 1, 0.2 do | |
5449 | swait() | |
5450 | RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8) | |
5451 | LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8) | |
5452 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8) | |
5453 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8) | |
5454 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8) | |
5455 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8) | |
5456 | end | |
5457 | for i = 0, 9, 0.1 do | |
5458 | swait() | |
5459 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1) | |
5460 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1) | |
5461 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
5462 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1) | |
5463 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1) | |
5464 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1) | |
5465 | end | |
5466 | CameraEnshaking(2,11) | |
5467 | sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,BrickColor.new("Pink")) | |
5468 | sphere2(2,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Pink")) | |
5469 | sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,MAINRUINCOLOR) | |
5470 | sphere2(3,"Add",root.CFrame,vt(5,5,5),1.5,1.5,1.5,MAINRUINCOLOR) | |
5471 | sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,BrickColor.new("Pink")) | |
5472 | sphere2(2,"Add",root.CFrame,vt(5,10000,5),1,1,1,MAINRUINCOLOR) | |
5473 | CFuncs["Sound"].Create("rbxassetid://1368637781", char, 2,1) | |
5474 | CFuncs["Sound"].Create("rbxassetid://763717897", char, 3, 1.125) | |
5475 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 3, 0.75) | |
5476 | for i = 0, 49 do | |
5477 | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(250,500)/250,BrickColor.new("White")) | |
5478 | end | |
5479 | for i = 0, 49 do | |
5480 | local rsiz = math.random(70,90) | |
5481 | sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.005,math.random(50,200)/25,-0.005,MAINRUINCOLOR) | |
5482 | sphereMK(math.random(1,2),math.random(1,3),"Add",root.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("Pink"),0) | |
5483 | end | |
5484 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1) | |
5485 | for i = 0, 1, 0.2 do | |
5486 | swait() | |
5487 | RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8) | |
5488 | LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8) | |
5489 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8) | |
5490 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8) | |
5491 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8) | |
5492 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8) | |
5493 | end | |
5494 | for i = 0, 1, 0.1 do | |
5495 | swait() | |
5496 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1) | |
5497 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1) | |
5498 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
5499 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1) | |
5500 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1) | |
5501 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1) | |
5502 | end | |
5503 | CameraEnshaking(9,14) | |
5504 | sphere2(4,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Pink")) | |
5505 | sphere2(4,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Pink")) | |
5506 | sphere2(9,"Add",root.CFrame,vt(5,5,5),3,3,3,MAINRUINCOLOR) | |
5507 | sphere2(9,"Add",root.CFrame,vt(5,5,5),4,4,4,MAINRUINCOLOR) | |
5508 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 3,0.5) | |
5509 | CFuncs["Sound"].Create("rbxassetid://763717897", char, 5, 0.75) | |
5510 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 6, 0.5) | |
5511 | CFuncs["Sound"].Create("rbxassetid://1664711478", char, 5, 1) | |
5512 | sphere2(1,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Pink")) | |
5513 | sphere2(1,"Add",root.CFrame,vt(5,5,5),3,3,3,BrickColor.new("Pink")) | |
5514 | sphere2(1,"Add",root.CFrame,vt(5,5,5),4,4,4,BrickColor.new("Pink")) | |
5515 | sphere2(1,"Add",root.CFrame,vt(5,10000,5),2.5,2.5,2.5,BrickColor.new("Pink")) | |
5516 | sphere2(2,"Add",root.CFrame,vt(5,10000,5),3.5,3.5,3.5,MAINRUINCOLOR) | |
5517 | sphere2(1,"Add",root.CFrame,vt(5,5,5),8,8,8,BrickColor.new("Pink")) | |
5518 | sphere2(2,"Add",root.CFrame,vt(5,5,5),14,14,14,MAINRUINCOLOR) | |
5519 | sphere2(3,"Add",root.CFrame,vt(5,5,5),20,20,20,MAINRUINCOLOR) | |
5520 | for i = 0, 99 do | |
5521 | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(250,2500)/250,BrickColor.new("White")) | |
5522 | end | |
5523 | for i = 0, 99 do | |
5524 | local rsiz = math.random(150,450) | |
5525 | sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Pink")) | |
5526 | sphere2(math.random(1,2),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,MAINRUINCOLOR) | |
5527 | sphereMK(math.random(1,2),math.random(4,6),"Add",root.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("Pink"),0) | |
5528 | end | |
5529 | coroutine.resume(coroutine.create(function() | |
5530 | local eff = Instance.new("ParticleEmitter",root) | |
5531 | eff.Texture = "rbxassetid://749327003" | |
5532 | eff.LightEmission = 1 | |
5533 | eff.Color = ColorSequence.new(BrickColor.new("Pink").Color) | |
5534 | eff.Rate = 50000 | |
5535 | eff.Lifetime = NumberRange.new(5) | |
5536 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,60,0),NumberSequenceKeypoint.new(1,0.1,0)}) | |
5537 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5538 | eff.Speed = NumberRange.new(250,1000) | |
5539 | eff.Drag = 5 | |
5540 | eff.Rotation = NumberRange.new(-50,50) | |
5541 | eff.VelocitySpread = 9000 | |
5542 | eff.RotSpeed = NumberRange.new(-50,50) | |
5543 | wait(0.5) | |
5544 | eff.Enabled = false | |
5545 | wait(5) | |
5546 | eff:Destroy() | |
5547 | end)) | |
5548 | storehumanoidWS = 100 | |
5549 | rainbowmode = false | |
5550 | chaosmode = false | |
5551 | RecolorTextAndRename("LOVE",BrickColor.new("Pink").Color,BrickColor.new("Hot pink").Color,"Cartoon") | |
5552 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
5553 | for i = 0, 2, 0.1 do | |
5554 | swait() | |
5555 | sphere2(math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-350,350),0,math.random(-350,350)),vt(5,1,5),-0.05,math.random(50,250)/50,-0.05,MAINRUINCOLOR) | |
5556 | RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8) | |
5557 | LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8) | |
5558 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8) | |
5559 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(0)),.8) | |
5560 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8) | |
5561 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8) | |
5562 | end | |
5563 | hum.WalkSpeed = storehumanoidWS | |
5564 | attack = false | |
5565 | end | |
5566 | ||
5567 | function SolarSystem() | |
5568 | attack = true | |
5569 | hum.WalkSpeed = 0 | |
5570 | MAINRUINCOLOR = BrickColor.new("Bright orange") | |
5571 | newThemeCust("rbxassetid://318062185",0,1.01,1.5) --737063244,925278639 | |
5572 | local vel = Instance.new("BodyPosition", root) | |
5573 | vel.P = 10000 | |
5574 | vel.D = 1000 | |
5575 | vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
5576 | vel.position = root.CFrame.p + vt(0,250,0) | |
5577 | CFuncs["Sound"].Create("rbxassetid://1295446488", char, 5, 0.5) | |
5578 | CFuncs["Sound"].Create("rbxassetid://1368598393", char, 7.5, 0.5) | |
5579 | for i = 0, 49 do | |
5580 | slash(math.random(10,100)/10,3,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.05,0.01,0.05),math.random(25,500)/250,BrickColor.new("White")) | |
5581 | end | |
5582 | local efec = Instance.new("ParticleEmitter",root) | |
5583 | efec.Texture = "rbxassetid://2109052855" | |
5584 | efec.LightEmission = 1 | |
5585 | efec.Color = ColorSequence.new(Color3.new(1,0.45,0)) | |
5586 | efec.Rate = 5 | |
5587 | efec.Lifetime = NumberRange.new(3) | |
5588 | efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.2,60,0),NumberSequenceKeypoint.new(0.6,400,0),NumberSequenceKeypoint.new(0.8,300,0),NumberSequenceKeypoint.new(1,200,0)}) | |
5589 | efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5590 | efec.Drag = 5 | |
5591 | efec.LockedToPart = true | |
5592 | efec.Rotation = NumberRange.new(-500,500) | |
5593 | efec.VelocitySpread = 9000 | |
5594 | efec.RotSpeed = NumberRange.new(-500,500) | |
5595 | local efec2 = efec:Clone() | |
5596 | efec2.LightEmission = 1 | |
5597 | efec2.Texture = "rbxassetid://2092248396" | |
5598 | efec2.Parent = root | |
5599 | efec2.Rate = 10 | |
5600 | efec2.Lifetime = NumberRange.new(2) | |
5601 | efec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(0.5,150,0),NumberSequenceKeypoint.new(0.8,500,0),NumberSequenceKeypoint.new(1,1000,0)}) | |
5602 | efec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5603 | efec2.Speed = NumberRange.new(0) | |
5604 | efec2.RotSpeed = NumberRange.new(-100,100) | |
5605 | local efec3 = efec:Clone() | |
5606 | efec3.LightEmission = 1 | |
5607 | efec3.Color = ColorSequence.new(Color3.new(1,0.85,0.5)) | |
5608 | efec3.Texture = "rbxassetid://2273224484" | |
5609 | efec3.Parent = root | |
5610 | efec3.Rate = 10000 | |
5611 | efec3.Drag = 5 | |
5612 | efec3.LockedToPart = false | |
5613 | efec3.Lifetime = NumberRange.new(2) | |
5614 | efec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.5,10,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5615 | efec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5616 | efec3.Speed = NumberRange.new(50,1550) | |
5617 | efec3.RotSpeed = NumberRange.new(-100,100) | |
5618 | for x = 0, 10 do | |
5619 | for i = 0, 1, 0.6 do | |
5620 | swait() | |
5621 | hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30) | |
5622 | sphere2(4,"Add",sorb.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.1,0.1,0.1,MAINRUINCOLOR) | |
5623 | sphere2(4,"Add",sorb2.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.1,0.1,0.1,MAINRUINCOLOR) | |
5624 | RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8) | |
5625 | LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8) | |
5626 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.8) | |
5627 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.8) | |
5628 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8) | |
5629 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8) | |
5630 | end | |
5631 | for i = 0, 1, 0.6 do | |
5632 | swait() | |
5633 | hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30) | |
5634 | sphere2(4,"Add",sorb.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.1,0.1,0.1,MAINRUINCOLOR) | |
5635 | sphere2(4,"Add",sorb2.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.1,0.1,0.1,MAINRUINCOLOR) | |
5636 | RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8) | |
5637 | LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8) | |
5638 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.8) | |
5639 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.8) | |
5640 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8) | |
5641 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8) | |
5642 | end | |
5643 | for i = 0, 1, 0.6 do | |
5644 | swait() | |
5645 | hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30) | |
5646 | sphere2(4,"Add",sorb.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.1,0.1,0.1,MAINRUINCOLOR) | |
5647 | sphere2(4,"Add",sorb2.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.1,0.1,0.1,MAINRUINCOLOR) | |
5648 | RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8) | |
5649 | LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8) | |
5650 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.8) | |
5651 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.8) | |
5652 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8) | |
5653 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8) | |
5654 | end | |
5655 | for i = 0, 1, 0.6 do | |
5656 | swait() | |
5657 | hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30) | |
5658 | sphere2(4,"Add",sorb.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.1,0.1,0.1,MAINRUINCOLOR) | |
5659 | sphere2(4,"Add",sorb2.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.1,0.1,0.1,MAINRUINCOLOR) | |
5660 | RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8) | |
5661 | LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8) | |
5662 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.8) | |
5663 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.8) | |
5664 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8) | |
5665 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8) | |
5666 | end | |
5667 | end | |
5668 | local absval = 0 | |
5669 | CFuncs["Sound"].Create("rbxassetid://1368583274", char, 7.5, 0.25) | |
5670 | CFuncs["LongSound"].Create("rbxassetid://1368583274", char, 7.5, 0.5) | |
5671 | for i = 0, 40, 0.1 do | |
5672 | swait() | |
5673 | hum.CameraOffset = vt(math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2) | |
5674 | absval = absval + 0.01 | |
5675 | slash(math.random(50,100)/10,2,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(absval*2,0.01,absval*2),math.random(10,100)/1000,BrickColor.new("Bright orange")) | |
5676 | slash(math.random(10,100)/10,2,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(absval/3,0.01,absval/3),math.random(50,100)/100,BrickColor.new("Deep orange")) | |
5677 | for i = 0, 1 do | |
5678 | sphere2(4,"Add",root.CFrame*CFrame.new(math.random(-absval*200,absval*200),math.random(-25,25),math.random(-absval*200,absval*200)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR) | |
5679 | end | |
5680 | sphere2(4,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),absval,absval,absval,MAINRUINCOLOR) | |
5681 | sphere2(4,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,5,15),-0.15,absval*5,-0.15,MAINRUINCOLOR) | |
5682 | RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) | |
5683 | LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
5684 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
5685 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
5686 | RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
5687 | LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
5688 | end | |
5689 | for i = 0, 25, 0.1 do | |
5690 | swait() | |
5691 | hum.CameraOffset = vt(math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2) | |
5692 | slash(math.random(50,100)/10,2,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(absval*2,0.01,absval*2),math.random(10,100)/1000,BrickColor.new("Bright orange")) | |
5693 | slash(math.random(10,100)/10,2,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(absval/3,0.01,absval/3),math.random(50,100)/100,BrickColor.new("Deep orange")) | |
5694 | for i = 0, 1 do | |
5695 | sphere2(4,"Add",root.CFrame*CFrame.new(math.random(-absval*200,absval*200),math.random(-25,25),math.random(-absval*200,absval*200)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR) | |
5696 | end | |
5697 | sphere2(4,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),absval,absval,absval,MAINRUINCOLOR) | |
5698 | sphere2(4,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,5,15),-0.15,absval*5,-0.15,MAINRUINCOLOR) | |
5699 | RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) | |
5700 | LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
5701 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
5702 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
5703 | RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
5704 | LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
5705 | end | |
5706 | efec.Enabled = false | |
5707 | efec2.Enabled = false | |
5708 | efec3.Enabled = false | |
5709 | CFuncs["Sound"].Create("rbxassetid://1368637781", char, 5, 0.25) | |
5710 | CFuncs["Sound"].Create("rbxassetid://1368637781", char, 5, 0.5) | |
5711 | CFuncs["Sound"].Create("rbxassetid://1368637781", char, 5, 0.75) | |
5712 | CFuncs["Sound"].Create("rbxassetid://1368637781", char, 7.5, 1) | |
5713 | CFuncs["Sound"].Create("rbxassetid://1368605755", char, 7.5, 1) | |
5714 | CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.5) | |
5715 | CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.25) | |
5716 | CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 1) | |
5717 | CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 0.75) | |
5718 | CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.5) | |
5719 | CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.25) | |
5720 | for i = 0, 2 do | |
5721 | CFuncs["Sound"].Create("rbxassetid://763717897", char, 10, 0.5) | |
5722 | CFuncs["Sound"].Create("rbxassetid://1664711478", char, 10, 1) | |
5723 | end | |
5724 | for i = 0, 99 do | |
5725 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
5726 | dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
5727 | local at1 = Instance.new("Attachment",dis) | |
5728 | at1.Position = vt(-25000,0,0) | |
5729 | local at2 = Instance.new("Attachment",dis) | |
5730 | at2.Position = vt(25000,0,0) | |
5731 | local trl = Instance.new('Trail',dis) | |
5732 | trl.Attachment0 = at1 | |
5733 | trl.FaceCamera = true | |
5734 | trl.Attachment1 = at2 | |
5735 | trl.Texture = "rbxassetid://1049219073" | |
5736 | trl.LightEmission = 1 | |
5737 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
5738 | trl.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5739 | trl.Lifetime = 5 | |
5740 | local bv = Instance.new("BodyVelocity") | |
5741 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5742 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
5743 | bv.Parent = dis | |
5744 | game:GetService("Debris"):AddItem(dis, 15) | |
5745 | end | |
5746 | for i = 0, 49 do | |
5747 | sphere2(1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),-0.1,absval*100,-0.1,MAINRUINCOLOR) | |
5748 | end | |
5749 | for i = 0, 9, 0.1 do | |
5750 | swait() | |
5751 | hum.CameraOffset = vt(math.random(-20,20)/5*absval,math.random(-20,20)/5*absval,math.random(-20,20)/5*absval) | |
5752 | sphere2(9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),absval+5,absval+5,absval+5,MAINRUINCOLOR) | |
5753 | for i = 0, 4 do | |
5754 | slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(absval/2,0.01,absval/2),math.random(50,5000)/100,BrickColor.new("Deep orange")) | |
5755 | end | |
5756 | RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) | |
5757 | LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
5758 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
5759 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
5760 | RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
5761 | LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
5762 | end | |
5763 | hum.CameraOffset = vt(0,0,0) | |
5764 | vel:Destroy() | |
5765 | efec:Destroy() | |
5766 | efec2:Destroy() | |
5767 | efec3:Destroy() | |
5768 | ModeOfGlitch = 5000000000 | |
5769 | storehumanoidWS = 200 | |
5770 | hum.WalkSpeed = 200 | |
5771 | rainbowmode = false | |
5772 | chaosmode = false | |
5773 | RecolorTextAndRename("SOL",Color3.new(1,0.75,0),Color3.new(1,0.35,0),"Antique") | |
5774 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
5775 | hum.WalkSpeed = 200 | |
5776 | attack = false | |
5777 | end | |
5778 | ||
5779 | ||
5780 | function ascendAzure() | |
5781 | attack = true | |
5782 | hum.WalkSpeed = 0 | |
5783 | newThemeCust("rbxassetid://739066292",0,1.01,1.5) | |
5784 | MAINRUINCOLOR = BrickColor.new("Magenta") | |
5785 | local vel = Instance.new("BodyPosition", root) | |
5786 | vel.P = 25000 | |
5787 | vel.D = 1000 | |
5788 | vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
5789 | vel.position = root.CFrame.p + vt(0,250,0) | |
5790 | CFuncs["Sound"].Create("rbxassetid://1295446488", char, 1.5, 1) | |
5791 | for i = 0, 49 do | |
5792 | slash(math.random(10,100)/10,3,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.05,0.01,0.05),math.random(25,500)/250,BrickColor.new("White")) | |
5793 | end | |
5794 | local efec = Instance.new("ParticleEmitter",root) | |
5795 | efec.Texture = "rbxassetid://2109052855" | |
5796 | efec.LightEmission = 1 | |
5797 | efec.Color = ColorSequence.new(Color3.new(0.5,0,1)) | |
5798 | efec.Rate = 5 | |
5799 | efec.Lifetime = NumberRange.new(3) | |
5800 | efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.2,60,0),NumberSequenceKeypoint.new(0.6,400,0),NumberSequenceKeypoint.new(0.8,300,0),NumberSequenceKeypoint.new(1,200,0)}) | |
5801 | efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5802 | efec.Drag = 5 | |
5803 | efec.LockedToPart = true | |
5804 | efec.Rotation = NumberRange.new(-500,500) | |
5805 | efec.VelocitySpread = 9000 | |
5806 | efec.RotSpeed = NumberRange.new(-500,500) | |
5807 | local efec2 = efec:Clone() | |
5808 | efec2.LightEmission = 1 | |
5809 | efec2.Texture = "rbxassetid://2092248396" | |
5810 | efec2.Parent = root | |
5811 | efec2.Rate = 10 | |
5812 | efec2.Lifetime = NumberRange.new(2) | |
5813 | efec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(0.5,150,0),NumberSequenceKeypoint.new(0.8,500,0),NumberSequenceKeypoint.new(1,1000,0)}) | |
5814 | efec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5815 | efec2.Speed = NumberRange.new(0) | |
5816 | efec2.RotSpeed = NumberRange.new(-100,100) | |
5817 | local efec3 = efec:Clone() | |
5818 | efec3.LightEmission = 1 | |
5819 | efec3.Color = ColorSequence.new(Color3.new(0.75,0.5,1)) | |
5820 | efec3.Texture = "rbxassetid://2273224484" | |
5821 | efec3.Parent = root | |
5822 | efec3.Rate = 10000 | |
5823 | efec3.Drag = 5 | |
5824 | efec3.LockedToPart = false | |
5825 | efec3.Lifetime = NumberRange.new(2) | |
5826 | efec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.5,10,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5827 | efec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5828 | efec3.Speed = NumberRange.new(50,1550) | |
5829 | efec3.RotSpeed = NumberRange.new(-100,100) | |
5830 | for i = 0, 4, 0.1 do | |
5831 | swait() | |
5832 | hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30) | |
5833 | RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-25)),.8) | |
5834 | LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(25)),.8) | |
5835 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.8) | |
5836 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.8) | |
5837 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-57)),.8) | |
5838 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(83),math.rad(0),math.rad(58)),.8) | |
5839 | end | |
5840 | local absval = 0 | |
5841 | CFuncs["LongSound"].Create("rbxassetid://1368583274", char, 4.5, 0.2) | |
5842 | for i = 0, 50, 0.1 do | |
5843 | swait() | |
5844 | hum.CameraOffset = vt(math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2) | |
5845 | absval = absval + 0.005 | |
5846 | sphere2(4,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),absval,absval,absval,MAINRUINCOLOR) | |
5847 | RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1) | |
5848 | LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1) | |
5849 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1) | |
5850 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
5851 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1) | |
5852 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1) | |
5853 | end | |
5854 | CFuncs["Sound"].Create("rbxassetid://824687369", char, 5, 0.6) | |
5855 | CFuncs["Sound"].Create("rbxassetid://824687369", char, 5, 0.7) | |
5856 | CFuncs["Sound"].Create("rbxassetid://824687369", char, 5, 0.8) | |
5857 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 7.5, 1) | |
5858 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 7, 1) | |
5859 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 6.5, 0.8) | |
5860 | for i = 0, 99 do | |
5861 | local disr = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
5862 | disr.CFrame = root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
5863 | local at1 = Instance.new("Attachment",disr) | |
5864 | at1.Position = vt(-10,0,0) | |
5865 | local at2 = Instance.new("Attachment",disr) | |
5866 | at2.Position = vt(10,0,0) | |
5867 | local trl = Instance.new('Trail',disr) | |
5868 | trl.Attachment0 = at1 | |
5869 | trl.FaceCamera = true | |
5870 | trl.Attachment1 = at2 | |
5871 | trl.Texture = "rbxassetid://2325530138" | |
5872 | trl.LightEmission = 1 | |
5873 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
5874 | trl.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5875 | trl.Lifetime = 0.5 | |
5876 | local bv = Instance.new("BodyVelocity") | |
5877 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5878 | bv.velocity = disr.CFrame.lookVector*math.random(50,750) | |
5879 | bv.Parent = disr | |
5880 | local val = 0 | |
5881 | coroutine.resume(coroutine.create(function() | |
5882 | swait(math.random(30,60)) | |
5883 | for i = 0, 19 do | |
5884 | swait() | |
5885 | val = val + 0.05 | |
5886 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)}) | |
5887 | end | |
5888 | game:GetService("Debris"):AddItem(disr, 3) | |
5889 | end)) | |
5890 | end | |
5891 | sphere2(4,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),absval*2.5,absval*2.5,absval*2.5,MAINRUINCOLOR) | |
5892 | sphere2(4,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),absval*5,absval*5,absval*5,MAINRUINCOLOR) | |
5893 | for i = 0, 25, 0.1 do | |
5894 | swait() | |
5895 | local disr = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
5896 | disr.CFrame = root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
5897 | local at1 = Instance.new("Attachment",disr) | |
5898 | at1.Position = vt(-10,0,0) | |
5899 | local at2 = Instance.new("Attachment",disr) | |
5900 | at2.Position = vt(10,0,0) | |
5901 | local trl = Instance.new('Trail',disr) | |
5902 | trl.Attachment0 = at1 | |
5903 | trl.FaceCamera = true | |
5904 | trl.Attachment1 = at2 | |
5905 | trl.Texture = "rbxassetid://2325530138" | |
5906 | trl.LightEmission = 1 | |
5907 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
5908 | trl.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5909 | trl.Lifetime = 0.5 | |
5910 | local bv = Instance.new("BodyVelocity") | |
5911 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5912 | bv.velocity = disr.CFrame.lookVector*math.random(50,750) | |
5913 | bv.Parent = disr | |
5914 | local val = 0 | |
5915 | coroutine.resume(coroutine.create(function() | |
5916 | swait(30) | |
5917 | for i = 0, 9 do | |
5918 | swait() | |
5919 | val = val + 0.1 | |
5920 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)}) | |
5921 | end | |
5922 | game:GetService("Debris"):AddItem(disr, 3) | |
5923 | end)) | |
5924 | hum.CameraOffset = vt(math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2) | |
5925 | sphere2(4,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),absval,absval,absval,MAINRUINCOLOR) | |
5926 | sphere2(4,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,5,15),-0.15,absval*5,-0.15,MAINRUINCOLOR) | |
5927 | RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1) | |
5928 | LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1) | |
5929 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1) | |
5930 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
5931 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1) | |
5932 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1) | |
5933 | end | |
5934 | efec.Enabled = false | |
5935 | efec2.Enabled = false | |
5936 | efec3.Enabled = false | |
5937 | CFuncs["Sound"].Create("rbxassetid://1368605755", char, 7.5, 1) | |
5938 | CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.5) | |
5939 | CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.25) | |
5940 | CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 1) | |
5941 | CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 0.75) | |
5942 | CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.5) | |
5943 | CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.25) | |
5944 | CFuncs["Sound"].Create("rbxassetid://1664711478", char, 10, 1) | |
5945 | for i = 0, 2 do | |
5946 | CFuncs["Sound"].Create("rbxassetid://824687369", char, 10, 1) | |
5947 | CFuncs["Sound"].Create("rbxassetid://824687369", char, 10, 0.75) | |
5948 | end | |
5949 | for i = 0, 99 do | |
5950 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
5951 | dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
5952 | local at1 = Instance.new("Attachment",dis) | |
5953 | at1.Position = vt(-25000,0,0) | |
5954 | local at2 = Instance.new("Attachment",dis) | |
5955 | at2.Position = vt(25000,0,0) | |
5956 | local trl = Instance.new('Trail',dis) | |
5957 | trl.Attachment0 = at1 | |
5958 | trl.FaceCamera = true | |
5959 | trl.Attachment1 = at2 | |
5960 | trl.Texture = "rbxassetid://1049219073" | |
5961 | trl.LightEmission = 1 | |
5962 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
5963 | trl.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5964 | trl.Lifetime = 5 | |
5965 | local bv = Instance.new("BodyVelocity") | |
5966 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5967 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
5968 | bv.Parent = dis | |
5969 | game:GetService("Debris"):AddItem(dis, 10) | |
5970 | end | |
5971 | for i = 0, 49 do | |
5972 | sphere2(1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0.1,absval*100,0.1,BrickColor.new("Royal purple")) | |
5973 | end | |
5974 | for i = 0, 3, 0.1 do | |
5975 | swait() | |
5976 | hum.CameraOffset = vt(math.random(-20,20)/5*absval,math.random(-20,20)/5*absval,math.random(-20,20)/5*absval) | |
5977 | sphere2(9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),absval+5,absval+5,absval+5,BrickColor.new("Royal purple")) | |
5978 | for i = 0, 4 do | |
5979 | slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(absval/2,0.01,absval/2),math.random(50,5000)/100,BrickColor.new("Really black")) | |
5980 | end | |
5981 | RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) | |
5982 | LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
5983 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
5984 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
5985 | RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
5986 | LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
5987 | end | |
5988 | hum.CameraOffset = vt(0,0,0) | |
5989 | vel:Destroy() | |
5990 | efec:Destroy() | |
5991 | efec2:Destroy() | |
5992 | efec3:Destroy() | |
5993 | hum.WalkSpeed = 200 | |
5994 | ModeOfGlitch = 2000000000 | |
5995 | storehumanoidWS = 200 | |
5996 | hum.WalkSpeed = 200 | |
5997 | rainbowmode = false | |
5998 | chaosmode = false | |
5999 | RecolorTextAndRename("AZURE X",BrickColor.new("Dark indigo").Color,BrickColor.new("Magenta").Color,"Antique") | |
6000 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark indigo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
6001 | attack = false | |
6002 | end | |
6003 | ------------------------------------- | |
6004 | ||
6005 | Humanoid.Animator.Parent = nil | |
6006 | ||
6007 | Character.Animate:Destroy() | |
6008 | ||
6009 | ------------------------------------- | |
6010 | ||
6011 | local attacktype = 1 | |
6012 | mouse.Button1Down:connect(function() | |
6013 | if attack == false and attacktype == 1 then | |
6014 | attacktype = 2 | |
6015 | attackone() | |
6016 | elseif attack == false and attacktype == 2 then | |
6017 | attacktype = 3 | |
6018 | attacktwo() | |
6019 | elseif attack == false and attacktype == 3 then | |
6020 | attacktype = 1 | |
6021 | attackthree() | |
6022 | elseif attack == false and attacktype == 4 then | |
6023 | attacktype = 1 | |
6024 | --attackfour() | |
6025 | end | |
6026 | end) | |
6027 | ||
6028 | local OVMID = 1554894079 | |
6029 | local OVMPIT = 1 | |
6030 | local OVMVOL = 1 | |
6031 | mouse.KeyDown:connect(function(k) | |
6032 | if k == "q" and attack == false and ModeOfGlitch ~= 1 then | |
6033 | --resetmode() | |
6034 | ModeOfGlitch = 1 | |
6035 | storehumanoidWS = 16 | |
6036 | hum.WalkSpeed = 16 | |
6037 | hum.JumpPower = 50 | |
6038 | rainbowmode = false | |
6039 | chaosmode = false | |
6040 | RecolorTextAndRename("Enlightened",Color3.new(1,1,1),Color3.new(0.75,0.75,0.75),"Code") | |
6041 | newTheme("rbxassetid://603567552",0,1.02,1.25) | |
6042 | MAINRUINCOLOR = BrickColor.new("White") | |
6043 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
6044 | end | |
6045 | if k == "e" and attack == false and ModeOfGlitch ~= 2 then | |
6046 | ModeOfGlitch = 2 | |
6047 | storehumanoidWS = 16 | |
6048 | hum.WalkSpeed = 16 | |
6049 | rainbowmode = false | |
6050 | chaosmode = false | |
6051 | RecolorTextAndRename("Azure",Color3.new(0,0,0),BrickColor.new("Bright violet").Color,"Code") | |
6052 | newTheme("rbxassetid://2027652726",0,1.01,1.25) | |
6053 | MAINRUINCOLOR = BrickColor.new("Bright violet") | |
6054 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
6055 | end | |
6056 | if k == "r" and attack == false and ModeOfGlitch ~= 3 then | |
6057 | ModeOfGlitch = 3 | |
6058 | storehumanoidWS = 16 | |
6059 | hum.WalkSpeed = 16 | |
6060 | rainbowmode = false | |
6061 | chaosmode = false | |
6062 | RecolorTextAndRename("BINARY",Color3.new(0,0,0),Color3.new(0,1,0),"SciFi") | |
6063 | newTheme("rbxassetid://2041343402",0,1.01,1.25) | |
6064 | MAINRUINCOLOR = BrickColor.new("Lime green") | |
6065 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
6066 | end | |
6067 | if k == "t" and attack == false and ModeOfGlitch ~= 4 then | |
6068 | ModeOfGlitch = 4 | |
6069 | storehumanoidWS = 16 | |
6070 | hum.WalkSpeed = 16 | |
6071 | rainbowmode = false | |
6072 | chaosmode = false | |
6073 | RecolorTextAndRename("Luna",Color3.new(0,0,0.25),BrickColor.new("Bright yellow").Color,"SourceSansBold") | |
6074 | newTheme("rbxassetid://2022787645",0,1.02,1.25) | |
6075 | MAINRUINCOLOR = BrickColor.new("Navy blue") | |
6076 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
6077 | end | |
6078 | if k == "y" and attack == false and ModeOfGlitch ~= 5 then | |
6079 | ModeOfGlitch = 5 | |
6080 | storehumanoidWS = 16 | |
6081 | hum.WalkSpeed = 16 | |
6082 | rainbowmode = false | |
6083 | chaosmode = false | |
6084 | RecolorTextAndRename("Blaze",Color3.new(1,0.5,0),Color3.new(1,1,0),"Fantasy") | |
6085 | newTheme("rbxassetid://318890513",0,1.01,1.25) | |
6086 | MAINRUINCOLOR = BrickColor.new("Deep orange") | |
6087 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
6088 | end | |
6089 | if k == "u" and attack == false and ModeOfGlitch ~= 6 then | |
6090 | ModeOfGlitch = 6 | |
6091 | storehumanoidWS = 100 | |
6092 | hum.WalkSpeed = 100 | |
6093 | rainbowmode = false | |
6094 | chaosmode = false | |
6095 | RecolorTextAndRename("GALACTIC",Color3.new(0,0,0.5),Color3.new(0.75,1,1),"Fantasy") | |
6096 | newTheme("rbxassetid://604910909",0,1.02,1.25) | |
6097 | MAINRUINCOLOR = BrickColor.new("Pastel light blue") | |
6098 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
6099 | end | |
6100 | if k == "f" and attack == false and ModeOfGlitch ~= 7 then | |
6101 | ModeOfGlitch = 7 | |
6102 | storehumanoidWS = 175 | |
6103 | hum.WalkSpeed = 175 | |
6104 | rainbowmode = false | |
6105 | chaosmode = false | |
6106 | RecolorTextAndRename("HYPERSPEED",BrickColor.new("Cyan").Color,BrickColor.new("Toothpaste").Color,"Arcade") | |
6107 | newTheme("rbxassetid://2011847746",0,1.01,1.25) | |
6108 | MAINRUINCOLOR = BrickColor.new("Cyan") | |
6109 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
6110 | end | |
6111 | if k == "g" and attack == false and ModeOfGlitch ~= 8 then | |
6112 | ModeOfGlitch = 8 | |
6113 | storehumanoidWS = 100 | |
6114 | hum.WalkSpeed = 100 | |
6115 | rainbowmode = false | |
6116 | chaosmode = false | |
6117 | RecolorTextAndRename("CHAOTIC",BrickColor.new("Really red").Color,BrickColor.new("Bright red").Color,"Antique") | |
6118 | newTheme("rbxassetid://603566564",0,1.01,1.65) | |
6119 | MAINRUINCOLOR = BrickColor.new("Really red") | |
6120 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
6121 | end | |
6122 | if k == "h" and attack == false and ModeOfGlitch ~= 9 then | |
6123 | ModeOfGlitch = 9 | |
6124 | storehumanoidWS = 135 | |
6125 | hum.WalkSpeed = 135 | |
6126 | rainbowmode = false | |
6127 | chaosmode = false | |
6128 | RecolorTextAndRename("Visualiser",BrickColor.new("Medium stone grey").Color,BrickColor.new("Black").Color,"Arcade") | |
6129 | newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL) | |
6130 | MAINRUINCOLOR = BrickColor.new("Medium stone grey") | |
6131 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
6132 | end | |
6133 | if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 1000000000 then | |
6134 | ModeOfGlitch = 1000000000 | |
6135 | storehumanoidWS = 350 | |
6136 | hum.WalkSpeed = 350 | |
6137 | rainbowmode = false | |
6138 | chaosmode = false | |
6139 | RecolorTextAndRename("DARKNESS",Color3.new(0,0,0),BrickColor.new("Really black").Color,"Antique") | |
6140 | newTheme("rbxassetid://577543579",0,1,1.25) | |
6141 | MAINRUINCOLOR = BrickColor.new("Really black") | |
6142 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
6143 | end | |
6144 | if k == "j" and attack == false and ModeOfGlitch ~= 9600000000 then | |
6145 | loveydovey() | |
6146 | end | |
6147 | if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 6000000000 then | |
6148 | UnknownA() | |
6149 | elseif k == "m" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 5000000000 then | |
6150 | SolarSystem() | |
6151 | elseif k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 2000000000 then | |
6152 | ascendAzure() | |
6153 | end | |
6154 | if k == "b" and ModeOfGlitch == 6000000000 and attack == false then | |
6155 | harmonytaunty() | |
6156 | elseif k == "b" and ModeOfGlitch == 9 and attack == false then | |
6157 | vistaunty() | |
6158 | elseif k == "b" and ModeOfGlitch == 9600000000 and attack == false then | |
6159 | shytaunty() | |
6160 | end | |
6161 | if k == "z" and ModeOfGlitch == 1 and attack == false then | |
6162 | Beams() | |
6163 | elseif k == "z" and ModeOfGlitch == 2 and attack == false then | |
6164 | smiter() | |
6165 | elseif k == "z" and ModeOfGlitch == 2000000000 and attack == false then | |
6166 | supsmiter() | |
6167 | elseif k == "z" and ModeOfGlitch == 3 and attack == false then | |
6168 | BinaryE() | |
6169 | elseif k == "z" and ModeOfGlitch == 4 and attack == false then | |
6170 | elseif k == "z" and ModeOfGlitch == 5 and attack == false then | |
6171 | Crossfire() | |
6172 | elseif k == "z" and ModeOfGlitch == 6 and attack == false then | |
6173 | GalacticalBeams() | |
6174 | elseif k == "z" and ModeOfGlitch == 7 and attack == false then | |
6175 | WarpedDash() | |
6176 | elseif k == "z" and ModeOfGlitch == 8 and attack == false then | |
6177 | elseif k == "z" and ModeOfGlitch == 9 and attack == false then | |
6178 | end | |
6179 | if k == "x" and ModeOfGlitch == 3 and attack == false then | |
6180 | BinaryBLINK() | |
6181 | end | |
6182 | if k == "v" and ModeOfGlitch == 2 and attack == false then | |
6183 | SingularityVoid() | |
6184 | elseif k == "v" and ModeOfGlitch == 8 and attack == false then | |
6185 | BeamOfDeath() | |
6186 | elseif k == "v" and ModeOfGlitch == 2000000000 and attack == false then | |
6187 | AzureVANISHMENT() | |
6188 | end | |
6189 | if k == "l" and mutedtog == false then | |
6190 | mutedtog = true | |
6191 | kan.Volume = 0 | |
6192 | elseif k == "l" and mutedtog == true then | |
6193 | mutedtog = false | |
6194 | kan.Volume = 1.25 | |
6195 | end | |
6196 | if k == "p" and toggleTag == false then | |
6197 | toggleTag = true | |
6198 | modet.TextTransparency = 0 | |
6199 | modet.TextStrokeTransparency = 0 | |
6200 | elseif k == "p" and toggleTag == true then | |
6201 | toggleTag = false | |
6202 | modet.TextTransparency = 1 | |
6203 | modet.TextStrokeTransparency = 1 | |
6204 | end | |
6205 | end) | |
6206 | ||
6207 | local sunval = 0.01 | |
6208 | coroutine.resume(coroutine.create(function() | |
6209 | while true do | |
6210 | for i = 0, 199 do | |
6211 | swait() | |
6212 | sunval = sunval + 0.00005 | |
6213 | end | |
6214 | for i = 0, 199 do | |
6215 | swait() | |
6216 | sunval = sunval - 0.00005 | |
6217 | end | |
6218 | end | |
6219 | end)) | |
6220 | plr.Chatted:connect(function(message) | |
6221 | if ModeOfGlitch == 9 then | |
6222 | if message:sub(1,5) == "play/" then | |
6223 | OVMID = message:sub(6) | |
6224 | newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL) | |
6225 | elseif message:sub(1,6) == "pitch/" then | |
6226 | OVMPIT = message:sub(7) | |
6227 | newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL) | |
6228 | elseif message:sub(1,4) == "vol/" then | |
6229 | OVMVOL = message:sub(5) | |
6230 | newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL) | |
6231 | elseif message:sub(1,7) == "skipto/" then | |
6232 | chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1) | |
6233 | newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL) | |
6234 | elseif message:sub(1,9) == "telltime/" then | |
6235 | chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1) | |
6236 | end | |
6237 | end | |
6238 | end) | |
6239 | local rotperm = 0 | |
6240 | coroutine.resume(coroutine.create(function() | |
6241 | while true do | |
6242 | swait() | |
6243 | if ModeOfGlitch == 1 or ModeOfGlitch == 2 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 5 or ModeOfGlitch == 6 or ModeOfGlitch == 7 or ModeOfGlitch == 8 or ModeOfGlitch == 1000000000 or ModeOfGlitch == 5000000000 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 6000000000 or ModeOfGlitch == 9600000000 then | |
6244 | sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,MAINRUINCOLOR,0) | |
6245 | coroutine.resume(coroutine.create(function() | |
6246 | if ModeOfGlitch == 5000000000 then | |
6247 | sphere2(25,"Add",sorb2.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),sunval,sunval,sunval,MAINRUINCOLOR) | |
6248 | end | |
6249 | end)) | |
6250 | elseif ModeOfGlitch == 9 and kan.PlaybackLoudness >= 50 then | |
6251 | swait(25 - kan.PlaybackLoudness/80) | |
6252 | sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.25,0,0.25,MAINRUINCOLOR) | |
6253 | if kan.PlaybackLoudness >= 300 then | |
6254 | CameraEnshaking(1,3) | |
6255 | for i = 0, 4 do | |
6256 | sphereMK(5,math.random(15,35)/150,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,20,-0.01,MAINRUINCOLOR,0) | |
6257 | end | |
6258 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.5,0,0.5,MAINRUINCOLOR) | |
6259 | end | |
6260 | local notsp = Instance.new("Part", char) | |
6261 | notsp.CanCollide = false | |
6262 | notsp.FormFactor = 3 | |
6263 | notsp.Name = "Ring" | |
6264 | notsp.Material = "Neon" | |
6265 | notsp.Size = Vector3.new(10, 1, 10) | |
6266 | if kan.PlaybackLoudness >= 300 then | |
6267 | notsp.Size = Vector3.new(25, 1, 25) | |
6268 | end | |
6269 | notsp.Transparency = 1 | |
6270 | notsp.TopSurface = 0 | |
6271 | notsp.BottomSurface = 0 | |
6272 | notsp.Anchored = true | |
6273 | notsp.CFrame = root.CFrame*CFrame.new(0,-3,0) | |
6274 | coroutine.resume(coroutine.create(function() | |
6275 | local eff = Instance.new("ParticleEmitter",notsp) | |
6276 | eff.Texture = "rbxassetid://288898235" | |
6277 | eff.LightEmission = 0.5 | |
6278 | eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)) | |
6279 | eff.Rate = 300 | |
6280 | eff.Lifetime = NumberRange.new(1) | |
6281 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
6282 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
6283 | eff.Speed = NumberRange.new(20,40) | |
6284 | eff.Acceleration = vt(0,-75,0) | |
6285 | eff.Drag = 1 | |
6286 | eff.Rotation = NumberRange.new(-10,10) | |
6287 | eff.VelocitySpread = 20 | |
6288 | eff.RotSpeed = NumberRange.new(-1,1) | |
6289 | coroutine.resume(coroutine.create(function() | |
6290 | while true do | |
6291 | swait() | |
6292 | if eff.Parent ~= nil then | |
6293 | if ModeOfGlitch == 9 then | |
6294 | eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)) | |
6295 | elseif ModeOfGlitch ~= 9 then | |
6296 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6297 | end | |
6298 | else | |
6299 | break | |
6300 | end | |
6301 | end | |
6302 | end)) | |
6303 | wait(0.1) | |
6304 | eff.Enabled = false | |
6305 | end)) | |
6306 | game:GetService("Debris"):AddItem(notsp, 5) | |
6307 | end | |
6308 | end | |
6309 | end)) | |
6310 | ||
6311 | ||
6312 | Humanoid.Name = "GGLITCHER" | |
6313 | Humanoid.MaxHealth = math.huge | |
6314 | Humanoid.Health = math.huge | |
6315 | Instance.new("ForceField",char).Visible = false | |
6316 | ||
6317 | idleanim=.4 | |
6318 | while true do | |
6319 | Humanoid.MaxHealth = math.huge | |
6320 | Humanoid.Health = math.huge | |
6321 | if mutedtog == false and duringend == false then | |
6322 | kan.Volume = currentVol | |
6323 | elseif mutedtog == true and duringend == false then | |
6324 | kan.Volume = 0 | |
6325 | end | |
6326 | if duringend == false then | |
6327 | kan.PlaybackSpeed = currentPitch | |
6328 | kan.Pitch = currentPitch | |
6329 | end | |
6330 | kan.SoundId = currentThemePlaying | |
6331 | kan.Looped = true | |
6332 | kan.Parent = char | |
6333 | kan:Resume() | |
6334 | modet.Rotation = - 5 * math.cos(sine / 32) | |
6335 | techc.Rotation = techc.Rotation + 1 | |
6336 | circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1 | |
6337 | circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1 | |
6338 | imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 | |
6339 | imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 | |
6340 | imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30) | |
6341 | imgca.Rotation = imgca.Rotation + kan.PlaybackLoudness/50 + 1 | |
6342 | bguis.Size = UDim2.new(15 + 1 * math.cos(sine / 30),0, 15 + 1 * math.cos(sine / 30),0) | |
6343 | ned.Rotation = 0 - 2 * math.cos(sine / 24) | |
6344 | ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45)) | |
6345 | ||
6346 | swait() | |
6347 | if Anim ~= "Run" then | |
6348 | handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3) | |
6349 | lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3) | |
6350 | lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3) | |
6351 | lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3) | |
6352 | rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3) | |
6353 | rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3) | |
6354 | rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3) | |
6355 | else | |
6356 | handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0.5 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3) | |
6357 | lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 25),0)*angles(math.rad(20),math.rad(0),math.rad(90 - root.RotVelocity.Y*3)),.3) | |
6358 | lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 25),0)*angles(math.rad(20),math.rad(0),math.rad(145 - root.RotVelocity.Y*3)),.3) | |
6359 | lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 25),0)*angles(math.rad(20),math.rad(0),math.rad(35 - root.RotVelocity.Y*3)),.3) | |
6360 | rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 25),0)*angles(math.rad(20),math.rad(0),math.rad(-90 - root.RotVelocity.Y*3)),.3) | |
6361 | rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 25),0)*angles(math.rad(20),math.rad(0),math.rad(-145 - root.RotVelocity.Y*3)),.3) | |
6362 | rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 25),0)*angles(math.rad(20),math.rad(0),math.rad(-35 - root.RotVelocity.Y*3)),.3) | |
6363 | end | |
6364 | --------------- Visualiser Zone | |
6365 | if ModeOfGlitch == 9 then | |
6366 | modet.TextColor3 = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
6367 | for i, v in pairs(mw2:GetChildren()) do | |
6368 | if v:IsA("Part") then | |
6369 | v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
6370 | v.Material = "Neon" | |
6371 | end | |
6372 | end | |
6373 | for i, v in pairs(mw1:GetChildren()) do | |
6374 | if v:IsA("Part") then | |
6375 | v.Transparency = 0 | |
6376 | v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
6377 | v.Material = "Neon" | |
6378 | end | |
6379 | end | |
6380 | end | |
6381 | --------------- | |
6382 | sine = sine + change | |
6383 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
6384 | local velderp=RootPart.Velocity.y | |
6385 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
6386 | coroutine.resume(coroutine.create(function() | |
6387 | if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 6000000000 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 1000000000 or ModeOfGlitch == 5000000000 then | |
6388 | if hitfloor ~= nil then | |
6389 | if ModeOfGlitch ~= 1000000000 and ModeOfGlitch ~= 5000000000 then | |
6390 | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("White")) | |
6391 | elseif ModeOfGlitch == 1000000000 then | |
6392 | slash(math.random(25,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,85)/250,BrickColor.new("Really black")) | |
6393 | elseif ModeOfGlitch == 5000000000 then | |
6394 | slash(math.random(25,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-3,3)),math.rad(math.random(-360,360)),math.rad(math.random(-3,3))),vt(0.01,0.01,0.01),math.random(15,125)/250,BrickColor.new("Deep orange")) | |
6395 | end | |
6396 | end | |
6397 | end | |
6398 | end)) | |
6399 | if equipped==true or equipped==false then | |
6400 | if attack==false then | |
6401 | idle=idle+1 | |
6402 | else | |
6403 | idle=0 | |
6404 | end | |
6405 | if idle>=500 then | |
6406 | if attack==false then | |
6407 | --Sheath() | |
6408 | end | |
6409 | end | |
6410 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
6411 | Anim="Jump" | |
6412 | if attack==false then | |
6413 | RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) | |
6414 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1) | |
6415 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1) | |
6416 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1) | |
6417 | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1) | |
6418 | LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1) | |
6419 | end | |
6420 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
6421 | Anim="Fall" | |
6422 | if attack==false then | |
6423 | RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) | |
6424 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1) | |
6425 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1) | |
6426 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1) | |
6427 | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1) | |
6428 | LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1) | |
6429 | end | |
6430 | elseif torvel<1 and hitfloor~=nil then | |
6431 | Anim="Idle" | |
6432 | if attack==false then | |
6433 | if ModeOfGlitch == 1 then | |
6434 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10 + 2 * math.cos(sine / 43)),math.rad(0 - 2 * math.cos(sine / 34))),.1) | |
6435 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0 + 2 * math.cos(sine / 34))),.1) | |
6436 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(10 - 2 * math.cos(sine / 43))),.1) | |
6437 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 - 2 * math.cos(sine / 47)),math.rad(-10 + 2 * math.cos(sine / 43))),.1) | |
6438 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 48)),math.rad(-20 - 4 * math.cos(sine / 53)),math.rad(15 - 3 * math.cos(sine / 38))),.1) | |
6439 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-10 + 2 * math.cos(sine / 45)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 39))),.1) | |
6440 | elseif ModeOfGlitch == 2 then | |
6441 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5 + 3 * math.cos(sine / 45)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1) | |
6442 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 3 * math.cos(sine / 45)),math.rad(5),math.rad(0 + 2 * math.cos(sine / 34))),.1) | |
6443 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.03 * math.cos(sine / 45),0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0)),.1) | |
6444 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 2.5 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 99)),math.rad(0 + 10 * math.cos(sine / 78))),.1) | |
6445 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15 + 5 * math.cos(sine / 33)),math.rad(15 + 6 * math.cos(sine / 38)),math.rad(-10 - 3 * math.cos(sine / 42))),.1) | |
6446 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 5 * math.cos(sine / 28))),.1) | |
6447 | elseif ModeOfGlitch == 3 then | |
6448 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 34))),.1) | |
6449 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1) | |
6450 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1) | |
6451 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1) | |
6452 | RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1) | |
6453 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1) | |
6454 | elseif ModeOfGlitch == 4 then | |
6455 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-5),math.rad(0 - 3 * math.cos(sine / 34))),.1) | |
6456 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10 + 3 * math.cos(sine / 34))),.1) | |
6457 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(25)),.1) | |
6458 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 2 * math.cos(sine / 57)),math.rad(-25)),.1) | |
6459 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 5 * math.cos(sine / 34)),math.rad(0),math.rad(21 + 6 * math.cos(sine / 28))),.1) | |
6460 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-5 + 5 * math.cos(sine / 43)),math.rad(10 - 5 * math.cos(sine / 27)),math.rad(-5 - 3 * math.cos(sine / 36))),.1) | |
6461 | elseif ModeOfGlitch == 5 then | |
6462 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1) | |
6463 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1) | |
6464 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1) | |
6465 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1) | |
6466 | RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 2 * math.cos(sine / 28))),.1) | |
6467 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(46 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(80 - 3 * math.cos(sine / 39))),.1) | |
6468 | elseif ModeOfGlitch == 6 then | |
6469 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-10 + 4 * math.cos(sine / 34))),.1) | |
6470 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(5 + 2 * math.cos(sine / 34))),.1) | |
6471 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 53))),.1) | |
6472 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(2 + 3 * math.cos(sine / 41)),math.rad(5 + 2 * math.cos(sine / 53))),.1) | |
6473 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 4 * math.cos(sine / 28)),math.rad(0),math.rad(14 + 8 * math.cos(sine / 28))),.1) | |
6474 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(5 + 3 * math.cos(sine / 46)),math.rad(10 + 5 * math.cos(sine / 52)),math.rad(-15 - 6 * math.cos(sine / 28))),.1) | |
6475 | elseif ModeOfGlitch == 7 then | |
6476 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(1),math.rad(0 - 1 * math.cos(sine / 34))),.1) | |
6477 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
6478 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
6479 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 1 * math.cos(sine / 71)),math.rad(0)),.1) | |
6480 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(4 - 4 * math.cos(sine / 28)),math.rad(-8),math.rad(10 - 5 * math.cos(sine / 34))),.1) | |
6481 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(5),math.rad(5),math.rad(5)),.1) | |
6482 | elseif ModeOfGlitch == 8 or ModeOfGlitch == 1000000000 then | |
6483 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1) | |
6484 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1) | |
6485 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1) | |
6486 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1) | |
6487 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 3 * math.cos(sine / 30)),math.rad(25 - 3 * math.cos(sine / 38)),math.rad(28 - 6 * math.cos(sine / 34))),.1) | |
6488 | LW.C0=clerp(LW.C0,cf(-0.95,0.65 + 0.075 * math.cos(sine / 28),-0.65)*angles(math.rad(90 + 2 * math.cos(sine / 73)),math.rad(25 + 5 * math.cos(sine / 24)),math.rad(73 - 3 * math.cos(sine / 65))),.1) | |
6489 | elseif ModeOfGlitch == 9 then | |
6490 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4) | |
6491 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4) | |
6492 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(30)),.4) | |
6493 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-30)),.4) | |
6494 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(40 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(28 - 2 * math.cos(sine / 38))),.4) | |
6495 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4) | |
6496 | elseif ModeOfGlitch == 2000000000 then | |
6497 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1) | |
6498 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 3 * math.cos(sine / 34))),.1) | |
6499 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(2 + 3 * math.cos(sine / 34)),math.rad(0),math.rad(34 - 3 * math.cos(sine / 54))),.1) | |
6500 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 4 * math.cos(sine / 28)),math.rad(0 - 1 * math.cos(sine / 44)),math.rad(-34 + 3 * math.cos(sine / 54))),.1) | |
6501 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(12 + 5 * math.cos(sine / 62)),math.rad(30 + 5 * math.cos(sine / 48)),math.rad(19 + 6 * math.cos(sine / 36))),.1) | |
6502 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 65)),math.rad(6 + 3 * math.cos(sine / 57)),math.rad(-20 - 7 * math.cos(sine / 36))),.1) | |
6503 | elseif ModeOfGlitch == 5000000000 then | |
6504 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-16 + 4 * math.cos(sine / 34))),.1) | |
6505 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(10),math.rad(11 + 2 * math.cos(sine / 34))),.1) | |
6506 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-6 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-25 - 4 * math.cos(sine / 53))),.1) | |
6507 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(0 + 10 * math.cos(sine / 79)),math.rad(25 + 4 * math.cos(sine / 53))),.1) | |
6508 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 4 * math.cos(sine / 28)),math.rad(-20),math.rad(18 + 8 * math.cos(sine / 28))),.1) | |
6509 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170 + 3 * math.cos(sine / 46)),math.rad(10 + 5 * math.cos(sine / 52)),math.rad(-10 - 2 * math.cos(sine / 28))),.1) | |
6510 | elseif ModeOfGlitch == 6000000000 then | |
6511 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-15 + 6 * math.cos(sine / 34))),.1) | |
6512 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(7.5 - 4 * math.cos(sine / 47))),.1) | |
6513 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-1 + 4 * math.cos(sine / 62))),.1) | |
6514 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 28)),math.rad(5 - 6 * math.cos(sine / 79)),math.rad(1 - 4 * math.cos(sine / 62))),.1) | |
6515 | RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(38 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-95 - 3 * math.cos(sine / 28))),.1) | |
6516 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(45 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(80 + 5 * math.cos(sine / 30))),.1) | |
6517 | elseif ModeOfGlitch == 9600000000 then | |
6518 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1) | |
6519 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1) | |
6520 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1) | |
6521 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5 - 2.5 * math.cos(sine / 28)),math.rad(10 + 5 * math.cos(sine / 62)),math.rad(17 + 5 * math.cos(sine / 59))),.1) | |
6522 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 3 * math.cos(sine / 53)),math.rad(0),math.rad(-37 + 2 * math.cos(sine / 37))),.1) | |
6523 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(23 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(38 - 3 * math.cos(sine / 57) )),.1) | |
6524 | end | |
6525 | end | |
6526 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
6527 | Anim="Walk" | |
6528 | if attack==false then | |
6529 | if ModeOfGlitch ~= 9600000000 then | |
6530 | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) | |
6531 | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) | |
6532 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1) | |
6533 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1) | |
6534 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1) | |
6535 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1) | |
6536 | elseif ModeOfGlitch == 9600000000 then | |
6537 | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1) | |
6538 | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1) | |
6539 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(15 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 8))),.1) | |
6540 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15 + 3 * math.cos(sine / 4)),math.rad(0 - 10 * math.cos(sine / 8)),math.rad(0 - hed.RotVelocity.Y*2.5 + 10 * math.cos(sine / 8))),.1) | |
6541 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 80 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1) | |
6542 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 80 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1) | |
6543 | end | |
6544 | end | |
6545 | elseif torvel>=22 and hitfloor~=nil then | |
6546 | Anim="Run" | |
6547 | if attack==false then | |
6548 | if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1000000000 and ModeOfGlitch ~= 2000000000 and ModeOfGlitch ~= 6000000000 and ModeOfGlitch ~= 5000000000 then | |
6549 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) | |
6550 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) | |
6551 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1) | |
6552 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1) | |
6553 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(-10),math.rad(7 + 5 * math.cos(sine / 6))),.1) | |
6554 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(10),math.rad(-7 - 5 * math.cos(sine / 6))),.1) | |
6555 | if ModeOfGlitch == 7 or ModeOfGlitch == 9600000000 then | |
6556 | sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0) | |
6557 | --sphereMK(3,0,"Add",root.CFrame*CFrame.new(0,0,8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,5,20,-0.0075,MAINRUINCOLOR,0) | |
6558 | end | |
6559 | elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1000000000 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 6000000000 or ModeOfGlitch == 5000000000 then | |
6560 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2) | |
6561 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2) | |
6562 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2) | |
6563 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2) | |
6564 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2) | |
6565 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2) | |
6566 | end | |
6567 | end | |
6568 | end | |
6569 | end | |
6570 | end |