SHOW:
|
|
- or go back to the newest paste.
1 | - | local Player = game:GetService("Players").PiterMosskva_TV |
1 | + | local Player = game:GetService("Players").zXzGamePROzXz |
2 | local Mouse,mouse,UserInputService,ContextActionService | |
3 | do | |
4 | script.Parent = Player.Character | |
5 | local CAS = {Actions={}} | |
6 | local Event = Instance.new("RemoteEvent") | |
7 | Event.Name = "UserInput_Event" | |
8 | Event.Parent = Player.Character | |
9 | local fakeEvent = function() | |
10 | local t = {_fakeEvent=true} | |
11 | t.Connect = function(self,f)self.Function=f end | |
12 | t.connect = t.Connect | |
13 | return t | |
14 | end | |
15 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
16 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
17 | function CAS:BindAction(name,fun,touch,...) | |
18 | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} | |
19 | end | |
20 | function CAS:UnbindAction(name) | |
21 | CAS.Actions[name] = nil | |
22 | end | |
23 | local function te(self,ev,...) | |
24 | local t = m[ev] | |
25 | if t and t._fakeEvent and t.Function then | |
26 | t.Function(...) | |
27 | end | |
28 | end | |
29 | m.TrigEvent = te | |
30 | UIS.TrigEvent = te | |
31 | Event.OnServerEvent:Connect(function(plr,io) | |
32 | if plr~=Player then return end | |
33 | if io.isMouse then | |
34 | m.Target = io.Target | |
35 | m.Hit = io.Hit | |
36 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
37 | if io.UserInputState == Enum.UserInputState.Begin then | |
38 | m:TrigEvent("Button1Down") | |
39 | else | |
40 | m:TrigEvent("Button1Up") | |
41 | end | |
42 | else | |
43 | for n,t in pairs(CAS.Actions) do | |
44 | for _,k in pairs(t.Keys) do | |
45 | if k==io.KeyCode then | |
46 | t.Function(t.Name,io.UserInputState,io) | |
47 | end | |
48 | end | |
49 | end | |
50 | if io.UserInputState == Enum.UserInputState.Begin then | |
51 | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) | |
52 | UIS:TrigEvent("InputBegan",io,false) | |
53 | else | |
54 | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) | |
55 | UIS:TrigEvent("InputEnded",io,false) | |
56 | end | |
57 | end | |
58 | end) | |
59 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
60 | end | |
61 | warn'Star Glitcher Loaded.' | |
62 | warn'All purpose switcher...' | |
63 | warn'Created by Noobygames12' | |
64 | warn'Edited by Neubla_Zorua' | |
65 | warn([[Icons: | |
66 | ! = New | |
67 | ? = Spoilers | |
68 | * = Exclusivity]]) | |
69 | print([[V 3.21 (ON PROGRESS) Update Log: | |
70 | ! - Changed Judgement back to Justice | |
71 | ! - Gave Divinity an attack named Judgement. Credit to XXUNORIB | |
72 | ! - Replaced Corruption with Glitchy | |
73 | ! - Fixed some bugs, too | |
74 | ! - Changed Chaos's "B" (Chaos Begone) to a keystroke. (ddawas) | |
75 | ]]) | |
76 | ||
77 | --- its obs smooth af do not touch | |
78 | ---- Sources and functions might be taken from others | |
79 | - | plr = game:GetService("Players").PiterMosskva_TV |
79 | + | plr = game:GetService("Players").zXzGamePROzXz |
80 | char = plr.Character | |
81 | hum = char:FindFirstChildOfClass'Humanoid' | |
82 | local cam = game.Workspace.CurrentCamera | |
83 | - | local Controller = PiterMosskva_TV |
83 | + | local Controller = zXzGamePROzXz |
84 | Camera = cam | |
85 | local CamInterrupt = false | |
86 | local TwoD = false | |
87 | local TargetInfo = {nil, nil} | |
88 | cam.CameraType = "Custom" | |
89 | t = char.Torso | |
90 | h = char.Head | |
91 | ra = char["Right Arm"] | |
92 | la = char["Left Arm"] | |
93 | rl = char["Right Leg"] | |
94 | ll = char["Left Leg"] | |
95 | tors = char.Torso | |
96 | lleg = char["Left Leg"] | |
97 | root = char.HumanoidRootPart | |
98 | hed = char.Head | |
99 | rleg = char["Right Leg"] | |
100 | rarm = char["Right Arm"] | |
101 | larm = char["Left Arm"] | |
102 | radian = math.rad | |
103 | random = math.random | |
104 | Vec3 = Vector3.new | |
105 | Inst = Instance.new | |
106 | cFrame = CFrame.new | |
107 | Euler = CFrame.fromEulerAnglesXYZ | |
108 | vt = Vector3.new | |
109 | bc = BrickColor.new | |
110 | br = BrickColor.random | |
111 | it = Instance.new | |
112 | cf = CFrame.new | |
113 | ||
114 | local ODers = {} | |
115 | ||
116 | local AllowRape = false; | |
117 | local AllowCata = false; | |
118 | ||
119 | local Booleans = { | |
120 | CamFollow = true, | |
121 | GyroUse = true | |
122 | } | |
123 | ||
124 | function lerp(object, newCFrame, alpha) | |
125 | return object:lerp(newCFrame, alpha) | |
126 | end | |
127 | ||
128 | local Directer = Inst("BodyGyro", root) | |
129 | Directer.MaxTorque = Vec3(0, 0, 0) | |
130 | Directer.P = 600000 | |
131 | local CPart = Inst("Part") | |
132 | CPart.Anchored = true | |
133 | CPart.CanCollide = false | |
134 | CPart.Locked = true | |
135 | CPart.Transparency = 1 | |
136 | ||
137 | local rainbowmode = false | |
138 | local chaosmode = false | |
139 | local glitchymode = false | |
140 | kan = Instance.new("Sound",char) | |
141 | kan.Volume = 1.25 | |
142 | kan.TimePosition = 0 | |
143 | kan.PlaybackSpeed = 1 | |
144 | kan.Pitch = 1 | |
145 | kan.SoundId = "rbxassetid://1564523997" | |
146 | kan.Name = "wrecked" | |
147 | kan.Looped = true | |
148 | kan:Play() | |
149 | ||
150 | local MID = "rbxassetid://1564523997"; | |
151 | local Pitch = 1; | |
152 | ||
153 | function newTheme(ID,timepos,pitch,vol) | |
154 | local kanz = kan | |
155 | --kanz:Stop() | |
156 | --kanz.Volume = vol | |
157 | --kanz.TimePosition = timepos | |
158 | kanz.PlaybackSpeed = pitch | |
159 | kanz.Pitch = pitch | |
160 | kanz.SoundId = ID | |
161 | kanz.Name = "wrecked" | |
162 | kanz.Looped = true | |
163 | Pitch = pitch | |
164 | MID = ID | |
165 | --kanz:Play() | |
166 | --coroutine.resume(coroutine.create(function() | |
167 | --wait(0.05) | |
168 | --end)) | |
169 | end | |
170 | ||
171 | function newThemeCust(ID,timepos,pitch,vol) | |
172 | local kanz = kan | |
173 | kanz:Stop() | |
174 | kanz.Volume = vol | |
175 | kanz.TimePosition = timepos | |
176 | kanz.PlaybackSpeed = pitch | |
177 | kanz.Pitch = pitch | |
178 | MID = ID | |
179 | kanz.SoundId = ID | |
180 | kanz.Name = "wrecked" | |
181 | kanz.Looped = true | |
182 | kanz:Play() | |
183 | coroutine.resume(coroutine.create(function() | |
184 | wait(0.05) | |
185 | end)) | |
186 | end | |
187 | ||
188 | ||
189 | ||
190 | function CameraShake(Times, Power, PlayerTarget) | |
191 | coroutine.resume(coroutine.create(function() | |
192 | FV = Instance.new("BoolValue", PlayerTarget) | |
193 | FV.Name = "CameraShake" | |
194 | for ShakeNum=1,Times do | |
195 | swait() | |
196 | local ef=Power | |
197 | if ef>=1 then | |
198 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
199 | else | |
200 | ef=Power*10 | |
201 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
202 | end | |
203 | end | |
204 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
205 | FV:Destroy() | |
206 | end)) | |
207 | end | |
208 | ||
209 | function CameraEnshaking(Length,Intensity) | |
210 | coroutine.resume(coroutine.create(function() | |
211 | local intensity = 1*Intensity | |
212 | local rotM = 0.01*Intensity | |
213 | for i = 0, Length, 0.1 do | |
214 | swait() | |
215 | intensity = intensity - 0.05*Intensity/Length | |
216 | rotM = rotM - 0.0005*Intensity/Length | |
217 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
218 | 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) | |
219 | end | |
220 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
221 | end)) | |
222 | end | |
223 | CamShake=function(Part,Distan,Power,Times) | |
224 | local de=Part.Position | |
225 | for i,v in pairs(workspace:children()) do | |
226 | if v:IsA("Model") and v:findFirstChild("Humanoid") then | |
227 | for _,c in pairs(v:children()) do | |
228 | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then | |
229 | local Noob=vFindFirstChildOfClass'Humanoid' | |
230 | if Noob~=nil then | |
231 | coroutine.resume(coroutine.create(function() | |
232 | FV = Instance.new("BoolValue", Noob) | |
233 | FV.Name = "CameraShake" | |
234 | for ShakeNum=1,Times do | |
235 | swait() | |
236 | local ef=Power | |
237 | if ef>=1 then | |
238 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
239 | else | |
240 | ef=Power*10 | |
241 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
242 | end | |
243 | end | |
244 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
245 | FV:Destroy() | |
246 | end)) | |
247 | CameraShake(Times, Power, Noob) | |
248 | end | |
249 | end | |
250 | end | |
251 | end | |
252 | end | |
253 | end | |
254 | ||
255 | function chatfunc(text,color) | |
256 | local chat = coroutine.wrap(function() | |
257 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
258 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
259 | end | |
260 | local naeeym2 = Instance.new("BillboardGui",Character) | |
261 | naeeym2.Size = UDim2.new(0,100,0,40) | |
262 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
263 | naeeym2.Adornee = Character.Head | |
264 | naeeym2.Name = "TalkingBillBoard" | |
265 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
266 | tecks2.BackgroundTransparency = 1 | |
267 | tecks2.BorderSizePixel = 0 | |
268 | tecks2.Text = "" | |
269 | tecks2.Font = "SciFi" | |
270 | tecks2.TextSize = 30 | |
271 | tecks2.TextStrokeTransparency = 0 | |
272 | tecks2.TextColor3 = color | |
273 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
274 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
275 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
276 | tecks3.BackgroundTransparency = 1 | |
277 | tecks3.BorderSizePixel = 0 | |
278 | tecks3.Text = "" | |
279 | tecks3.Font = "SciFi" | |
280 | tecks3.TextSize = 30 | |
281 | tecks3.TextStrokeTransparency = 0 | |
282 | tecks3.TextColor3 = Color3.new(0,0,0) | |
283 | tecks3.TextStrokeColor3 = color | |
284 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
285 | coroutine.resume(coroutine.create(function() | |
286 | while true do | |
287 | swait(1) | |
288 | if chaosmode == true then | |
289 | tecks2.TextColor3 = BrickColor.random().Color | |
290 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
291 | end | |
292 | if(glitchymode)then | |
293 | local val = math.random(1,255) | |
294 | local color = Color3.fromRGB(val,val,val) | |
295 | tecks2.TextColor3 = color | |
296 | tecks3.TextStrokeColor3 = color | |
297 | end | |
298 | tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) | |
299 | tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) | |
300 | tecks2.Rotation = math.random(-5,5) | |
301 | tecks3.Rotation = math.random(-5,5) | |
302 | end | |
303 | end)) | |
304 | for i = 1,string.len(text),1 do | |
305 | CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115) | |
306 | tecks2.Text = string.sub(text,1,i) | |
307 | tecks3.Text = string.sub(text,1,i) | |
308 | swait(1) | |
309 | end | |
310 | wait(1) | |
311 | local randomrot = math.random(1,2) | |
312 | if randomrot == 1 then | |
313 | for i = 1, 50 do | |
314 | swait() | |
315 | tecks2.Rotation = tecks2.Rotation - .75 | |
316 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
317 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
318 | tecks3.Rotation = tecks2.Rotation + .75 | |
319 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
320 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
321 | end | |
322 | elseif randomrot == 2 then | |
323 | for i = 1, 50 do | |
324 | swait() | |
325 | tecks2.Rotation = tecks2.Rotation + .75 | |
326 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
327 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
328 | tecks3.Rotation = tecks2.Rotation - .75 | |
329 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
330 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
331 | end | |
332 | end | |
333 | naeeym2:Destroy() | |
334 | end) | |
335 | chat() | |
336 | end | |
337 | ||
338 | ||
339 | local Create = LoadLibrary("RbxUtility").Create | |
340 | ||
341 | CFuncs = { | |
342 | ["Part"] = { | |
343 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
344 | local Part = Create("Part"){ | |
345 | Parent = Parent, | |
346 | Reflectance = Reflectance, | |
347 | Transparency = Transparency, | |
348 | CanCollide = false, | |
349 | Locked = true, | |
350 | BrickColor = BrickColor.new(tostring(BColor)), | |
351 | Name = Name, | |
352 | Size = Size, | |
353 | Material = Material, | |
354 | } | |
355 | RemoveOutlines(Part) | |
356 | return Part | |
357 | end; | |
358 | }; | |
359 | ||
360 | ["Mesh"] = { | |
361 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
362 | local Msh = Create(Mesh){ | |
363 | Parent = Part, | |
364 | Offset = OffSet, | |
365 | Scale = Scale, | |
366 | } | |
367 | if Mesh == "SpecialMesh" then | |
368 | Msh.MeshType = MeshType | |
369 | Msh.MeshId = MeshId | |
370 | end | |
371 | return Msh | |
372 | end; | |
373 | }; | |
374 | ||
375 | ["Mesh"] = { | |
376 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
377 | local Msh = Create(Mesh){ | |
378 | Parent = Part, | |
379 | Offset = OffSet, | |
380 | Scale = Scale, | |
381 | } | |
382 | if Mesh == "SpecialMesh" then | |
383 | Msh.MeshType = MeshType | |
384 | Msh.MeshId = MeshId | |
385 | end | |
386 | return Msh | |
387 | end; | |
388 | }; | |
389 | ||
390 | ["Weld"] = { | |
391 | Create = function(Parent, Part0, Part1, C0, C1) | |
392 | local Weld = Create("Weld"){ | |
393 | Parent = Parent, | |
394 | Part0 = Part0, | |
395 | Part1 = Part1, | |
396 | C0 = C0, | |
397 | C1 = C1, | |
398 | } | |
399 | return Weld | |
400 | end; | |
401 | }; | |
402 | ||
403 | ["Sound"] = { | |
404 | Create = function(id, par, vol, pit) | |
405 | return coroutine.wrap(function() | |
406 | local S = Create("Sound"){ | |
407 | Volume = vol, | |
408 | Name = "EffectSoundo", | |
409 | Pitch = pit or 1, | |
410 | SoundId = id, | |
411 | Parent = par or workspace, | |
412 | } | |
413 | S:Play() | |
414 | S.Ended:connect(function() | |
415 | S:Destroy() | |
416 | end) | |
417 | return S; | |
418 | end)() | |
419 | end; | |
420 | }; | |
421 | ||
422 | ["LongSound"] = { | |
423 | Create = function(id, par, vol, pit) | |
424 | coroutine.resume(coroutine.create(function() | |
425 | local S = Create("Sound"){ | |
426 | Volume = vol, | |
427 | Pitch = pit or 1, | |
428 | SoundId = id, | |
429 | Parent = par or workspace, | |
430 | } | |
431 | wait() | |
432 | S:play() | |
433 | game:GetService("Debris"):AddItem(S, 30) | |
434 | end)) | |
435 | end; | |
436 | }; | |
437 | ||
438 | ["ParticleEmitter"] = { | |
439 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
440 | local fp = Create("ParticleEmitter"){ | |
441 | Parent = Parent, | |
442 | Color = ColorSequence.new(Color1, Color2), | |
443 | LightEmission = LightEmission, | |
444 | Size = Size, | |
445 | Texture = Texture, | |
446 | Transparency = Transparency, | |
447 | ZOffset = ZOffset, | |
448 | Acceleration = Accel, | |
449 | Drag = Drag, | |
450 | LockedToPart = LockedToPart, | |
451 | VelocityInheritance = VelocityInheritance, | |
452 | EmissionDirection = EmissionDirection, | |
453 | Enabled = Enabled, | |
454 | Lifetime = LifeTime, | |
455 | Rate = Rate, | |
456 | Rotation = Rotation, | |
457 | RotSpeed = RotSpeed, | |
458 | Speed = Speed, | |
459 | VelocitySpread = VelocitySpread, | |
460 | } | |
461 | return fp | |
462 | end; | |
463 | }; | |
464 | ||
465 | CreateTemplate = { | |
466 | ||
467 | }; | |
468 | } | |
469 | ||
470 | ||
471 | ||
472 | New = function(Object, Parent, Name, Data) | |
473 | local Object = Instance.new(Object) | |
474 | for Index, Value in pairs(Data or {}) do | |
475 | Object[Index] = Value | |
476 | end | |
477 | Object.Parent = Parent | |
478 | Object.Name = Name | |
479 | return Object | |
480 | end | |
481 | local halocolor = BrickColor.new("Pastel light blue") | |
482 | local halocolor2 = BrickColor.new("Cool yellow") | |
483 | local starcolor = BrickColor.new("Bright yellow") | |
484 | local lunacolor = BrickColor.new("Navy blue") | |
485 | local lunacolor2 = BrickColor.new("Bright blue") | |
486 | local wepcolor = BrickColor.new("Really black") | |
487 | local maincolor = BrickColor.new("Really black") | |
488 | local m = Instance.new("Model",char) | |
489 | local m2 = Instance.new("Model",char) | |
490 | local m3 = Instance.new("Model",char) | |
491 | local mw1 = Instance.new("Model",char) | |
492 | local mw2 = Instance.new("Model",char) | |
493 | ||
494 | local extrawingmod1 = Instance.new("Model",char) | |
495 | local extrawingmod2 = Instance.new("Model",char) | |
496 | ||
497 | function CreateParta(parent,transparency,reflectance,material,brickcolor) | |
498 | local p = Instance.new("Part") | |
499 | p.TopSurface = 0 | |
500 | p.BottomSurface = 0 | |
501 | p.Parent = parent | |
502 | p.Size = Vector3.new(0.1,0.1,0.1) | |
503 | p.Transparency = transparency | |
504 | p.Reflectance = reflectance | |
505 | p.CanCollide = false | |
506 | p.Locked = true | |
507 | p.BrickColor = brickcolor | |
508 | p.Material = material | |
509 | return p | |
510 | end | |
511 | ||
512 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
513 | local mesh = Instance.new("SpecialMesh",parent) | |
514 | mesh.MeshType = meshtype | |
515 | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) | |
516 | return mesh | |
517 | end | |
518 | ||
519 | function CreateSpecialMesh(parent,meshid,x1,y1,z1) | |
520 | local mesh = Instance.new("SpecialMesh",parent) | |
521 | mesh.MeshType = "FileMesh" | |
522 | mesh.MeshId = meshid | |
523 | mesh.Scale = Vector3.new(x1,y1,z1) | |
524 | return mesh | |
525 | end | |
526 | ||
527 | ||
528 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
529 | local mesh = Instance.new("SpecialMesh",parent) | |
530 | mesh.MeshType = "FileMesh" | |
531 | mesh.MeshId = meshid | |
532 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
533 | mesh.Scale = Vector3.new(x1,y1,z1) | |
534 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
535 | return mesh | |
536 | end | |
537 | ||
538 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
539 | local weld = Instance.new("Weld") | |
540 | weld.Parent = parent | |
541 | weld.Part0 = part0 | |
542 | weld.Part1 = part1 | |
543 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
544 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
545 | return weld | |
546 | end | |
547 | ||
548 | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
549 | 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)) | |
550 | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
551 | 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)) | |
552 | ||
553 | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
554 | CreateMesh(handle,"Brick",0,0,0) | |
555 | 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)) | |
556 | local valuaring = 10 | |
557 | for i = 0, 49 do | |
558 | valuaring = valuaring + 10 | |
559 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
560 | CreateMesh(rn,"Brick",0.25,0.1,0.1) | |
561 | CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
562 | end | |
563 | ||
564 | handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
565 | CreateMesh(handle,"Brick",0,0,0) | |
566 | CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
567 | local valuaring = 10 | |
568 | for i = 0, 49 do | |
569 | valuaring = valuaring + 10 | |
570 | rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
571 | CreateMesh(rn,"Brick",0.5,0.2,0.2) | |
572 | CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
573 | end | |
574 | ||
575 | ||
576 | local handle = CreateParta(m,1,1,"Neon",maincolor) | |
577 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
578 | 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)) | |
579 | ||
580 | --- Left wing. | |
581 | ||
582 | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
583 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
584 | 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)) | |
585 | ||
586 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
587 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
588 | 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)) | |
589 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
590 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
591 | 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)) | |
592 | A0 = Instance.new('Attachment',wed) | |
593 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
594 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
595 | 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)) | |
596 | A1 = Instance.new('Attachment',wed) | |
597 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
598 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
599 | 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)) | |
600 | ||
601 | tl1 = Instance.new('Trail',wed) | |
602 | tl1.Attachment0 = A0 | |
603 | tl1.Attachment1 = A1 | |
604 | --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
605 | tl1.LightEmission = 1 | |
606 | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
607 | tl1.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
608 | tl1.Lifetime = 0.6 | |
609 | ||
610 | ||
611 | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
612 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
613 | 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)) | |
614 | ||
615 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
616 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
617 | 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)) | |
618 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
619 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
620 | 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)) | |
621 | A0 = Instance.new('Attachment',wed) | |
622 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
623 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
624 | 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)) | |
625 | A1 = Instance.new('Attachment',wed) | |
626 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
627 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
628 | 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)) | |
629 | ||
630 | tl2 = Instance.new('Trail',wed) | |
631 | tl2.Attachment0 = A0 | |
632 | tl2.Attachment1 = A1 | |
633 | --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
634 | tl2.LightEmission = 1 | |
635 | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
636 | tl2.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
637 | tl2.Lifetime = 0.6 | |
638 | ||
639 | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
640 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
641 | 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)) | |
642 | ||
643 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
644 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
645 | 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)) | |
646 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
647 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
648 | 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)) | |
649 | A0 = Instance.new('Attachment',wed) | |
650 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
651 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
652 | 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)) | |
653 | A1 = Instance.new('Attachment',wed) | |
654 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
655 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
656 | 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)) | |
657 | ||
658 | tl3 = Instance.new('Trail',wed) | |
659 | tl3.Attachment0 = A0 | |
660 | tl3.Attachment1 = A1 | |
661 | --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
662 | tl3.LightEmission = 1 | |
663 | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
664 | tl3.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
665 | tl3.Lifetime = 0.6 | |
666 | ||
667 | tl1.Enabled = false | |
668 | tl2.Enabled = false | |
669 | tl3.Enabled = false | |
670 | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
671 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
672 | 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)) | |
673 | ||
674 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
675 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
676 | 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)) | |
677 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
678 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
679 | 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)) | |
680 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
681 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
682 | 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)) | |
683 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
684 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
685 | 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)) | |
686 | ||
687 | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
688 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
689 | 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)) | |
690 | ||
691 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
692 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
693 | 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)) | |
694 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
695 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
696 | 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)) | |
697 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
698 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
699 | 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)) | |
700 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
701 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
702 | 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)) | |
703 | ||
704 | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
705 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
706 | 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)) | |
707 | ||
708 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
709 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
710 | 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)) | |
711 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
712 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
713 | 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)) | |
714 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
715 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
716 | 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)) | |
717 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
718 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
719 | 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)) | |
720 | ||
721 | -- Right wing. | |
722 | ||
723 | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
724 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
725 | 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)) | |
726 | ||
727 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
728 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
729 | 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)) | |
730 | A0 = Instance.new('Attachment',wed) | |
731 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
732 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
733 | 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)) | |
734 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
735 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
736 | 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)) | |
737 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
738 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
739 | 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)) | |
740 | A1 = Instance.new('Attachment',wed) | |
741 | ||
742 | tr1 = Instance.new('Trail',wed) | |
743 | tr1.Attachment0 = A0 | |
744 | tr1.Attachment1 = A1 | |
745 | --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
746 | tr1.LightEmission = 1 | |
747 | tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
748 | tr1.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
749 | tr1.Lifetime = 0.6 | |
750 | ||
751 | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
752 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
753 | 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)) | |
754 | ||
755 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
756 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
757 | 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)) | |
758 | A0 = Instance.new('Attachment',wed) | |
759 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
760 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
761 | 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)) | |
762 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
763 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
764 | 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)) | |
765 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
766 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
767 | 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)) | |
768 | A1 = Instance.new('Attachment',wed) | |
769 | ||
770 | tr2 = Instance.new('Trail',wed) | |
771 | tr2.Attachment0 = A0 | |
772 | tr2.Attachment1 = A1 | |
773 | --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
774 | tr2.LightEmission = 1 | |
775 | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
776 | tr2.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
777 | tr2.Lifetime = 0.6 | |
778 | ||
779 | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
780 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
781 | 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)) | |
782 | ||
783 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
784 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
785 | 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)) | |
786 | A0 = Instance.new('Attachment',wed) | |
787 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
788 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
789 | 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)) | |
790 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
791 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
792 | 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)) | |
793 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
794 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
795 | 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)) | |
796 | A1 = Instance.new('Attachment',wed) | |
797 | ||
798 | tr3 = Instance.new('Trail',wed) | |
799 | tr3.Attachment0 = A0 | |
800 | tr3.Attachment1 = A1 | |
801 | --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
802 | tr3.LightEmission = 1 | |
803 | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
804 | tr3.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
805 | tr3.Lifetime = 0.6 | |
806 | ||
807 | ||
808 | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
809 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
810 | 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)) | |
811 | ||
812 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
813 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
814 | 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)) | |
815 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
816 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
817 | 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)) | |
818 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
819 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
820 | 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)) | |
821 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
822 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
823 | 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)) | |
824 | ||
825 | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
826 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
827 | 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)) | |
828 | ||
829 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
830 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
831 | 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)) | |
832 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
833 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
834 | 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)) | |
835 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
836 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
837 | 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)) | |
838 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
839 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
840 | 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)) | |
841 | ||
842 | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
843 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
844 | 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)) | |
845 | ||
846 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
847 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
848 | 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)) | |
849 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
850 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
851 | 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)) | |
852 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
853 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
854 | 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)) | |
855 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
856 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
857 | 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)) | |
858 | ||
859 | ---- HERES THE RING | |
860 | ||
861 | ||
862 | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
863 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
864 | 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)) | |
865 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
866 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
867 | 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)) | |
868 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
869 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
870 | 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)) | |
871 | ||
872 | ||
873 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
874 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
875 | 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)) | |
876 | ||
877 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
878 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
879 | 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)) | |
880 | ||
881 | ||
882 | ||
883 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
884 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
885 | 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)) | |
886 | ||
887 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
888 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
889 | 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)) | |
890 | ||
891 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
892 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
893 | 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)) | |
894 | ||
895 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
896 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
897 | 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)) | |
898 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
899 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
900 | 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)) | |
901 | ||
902 | -- S section A | |
903 | ||
904 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
905 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
906 | CreateWeld(dotsec,larm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
907 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
908 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
909 | CreateWeld(dotseca,larm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
910 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
911 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
912 | CreateWeld(dotsecb,larm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
913 | ||
914 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
915 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
916 | CreateWeld(dotsec,larm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
917 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
918 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
919 | CreateWeld(dotseca,larm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
920 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
921 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
922 | CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
923 | ||
924 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
925 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
926 | CreateWeld(dotsec,larm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
927 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
928 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
929 | CreateWeld(dotseca,larm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
930 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
931 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
932 | CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
933 | ||
934 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
935 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
936 | CreateWeld(dotsec,larm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
937 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
938 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
939 | CreateWeld(dotseca,larm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
940 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
941 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
942 | CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
943 | ||
944 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
945 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
946 | CreateWeld(dotsec,larm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
947 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
948 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
949 | CreateWeld(dotseca,larm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
950 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
951 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
952 | CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
953 | ||
954 | -- S section B | |
955 | ||
956 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
957 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
958 | CreateWeld(dotsec,larm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
959 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
960 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
961 | CreateWeld(dotseca,larm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
962 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
963 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
964 | CreateWeld(dotsecb,larm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
965 | ||
966 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
967 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
968 | CreateWeld(dotsec,larm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
969 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
970 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
971 | CreateWeld(dotseca,larm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
972 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
973 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
974 | CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
975 | ||
976 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
977 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
978 | CreateWeld(dotsec,larm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
979 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
980 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
981 | CreateWeld(dotseca,larm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
982 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
983 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
984 | CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
985 | ||
986 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
987 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
988 | CreateWeld(dotsec,larm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
989 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
990 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
991 | CreateWeld(dotseca,larm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
992 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
993 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
994 | CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
995 | ||
996 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
997 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
998 | CreateWeld(dotsec,larm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
999 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1000 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1001 | CreateWeld(dotseca,larm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1002 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1003 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1004 | CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1005 | ||
1006 | --- second ring | |
1007 | ||
1008 | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
1009 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
1010 | 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)) | |
1011 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1012 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
1013 | 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)) | |
1014 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1015 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
1016 | 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)) | |
1017 | ||
1018 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1019 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
1020 | 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)) | |
1021 | ||
1022 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1023 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
1024 | 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)) | |
1025 | ||
1026 | ||
1027 | ||
1028 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
1029 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1030 | 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)) | |
1031 | ||
1032 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
1033 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1034 | 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)) | |
1035 | ||
1036 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
1037 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
1038 | 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)) | |
1039 | ||
1040 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1041 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
1042 | 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)) | |
1043 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
1044 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
1045 | 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)) | |
1046 | ||
1047 | -- S section A | |
1048 | ||
1049 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1050 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1051 | CreateWeld(dotsec,rarm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1052 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1053 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1054 | CreateWeld(dotseca,rarm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1055 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1056 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1057 | CreateWeld(dotsecb,rarm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1058 | ||
1059 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1060 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1061 | CreateWeld(dotsec,rarm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1062 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1063 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1064 | CreateWeld(dotseca,rarm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1065 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1066 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1067 | CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1068 | ||
1069 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1070 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1071 | CreateWeld(dotsec,rarm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1072 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1073 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1074 | CreateWeld(dotseca,rarm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1075 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1076 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1077 | CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1078 | ||
1079 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1080 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1081 | CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1082 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1083 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1084 | CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1085 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1086 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1087 | CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1088 | ||
1089 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1090 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1091 | CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1092 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1093 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1094 | CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1095 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1096 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1097 | CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1098 | ||
1099 | -- S section B | |
1100 | ||
1101 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1102 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1103 | CreateWeld(dotsec,rarm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1104 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1105 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1106 | CreateWeld(dotseca,rarm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1107 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1108 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1109 | CreateWeld(dotsecb,rarm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1110 | ||
1111 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1112 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1113 | CreateWeld(dotsec,rarm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1114 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1115 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1116 | CreateWeld(dotseca,rarm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1117 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1118 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1119 | CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1120 | ||
1121 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1122 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1123 | CreateWeld(dotsec,rarm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1124 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1125 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1126 | CreateWeld(dotseca,rarm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1127 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1128 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1129 | CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1130 | ||
1131 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1132 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1133 | CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1134 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1135 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1136 | CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1137 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1138 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1139 | CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1140 | ||
1141 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1142 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1143 | CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1144 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1145 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1146 | CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1147 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1148 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1149 | CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]-- | |
1150 | ||
1151 | ||
1152 | for i, v in pairs(m:GetChildren()) do | |
1153 | if v:IsA("Part") then | |
1154 | v.BrickColor = BrickColor.new("Really black") | |
1155 | v.Material = "Glass" | |
1156 | end | |
1157 | end | |
1158 | for i, v in pairs(m2:GetChildren()) do | |
1159 | if v:IsA("Part") then | |
1160 | v.BrickColor = BrickColor.new("Dark stone grey") | |
1161 | v.Material = "Granite" | |
1162 | end | |
1163 | end | |
1164 | for i, v in pairs(m3:GetChildren()) do | |
1165 | if v:IsA("Part") then | |
1166 | v.BrickColor = BrickColor.new("Really black") | |
1167 | v.Material = "Neon" | |
1168 | end | |
1169 | end | |
1170 | for i, v in pairs(mw2:GetChildren()) do | |
1171 | if v:IsA("Part") then | |
1172 | v.BrickColor = BrickColor.new("Really black") | |
1173 | v.Material = "Neon" | |
1174 | end | |
1175 | end | |
1176 | for i, v in pairs(mw1:GetChildren()) do | |
1177 | if v:IsA("Part") then | |
1178 | v.Transparency = 1 | |
1179 | v.BrickColor = BrickColor.new("Really black") | |
1180 | v.Material = "Neon" | |
1181 | end | |
1182 | end | |
1183 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
1184 | if v:IsA("Part") then | |
1185 | v.Transparency = 1 | |
1186 | v.BrickColor = BrickColor.new("White") | |
1187 | v.Material = "Neon" | |
1188 | end | |
1189 | end | |
1190 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
1191 | if v:IsA("Part") then | |
1192 | v.Transparency = 1 | |
1193 | v.BrickColor = BrickColor.new("White") | |
1194 | v.Material = "Neon" | |
1195 | end | |
1196 | end | |
1197 | local MAINRUINCOLOR = BrickColor.new("Really black") | |
1198 | ------ | |
1199 | ||
1200 | ||
1201 | function RemoveOutlines(part) | |
1202 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
1203 | end | |
1204 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1205 | local Part = Create("Part")({ | |
1206 | Parent = Parent, | |
1207 | Reflectance = Reflectance, | |
1208 | Transparency = Transparency, | |
1209 | CanCollide = false, | |
1210 | Locked = true, | |
1211 | BrickColor = BrickColor.new(tostring(BColor)), | |
1212 | Name = Name, | |
1213 | Size = Size, | |
1214 | Material = Material | |
1215 | }) | |
1216 | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
1217 | RemoveOutlines(Part) | |
1218 | return Part | |
1219 | end | |
1220 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1221 | local Msh = Create(Mesh)({ | |
1222 | Parent = Part, | |
1223 | Offset = OffSet, | |
1224 | Scale = Scale | |
1225 | }) | |
1226 | if Mesh == "SpecialMesh" then | |
1227 | Msh.MeshType = MeshType | |
1228 | Msh.MeshId = MeshId | |
1229 | end | |
1230 | return Msh | |
1231 | end | |
1232 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
1233 | local Weld = Create("Weld")({ | |
1234 | Parent = Parent, | |
1235 | Part0 = Part0, | |
1236 | Part1 = Part1, | |
1237 | C0 = C0, | |
1238 | C1 = C1 | |
1239 | }) | |
1240 | return Weld | |
1241 | end | |
1242 | ||
1243 | - | Player=game:GetService("Players").PiterMosskva_TV |
1243 | + | Player=game:GetService("Players").zXzGamePROzXz |
1244 | Character=Player.Character | |
1245 | PlayerGui=Player.PlayerGui | |
1246 | Backpack=Player.Backpack | |
1247 | Torso=Character.Torso | |
1248 | Head=Character.Head | |
1249 | Humanoid=Character:FindFirstChildOfClass'Humanoid' | |
1250 | m=Instance.new('Model',Character) | |
1251 | LeftArm=Character["Left Arm"] | |
1252 | LeftLeg=Character["Left Leg"] | |
1253 | RightArm=Character["Right Arm"] | |
1254 | RightLeg=Character["Right Leg"] | |
1255 | LS=Torso["Left Shoulder"] | |
1256 | LH=Torso["Left Hip"] | |
1257 | RS=Torso["Right Shoulder"] | |
1258 | RH=Torso["Right Hip"] | |
1259 | Face = Head.face | |
1260 | Neck=Torso.Neck | |
1261 | it=Instance.new | |
1262 | attacktype=1 | |
1263 | vt=Vector3.new | |
1264 | cf=CFrame.new | |
1265 | euler=CFrame.fromEulerAnglesXYZ | |
1266 | angles=CFrame.Angles | |
1267 | cloaked=false | |
1268 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1269 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1270 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
1271 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
1272 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
1273 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
1274 | RootPart=Character.HumanoidRootPart | |
1275 | RootJoint=RootPart.RootJoint | |
1276 | RootCF=euler(-1.57,0,3.14) | |
1277 | attack = false | |
1278 | attackdebounce = false | |
1279 | deb=false | |
1280 | equipped=true | |
1281 | hand=false | |
1282 | MMouse=nil | |
1283 | combo=0 | |
1284 | mana=0 | |
1285 | trispeed=.2 | |
1286 | attackmode='none' | |
1287 | local idle=0 | |
1288 | local Anim="Idle" | |
1289 | local Effects={} | |
1290 | local gun=false | |
1291 | local shoot=false | |
1292 | local sine = 0 | |
1293 | local change = 1 | |
1294 | player=nil | |
1295 | pcall(function()char.LeftWing:destroy()end) | |
1296 | pcall(function()char.Halo:destroy()end) | |
1297 | local toggleTag = true | |
1298 | local txt = Instance.new("BillboardGui", Head) | |
1299 | txt.Adornee = nil | |
1300 | txt.Name = "NameDetect" | |
1301 | txt.Size = UDim2.new(4, 0, 1.2, 0) | |
1302 | txt.StudsOffset = Vector3.new(-8, 8/1.5, 0) | |
1303 | local text = Instance.new("TextLabel", txt) | |
1304 | text.Size = UDim2.new(10/2, 0, 7/2, 0) | |
1305 | text.FontSize = "Size8" | |
1306 | text.TextScaled = true | |
1307 | text.TextTransparency = 0 | |
1308 | text.BackgroundTransparency = 1 | |
1309 | text.TextTransparency = 0 | |
1310 | text.TextStrokeTransparency = 0 | |
1311 | text.Font = "Fantasy" | |
1312 | text.TextStrokeColor3 = Color3.new(1,1,1) | |
1313 | text.TextColor3 = Color3.new(0,0,0) | |
1314 | text.Text = "Solitude" | |
1315 | ||
1316 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end) | |
1317 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end) | |
1318 | ||
1319 | function RecolorTextAndRename(name,col1,col2) | |
1320 | text.TextStrokeColor3 = col2 | |
1321 | text.TextColor3 = col1 | |
1322 | text.Text = name | |
1323 | end | |
1324 | --save shoulders | |
1325 | RSH, LSH=nil, nil | |
1326 | --welds | |
1327 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
1328 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
1329 | LH=Torso["Left Hip"] | |
1330 | RH=Torso["Right Hip"] | |
1331 | TorsoColor=Torso.BrickColor | |
1332 | function NoOutline(Part) | |
1333 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
1334 | end | |
1335 | player=Player | |
1336 | ch=Character | |
1337 | RSH=ch.Torso["Right Shoulder"] | |
1338 | LSH=ch.Torso["Left Shoulder"] | |
1339 | -- | |
1340 | RSH.Parent=nil | |
1341 | LSH.Parent=nil | |
1342 | -- | |
1343 | RW.Name="Right Shoulder" | |
1344 | RW.Part0=ch.Torso | |
1345 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
1346 | RW.C1=cf(0, 0.5, 0) | |
1347 | RW.Part1=ch["Right Arm"] | |
1348 | RW.Parent=ch.Torso | |
1349 | -- | |
1350 | LW.Name="Left Shoulder" | |
1351 | LW.Part0=ch.Torso | |
1352 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
1353 | LW.C1=cf(0, 0.5, 0) | |
1354 | LW.Part1=ch["Left Arm"] | |
1355 | LW.Parent=ch.Torso | |
1356 | ||
1357 | local Stats=Instance.new("BoolValue") | |
1358 | Stats.Name="Stats" | |
1359 | Stats.Parent=Character | |
1360 | local Atk=Instance.new("NumberValue") | |
1361 | Atk.Name="Damage" | |
1362 | Atk.Parent=Stats | |
1363 | Atk.Value=1 | |
1364 | local Def=Instance.new("NumberValue") | |
1365 | Def.Name="Defense" | |
1366 | Def.Parent=Stats | |
1367 | Def.Value=1 | |
1368 | local Speed=Instance.new("NumberValue") | |
1369 | Speed.Name="Speed" | |
1370 | Speed.Parent=Stats | |
1371 | Speed.Value=1 | |
1372 | local Mvmt=Instance.new("NumberValue") | |
1373 | Mvmt.Name="Movement" | |
1374 | Mvmt.Parent=Stats | |
1375 | Mvmt.Value=1 | |
1376 | ||
1377 | local donum=0 | |
1378 | ||
1379 | ||
1380 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
1381 | local fp=it("Part") | |
1382 | fp.formFactor=formfactor | |
1383 | fp.Parent=parent | |
1384 | fp.Reflectance=reflectance | |
1385 | fp.Transparency=transparency | |
1386 | fp.CanCollide=false | |
1387 | fp.Locked=true | |
1388 | fp.BrickColor=brickcolor | |
1389 | fp.Name=name | |
1390 | fp.Size=size | |
1391 | fp.Position=Torso.Position | |
1392 | NoOutline(fp) | |
1393 | fp.Material="SmoothPlastic" | |
1394 | fp:BreakJoints() | |
1395 | return fp | |
1396 | end | |
1397 | ||
1398 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1399 | local mesh=it(Mesh) | |
1400 | mesh.Parent=part | |
1401 | if Mesh=="SpecialMesh" then | |
1402 | mesh.MeshType=meshtype | |
1403 | if meshid~="nil" then | |
1404 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
1405 | end | |
1406 | end | |
1407 | mesh.Offset=offset | |
1408 | mesh.Scale=scale | |
1409 | return mesh | |
1410 | end | |
1411 | ||
1412 | function weld(parent,part0,part1,c0) | |
1413 | local weld=it("Weld") | |
1414 | weld.Parent=parent | |
1415 | weld.Part0=part0 | |
1416 | weld.Part1=part1 | |
1417 | weld.C0=c0 | |
1418 | return weld | |
1419 | end | |
1420 | ||
1421 | local Color1=Torso.BrickColor | |
1422 | ||
1423 | local bodvel=Instance.new("BodyVelocity") | |
1424 | local bg=Instance.new("BodyGyro") | |
1425 | ||
1426 | --// Artificial HB \\-- | |
1427 | ||
1428 | local ArtificialHB = Instance.new("BindableEvent", script) | |
1429 | ArtificialHB.Name = "Heartbeat" | |
1430 | ||
1431 | script:WaitForChild("Heartbeat") | |
1432 | ||
1433 | local tf = 0 | |
1434 | local allowframeloss = false | |
1435 | local tossremainder = false | |
1436 | local lastframe = tick() | |
1437 | local frame = 1/60 | |
1438 | ArtificialHB:Fire() | |
1439 | ||
1440 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1441 | tf = tf + s | |
1442 | if tf >= frame then | |
1443 | if allowframeloss then | |
1444 | script.Heartbeat:Fire() | |
1445 | lastframe = tick() | |
1446 | else | |
1447 | for i = 1, math.floor(tf / frame) do | |
1448 | ArtificialHB:Fire() | |
1449 | end | |
1450 | lastframe = tick() | |
1451 | end | |
1452 | if tossremainder then | |
1453 | tf = 0 | |
1454 | else | |
1455 | tf = tf - frame * math.floor(tf / frame) | |
1456 | end | |
1457 | end | |
1458 | end) | |
1459 | ||
1460 | function swait(num) | |
1461 | if num == 0 or num == nil then | |
1462 | ArtificialHB.Event:wait() | |
1463 | else | |
1464 | for i = 0, num do | |
1465 | ArtificialHB.Event:wait() | |
1466 | end | |
1467 | end | |
1468 | end | |
1469 | ||
1470 | -------- RAINBOW LEAVE IT TO ME | |
1471 | local r = 255 | |
1472 | local g = 0 | |
1473 | local b = 0 | |
1474 | coroutine.resume(coroutine.create(function() | |
1475 | while wait() do | |
1476 | for i = 0, 254/5 do | |
1477 | swait() | |
1478 | g = g + 5 | |
1479 | end | |
1480 | for i = 0, 254/5 do | |
1481 | swait() | |
1482 | r = r - 5 | |
1483 | end | |
1484 | for i = 0, 254/5 do | |
1485 | swait() | |
1486 | b = b + 5 | |
1487 | end | |
1488 | for i = 0, 254/5 do | |
1489 | swait() | |
1490 | g = g - 5 | |
1491 | end | |
1492 | for i = 0, 254/5 do | |
1493 | swait() | |
1494 | r = r + 5 | |
1495 | end | |
1496 | for i = 0, 254/5 do | |
1497 | swait() | |
1498 | b = b - 5 | |
1499 | end | |
1500 | end | |
1501 | end)) | |
1502 | ||
1503 | ||
1504 | so = function(id,par,vol,pit) | |
1505 | coroutine.resume(coroutine.create(function() | |
1506 | local sou = Instance.new("Sound",par or workspace) | |
1507 | sou.Volume=vol | |
1508 | sou.Pitch=pit or 1 | |
1509 | sou.SoundId=id | |
1510 | swait() | |
1511 | sou:play() | |
1512 | game:GetService("Debris"):AddItem(sou,6) | |
1513 | end)) | |
1514 | end | |
1515 | ||
1516 | function clerp(a,b,t) | |
1517 | return a:lerp(b,t) | |
1518 | end | |
1519 | ||
1520 | local function CFrameFromTopBack(at, top, back) | |
1521 | local right = top:Cross(back) | |
1522 | return CFrame.new(at.x, at.y, at.z, | |
1523 | right.x, top.x, back.x, | |
1524 | right.y, top.y, back.y, | |
1525 | right.z, top.z, back.z) | |
1526 | end | |
1527 | ||
1528 | function Triangle(a, b, c) | |
1529 | local edg1 = (c-a):Dot((b-a).unit) | |
1530 | local edg2 = (a-b):Dot((c-b).unit) | |
1531 | local edg3 = (b-c):Dot((a-c).unit) | |
1532 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
1533 | a, b, c = a, b, c | |
1534 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
1535 | a, b, c = b, c, a | |
1536 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
1537 | a, b, c = c, a, b | |
1538 | else | |
1539 | assert(false, "unreachable") | |
1540 | end | |
1541 | ||
1542 | local len1 = (c-a):Dot((b-a).unit) | |
1543 | local len2 = (b-a).magnitude - len1 | |
1544 | local width = (a + (b-a).unit*len1 - c).magnitude | |
1545 | ||
1546 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
1547 | ||
1548 | local list = {} | |
1549 | ||
1550 | if len1 > 0.01 then | |
1551 | local w1 = Instance.new('WedgePart', m) | |
1552 | game:GetService("Debris"):AddItem(w1,5) | |
1553 | w1.Material = "SmoothPlastic" | |
1554 | w1.FormFactor = 'Custom' | |
1555 | w1.BrickColor = BrickColor.new("Really black") | |
1556 | w1.Transparency = 0 | |
1557 | w1.Reflectance = 0 | |
1558 | w1.Material = "SmoothPlastic" | |
1559 | w1.CanCollide = false | |
1560 | local l1 = Instance.new("PointLight",w1) | |
1561 | l1.Color = Color3.new(170,0,0) | |
1562 | NoOutline(w1) | |
1563 | local sz = Vector3.new(0.2, width, len1) | |
1564 | w1.Size = sz | |
1565 | local sp = Instance.new("SpecialMesh",w1) | |
1566 | sp.MeshType = "Wedge" | |
1567 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
1568 | w1:BreakJoints() | |
1569 | w1.Anchored = true | |
1570 | w1.Parent = workspace | |
1571 | w1.Transparency = 0.7 | |
1572 | table.insert(Effects,{w1,"Disappear",.01}) | |
1573 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
1574 | table.insert(list,w1) | |
1575 | end | |
1576 | ||
1577 | if len2 > 0.01 then | |
1578 | local w2 = Instance.new('WedgePart', m) | |
1579 | game:GetService("Debris"):AddItem(w2,5) | |
1580 | w2.Material = "SmoothPlastic" | |
1581 | w2.FormFactor = 'Custom' | |
1582 | w2.BrickColor = BrickColor.new("Really black") | |
1583 | w2.Transparency = 0 | |
1584 | w2.Reflectance = 0 | |
1585 | w2.Material = "SmoothPlastic" | |
1586 | w2.CanCollide = false | |
1587 | local l2 = Instance.new("PointLight",w2) | |
1588 | l2.Color = Color3.new(170,0,0) | |
1589 | NoOutline(w2) | |
1590 | local sz = Vector3.new(0.2, width, len2) | |
1591 | w2.Size = sz | |
1592 | local sp = Instance.new("SpecialMesh",w2) | |
1593 | sp.MeshType = "Wedge" | |
1594 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
1595 | w2:BreakJoints() | |
1596 | w2.Anchored = true | |
1597 | w2.Parent = workspace | |
1598 | w2.Transparency = 0.7 | |
1599 | table.insert(Effects,{w2,"Disappear",.01}) | |
1600 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
1601 | table.insert(list,w2) | |
1602 | end | |
1603 | return unpack(list) | |
1604 | end | |
1605 | ||
1606 | ||
1607 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1608 | if hit.Parent == nil then | |
1609 | return | |
1610 | end | |
1611 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1612 | for _, v in pairs(hit.Parent:children()) do | |
1613 | if v:IsA("Humanoid") then | |
1614 | h = v | |
1615 | end | |
1616 | end | |
1617 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then | |
1618 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
1619 | return | |
1620 | end | |
1621 | local c = Create("ObjectValue")({ | |
1622 | Name = "creator", | |
1623 | - | Value = game:service("Players").PiterMosskva_TV, |
1623 | + | Value = game:service("Players").zXzGamePROzXz, |
1624 | Parent = h | |
1625 | }) | |
1626 | game:GetService("Debris"):AddItem(c, 0.5) | |
1627 | if HitSound ~= nil and HitPitch ~= nil then | |
1628 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
1629 | end | |
1630 | local Damage = math.random(minim, maxim) | |
1631 | local blocked = false | |
1632 | local block = hit.Parent:findFirstChild("Block") | |
1633 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
1634 | blocked = true | |
1635 | block.Value = block.Value - 1 | |
1636 | print(block.Value) | |
1637 | end | |
1638 | if blocked == false then | |
1639 | HitHealth = h.Health | |
1640 | h.Health = h.Health - Damage | |
1641 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
1642 | print("gained kill") | |
1643 | end | |
1644 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1645 | else | |
1646 | h.Health = h.Health - Damage / 2 | |
1647 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1648 | end | |
1649 | if Type == "Knockdown" then | |
1650 | local hum = hit.Parent:FindFirstChildOfClass'Humanoid' | |
1651 | hum.PlatformStand = true | |
1652 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1653 | swait(1) | |
1654 | HHumanoid.PlatformStand = false | |
1655 | end), hum) | |
1656 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
1657 | local bodvol = Create("BodyVelocity")({ | |
1658 | velocity = angle * knockback, | |
1659 | P = 5000, | |
1660 | maxForce = Vector3.new(8000, 8000, 8000), | |
1661 | Parent = hit | |
1662 | }) | |
1663 | local rl = Create("BodyAngularVelocity")({ | |
1664 | P = 3000, | |
1665 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1666 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1667 | Parent = hit | |
1668 | }) | |
1669 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
1670 | game:GetService("Debris"):AddItem(rl, 0.5) | |
1671 | elseif Type == "Normal" then | |
1672 | local vp = Create("BodyVelocity")({ | |
1673 | P = 500, | |
1674 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1675 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
1676 | }) | |
1677 | if knockback > 0 then | |
1678 | vp.Parent = hit.Parent.Head | |
1679 | end | |
1680 | game:GetService("Debris"):AddItem(vp, 0.5) | |
1681 | elseif Type == "Up" then | |
1682 | local bodyVelocity = Create("BodyVelocity")({ | |
1683 | velocity = Vector3.new(0, 20, 0), | |
1684 | P = 5000, | |
1685 | maxForce = Vector3.new(8000, 8000, 8000), | |
1686 | Parent = hit | |
1687 | }) | |
1688 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
1689 | local bodyVelocity = Create("BodyVelocity")({ | |
1690 | velocity = Vector3.new(0, 20, 0), | |
1691 | P = 5000, | |
1692 | maxForce = Vector3.new(8000, 8000, 8000), | |
1693 | Parent = hit | |
1694 | }) | |
1695 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1696 | elseif Type == "Leech" then | |
1697 | local hum = hit.Parent:FindFirstChildOfClass'Humanoid' | |
1698 | if hum ~= nil then | |
1699 | for i = 0, 2 do | |
1700 | 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) | |
1701 | end | |
1702 | Humanoid.Health = Humanoid.Health + 10 | |
1703 | end | |
1704 | elseif Type == "UpKnock" then | |
1705 | local hum = hit.Parent:FindFirstChildOfClass'Humanoid' | |
1706 | hum.PlatformStand = true | |
1707 | if hum ~= nil then | |
1708 | hitr = true | |
1709 | end | |
1710 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1711 | swait(5) | |
1712 | HHumanoid.PlatformStand = false | |
1713 | hitr = false | |
1714 | end), hum) | |
1715 | local bodyVelocity = Create("BodyVelocity")({ | |
1716 | velocity = Vector3.new(0, 20, 0), | |
1717 | P = 5000, | |
1718 | maxForce = Vector3.new(8000, 8000, 8000), | |
1719 | Parent = hit | |
1720 | }) | |
1721 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
1722 | local bodyVelocity = Create("BodyVelocity")({ | |
1723 | velocity = Vector3.new(0, 20, 0), | |
1724 | P = 5000, | |
1725 | maxForce = Vector3.new(8000, 8000, 8000), | |
1726 | Parent = hit | |
1727 | }) | |
1728 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1729 | elseif Type == "Snare" then | |
1730 | local bp = Create("BodyPosition")({ | |
1731 | P = 2000, | |
1732 | D = 100, | |
1733 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1734 | position = hit.Parent.Torso.Position, | |
1735 | Parent = hit.Parent.Torso | |
1736 | }) | |
1737 | game:GetService("Debris"):AddItem(bp, 1) | |
1738 | elseif Type == "Slashnare" then | |
1739 | 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) | |
1740 | for i = 1, math.random(4, 5) do | |
1741 | 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) | |
1742 | end | |
1743 | local bp = Create("BodyPosition")({ | |
1744 | P = 2000, | |
1745 | D = 100, | |
1746 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1747 | position = hit.Parent.Torso.Position, | |
1748 | Parent = hit.Parent.Torso | |
1749 | }) | |
1750 | game:GetService("Debris"):AddItem(bp, 1) | |
1751 | elseif Type == "Spike" then | |
1752 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
1753 | local bp = Create("BodyPosition")({ | |
1754 | P = 2000, | |
1755 | D = 100, | |
1756 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1757 | position = hit.Parent.Torso.Position, | |
1758 | Parent = hit.Parent.Torso | |
1759 | }) | |
1760 | game:GetService("Debris"):AddItem(bp, 1) | |
1761 | elseif Type == "Freeze" then | |
1762 | local BodPos = Create("BodyPosition")({ | |
1763 | P = 50000, | |
1764 | D = 1000, | |
1765 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1766 | position = hit.Parent.Torso.Position, | |
1767 | Parent = hit.Parent.Torso | |
1768 | }) | |
1769 | local BodGy = Create("BodyGyro")({ | |
1770 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
1771 | P = 20000, | |
1772 | Parent = hit.Parent.Torso, | |
1773 | cframe = hit.Parent.Torso.CFrame | |
1774 | }) | |
1775 | hit.Parent.Torso.Anchored = true | |
1776 | coroutine.resume(coroutine.create(function(Part) | |
1777 | swait(1.5) | |
1778 | Part.Anchored = false | |
1779 | end), hit.Parent.Torso) | |
1780 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1781 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1782 | end | |
1783 | local debounce = Create("BoolValue")({ | |
1784 | Name = "DebounceHit", | |
1785 | Parent = hit.Parent, | |
1786 | Value = true | |
1787 | }) | |
1788 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1789 | c = Instance.new("ObjectValue") | |
1790 | c.Name = "creator" | |
1791 | c.Value = Player | |
1792 | c.Parent = h | |
1793 | game:GetService("Debris"):AddItem(c, 0.5) | |
1794 | end | |
1795 | end | |
1796 | function ShowDamage(Pos, Text, Time, Color) | |
1797 | local Rate = 0.03333333333333333 | |
1798 | local Pos = Pos or Vector3.new(0, 0, 0) | |
1799 | local Text = Text or "" | |
1800 | local Time = Time or 2 | |
1801 | local Color = Color or Color3.new(1, 0, 1) | |
1802 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1803 | EffectPart.Anchored = true | |
1804 | local BillboardGui = Create("BillboardGui")({ | |
1805 | Size = UDim2.new(3, 0, 3, 0), | |
1806 | Adornee = EffectPart, | |
1807 | Parent = EffectPart | |
1808 | }) | |
1809 | local TextLabel = Create("TextLabel")({ | |
1810 | BackgroundTransparency = 1, | |
1811 | Size = UDim2.new(1, 0, 1, 0), | |
1812 | Text = Text, | |
1813 | TextColor3 = Color, | |
1814 | TextScaled = true, | |
1815 | Font = Enum.Font.ArialBold, | |
1816 | Parent = BillboardGui | |
1817 | }) | |
1818 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
1819 | EffectPart.Parent = game:GetService("Workspace") | |
1820 | delay(0, function() | |
1821 | local Frames = Time / Rate | |
1822 | for Frame = 1, Frames do | |
1823 | wait(Rate) | |
1824 | local Percent = Frame / Frames | |
1825 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1826 | TextLabel.TextTransparency = Percent | |
1827 | end | |
1828 | if EffectPart and EffectPart.Parent then | |
1829 | EffectPart:Destroy() | |
1830 | end | |
1831 | end) | |
1832 | end | |
1833 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
1834 | for _, c in pairs(workspace:children()) do | |
1835 | local hum = c:findFirstChildOfClass("Humanoid") | |
1836 | if hum ~= nil then | |
1837 | local head = c:findFirstChild("Head") | |
1838 | if head ~= nil then | |
1839 | local targ = head.Position - Part.Position | |
1840 | local mag = targ.magnitude | |
1841 | if magni >= mag and c.Name ~= Player.Name then | |
1842 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
1843 | end | |
1844 | end | |
1845 | end | |
1846 | end | |
1847 | end | |
1848 | ||
1849 | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) | |
1850 | for _, c in pairs(workspace:children()) do | |
1851 | local hum = c:findFirstChild("Humanoid") | |
1852 | if hum ~= nil then | |
1853 | local head = c:findFirstChild("Torso") | |
1854 | if head ~= nil then | |
1855 | local targ = head.Position - Part.Position | |
1856 | local mag = targ.magnitude | |
1857 | if magni >= mag and c.Name ~= Player.Name then | |
1858 | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05) | |
1859 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
1860 | end | |
1861 | end | |
1862 | end | |
1863 | end | |
1864 | end | |
1865 | ||
1866 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
1867 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
1868 | end | |
1869 | ||
1870 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
1871 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1872 | prt.Anchored=true | |
1873 | prt.CFrame=cframe | |
1874 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) | |
1875 | --http://www.roblox.com/asset/?id=4770560 | |
1876 | game:GetService("Debris"):AddItem(prt,2) | |
1877 | CF=prt.CFrame | |
1878 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
1879 | for i=0,1,0.2 do | |
1880 | wait() | |
1881 | Part.CFrame=CF*cf(0,0,-0.4) | |
1882 | end | |
1883 | for i=0,1,delay do | |
1884 | wait() | |
1885 | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) | |
1886 | Mesh.Scale=Mesh.Scale | |
1887 | end | |
1888 | for i=0,1,0.1 do | |
1889 | wait() | |
1890 | Part.Transparency=i | |
1891 | end | |
1892 | Part.Parent=nil | |
1893 | end),prt,msh,CF) | |
1894 | end | |
1895 | ||
1896 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1897 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1898 | prt.Anchored=true | |
1899 | prt.Material = "Neon" | |
1900 | prt.CFrame=cframe | |
1901 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1902 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1903 | game:GetService("Debris"):AddItem(prt,5) | |
1904 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1905 | for i=0,1,delay do | |
1906 | swait() | |
1907 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1908 | Part.Transparency=i | |
1909 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1910 | end | |
1911 | Part.Parent=nil | |
1912 | end),prt,msh) | |
1913 | end | |
1914 | ||
1915 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
1916 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1917 | prt.Anchored=true | |
1918 | prt.Material = "Neon" | |
1919 | prt.CFrame=cframe | |
1920 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1921 | game:GetService("Debris"):AddItem(prt,5) | |
1922 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1923 | local rtype = rottype | |
1924 | for i=0,1,delay do | |
1925 | swait() | |
1926 | if rtype == 1 then | |
1927 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1928 | elseif rtype == 2 then | |
1929 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1930 | end | |
1931 | Part.Transparency=i | |
1932 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1933 | end | |
1934 | Part.Parent=nil | |
1935 | end),prt,msh) | |
1936 | end | |
1937 | ||
1938 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1939 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1940 | prt.Anchored=true | |
1941 | prt.CFrame=cframe | |
1942 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1943 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
1944 | game:GetService("Debris"):AddItem(prt,5) | |
1945 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1946 | for i=0,1,delay do | |
1947 | wait() | |
1948 | Part.Transparency=i | |
1949 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1950 | end | |
1951 | Part.Parent=nil | |
1952 | end),prt,msh) | |
1953 | end | |
1954 | ||
1955 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
1956 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1957 | prt.Anchored=true | |
1958 | prt.Material = "Neon" | |
1959 | prt.CFrame=cframe | |
1960 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1961 | game:GetService("Debris"):AddItem(prt,5) | |
1962 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1963 | local rtype = rottype | |
1964 | for i=0,1,delay do | |
1965 | swait() | |
1966 | if rtype == 1 then | |
1967 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1968 | elseif rtype == 2 then | |
1969 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1970 | end | |
1971 | Part.Transparency=i | |
1972 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1973 | end | |
1974 | Part.Parent=nil | |
1975 | end),prt,msh) | |
1976 | end | |
1977 | ||
1978 | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
1979 | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1980 | prt.Anchored=true | |
1981 | prt.Material = "Neon" | |
1982 | prt.CFrame=cframe | |
1983 | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
1984 | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
1985 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) | |
1986 | game:GetService("Debris"):AddItem(prt,5) | |
1987 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1988 | local rtype = rottype | |
1989 | for i=0,1,delay do | |
1990 | swait() | |
1991 | if rtype == 1 then | |
1992 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1993 | elseif rtype == 2 then | |
1994 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1995 | end | |
1996 | dec.Transparency=i | |
1997 | dec2.Transparency=i | |
1998 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
1999 | end | |
2000 | Part.Parent=nil | |
2001 | end),prt,msh) | |
2002 | end | |
2003 | ||
2004 | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
2005 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2006 | prt.Anchored=true | |
2007 | prt.Material = "Neon" | |
2008 | prt.CFrame=cframe | |
2009 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) | |
2010 | game:GetService("Debris"):AddItem(prt,5) | |
2011 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2012 | local rtype = rottype | |
2013 | for i=0,1,delay do | |
2014 | swait() | |
2015 | if rtype == 1 then | |
2016 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2017 | elseif rtype == 2 then | |
2018 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2019 | end | |
2020 | prt.Transparency=i | |
2021 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
2022 | end | |
2023 | Part.Parent=nil | |
2024 | end),prt,msh) | |
2025 | end | |
2026 | ||
2027 | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) | |
2028 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2029 | prt.Anchored=true | |
2030 | prt.Material = "Neon" | |
2031 | prt.CFrame=cframe | |
2032 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1)) | |
2033 | game:GetService("Debris"):AddItem(prt,5) | |
2034 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2035 | local rtype = rottype | |
2036 | for i=0,1,delay do | |
2037 | swait() | |
2038 | if rtype == 1 then | |
2039 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) | |
2040 | elseif rtype == 2 then | |
2041 | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) | |
2042 | end | |
2043 | prt.Transparency=i | |
2044 | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) | |
2045 | end | |
2046 | Part.Parent=nil | |
2047 | end),prt,msh) | |
2048 | end | |
2049 | ||
2050 | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype) | |
2051 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2052 | prt.Anchored=true | |
2053 | prt.Material = "Neon" | |
2054 | prt.CFrame=cframe | |
2055 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2056 | game:GetService("Debris"):AddItem(prt,5) | |
2057 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2058 | local rtype = rottype | |
2059 | for i=0,1,delay do | |
2060 | swait() | |
2061 | if rtype == 1 then | |
2062 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2063 | elseif rtype == 2 then | |
2064 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2065 | end | |
2066 | prt.Transparency=i | |
2067 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
2068 | end | |
2069 | Part.Parent=nil | |
2070 | end),prt,msh) | |
2071 | end | |
2072 | ||
2073 | function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
2074 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2075 | prt.Anchored=true | |
2076 | prt.Material = "Neon" | |
2077 | prt.CFrame=cframe | |
2078 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2079 | game:GetService("Debris"):AddItem(prt,5) | |
2080 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2081 | local rtype = rottype | |
2082 | for i=0,1,delay do | |
2083 | swait() | |
2084 | if rtype == 1 then | |
2085 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2086 | elseif rtype == 2 then | |
2087 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2088 | end | |
2089 | prt.Transparency=i | |
2090 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2091 | end | |
2092 | Part.Parent=nil | |
2093 | end),prt,msh) | |
2094 | end | |
2095 | ||
2096 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
2097 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2098 | prt.Anchored=false | |
2099 | prt.CFrame=cframe | |
2100 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2101 | local wld=weld(prt,prt,Parent,cframe) | |
2102 | game:GetService("Debris"):AddItem(prt,5) | |
2103 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
2104 | for i=0,1,delay do | |
2105 | wait() | |
2106 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
2107 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2108 | Part.Transparency=i | |
2109 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2110 | end | |
2111 | Part.Parent=nil | |
2112 | end),prt,msh,wld) | |
2113 | end | |
2114 | ||
2115 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
2116 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2117 | prt.Anchored=false | |
2118 | prt.CFrame=cframe | |
2119 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2120 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
2121 | game:GetService("Debris"):AddItem(prt,5) | |
2122 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
2123 | for i=0,1,delay do | |
2124 | wait() | |
2125 | Weld.C0=euler(i*20,0,0) | |
2126 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2127 | Part.Transparency=i | |
2128 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2129 | end | |
2130 | Part.Parent=nil | |
2131 | end),prt,msh,wld) | |
2132 | end | |
2133 | ||
2134 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2135 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2136 | prt.Anchored=true | |
2137 | prt.CFrame=cframe | |
2138 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2139 | game:GetService("Debris"):AddItem(prt,2) | |
2140 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2141 | for i=0,1,delay do | |
2142 | wait() | |
2143 | Part.CFrame=Part.CFrame | |
2144 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2145 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2146 | prt2.Anchored=true | |
2147 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2148 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) | |
2149 | game:GetService("Debris"):AddItem(prt2,2) | |
2150 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2151 | for i=0,1,0.1 do | |
2152 | wait() | |
2153 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
2154 | end | |
2155 | Part.Parent=nil | |
2156 | end),prt2,msh2) | |
2157 | end | |
2158 | for i=0,1,delay*2 do | |
2159 | wait() | |
2160 | Part.CFrame=Part.CFrame | |
2161 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
2162 | end | |
2163 | Part.Parent=nil | |
2164 | end),prt,msh) | |
2165 | end | |
2166 | ||
2167 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2168 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2169 | prt.Anchored=true | |
2170 | prt.CFrame=cframe | |
2171 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2172 | game:GetService("Debris"):AddItem(prt,2) | |
2173 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2174 | for i=0,1,delay do | |
2175 | wait() | |
2176 | Part.CFrame=Part.CFrame | |
2177 | Part.Transparency=i | |
2178 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2179 | end | |
2180 | Part.Parent=nil | |
2181 | end),prt,msh) | |
2182 | end | |
2183 | ||
2184 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
2185 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2186 | prt.Anchored=true | |
2187 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2188 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2189 | game:GetService("Debris"):AddItem(prt,2) | |
2190 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
2191 | CF=Part.CFrame | |
2192 | Numbb=0 | |
2193 | randnumb=math.random()/10 | |
2194 | rand1=math.random()/10 | |
2195 | for i=0,1,rand1 do | |
2196 | wait() | |
2197 | CF=CF*cf(0,math.random()/2,0) | |
2198 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
2199 | Part.CFrame=CF*euler(Numbb,0,0) | |
2200 | Part.Transparency=i | |
2201 | Numbb=Numbb+randnumb | |
2202 | end | |
2203 | Part.Parent=nil | |
2204 | end),prt,CF,Numbb,randnumb) | |
2205 | end | |
2206 | ||
2207 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2208 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2209 | prt.Anchored=true | |
2210 | prt.CFrame=cframe | |
2211 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
2212 | game:GetService("Debris"):AddItem(prt,5) | |
2213 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2214 | for i=0,1,delay do | |
2215 | wait() | |
2216 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
2217 | Part.Transparency=i | |
2218 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2219 | end | |
2220 | Part.Parent=nil | |
2221 | end),prt,msh) | |
2222 | end | |
2223 | ||
2224 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2225 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2226 | prt.Anchored=true | |
2227 | prt.CFrame=cframe | |
2228 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) | |
2229 | game:GetService("Debris"):AddItem(prt,2) | |
2230 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2231 | for i=0,1,delay do | |
2232 | wait() | |
2233 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
2234 | Part.Transparency=i | |
2235 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2236 | end | |
2237 | Part.Parent=nil | |
2238 | end),prt,msh) | |
2239 | end | |
2240 | ||
2241 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
2242 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2243 | prt.Anchored=true | |
2244 | prt.CFrame=cframe*cf(x,y,z) | |
2245 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) | |
2246 | game:GetService("Debris"):AddItem(prt,5) | |
2247 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
2248 | local num=math.random() | |
2249 | local num2=math.random(-3,2)+math.random() | |
2250 | local numm=0 | |
2251 | for i=0,1,delay*2 do | |
2252 | swait() | |
2253 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
2254 | Part.Transparency=i | |
2255 | numm=numm+0.01 | |
2256 | end | |
2257 | Part.Parent=nil | |
2258 | Mesh.Parent=nil | |
2259 | end),prt,msh,x,y,z) | |
2260 | end | |
2261 | ||
2262 | function dmgstart(dmg,what) | |
2263 | hitcon = what.Touched:connect(function(hit) | |
2264 | local hum = hit.Parent:FindFirstChild("Humanoid") | |
2265 | if hum and not hum:IsDescendantOf(Character) then | |
2266 | hum:TakeDamage(dmg) | |
2267 | end | |
2268 | end) | |
2269 | end | |
2270 | ||
2271 | function dmgstop() | |
2272 | hitcon:disconnect() | |
2273 | end | |
2274 | ||
2275 | function Cloak() | |
2276 | Face.Parent=nil | |
2277 | cloaked=true | |
2278 | for _,v in pairs(Torso.Parent:children()) do | |
2279 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
2280 | coroutine.resume(coroutine.create(function() | |
2281 | for i=0,1,0.2 do | |
2282 | wait() | |
2283 | v.Transparency=i | |
2284 | end | |
2285 | v.Transparency=1 | |
2286 | end)) | |
2287 | end | |
2288 | if v.className=="Hat" then | |
2289 | hatp=v.Handle | |
2290 | coroutine.resume(coroutine.create(function(derp) | |
2291 | for i=0,1,0.2 do | |
2292 | wait() | |
2293 | derp.Transparency=i | |
2294 | end | |
2295 | derp.Transparency=1 | |
2296 | end),hatp) | |
2297 | end | |
2298 | end | |
2299 | for _,v in pairs(m:children()) do | |
2300 | if v.className=="Part" then | |
2301 | coroutine.resume(coroutine.create(function() | |
2302 | for i=0,1,0.2 do | |
2303 | wait() | |
2304 | v.Transparency=i | |
2305 | end | |
2306 | v.Transparency=1 | |
2307 | end)) | |
2308 | end | |
2309 | end | |
2310 | end | |
2311 | ||
2312 | function UnCloak() | |
2313 | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) | |
2314 | Face.Parent=Head | |
2315 | cloaked=false | |
2316 | for _,v in pairs(Torso.Parent:children()) do | |
2317 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
2318 | coroutine.resume(coroutine.create(function() | |
2319 | for i=0,1,0.1 do | |
2320 | wait() | |
2321 | v.Transparency=v.Transparency-0.1 | |
2322 | end | |
2323 | v.Transparency=0 | |
2324 | end)) | |
2325 | end | |
2326 | if v.className=="Hat" then | |
2327 | hatp=v.Handle | |
2328 | coroutine.resume(coroutine.create(function(derp) | |
2329 | for i=0,1,0.1 do | |
2330 | wait() | |
2331 | derp.Transparency=derp.Transparency-0.1 | |
2332 | end | |
2333 | derp.Transparency=0 | |
2334 | end),hatp) | |
2335 | end | |
2336 | end | |
2337 | for _,v in pairs(m:children()) do | |
2338 | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then | |
2339 | coroutine.resume(coroutine.create(function() | |
2340 | for i=0,1,0.1 do | |
2341 | wait() | |
2342 | v.Transparency=v.Transparency-0.1 | |
2343 | end | |
2344 | v.Transparency=0 | |
2345 | end)) | |
2346 | v.Transparency=0 | |
2347 | end | |
2348 | end | |
2349 | end | |
2350 | ||
2351 | local origcolor = BrickColor.new("Pastel light blue") | |
2352 | ---- This section of explosions. | |
2353 | function Explode(rad,par,pitch,vol,mindam,maxdam) | |
2354 | local expart = Instance.new("Part",char) | |
2355 | local expart2 = Instance.new("Part",char) | |
2356 | local rin = Instance.new("Part",char) | |
2357 | local rin2 = Instance.new("Part",char) | |
2358 | local partMesh = Instance.new("SpecialMesh",expart) | |
2359 | partMesh.MeshType = "Sphere" | |
2360 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
2361 | partMesh2.MeshType = "Sphere" | |
2362 | local partMesh3 = Instance.new("SpecialMesh",rin) | |
2363 | partMesh3.MeshType = "Brick" | |
2364 | local partMesh4 = Instance.new("SpecialMesh",rin2) | |
2365 | partMesh4.MeshType = "Brick" | |
2366 | CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch) | |
2367 | partMesh.Scale = vt(rad,rad,rad) | |
2368 | expart.Size = vt(1,1,1) | |
2369 | expart.Transparency = 0 | |
2370 | expart.Anchored = true | |
2371 | expart.Material = "Neon" | |
2372 | expart.BrickColor = bc("White") | |
2373 | expart.CFrame = par.CFrame | |
2374 | partMesh2.Scale = vt(rad,rad,rad) | |
2375 | expart2.Size = vt(1.15,1.15,1.15) | |
2376 | expart2.Transparency = 0.5 | |
2377 | expart2.Anchored = true | |
2378 | expart2.Material = "Neon" | |
2379 | expart2.BrickColor = par.BrickColor | |
2380 | expart2.CFrame = par.CFrame | |
2381 | rin.Size = vt(1.15,1.15,1.15) | |
2382 | rin.Transparency = 1 | |
2383 | rin.Anchored = true | |
2384 | rin.Material = "Neon" | |
2385 | rin.BrickColor = par.BrickColor | |
2386 | rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
2387 | rin2.Size = vt(1.15,1.15,1.15) | |
2388 | rin2.Transparency = 1 | |
2389 | rin2.Anchored = true | |
2390 | rin2.Material = "Neon" | |
2391 | rin2.BrickColor = par.BrickColor | |
2392 | rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
2393 | partMesh3.Scale = vt(0,1,0) | |
2394 | partMesh4.Scale = vt(0,1,0) | |
2395 | local dec2 = Instance.new("Decal", rin) | |
2396 | dec2.Face = "Top" | |
2397 | dec2.Texture = "http://www.roblox.com/asset/?id=874580939" | |
2398 | dec2.Parent = rin | |
2399 | local dec2b = dec2:Clone() | |
2400 | dec2b.Face = "Bottom" | |
2401 | dec2b.Parent = rin | |
2402 | ||
2403 | local dec2a = Instance.new("Decal", rin2) | |
2404 | dec2a.Face = "Top" | |
2405 | dec2a.Texture = "http://www.roblox.com/asset/?id=874580939" | |
2406 | dec2a.Parent = rin2 | |
2407 | local dec2ab = dec2a:Clone() | |
2408 | dec2ab.Face = "Bottom" | |
2409 | dec2ab.Parent = rin2 | |
2410 | expart.CanCollide = false | |
2411 | expart2.CanCollide = false | |
2412 | rin.CanCollide = false | |
2413 | rin2.CanCollide = false | |
2414 | MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal") | |
2415 | local value = 1*rad/6.5 | |
2416 | for i = 0, 199 do | |
2417 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
2418 | expart.CFrame = expart.CFrame | |
2419 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
2420 | expart2.CFrame = expart.CFrame | |
2421 | value = value - 0.035*rad/30 | |
2422 | if value < 7.5 then | |
2423 | partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5) | |
2424 | rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0) | |
2425 | partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5) | |
2426 | rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0) | |
2427 | end | |
2428 | if value < 0 then | |
2429 | dec2.Transparency = dec2.Transparency + 0.025 | |
2430 | dec2a.Transparency = dec2a.Transparency + 0.025 | |
2431 | dec2b.Transparency = dec2b.Transparency + 0.025 | |
2432 | dec2ab.Transparency = dec2ab.Transparency + 0.025 | |
2433 | expart.Transparency = expart.Transparency + 0.025 | |
2434 | expart2.Transparency = expart2.Transparency + 0.025 | |
2435 | rin.Transparency = rin.Transparency + 0.025 | |
2436 | rin2.Transparency = rin2.Transparency + 0.025 | |
2437 | end | |
2438 | swait() | |
2439 | end | |
2440 | game:GetService("Debris"):AddItem(expart, 1) | |
2441 | game:GetService("Debris"):AddItem(expart2, 1) | |
2442 | game:GetService("Debris"):AddItem(rin, 1) | |
2443 | game:GetService("Debris"):AddItem(rin2, 1) | |
2444 | end | |
2445 | ||
2446 | function ExplodeShort(rad,par,pitch,vol,mindam,maxdam) | |
2447 | local expart = Instance.new("Part",char) | |
2448 | local expart2 = Instance.new("Part",char) | |
2449 | local partMesh = Instance.new("SpecialMesh",expart) | |
2450 | partMesh.MeshType = "Sphere" | |
2451 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
2452 | partMesh2.MeshType = "Sphere" | |
2453 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch) | |
2454 | partMesh.Scale = vt(rad,rad,rad) | |
2455 | expart.Size = vt(1,1,1) | |
2456 | expart.Transparency = 0 | |
2457 | expart.Anchored = true | |
2458 | expart.Material = "Neon" | |
2459 | expart.BrickColor = bc("White") | |
2460 | expart.CFrame = par.CFrame | |
2461 | partMesh2.Scale = vt(rad,rad,rad) | |
2462 | expart2.Size = vt(1.15,1.15,1.15) | |
2463 | expart2.Transparency = 0.5 | |
2464 | expart2.Anchored = true | |
2465 | expart2.Material = "Neon" | |
2466 | expart2.BrickColor = par.BrickColor | |
2467 | expart2.CFrame = par.CFrame | |
2468 | expart.CanCollide = false | |
2469 | expart2.CanCollide = false | |
2470 | MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal") | |
2471 | local value = 1*rad/6.5 | |
2472 | for i = 0, 75 do | |
2473 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
2474 | expart.CFrame = expart.CFrame | |
2475 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
2476 | expart2.CFrame = expart.CFrame | |
2477 | value = value - 0.035*rad/5 | |
2478 | if value < 0 then | |
2479 | value = 0 | |
2480 | expart.Transparency = expart.Transparency + 0.05 | |
2481 | expart2.Transparency = expart2.Transparency + 0.05 | |
2482 | end | |
2483 | swait() | |
2484 | end | |
2485 | game:GetService("Debris"):AddItem(expart, 1) | |
2486 | game:GetService("Debris"):AddItem(expart2, 1) | |
2487 | end | |
2488 | ||
2489 | function AreaDanger(rad,par,mindam,maxdam) | |
2490 | local expart = Instance.new("Part",char) | |
2491 | local partMesh = Instance.new("SpecialMesh",expart) | |
2492 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15) | |
2493 | partMesh.MeshType = "Sphere" | |
2494 | partMesh.Scale = vt(rad,rad,rad) | |
2495 | expart.Size = vt(1,1,1) | |
2496 | expart.Transparency = 0.5 | |
2497 | expart.Anchored = true | |
2498 | expart.Material = "Neon" | |
2499 | expart.CanCollide = false | |
2500 | expart.BrickColor = par.BrickColor | |
2501 | expart.CFrame = par.CFrame | |
2502 | local value = 1*rad/5 | |
2503 | MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1) | |
2504 | for i = 0, 14 do | |
2505 | wait() | |
2506 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
2507 | expart.CFrame = expart.CFrame | |
2508 | value = value - 0.035*rad | |
2509 | if value < 0 then | |
2510 | value = 0 | |
2511 | end | |
2512 | end | |
2513 | wait(0.25) | |
2514 | CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1) | |
2515 | wait(0.5) | |
2516 | CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1) | |
2517 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75) | |
2518 | MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal") | |
2519 | MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025) | |
2520 | for i = 0, 14 do | |
2521 | wait() | |
2522 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
2523 | expart.CFrame = expart.CFrame | |
2524 | value = value - 0.035*rad/2 | |
2525 | end | |
2526 | expart.Transparency = 1 | |
2527 | game:GetService("Debris"):AddItem(expart, 5) | |
2528 | end | |
2529 | ||
2530 | function Swarmsplosions(negrad,rad,par,mindam,maxdam) | |
2531 | CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2) | |
2532 | CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1) | |
2533 | CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1) | |
2534 | CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1) | |
2535 | MagniDamageWithEffect(par, 25, 5,10, 0, "Normal") | |
2536 | MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025) | |
2537 | for i = 0, 24 do | |
2538 | MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2)) | |
2539 | end | |
2540 | for i = 0, 24 do | |
2541 | local expart = Instance.new("Part",char) | |
2542 | expart.Transparency = 1 | |
2543 | expart.Anchored = true | |
2544 | expart.CanCollide = false | |
2545 | expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad)) | |
2546 | CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2) | |
2547 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15) | |
2548 | MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal") | |
2549 | MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025) | |
2550 | for i = 0, 9 do | |
2551 | MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2)) | |
2552 | end | |
2553 | game:GetService("Debris"):AddItem(expart, 2) | |
2554 | wait(0.1) | |
2555 | end | |
2556 | end | |
2557 | ||
2558 | function EXterPlosion(par) | |
2559 | CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1) | |
2560 | CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85) | |
2561 | CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2) | |
2562 | CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1) | |
2563 | MagniDamageWithEffect(par, 500, 80,99, 0, "Normal") | |
2564 | MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005) | |
2565 | MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1) | |
2566 | for i = 0, 24 do | |
2567 | MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2)) | |
2568 | end | |
2569 | for i = 0, 24 do | |
2570 | MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2)) | |
2571 | end | |
2572 | end | |
2573 | ---- | |
2574 | ||
2575 | ||
2576 | function ring(type,pos,scale,value) | |
2577 | local type = type | |
2578 | local rng = Instance.new("Part", char) | |
2579 | rng.Anchored = true | |
2580 | rng.BrickColor = origcolor | |
2581 | rng.CanCollide = false | |
2582 | rng.FormFactor = 3 | |
2583 | rng.Name = "Ring" | |
2584 | rng.Size = Vector3.new(1, 1, 1) | |
2585 | rng.Transparency = 0 | |
2586 | rng.TopSurface = 0 | |
2587 | rng.BottomSurface = 0 | |
2588 | rng.CFrame = pos | |
2589 | local rngm = Instance.new("SpecialMesh", rng) | |
2590 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2591 | rngm.Scale = scale | |
2592 | local scaler2 = 1 | |
2593 | if type == "Add" then | |
2594 | scaler2 = 1*value | |
2595 | elseif type == "Divide" then | |
2596 | scaler2 = 1/value | |
2597 | end | |
2598 | coroutine.resume(coroutine.create(function() | |
2599 | for i = 0,10,0.1 do | |
2600 | swait() | |
2601 | if type == "Add" then | |
2602 | scaler2 = scaler2 - 0.01*value | |
2603 | elseif type == "Divide" then | |
2604 | scaler2 = scaler2 - 0.01/value | |
2605 | end | |
2606 | rng.Transparency = rng.Transparency + 0.01 | |
2607 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2608 | end | |
2609 | rng:Destroy() | |
2610 | end)) | |
2611 | end | |
2612 | ||
2613 | ||
2614 | function wave(type,pos,scale,value) | |
2615 | local type = type | |
2616 | local rng = Instance.new("Part", char) | |
2617 | rng.Anchored = true | |
2618 | rng.BrickColor = origcolor | |
2619 | rng.CanCollide = false | |
2620 | rng.FormFactor = 3 | |
2621 | rng.Name = "Ring" | |
2622 | rng.Size = Vector3.new(1, 1, 1) | |
2623 | rng.Transparency = 0 | |
2624 | rng.TopSurface = 0 | |
2625 | rng.BottomSurface = 0 | |
2626 | rng.CFrame = pos | |
2627 | local rngm = Instance.new("SpecialMesh", rng) | |
2628 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2629 | rngm.Scale = scale | |
2630 | local scaler2 = 1 | |
2631 | if type == "Add" then | |
2632 | scaler2 = 1*value | |
2633 | elseif type == "Divide" then | |
2634 | scaler2 = 1/value | |
2635 | end | |
2636 | coroutine.resume(coroutine.create(function() | |
2637 | for i = 0,10,0.1 do | |
2638 | swait() | |
2639 | if type == "Add" then | |
2640 | scaler2 = scaler2 - 0.01*value | |
2641 | elseif type == "Divide" then | |
2642 | scaler2 = scaler2 - 0.01/value | |
2643 | end | |
2644 | rng.Transparency = rng.Transparency + 0.01 | |
2645 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
2646 | end | |
2647 | rng:Destroy() | |
2648 | end)) | |
2649 | end | |
2650 | ||
2651 | function wind(type,pos,scale,value,speed) | |
2652 | local type = type | |
2653 | local rng = Instance.new("Part", char) | |
2654 | rng.Anchored = true | |
2655 | rng.BrickColor = origcolor | |
2656 | rng.CanCollide = false | |
2657 | rng.FormFactor = 3 | |
2658 | rng.Name = "Ring" | |
2659 | rng.Size = Vector3.new(1, 1, 1) | |
2660 | rng.Transparency = 0 | |
2661 | rng.TopSurface = 0 | |
2662 | rng.BottomSurface = 0 | |
2663 | rng.CFrame = pos | |
2664 | local rngm = Instance.new("SpecialMesh", rng) | |
2665 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
2666 | rngm.Scale = scale | |
2667 | local scaler2 = 1 | |
2668 | if type == "Add" then | |
2669 | scaler2 = 1*value | |
2670 | elseif type == "Divide" then | |
2671 | scaler2 = 1/value | |
2672 | end | |
2673 | coroutine.resume(coroutine.create(function() | |
2674 | for i = 0,10,0.1 do | |
2675 | swait() | |
2676 | if type == "Add" then | |
2677 | scaler2 = scaler2 - 0.01*value | |
2678 | elseif type == "Divide" then | |
2679 | scaler2 = scaler2 - 0.01/value | |
2680 | end | |
2681 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
2682 | rng.Transparency = rng.Transparency + 0.01 | |
2683 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
2684 | end | |
2685 | rng:Destroy() | |
2686 | end)) | |
2687 | end | |
2688 | ||
2689 | function groundwind(type,pos,scale,value,speed) | |
2690 | local type = type | |
2691 | local rng = Instance.new("Part", char) | |
2692 | rng.Anchored = true | |
2693 | rng.BrickColor = origcolor | |
2694 | rng.CanCollide = false | |
2695 | rng.FormFactor = 3 | |
2696 | rng.Name = "Ring" | |
2697 | rng.Size = Vector3.new(1, 1, 1) | |
2698 | rng.Transparency = 0 | |
2699 | rng.TopSurface = 0 | |
2700 | rng.BottomSurface = 0 | |
2701 | rng.CFrame = pos | |
2702 | local rngm = Instance.new("SpecialMesh", rng) | |
2703 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
2704 | rngm.Scale = scale | |
2705 | local scaler2 = 1 | |
2706 | if type == "Add" then | |
2707 | scaler2 = 1*value | |
2708 | elseif type == "Divide" then | |
2709 | scaler2 = 1/value | |
2710 | end | |
2711 | coroutine.resume(coroutine.create(function() | |
2712 | for i = 0,10,0.1 do | |
2713 | swait() | |
2714 | if type == "Add" then | |
2715 | scaler2 = scaler2 - 0.01*value | |
2716 | elseif type == "Divide" then | |
2717 | scaler2 = scaler2 - 0.01/value | |
2718 | end | |
2719 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
2720 | rng.Transparency = rng.Transparency + 0.01 | |
2721 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2) | |
2722 | end | |
2723 | rng:Destroy() | |
2724 | end)) | |
2725 | end | |
2726 | ||
2727 | function CameraManager() | |
2728 | if TwoD and not CamInterrupt then | |
2729 | if Humanoid.Health > 0 then | |
2730 | Camera.CameraSubject = Humanoid | |
2731 | Camera.CameraType = "Scriptable" | |
2732 | Humanoid.AutoRotate = false | |
2733 | if Booleans.GyroUse then | |
2734 | Directer.MaxTorque = Vec3(0, huge, 0) | |
2735 | else | |
2736 | Directer.MaxTorque = Vec3(0, 0, 0) | |
2737 | end | |
2738 | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then | |
2739 | if Booleans.CamFollow then | |
2740 | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) | |
2741 | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) | |
2742 | else | |
2743 | CPart.Position = RootPart.Position | |
2744 | end | |
2745 | else | |
2746 | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p | |
2747 | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) | |
2748 | end | |
2749 | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) | |
2750 | else | |
2751 | Camera.CameraSubject = Humanoid | |
2752 | Camera.CameraType = "Custom" | |
2753 | Controller.Disabled = false | |
2754 | end | |
2755 | end | |
2756 | end | |
2757 | ||
2758 | function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow) | |
2759 | local type = type | |
2760 | local rng = Instance.new("Part", char) | |
2761 | rng.Anchored = true | |
2762 | rng.BrickColor = color | |
2763 | rng.CanCollide = false | |
2764 | rng.FormFactor = 3 | |
2765 | rng.Name = "Ring" | |
2766 | rng.Material = "Neon" | |
2767 | rng.Size = Vector3.new(1, 1, 1) | |
2768 | rng.Transparency = 0 | |
2769 | rng.TopSurface = 0 | |
2770 | rng.BottomSurface = 0 | |
2771 | rng.CFrame = pos | |
2772 | local rngm = Instance.new("SpecialMesh", rng) | |
2773 | rngm.MeshType = "Sphere" | |
2774 | ||
2775 | ||
2776 | if(heart)then | |
2777 | rngm.MeshType = Enum.MeshType.FileMesh | |
2778 | rngm.MeshId = "rbxassetid://105992239" | |
2779 | rngm.Offset = Vector3.new(0,0,-.25) | |
2780 | end | |
2781 | rngm.Scale = scale | |
2782 | if rainbowmode == true and not notaffectbychaosrainbow then | |
2783 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2784 | end | |
2785 | local scaler2 = 1 | |
2786 | if type == "Add" then | |
2787 | scaler2 = 1*value | |
2788 | elseif type == "Divide" then | |
2789 | scaler2 = 1/value | |
2790 | end | |
2791 | coroutine.resume(coroutine.create(function() | |
2792 | for i = 0,10/bonuspeed,0.1 do | |
2793 | swait() | |
2794 | if rainbowmode == true and not notaffectbychaosrainbow then | |
2795 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2796 | end | |
2797 | if type == "Add" then | |
2798 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2799 | elseif type == "Divide" then | |
2800 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2801 | end | |
2802 | if chaosmode == true and not notaffectbychaosrainbow then | |
2803 | rng.BrickColor = BrickColor.random() | |
2804 | end | |
2805 | if glitchymode then | |
2806 | local val = math.random(1,255) | |
2807 | local color = Color3.fromRGB(val,val,val) | |
2808 | rng.Color = color | |
2809 | end | |
2810 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2811 | if(invert)then | |
2812 | if(heart)then | |
2813 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
2814 | else | |
2815 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
2816 | end | |
2817 | else | |
2818 | if(heart)then | |
2819 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
2820 | else | |
2821 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
2822 | end | |
2823 | end | |
2824 | rng.CFrame = pos | |
2825 | end | |
2826 | rng:Destroy() | |
2827 | end)) | |
2828 | end | |
2829 | ||
2830 | function newBezier(startpos, pos2, pos3, endpos, t) | |
2831 | local A = clerp(startpos, pos2, t) | |
2832 | local B = clerp(pos2, pos3, t) | |
2833 | local C = clerp(pos3, endpos, t) | |
2834 | local lerp1 = clerp(A, B, t) | |
2835 | local lerp2 = clerp(B, C, t) | |
2836 | local cubic = clerp(lerp1, lerp2, t) | |
2837 | return cubic | |
2838 | end | |
2839 | ||
2840 | ||
2841 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert) | |
2842 | local type = type | |
2843 | local rng = Instance.new("Part", char) | |
2844 | rng.Anchored = true | |
2845 | rng.BrickColor = color | |
2846 | rng.CanCollide = false | |
2847 | rng.FormFactor = 3 | |
2848 | rng.Name = "Ring" | |
2849 | rng.Material = "Neon" | |
2850 | rng.Size = Vector3.new(1, 1, 1) | |
2851 | rng.Transparency = 0 | |
2852 | rng.TopSurface = 0 | |
2853 | rng.BottomSurface = 0 | |
2854 | rng.CFrame = pos | |
2855 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
2856 | local rngm = Instance.new("SpecialMesh", rng) | |
2857 | rngm.MeshType = "Brick" | |
2858 | if(heart)then | |
2859 | rngm.MeshType = Enum.MeshType.FileMesh | |
2860 | rngm.MeshId = "rbxassetid://105992239" | |
2861 | rngm.Offset = Vector3.new(0,0,-.25) | |
2862 | end | |
2863 | rngm.Scale = vt(x1,y1,z1) | |
2864 | if rainbowmode == true then | |
2865 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2866 | end | |
2867 | local scaler2 = 1 | |
2868 | local speeder = FastSpeed/10 | |
2869 | if type == "Add" then | |
2870 | scaler2 = 1*value | |
2871 | elseif type == "Divide" then | |
2872 | scaler2 = 1/value | |
2873 | end | |
2874 | coroutine.resume(coroutine.create(function() | |
2875 | for i = 0,10/bonuspeed,0.1 do | |
2876 | swait() | |
2877 | if rainbowmode == true then | |
2878 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2879 | end | |
2880 | if type == "Add" then | |
2881 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2882 | elseif type == "Divide" then | |
2883 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2884 | end | |
2885 | if chaosmode == true then | |
2886 | rng.BrickColor = BrickColor.random() | |
2887 | end | |
2888 | if glitchymode then | |
2889 | local val = math.random(1,255) | |
2890 | local color = Color3.fromRGB(val,val,val) | |
2891 | rng.Color = color | |
2892 | end | |
2893 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
2894 | if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end | |
2895 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2896 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
2897 | end | |
2898 | rng:Destroy() | |
2899 | end)) | |
2900 | end | |
2901 | ||
2902 | ||
2903 | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert) | |
2904 | local type = type | |
2905 | local rng = Instance.new("Part", char) | |
2906 | rng.Anchored = true | |
2907 | rng.BrickColor = color | |
2908 | rng.CanCollide = false | |
2909 | rng.FormFactor = 3 | |
2910 | rng.Name = "Ring" | |
2911 | rng.Material = "Neon" | |
2912 | rng.Size = Vector3.new(1, 1, 1) | |
2913 | rng.Transparency = 0 | |
2914 | rng.TopSurface = 0 | |
2915 | rng.BottomSurface = 0 | |
2916 | rng.CFrame = pos | |
2917 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
2918 | local rngm = Instance.new("SpecialMesh", rng) | |
2919 | rngm.MeshType = "Brick" | |
2920 | if(heart)then | |
2921 | rngm.MeshType = Enum.MeshType.FileMesh | |
2922 | rngm.MeshId = "rbxassetid://105992239" | |
2923 | rngm.Offset = Vector3.new(0,0,-.25) | |
2924 | end | |
2925 | rngm.Scale = vt(x1,y1,z1) | |
2926 | if rainbowmode == true then | |
2927 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2928 | end | |
2929 | local scaler2 = 0 | |
2930 | local speeder = FastSpeed/10 | |
2931 | if type == "Add" then | |
2932 | scaler2 = 1*value | |
2933 | elseif type == "Divide" then | |
2934 | scaler2 = 1/value | |
2935 | end | |
2936 | coroutine.resume(coroutine.create(function() | |
2937 | for i = 0,10/bonuspeed,0.1 do | |
2938 | swait() | |
2939 | if rainbowmode == true then | |
2940 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2941 | end | |
2942 | if type == "Add" then | |
2943 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2944 | elseif type == "Divide" then | |
2945 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2946 | end | |
2947 | if chaosmode == true then | |
2948 | rng.BrickColor = BrickColor.random() | |
2949 | end | |
2950 | if glitchymode then | |
2951 | local val = math.random(1,255) | |
2952 | local color = Color3.fromRGB(val,val,val) | |
2953 | rng.Color = color | |
2954 | end | |
2955 | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 | |
2956 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
2957 | if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end | |
2958 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2959 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
2960 | end | |
2961 | rng:Destroy() | |
2962 | end)) | |
2963 | end | |
2964 | ||
2965 | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
2966 | local type = type | |
2967 | local rng = Instance.new("Part", char) | |
2968 | rng.Anchored = true | |
2969 | rng.BrickColor = color | |
2970 | rng.CanCollide = false | |
2971 | rng.FormFactor = 3 | |
2972 | rng.Name = "Ring" | |
2973 | rng.Material = "Neon" | |
2974 | rng.Size = Vector3.new(1, 1, 1) | |
2975 | rng.Transparency = 0 | |
2976 | rng.TopSurface = 0 | |
2977 | rng.BottomSurface = 0 | |
2978 | rng.CFrame = pos | |
2979 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
2980 | local rngm = Instance.new("SpecialMesh", rng) | |
2981 | rngm.MeshType = "Sphere" | |
2982 | rngm.Scale = vt(x1,y1,z1) | |
2983 | if rainbowmode == true then | |
2984 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2985 | end | |
2986 | local scaler2 = 1 | |
2987 | local speeder = FastSpeed | |
2988 | if type == "Add" then | |
2989 | scaler2 = 1*value | |
2990 | elseif type == "Divide" then | |
2991 | scaler2 = 1/value | |
2992 | end | |
2993 | coroutine.resume(coroutine.create(function() | |
2994 | for i = 0,10/bonuspeed,0.1 do | |
2995 | swait() | |
2996 | if rainbowmode == true then | |
2997 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2998 | end | |
2999 | if type == "Add" then | |
3000 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3001 | elseif type == "Divide" then | |
3002 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3003 | end | |
3004 | if chaosmode == true then | |
3005 | rng.BrickColor = BrickColor.random() | |
3006 | end | |
3007 | if glitchymode then | |
3008 | local val = math.random(1,255) | |
3009 | local color = Color3.fromRGB(val,val,val) | |
3010 | rng.Color = color | |
3011 | end | |
3012 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
3013 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3014 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3015 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
3016 | end | |
3017 | rng:Destroy() | |
3018 | end)) | |
3019 | end | |
3020 | ||
3021 | ||
3022 | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
3023 | local type = type | |
3024 | local rng = Instance.new("Part", char) | |
3025 | rng.Anchored = true | |
3026 | rng.BrickColor = color | |
3027 | rng.CanCollide = false | |
3028 | rng.FormFactor = 3 | |
3029 | rng.Name = "Ring" | |
3030 | rng.Material = "Neon" | |
3031 | rng.Size = Vector3.new(1, 1, 1) | |
3032 | rng.Transparency = 1 | |
3033 | rng.TopSurface = 0 | |
3034 | rng.BottomSurface = 0 | |
3035 | rng.CFrame = pos | |
3036 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
3037 | local rngm = Instance.new("SpecialMesh", rng) | |
3038 | rngm.MeshType = "Sphere" | |
3039 | rngm.Scale = vt(x1,y1,z1) | |
3040 | if rainbowmode == true then | |
3041 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3042 | end | |
3043 | local scaler2 = 1 | |
3044 | local speeder = FastSpeed | |
3045 | if type == "Add" then | |
3046 | scaler2 = 1*value | |
3047 | elseif type == "Divide" then | |
3048 | scaler2 = 1/value | |
3049 | end | |
3050 | coroutine.resume(coroutine.create(function() | |
3051 | for i = 0,10/bonuspeed,0.1 do | |
3052 | swait() | |
3053 | if rainbowmode == true then | |
3054 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3055 | end | |
3056 | if type == "Add" then | |
3057 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3058 | elseif type == "Divide" then | |
3059 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3060 | end | |
3061 | if chaosmode == true then | |
3062 | rng.BrickColor = BrickColor.random() | |
3063 | end | |
3064 | if glitchymode then | |
3065 | local val = math.random(1,255) | |
3066 | local color = Color3.fromRGB(val,val,val) | |
3067 | rng.Color = color | |
3068 | end | |
3069 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
3070 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3071 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
3072 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
3073 | end | |
3074 | rng:Destroy() | |
3075 | end)) | |
3076 | end | |
3077 | ||
3078 | function dmg(dude) | |
3079 | if dude.Name ~= Character then | |
3080 | local bgf = Instance.new("BodyGyro",dude.Head) | |
3081 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
3082 | local val = Instance.new("BoolValue",dude) | |
3083 | val.Name = "IsHit" | |
3084 | local ds = coroutine.wrap(function() | |
3085 | local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' | |
3086 | for i = 1, 10 do | |
3087 | sphereMK(1.5,2,"Add",torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,25,-.01,BrickColor.new("White"),0,true) | |
3088 | end | |
3089 | dude:WaitForChild("Head"):BreakJoints() | |
3090 | wait(0.5) | |
3091 | targetted = nil | |
3092 | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3) | |
3093 | ||
3094 | coroutine.resume(coroutine.create(function() | |
3095 | for i, v in pairs(dude:GetChildren()) do | |
3096 | if v:IsA("Accessory") then | |
3097 | v:Destroy() | |
3098 | end | |
3099 | if v:IsA("Humanoid") then | |
3100 | v:Destroy() | |
3101 | end | |
3102 | if v:IsA("CharacterMesh") then | |
3103 | v:Destroy() | |
3104 | end | |
3105 | if v:IsA("Model") then | |
3106 | v:Destroy() | |
3107 | end | |
3108 | if v:IsA("Part") or v:IsA("MeshPart") then | |
3109 | for x, o in pairs(v:GetChildren()) do | |
3110 | if o:IsA("Decal") then | |
3111 | o:Destroy() | |
3112 | end | |
3113 | end | |
3114 | coroutine.resume(coroutine.create(function() | |
3115 | v.Material = "Neon" | |
3116 | v.CanCollide = false | |
3117 | local bld = Instance.new("ParticleEmitter",v) | |
3118 | bld.LightEmission = 1 | |
3119 | bld.Texture = "rbxassetid://284205403" | |
3120 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
3121 | bld.Rate = 50 | |
3122 | bld.Lifetime = NumberRange.new(1) | |
3123 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3124 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3125 | bld.Speed = NumberRange.new(0,0) | |
3126 | bld.VelocitySpread = 50000 | |
3127 | bld.Rotation = NumberRange.new(-500,500) | |
3128 | bld.RotSpeed = NumberRange.new(-500,500) | |
3129 | local sbs = Instance.new("BodyPosition", v) | |
3130 | sbs.P = 3000 | |
3131 | sbs.D = 1000 | |
3132 | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
3133 | sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
3134 | v.Color = Color3.new(1,1,1) | |
3135 | coroutine.resume(coroutine.create(function() | |
3136 | for i = 0, 49 do | |
3137 | swait(1) | |
3138 | v.Transparency = v.Transparency + 0.02 | |
3139 | end | |
3140 | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1) | |
3141 | bld.Speed = NumberRange.new(1,5) | |
3142 | bld.Acceleration = vt(0,10,0) | |
3143 | wait(0.5) | |
3144 | bld.Enabled = false | |
3145 | wait(3) | |
3146 | v:Destroy() | |
3147 | dude:Destroy() | |
3148 | end)) | |
3149 | end)) | |
3150 | end | |
3151 | end | |
3152 | end)) | |
3153 | end) | |
3154 | ds() | |
3155 | end | |
3156 | end | |
3157 | ||
3158 | ||
3159 | function FindNearestHead(Position, Distance, SinglePlayer) | |
3160 | if SinglePlayer then | |
3161 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
3162 | end | |
3163 | local List = {} | |
3164 | for i, v in pairs(workspace:GetChildren()) do | |
3165 | if v:IsA("Model") then | |
3166 | if v:findFirstChild("Head") then | |
3167 | if v ~= Character then | |
3168 | if (v.Head.Position - Position).magnitude <= Distance then | |
3169 | table.insert(List, v) | |
3170 | end | |
3171 | end | |
3172 | end | |
3173 | end | |
3174 | end | |
3175 | return List | |
3176 | end | |
3177 | ||
3178 | function FaceMouse() | |
3179 | Cam = workspace.CurrentCamera | |
3180 | return { | |
3181 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
3182 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
3183 | } | |
3184 | end | |
3185 | ||
3186 | function FaceMouse2() | |
3187 | Cam = workspace.CurrentCamera | |
3188 | return { | |
3189 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), | |
3190 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
3191 | } | |
3192 | end | |
3193 | ||
3194 | local ModeOfGlitch = 1 | |
3195 | -- Functions are ready. | |
3196 | local storehumanoidWS = 16 | |
3197 | ||
3198 | function CorruptBlink() | |
3199 | for i = 0, 14 do | |
3200 | PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0) | |
3201 | end | |
3202 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3203 | CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1) | |
3204 | RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0) | |
3205 | CameraEnshaking(2,10) | |
3206 | if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do | |
3207 | if v:FindFirstChild('Head') then | |
3208 | dmg(v) | |
3209 | end | |
3210 | end end | |
3211 | for i = 0, 14 do | |
3212 | PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0) | |
3213 | end | |
3214 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3215 | end | |
3216 | ||
3217 | function ExtinctiveHeartbreak() | |
3218 | local targetted = nil | |
3219 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
3220 | targetted = mouse.Target.Parent | |
3221 | end | |
3222 | if targetted ~= nil then | |
3223 | attack = true | |
3224 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
3225 | for i = 0, 9 do | |
3226 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0) | |
3227 | end | |
3228 | for i = 0, 24 do | |
3229 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0) | |
3230 | end | |
3231 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black")) | |
3232 | local originalpos = root.CFrame | |
3233 | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2) | |
3234 | for i = 0, 9 do | |
3235 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0) | |
3236 | end | |
3237 | for i = 0, 24 do | |
3238 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0) | |
3239 | end | |
3240 | hum.WalkSpeed = 0 | |
3241 | targetted.Head.Anchored = true | |
3242 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black")) | |
3243 | for i = 0,2,0.1 do | |
3244 | swait() | |
3245 | 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(0)),.4) | |
3246 | 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(0),math.rad(0)),.4) | |
3247 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4) | |
3248 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8) | |
3249 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4) | |
3250 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4) | |
3251 | end | |
3252 | coroutine.resume(coroutine.create(function() | |
3253 | bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso")) | |
3254 | bld.LightEmission = 0.1 | |
3255 | bld.Texture = "rbxassetid://284205403" | |
3256 | bld.Color = ColorSequence.new(Color3.new(0.5,0,0)) | |
3257 | bld.Rate = 500 | |
3258 | bld.Lifetime = NumberRange.new(1) | |
3259 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3260 | bld.Acceleration = vt(0,-25,0) | |
3261 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3262 | bld.Speed = NumberRange.new(10,50) | |
3263 | bld.EmissionDirection = "Front" | |
3264 | bld.VelocitySpread = 25 | |
3265 | bld.Rotation = NumberRange.new(-500,500) | |
3266 | bld.RotSpeed = NumberRange.new(-500,500) | |
3267 | end)) | |
3268 | coroutine.resume(coroutine.create(function() | |
3269 | bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso")) | |
3270 | bld.LightEmission = 0.1 | |
3271 | bld.Texture = "rbxassetid://284205403" | |
3272 | bld.Color = ColorSequence.new(Color3.new(0.5,0,0)) | |
3273 | bld.Rate = 500 | |
3274 | bld.Lifetime = NumberRange.new(1) | |
3275 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3276 | bld.Acceleration = vt(0,-25,0) | |
3277 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3278 | bld.Speed = NumberRange.new(10,50) | |
3279 | bld.EmissionDirection = "Front" | |
3280 | bld.VelocitySpread = 25 | |
3281 | bld.Rotation = NumberRange.new(-500,500) | |
3282 | bld.RotSpeed = NumberRange.new(-500,500) | |
3283 | end)) | |
3284 | CameraEnshaking(5,5) | |
3285 | game:GetService("Debris"):AddItem(bld,3) | |
3286 | dmg(targetted) | |
3287 | CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1) | |
3288 | for i = 0,1,0.1 do | |
3289 | swait() | |
3290 | 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(0)),.8) | |
3291 | 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(0),math.rad(0)),.8) | |
3292 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8) | |
3293 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8) | |
3294 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8) | |
3295 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8) | |
3296 | end | |
3297 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
3298 | for i = 0, 9 do | |
3299 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0) | |
3300 | end | |
3301 | for i = 0, 24 do | |
3302 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0) | |
3303 | end | |
3304 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black")) | |
3305 | root.CFrame = originalpos | |
3306 | for i = 0, 9 do | |
3307 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0) | |
3308 | end | |
3309 | for i = 0, 24 do | |
3310 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0) | |
3311 | end | |
3312 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black")) | |
3313 | bld.Enabled = false | |
3314 | attack = false | |
3315 | hum.WalkSpeed = storehumanoidWS | |
3316 | end | |
3317 | end | |
3318 | function PureBomb() | |
3319 | attack = true | |
3320 | ||
3321 | local orb = Instance.new("Part", char) | |
3322 | orb.Anchored = true | |
3323 | orb.BrickColor = BrickColor.new("Toothpaste") | |
3324 | orb.CanCollide = false | |
3325 | orb.FormFactor = 3 | |
3326 | orb.Name = "Ring" | |
3327 | orb.Material = "Neon" | |
3328 | orb.Size = Vector3.new(1, 1, 1) | |
3329 | orb.Transparency = 0 | |
3330 | orb.TopSurface = 0 | |
3331 | orb.BottomSurface = 0 | |
3332 | local orbm = Instance.new("SpecialMesh", orb) | |
3333 | orbm.MeshType = "Sphere" | |
3334 | orbm.Name = "SizeMesh" | |
3335 | orbm.Scale = vt(0,0,0) | |
3336 | local scaled = 0.1 | |
3337 | local posid = 0 | |
3338 | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1) | |
3339 | for i = 0, 5, 0.1 do | |
3340 | swait() | |
3341 | scaled = scaled - 0.001 | |
3342 | posid = posid - scaled | |
3343 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
3344 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
3345 | sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10) | |
3346 | PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0) | |
3347 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1) | |
3348 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1) | |
3349 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
3350 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
3351 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
3352 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1) | |
3353 | end | |
3354 | for i = 0, 2, 0.1 do | |
3355 | swait() | |
3356 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
3357 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) | |
3358 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) | |
3359 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4) | |
3360 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
3361 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
3362 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) | |
3363 | end | |
3364 | coroutine.resume(coroutine.create(function() | |
3365 | orb.Anchored = false | |
3366 | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1) | |
3367 | local a = Instance.new("Part",workspace) | |
3368 | a.Name = "Direction" | |
3369 | a.Anchored = true | |
3370 | a.BrickColor = bc("Bright red") | |
3371 | a.Material = "Neon" | |
3372 | a.Transparency = 1 | |
3373 | a.CanCollide = false | |
3374 | local ray = Ray.new( | |
3375 | orb.CFrame.p, -- origin | |
3376 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
3377 | ) | |
3378 | local ignore = orb | |
3379 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
3380 | a.BottomSurface = 10 | |
3381 | a.TopSurface = 10 | |
3382 | local distance = (orb.CFrame.p - position).magnitude | |
3383 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
3384 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
3385 | orb.CFrame = a.CFrame | |
3386 | a:Destroy() | |
3387 | local bv = Instance.new("BodyVelocity") | |
3388 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3389 | bv.velocity = orb.CFrame.lookVector*125 | |
3390 | bv.Parent = orb | |
3391 | local hitted = false | |
3392 | game:GetService("Debris"):AddItem(orb, 15) | |
3393 | wait() | |
3394 | local hit =orb.Touched:connect(function(hit) | |
3395 | if hitted == false then | |
3396 | hitted = true | |
3397 | CameraEnshaking(10,2.5) | |
3398 | CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1) | |
3399 | MagniDamage(orb, 65, 65,90, 0, "Normal") | |
3400 | sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste")) | |
3401 | sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste")) | |
3402 | for i = 0, 49 do | |
3403 | PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0) | |
3404 | end | |
3405 | for i = 0, 9 do | |
3406 | sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0) | |
3407 | sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0) | |
3408 | end | |
3409 | orb.Anchored = true | |
3410 | orb.Transparency = 1 | |
3411 | wait(8) | |
3412 | orb:Destroy() | |
3413 | end | |
3414 | end) | |
3415 | end)) | |
3416 | for i = 0, 1, 0.1 do | |
3417 | swait() | |
3418 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) | |
3419 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) | |
3420 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4) | |
3421 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) | |
3422 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) | |
3423 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) | |
3424 | end | |
3425 | attack = false | |
3426 | end | |
3427 | ||
3428 | function ChaosGroundStrike() | |
3429 | attack = true | |
3430 | for i = 0, 2, 0.1 do | |
3431 | swait() | |
3432 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
3433 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
3434 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3435 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3436 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
3437 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
3438 | end | |
3439 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1) | |
3440 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) | |
3441 | CameraEnshaking(4,12) | |
3442 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do | |
3443 | if v:FindFirstChild('Head') then | |
3444 | dmg(v) | |
3445 | end | |
3446 | end | |
3447 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) | |
3448 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) | |
3449 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random()) | |
3450 | for i = 0, 2, 0.1 do | |
3451 | swait() | |
3452 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
3453 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
3454 | RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) | |
3455 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) | |
3456 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3457 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3458 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
3459 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
3460 | end | |
3461 | attack = false | |
3462 | end | |
3463 | ||
3464 | function InsaneGroundStrike() | |
3465 | attack = true | |
3466 | chatfunc("Succumb to the insanity!",Color3.new(0,0,0)) | |
3467 | for i = 0, 8, 0.1 do | |
3468 | swait() | |
3469 | PixelBlockNeg(2,1,"Add",RightLeg.CFrame*cf(0,-1.35,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0) | |
3470 | ||
3471 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
3472 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
3473 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3474 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3475 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
3476 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
3477 | end | |
3478 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1) | |
3479 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) | |
3480 | CameraEnshaking(8,24) | |
3481 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do | |
3482 | if v:FindFirstChild('Head') then | |
3483 | dmg(v) | |
3484 | end | |
3485 | end | |
3486 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) | |
3487 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) | |
3488 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random()) | |
3489 | CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1) | |
3490 | chatfunc("Leave the dead where they fall!",Color3.new(0,0,0)) | |
3491 | for i = 0, 2, 0.1 do | |
3492 | swait() | |
3493 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
3494 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
3495 | RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) | |
3496 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) | |
3497 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3498 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3499 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
3500 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
3501 | end | |
3502 | attack = false | |
3503 | end | |
3504 | ||
3505 | function Starfall() | |
3506 | attack = true | |
3507 | hum.WalkSpeed = 0 | |
3508 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1) | |
3509 | for i = 0, 5, 0.1 do | |
3510 | swait() | |
3511 | PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
3512 | PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
3513 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
3514 | 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)),.1) | |
3515 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
3516 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
3517 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1) | |
3518 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1) | |
3519 | end | |
3520 | local Overed = false | |
3521 | CameraEnshaking(2,20) | |
3522 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
3523 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
3524 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
3525 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1) | |
3526 | local orb = Instance.new("Part", char) | |
3527 | orb.Anchored = true | |
3528 | orb.BrickColor = BrickColor.new("Toothpaste") | |
3529 | orb.CanCollide = false | |
3530 | orb.FormFactor = 3 | |
3531 | orb.Name = "Remenant" | |
3532 | orb.Material = "Neon" | |
3533 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
3534 | orb.Size = Vector3.new(1, 1, 1) | |
3535 | orb.Transparency = 1 | |
3536 | orb.TopSurface = 0 | |
3537 | orb.BottomSurface = 0 | |
3538 | hum.WalkSpeed = storehumanoidWS | |
3539 | coroutine.resume(coroutine.create(function() | |
3540 | for i = 0, 9 do | |
3541 | swait(10) | |
3542 | local lb = Instance.new("Part") | |
3543 | lb.Color = MAINRUINCOLOR.Color | |
3544 | lb.CanCollide = false | |
3545 | lb.Material = "Neon" | |
3546 | lb.Anchored = true | |
3547 | lb.TopSurface = 0 | |
3548 | lb.BottomSurface = 0 | |
3549 | lb.Transparency = 0 | |
3550 | lb.Size = vt(1,1,1) | |
3551 | lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15))) | |
3552 | lb.Anchored = false | |
3553 | lb.Parent = char | |
3554 | local thingery = Instance.new("SpecialMesh",lb) | |
3555 | thingery.MeshType = "Sphere" | |
3556 | thingery.Scale = vt(20,20,20) | |
3557 | game:GetService("Debris"):AddItem(lb, 10) | |
3558 | local bv = Instance.new("BodyVelocity") | |
3559 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3560 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
3561 | bv.Parent = lb | |
3562 | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) | |
3563 | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) | |
3564 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1) | |
3565 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1) | |
3566 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1) | |
3567 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1) | |
3568 | local hitted = false | |
3569 | coroutine.resume(coroutine.create(function() | |
3570 | while true do | |
3571 | swait(1) | |
3572 | if lb.Parent ~= nil and hitted == false then | |
3573 | PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2) | |
3574 | elseif lb.Parent == nil then | |
3575 | break | |
3576 | end | |
3577 | end | |
3578 | end)) | |
3579 | ||
3580 | game:GetService("Debris"):AddItem(a, 0.1) | |
3581 | ||
3582 | coroutine.resume(coroutine.create(function() | |
3583 | swait(1) | |
3584 | lb.Touched:connect(function(hit) | |
3585 | if hitted == false then | |
3586 | hitted = true | |
3587 | lb.Transparency = 1 | |
3588 | lb.Anchored = true | |
3589 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1) | |
3590 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7) | |
3591 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75) | |
3592 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75) | |
3593 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1) | |
3594 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85) | |
3595 | MagniDamage(lb, 45, 45,85, 0, "Normal") | |
3596 | CameraEnshaking(1,5) | |
3597 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
3598 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
3599 | for i = 0, 9 do | |
3600 | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) | |
3601 | end | |
3602 | for i = 0, 49 do | |
3603 | swait() | |
3604 | MagniDamage(lb, 30, 2,4, 0, "Normal") | |
3605 | PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0) | |
3606 | end | |
3607 | end | |
3608 | end) | |
3609 | end)) | |
3610 | end | |
3611 | Overed = true | |
3612 | orb:Destroy() | |
3613 | end)) | |
3614 | ||
3615 | attack = false | |
3616 | end | |
3617 | ||
3618 | function StarfallEX() | |
3619 | attack = true | |
3620 | hum.WalkSpeed = 0 | |
3621 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1) | |
3622 | for i = 0, 5, 0.1 do | |
3623 | swait() | |
3624 | PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
3625 | PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
3626 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
3627 | 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)),.1) | |
3628 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
3629 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
3630 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1) | |
3631 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1) | |
3632 | end | |
3633 | local Overed = false | |
3634 | CameraEnshaking(2,20) | |
3635 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
3636 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
3637 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
3638 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1) | |
3639 | local orb = Instance.new("Part", char) | |
3640 | orb.Anchored = true | |
3641 | orb.BrickColor = BrickColor.new("Toothpaste") | |
3642 | orb.CanCollide = false | |
3643 | orb.FormFactor = 3 | |
3644 | orb.Name = "Remenant" | |
3645 | orb.Material = "Neon" | |
3646 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
3647 | orb.Size = Vector3.new(1, 1, 1) | |
3648 | orb.Transparency = 1 | |
3649 | orb.TopSurface = 0 | |
3650 | orb.BottomSurface = 0 | |
3651 | hum.WalkSpeed = storehumanoidWS | |
3652 | coroutine.resume(coroutine.create(function() | |
3653 | for i = 1, 5 do | |
3654 | swait(10) | |
3655 | local lb = Instance.new("Part") | |
3656 | lb.Color = MAINRUINCOLOR.Color | |
3657 | lb.CanCollide = false | |
3658 | lb.Material = "Neon" | |
3659 | lb.Anchored = true | |
3660 | lb.TopSurface = 0 | |
3661 | lb.BottomSurface = 0 | |
3662 | lb.Transparency = 0 | |
3663 | lb.Size = vt(1,1,1) | |
3664 | lb.CFrame = orb.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15))) | |
3665 | lb.Anchored = false | |
3666 | lb.Parent = char | |
3667 | local thingery = Instance.new("SpecialMesh",lb) | |
3668 | thingery.MeshType = "Sphere" | |
3669 | thingery.Scale = vt(20,20,20) | |
3670 | game:GetService("Debris"):AddItem(lb, 10) | |
3671 | local bv = Instance.new("BodyVelocity") | |
3672 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3673 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
3674 | bv.Parent = lb | |
3675 | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) | |
3676 | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) | |
3677 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1) | |
3678 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1) | |
3679 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1) | |
3680 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1) | |
3681 | local hitted = false | |
3682 | coroutine.resume(coroutine.create(function() | |
3683 | while true do | |
3684 | swait(1) | |
3685 | if lb.Parent ~= nil and hitted == false then | |
3686 | PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2) | |
3687 | elseif lb.Parent == nil then | |
3688 | break | |
3689 | end | |
3690 | end | |
3691 | end)) | |
3692 | ||
3693 | game:GetService("Debris"):AddItem(a, 0.1) | |
3694 | ||
3695 | coroutine.resume(coroutine.create(function() | |
3696 | swait(5) | |
3697 | lb.Touched:connect(function(hit) | |
3698 | if hitted == false and not hit:IsDescendantOf(Character) then | |
3699 | hitted = true | |
3700 | lb.Transparency = 1 | |
3701 | lb.Anchored = true | |
3702 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1) | |
3703 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7) | |
3704 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75) | |
3705 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75) | |
3706 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1) | |
3707 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85) | |
3708 | MagniDamage(lb, 45, 90,170, 0, "Normal") | |
3709 | CameraEnshaking(1,5) | |
3710 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
3711 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
3712 | for i = 0, 9 do | |
3713 | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) | |
3714 | end | |
3715 | for i = 0, 49 do | |
3716 | swait() | |
3717 | MagniDamage(lb, 60, 20,40, 0, "Normal") | |
3718 | PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0) | |
3719 | end | |
3720 | end | |
3721 | end) | |
3722 | end)) | |
3723 | end | |
3724 | Overed = true | |
3725 | orb:Destroy() | |
3726 | end)) | |
3727 | ||
3728 | attack = false | |
3729 | end | |
3730 | ||
3731 | ||
3732 | function StarDivision() | |
3733 | attack = true | |
3734 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5) | |
3735 | for i = 0, 2, 0.1 do | |
3736 | swait() | |
3737 | PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
3738 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6) | |
3739 | 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)),.6) | |
3740 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6) | |
3741 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6) | |
3742 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6) | |
3743 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6) | |
3744 | end | |
3745 | local orb = Instance.new("Part", char) | |
3746 | orb.BrickColor = MAINRUINCOLOR | |
3747 | orb.CanCollide = false | |
3748 | orb.FormFactor = 3 | |
3749 | orb.Name = "Ring" | |
3750 | orb.Material = "Neon" | |
3751 | orb.Size = Vector3.new(1, 1, 1) | |
3752 | orb.Transparency = 0 | |
3753 | orb.TopSurface = 0 | |
3754 | orb.BottomSurface = 0 | |
3755 | local orbm = Instance.new("SpecialMesh", orb) | |
3756 | orbm.MeshType = "Sphere" | |
3757 | orbm.Name = "SizeMesh" | |
3758 | orbm.Scale = vt(2,2,2) | |
3759 | local a = Instance.new("Part",workspace) | |
3760 | a.Name = "Direction" | |
3761 | a.Anchored = true | |
3762 | a.BrickColor = bc("Bright red") | |
3763 | a.Material = "Neon" | |
3764 | a.Transparency = 1 | |
3765 | a.CanCollide = false | |
3766 | local ray = Ray.new( | |
3767 | sorb.CFrame.p, -- origin | |
3768 | (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction | |
3769 | ) | |
3770 | local ignore = sorb | |
3771 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
3772 | a.BottomSurface = 10 | |
3773 | a.TopSurface = 10 | |
3774 | local distance = (sorb.CFrame.p - position).magnitude | |
3775 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
3776 | a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
3777 | orb.CFrame = a.CFrame | |
3778 | a:Destroy() | |
3779 | local bv = Instance.new("BodyVelocity") | |
3780 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3781 | bv.velocity = orb.CFrame.lookVector*100 | |
3782 | bv.Parent = orb | |
3783 | local hitted = false | |
3784 | game:GetService("Debris"):AddItem(orb, 10) | |
3785 | CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15) | |
3786 | CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15) | |
3787 | CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15) | |
3788 | CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15) | |
3789 | CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15) | |
3790 | coroutine.resume(coroutine.create(function() | |
3791 | while true do | |
3792 | swait(1) | |
3793 | if orb.Parent ~= nil and hitted == false then | |
3794 | PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2) | |
3795 | elseif orb.Parent == nil then | |
3796 | break | |
3797 | end | |
3798 | end | |
3799 | end)) | |
3800 | coroutine.resume(coroutine.create(function() | |
3801 | swait(1) | |
3802 | orb.Touched:connect(function(hit) | |
3803 | if hitted == false then | |
3804 | hitted = true | |
3805 | game:GetService("Debris"):AddItem(orb, 5) | |
3806 | orb.Transparency = 1 | |
3807 | orb.Anchored = true | |
3808 | local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3809 | elocacenter.Anchored = true | |
3810 | elocacenter.CFrame = orb.CFrame | |
3811 | elocacenter.Orientation = vt(0,0,0) | |
3812 | local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3813 | eloca1.Anchored = true | |
3814 | eloca1.CFrame = elocacenter.CFrame | |
3815 | local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3816 | eloca2.Anchored = true | |
3817 | eloca2.CFrame = elocacenter.CFrame | |
3818 | local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3819 | eloca3.Anchored = true | |
3820 | eloca3.CFrame = elocacenter.CFrame | |
3821 | local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3822 | eloca4.Anchored = true | |
3823 | eloca4.CFrame = elocacenter.CFrame | |
3824 | local lookavec = 0 | |
3825 | local speeds = 0 | |
3826 | CameraEnshaking(1,1) | |
3827 | CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1) | |
3828 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3829 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3830 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3831 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3832 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3833 | for i = 0, 99 do | |
3834 | swait() | |
3835 | lookavec = lookavec + 1 | |
3836 | speeds = speeds + 0.1 | |
3837 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
3838 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
3839 | PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
3840 | ||
3841 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
3842 | PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
3843 | ||
3844 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
3845 | PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
3846 | ||
3847 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
3848 | PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
3849 | end | |
3850 | ||
3851 | for i = 0, 149 do | |
3852 | swait() | |
3853 | speeds = speeds + 0.1 | |
3854 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
3855 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
3856 | PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
3857 | ||
3858 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
3859 | PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
3860 | ||
3861 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
3862 | PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
3863 | ||
3864 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
3865 | PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
3866 | end | |
3867 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do | |
3868 | if v:FindFirstChild('Head') then | |
3869 | dmg(v) | |
3870 | end | |
3871 | end | |
3872 | CameraEnshaking(7,30) | |
3873 | MagniDamage(elocacenter, 225, 50,75, 0, "Normal") | |
3874 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1) | |
3875 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75) | |
3876 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1) | |
3877 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1) | |
3878 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR) | |
3879 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR) | |
3880 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3881 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3882 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3883 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3884 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3885 | for i = 0, 24 do | |
3886 | sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0) | |
3887 | sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0) | |
3888 | sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0) | |
3889 | sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0) | |
3890 | end | |
3891 | coroutine.resume(coroutine.create(function() | |
3892 | for i = 0, 499 do | |
3893 | swait(1) | |
3894 | MagniDamage(elocacenter, 90, 1,5, 0, "Normal") | |
3895 | PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5) | |
3896 | end | |
3897 | elocacenter:Destroy() | |
3898 | eloca1:Destroy() | |
3899 | eloca2:Destroy() | |
3900 | eloca3:Destroy() | |
3901 | eloca4:Destroy() | |
3902 | end)) | |
3903 | end | |
3904 | end) | |
3905 | end)) | |
3906 | attack = false | |
3907 | end | |
3908 | ||
3909 | ||
3910 | function UniversalCollapse() | |
3911 | attack = true | |
3912 | local speedearn = 0 | |
3913 | hum.WalkSpeed = 0 | |
3914 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1) | |
3915 | for i = 0, 10, 0.1 do | |
3916 | swait() | |
3917 | speedearn = speedearn + 0.1 | |
3918 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3919 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3920 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3921 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3922 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3923 | 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) | |
3924 | 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) | |
3925 | 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) | |
3926 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
3927 | 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) | |
3928 | 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) | |
3929 | end | |
3930 | CameraEnshaking(5,45) | |
3931 | sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR) | |
3932 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1) | |
3933 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
3934 | if v:FindFirstChild('Head') then | |
3935 | dmg(v) | |
3936 | end | |
3937 | end | |
3938 | hum.WalkSpeed = storehumanoidWS | |
3939 | attack = false | |
3940 | end | |
3941 | function ChaosBegone() | |
3942 | attack = true | |
3943 | local speedearn = 0 | |
3944 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75) | |
3945 | for i = 0, 10, 0.1 do | |
3946 | swait() | |
3947 | speedearn = speedearn + 0.1 | |
3948 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3949 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3950 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3951 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3952 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3953 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
3954 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
3955 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3956 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3957 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
3958 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
3959 | end | |
3960 | CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1) | |
3961 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1) | |
3962 | CameraEnshaking(5,25) | |
3963 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
3964 | if v:FindFirstChild('Head') then | |
3965 | dmg(v) | |
3966 | end | |
3967 | end | |
3968 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random()) | |
3969 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random()) | |
3970 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random()) | |
3971 | for i = 0, 3, 0.1 do | |
3972 | swait() | |
3973 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
3974 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
3975 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
3976 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
3977 | RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) | |
3978 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) | |
3979 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3980 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3981 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
3982 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
3983 | end | |
3984 | attack = false | |
3985 | end | |
3986 | ||
3987 | function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon) | |
3988 | local orb = Instance.new("Part", char) | |
3989 | orb.Anchored = true | |
3990 | orb.BrickColor = color | |
3991 | orb.CanCollide = false | |
3992 | orb.FormFactor = 3 | |
3993 | orb.Name = "Ring" | |
3994 | orb.Material = "Neon" | |
3995 | orb.Size = Vector3.new(1, 1, 1) | |
3996 | orb.Transparency = 0 | |
3997 | orb.TopSurface = 0 | |
3998 | orb.BottomSurface = 0 | |
3999 | local orbm = Instance.new("SpecialMesh", orb) | |
4000 | orbm.MeshType = "Sphere" | |
4001 | orb.CFrame = positted | |
4002 | orbm.Name = "SizeMesh" | |
4003 | orbm.Scale = vt(1,1,1) | |
4004 | coroutine.wrap(function() | |
4005 | while orb and orb.Parent do | |
4006 | if glitchymode then | |
4007 | local val = math.random(1,255) | |
4008 | local color = Color3.fromRGB(val,val,val) | |
4009 | orb.Color = color | |
4010 | end | |
4011 | swait() | |
4012 | end | |
4013 | end)() | |
4014 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1) | |
4015 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor) | |
4016 | --[[for i = 0, 2 do | |
4017 | sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0) | |
4018 | end]]-- | |
4019 | coroutine.resume(coroutine.create(function() | |
4020 | wait(timer) | |
4021 | CameraEnshaking(3,ShakePower) | |
4022 | orb.Transparency = 1 | |
4023 | MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal") | |
4024 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor) | |
4025 | --[[for i = 0, 4 do | |
4026 | sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0) | |
4027 | end]]-- | |
4028 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7) | |
4029 | wait(3) | |
4030 | orb:Destroy() | |
4031 | end)) | |
4032 | end | |
4033 | ||
4034 | function orb_spawn(positted,timer) | |
4035 | local orb = Instance.new("Part", char) | |
4036 | orb.Anchored = true | |
4037 | orb.BrickColor = BrickColor.new("White") | |
4038 | ||
4039 | orb.CanCollide = false | |
4040 | orb.FormFactor = 3 | |
4041 | orb.Name = "Ring" | |
4042 | orb.Material = "Neon" | |
4043 | orb.Size = Vector3.new(1, 1, 1) | |
4044 | orb.Transparency = 0 | |
4045 | orb.TopSurface = 0 | |
4046 | orb.BottomSurface = 0 | |
4047 | local orbm = Instance.new("SpecialMesh", orb) | |
4048 | orbm.MeshType = "Sphere" | |
4049 | orb.CFrame = positted | |
4050 | orbm.Name = "SizeMesh" | |
4051 | orbm.Scale = vt(1,1,1) | |
4052 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1) | |
4053 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor) | |
4054 | coroutine.wrap(function() | |
4055 | while orb and orb.Parent do | |
4056 | if glitchymode then | |
4057 | local val = math.random(1,255) | |
4058 | local color = Color3.fromRGB(val,val,val) | |
4059 | orb.Color = color | |
4060 | end | |
4061 | swait() | |
4062 | end | |
4063 | end)() | |
4064 | for i = 0, 2 do | |
4065 | sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0) | |
4066 | end | |
4067 | ||
4068 | coroutine.resume(coroutine.create(function() | |
4069 | wait(timer) | |
4070 | CameraEnshaking(3,2) | |
4071 | orb.Transparency = 1 | |
4072 | MagniDamage(orb, 17.5, 10,50, 0, "Normal") | |
4073 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor) | |
4074 | for i = 0, 4 do | |
4075 | sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0) | |
4076 | end | |
4077 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7) | |
4078 | wait(3) | |
4079 | orb:Destroy() | |
4080 | end)) | |
4081 | end | |
4082 | ||
4083 | function scattercorrupt() | |
4084 | attack = true | |
4085 | local rot = 0 | |
4086 | local randomrotations = math.random(1,2) | |
4087 | local lookv = 2.5 | |
4088 | local power = 5 | |
4089 | sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple")) | |
4090 | sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple")) | |
4091 | for i = 0, 9 do | |
4092 | sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0) | |
4093 | end | |
4094 | CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6) | |
4095 | CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5) | |
4096 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1) | |
4097 | CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75) | |
4098 | CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5) | |
4099 | local hite = Instance.new("Part", char) | |
4100 | hite.Anchored = true | |
4101 | hite.CanCollide = false | |
4102 | hite.FormFactor = 3 | |
4103 | hite.Name = "Ring" | |
4104 | hite.Material = "Neon" | |
4105 | hite.Size = Vector3.new(1, 1, 1) | |
4106 | hite.Transparency = 1 | |
4107 | hite.TopSurface = 0 | |
4108 | hite.BottomSurface = 0 | |
4109 | hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0) | |
4110 | local rem = Instance.new("Part", char) | |
4111 | rem.Anchored = true | |
4112 | rem.CanCollide = false | |
4113 | rem.FormFactor = 3 | |
4114 | rem.Name = "Ring" | |
4115 | rem.Material = "Neon" | |
4116 | rem.Size = Vector3.new(1, 1, 1) | |
4117 | rem.Transparency = 1 | |
4118 | rem.TopSurface = 0 | |
4119 | rem.BottomSurface = 0 | |
4120 | rem.CFrame = hite.CFrame | |
4121 | local rem2 = rem:Clone() | |
4122 | rem2.Parent = char | |
4123 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4124 | local rem3 = rem:Clone() | |
4125 | rem3.Parent = char | |
4126 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
4127 | local rem4 = rem:Clone() | |
4128 | rem4.Parent = char | |
4129 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
4130 | hite:Destroy() | |
4131 | coroutine.resume(coroutine.create(function() | |
4132 | for i = 0, 24 do | |
4133 | swait(1) | |
4134 | if randomrotations == 1 then | |
4135 | rot = rot + 1 | |
4136 | elseif randomrotations == 2 then | |
4137 | rot = rot - 1 | |
4138 | end | |
4139 | power = power + 0.5 | |
4140 | lookv = lookv + 7.5 | |
4141 | rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
4142 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4143 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
4144 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
4145 | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
4146 | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
4147 | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
4148 | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
4149 | end | |
4150 | end)) | |
4151 | attack = false | |
4152 | end | |
4153 | function yinyangi() | |
4154 | attack = true | |
4155 | for i = 0, 2, 0.1 do | |
4156 | swait() | |
4157 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2) | |
4158 | 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(20)),.2) | |
4159 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2) | |
4160 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4161 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2) | |
4162 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
4163 | end | |
4164 | local bv = Instance.new("BodyVelocity") | |
4165 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4166 | bv.velocity = root.CFrame.lookVector*175 | |
4167 | bv.Parent = root | |
4168 | for Rotations = 0, 9 do | |
4169 | ||
4170 | for i = 0, 1, 0.5 do | |
4171 | swait() | |
4172 | bv.velocity = root.CFrame.lookVector*175 | |
4173 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
4174 | 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(20)),.5) | |
4175 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5) | |
4176 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
4177 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
4178 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
4179 | end | |
4180 | ||
4181 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
4182 | for i = 0, 1, 0.5 do | |
4183 | swait() | |
4184 | bv.velocity = root.CFrame.lookVector*175 | |
4185 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
4186 | 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(20)),.5) | |
4187 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5) | |
4188 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
4189 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
4190 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
4191 | end | |
4192 | ||
4193 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
4194 | for i = 0, 1, 0.5 do | |
4195 | swait() | |
4196 | bv.velocity = root.CFrame.lookVector*175 | |
4197 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
4198 | 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(20)),.5) | |
4199 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5) | |
4200 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
4201 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
4202 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
4203 | end | |
4204 | ||
4205 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
4206 | for i = 0, 1, 0.5 do | |
4207 | swait() | |
4208 | bv.velocity = root.CFrame.lookVector*175 | |
4209 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
4210 | 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(20)),.5) | |
4211 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5) | |
4212 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
4213 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
4214 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
4215 | end | |
4216 | ||
4217 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
4218 | end | |
4219 | bv:Destroy() | |
4220 | attack = false | |
4221 | end | |
4222 | ||
4223 | function JusticeBeam() | |
4224 | attack = true | |
4225 | ||
4226 | local rngb = Instance.new("Part", char) | |
4227 | rngb.Anchored = true | |
4228 | rngb.BrickColor = origcolor | |
4229 | rngb.CanCollide = false | |
4230 | rngb.FormFactor = 3 | |
4231 | rngb.Name = "Ring" | |
4232 | rngb.Material = "Neon" | |
4233 | rngb.Size = Vector3.new(1, 0.05, 1) | |
4234 | rngb.Transparency = 1 | |
4235 | rngb.TopSurface = 0 | |
4236 | rngb.BottomSurface = 0 | |
4237 | local rngmb = Instance.new("SpecialMesh", rngb) | |
4238 | rngmb.MeshType = "Brick" | |
4239 | rngmb.Name = "SizeMesh" | |
4240 | rngmb.Scale = vt(0,1,0) | |
4241 | ||
4242 | local orb = rngb:Clone() | |
4243 | orb.Parent = char | |
4244 | orb.Transparency = 0 | |
4245 | orb.BrickColor = BrickColor.new("White") | |
4246 | orb.Size = vt(1,1,1) | |
4247 | local orbmish = orb.SizeMesh | |
4248 | orbmish.Scale = vt(0,0,0) | |
4249 | orbmish.MeshType = "Sphere" | |
4250 | ||
4251 | local orbe = rngb:Clone() | |
4252 | orbe.Parent = char | |
4253 | orbe.Transparency = 0.5 | |
4254 | orbe.BrickColor = BrickColor.new("New Yeller") | |
4255 | orbe.Size = vt(1,1,1) | |
4256 | local orbmish2 = orbe.SizeMesh | |
4257 | orbmish2.Scale = vt(0,0,0) | |
4258 | orbmish2.MeshType = "Sphere" | |
4259 | orbe.Color = Color3.new(1,1,1) | |
4260 | ||
4261 | rngb:Destroy() | |
4262 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1) | |
4263 | local scaled = 1 | |
4264 | for i = 0,5,0.1 do | |
4265 | swait() | |
4266 | scaled = scaled - 0.02 | |
4267 | if rainbowmode == true then | |
4268 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4269 | end | |
4270 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
4271 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
4272 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4273 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4274 | sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25) | |
4275 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4276 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4277 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4278 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4279 | 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(0)),.3) | |
4280 | 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(10),math.rad(0)),.3) | |
4281 | RootPart.CFrame = FaceMouse()[1] | |
4282 | end]]-- | |
4283 | for i = 0,5,0.1 do | |
4284 | swait() | |
4285 | if rainbowmode == true then | |
4286 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4287 | end | |
4288 | if glitchymode then | |
4289 | local val = math.random(1,255) | |
4290 | local color = Color3.fromRGB(val,val,val) | |
4291 | orbe.Color = color | |
4292 | end | |
4293 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4294 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4295 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
4296 | 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)),.1) | |
4297 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
4298 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
4299 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1) | |
4300 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1) | |
4301 | end | |
4302 | orbe.Transparency = 1 | |
4303 | orb.Transparency = 1 | |
4304 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
4305 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1) | |
4306 | local a2 = Instance.new("Part",Character) | |
4307 | a2.Name = "Direction" | |
4308 | a2.Anchored = true | |
4309 | a2.BrickColor = bc("New Yeller") | |
4310 | a2.Color = Color3.new(1,1,1) | |
4311 | a2.Material = "Neon" | |
4312 | a2.Transparency = 0.5 | |
4313 | a2.Shape = "Cylinder" | |
4314 | a2.CanCollide = false | |
4315 | local ba = Instance.new("Part",Character) | |
4316 | ba.Name = "HitDirect" | |
4317 | ba.Anchored = true | |
4318 | ba.BrickColor = bc("Cool yellow") | |
4319 | ba.Material = "Neon" | |
4320 | ba.Transparency = 1 | |
4321 | ba.CanCollide = false | |
4322 | local ray = Ray.new( | |
4323 | orb.CFrame.p, -- origin | |
4324 | root.CFrame.lookVector.unit * 1000 -- direction | |
4325 | ) | |
4326 | local ignore = Character | |
4327 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4328 | a2.Transparency = .75 | |
4329 | a2.BottomSurface = 10 | |
4330 | a2.TopSurface = 10 | |
4331 | local distance = (orb.CFrame.p - position).magnitude | |
4332 | a2.Size = Vector3.new(distance, 1, 1) | |
4333 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4334 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4335 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4336 | game:GetService("Debris"):AddItem(a2, 20) | |
4337 | game:GetService("Debris"):AddItem(ba, 20) | |
4338 | local msh2 = Instance.new("SpecialMesh",a2) | |
4339 | msh2.MeshType = "Cylinder" | |
4340 | msh2.Scale = vt(1,6*5,6*5) | |
4341 | ||
4342 | local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1) | |
4343 | for i = 1, 80*2 do | |
4344 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
4345 | 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)),.1) | |
4346 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
4347 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
4348 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1) | |
4349 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1) | |
4350 | swait() | |
4351 | CameraEnshaking(1,5) | |
4352 | a2.Color = Color3.new(1,1,1) | |
4353 | a2.Transparency = .25 | |
4354 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4355 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4356 | ray = Ray.new( | |
4357 | orb.CFrame.p, -- origin | |
4358 | root.CFrame.lookVector.unit * 1000 -- direction | |
4359 | ) | |
4360 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4361 | distance = (orb.CFrame.p - position).magnitude | |
4362 | if typrot == 1 then | |
4363 | rotation = rotation + 2.5 | |
4364 | elseif typrot == 2 then | |
4365 | rotation = rotation - 2.5 | |
4366 | end | |
4367 | a2.Size = Vector3.new(distance, 1, 1) | |
4368 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4369 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4370 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4371 | msh2.Scale = msh2.Scale - vt(0,.19,.19) | |
4372 | sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0) | |
4373 | sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0) | |
4374 | MagniDamage(ba, 30, 5,25, 0, "Normal") | |
4375 | end | |
4376 | a2:Destroy() | |
4377 | ba:Destroy() | |
4378 | orb:Destroy() | |
4379 | orbe:Destroy() | |
4380 | attack = false | |
4381 | end | |
4382 | ||
4383 | function Wip() | |
4384 | attack = true | |
4385 | ||
4386 | local rngb = Instance.new("Part", char) | |
4387 | rngb.Anchored = true | |
4388 | rngb.BrickColor = origcolor | |
4389 | rngb.CanCollide = false | |
4390 | rngb.FormFactor = 3 | |
4391 | rngb.Name = "Ring" | |
4392 | rngb.Material = "Neon" | |
4393 | rngb.Size = Vector3.new(1, 0.05, 1) | |
4394 | rngb.Transparency = 1 | |
4395 | rngb.TopSurface = 0 | |
4396 | rngb.BottomSurface = 0 | |
4397 | local rngmb = Instance.new("SpecialMesh", rngb) | |
4398 | rngmb.MeshType = "Brick" | |
4399 | rngmb.Name = "SizeMesh" | |
4400 | rngmb.Scale = vt(0,1,0) | |
4401 | ||
4402 | local orb = rngb:Clone() | |
4403 | orb.Parent = char | |
4404 | orb.Transparency = 0 | |
4405 | orb.BrickColor = BrickColor.new("White") | |
4406 | orb.Size = vt(1,1,1) | |
4407 | local orbmish = orb.SizeMesh | |
4408 | orbmish.Scale = vt(0,0,0) | |
4409 | orbmish.MeshType = "Sphere" | |
4410 | ||
4411 | local orbe = rngb:Clone() | |
4412 | orbe.Parent = char | |
4413 | orbe.Transparency = 0.5 | |
4414 | orbe.BrickColor = BrickColor.new("New Yeller") | |
4415 | orbe.Size = vt(1,1,1) | |
4416 | local orbmish2 = orbe.SizeMesh | |
4417 | orbmish2.Scale = vt(0,0,0) | |
4418 | orbmish2.MeshType = "Sphere" | |
4419 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4420 | ||
4421 | hum.AutoRotate = false | |
4422 | rngb:Destroy() | |
4423 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1) | |
4424 | local scaled = 1 | |
4425 | for i = 0,5,0.1 do | |
4426 | swait() | |
4427 | scaled = scaled - 0.02 | |
4428 | if rainbowmode == true then | |
4429 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4430 | end | |
4431 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
4432 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
4433 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4434 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4435 | sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25) | |
4436 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4437 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4438 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4439 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4440 | 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(0)),.3) | |
4441 | 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(10),math.rad(0)),.3) | |
4442 | RootPart.CFrame = FaceMouse()[1] | |
4443 | end]]-- | |
4444 | for i = 0,5,0.1 do | |
4445 | swait() | |
4446 | if rainbowmode == true then | |
4447 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4448 | end | |
4449 | if glitchymode then | |
4450 | local val = math.random(1,255) | |
4451 | local color = Color3.fromRGB(val,val,val) | |
4452 | orbe.Color = color | |
4453 | end | |
4454 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4455 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4456 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4457 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4458 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4459 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4460 | 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(0)),.3) | |
4461 | 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(10),math.rad(0)),.3) | |
4462 | RootPart.CFrame = FaceMouse()[1] | |
4463 | end | |
4464 | orbe.Transparency = 1 | |
4465 | orb.Transparency = 1 | |
4466 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
4467 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1) | |
4468 | local a = Instance.new("Part",Character) | |
4469 | a.Name = "Direction" | |
4470 | a.Anchored = true | |
4471 | a.BrickColor = bc("White") | |
4472 | a.Material = "Neon" | |
4473 | a.Transparency = 0 | |
4474 | a.Shape = "Cylinder" | |
4475 | a.CanCollide = false | |
4476 | local a2 = Instance.new("Part",Character) | |
4477 | a2.Name = "Direction" | |
4478 | a2.Anchored = true | |
4479 | a2.BrickColor = bc("New Yeller") | |
4480 | a2.Color = Color3.new(r/255,g/255,b/255) | |
4481 | a2.Material = "Neon" | |
4482 | a2.Transparency = 0.5 | |
4483 | a2.Shape = "Cylinder" | |
4484 | a2.CanCollide = false | |
4485 | local ba = Instance.new("Part",Character) | |
4486 | ba.Name = "HitDirect" | |
4487 | ba.Anchored = true | |
4488 | ba.BrickColor = bc("Cool yellow") | |
4489 | ba.Material = "Neon" | |
4490 | ba.Transparency = 1 | |
4491 | ba.CanCollide = false | |
4492 | local ray = Ray.new( | |
4493 | orb.CFrame.p, -- origin | |
4494 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4495 | ) | |
4496 | local ignore = Character | |
4497 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4498 | a.BottomSurface = 10 | |
4499 | a.TopSurface = 10 | |
4500 | a2.BottomSurface = 10 | |
4501 | a2.TopSurface = 10 | |
4502 | local distance = (orb.CFrame.p - position).magnitude | |
4503 | a.Size = Vector3.new(distance, 1, 1) | |
4504 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4505 | a2.Size = Vector3.new(distance, 1, 1) | |
4506 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4507 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4508 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4509 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4510 | game:GetService("Debris"):AddItem(a, 20) | |
4511 | game:GetService("Debris"):AddItem(a2, 20) | |
4512 | game:GetService("Debris"):AddItem(ba, 20) | |
4513 | local msh = Instance.new("SpecialMesh",a) | |
4514 | msh.MeshType = "Cylinder" | |
4515 | msh.Scale = vt(1,5*5,5*5) | |
4516 | local msh2 = Instance.new("SpecialMesh",a2) | |
4517 | msh2.MeshType = "Cylinder" | |
4518 | msh2.Scale = vt(1,6*5,6*5) | |
4519 | ||
4520 | for i = 0,10,0.1 do | |
4521 | swait() | |
4522 | CameraEnshaking(1,5) | |
4523 | a2.Color = Color3.new(r/255,g/255,b/255) | |
4524 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4525 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4526 | ray = Ray.new( | |
4527 | orb.CFrame.p, -- origin | |
4528 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4529 | ) | |
4530 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4531 | distance = (orb.CFrame.p - position).magnitude | |
4532 | if typrot == 1 then | |
4533 | rotation = rotation + 2.5 | |
4534 | elseif typrot == 2 then | |
4535 | rotation = rotation - 2.5 | |
4536 | end | |
4537 | RootPart.CFrame = FaceMouse()[1] | |
4538 | a.Size = Vector3.new(distance, 1, 1) | |
4539 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4540 | a2.Size = Vector3.new(distance, 1, 1) | |
4541 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4542 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4543 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4544 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4545 | msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5) | |
4546 | msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5) | |
4547 | sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0) | |
4548 | sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0) | |
4549 | MagniDamage(ba, 30, 5,25, 0, "Normal") | |
4550 | end | |
4551 | a:Destroy() | |
4552 | a2:Destroy() | |
4553 | ba:Destroy() | |
4554 | orb:Destroy() | |
4555 | orbe:Destroy() | |
4556 | hum.AutoRotate = true | |
4557 | attack = false | |
4558 | end | |
4559 | ||
4560 | ||
4561 | function UniversalSpark() | |
4562 | attack = true | |
4563 | ||
4564 | local rngb = Instance.new("Part", char) | |
4565 | rngb.Anchored = true | |
4566 | rngb.BrickColor = origcolor | |
4567 | rngb.CanCollide = false | |
4568 | rngb.FormFactor = 3 | |
4569 | rngb.Name = "Ring" | |
4570 | rngb.Material = "Neon" | |
4571 | rngb.Size = Vector3.new(1, 0.05, 1) | |
4572 | rngb.Transparency = 1 | |
4573 | rngb.TopSurface = 0 | |
4574 | rngb.BottomSurface = 0 | |
4575 | local rngmb = Instance.new("SpecialMesh", rngb) | |
4576 | rngmb.MeshType = "Brick" | |
4577 | rngmb.Name = "SizeMesh" | |
4578 | rngmb.Scale = vt(0,1,0) | |
4579 | ||
4580 | local orb = rngb:Clone() | |
4581 | orb.Parent = char | |
4582 | orb.Transparency = 0 | |
4583 | orb.BrickColor = BrickColor.new("White") | |
4584 | orb.Size = vt(1,1,1) | |
4585 | local orbmish = orb.SizeMesh | |
4586 | orbmish.Scale = vt(0,0,0) | |
4587 | orbmish.MeshType = "Sphere" | |
4588 | ||
4589 | local orbe = rngb:Clone() | |
4590 | orbe.Parent = char | |
4591 | orbe.Transparency = 0.5 | |
4592 | orbe.BrickColor = BrickColor.new("New Yeller") | |
4593 | orbe.Size = vt(1,1,1) | |
4594 | local orbmish2 = orbe.SizeMesh | |
4595 | orbmish2.Scale = vt(0,0,0) | |
4596 | orbmish2.MeshType = "Sphere" | |
4597 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4598 | ||
4599 | rngb:Destroy() | |
4600 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1) | |
4601 | local scaled = 1 | |
4602 | for i = 0,5,0.1 do | |
4603 | swait() | |
4604 | scaled = scaled - 0.02 | |
4605 | if rainbowmode == true then | |
4606 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4607 | end | |
4608 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
4609 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
4610 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4611 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4612 | sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25) | |
4613 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4614 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4615 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4616 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4617 | 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(0)),.3) | |
4618 | 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(10),math.rad(0)),.3) | |
4619 | RootPart.CFrame = FaceMouse()[1] | |
4620 | end]]-- | |
4621 | for i = 0,5,0.1 do | |
4622 | swait() | |
4623 | if rainbowmode == true then | |
4624 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4625 | end | |
4626 | if glitchymode then | |
4627 | local val = math.random(1,255) | |
4628 | local color = Color3.fromRGB(val,val,val) | |
4629 | orbe.Color = color | |
4630 | end | |
4631 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4632 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4633 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4634 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4635 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4636 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4637 | 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(0)),.3) | |
4638 | 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(10),math.rad(0)),.3) | |
4639 | RootPart.CFrame = FaceMouse()[1] | |
4640 | end | |
4641 | orbe.Transparency = 1 | |
4642 | orb.Transparency = 1 | |
4643 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
4644 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1) | |
4645 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1) | |
4646 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1) | |
4647 | ||
4648 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1) | |
4649 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1) | |
4650 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1) | |
4651 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1) | |
4652 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1) | |
4653 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85) | |
4654 | CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1) | |
4655 | local xd= Instance.new("Sound",char) | |
4656 | xd.SoundId = "rbxassetid://445796828" | |
4657 | xd.Pitch = 0.75 | |
4658 | xd.Looped = true | |
4659 | xd.Volume = 1.25 | |
4660 | xd:Play() | |
4661 | local a = Instance.new("Part",Character) | |
4662 | a.Name = "Direction" | |
4663 | a.Anchored = true | |
4664 | a.BrickColor = bc("Alder") | |
4665 | a.Color = MAINRUINCOLOR.Color | |
4666 | a.Material = "Neon" | |
4667 | a.Transparency = 0.5 | |
4668 | a.Shape = "Cylinder" | |
4669 | a.CanCollide = false | |
4670 | local a2 = Instance.new("Part",Character) | |
4671 | a2.Name = "Direction" | |
4672 | a2.Anchored = true | |
4673 | a2.BrickColor = bc("New Yeller") | |
4674 | a2.Color = MAINRUINCOLOR.Color | |
4675 | a2.Material = "Neon" | |
4676 | a2.Transparency = 0.5 | |
4677 | a2.Shape = "Cylinder" | |
4678 | a2.CanCollide = false | |
4679 | local ba = Instance.new("Part",Character) | |
4680 | ba.Name = "HitDirect" | |
4681 | ba.Anchored = true | |
4682 | ba.BrickColor = bc("Cool yellow") | |
4683 | ba.Material = "Neon" | |
4684 | ba.Transparency = 1 | |
4685 | ba.CanCollide = false | |
4686 | local ray = Ray.new( | |
4687 | orb.CFrame.p, -- origin | |
4688 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4689 | ) | |
4690 | local ignore = Character | |
4691 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4692 | a.BottomSurface = 10 | |
4693 | a.TopSurface = 10 | |
4694 | a2.BottomSurface = 10 | |
4695 | a2.TopSurface = 10 | |
4696 | local distance = (orb.CFrame.p - position).magnitude | |
4697 | a.Size = Vector3.new(distance, 1, 1) | |
4698 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4699 | a2.Size = Vector3.new(distance, 1, 1) | |
4700 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4701 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4702 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4703 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4704 | game:GetService("Debris"):AddItem(a, 60) | |
4705 | game:GetService("Debris"):AddItem(a2, 60) | |
4706 | game:GetService("Debris"):AddItem(ba, 60) | |
4707 | local outerscale = 0 | |
4708 | local msh = Instance.new("SpecialMesh",a) | |
4709 | msh.MeshType = "Cylinder" | |
4710 | msh.Scale = vt(1,0,0) | |
4711 | local msh2 = Instance.new("SpecialMesh",a2) | |
4712 | msh2.MeshType = "Cylinder" | |
4713 | msh2.Scale = vt(1,0,0) | |
4714 | for i = 0,2,0.1 do | |
4715 | swait() | |
4716 | CameraEnshaking(1,1) | |
4717 | msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20) | |
4718 | msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15) | |
4719 | outerscale = outerscale - 0.015 | |
4720 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4721 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4722 | ray = Ray.new( | |
4723 | orb.CFrame.p, -- origin | |
4724 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4725 | ) | |
4726 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4727 | distance = (orb.CFrame.p - position).magnitude | |
4728 | if typrot == 1 then | |
4729 | rotation = rotation + 2.5 | |
4730 | elseif typrot == 2 then | |
4731 | rotation = rotation - 2.5 | |
4732 | end | |
4733 | RootPart.CFrame = FaceMouse()[1] | |
4734 | a.Size = Vector3.new(distance, 1, 1) | |
4735 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4736 | a2.Size = Vector3.new(distance, 1, 1) | |
4737 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4738 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4739 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4740 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4741 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4742 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4743 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
4744 | end | |
4745 | for z = 0, 2 do | |
4746 | for i = 0,4,0.1 do | |
4747 | swait() | |
4748 | CameraEnshaking(1,1) | |
4749 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
4750 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
4751 | outerscale = outerscale + 0.015 | |
4752 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4753 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4754 | ray = Ray.new( | |
4755 | orb.CFrame.p, -- origin | |
4756 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4757 | ) | |
4758 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4759 | distance = (orb.CFrame.p - position).magnitude | |
4760 | if typrot == 1 then | |
4761 | rotation = rotation + 2.5 | |
4762 | elseif typrot == 2 then | |
4763 | rotation = rotation - 2.5 | |
4764 | end | |
4765 | RootPart.CFrame = FaceMouse()[1] | |
4766 | a.Size = Vector3.new(distance, 1, 1) | |
4767 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4768 | a2.Size = Vector3.new(distance, 1, 1) | |
4769 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4770 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4771 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4772 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4773 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4774 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4775 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
4776 | end | |
4777 | for i = 0,4,0.1 do | |
4778 | swait() | |
4779 | CameraEnshaking(1,1) | |
4780 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
4781 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
4782 | outerscale = outerscale - 0.015 | |
4783 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4784 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4785 | ray = Ray.new( | |
4786 | orb.CFrame.p, -- origin | |
4787 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4788 | ) | |
4789 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4790 | distance = (orb.CFrame.p - position).magnitude | |
4791 | if typrot == 1 then | |
4792 | rotation = rotation + 2.5 | |
4793 | elseif typrot == 2 then | |
4794 | rotation = rotation - 2.5 | |
4795 | end | |
4796 | RootPart.CFrame = FaceMouse()[1] | |
4797 | a.Size = Vector3.new(distance, 1, 1) | |
4798 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4799 | a2.Size = Vector3.new(distance, 1, 1) | |
4800 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4801 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4802 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4803 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4804 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4805 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4806 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
4807 | end | |
4808 | end | |
4809 | for i = 0,4,0.1 do | |
4810 | swait() | |
4811 | CameraEnshaking(1,1) | |
4812 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
4813 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
4814 | xd.Volume = xd.Volume - 0.025 | |
4815 | a.Transparency = a.Transparency + 0.025 | |
4816 | a2.Transparency = a2.Transparency + 0.025 | |
4817 | outerscale = outerscale - 0.015 | |
4818 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4819 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4820 | ray = Ray.new( | |
4821 | orb.CFrame.p, -- origin | |
4822 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4823 | ) | |
4824 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4825 | distance = (orb.CFrame.p - position).magnitude | |
4826 | if typrot == 1 then | |
4827 | rotation = rotation + 2.5 | |
4828 | elseif typrot == 2 then | |
4829 | rotation = rotation - 2.5 | |
4830 | end | |
4831 | RootPart.CFrame = FaceMouse()[1] | |
4832 | a.Size = Vector3.new(distance, 1, 1) | |
4833 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4834 | a2.Size = Vector3.new(distance, 1, 1) | |
4835 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4836 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4837 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4838 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4839 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4840 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4841 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
4842 | end | |
4843 | xd:Destroy() | |
4844 | a:Destroy() | |
4845 | a2:Destroy() | |
4846 | ba:Destroy() | |
4847 | orb:Destroy() | |
4848 | orbe:Destroy() | |
4849 | attack = false | |
4850 | end | |
4851 | ||
4852 | ||
4853 | ||
4854 | function attackone() | |
4855 | attack = true | |
4856 | for i = 0,1,0.1 do | |
4857 | swait() | |
4858 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2) | |
4859 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2) | |
4860 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
4861 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
4862 | RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2) | |
4863 | 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(10)),.2) | |
4864 | end | |
4865 | CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1) | |
4866 | ||
4867 | local hitb = Instance.new("Part", char) | |
4868 | hitb.Anchored = true | |
4869 | hitb.CanCollide = false | |
4870 | hitb.FormFactor = 3 | |
4871 | hitb.Name = "Ring" | |
4872 | hitb.Material = "Neon" | |
4873 | hitb.Size = Vector3.new(1, 1, 1) | |
4874 | hitb.Transparency = 1 | |
4875 | hitb.TopSurface = 0 | |
4876 | hitb.BottomSurface = 0 | |
4877 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
4878 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
4879 | hitb:Destroy() | |
4880 | for i = 0,1,0.1 do | |
4881 | swait() | |
4882 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4) | |
4883 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4) | |
4884 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4) | |
4885 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4) | |
4886 | RH.C0=clerp(RH.C0,cf(1,-1 - 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(-40)),.4) | |
4887 | 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(-10)),.4) | |
4888 | end | |
4889 | ||
4890 | attack = false | |
4891 | end | |
4892 | ||
4893 | function attacktwo() | |
4894 | attack = true | |
4895 | for i = 0,1,0.1 do | |
4896 | swait() | |
4897 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2) | |
4898 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2) | |
4899 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
4900 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
4901 | RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2) | |
4902 | 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(10)),.2) | |
4903 | end | |
4904 | CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1) | |
4905 | local hitb = Instance.new("Part", char) | |
4906 | hitb.Anchored = true | |
4907 | hitb.CanCollide = false | |
4908 | hitb.FormFactor = 3 | |
4909 | hitb.Name = "Ring" | |
4910 | hitb.Material = "Neon" | |
4911 | hitb.Size = Vector3.new(1, 1, 1) | |
4912 | hitb.Transparency = 1 | |
4913 | hitb.TopSurface = 0 | |
4914 | hitb.BottomSurface = 0 | |
4915 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
4916 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
4917 | hitb:Destroy() | |
4918 | for i = 0,1,0.1 do | |
4919 | swait() | |
4920 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4) | |
4921 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4) | |
4922 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4) | |
4923 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4) | |
4924 | 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(-5),math.rad(0),math.rad(-40)),.4) | |
4925 | 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(-10)),.4) | |
4926 | end | |
4927 | attack = false | |
4928 | end | |
4929 | ||
4930 | function attackthree() | |
4931 | attack = true | |
4932 | for i = 0,1,0.1 do | |
4933 | swait() | |
4934 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3) | |
4935 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3) | |
4936 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3) | |
4937 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4938 | 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(0)),.3) | |
4939 | 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(10),math.rad(0)),.3) | |
4940 | end | |
4941 | local distlook = 5 | |
4942 | for i = 0, 4 do | |
4943 | swait(2) | |
4944 | CameraEnshaking(2,3) | |
4945 | local hite = Instance.new("Part", char) | |
4946 | hite.Anchored = true | |
4947 | hite.CanCollide = false | |
4948 | hite.FormFactor = 3 | |
4949 | hite.Name = "Ring" | |
4950 | hite.Material = "Neon" | |
4951 | hite.Size = Vector3.new(1, 1, 1) | |
4952 | hite.Transparency = 1 | |
4953 | hite.TopSurface = 0 | |
4954 | hite.BottomSurface = 0 | |
4955 | hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook | |
4956 | sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR) | |
4957 | sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR) | |
4958 | MagniDamage(hite, 10, 15,35, 0, "Normal") | |
4959 | for i = 0, 2 do | |
4960 | sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0) | |
4961 | sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0) | |
4962 | sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0) | |
4963 | end | |
4964 | CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1) | |
4965 | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6) | |
4966 | game:GetService("Debris"):AddItem(hite, 5) | |
4967 | distlook = distlook + 10 | |
4968 | end | |
4969 | attack = false | |
4970 | end | |
4971 | ||
4972 | function FinalCalamity() | |
4973 | end | |
4974 | ||
4975 | function resetmode() | |
4976 | rainbowmode = false | |
4977 | chaosmode = false | |
4978 | glitchymode = false | |
4979 | tl1.Enabled = false | |
4980 | tl2.Enabled = false | |
4981 | tl3.Enabled = false | |
4982 | local lust = ModeOfGlitch == 69 | |
4983 | ModeOfGlitch = 1 | |
4984 | storehumanoidWS = 16 | |
4985 | if(not lust)then | |
4986 | newTheme("rbxassetid://1564523997",48.6,1,1) | |
4987 | end | |
4988 | coroutine.resume(coroutine.create(function() | |
4989 | attack = true | |
4990 | hum.WalkSpeed = 0 | |
4991 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25) | |
4992 | for i = 0,4,0.1 do | |
4993 | swait() | |
4994 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
4995 | 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(30)),.2) | |
4996 | 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(0),math.rad(-30)),.2) | |
4997 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
4998 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2) | |
4999 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5000 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5001 | end | |
5002 | if(lust)then | |
5003 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5004 | sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Pink',true,true) | |
5005 | for i = 0, 49 do | |
5006 | PixelBlock(1,15,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*cf(0,0,-80),6,6,6,0.12,BrickColor.new("Pink"),0,true,true) | |
5007 | end | |
5008 | ||
5009 | for i = 0,4,0.05 do | |
5010 | swait() | |
5011 | Pitch = 1-i/4 | |
5012 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
5013 | 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(30)),.2) | |
5014 | 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(0),math.rad(-30)),.2) | |
5015 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
5016 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2) | |
5017 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5018 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5019 | end | |
5020 | for i = 0,3,0.1 do | |
5021 | swait() | |
5022 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
5023 | 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(30)),.2) | |
5024 | 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(0),math.rad(-30)),.2) | |
5025 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
5026 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2) | |
5027 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5028 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5029 | end | |
5030 | newTheme("rbxassetid://1564523997",48.6,1,1) | |
5031 | end | |
5032 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1) | |
5033 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5034 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1) | |
5035 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75) | |
5036 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end) | |
5037 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end) | |
5038 | RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1)) | |
5039 | CameraEnshaking(5,2.5) | |
5040 | MAINRUINCOLOR = BrickColor.new("Really black") | |
5041 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5042 | for i = 0, 49 do | |
5043 | PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0) | |
5044 | end | |
5045 | for i = 0,3,0.1 do | |
5046 | sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0) | |
5047 | end | |
5048 | for i, v in pairs(mw2:GetChildren()) do | |
5049 | if v:IsA("Part") then | |
5050 | v.BrickColor = BrickColor.new("Really black") | |
5051 | v.Material = "Neon" | |
5052 | end | |
5053 | end | |
5054 | for i, v in pairs(mw1:GetChildren()) do | |
5055 | if v:IsA("Part") then | |
5056 | v.Transparency = 1 | |
5057 | v.BrickColor = BrickColor.new("Really black") | |
5058 | v.Material = "Neon" | |
5059 | end | |
5060 | end | |
5061 | for i, v in pairs(m:GetChildren()) do | |
5062 | if v:IsA("Part") then | |
5063 | v.BrickColor = BrickColor.new("Really black") | |
5064 | v.Material = "Glass" | |
5065 | end | |
5066 | end | |
5067 | for i, v in pairs(m2:GetChildren()) do | |
5068 | if v:IsA("Part") then | |
5069 | v.BrickColor = BrickColor.new("Dark stone grey") | |
5070 | v.Material = "Granite" | |
5071 | end | |
5072 | end | |
5073 | for i, v in pairs(m3:GetChildren()) do | |
5074 | if v:IsA("Part") then | |
5075 | v.BrickColor = BrickColor.new("Really black") | |
5076 | v.Material = "Neon" | |
5077 | end | |
5078 | end | |
5079 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5080 | if v:IsA("Part") then | |
5081 | v.Transparency = 1 | |
5082 | v.BrickColor = BrickColor.new("White") | |
5083 | v.Material = "Neon" | |
5084 | end | |
5085 | end | |
5086 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5087 | if v:IsA("Part") then | |
5088 | v.Transparency = 1 | |
5089 | v.BrickColor = BrickColor.new("White") | |
5090 | v.Material = "Neon" | |
5091 | end | |
5092 | end | |
5093 | for i = 0,2,0.1 do | |
5094 | swait() | |
5095 | 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(-30)),.2) | |
5096 | 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(0),math.rad(30)),.2) | |
5097 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2) | |
5098 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2) | |
5099 | RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2) | |
5100 | LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2) | |
5101 | end | |
5102 | hum.WalkSpeed = storehumanoidWS | |
5103 | attack = false | |
5104 | end)) | |
5105 | end | |
5106 | ||
5107 | function lustmode() | |
5108 | ||
5109 | ModeOfGlitch = 69 | |
5110 | storehumanoidWS = 16 | |
5111 | rainbowmode = false | |
5112 | chaosmode = false | |
5113 | glitchymode = false | |
5114 | tl1.Enabled = false | |
5115 | tl2.Enabled = false | |
5116 | tl3.Enabled = false | |
5117 | newTheme("rbxassetid://1203355187",0,1,1) | |
5118 | coroutine.wrap(function() | |
5119 | attack = true | |
5120 | hum.WalkSpeed = 0 | |
5121 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25) | |
5122 | for i = 0,4,0.1 do | |
5123 | swait() | |
5124 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
5125 | 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(30)),.2) | |
5126 | 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(0),math.rad(-30)),.2) | |
5127 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
5128 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2) | |
5129 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5130 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5131 | end | |
5132 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5133 | sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Pink',true) | |
5134 | ||
5135 | for i = 0,4,0.1 do | |
5136 | swait() | |
5137 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
5138 | 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(30)),.2) | |
5139 | 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(0),math.rad(-30)),.2) | |
5140 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
5141 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2) | |
5142 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5143 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5144 | end | |
5145 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1) | |
5146 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5147 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1) | |
5148 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75) | |
5149 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Pink' end) | |
5150 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Pink' end) | |
5151 | CameraEnshaking(5,2.5) | |
5152 | MAINRUINCOLOR = BrickColor.new("Pink") | |
5153 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5154 | for i = 0, 49 do | |
5155 | PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0,true) | |
5156 | end | |
5157 | for i = 0,3,0.1 do | |
5158 | sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0,true) | |
5159 | end | |
5160 | RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new'Pink'.Color) | |
5161 | for i, v in pairs(mw2:GetChildren()) do | |
5162 | if v:IsA("Part") then | |
5163 | v.BrickColor = MAINRUINCOLOR | |
5164 | v.Material = "Neon" | |
5165 | end | |
5166 | end | |
5167 | for i, v in pairs(mw1:GetChildren()) do | |
5168 | if v:IsA("Part") then | |
5169 | v.Transparency = 1 | |
5170 | v.BrickColor = MAINRUINCOLOR | |
5171 | v.Material = "Neon" | |
5172 | end | |
5173 | end | |
5174 | for i, v in pairs(m:GetChildren()) do | |
5175 | if v:IsA("Part") then | |
5176 | v.BrickColor = BrickColor.new("Pink") | |
5177 | v.Material = "Ice" | |
5178 | end | |
5179 | end | |
5180 | for i, v in pairs(m2:GetChildren()) do | |
5181 | if v:IsA("Part") then | |
5182 | v.BrickColor = BrickColor.new("Pink") | |
5183 | v.Material = "Glass" | |
5184 | end | |
5185 | end | |
5186 | for i, v in pairs(m3:GetChildren()) do | |
5187 | if v:IsA("Part") then | |
5188 | v.BrickColor = BrickColor.new("Pink") | |
5189 | v.Material = "Neon" | |
5190 | end | |
5191 | end | |
5192 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5193 | if v:IsA("Part") then | |
5194 | v.Transparency = 1 | |
5195 | v.BrickColor = BrickColor.new("Pink") | |
5196 | v.Material = "Neon" | |
5197 | end | |
5198 | end | |
5199 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5200 | if v:IsA("Part") then | |
5201 | v.Transparency = 1 | |
5202 | v.BrickColor = BrickColor.new("Pink") | |
5203 | v.Material = "Neon" | |
5204 | end | |
5205 | end | |
5206 | for i = 0,2,0.1 do | |
5207 | swait() | |
5208 | 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(-30)),.2) | |
5209 | 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(0),math.rad(30)),.2) | |
5210 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2) | |
5211 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2) | |
5212 | RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2) | |
5213 | LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2) | |
5214 | end | |
5215 | hum.WalkSpeed = storehumanoidWS | |
5216 | attack = false | |
5217 | end)() | |
5218 | end | |
5219 | ||
5220 | function insanitymode() | |
5221 | storehumanoidWS = 16 | |
5222 | hum.WalkSpeed = 0 | |
5223 | rainbowmode = false | |
5224 | glitchymode = false | |
5225 | chaosmode = true | |
5226 | tl1.Enabled = true | |
5227 | tl2.Enabled = true | |
5228 | tl3.Enabled = true | |
5229 | local lust = ModeOfGlitch == 69 | |
5230 | newTheme("rbxassetid://919231299",0,1,1) | |
5231 | coroutine.resume(coroutine.create(function() | |
5232 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5233 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5234 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5235 | attack = true | |
5236 | hum.WalkSpeed = 0 | |
5237 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25) | |
5238 | for i = 0,4,0.1 do | |
5239 | swait() | |
5240 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
5241 | 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(30)),.2) | |
5242 | 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(0),math.rad(-30)),.2) | |
5243 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
5244 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2) | |
5245 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5246 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5247 | end | |
5248 | for i = 0,8,0.1 do | |
5249 | swait() | |
5250 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
5251 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,.035,MAINRUINCOLOR,0) | |
5252 | 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(30)),.2) | |
5253 | 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(0),math.rad(-30)),.2) | |
5254 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
5255 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2) | |
5256 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5257 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5258 | end | |
5259 | ||
5260 | for i = 0,3,0.1 do | |
5261 | swait() | |
5262 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
5263 | 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(30)),.2) | |
5264 | 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(0),math.rad(-30)),.2) | |
5265 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
5266 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2) | |
5267 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5268 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5269 | end | |
5270 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1) | |
5271 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5272 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1) | |
5273 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75) | |
5274 | CameraEnshaking(5,2.5) | |
5275 | MAINRUINCOLOR = BrickColor.new("Black") | |
5276 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5277 | for i = 0, 49 do | |
5278 | PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0) | |
5279 | end | |
5280 | for i = 0,3,0.1 do | |
5281 | sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0) | |
5282 | end | |
5283 | ModeOfGlitch = 666666 | |
5284 | for i, v in pairs(mw2:GetChildren()) do | |
5285 | if v:IsA("Part") then | |
5286 | v.BrickColor = MAINRUINCOLOR | |
5287 | v.Material = "Neon" | |
5288 | end | |
5289 | end | |
5290 | for i, v in pairs(mw1:GetChildren()) do | |
5291 | if v:IsA("Part") then | |
5292 | v.Transparency = 0.75 | |
5293 | v.BrickColor = BrickColor.random() | |
5294 | v.Material = "Neon" | |
5295 | end | |
5296 | end | |
5297 | for i, v in pairs(m:GetChildren()) do | |
5298 | if v:IsA("Part") then | |
5299 | v.BrickColor = BrickColor.new("Black") | |
5300 | v.Material = "Neon" | |
5301 | end | |
5302 | end | |
5303 | for i, v in pairs(m2:GetChildren()) do | |
5304 | if v:IsA("Part") then | |
5305 | v.BrickColor = BrickColor.random() | |
5306 | v.Material = "Neon" | |
5307 | end | |
5308 | end | |
5309 | for i, v in pairs(m3:GetChildren()) do | |
5310 | if v:IsA("Part") then | |
5311 | v.BrickColor = BrickColor.new("Black") | |
5312 | v.Material = "Neon" | |
5313 | end | |
5314 | end | |
5315 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5316 | if v:IsA("Part") then | |
5317 | v.Transparency = .75 | |
5318 | v.BrickColor = BrickColor.Random() | |
5319 | v.Material = "Neon" | |
5320 | end | |
5321 | end | |
5322 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5323 | if v:IsA("Part") then | |
5324 | v.Transparency = 0 | |
5325 | v.BrickColor = BrickColor.new("Black") | |
5326 | v.Material = "Neon" | |
5327 | end | |
5328 | end | |
5329 | for i = 0,2,0.1 do | |
5330 | swait() | |
5331 | 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(-30)),.2) | |
5332 | 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(0),math.rad(30)),.2) | |
5333 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2) | |
5334 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 10 * math.cos(sine / 0.2))),.2) | |
5335 | RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2) | |
5336 | LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2) | |
5337 | end | |
5338 | hum.WalkSpeed = storehumanoidWS | |
5339 | attack = false | |
5340 | end)) | |
5341 | end | |
5342 | ||
5343 | local attacktype = 1 | |
5344 | mouse.Button1Down:connect(function() | |
5345 | if attack == false and attacktype == 1 then | |
5346 | attacktype = 2 | |
5347 | attackone() | |
5348 | elseif attack == false and attacktype == 2 then | |
5349 | attacktype = 3 | |
5350 | attacktwo() | |
5351 | elseif attack == false and attacktype == 3 then | |
5352 | attacktype = 1 | |
5353 | attackthree() | |
5354 | elseif attack == false and attacktype == 4 then | |
5355 | attacktype = 1 | |
5356 | --attackfour() | |
5357 | end | |
5358 | end) | |
5359 | ||
5360 | function Judgement() | |
5361 | attack = true | |
5362 | hum.WalkSpeed = 0 | |
5363 | local p = Instance.new("Part",root) | |
5364 | p.Anchored = true | |
5365 | p.CanCollide = false | |
5366 | p.BrickColor = MAINRUINCOLOR | |
5367 | p.Material = Enum.Material.Neon | |
5368 | p.Size = Vector3.new(1,1,1) | |
5369 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
5370 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
5371 | local m = Instance.new("SpecialMesh",p) | |
5372 | m.MeshType = "Cylinder" | |
5373 | m.Scale = Vector3.new(2000,2,2) | |
5374 | local targ = Instance.new("Part",root) | |
5375 | targ.Transparency = 1 | |
5376 | targ.CanCollide = false | |
5377 | targ.Size = Vector3.new(1,1,1) | |
5378 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
5379 | CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1) | |
5380 | CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1) | |
5381 | for i = 1,15 do | |
5382 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
5383 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2) | |
5384 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2) | |
5385 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2) | |
5386 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2) | |
5387 | 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(-20)),.2) | |
5388 | 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(10),math.rad(20)),.2) | |
5389 | sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR) | |
5390 | sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0) | |
5391 | m.Scale = m.Scale+Vector3.new(0,1,1) | |
5392 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
5393 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
5394 | swait() | |
5395 | end | |
5396 | sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0) | |
5397 | for i = 1,200 do | |
5398 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
5399 | sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0) | |
5400 | sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR) | |
5401 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
5402 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
5403 | MagniDamage(targ, 25, 5, 8, 0, "Normal") | |
5404 | swait() | |
5405 | end | |
5406 | for i =1,15 do | |
5407 | m.Scale = m.Scale-Vector3.new(1,1,1) | |
5408 | p.Transparency = i / 15 | |
5409 | swait() | |
5410 | end | |
5411 | p:Destroy() | |
5412 | hum.WalkSpeed = storehumanoidWS | |
5413 | attack = false | |
5414 | end | |
5415 | ||
5416 | local ODerDB = false | |
5417 | function ChooseODer() | |
5418 | if(not ODerDB)then | |
5419 | coroutine.wrap(function() | |
5420 | ||
5421 | local allowOD = true | |
5422 | local whom = (mouse.Target and mouse.Target.Parent) | |
5423 | if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then | |
5424 | ODerDB = true | |
5425 | for _,v in next, ODers do | |
5426 | if(v == whom)then | |
5427 | print'nO OD SELF' | |
5428 | allowOD = false | |
5429 | end | |
5430 | end | |
5431 | if(allowOD)then | |
5432 | local ref=CFuncs.Part.Create(m,Enum.Material.Neon,0,.4,(whom.Name == 'Nebula_Zorua' and 'Royal purple' or MAINRUINCOLOR),"ref",Vector3.new(0.05,0.05,0.05)) | |
5433 | local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14)) | |
5434 | ||
5435 | ref.CFrame = Torso.CFrame | |
5436 | ref.Anchored = true | |
5437 | local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15)) | |
5438 | local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15)) | |
5439 | local MPos = whom.Head.CFrame*cf(0,4,0) | |
5440 | for i = 0, 1, .05 do | |
5441 | swait() | |
5442 | ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i) | |
5443 | ||
5444 | sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true) | |
5445 | if whom:FindFirstChild'Head' == nil then | |
5446 | break | |
5447 | end | |
5448 | end | |
5449 | ref:destroy() | |
5450 | if whom:FindFirstChild'Head' then | |
5451 | table.insert(ODers,whom) | |
5452 | if(#ODers > 2)then | |
5453 | table.remove(ODers,1) | |
5454 | end | |
5455 | sphere(1.5,"Add",whom.Head.CFrame * cf(0,4,0),vt(6,6,3),.15,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true) | |
5456 | end | |
5457 | end | |
5458 | ODerDB = false | |
5459 | end | |
5460 | end)() | |
5461 | end | |
5462 | end | |
5463 | ||
5464 | function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY | |
5465 | attack = true | |
5466 | hum.WalkSpeed = 0 | |
5467 | storehumanoidWS = 75 | |
5468 | hum.JumpPower = 0 | |
5469 | newThemeCust("rbxassetid://1420353940",0,1,1) | |
5470 | kan.TimePosition = 0 | |
5471 | ModeOfGlitch = 8376532578634534 | |
5472 | repeat swait() until kan.IsLoaded | |
5473 | chatfunc("Riddle me this..",text.TextStrokeColor3) | |
5474 | for i = 0, 14, .1 do | |
5475 | swait() | |
5476 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
5477 | LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
5478 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
5479 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1) | |
5480 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
5481 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
5482 | end | |
5483 | chatfunc("Riddle me that..",text.TextStrokeColor3) | |
5484 | for i = 0, 12, .1 do | |
5485 | swait() | |
5486 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
5487 | LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
5488 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
5489 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1) | |
5490 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
5491 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
5492 | end | |
5493 | chatfunc("Who's afraid of the big black..",Color3.new(1,1,1)) | |
5494 | for i = 0, 16, .1 do | |
5495 | swait() | |
5496 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
5497 | LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
5498 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
5499 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1) | |
5500 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
5501 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
5502 | end | |
5503 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1) | |
5504 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5505 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1) | |
5506 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75) | |
5507 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end) | |
5508 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end) | |
5509 | RecolorTextAndRename("The Big Black",Color3.new(0,0,0),Color3.new(1,1,1)) | |
5510 | CameraEnshaking(5,2.5) | |
5511 | MAINRUINCOLOR = BrickColor.new("Really black") | |
5512 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5513 | tl1.Enabled = true | |
5514 | tl2.Enabled = true | |
5515 | tl3.Enabled = true | |
5516 | for i = 0, 49 do | |
5517 | PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0) | |
5518 | end | |
5519 | for i = 0,3,0.1 do | |
5520 | sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0) | |
5521 | end | |
5522 | for i, v in pairs(mw2:GetChildren()) do | |
5523 | if v:IsA("Part") then | |
5524 | v.BrickColor = BrickColor.new("Really black") | |
5525 | v.Material = "Glass" | |
5526 | end | |
5527 | end | |
5528 | for i, v in pairs(mw1:GetChildren()) do | |
5529 | if v:IsA("Part") then | |
5530 | v.Transparency = 0 | |
5531 | v.BrickColor = BrickColor.new("Really black") | |
5532 | v.Material = "Glass" | |
5533 | end | |
5534 | end | |
5535 | for i, v in pairs(m:GetChildren()) do | |
5536 | if v:IsA("Part") then | |
5537 | v.BrickColor = BrickColor.new("Really black") | |
5538 | v.Material = "Glass" | |
5539 | end | |
5540 | end | |
5541 | for i, v in pairs(m2:GetChildren()) do | |
5542 | if v:IsA("Part") then | |
5543 | v.BrickColor = BrickColor.new("Dark stone grey") | |
5544 | v.Material = "Granite" | |
5545 | end | |
5546 | end | |
5547 | for i, v in pairs(m3:GetChildren()) do | |
5548 | if v:IsA("Part") then | |
5549 | v.BrickColor = BrickColor.new("Really black") | |
5550 | v.Material = "Glass" | |
5551 | end | |
5552 | end | |
5553 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5554 | if v:IsA("Part") then | |
5555 | v.Transparency = 0 | |
5556 | v.BrickColor = BrickColor.new("Dark stone grey") | |
5557 | v.Material = "Glass" | |
5558 | end | |
5559 | end | |
5560 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5561 | if v:IsA("Part") then | |
5562 | v.Transparency = 0 | |
5563 | v.BrickColor = BrickColor.new("Dark stone grey") | |
5564 | v.Material = "Glass" | |
5565 | end | |
5566 | end | |
5567 | for i = 0,2,0.1 do | |
5568 | swait() | |
5569 | 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(-30)),.2) | |
5570 | 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(0),math.rad(30)),.2) | |
5571 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2) | |
5572 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2) | |
5573 | RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2) | |
5574 | LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2) | |
5575 | end | |
5576 | hum.JumpPower = 50 | |
5577 | hum.WalkSpeed = storehumanoidWS | |
5578 | attack = false | |
5579 | end | |
5580 | ||
5581 | function FuckMeSidewaysAndCallMeGay() | |
5582 | local whom = (mouse.Target and mouse.Target.Parent) | |
5583 | --[[local fuckThisBoi = false | |
5584 | if(whom and whom:FindFirstChildOfClass'Humanoid')then | |
5585 | for _,v in next, ODers do | |
5586 | if(v == whom)then | |
5587 | fuckThisBoi = false | |
5588 | end | |
5589 | end | |
5590 | end | |
5591 | if(not fuckThisBoi)then | |
5592 | attack = false | |
5593 | warn'to fuck that boi you need to target them with z' | |
5594 | else]] | |
5595 | if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then | |
5596 | local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' | |
5597 | local hum = whom:FindFirstChildOfClass'Humanoid' | |
5598 | local ocf = RootPart.CFrame | |
5599 | hum.WalkSpeed = 0 | |
5600 | hum.JumpPower = 0 | |
5601 | hed.Anchored = true | |
5602 | RootPart.Anchored = true | |
5603 | Humanoid.WalkSpeed = 0 | |
5604 | Humanoid.JumpPower = 0 | |
5605 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5606 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
5607 | for i = 0, 9 do | |
5608 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Pink"),0) | |
5609 | end | |
5610 | for i = 0, 24 do | |
5611 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0) | |
5612 | end | |
5613 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink")) | |
5614 | attack = true | |
5615 | local speed = 1 | |
5616 | local heck; | |
5617 | local stopitlol = false; | |
5618 | heck = mouse.KeyUp:connect(function(k) | |
5619 | if(k:lower() == 'm')then | |
5620 | stopitlol = true | |
5621 | heck:disconnect() | |
5622 | end | |
5623 | end) | |
5624 | local times = 0 | |
5625 | repeat swait() | |
5626 | speed = speed - .01 | |
5627 | times = times + 1 | |
5628 | if(speed < .1)then | |
5629 | speed = .1 | |
5630 | end | |
5631 | for i = 0, speed, .05 do | |
5632 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5633 | swait() | |
5634 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4) | |
5635 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
5636 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4) | |
5637 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
5638 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
5639 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
5640 | end | |
5641 | CameraEnshaking(5,5) | |
5642 | ||
5643 | CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1) | |
5644 | ||
5645 | for i = 0, speed, .05 do | |
5646 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5647 | swait() | |
5648 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4) | |
5649 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
5650 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4) | |
5651 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
5652 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5653 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5654 | end | |
5655 | until stopitlol and times >= 3 | |
5656 | for i = 1, 3 do | |
5657 | for i = 0, 1.5, .05 do | |
5658 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5659 | swait() | |
5660 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4) | |
5661 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
5662 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4) | |
5663 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
5664 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
5665 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
5666 | end | |
5667 | CameraEnshaking(5,25) | |
5668 | ||
5669 | CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75) | |
5670 | ||
5671 | ||
5672 | coroutine.resume(coroutine.create(function() | |
5673 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso")) | |
5674 | bld.LightEmission = 0.1 | |
5675 | bld.Texture = "rbxassetid://284205403" | |
5676 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
5677 | bld.Rate = 500 | |
5678 | bld.Lifetime = NumberRange.new(1) | |
5679 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5680 | bld.Acceleration = vt(0,-25,0) | |
5681 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5682 | bld.Speed = NumberRange.new(10,50) | |
5683 | bld.EmissionDirection = "Back" | |
5684 | bld.VelocitySpread = 25 | |
5685 | bld.Rotation = NumberRange.new(-500,500) | |
5686 | bld.RotSpeed = NumberRange.new(-500,500) | |
5687 | bld.Enabled = false | |
5688 | bld:Emit(250) | |
5689 | end)) | |
5690 | coroutine.resume(coroutine.create(function() | |
5691 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso")) | |
5692 | bld.LightEmission = 0.1 | |
5693 | bld.Texture = "rbxassetid://284205403" | |
5694 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
5695 | bld.Rate = 500 | |
5696 | bld.Lifetime = NumberRange.new(1) | |
5697 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5698 | bld.Acceleration = vt(0,-25,0) | |
5699 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5700 | bld.Speed = NumberRange.new(10,50) | |
5701 | bld.EmissionDirection = "Back" | |
5702 | bld.VelocitySpread = 25 | |
5703 | bld.Rotation = NumberRange.new(-500,500) | |
5704 | bld.RotSpeed = NumberRange.new(-500,500) | |
5705 | bld.Enabled = false | |
5706 | bld:Emit(250) | |
5707 | end)) | |
5708 | for i = 0, 1.5, .05 do | |
5709 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5710 | swait() | |
5711 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4) | |
5712 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
5713 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4) | |
5714 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
5715 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5716 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5717 | end | |
5718 | end | |
5719 | for i = 0, 4, .05 do | |
5720 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5721 | swait() | |
5722 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1) | |
5723 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
5724 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1) | |
5725 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1) | |
5726 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1) | |
5727 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1) | |
5728 | end | |
5729 | CameraEnshaking(5,25) | |
5730 | CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1) | |
5731 | CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75) | |
5732 | ||
5733 | dmg(whom) | |
5734 | coroutine.resume(coroutine.create(function() | |
5735 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso")) | |
5736 | bld.LightEmission = 0.1 | |
5737 | bld.Texture = "rbxassetid://284205403" | |
5738 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
5739 | bld.Rate = 500 | |
5740 | bld.Lifetime = NumberRange.new(1) | |
5741 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5742 | bld.Acceleration = vt(0,-25,0) | |
5743 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5744 | bld.Speed = NumberRange.new(10,50) | |
5745 | bld.EmissionDirection = "Back" | |
5746 | bld.VelocitySpread = 25 | |
5747 | bld.Rotation = NumberRange.new(-500,500) | |
5748 | bld.RotSpeed = NumberRange.new(-500,500) | |
5749 | bld.Enabled = true | |
5750 | end)) | |
5751 | coroutine.resume(coroutine.create(function() | |
5752 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso")) | |
5753 | bld.LightEmission = 0.1 | |
5754 | bld.Texture = "rbxassetid://284205403" | |
5755 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
5756 | bld.Rate = 500 | |
5757 | bld.Lifetime = NumberRange.new(1) | |
5758 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5759 | bld.Acceleration = vt(0,-25,0) | |
5760 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5761 | bld.Speed = NumberRange.new(10,50) | |
5762 | bld.EmissionDirection = "Back" | |
5763 | bld.VelocitySpread = 25 | |
5764 | bld.Rotation = NumberRange.new(-500,500) | |
5765 | bld.RotSpeed = NumberRange.new(-500,500) | |
5766 | bld.Enabled = true | |
5767 | end)) | |
5768 | for i = 0, 3, .05 do | |
5769 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5770 | swait() | |
5771 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4) | |
5772 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
5773 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4) | |
5774 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
5775 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5776 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5777 | end | |
5778 | ||
5779 | RootPart.CFrame = ocf | |
5780 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
5781 | for i = 0, 9 do | |
5782 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Pink"),0) | |
5783 | end | |
5784 | for i = 0, 24 do | |
5785 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0) | |
5786 | end | |
5787 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink")) | |
5788 | RootPart.Anchored = false | |
5789 | Humanoid.WalkSpeed = storehumanoidWS | |
5790 | Humanoid.JumpPower = 50 | |
5791 | attack = false | |
5792 | end | |
5793 | end | |
5794 | ||
5795 | local input = "" | |
5796 | ||
5797 | mouse.KeyDown:connect(function(k) | |
5798 | if(k == "w" or k == "a" or k == "s" or k == "d")then | |
5799 | input = input .. k | |
5800 | local newInput = input | |
5801 | coroutine.wrap(function() | |
5802 | for i = 1, 25 do | |
5803 | if(newInput ~= input)then break end | |
5804 | swait() | |
5805 | end | |
5806 | if(newInput == input)then input = "" end | |
5807 | end)() | |
5808 | if(input == "wwssadad" and not AllowRape)then | |
5809 | AllowRape = true | |
5810 | warn("Rape unlocked! Have fun ;)") | |
5811 | elseif(input == "wwaassdd" and not AllowCata)then | |
5812 | AllowCata = true | |
5813 | warn("You unlocked CATASTROPHE.") | |
5814 | elseif(input == 'ddawas' and ModeOfGlitch == 4 and not attack)then | |
5815 | ChaosBegone() | |
5816 | end | |
5817 | end | |
5818 | end) | |
5819 | ||
5820 | mouse.KeyDown:connect(function(k) | |
5821 | if k == "h" then | |
5822 | ||
5823 | end | |
5824 | ||
5825 | if k == "q" and attack == false and ModeOfGlitch ~= 2 then | |
5826 | ModeOfGlitch = 2 | |
5827 | storehumanoidWS = 16 | |
5828 | hum.WalkSpeed = 16 | |
5829 | rainbowmode = false | |
5830 | chaosmode = false | |
5831 | glitchymode = false | |
5832 | tl1.Enabled = false | |
5833 | tl2.Enabled = false | |
5834 | tl3.Enabled = false | |
5835 | RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1)) | |
5836 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end) | |
5837 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end) | |
5838 | newTheme("rbxassetid://1539245059",0,1,1) | |
5839 | MAINRUINCOLOR = BrickColor.new("Toothpaste") | |
5840 | for i, v in pairs(mw2:GetChildren()) do | |
5841 | if v:IsA("Part") then | |
5842 | v.BrickColor = MAINRUINCOLOR | |
5843 | v.Material = "Neon" | |
5844 | end | |
5845 | end | |
5846 | for i, v in pairs(mw1:GetChildren()) do | |
5847 | if v:IsA("Part") then | |
5848 | v.Transparency = 1 | |
5849 | v.BrickColor = MAINRUINCOLOR | |
5850 | v.Material = "Neon" | |
5851 | end | |
5852 | end | |
5853 | for i, v in pairs(m:GetChildren()) do | |
5854 | if v:IsA("Part") then | |
5855 | v.BrickColor = BrickColor.new("White") | |
5856 | v.Material = "Ice" | |
5857 | end | |
5858 | end | |
5859 | for i, v in pairs(m2:GetChildren()) do | |
5860 | if v:IsA("Part") then | |
5861 | v.BrickColor = BrickColor.new("Pastel light blue") | |
5862 | v.Material = "Glass" | |
5863 | end | |
5864 | end | |
5865 | for i, v in pairs(m3:GetChildren()) do | |
5866 | if v:IsA("Part") then | |
5867 | v.BrickColor = BrickColor.new("Toothpaste") | |
5868 | v.Material = "Neon" | |
5869 | end | |
5870 | end | |
5871 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5872 | if v:IsA("Part") then | |
5873 | v.Transparency = 1 | |
5874 | v.BrickColor = BrickColor.new("White") | |
5875 | v.Material = "Neon" | |
5876 | end | |
5877 | end | |
5878 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5879 | if v:IsA("Part") then | |
5880 | v.Transparency = 1 | |
5881 | v.BrickColor = BrickColor.new("White") | |
5882 | v.Material = "Neon" | |
5883 | end | |
5884 | end | |
5885 | elseif k == "q" and attack == false and ModeOfGlitch == 2 then | |
5886 | resetmode() | |
5887 | end | |
5888 | if k == "f" and attack == false and ModeOfGlitch ~= 69 then | |
5889 | lustmode() | |
5890 | elseif k == "f" and attack == false and ModeOfGlitch == 69 then | |
5891 | resetmode() | |
5892 | end | |
5893 | if k == "m" and attack == false and ModeOfGlitch == 1 then | |
5894 | RiddleMeThisRiddleMeThat() | |
5895 | elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then | |
5896 | resetmode() | |
5897 | end | |
5898 | if k == "e" and attack == false and ModeOfGlitch ~= 3 then | |
5899 | ModeOfGlitch = 3 | |
5900 | storehumanoidWS = 16 | |
5901 | hum.WalkSpeed = 16 | |
5902 | rainbowmode = false | |
5903 | chaosmode = false | |
5904 | glitchymode = true | |
5905 | tl1.Enabled = true | |
5906 | tl2.Enabled = true | |
5907 | tl3.Enabled = true | |
5908 | RecolorTextAndRename("gLiTcHy",Color3.new(0,0,0),Color3.new(0.35,0,1)) | |
5909 | newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203 | |
5910 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end) | |
5911 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end) | |
5912 | MAINRUINCOLOR = BrickColor.new("White") | |
5913 | for i, v in pairs(mw2:GetChildren()) do | |
5914 | if v:IsA("Part") then | |
5915 | v.BrickColor = MAINRUINCOLOR | |
5916 | v.Material = "Neon" | |
5917 | end | |
5918 | end | |
5919 | for i, v in pairs(mw1:GetChildren()) do | |
5920 | if v:IsA("Part") then | |
5921 | v.Transparency = 0 | |
5922 | v.BrickColor = MAINRUINCOLOR | |
5923 | v.Material = "Neon" | |
5924 | end | |
5925 | end | |
5926 | for i, v in pairs(m:GetChildren()) do | |
5927 | if v:IsA("Part") then | |
5928 | v.BrickColor = BrickColor.new("Really black") | |
5929 | v.Material = "Ice" | |
5930 | end | |
5931 | end | |
5932 | for i, v in pairs(m2:GetChildren()) do | |
5933 | if v:IsA("Part") then | |
5934 | v.BrickColor = BrickColor.new("Dark indigo") | |
5935 | v.Material = "Glass" | |
5936 | end | |
5937 | end | |
5938 | for i, v in pairs(m3:GetChildren()) do | |
5939 | if v:IsA("Part") then | |
5940 | v.Transparency = 1 | |
5941 | v.BrickColor = BrickColor.new("Royal purple") | |
5942 | v.Material = "Neon" | |
5943 | end | |
5944 | end | |
5945 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5946 | if v:IsA("Part") then | |
5947 | v.Transparency = 1 | |
5948 | v.BrickColor = BrickColor.new("White") | |
5949 | v.Material = "Neon" | |
5950 | end | |
5951 | end | |
5952 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5953 | if v:IsA("Part") then | |
5954 | v.Transparency = 1 | |
5955 | v.BrickColor = BrickColor.new("White") | |
5956 | v.Material = "Neon" | |
5957 | end | |
5958 | end | |
5959 | elseif k == "e" and attack == false and ModeOfGlitch == 3 then | |
5960 | resetmode() | |
5961 | end | |
5962 | if k == "r" and attack == false and ModeOfGlitch ~= 4 then | |
5963 | ModeOfGlitch = 4 | |
5964 | storehumanoidWS = 16 | |
5965 | hum.WalkSpeed = 16 | |
5966 | rainbowmode = false | |
5967 | glitchymode = false | |
5968 | chaosmode = true | |
5969 | tl1.Enabled = true | |
5970 | tl2.Enabled = true | |
5971 | tl3.Enabled = true | |
5972 | RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color) | |
5973 | newTheme("rbxassetid://1369263130",0,1,1) | |
5974 | MAINRUINCOLOR = BrickColor.new("Black") | |
5975 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5976 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5977 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5978 | for i, v in pairs(mw2:GetChildren()) do | |
5979 | if v:IsA("Part") then | |
5980 | v.BrickColor = MAINRUINCOLOR | |
5981 | v.Material = "Neon" | |
5982 | end | |
5983 | end | |
5984 | for i, v in pairs(mw1:GetChildren()) do | |
5985 | if v:IsA("Part") then | |
5986 | v.Transparency = 0.75 | |
5987 | v.BrickColor = BrickColor.random() | |
5988 | v.Material = "Neon" | |
5989 | end | |
5990 | end | |
5991 | for i, v in pairs(m:GetChildren()) do | |
5992 | if v:IsA("Part") then | |
5993 | v.BrickColor = BrickColor.new("Black") | |
5994 | v.Material = "Neon" | |
5995 | end | |
5996 | end | |
5997 | for i, v in pairs(m2:GetChildren()) do | |
5998 | if v:IsA("Part") then | |
5999 | v.BrickColor = BrickColor.random() | |
6000 | v.Material = "Neon" | |
6001 | end | |
6002 | end | |
6003 | for i, v in pairs(m3:GetChildren()) do | |
6004 | if v:IsA("Part") then | |
6005 | v.BrickColor = BrickColor.new("Black") | |
6006 | v.Material = "Neon" | |
6007 | end | |
6008 | end | |
6009 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6010 | if v:IsA("Part") then | |
6011 | v.Transparency = 1 | |
6012 | v.BrickColor = BrickColor.new("White") | |
6013 | v.Material = "Neon" | |
6014 | end | |
6015 | end | |
6016 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6017 | if v:IsA("Part") then | |
6018 | v.Transparency = 1 | |
6019 | v.BrickColor = BrickColor.new("White") | |
6020 | v.Material = "Neon" | |
6021 | end | |
6022 | end | |
6023 | elseif k == "r" and attack == false and ModeOfGlitch == 4 then | |
6024 | resetmode() | |
6025 | end | |
6026 | ||
6027 | if k == "m" and attack == false and ModeOfGlitch == 4 then | |
6028 | insanitymode() | |
6029 | elseif k == "m" and attack == false and ModeOfGlitch == 666666 then | |
6030 | resetmode() | |
6031 | end | |
6032 | if k == "t" and attack == false and ModeOfGlitch ~= 5 then | |
6033 | ModeOfGlitch = 5 | |
6034 | storehumanoidWS = 16 | |
6035 | hum.WalkSpeed = 16 | |
6036 | rainbowmode = false | |
6037 | chaosmode = false | |
6038 | glitchymode = false | |
6039 | tl1.Enabled = true | |
6040 | tl2.Enabled = true | |
6041 | tl3.Enabled = true | |
6042 | RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5)) | |
6043 | newTheme("rbxassetid://661079869",0,1.02,1) | |
6044 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end) | |
6045 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end) | |
6046 | MAINRUINCOLOR = BrickColor.new("Bright yellow") | |
6047 | for i, v in pairs(mw2:GetChildren()) do | |
6048 | if v:IsA("Part") then | |
6049 | v.BrickColor = MAINRUINCOLOR | |
6050 | v.Material = "Neon" | |
6051 | end | |
6052 | end | |
6053 | for i, v in pairs(mw1:GetChildren()) do | |
6054 | if v:IsA("Part") then | |
6055 | v.Transparency = 0 | |
6056 | v.BrickColor = MAINRUINCOLOR | |
6057 | v.Material = "Neon" | |
6058 | end | |
6059 | end | |
6060 | for i, v in pairs(m:GetChildren()) do | |
6061 | if v:IsA("Part") then | |
6062 | v.BrickColor = BrickColor.new("Cool yellow") | |
6063 | v.Material = "Ice" | |
6064 | end | |
6065 | end | |
6066 | for i, v in pairs(m2:GetChildren()) do | |
6067 | if v:IsA("Part") then | |
6068 | v.BrickColor = BrickColor.new("Bright yellow") | |
6069 | v.Material = "Ice" | |
6070 | end | |
6071 | end | |
6072 | for i, v in pairs(m3:GetChildren()) do | |
6073 | if v:IsA("Part") then | |
6074 | v.BrickColor = BrickColor.new("Bright yellow") | |
6075 | v.Material = "Neon" | |
6076 | end | |
6077 | end | |
6078 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6079 | if v:IsA("Part") then | |
6080 | v.Transparency = 1 | |
6081 | v.BrickColor = BrickColor.new("White") | |
6082 | v.Material = "Neon" | |
6083 | end | |
6084 | end | |
6085 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6086 | if v:IsA("Part") then | |
6087 | v.Transparency = 1 | |
6088 | v.BrickColor = BrickColor.new("White") | |
6089 | v.Material = "Neon" | |
6090 | end | |
6091 | end | |
6092 | elseif k == "t" and attack == false and ModeOfGlitch == 5 then | |
6093 | resetmode() | |
6094 | end | |
6095 | if k == "y" and attack == false and ModeOfGlitch ~= 6 then | |
6096 | ModeOfGlitch = 6 | |
6097 | storehumanoidWS = 75 | |
6098 | hum.WalkSpeed = 75 | |
6099 | rainbowmode = false | |
6100 | chaosmode = false | |
6101 | glitchymode = false | |
6102 | tl1.Enabled = true | |
6103 | tl2.Enabled = true | |
6104 | tl3.Enabled = true | |
6105 | RecolorTextAndRename("Justice",Color3.new(0,0,0),Color3.new(1,1,1)) | |
6106 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end) | |
6107 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end) | |
6108 | newTheme("rbxassetid://1102271169",0,1,1) | |
6109 | MAINRUINCOLOR = BrickColor.new("White") | |
6110 | for i, v in pairs(mw2:GetChildren()) do | |
6111 | if v:IsA("Part") then | |
6112 | v.BrickColor = MAINRUINCOLOR | |
6113 | v.Material = "Neon" | |
6114 | end | |
6115 | end | |
6116 | for i, v in pairs(mw1:GetChildren()) do | |
6117 | if v:IsA("Part") then | |
6118 | v.Transparency = 0 | |
6119 | v.BrickColor = MAINRUINCOLOR | |
6120 | v.Material = "Neon" | |
6121 | end | |
6122 | end | |
6123 | for i, v in pairs(m:GetChildren()) do | |
6124 | if v:IsA("Part") then | |
6125 | v.BrickColor = BrickColor.new("White") | |
6126 | v.Material = "Ice" | |
6127 | end | |
6128 | end | |
6129 | for i, v in pairs(m2:GetChildren()) do | |
6130 | if v:IsA("Part") then | |
6131 | v.BrickColor = BrickColor.new("White") | |
6132 | v.Material = "Ice" | |
6133 | end | |
6134 | end | |
6135 | for i, v in pairs(m3:GetChildren()) do | |
6136 | if v:IsA("Part") then | |
6137 | v.BrickColor = BrickColor.new("White") | |
6138 | v.Material = "Neon" | |
6139 | end | |
6140 | end | |
6141 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6142 | if v:IsA("Part") then | |
6143 | v.Transparency = 1 | |
6144 | v.BrickColor = BrickColor.new("White") | |
6145 | v.Material = "Neon" | |
6146 | end | |
6147 | end | |
6148 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6149 | if v:IsA("Part") then | |
6150 | v.Transparency = 1 | |
6151 | v.BrickColor = BrickColor.new("White") | |
6152 | v.Material = "Neon" | |
6153 | end | |
6154 | end | |
6155 | elseif k == "y" and attack == false and ModeOfGlitch == 6 then | |
6156 | resetmode() | |
6157 | end | |
6158 | if k == "u" and attack == false then | |
6159 | ||
6160 | storehumanoidWS = 50 | |
6161 | hum.WalkSpeed = 50 | |
6162 | rainbowmode = true | |
6163 | chaosmode = false | |
6164 | glitchymode = false | |
6165 | tl1.Enabled = true | |
6166 | tl2.Enabled = true | |
6167 | tl3.Enabled = true | |
6168 | ||
6169 | if(ModeOfGlitch == 6127843)then | |
6170 | vaporwave = not vaporwave | |
6171 | end | |
6172 | ||
6173 | if(not vaporwave)then | |
6174 | RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1)) | |
6175 | newTheme("rbxassetid://147930134",0,1,1) | |
6176 | else | |
6177 | RecolorTextAndRename("Vaporwave",Color3.new(1,1,1),Color3.new(1,1,1)) | |
6178 | newTheme("rbxassetid://1308711379",0,1,1) | |
6179 | end | |
6180 | ||
6181 | ||
6182 | ModeOfGlitch = 6127843 | |
6183 | MAINRUINCOLOR = BrickColor.new("White") | |
6184 | for i, v in pairs(mw2:GetChildren()) do | |
6185 | if v:IsA("Part") then | |
6186 | v.BrickColor = MAINRUINCOLOR | |
6187 | v.Material = "Neon" | |
6188 | end | |
6189 | end | |
6190 | for i, v in pairs(mw1:GetChildren()) do | |
6191 | if v:IsA("Part") then | |
6192 | v.Transparency = 0 | |
6193 | v.BrickColor = MAINRUINCOLOR | |
6194 | v.Material = "Neon" | |
6195 | end | |
6196 | end | |
6197 | for i, v in pairs(m:GetChildren()) do | |
6198 | if v:IsA("Part") then | |
6199 | v.BrickColor = BrickColor.new("White") | |
6200 | v.Material = "Neon" | |
6201 | end | |
6202 | end | |
6203 | for i, v in pairs(m2:GetChildren()) do | |
6204 | if v:IsA("Part") then | |
6205 | v.BrickColor = BrickColor.new("White") | |
6206 | v.Material = "Neon" | |
6207 | end | |
6208 | end | |
6209 | for i, v in pairs(m3:GetChildren()) do | |
6210 | if v:IsA("Part") then | |
6211 | v.BrickColor = BrickColor.new("White") | |
6212 | v.Material = "Neon" | |
6213 | end | |
6214 | end | |
6215 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6216 | if v:IsA("Part") then | |
6217 | v.Transparency = 1 | |
6218 | v.BrickColor = BrickColor.new("White") | |
6219 | v.Material = "Neon" | |
6220 | end | |
6221 | end | |
6222 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6223 | if v:IsA("Part") then | |
6224 | v.Transparency = 1 | |
6225 | v.BrickColor = BrickColor.new("White") | |
6226 | v.Material = "Neon" | |
6227 | end | |
6228 | end | |
6229 | elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then | |
6230 | resetmode() | |
6231 | end | |
6232 | if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then | |
6233 | ModeOfGlitch = 1000000 | |
6234 | storehumanoidWS = 100 | |
6235 | hum.WalkSpeed = 100 | |
6236 | rainbowmode = false | |
6237 | chaosmode = false | |
6238 | glitchymode = false | |
6239 | tl1.Enabled = true | |
6240 | tl2.Enabled = true | |
6241 | tl3.Enabled = true | |
6242 | RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1)) | |
6243 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Bright violet' end) | |
6244 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Bright violet' end) | |
6245 | newTheme("rbxassetid://1359036559",0,1,1) | |
6246 | MAINRUINCOLOR = BrickColor.new("Bright violet") | |
6247 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6248 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6249 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6250 | for i, v in pairs(mw2:GetChildren()) do | |
6251 | if v:IsA("Part") then | |
6252 | v.BrickColor = MAINRUINCOLOR | |
6253 | v.Material = "Neon" | |
6254 | end | |
6255 | end | |
6256 | for i, v in pairs(mw1:GetChildren()) do | |
6257 | if v:IsA("Part") then | |
6258 | v.Transparency = 0 | |
6259 | v.BrickColor = MAINRUINCOLOR | |
6260 | v.Material = "Neon" | |
6261 | end | |
6262 | end | |
6263 | for i, v in pairs(m:GetChildren()) do | |
6264 | if v:IsA("Part") then | |
6265 | v.Color = Color3.new(0.5,0,1) | |
6266 | v.Material = "Neon" | |
6267 | end | |
6268 | end | |
6269 | for i, v in pairs(m2:GetChildren()) do | |
6270 | if v:IsA("Part") then | |
6271 | v.Color = Color3.new(0.25,0,1) | |
6272 | v.Material = "Neon" | |
6273 | end | |
6274 | end | |
6275 | for i, v in pairs(m3:GetChildren()) do | |
6276 | if v:IsA("Part") then | |
6277 | v.Color = Color3.new(0.45,0,1) | |
6278 | v.Material = "Neon" | |
6279 | end | |
6280 | end | |
6281 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6282 | if v:IsA("Part") then | |
6283 | v.Transparency = 0.75 | |
6284 | v.Color = Color3.new(0.25,0,1) | |
6285 | v.Material = "Neon" | |
6286 | end | |
6287 | end | |
6288 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6289 | if v:IsA("Part") then | |
6290 | v.Transparency = 0.75 | |
6291 | v.Color = Color3.new(0.5,0,1) | |
6292 | v.Material = "Neon" | |
6293 | end | |
6294 | end | |
6295 | elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then | |
6296 | resetmode() | |
6297 | end | |
6298 | if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 and (plr.Name == 'Noobygames12' or plr.UserId == 5719877 or AllowCata) then | |
6299 | newThemeCust("rbxassetid://1504604335",0,1,1) | |
6300 | attack = true | |
6301 | hum.WalkSpeed = 0 | |
6302 | MAINRUINCOLOR = BrickColor.new("Royal purple") | |
6303 | for i = 0, 24, 0.1 do | |
6304 | swait() | |
6305 | sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100) | |
6306 | 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) | |
6307 | 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) | |
6308 | 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) | |
6309 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
6310 | 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) | |
6311 | 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) | |
6312 | end | |
6313 | CameraEnshaking(1,1) | |
6314 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
6315 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1) | |
6316 | wait(0.55) | |
6317 | CameraEnshaking(1,2) | |
6318 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
6319 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
6320 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
6321 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1) | |
6322 | wait(0.55) | |
6323 | CameraEnshaking(1,3) | |
6324 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
6325 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
6326 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
6327 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
6328 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
6329 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1) | |
6330 | wait(0.55) | |
6331 | CameraEnshaking(10,5) | |
6332 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1) | |
6333 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1) | |
6334 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1) | |
6335 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85) | |
6336 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1) | |
6337 | sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
6338 | sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR) | |
6339 | sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR) | |
6340 | sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR) | |
6341 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
6342 | sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR) | |
6343 | sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR) | |
6344 | sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR) | |
6345 | sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR) | |
6346 | sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR) | |
6347 | for i = 0, 49 do | |
6348 | sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0) | |
6349 | sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0) | |
6350 | sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0) | |
6351 | sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0) | |
6352 | end | |
6353 | ModeOfGlitch = 12345678987654321 | |
6354 | storehumanoidWS = 200 | |
6355 | hum.WalkSpeed = 200 | |
6356 | rainbowmode = false | |
6357 | chaosmode = false | |
6358 | glitchymode = false | |
6359 | tl1.Enabled = true | |
6360 | tl2.Enabled = true | |
6361 | tl3.Enabled = true | |
6362 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Dark indigo' end) | |
6363 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Dark indigo' end) | |
6364 | RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1)) | |
6365 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6366 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6367 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6368 | for i, v in pairs(mw2:GetChildren()) do | |
6369 | if v:IsA("Part") then | |
6370 | v.BrickColor = MAINRUINCOLOR | |
6371 | v.Material = "Neon" | |
6372 | end | |
6373 | end | |
6374 | for i, v in pairs(mw1:GetChildren()) do | |
6375 | if v:IsA("Part") then | |
6376 | v.Transparency = 0 | |
6377 | v.BrickColor = MAINRUINCOLOR | |
6378 | v.Material = "Neon" | |
6379 | end | |
6380 | end | |
6381 | for i, v in pairs(m:GetChildren()) do | |
6382 | if v:IsA("Part") then | |
6383 | v.Color = Color3.new(0.5,0,1) | |
6384 | v.Material = "Neon" | |
6385 | end | |
6386 | end | |
6387 | for i, v in pairs(m2:GetChildren()) do | |
6388 | if v:IsA("Part") then | |
6389 | v.Color = Color3.new(0.5,0,1) | |
6390 | v.Material = "Neon" | |
6391 | end | |
6392 | end | |
6393 | for i, v in pairs(m3:GetChildren()) do | |
6394 | if v:IsA("Part") then | |
6395 | v.Color = Color3.new(0.5,0,1) | |
6396 | v.Material = "Neon" | |
6397 | end | |
6398 | end | |
6399 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6400 | if v:IsA("Part") then | |
6401 | v.Transparency = 0 | |
6402 | v.Color = Color3.new(0.5,0,1) | |
6403 | v.Material = "Neon" | |
6404 | end | |
6405 | end | |
6406 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6407 | if v:IsA("Part") then | |
6408 | v.Transparency = 0 | |
6409 | v.Color = Color3.new(0.5,0,1) | |
6410 | v.Material = "Neon" | |
6411 | end | |
6412 | attack = false | |
6413 | end | |
6414 | elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then | |
6415 | resetmode() | |
6416 | end | |
6417 | if k == "l" and toggleTag == false then | |
6418 | toggleTag = true | |
6419 | text.TextTransparency = 0 | |
6420 | text.TextStrokeTransparency = 0 | |
6421 | elseif k == "l" and toggleTag == true then | |
6422 | toggleTag = false | |
6423 | text.TextTransparency = 1 | |
6424 | text.TextStrokeTransparency = 1 | |
6425 | end | |
6426 | if k == "z" and attack == false and (ModeOfGlitch == 1 or ModeOfGlitch == 8376532578634534) then | |
6427 | ExtinctiveHeartbreak() | |
6428 | elseif k == "z" and attack == false and ModeOfGlitch == 2 then | |
6429 | PureBomb() | |
6430 | elseif k == "z" and attack == false and ModeOfGlitch == 3 then | |
6431 | scattercorrupt() | |
6432 | elseif k == "z" and attack == false and ModeOfGlitch == 5 then | |
6433 | Judgement() | |
6434 | elseif k == "z" and attack == false and ModeOfGlitch == 4 then | |
6435 | ChaosGroundStrike() | |
6436 | elseif k == "z" and attack == false and ModeOfGlitch == 666666 then | |
6437 | InsaneGroundStrike() | |
6438 | ||
6439 | elseif k == "z" and attack == false and ModeOfGlitch == 69 then | |
6440 | ChooseODer() | |
6441 | elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then | |
6442 | Starfall() | |
6443 | elseif k == "z" and attack == false and ModeOfGlitch == 6 then | |
6444 | yinyangi() | |
6445 | elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then | |
6446 | Wip() | |
6447 | elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then | |
6448 | StarfallEX() | |
6449 | end | |
6450 | if k == "x" and attack == false and ModeOfGlitch == 1000000 then | |
6451 | StarDivision() | |
6452 | elseif k == "x" and attack == false and ModeOfGlitch == 6 then | |
6453 | JusticeBeam() | |
6454 | end | |
6455 | if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then | |
6456 | UniversalCollapse() | |
6457 | end | |
6458 | if k == "b" and attack == false and ModeOfGlitch == 4 then | |
6459 | ||
6460 | end | |
6461 | if k == "n" and attack == false then | |
6462 | CorruptBlink() | |
6463 | end | |
6464 | if k == "m" and attack == false and ModeOfGlitch == 69 and AllowRape then | |
6465 | FuckMeSidewaysAndCallMeGay() | |
6466 | end | |
6467 | end) | |
6468 | coroutine.resume(coroutine.create(function() | |
6469 | while true do | |
6470 | swait(2) | |
6471 | if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then | |
6472 | sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0) | |
6473 | end | |
6474 | ||
6475 | end | |
6476 | end)) | |
6477 | ||
6478 | ||
6479 | coroutine.resume(coroutine.create(function() | |
6480 | while true do | |
6481 | if ModeOfGlitch == 1000000 then | |
6482 | swait(0.5) | |
6483 | end | |
6484 | swait() | |
6485 | if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then | |
6486 | sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0) | |
6487 | end | |
6488 | if ModeOfGlitch == 12345678987654321 then | |
6489 | sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0) | |
6490 | end | |
6491 | end | |
6492 | end)) | |
6493 | ||
6494 | ||
6495 | function RandomMaterial() | |
6496 | local getRandom; | |
6497 | local material; | |
6498 | local function IsTerrainMaterial(mat) | |
6499 | local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end) | |
6500 | return isMaterial | |
6501 | end | |
6502 | getRandom = function() | |
6503 | local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] | |
6504 | if(not IsTerrainMaterial(mat))then material = mat else getRandom() end | |
6505 | end | |
6506 | getRandom() | |
6507 | repeat wait() until material | |
6508 | return material | |
6509 | end | |
6510 | function RandomCaps(str) | |
6511 | local new = "" | |
6512 | for i = 1, #str do | |
6513 | if(math.random(1,2) == 1)then | |
6514 | new = new .. (str:sub(i,i):upper()) | |
6515 | else | |
6516 | new = new .. str:sub(i,i) | |
6517 | end | |
6518 | end | |
6519 | return new | |
6520 | end | |
6521 | ||
6522 | coroutine.resume(coroutine.create(function() | |
6523 | while true do | |
6524 | for i = 1, #ODers do | |
6525 | local ODer = ODers[i] | |
6526 | if(ODer)then | |
6527 | local hed = ODer:FindFirstChild'Head' | |
6528 | if(ODer.Parent and hed)then | |
6529 | sphere(10,"Add",hed.CFrame * cf(0,4,0),vt(6,6,3),0,(ODer.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true,false,true) | |
6530 | else | |
6531 | table.remove(ODers,i) | |
6532 | end | |
6533 | else | |
6534 | table.remove(ODers,i) | |
6535 | end | |
6536 | end | |
6537 | if(not kan)then | |
6538 | kan = Instance.new("Sound",char) | |
6539 | end | |
6540 | kan.Parent = char | |
6541 | if(plr.UserId == 5719877)then kan.Volume = 3 else kan.Volume = 1 end | |
6542 | kan.Pitch = Pitch | |
6543 | kan.SoundId = MID | |
6544 | kan.Name = "wrecked" | |
6545 | kan.Looped = true | |
6546 | kan:Resume() | |
6547 | swait() | |
6548 | if glitchymode == true then | |
6549 | local val = math.random(1,255) | |
6550 | local color = Color3.fromRGB(val,val,val) | |
6551 | pcall(function() Character.ReaperShadowHead.Eye1.Color = color end) | |
6552 | pcall(function() Character.ReaperShadowHead.Eye2.Color = color end) | |
6553 | tl1.Color = ColorSequence.new(color) | |
6554 | tl2.Color = ColorSequence.new(color) | |
6555 | tl3.Color = ColorSequence.new(color) | |
6556 | tr1.Color = ColorSequence.new(color) | |
6557 | tr2.Color = ColorSequence.new(color) | |
6558 | tr3.Color = ColorSequence.new(color) | |
6559 | for i, v in pairs(mw1:GetChildren()) do | |
6560 | if v:IsA("Part") then | |
6561 | v.Transparency = 0 | |
6562 | v.Color = color | |
6563 | v.Material = "Neon" | |
6564 | end | |
6565 | end | |
6566 | for i, v in pairs(mw2:GetChildren()) do | |
6567 | if v:IsA("Part") then | |
6568 | v.Color = color | |
6569 | v.Material = "Neon" | |
6570 | end | |
6571 | end | |
6572 | for i, v in pairs(m2:GetChildren()) do | |
6573 | if v:IsA("Part") then | |
6574 | v.Color = color | |
6575 | v.Material = "Neon" | |
6576 | end | |
6577 | end | |
6578 | RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"glitchy"),Color3.new(0,0,0),color) | |
6579 | end | |
6580 | if chaosmode or glitchymode then | |
6581 | pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end) | |
6582 | pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end) | |
6583 | else | |
6584 | pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end) | |
6585 | pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end) | |
6586 | end | |
6587 | if chaosmode == true then | |
6588 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
6589 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
6590 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
6591 | RecolorTextAndRename((ModeOfGlitch == 666666 and "INSANITY" or "CHAOS"),Color3.new(0,0,0),BrickColor.random().Color) | |
6592 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.random() end) | |
6593 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.random() end) | |
6594 | for i, v in pairs(mw1:GetChildren()) do | |
6595 | if v:IsA("Part") then | |
6596 | v.Transparency = 0.75 | |
6597 | v.BrickColor = BrickColor.random() | |
6598 | v.Material = "Neon" | |
6599 | end | |
6600 | end | |
6601 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6602 | if v:IsA("Part") and ModeOfGlitch == 666666 then | |
6603 | v.Transparency = 0.75 | |
6604 | v.BrickColor = BrickColor.random() | |
6605 | v.Material = "Neon" | |
6606 | elseif v:IsA("Part") then | |
6607 | v.Transparency = 1 | |
6608 | end | |
6609 | end | |
6610 | for i, v in pairs(m2:GetChildren()) do | |
6611 | if v:IsA("Part") then | |
6612 | v.BrickColor = BrickColor.random() | |
6613 | v.Material = "Neon" | |
6614 | end | |
6615 | end | |
6616 | end | |
6617 | end | |
6618 | end)) | |
6619 | Humanoid.Name = "STARGLITCHER" | |
6620 | Humanoid.MaxHealth = math.huge | |
6621 | Humanoid.Health = math.huge | |
6622 | Instance.new("ForceField",char).Visible = false | |
6623 | Humanoid.Animator.Parent = nil | |
6624 | idleanim=.4 | |
6625 | while true do | |
6626 | if rainbowmode == false and chaosmode == false and glitchymode == false then | |
6627 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6628 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6629 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6630 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6631 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6632 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6633 | end | |
6634 | if rainbowmode == true then | |
6635 | pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end) | |
6636 | pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end) | |
6637 | if(not vaporwave)then | |
6638 | RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500)) | |
6639 | else | |
6640 | RecolorTextAndRename("Vaporwave",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500)) | |
6641 | end | |
6642 | MAINRUINCOLOR = BrickColor.new("White") | |
6643 | tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6644 | tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6645 | tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6646 | tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6647 | tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6648 | tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6649 | for i, v in pairs(m:GetChildren()) do | |
6650 | if v:IsA("Part") then | |
6651 | v.Color = Color3.new(r/255,g/255,b/255) | |
6652 | end | |
6653 | end | |
6654 | for i, v in pairs(m2:GetChildren()) do | |
6655 | if v:IsA("Part") then | |
6656 | v.Color = Color3.new(r/255,g/255,b/255) | |
6657 | end | |
6658 | end | |
6659 | for i, v in pairs(m3:GetChildren()) do | |
6660 | if v:IsA("Part") then | |
6661 | v.Color = Color3.new(r/255,g/255,b/255) | |
6662 | end | |
6663 | end | |
6664 | for i, v in pairs(mw1:GetChildren()) do | |
6665 | if v:IsA("Part") then | |
6666 | v.Color = Color3.new(r/255,g/255,b/255) | |
6667 | v.Material = "Neon" | |
6668 | end | |
6669 | end | |
6670 | for i, v in pairs(mw2:GetChildren()) do | |
6671 | if v:IsA("Part") then | |
6672 | v.Color = Color3.new(r/255,g/255,b/255) | |
6673 | v.Material = "Neon" | |
6674 | end | |
6675 | end | |
6676 | end | |
6677 | CameraManager() | |
6678 | swait() | |
6679 | lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3) | |
6680 | lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3) | |
6681 | lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3) | |
6682 | lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3) | |
6683 | lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3) | |
6684 | lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3) | |
6685 | ||
6686 | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3) | |
6687 | rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3) | |
6688 | rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3) | |
6689 | rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3) | |
6690 | rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3) | |
6691 | rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3) | |
6692 | sine = sine + change | |
6693 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
6694 | local velderp=RootPart.Velocity.y | |
6695 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
6696 | if equipped==true or equipped==false then | |
6697 | if attack==false then | |
6698 | idle=idle+1 | |
6699 | else | |
6700 | idle=0 | |
6701 | end | |
6702 | if idle>=500 then | |
6703 | if attack==false then | |
6704 | --Sheath() | |
6705 | end | |
6706 | end | |
6707 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
6708 | Anim="Jump" | |
6709 | if attack==false then | |
6710 | 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(-5),math.rad(0),math.rad(-20)),.1) | |
6711 | 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) | |
6712 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
6713 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1) | |
6714 | 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) | |
6715 | 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) | |
6716 | end | |
6717 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
6718 | Anim="Fall" | |
6719 | if attack==false then | |
6720 | 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(-5),math.rad(0),math.rad(-20)),.1) | |
6721 | 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) | |
6722 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
6723 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
6724 | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1) | |
6725 | LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1) | |
6726 | end | |
6727 | elseif torvel<1 and hitfloor~=nil then | |
6728 | Anim="Idle" | |
6729 | if attack==false then | |
6730 | if ModeOfGlitch == 1 then | |
6731 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1) | |
6732 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1) | |
6733 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1) | |
6734 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1) | |
6735 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1) | |
6736 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1) | |
6737 | ||
6738 | elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then | |
6739 | 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(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
6740 | 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(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
6741 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
6742 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1) | |
6743 | RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1) | |
6744 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1) | |
6745 | ||
6746 | elseif ModeOfGlitch == 3 then | |
6747 | 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(0 - 1 * math.cos(sine / 34))),.1) | |
6748 | 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(20),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
6749 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1) | |
6750 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1) | |
6751 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1) | |
6752 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1) | |
6753 | elseif ModeOfGlitch == 4 then | |
6754 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1) | |
6755 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1) | |
6756 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
6757 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1) | |
6758 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1) | |
6759 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1) | |
6760 | elseif ModeOfGlitch == 69 then | |
6761 | RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1) | |
6762 | Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1) | |
6763 | LH.C0 = LH.C0:lerp(cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
6764 | RH.C0 = RH.C0:lerp(cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
6765 | LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1) | |
6766 | RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1) | |
6767 | elseif ModeOfGlitch == 8376532578634534 then | |
6768 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
6769 | LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
6770 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
6771 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1) | |
6772 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
6773 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
6774 | ||
6775 | elseif ModeOfGlitch == 666666 then | |
6776 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1) | |
6777 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1) | |
6778 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
6779 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6780 | RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6781 | LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6782 | ||
6783 | elseif ModeOfGlitch == 5 then | |
6784 | 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(0 + 1 * math.cos(sine / 34))),.1) | |
6785 | 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(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
6786 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
6787 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1) | |
6788 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1) | |
6789 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1) | |
6790 | ||
6791 | elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 6 then | |
6792 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
6793 | 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)),.1) | |
6794 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
6795 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
6796 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1) | |
6797 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1) | |
6798 | ||
6799 | elseif ModeOfGlitch == 12345678987654321 then | |
6800 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
6801 | 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)),.1) | |
6802 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1) | |
6803 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1) | |
6804 | RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1) | |
6805 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1) | |
6806 | end | |
6807 | end | |
6808 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
6809 | Anim="Walk" | |
6810 | if attack==false then | |
6811 | if ModeOfGlitch == 1 then | |
6812 | RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1) | |
6813 | LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1) | |
6814 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1) | |
6815 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6816 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1) | |
6817 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1) | |
6818 | elseif ModeOfGlitch == 4 then | |
6819 | RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/4)/2)*angles(math.rad(2-4*math.cos(sine/10))-math.sin(sine/10)/2,0,0)*angles(0,math.rad(90),0),.1) | |
6820 | LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/4)/2)*angles(math.rad(2+3*math.cos(sine/10))+math.sin(sine/10)/2,0,0)*angles(0,math.rad(-90),0),.1) | |
6821 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1) | |
6822 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1) | |
6823 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1) | |
6824 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1) | |
6825 | elseif ModeOfGlitch == 666666 then | |
6826 | RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/10))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1) | |
6827 | LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/10))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1) | |
6828 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1) | |
6829 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6830 | RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6831 | LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6832 | ||
6833 | elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then | |
6834 | RH.C0=clerp(RH.C0,cf(1,-.85-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1) | |
6835 | LH.C0=clerp(LH.C0,cf(-1,-.85+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1) | |
6836 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1) | |
6837 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1) | |
6838 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1) | |
6839 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1) | |
6840 | end | |
6841 | end | |
6842 | elseif torvel>=22 and hitfloor~=nil then | |
6843 | Anim="Run" | |
6844 | if attack==false then | |
6845 | if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then | |
6846 | RH.C0=clerp(RH.C0,cf(1,-1-.4*math.cos(sine/6)/2,.8*math.cos(sine/6)/2)*angles(math.rad(0-65*math.cos(sine/6))-math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(90),0),.1) | |
6847 | LH.C0=clerp(LH.C0,cf(-1,-1+.4*math.cos(sine/6)/2,-.8*math.cos(sine/6)/2)*angles(math.rad(0+65*math.cos(sine/6))+math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(-90),0),.1) | |
6848 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1) | |
6849 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1) | |
6850 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 105 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1) | |
6851 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 105 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1) | |
6852 | elseif ModeOfGlitch == 666666 then | |
6853 | RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*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) | |
6854 | LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*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) | |
6855 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + .125 * math.cos(sine / 3))*angles(math.rad(25),math.rad(0),math.rad(0 - 5 * math.cos(sine / 6))),.1) | |
6856 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6857 | RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6858 | LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6859 | ||
6860 | elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 8376532578634534 then | |
6861 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2) | |
6862 | 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(20)),.2) | |
6863 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2) | |
6864 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
6865 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2) | |
6866 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2) | |
6867 | end | |
6868 | end | |
6869 | end | |
6870 | end | |
6871 | end |