SHOW:
|
|
- or go back to the newest paste.
1 | --TODO: add comments or something idk | |
2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
3 | local Player = owner | |
4 | local Mouse,mouse,UserInputService,ContextActionService | |
5 | do | |
6 | script.Parent = Player.Character | |
7 | local CAS = {Actions={}} | |
8 | local Event = Instance.new("RemoteEvent") | |
9 | Event.Name = "UserInput_Event" | |
10 | Event.Parent = Player.Character | |
11 | local fakeEvent = function() | |
12 | local t = {_fakeEvent=true} | |
13 | t.Connect = function(self,f)self.Function=f end | |
14 | t.connect = t.Connect | |
15 | return t | |
16 | end | |
17 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
18 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
19 | function CAS:BindAction(name,fun,touch,...) | |
20 | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} | |
21 | end | |
22 | function CAS:UnbindAction(name) | |
23 | CAS.Actions[name] = nil | |
24 | end | |
25 | local function te(self,ev,...) | |
26 | local t = m[ev] | |
27 | if t and t._fakeEvent and t.Function then | |
28 | t.Function(...) | |
29 | end | |
30 | end | |
31 | m.TrigEvent = te | |
32 | UIS.TrigEvent = te | |
33 | Event.OnServerEvent:Connect(function(plr,io) | |
34 | if plr~=Player then return end | |
35 | if io.isMouse then | |
36 | m.Target = io.Target | |
37 | m.Hit = io.Hit | |
38 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
39 | if io.UserInputState == Enum.UserInputState.Begin then | |
40 | m:TrigEvent("Button1Down") | |
41 | else | |
42 | m:TrigEvent("Button1Up") | |
43 | end | |
44 | else | |
45 | for n,t in pairs(CAS.Actions) do | |
46 | for _,k in pairs(t.Keys) do | |
47 | if k==io.KeyCode then | |
48 | t.Function(t.Name,io.UserInputState,io) | |
49 | end | |
50 | end | |
51 | end | |
52 | if io.UserInputState == Enum.UserInputState.Begin then | |
53 | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) | |
54 | UIS:TrigEvent("InputBegan",io,false) | |
55 | else | |
56 | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) | |
57 | UIS:TrigEvent("InputEnded",io,false) | |
58 | end | |
59 | end | |
60 | end) | |
61 | NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | ||
64 | local Char = Player.Character | |
65 | local Event = Char:WaitForChild("UserInput_Event") | |
66 | ||
67 | local UIS = game:GetService("UserInputService") | |
68 | ||
69 | local input = function(io,a) | |
70 | if a then return end | |
71 | local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState} | |
72 | Event:FireServer(io) | |
73 | end | |
74 | UIS.InputBegan:Connect(input) | |
75 | UIS.InputEnded:Connect(input) | |
76 | local Changed = false | |
77 | local Mouse = Player:GetMouse() | |
78 | local h,t = Mouse.Hit,Mouse.Target | |
79 | while wait(1/30) do | |
80 | if h~=Mouse.Hit or t~=Mouse.Target then | |
81 | Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit}) | |
82 | h,t=Mouse.Hit,Mouse.Target | |
83 | end | |
84 | end | |
85 | ]==],Player.Character) | |
86 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
87 | end | |
88 | ||
89 | ||
90 | wait(0.5) | |
91 | ||
92 | warn'Star Glitcher Loaded.' | |
93 | warn'All purpose switcher...' | |
94 | warn'Created by Noobygames12' | |
95 | warn'Edited by Neubla_Zorua' | |
96 | warn([[Icons: | |
97 | ! = New | |
98 | ? = Spoilers | |
99 | * = Exclusivity]]) | |
100 | print([[V 3.21 (ON PROGRESS) Update Log: | |
101 | ! - Changed Judgement back to Justice | |
102 | ! - Gave Divinity an attack named Judgement. Credit to XXUNORIB | |
103 | ! - Replaced Corruption with Glitchy | |
104 | ! - Fixed some bugs, too | |
105 | ! - Changed Chaos's "B" (Chaos Begone) to a keystroke. (ddawas) | |
106 | ]]) | |
107 | ||
108 | --- its obs smooth af do not touch | |
109 | ---- Sources and functions might be taken from others | |
110 | plr = game:GetService("Players").LocalPlayer | |
111 | char = plr.Character | |
112 | hum = char:FindFirstChildOfClass'Humanoid' | |
113 | local cam = game.Workspace.CurrentCamera | |
114 | local Controller = plr.PlayerScripts:WaitForChild("ControlScript") | |
115 | Camera = cam | |
116 | local CamInterrupt = false | |
117 | local TwoD = false | |
118 | local TargetInfo = {nil, nil} | |
119 | cam.CameraType = "Custom" | |
120 | t = char.Torso | |
121 | h = char.Head | |
122 | ra = char["Right Arm"] | |
123 | la = char["Left Arm"] | |
124 | rl = char["Right Leg"] | |
125 | ll = char["Left Leg"] | |
126 | tors = char.Torso | |
127 | lleg = char["Left Leg"] | |
128 | root = char.HumanoidRootPart | |
129 | hed = char.Head | |
130 | rleg = char["Right Leg"] | |
131 | rarm = char["Right Arm"] | |
132 | larm = char["Left Arm"] | |
133 | radian = math.rad | |
134 | random = math.random | |
135 | Vec3 = Vector3.new | |
136 | Inst = Instance.new | |
137 | cFrame = CFrame.new | |
138 | Euler = CFrame.fromEulerAnglesXYZ | |
139 | vt = Vector3.new | |
140 | bc = BrickColor.new | |
141 | br = BrickColor.random | |
142 | it = Instance.new | |
143 | cf = CFrame.new | |
144 | ||
145 | local ODers = {} | |
146 | ||
147 | local AllowRape = false; | |
148 | local AllowCata = false; | |
149 | ||
150 | local Booleans = { | |
151 | CamFollow = true, | |
152 | GyroUse = true | |
153 | } | |
154 | ||
155 | function lerp(object, newCFrame, alpha) | |
156 | return object:lerp(newCFrame, alpha) | |
157 | end | |
158 | ||
159 | local Directer = Inst("BodyGyro", root) | |
160 | Directer.MaxTorque = Vec3(0, 0, 0) | |
161 | Directer.P = 600000 | |
162 | local CPart = Inst("Part") | |
163 | CPart.Anchored = true | |
164 | CPart.CanCollide = false | |
165 | CPart.Locked = true | |
166 | CPart.Transparency = 1 | |
167 | ||
168 | local rainbowmode = false | |
169 | local chaosmode = false | |
170 | local glitchymode = false | |
171 | kan = Instance.new("Sound",char) | |
172 | kan.Volume = 1.25 | |
173 | kan.TimePosition = 0 | |
174 | kan.PlaybackSpeed = 1 | |
175 | kan.Pitch = 1 | |
176 | kan.SoundId = "rbxassetid://1564523997" | |
177 | kan.Name = "wrecked" | |
178 | kan.Looped = true | |
179 | kan:Play() | |
180 | ||
181 | local MID = "rbxassetid://1564523997"; | |
182 | local Pitch = 1; | |
183 | ||
184 | function newTheme(ID,timepos,pitch,vol) | |
185 | local kanz = kan | |
186 | --kanz:Stop() | |
187 | --kanz.Volume = vol | |
188 | --kanz.TimePosition = timepos | |
189 | kanz.PlaybackSpeed = pitch | |
190 | kanz.Pitch = pitch | |
191 | kanz.SoundId = ID | |
192 | kanz.Name = "wrecked" | |
193 | kanz.Looped = true | |
194 | Pitch = pitch | |
195 | MID = ID | |
196 | --kanz:Play() | |
197 | --coroutine.resume(coroutine.create(function() | |
198 | --wait(0.05) | |
199 | --end)) | |
200 | end | |
201 | ||
202 | function newThemeCust(ID,timepos,pitch,vol) | |
203 | local kanz = kan | |
204 | kanz:Stop() | |
205 | kanz.Volume = vol | |
206 | kanz.TimePosition = timepos | |
207 | kanz.PlaybackSpeed = pitch | |
208 | kanz.Pitch = pitch | |
209 | MID = ID | |
210 | kanz.SoundId = ID | |
211 | kanz.Name = "wrecked" | |
212 | kanz.Looped = true | |
213 | kanz:Play() | |
214 | coroutine.resume(coroutine.create(function() | |
215 | wait(0.05) | |
216 | end)) | |
217 | end | |
218 | ||
219 | ||
220 | ||
221 | function CameraShake(Times, Power, PlayerTarget) | |
222 | coroutine.resume(coroutine.create(function() | |
223 | FV = Instance.new("BoolValue", PlayerTarget) | |
224 | FV.Name = "CameraShake" | |
225 | for ShakeNum=1,Times do | |
226 | swait() | |
227 | local ef=Power | |
228 | if ef>=1 then | |
229 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
230 | else | |
231 | ef=Power*10 | |
232 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
233 | end | |
234 | end | |
235 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
236 | FV:Destroy() | |
237 | end)) | |
238 | end | |
239 | ||
240 | function CameraEnshaking(Length,Intensity) | |
241 | coroutine.resume(coroutine.create(function() | |
242 | local intensity = 1*Intensity | |
243 | local rotM = 0.01*Intensity | |
244 | for i = 0, Length, 0.1 do | |
245 | swait() | |
246 | intensity = intensity - 0.05*Intensity/Length | |
247 | rotM = rotM - 0.0005*Intensity/Length | |
248 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
249 | 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) | |
250 | end | |
251 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
252 | end)) | |
253 | end | |
254 | CamShake=function(Part,Distan,Power,Times) | |
255 | local de=Part.Position | |
256 | for i,v in pairs(workspace:children()) do | |
257 | if v:IsA("Model") and v:findFirstChild("Humanoid") then | |
258 | for _,c in pairs(v:children()) do | |
259 | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then | |
260 | local Noob=vFindFirstChildOfClass'Humanoid' | |
261 | if Noob~=nil then | |
262 | coroutine.resume(coroutine.create(function() | |
263 | FV = Instance.new("BoolValue", Noob) | |
264 | FV.Name = "CameraShake" | |
265 | for ShakeNum=1,Times do | |
266 | swait() | |
267 | local ef=Power | |
268 | if ef>=1 then | |
269 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
270 | else | |
271 | ef=Power*10 | |
272 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
273 | end | |
274 | end | |
275 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
276 | FV:Destroy() | |
277 | end)) | |
278 | CameraShake(Times, Power, Noob) | |
279 | end | |
280 | end | |
281 | end | |
282 | end | |
283 | end | |
284 | end | |
285 | ||
286 | function chatfunc(text,color) | |
287 | local chat = coroutine.wrap(function() | |
288 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
289 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
290 | end | |
291 | local naeeym2 = Instance.new("BillboardGui",Character) | |
292 | naeeym2.Size = UDim2.new(0,100,0,40) | |
293 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
294 | naeeym2.Adornee = Character.Head | |
295 | naeeym2.Name = "TalkingBillBoard" | |
296 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
297 | tecks2.BackgroundTransparency = 1 | |
298 | tecks2.BorderSizePixel = 0 | |
299 | tecks2.Text = "" | |
300 | tecks2.Font = "SciFi" | |
301 | tecks2.TextSize = 30 | |
302 | tecks2.TextStrokeTransparency = 0 | |
303 | tecks2.TextColor3 = color | |
304 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
305 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
306 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
307 | tecks3.BackgroundTransparency = 1 | |
308 | tecks3.BorderSizePixel = 0 | |
309 | tecks3.Text = "" | |
310 | tecks3.Font = "SciFi" | |
311 | tecks3.TextSize = 30 | |
312 | tecks3.TextStrokeTransparency = 0 | |
313 | tecks3.TextColor3 = Color3.new(0,0,0) | |
314 | tecks3.TextStrokeColor3 = color | |
315 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
316 | coroutine.resume(coroutine.create(function() | |
317 | while true do | |
318 | swait(1) | |
319 | if chaosmode == true then | |
320 | tecks2.TextColor3 = BrickColor.random().Color | |
321 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
322 | end | |
323 | if(glitchymode)then | |
324 | local val = math.random(1,255) | |
325 | local color = Color3.fromRGB(val,val,val) | |
326 | tecks2.TextColor3 = color | |
327 | tecks3.TextStrokeColor3 = color | |
328 | end | |
329 | tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) | |
330 | tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) | |
331 | tecks2.Rotation = math.random(-5,5) | |
332 | tecks3.Rotation = math.random(-5,5) | |
333 | end | |
334 | end)) | |
335 | for i = 1,string.len(text),1 do | |
336 | CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115) | |
337 | tecks2.Text = string.sub(text,1,i) | |
338 | tecks3.Text = string.sub(text,1,i) | |
339 | swait(1) | |
340 | end | |
341 | wait(1) | |
342 | local randomrot = math.random(1,2) | |
343 | if randomrot == 1 then | |
344 | for i = 1, 50 do | |
345 | swait() | |
346 | tecks2.Rotation = tecks2.Rotation - .75 | |
347 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
348 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
349 | tecks3.Rotation = tecks2.Rotation + .75 | |
350 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
351 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
352 | end | |
353 | elseif randomrot == 2 then | |
354 | for i = 1, 50 do | |
355 | swait() | |
356 | tecks2.Rotation = tecks2.Rotation + .75 | |
357 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
358 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
359 | tecks3.Rotation = tecks2.Rotation - .75 | |
360 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
361 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
362 | end | |
363 | end | |
364 | naeeym2:Destroy() | |
365 | end) | |
366 | chat() | |
367 | end | |
368 | ||
369 | ||
370 | local Create = LoadLibrary("RbxUtility").Create | |
371 | ||
372 | CFuncs = { | |
373 | ["Part"] = { | |
374 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
375 | local Part = Create("Part"){ | |
376 | Parent = Parent, | |
377 | Reflectance = Reflectance, | |
378 | Transparency = Transparency, | |
379 | CanCollide = false, | |
380 | Locked = true, | |
381 | BrickColor = BrickColor.new(tostring(BColor)), | |
382 | Name = Name, | |
383 | Size = Size, | |
384 | Material = Material, | |
385 | } | |
386 | RemoveOutlines(Part) | |
387 | return Part | |
388 | end; | |
389 | }; | |
390 | ||
391 | ["Mesh"] = { | |
392 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
393 | local Msh = Create(Mesh){ | |
394 | Parent = Part, | |
395 | Offset = OffSet, | |
396 | Scale = Scale, | |
397 | } | |
398 | if Mesh == "SpecialMesh" then | |
399 | Msh.MeshType = MeshType | |
400 | Msh.MeshId = MeshId | |
401 | end | |
402 | return Msh | |
403 | end; | |
404 | }; | |
405 | ||
406 | ["Mesh"] = { | |
407 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
408 | local Msh = Create(Mesh){ | |
409 | Parent = Part, | |
410 | Offset = OffSet, | |
411 | Scale = Scale, | |
412 | } | |
413 | if Mesh == "SpecialMesh" then | |
414 | Msh.MeshType = MeshType | |
415 | Msh.MeshId = MeshId | |
416 | end | |
417 | return Msh | |
418 | end; | |
419 | }; | |
420 | ||
421 | ["Weld"] = { | |
422 | Create = function(Parent, Part0, Part1, C0, C1) | |
423 | local Weld = Create("Weld"){ | |
424 | Parent = Parent, | |
425 | Part0 = Part0, | |
426 | Part1 = Part1, | |
427 | C0 = C0, | |
428 | C1 = C1, | |
429 | } | |
430 | return Weld | |
431 | end; | |
432 | }; | |
433 | ||
434 | ["Sound"] = { | |
435 | Create = function(id, par, vol, pit) | |
436 | return coroutine.wrap(function() | |
437 | local S = Create("Sound"){ | |
438 | Volume = vol, | |
439 | Name = "EffectSoundo", | |
440 | Pitch = pit or 1, | |
441 | SoundId = id, | |
442 | Parent = par or workspace, | |
443 | } | |
444 | S:Play() | |
445 | S.Ended:connect(function() | |
446 | S:Destroy() | |
447 | end) | |
448 | return S; | |
449 | end)() | |
450 | end; | |
451 | }; | |
452 | ||
453 | ["LongSound"] = { | |
454 | Create = function(id, par, vol, pit) | |
455 | coroutine.resume(coroutine.create(function() | |
456 | local S = Create("Sound"){ | |
457 | Volume = vol, | |
458 | Pitch = pit or 1, | |
459 | SoundId = id, | |
460 | Parent = par or workspace, | |
461 | } | |
462 | wait() | |
463 | S:play() | |
464 | game:GetService("Debris"):AddItem(S, 30) | |
465 | end)) | |
466 | end; | |
467 | }; | |
468 | ||
469 | ["ParticleEmitter"] = { | |
470 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
471 | local fp = Create("ParticleEmitter"){ | |
472 | Parent = Parent, | |
473 | Color = ColorSequence.new(Color1, Color2), | |
474 | LightEmission = LightEmission, | |
475 | Size = Size, | |
476 | Texture = Texture, | |
477 | Transparency = Transparency, | |
478 | ZOffset = ZOffset, | |
479 | Acceleration = Accel, | |
480 | Drag = Drag, | |
481 | LockedToPart = LockedToPart, | |
482 | VelocityInheritance = VelocityInheritance, | |
483 | EmissionDirection = EmissionDirection, | |
484 | Enabled = Enabled, | |
485 | Lifetime = LifeTime, | |
486 | Rate = Rate, | |
487 | Rotation = Rotation, | |
488 | RotSpeed = RotSpeed, | |
489 | Speed = Speed, | |
490 | VelocitySpread = VelocitySpread, | |
491 | } | |
492 | return fp | |
493 | end; | |
494 | }; | |
495 | ||
496 | CreateTemplate = { | |
497 | ||
498 | }; | |
499 | } | |
500 | ||
501 | ||
502 | ||
503 | New = function(Object, Parent, Name, Data) | |
504 | local Object = Instance.new(Object) | |
505 | for Index, Value in pairs(Data or {}) do | |
506 | Object[Index] = Value | |
507 | end | |
508 | Object.Parent = Parent | |
509 | Object.Name = Name | |
510 | return Object | |
511 | end | |
512 | local halocolor = BrickColor.new("Pastel light blue") | |
513 | local halocolor2 = BrickColor.new("Cool yellow") | |
514 | local starcolor = BrickColor.new("Bright yellow") | |
515 | local lunacolor = BrickColor.new("Navy blue") | |
516 | local lunacolor2 = BrickColor.new("Bright blue") | |
517 | local wepcolor = BrickColor.new("Really black") | |
518 | local maincolor = BrickColor.new("Really black") | |
519 | local m = Instance.new("Model",char) | |
520 | local m2 = Instance.new("Model",char) | |
521 | local m3 = Instance.new("Model",char) | |
522 | local mw1 = Instance.new("Model",char) | |
523 | local mw2 = Instance.new("Model",char) | |
524 | ||
525 | local extrawingmod1 = Instance.new("Model",char) | |
526 | local extrawingmod2 = Instance.new("Model",char) | |
527 | ||
528 | function CreateParta(parent,transparency,reflectance,material,brickcolor) | |
529 | local p = Instance.new("Part") | |
530 | p.TopSurface = 0 | |
531 | p.BottomSurface = 0 | |
532 | p.Parent = parent | |
533 | p.Size = Vector3.new(0.1,0.1,0.1) | |
534 | p.Transparency = transparency | |
535 | p.Reflectance = reflectance | |
536 | p.CanCollide = false | |
537 | p.Locked = true | |
538 | p.BrickColor = brickcolor | |
539 | p.Material = material | |
540 | return p | |
541 | end | |
542 | ||
543 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
544 | local mesh = Instance.new("SpecialMesh",parent) | |
545 | mesh.MeshType = meshtype | |
546 | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) | |
547 | return mesh | |
548 | end | |
549 | ||
550 | function CreateSpecialMesh(parent,meshid,x1,y1,z1) | |
551 | local mesh = Instance.new("SpecialMesh",parent) | |
552 | mesh.MeshType = "FileMesh" | |
553 | mesh.MeshId = meshid | |
554 | mesh.Scale = Vector3.new(x1,y1,z1) | |
555 | return mesh | |
556 | end | |
557 | ||
558 | ||
559 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
560 | local mesh = Instance.new("SpecialMesh",parent) | |
561 | mesh.MeshType = "FileMesh" | |
562 | mesh.MeshId = meshid | |
563 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
564 | mesh.Scale = Vector3.new(x1,y1,z1) | |
565 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
566 | return mesh | |
567 | end | |
568 | ||
569 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
570 | local weld = Instance.new("Weld") | |
571 | weld.Parent = parent | |
572 | weld.Part0 = part0 | |
573 | weld.Part1 = part1 | |
574 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
575 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
576 | return weld | |
577 | end | |
578 | ||
579 | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
580 | 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)) | |
581 | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
582 | 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)) | |
583 | ||
584 | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
585 | CreateMesh(handle,"Brick",0,0,0) | |
586 | 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)) | |
587 | local valuaring = 10 | |
588 | for i = 0, 49 do | |
589 | valuaring = valuaring + 10 | |
590 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
591 | CreateMesh(rn,"Brick",0.25,0.1,0.1) | |
592 | 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)) | |
593 | end | |
594 | ||
595 | handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
596 | CreateMesh(handle,"Brick",0,0,0) | |
597 | 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)) | |
598 | local valuaring = 10 | |
599 | for i = 0, 49 do | |
600 | valuaring = valuaring + 10 | |
601 | rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
602 | CreateMesh(rn,"Brick",0.5,0.2,0.2) | |
603 | 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)) | |
604 | end | |
605 | ||
606 | ||
607 | local handle = CreateParta(m,1,1,"Neon",maincolor) | |
608 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
609 | 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)) | |
610 | ||
611 | --- Left wing. | |
612 | ||
613 | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
614 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
615 | 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)) | |
616 | ||
617 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
618 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
619 | 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)) | |
620 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
621 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
622 | 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)) | |
623 | A0 = Instance.new('Attachment',wed) | |
624 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
625 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
626 | 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)) | |
627 | A1 = Instance.new('Attachment',wed) | |
628 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
629 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
630 | 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)) | |
631 | ||
632 | tl1 = Instance.new('Trail',wed) | |
633 | tl1.Attachment0 = A0 | |
634 | tl1.Attachment1 = A1 | |
635 | --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
636 | tl1.LightEmission = 1 | |
637 | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
638 | tl1.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
639 | tl1.Lifetime = 0.6 | |
640 | ||
641 | ||
642 | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
643 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
644 | 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)) | |
645 | ||
646 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
647 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
648 | 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)) | |
649 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
650 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
651 | 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)) | |
652 | A0 = Instance.new('Attachment',wed) | |
653 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
654 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
655 | 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)) | |
656 | A1 = Instance.new('Attachment',wed) | |
657 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
658 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
659 | 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)) | |
660 | ||
661 | tl2 = Instance.new('Trail',wed) | |
662 | tl2.Attachment0 = A0 | |
663 | tl2.Attachment1 = A1 | |
664 | --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
665 | tl2.LightEmission = 1 | |
666 | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
667 | tl2.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
668 | tl2.Lifetime = 0.6 | |
669 | ||
670 | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
671 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
672 | 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)) | |
673 | ||
674 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
675 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
676 | 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)) | |
677 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
678 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
679 | 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)) | |
680 | A0 = Instance.new('Attachment',wed) | |
681 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
682 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
683 | 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)) | |
684 | A1 = Instance.new('Attachment',wed) | |
685 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
686 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
687 | 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)) | |
688 | ||
689 | tl3 = Instance.new('Trail',wed) | |
690 | tl3.Attachment0 = A0 | |
691 | tl3.Attachment1 = A1 | |
692 | --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
693 | tl3.LightEmission = 1 | |
694 | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
695 | tl3.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
696 | tl3.Lifetime = 0.6 | |
697 | ||
698 | tl1.Enabled = false | |
699 | tl2.Enabled = false | |
700 | tl3.Enabled = false | |
701 | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
702 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
703 | 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)) | |
704 | ||
705 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
706 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
707 | 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)) | |
708 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
709 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
710 | 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)) | |
711 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
712 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
713 | 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)) | |
714 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
715 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
716 | 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)) | |
717 | ||
718 | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
719 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
720 | 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)) | |
721 | ||
722 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
723 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
724 | 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)) | |
725 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
726 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
727 | 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)) | |
728 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
729 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
730 | 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)) | |
731 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
732 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
733 | 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)) | |
734 | ||
735 | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
736 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
737 | 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)) | |
738 | ||
739 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
740 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
741 | 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)) | |
742 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
743 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
744 | 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)) | |
745 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
746 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
747 | 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)) | |
748 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
749 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
750 | 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)) | |
751 | ||
752 | -- Right wing. | |
753 | ||
754 | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
755 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
756 | 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)) | |
757 | ||
758 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
759 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
760 | 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)) | |
761 | A0 = Instance.new('Attachment',wed) | |
762 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
763 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
764 | 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)) | |
765 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
766 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
767 | 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)) | |
768 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
769 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
770 | 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)) | |
771 | A1 = Instance.new('Attachment',wed) | |
772 | ||
773 | tr1 = Instance.new('Trail',wed) | |
774 | tr1.Attachment0 = A0 | |
775 | tr1.Attachment1 = A1 | |
776 | --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
777 | tr1.LightEmission = 1 | |
778 | tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
779 | tr1.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
780 | tr1.Lifetime = 0.6 | |
781 | ||
782 | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
783 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
784 | 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)) | |
785 | ||
786 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
787 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
788 | 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)) | |
789 | A0 = Instance.new('Attachment',wed) | |
790 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
791 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
792 | 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)) | |
793 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
794 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
795 | 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)) | |
796 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
797 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
798 | 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)) | |
799 | A1 = Instance.new('Attachment',wed) | |
800 | ||
801 | tr2 = Instance.new('Trail',wed) | |
802 | tr2.Attachment0 = A0 | |
803 | tr2.Attachment1 = A1 | |
804 | --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
805 | tr2.LightEmission = 1 | |
806 | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
807 | tr2.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
808 | tr2.Lifetime = 0.6 | |
809 | ||
810 | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
811 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
812 | 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)) | |
813 | ||
814 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
815 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
816 | 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)) | |
817 | A0 = Instance.new('Attachment',wed) | |
818 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
819 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
820 | 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)) | |
821 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
822 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
823 | 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)) | |
824 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
825 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
826 | 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)) | |
827 | A1 = Instance.new('Attachment',wed) | |
828 | ||
829 | tr3 = Instance.new('Trail',wed) | |
830 | tr3.Attachment0 = A0 | |
831 | tr3.Attachment1 = A1 | |
832 | --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
833 | tr3.LightEmission = 1 | |
834 | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
835 | tr3.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
836 | tr3.Lifetime = 0.6 | |
837 | ||
838 | ||
839 | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
840 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
841 | 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)) | |
842 | ||
843 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
844 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
845 | 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)) | |
846 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
847 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
848 | 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)) | |
849 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
850 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
851 | 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)) | |
852 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
853 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
854 | 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)) | |
855 | ||
856 | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
857 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
858 | 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)) | |
859 | ||
860 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
861 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
862 | 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)) | |
863 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
864 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
865 | 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)) | |
866 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
867 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
868 | 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)) | |
869 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
870 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
871 | 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)) | |
872 | ||
873 | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
874 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
875 | 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)) | |
876 | ||
877 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
878 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
879 | 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)) | |
880 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
881 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
882 | 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)) | |
883 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
884 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
885 | 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)) | |
886 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
887 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
888 | 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)) | |
889 | ||
890 | ---- HERES THE RING | |
891 | ||
892 | ||
893 | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
894 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
895 | 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)) | |
896 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
897 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
898 | 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)) | |
899 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
900 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
901 | 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)) | |
902 | ||
903 | ||
904 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
905 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
906 | 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)) | |
907 | ||
908 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
909 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
910 | 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)) | |
911 | ||
912 | ||
913 | ||
914 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
915 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
916 | 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)) | |
917 | ||
918 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
919 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
920 | 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)) | |
921 | ||
922 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
923 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
924 | 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)) | |
925 | ||
926 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
927 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
928 | 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)) | |
929 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
930 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
931 | 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)) | |
932 | ||
933 | -- S section A | |
934 | ||
935 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
936 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
937 | 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)) | |
938 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
939 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
940 | 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)) | |
941 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
942 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
943 | 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)) | |
944 | ||
945 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
946 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
947 | 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)) | |
948 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
949 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
950 | 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)) | |
951 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
952 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
953 | 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)) | |
954 | ||
955 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
956 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
957 | 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)) | |
958 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
959 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
960 | 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)) | |
961 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
962 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
963 | 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)) | |
964 | ||
965 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
966 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
967 | 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)) | |
968 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
969 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
970 | 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)) | |
971 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
972 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
973 | 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)) | |
974 | ||
975 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
976 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
977 | 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)) | |
978 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
979 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
980 | 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)) | |
981 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
982 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
983 | 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)) | |
984 | ||
985 | -- S section B | |
986 | ||
987 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
988 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
989 | 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)) | |
990 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
991 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
992 | 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)) | |
993 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
994 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
995 | 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)) | |
996 | ||
997 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
998 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
999 | 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)) | |
1000 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1001 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1002 | 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)) | |
1003 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1004 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1005 | 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)) | |
1006 | ||
1007 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1008 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1009 | 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)) | |
1010 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1011 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1012 | 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)) | |
1013 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1014 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1015 | 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)) | |
1016 | ||
1017 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1018 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1019 | 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)) | |
1020 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1021 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1022 | 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)) | |
1023 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1024 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1025 | 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)) | |
1026 | ||
1027 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1028 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1029 | 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)) | |
1030 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1031 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1032 | 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)) | |
1033 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1034 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1035 | 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)) | |
1036 | ||
1037 | --- second ring | |
1038 | ||
1039 | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
1040 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
1041 | 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)) | |
1042 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1043 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
1044 | 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)) | |
1045 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1046 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
1047 | 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)) | |
1048 | ||
1049 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1050 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
1051 | 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)) | |
1052 | ||
1053 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1054 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
1055 | 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)) | |
1056 | ||
1057 | ||
1058 | ||
1059 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
1060 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1061 | 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)) | |
1062 | ||
1063 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
1064 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1065 | 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)) | |
1066 | ||
1067 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
1068 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
1069 | 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)) | |
1070 | ||
1071 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1072 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
1073 | 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)) | |
1074 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
1075 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
1076 | 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)) | |
1077 | ||
1078 | -- S section A | |
1079 | ||
1080 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1081 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1082 | 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)) | |
1083 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1084 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1085 | 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)) | |
1086 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1087 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1088 | 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)) | |
1089 | ||
1090 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1091 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1092 | 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)) | |
1093 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1094 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1095 | 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)) | |
1096 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1097 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1098 | 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)) | |
1099 | ||
1100 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1101 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1102 | 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)) | |
1103 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1104 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1105 | 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)) | |
1106 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1107 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1108 | 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)) | |
1109 | ||
1110 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1111 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1112 | 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)) | |
1113 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1114 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1115 | 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)) | |
1116 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1117 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1118 | 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)) | |
1119 | ||
1120 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1121 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1122 | 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)) | |
1123 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1124 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1125 | 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)) | |
1126 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1127 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1128 | 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)) | |
1129 | ||
1130 | -- S section B | |
1131 | ||
1132 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1133 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1134 | 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)) | |
1135 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1136 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1137 | 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)) | |
1138 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1139 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1140 | 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)) | |
1141 | ||
1142 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1143 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1144 | 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)) | |
1145 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1146 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1147 | 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)) | |
1148 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1149 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1150 | 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)) | |
1151 | ||
1152 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1153 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1154 | 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)) | |
1155 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1156 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1157 | 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)) | |
1158 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1159 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1160 | 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)) | |
1161 | ||
1162 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1163 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1164 | 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)) | |
1165 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1166 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1167 | 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)) | |
1168 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1169 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1170 | 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)) | |
1171 | ||
1172 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1173 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1174 | 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)) | |
1175 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1176 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1177 | 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)) | |
1178 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1179 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1180 | 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))]]-- | |
1181 | ||
1182 | ||
1183 | for i, v in pairs(m:GetChildren()) do | |
1184 | if v:IsA("Part") then | |
1185 | v.BrickColor = BrickColor.new("Really black") | |
1186 | v.Material = "Glass" | |
1187 | end | |
1188 | end | |
1189 | for i, v in pairs(m2:GetChildren()) do | |
1190 | if v:IsA("Part") then | |
1191 | v.BrickColor = BrickColor.new("Dark stone grey") | |
1192 | v.Material = "Granite" | |
1193 | end | |
1194 | end | |
1195 | for i, v in pairs(m3:GetChildren()) do | |
1196 | if v:IsA("Part") then | |
1197 | v.BrickColor = BrickColor.new("Really black") | |
1198 | v.Material = "Neon" | |
1199 | end | |
1200 | end | |
1201 | for i, v in pairs(mw2:GetChildren()) do | |
1202 | if v:IsA("Part") then | |
1203 | v.BrickColor = BrickColor.new("Really black") | |
1204 | v.Material = "Neon" | |
1205 | end | |
1206 | end | |
1207 | for i, v in pairs(mw1:GetChildren()) do | |
1208 | if v:IsA("Part") then | |
1209 | v.Transparency = 1 | |
1210 | v.BrickColor = BrickColor.new("Really black") | |
1211 | v.Material = "Neon" | |
1212 | end | |
1213 | end | |
1214 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
1215 | if v:IsA("Part") then | |
1216 | v.Transparency = 1 | |
1217 | v.BrickColor = BrickColor.new("White") | |
1218 | v.Material = "Neon" | |
1219 | end | |
1220 | end | |
1221 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
1222 | if v:IsA("Part") then | |
1223 | v.Transparency = 1 | |
1224 | v.BrickColor = BrickColor.new("White") | |
1225 | v.Material = "Neon" | |
1226 | end | |
1227 | end | |
1228 | local MAINRUINCOLOR = BrickColor.new("Really black") | |
1229 | ------ | |
1230 | ||
1231 | ||
1232 | function RemoveOutlines(part) | |
1233 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
1234 | end | |
1235 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1236 | local Part = Create("Part")({ | |
1237 | Parent = Parent, | |
1238 | Reflectance = Reflectance, | |
1239 | Transparency = Transparency, | |
1240 | CanCollide = false, | |
1241 | Locked = true, | |
1242 | BrickColor = BrickColor.new(tostring(BColor)), | |
1243 | Name = Name, | |
1244 | Size = Size, | |
1245 | Material = Material | |
1246 | }) | |
1247 | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
1248 | RemoveOutlines(Part) | |
1249 | return Part | |
1250 | end | |
1251 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1252 | local Msh = Create(Mesh)({ | |
1253 | Parent = Part, | |
1254 | Offset = OffSet, | |
1255 | Scale = Scale | |
1256 | }) | |
1257 | if Mesh == "SpecialMesh" then | |
1258 | Msh.MeshType = MeshType | |
1259 | Msh.MeshId = MeshId | |
1260 | end | |
1261 | return Msh | |
1262 | end | |
1263 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
1264 | local Weld = Create("Weld")({ | |
1265 | Parent = Parent, | |
1266 | Part0 = Part0, | |
1267 | Part1 = Part1, | |
1268 | C0 = C0, | |
1269 | C1 = C1 | |
1270 | }) | |
1271 | return Weld | |
1272 | end | |
1273 | ||
1274 | Player=game:GetService("Players").LocalPlayer | |
1275 | Character=Player.Character | |
1276 | PlayerGui=Player.PlayerGui | |
1277 | Backpack=Player.Backpack | |
1278 | Torso=Character.Torso | |
1279 | Head=Character.Head | |
1280 | Humanoid=Character:FindFirstChildOfClass'Humanoid' | |
1281 | m=Instance.new('Model',Character) | |
1282 | LeftArm=Character["Left Arm"] | |
1283 | LeftLeg=Character["Left Leg"] | |
1284 | RightArm=Character["Right Arm"] | |
1285 | RightLeg=Character["Right Leg"] | |
1286 | LS=Torso["Left Shoulder"] | |
1287 | LH=Torso["Left Hip"] | |
1288 | RS=Torso["Right Shoulder"] | |
1289 | RH=Torso["Right Hip"] | |
1290 | Face = Head.face | |
1291 | Neck=Torso.Neck | |
1292 | it=Instance.new | |
1293 | attacktype=1 | |
1294 | vt=Vector3.new | |
1295 | cf=CFrame.new | |
1296 | euler=CFrame.fromEulerAnglesXYZ | |
1297 | angles=CFrame.Angles | |
1298 | cloaked=false | |
1299 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1300 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1301 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
1302 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
1303 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
1304 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
1305 | RootPart=Character.HumanoidRootPart | |
1306 | RootJoint=RootPart.RootJoint | |
1307 | RootCF=euler(-1.57,0,3.14) | |
1308 | attack = false | |
1309 | attackdebounce = false | |
1310 | deb=false | |
1311 | equipped=true | |
1312 | hand=false | |
1313 | MMouse=nil | |
1314 | combo=0 | |
1315 | mana=0 | |
1316 | trispeed=.2 | |
1317 | attackmode='none' | |
1318 | local idle=0 | |
1319 | local Anim="Idle" | |
1320 | local Effects={} | |
1321 | local gun=false | |
1322 | local shoot=false | |
1323 | local sine = 0 | |
1324 | local change = 1 | |
1325 | player=nil | |
1326 | pcall(function()char.LeftWing:destroy()end) | |
1327 | pcall(function()char.Halo:destroy()end) | |
1328 | local toggleTag = true | |
1329 | local txt = Instance.new("BillboardGui", Head) | |
1330 | txt.Adornee = nil | |
1331 | txt.Name = "NameDetect" | |
1332 | txt.Size = UDim2.new(4, 0, 1.2, 0) | |
1333 | txt.StudsOffset = Vector3.new(-8, 8/1.5, 0) | |
1334 | local text = Instance.new("TextLabel", txt) | |
1335 | text.Size = UDim2.new(10/2, 0, 7/2, 0) | |
1336 | text.FontSize = "Size8" | |
1337 | text.TextScaled = true | |
1338 | text.TextTransparency = 0 | |
1339 | text.BackgroundTransparency = 1 | |
1340 | text.TextTransparency = 0 | |
1341 | text.TextStrokeTransparency = 0 | |
1342 | text.Font = "Fantasy" | |
1343 | text.TextStrokeColor3 = Color3.new(1,1,1) | |
1344 | text.TextColor3 = Color3.new(0,0,0) | |
1345 | text.Text = "Solitude" | |
1346 | ||
1347 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end) | |
1348 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end) | |
1349 | ||
1350 | function RecolorTextAndRename(name,col1,col2) | |
1351 | text.TextStrokeColor3 = col2 | |
1352 | text.TextColor3 = col1 | |
1353 | text.Text = name | |
1354 | end | |
1355 | mouse=Player:GetMouse() | |
1356 | --save shoulders | |
1357 | RSH, LSH=nil, nil | |
1358 | --welds | |
1359 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
1360 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
1361 | LH=Torso["Left Hip"] | |
1362 | RH=Torso["Right Hip"] | |
1363 | TorsoColor=Torso.BrickColor | |
1364 | function NoOutline(Part) | |
1365 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
1366 | end | |
1367 | player=Player | |
1368 | ch=Character | |
1369 | RSH=ch.Torso["Right Shoulder"] | |
1370 | LSH=ch.Torso["Left Shoulder"] | |
1371 | -- | |
1372 | RSH.Parent=nil | |
1373 | LSH.Parent=nil | |
1374 | -- | |
1375 | RW.Name="Right Shoulder" | |
1376 | RW.Part0=ch.Torso | |
1377 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
1378 | RW.C1=cf(0, 0.5, 0) | |
1379 | RW.Part1=ch["Right Arm"] | |
1380 | RW.Parent=ch.Torso | |
1381 | -- | |
1382 | LW.Name="Left Shoulder" | |
1383 | LW.Part0=ch.Torso | |
1384 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
1385 | LW.C1=cf(0, 0.5, 0) | |
1386 | LW.Part1=ch["Left Arm"] | |
1387 | LW.Parent=ch.Torso | |
1388 | ||
1389 | local Stats=Instance.new("BoolValue") | |
1390 | Stats.Name="Stats" | |
1391 | Stats.Parent=Character | |
1392 | local Atk=Instance.new("NumberValue") | |
1393 | Atk.Name="Damage" | |
1394 | Atk.Parent=Stats | |
1395 | Atk.Value=1 | |
1396 | local Def=Instance.new("NumberValue") | |
1397 | Def.Name="Defense" | |
1398 | Def.Parent=Stats | |
1399 | Def.Value=1 | |
1400 | local Speed=Instance.new("NumberValue") | |
1401 | Speed.Name="Speed" | |
1402 | Speed.Parent=Stats | |
1403 | Speed.Value=1 | |
1404 | local Mvmt=Instance.new("NumberValue") | |
1405 | Mvmt.Name="Movement" | |
1406 | Mvmt.Parent=Stats | |
1407 | Mvmt.Value=1 | |
1408 | ||
1409 | local donum=0 | |
1410 | ||
1411 | ||
1412 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
1413 | local fp=it("Part") | |
1414 | fp.formFactor=formfactor | |
1415 | fp.Parent=parent | |
1416 | fp.Reflectance=reflectance | |
1417 | fp.Transparency=transparency | |
1418 | fp.CanCollide=false | |
1419 | fp.Locked=true | |
1420 | fp.BrickColor=brickcolor | |
1421 | fp.Name=name | |
1422 | fp.Size=size | |
1423 | fp.Position=Torso.Position | |
1424 | NoOutline(fp) | |
1425 | fp.Material="SmoothPlastic" | |
1426 | fp:BreakJoints() | |
1427 | return fp | |
1428 | end | |
1429 | ||
1430 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1431 | local mesh=it(Mesh) | |
1432 | mesh.Parent=part | |
1433 | if Mesh=="SpecialMesh" then | |
1434 | mesh.MeshType=meshtype | |
1435 | if meshid~="nil" then | |
1436 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
1437 | end | |
1438 | end | |
1439 | mesh.Offset=offset | |
1440 | mesh.Scale=scale | |
1441 | return mesh | |
1442 | end | |
1443 | ||
1444 | function weld(parent,part0,part1,c0) | |
1445 | local weld=it("Weld") | |
1446 | weld.Parent=parent | |
1447 | weld.Part0=part0 | |
1448 | weld.Part1=part1 | |
1449 | weld.C0=c0 | |
1450 | return weld | |
1451 | end | |
1452 | ||
1453 | local Color1=Torso.BrickColor | |
1454 | ||
1455 | local bodvel=Instance.new("BodyVelocity") | |
1456 | local bg=Instance.new("BodyGyro") | |
1457 | ||
1458 | --// Artificial HB \\-- | |
1459 | ||
1460 | local ArtificialHB = Instance.new("BindableEvent", script) | |
1461 | ArtificialHB.Name = "Heartbeat" | |
1462 | ||
1463 | script:WaitForChild("Heartbeat") | |
1464 | ||
1465 | local tf = 0 | |
1466 | local allowframeloss = false | |
1467 | local tossremainder = false | |
1468 | local lastframe = tick() | |
1469 | local frame = 1/60 | |
1470 | ArtificialHB:Fire() | |
1471 | ||
1472 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1473 | tf = tf + s | |
1474 | if tf >= frame then | |
1475 | if allowframeloss then | |
1476 | script.Heartbeat:Fire() | |
1477 | lastframe = tick() | |
1478 | else | |
1479 | for i = 1, math.floor(tf / frame) do | |
1480 | ArtificialHB:Fire() | |
1481 | end | |
1482 | lastframe = tick() | |
1483 | end | |
1484 | if tossremainder then | |
1485 | tf = 0 | |
1486 | else | |
1487 | tf = tf - frame * math.floor(tf / frame) | |
1488 | end | |
1489 | end | |
1490 | end) | |
1491 | ||
1492 | function swait(num) | |
1493 | if num == 0 or num == nil then | |
1494 | ArtificialHB.Event:wait() | |
1495 | else | |
1496 | for i = 0, num do | |
1497 | ArtificialHB.Event:wait() | |
1498 | end | |
1499 | end | |
1500 | end | |
1501 | ||
1502 | -------- RAINBOW LEAVE IT TO ME | |
1503 | local r = 255 | |
1504 | local g = 0 | |
1505 | local b = 0 | |
1506 | coroutine.resume(coroutine.create(function() | |
1507 | while wait() do | |
1508 | for i = 0, 254/5 do | |
1509 | swait() | |
1510 | g = g + 5 | |
1511 | end | |
1512 | for i = 0, 254/5 do | |
1513 | swait() | |
1514 | r = r - 5 | |
1515 | end | |
1516 | for i = 0, 254/5 do | |
1517 | swait() | |
1518 | b = b + 5 | |
1519 | end | |
1520 | for i = 0, 254/5 do | |
1521 | swait() | |
1522 | g = g - 5 | |
1523 | end | |
1524 | for i = 0, 254/5 do | |
1525 | swait() | |
1526 | r = r + 5 | |
1527 | end | |
1528 | for i = 0, 254/5 do | |
1529 | swait() | |
1530 | b = b - 5 | |
1531 | end | |
1532 | end | |
1533 | end)) | |
1534 | ||
1535 | ||
1536 | so = function(id,par,vol,pit) | |
1537 | coroutine.resume(coroutine.create(function() | |
1538 | local sou = Instance.new("Sound",par or workspace) | |
1539 | sou.Volume=vol | |
1540 | sou.Pitch=pit or 1 | |
1541 | sou.SoundId=id | |
1542 | swait() | |
1543 | sou:play() | |
1544 | game:GetService("Debris"):AddItem(sou,6) | |
1545 | end)) | |
1546 | end | |
1547 | ||
1548 | function clerp(a,b,t) | |
1549 | return a:lerp(b,t) | |
1550 | end | |
1551 | ||
1552 | local function CFrameFromTopBack(at, top, back) | |
1553 | local right = top:Cross(back) | |
1554 | return CFrame.new(at.x, at.y, at.z, | |
1555 | right.x, top.x, back.x, | |
1556 | right.y, top.y, back.y, | |
1557 | right.z, top.z, back.z) | |
1558 | end | |
1559 | ||
1560 | function Triangle(a, b, c) | |
1561 | local edg1 = (c-a):Dot((b-a).unit) | |
1562 | local edg2 = (a-b):Dot((c-b).unit) | |
1563 | local edg3 = (b-c):Dot((a-c).unit) | |
1564 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
1565 | a, b, c = a, b, c | |
1566 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
1567 | a, b, c = b, c, a | |
1568 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
1569 | a, b, c = c, a, b | |
1570 | else | |
1571 | assert(false, "unreachable") | |
1572 | end | |
1573 | ||
1574 | local len1 = (c-a):Dot((b-a).unit) | |
1575 | local len2 = (b-a).magnitude - len1 | |
1576 | local width = (a + (b-a).unit*len1 - c).magnitude | |
1577 | ||
1578 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
1579 | ||
1580 | local list = {} | |
1581 | ||
1582 | if len1 > 0.01 then | |
1583 | local w1 = Instance.new('WedgePart', m) | |
1584 | game:GetService("Debris"):AddItem(w1,5) | |
1585 | w1.Material = "SmoothPlastic" | |
1586 | w1.FormFactor = 'Custom' | |
1587 | w1.BrickColor = BrickColor.new("Really black") | |
1588 | w1.Transparency = 0 | |
1589 | w1.Reflectance = 0 | |
1590 | w1.Material = "SmoothPlastic" | |
1591 | w1.CanCollide = false | |
1592 | local l1 = Instance.new("PointLight",w1) | |
1593 | l1.Color = Color3.new(170,0,0) | |
1594 | NoOutline(w1) | |
1595 | local sz = Vector3.new(0.2, width, len1) | |
1596 | w1.Size = sz | |
1597 | local sp = Instance.new("SpecialMesh",w1) | |
1598 | sp.MeshType = "Wedge" | |
1599 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
1600 | w1:BreakJoints() | |
1601 | w1.Anchored = true | |
1602 | w1.Parent = workspace | |
1603 | w1.Transparency = 0.7 | |
1604 | table.insert(Effects,{w1,"Disappear",.01}) | |
1605 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
1606 | table.insert(list,w1) | |
1607 | end | |
1608 | ||
1609 | if len2 > 0.01 then | |
1610 | local w2 = Instance.new('WedgePart', m) | |
1611 | game:GetService("Debris"):AddItem(w2,5) | |
1612 | w2.Material = "SmoothPlastic" | |
1613 | w2.FormFactor = 'Custom' | |
1614 | w2.BrickColor = BrickColor.new("Really black") | |
1615 | w2.Transparency = 0 | |
1616 | w2.Reflectance = 0 | |
1617 | w2.Material = "SmoothPlastic" | |
1618 | w2.CanCollide = false | |
1619 | local l2 = Instance.new("PointLight",w2) | |
1620 | l2.Color = Color3.new(170,0,0) | |
1621 | NoOutline(w2) | |
1622 | local sz = Vector3.new(0.2, width, len2) | |
1623 | w2.Size = sz | |
1624 | local sp = Instance.new("SpecialMesh",w2) | |
1625 | sp.MeshType = "Wedge" | |
1626 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
1627 | w2:BreakJoints() | |
1628 | w2.Anchored = true | |
1629 | w2.Parent = workspace | |
1630 | w2.Transparency = 0.7 | |
1631 | table.insert(Effects,{w2,"Disappear",.01}) | |
1632 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
1633 | table.insert(list,w2) | |
1634 | end | |
1635 | return unpack(list) | |
1636 | end | |
1637 | ||
1638 | ||
1639 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1640 | if hit.Parent == nil then | |
1641 | return | |
1642 | end | |
1643 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1644 | for _, v in pairs(hit.Parent:children()) do | |
1645 | if v:IsA("Humanoid") then | |
1646 | h = v | |
1647 | end | |
1648 | end | |
1649 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then | |
1650 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
1651 | return | |
1652 | end | |
1653 | local c = Create("ObjectValue")({ | |
1654 | Name = "creator", | |
1655 | Value = game:service("Players").LocalPlayer, | |
1656 | Parent = h | |
1657 | }) | |
1658 | game:GetService("Debris"):AddItem(c, 0.5) | |
1659 | if HitSound ~= nil and HitPitch ~= nil then | |
1660 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
1661 | end | |
1662 | local Damage = math.random(minim, maxim) | |
1663 | local blocked = false | |
1664 | local block = hit.Parent:findFirstChild("Block") | |
1665 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
1666 | blocked = true | |
1667 | block.Value = block.Value - 1 | |
1668 | print(block.Value) | |
1669 | end | |
1670 | if blocked == false then | |
1671 | HitHealth = h.Health | |
1672 | h.Health = h.Health - Damage | |
1673 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
1674 | print("gained kill") | |
1675 | end | |
1676 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1677 | else | |
1678 | h.Health = h.Health - Damage / 2 | |
1679 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1680 | end | |
1681 | if Type == "Knockdown" then | |
1682 | local hum = hit.Parent:FindFirstChildOfClass'Humanoid' | |
1683 | hum.PlatformStand = true | |
1684 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1685 | swait(1) | |
1686 | HHumanoid.PlatformStand = false | |
1687 | end), hum) | |
1688 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
1689 | local bodvol = Create("BodyVelocity")({ | |
1690 | velocity = angle * knockback, | |
1691 | P = 5000, | |
1692 | maxForce = Vector3.new(8000, 8000, 8000), | |
1693 | Parent = hit | |
1694 | }) | |
1695 | local rl = Create("BodyAngularVelocity")({ | |
1696 | P = 3000, | |
1697 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1698 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1699 | Parent = hit | |
1700 | }) | |
1701 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
1702 | game:GetService("Debris"):AddItem(rl, 0.5) | |
1703 | elseif Type == "Normal" then | |
1704 | local vp = Create("BodyVelocity")({ | |
1705 | P = 500, | |
1706 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1707 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
1708 | }) | |
1709 | if knockback > 0 then | |
1710 | vp.Parent = hit.Parent.Head | |
1711 | end | |
1712 | game:GetService("Debris"):AddItem(vp, 0.5) | |
1713 | elseif Type == "Up" then | |
1714 | local bodyVelocity = Create("BodyVelocity")({ | |
1715 | velocity = Vector3.new(0, 20, 0), | |
1716 | P = 5000, | |
1717 | maxForce = Vector3.new(8000, 8000, 8000), | |
1718 | Parent = hit | |
1719 | }) | |
1720 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
1721 | local bodyVelocity = Create("BodyVelocity")({ | |
1722 | velocity = Vector3.new(0, 20, 0), | |
1723 | P = 5000, | |
1724 | maxForce = Vector3.new(8000, 8000, 8000), | |
1725 | Parent = hit | |
1726 | }) | |
1727 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1728 | elseif Type == "Leech" then | |
1729 | local hum = hit.Parent:FindFirstChildOfClass'Humanoid' | |
1730 | if hum ~= nil then | |
1731 | for i = 0, 2 do | |
1732 | 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) | |
1733 | end | |
1734 | Humanoid.Health = Humanoid.Health + 10 | |
1735 | end | |
1736 | elseif Type == "UpKnock" then | |
1737 | local hum = hit.Parent:FindFirstChildOfClass'Humanoid' | |
1738 | hum.PlatformStand = true | |
1739 | if hum ~= nil then | |
1740 | hitr = true | |
1741 | end | |
1742 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1743 | swait(5) | |
1744 | HHumanoid.PlatformStand = false | |
1745 | hitr = false | |
1746 | end), hum) | |
1747 | local bodyVelocity = Create("BodyVelocity")({ | |
1748 | velocity = Vector3.new(0, 20, 0), | |
1749 | P = 5000, | |
1750 | maxForce = Vector3.new(8000, 8000, 8000), | |
1751 | Parent = hit | |
1752 | }) | |
1753 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
1754 | local bodyVelocity = Create("BodyVelocity")({ | |
1755 | velocity = Vector3.new(0, 20, 0), | |
1756 | P = 5000, | |
1757 | maxForce = Vector3.new(8000, 8000, 8000), | |
1758 | Parent = hit | |
1759 | }) | |
1760 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1761 | elseif Type == "Snare" then | |
1762 | local bp = Create("BodyPosition")({ | |
1763 | P = 2000, | |
1764 | D = 100, | |
1765 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1766 | position = hit.Parent.Torso.Position, | |
1767 | Parent = hit.Parent.Torso | |
1768 | }) | |
1769 | game:GetService("Debris"):AddItem(bp, 1) | |
1770 | elseif Type == "Slashnare" then | |
1771 | 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) | |
1772 | for i = 1, math.random(4, 5) do | |
1773 | 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) | |
1774 | end | |
1775 | local bp = Create("BodyPosition")({ | |
1776 | P = 2000, | |
1777 | D = 100, | |
1778 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1779 | position = hit.Parent.Torso.Position, | |
1780 | Parent = hit.Parent.Torso | |
1781 | }) | |
1782 | game:GetService("Debris"):AddItem(bp, 1) | |
1783 | elseif Type == "Spike" then | |
1784 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
1785 | local bp = Create("BodyPosition")({ | |
1786 | P = 2000, | |
1787 | D = 100, | |
1788 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1789 | position = hit.Parent.Torso.Position, | |
1790 | Parent = hit.Parent.Torso | |
1791 | }) | |
1792 | game:GetService("Debris"):AddItem(bp, 1) | |
1793 | elseif Type == "Freeze" then | |
1794 | local BodPos = Create("BodyPosition")({ | |
1795 | P = 50000, | |
1796 | D = 1000, | |
1797 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1798 | position = hit.Parent.Torso.Position, | |
1799 | Parent = hit.Parent.Torso | |
1800 | }) | |
1801 | local BodGy = Create("BodyGyro")({ | |
1802 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
1803 | P = 20000, | |
1804 | Parent = hit.Parent.Torso, | |
1805 | cframe = hit.Parent.Torso.CFrame | |
1806 | }) | |
1807 | hit.Parent.Torso.Anchored = true | |
1808 | coroutine.resume(coroutine.create(function(Part) | |
1809 | swait(1.5) | |
1810 | Part.Anchored = false | |
1811 | end), hit.Parent.Torso) | |
1812 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1813 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1814 | end | |
1815 | local debounce = Create("BoolValue")({ | |
1816 | Name = "DebounceHit", | |
1817 | Parent = hit.Parent, | |
1818 | Value = true | |
1819 | }) | |
1820 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1821 | c = Instance.new("ObjectValue") | |
1822 | c.Name = "creator" | |
1823 | c.Value = Player | |
1824 | c.Parent = h | |
1825 | game:GetService("Debris"):AddItem(c, 0.5) | |
1826 | end | |
1827 | end | |
1828 | function ShowDamage(Pos, Text, Time, Color) | |
1829 | local Rate = 0.03333333333333333 | |
1830 | local Pos = Pos or Vector3.new(0, 0, 0) | |
1831 | local Text = Text or "" | |
1832 | local Time = Time or 2 | |
1833 | local Color = Color or Color3.new(1, 0, 1) | |
1834 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1835 | EffectPart.Anchored = true | |
1836 | local BillboardGui = Create("BillboardGui")({ | |
1837 | Size = UDim2.new(3, 0, 3, 0), | |
1838 | Adornee = EffectPart, | |
1839 | Parent = EffectPart | |
1840 | }) | |
1841 | local TextLabel = Create("TextLabel")({ | |
1842 | BackgroundTransparency = 1, | |
1843 | Size = UDim2.new(1, 0, 1, 0), | |
1844 | Text = Text, | |
1845 | TextColor3 = Color, | |
1846 | TextScaled = true, | |
1847 | Font = Enum.Font.ArialBold, | |
1848 | Parent = BillboardGui | |
1849 | }) | |
1850 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
1851 | EffectPart.Parent = game:GetService("Workspace") | |
1852 | delay(0, function() | |
1853 | local Frames = Time / Rate | |
1854 | for Frame = 1, Frames do | |
1855 | wait(Rate) | |
1856 | local Percent = Frame / Frames | |
1857 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1858 | TextLabel.TextTransparency = Percent | |
1859 | end | |
1860 | if EffectPart and EffectPart.Parent then | |
1861 | EffectPart:Destroy() | |
1862 | end | |
1863 | end) | |
1864 | end | |
1865 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
1866 | for _, c in pairs(workspace:children()) do | |
1867 | local hum = c:findFirstChildOfClass("Humanoid") | |
1868 | if hum ~= nil then | |
1869 | local head = c:findFirstChild("Head") | |
1870 | if head ~= nil then | |
1871 | local targ = head.Position - Part.Position | |
1872 | local mag = targ.magnitude | |
1873 | if magni >= mag and c.Name ~= Player.Name then | |
1874 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
1875 | end | |
1876 | end | |
1877 | end | |
1878 | end | |
1879 | end | |
1880 | ||
1881 | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) | |
1882 | for _, c in pairs(workspace:children()) do | |
1883 | local hum = c:findFirstChild("Humanoid") | |
1884 | if hum ~= nil then | |
1885 | local head = c:findFirstChild("Torso") | |
1886 | if head ~= nil then | |
1887 | local targ = head.Position - Part.Position | |
1888 | local mag = targ.magnitude | |
1889 | if magni >= mag and c.Name ~= Player.Name then | |
1890 | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05) | |
1891 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
1892 | end | |
1893 | end | |
1894 | end | |
1895 | end | |
1896 | end | |
1897 | ||
1898 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
1899 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
1900 | end | |
1901 | ||
1902 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
1903 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1904 | prt.Anchored=true | |
1905 | prt.CFrame=cframe | |
1906 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) | |
1907 | --http://www.roblox.com/asset/?id=4770560 | |
1908 | game:GetService("Debris"):AddItem(prt,2) | |
1909 | CF=prt.CFrame | |
1910 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
1911 | for i=0,1,0.2 do | |
1912 | wait() | |
1913 | Part.CFrame=CF*cf(0,0,-0.4) | |
1914 | end | |
1915 | for i=0,1,delay do | |
1916 | wait() | |
1917 | --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) | |
1918 | Mesh.Scale=Mesh.Scale | |
1919 | end | |
1920 | for i=0,1,0.1 do | |
1921 | wait() | |
1922 | Part.Transparency=i | |
1923 | end | |
1924 | Part.Parent=nil | |
1925 | end),prt,msh,CF) | |
1926 | end | |
1927 | ||
1928 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1929 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1930 | prt.Anchored=true | |
1931 | prt.Material = "Neon" | |
1932 | prt.CFrame=cframe | |
1933 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1934 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1935 | game:GetService("Debris"):AddItem(prt,5) | |
1936 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1937 | for i=0,1,delay do | |
1938 | swait() | |
1939 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1940 | Part.Transparency=i | |
1941 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1942 | end | |
1943 | Part.Parent=nil | |
1944 | end),prt,msh) | |
1945 | end | |
1946 | ||
1947 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
1948 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1949 | prt.Anchored=true | |
1950 | prt.Material = "Neon" | |
1951 | prt.CFrame=cframe | |
1952 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1953 | game:GetService("Debris"):AddItem(prt,5) | |
1954 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1955 | local rtype = rottype | |
1956 | for i=0,1,delay do | |
1957 | swait() | |
1958 | if rtype == 1 then | |
1959 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1960 | elseif rtype == 2 then | |
1961 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1962 | end | |
1963 | Part.Transparency=i | |
1964 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1965 | end | |
1966 | Part.Parent=nil | |
1967 | end),prt,msh) | |
1968 | end | |
1969 | ||
1970 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1971 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1972 | prt.Anchored=true | |
1973 | prt.CFrame=cframe | |
1974 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1975 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
1976 | game:GetService("Debris"):AddItem(prt,5) | |
1977 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1978 | for i=0,1,delay do | |
1979 | wait() | |
1980 | Part.Transparency=i | |
1981 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1982 | end | |
1983 | Part.Parent=nil | |
1984 | end),prt,msh) | |
1985 | end | |
1986 | ||
1987 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
1988 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1989 | prt.Anchored=true | |
1990 | prt.Material = "Neon" | |
1991 | prt.CFrame=cframe | |
1992 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1993 | game:GetService("Debris"):AddItem(prt,5) | |
1994 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1995 | local rtype = rottype | |
1996 | for i=0,1,delay do | |
1997 | swait() | |
1998 | if rtype == 1 then | |
1999 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2000 | elseif rtype == 2 then | |
2001 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2002 | end | |
2003 | Part.Transparency=i | |
2004 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2005 | end | |
2006 | Part.Parent=nil | |
2007 | end),prt,msh) | |
2008 | end | |
2009 | ||
2010 | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
2011 | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2012 | prt.Anchored=true | |
2013 | prt.Material = "Neon" | |
2014 | prt.CFrame=cframe | |
2015 | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
2016 | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
2017 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) | |
2018 | game:GetService("Debris"):AddItem(prt,5) | |
2019 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2020 | local rtype = rottype | |
2021 | for i=0,1,delay do | |
2022 | swait() | |
2023 | if rtype == 1 then | |
2024 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2025 | elseif rtype == 2 then | |
2026 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2027 | end | |
2028 | dec.Transparency=i | |
2029 | dec2.Transparency=i | |
2030 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
2031 | end | |
2032 | Part.Parent=nil | |
2033 | end),prt,msh) | |
2034 | end | |
2035 | ||
2036 | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
2037 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2038 | prt.Anchored=true | |
2039 | prt.Material = "Neon" | |
2040 | prt.CFrame=cframe | |
2041 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) | |
2042 | game:GetService("Debris"):AddItem(prt,5) | |
2043 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2044 | local rtype = rottype | |
2045 | for i=0,1,delay do | |
2046 | swait() | |
2047 | if rtype == 1 then | |
2048 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2049 | elseif rtype == 2 then | |
2050 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2051 | end | |
2052 | prt.Transparency=i | |
2053 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
2054 | end | |
2055 | Part.Parent=nil | |
2056 | end),prt,msh) | |
2057 | end | |
2058 | ||
2059 | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) | |
2060 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2061 | prt.Anchored=true | |
2062 | prt.Material = "Neon" | |
2063 | prt.CFrame=cframe | |
2064 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1)) | |
2065 | game:GetService("Debris"):AddItem(prt,5) | |
2066 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2067 | local rtype = rottype | |
2068 | for i=0,1,delay do | |
2069 | swait() | |
2070 | if rtype == 1 then | |
2071 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) | |
2072 | elseif rtype == 2 then | |
2073 | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) | |
2074 | end | |
2075 | prt.Transparency=i | |
2076 | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) | |
2077 | end | |
2078 | Part.Parent=nil | |
2079 | end),prt,msh) | |
2080 | end | |
2081 | ||
2082 | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype) | |
2083 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2084 | prt.Anchored=true | |
2085 | prt.Material = "Neon" | |
2086 | prt.CFrame=cframe | |
2087 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2088 | game:GetService("Debris"):AddItem(prt,5) | |
2089 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2090 | local rtype = rottype | |
2091 | for i=0,1,delay do | |
2092 | swait() | |
2093 | if rtype == 1 then | |
2094 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2095 | elseif rtype == 2 then | |
2096 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2097 | end | |
2098 | prt.Transparency=i | |
2099 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
2100 | end | |
2101 | Part.Parent=nil | |
2102 | end),prt,msh) | |
2103 | end | |
2104 | ||
2105 | function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
2106 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2107 | prt.Anchored=true | |
2108 | prt.Material = "Neon" | |
2109 | prt.CFrame=cframe | |
2110 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2111 | game:GetService("Debris"):AddItem(prt,5) | |
2112 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2113 | local rtype = rottype | |
2114 | for i=0,1,delay do | |
2115 | swait() | |
2116 | if rtype == 1 then | |
2117 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2118 | elseif rtype == 2 then | |
2119 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2120 | end | |
2121 | prt.Transparency=i | |
2122 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2123 | end | |
2124 | Part.Parent=nil | |
2125 | end),prt,msh) | |
2126 | end | |
2127 | ||
2128 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
2129 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2130 | prt.Anchored=false | |
2131 | prt.CFrame=cframe | |
2132 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2133 | local wld=weld(prt,prt,Parent,cframe) | |
2134 | game:GetService("Debris"):AddItem(prt,5) | |
2135 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
2136 | for i=0,1,delay do | |
2137 | wait() | |
2138 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
2139 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2140 | Part.Transparency=i | |
2141 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2142 | end | |
2143 | Part.Parent=nil | |
2144 | end),prt,msh,wld) | |
2145 | end | |
2146 | ||
2147 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
2148 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2149 | prt.Anchored=false | |
2150 | prt.CFrame=cframe | |
2151 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2152 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
2153 | game:GetService("Debris"):AddItem(prt,5) | |
2154 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
2155 | for i=0,1,delay do | |
2156 | wait() | |
2157 | Weld.C0=euler(i*20,0,0) | |
2158 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2159 | Part.Transparency=i | |
2160 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2161 | end | |
2162 | Part.Parent=nil | |
2163 | end),prt,msh,wld) | |
2164 | end | |
2165 | ||
2166 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2167 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2168 | prt.Anchored=true | |
2169 | prt.CFrame=cframe | |
2170 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2171 | game:GetService("Debris"):AddItem(prt,2) | |
2172 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2173 | for i=0,1,delay do | |
2174 | wait() | |
2175 | Part.CFrame=Part.CFrame | |
2176 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2177 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2178 | prt2.Anchored=true | |
2179 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2180 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) | |
2181 | game:GetService("Debris"):AddItem(prt2,2) | |
2182 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2183 | for i=0,1,0.1 do | |
2184 | wait() | |
2185 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
2186 | end | |
2187 | Part.Parent=nil | |
2188 | end),prt2,msh2) | |
2189 | end | |
2190 | for i=0,1,delay*2 do | |
2191 | wait() | |
2192 | Part.CFrame=Part.CFrame | |
2193 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
2194 | end | |
2195 | Part.Parent=nil | |
2196 | end),prt,msh) | |
2197 | end | |
2198 | ||
2199 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2200 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2201 | prt.Anchored=true | |
2202 | prt.CFrame=cframe | |
2203 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2204 | game:GetService("Debris"):AddItem(prt,2) | |
2205 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2206 | for i=0,1,delay do | |
2207 | wait() | |
2208 | Part.CFrame=Part.CFrame | |
2209 | Part.Transparency=i | |
2210 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2211 | end | |
2212 | Part.Parent=nil | |
2213 | end),prt,msh) | |
2214 | end | |
2215 | ||
2216 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
2217 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2218 | prt.Anchored=true | |
2219 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2220 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2221 | game:GetService("Debris"):AddItem(prt,2) | |
2222 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
2223 | CF=Part.CFrame | |
2224 | Numbb=0 | |
2225 | randnumb=math.random()/10 | |
2226 | rand1=math.random()/10 | |
2227 | for i=0,1,rand1 do | |
2228 | wait() | |
2229 | CF=CF*cf(0,math.random()/2,0) | |
2230 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
2231 | Part.CFrame=CF*euler(Numbb,0,0) | |
2232 | Part.Transparency=i | |
2233 | Numbb=Numbb+randnumb | |
2234 | end | |
2235 | Part.Parent=nil | |
2236 | end),prt,CF,Numbb,randnumb) | |
2237 | end | |
2238 | ||
2239 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2240 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2241 | prt.Anchored=true | |
2242 | prt.CFrame=cframe | |
2243 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
2244 | game:GetService("Debris"):AddItem(prt,5) | |
2245 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2246 | for i=0,1,delay do | |
2247 | wait() | |
2248 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
2249 | Part.Transparency=i | |
2250 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2251 | end | |
2252 | Part.Parent=nil | |
2253 | end),prt,msh) | |
2254 | end | |
2255 | ||
2256 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2257 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2258 | prt.Anchored=true | |
2259 | prt.CFrame=cframe | |
2260 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) | |
2261 | game:GetService("Debris"):AddItem(prt,2) | |
2262 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2263 | for i=0,1,delay do | |
2264 | wait() | |
2265 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
2266 | Part.Transparency=i | |
2267 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2268 | end | |
2269 | Part.Parent=nil | |
2270 | end),prt,msh) | |
2271 | end | |
2272 | ||
2273 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
2274 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2275 | prt.Anchored=true | |
2276 | prt.CFrame=cframe*cf(x,y,z) | |
2277 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) | |
2278 | game:GetService("Debris"):AddItem(prt,5) | |
2279 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
2280 | local num=math.random() | |
2281 | local num2=math.random(-3,2)+math.random() | |
2282 | local numm=0 | |
2283 | for i=0,1,delay*2 do | |
2284 | swait() | |
2285 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
2286 | Part.Transparency=i | |
2287 | numm=numm+0.01 | |
2288 | end | |
2289 | Part.Parent=nil | |
2290 | Mesh.Parent=nil | |
2291 | end),prt,msh,x,y,z) | |
2292 | end | |
2293 | ||
2294 | function dmgstart(dmg,what) | |
2295 | hitcon = what.Touched:connect(function(hit) | |
2296 | local hum = hit.Parent:FindFirstChild("Humanoid") | |
2297 | if hum and not hum:IsDescendantOf(Character) then | |
2298 | hum:TakeDamage(dmg) | |
2299 | end | |
2300 | end) | |
2301 | end | |
2302 | ||
2303 | function dmgstop() | |
2304 | hitcon:disconnect() | |
2305 | end | |
2306 | ||
2307 | function Cloak() | |
2308 | Face.Parent=nil | |
2309 | cloaked=true | |
2310 | for _,v in pairs(Torso.Parent:children()) do | |
2311 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
2312 | coroutine.resume(coroutine.create(function() | |
2313 | for i=0,1,0.2 do | |
2314 | wait() | |
2315 | v.Transparency=i | |
2316 | end | |
2317 | v.Transparency=1 | |
2318 | end)) | |
2319 | end | |
2320 | if v.className=="Hat" then | |
2321 | hatp=v.Handle | |
2322 | coroutine.resume(coroutine.create(function(derp) | |
2323 | for i=0,1,0.2 do | |
2324 | wait() | |
2325 | derp.Transparency=i | |
2326 | end | |
2327 | derp.Transparency=1 | |
2328 | end),hatp) | |
2329 | end | |
2330 | end | |
2331 | for _,v in pairs(m:children()) do | |
2332 | if v.className=="Part" then | |
2333 | coroutine.resume(coroutine.create(function() | |
2334 | for i=0,1,0.2 do | |
2335 | wait() | |
2336 | v.Transparency=i | |
2337 | end | |
2338 | v.Transparency=1 | |
2339 | end)) | |
2340 | end | |
2341 | end | |
2342 | end | |
2343 | ||
2344 | function UnCloak() | |
2345 | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) | |
2346 | Face.Parent=Head | |
2347 | cloaked=false | |
2348 | for _,v in pairs(Torso.Parent:children()) do | |
2349 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
2350 | coroutine.resume(coroutine.create(function() | |
2351 | for i=0,1,0.1 do | |
2352 | wait() | |
2353 | v.Transparency=v.Transparency-0.1 | |
2354 | end | |
2355 | v.Transparency=0 | |
2356 | end)) | |
2357 | end | |
2358 | if v.className=="Hat" then | |
2359 | hatp=v.Handle | |
2360 | coroutine.resume(coroutine.create(function(derp) | |
2361 | for i=0,1,0.1 do | |
2362 | wait() | |
2363 | derp.Transparency=derp.Transparency-0.1 | |
2364 | end | |
2365 | derp.Transparency=0 | |
2366 | end),hatp) | |
2367 | end | |
2368 | end | |
2369 | for _,v in pairs(m:children()) do | |
2370 | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then | |
2371 | coroutine.resume(coroutine.create(function() | |
2372 | for i=0,1,0.1 do | |
2373 | wait() | |
2374 | v.Transparency=v.Transparency-0.1 | |
2375 | end | |
2376 | v.Transparency=0 | |
2377 | end)) | |
2378 | v.Transparency=0 | |
2379 | end | |
2380 | end | |
2381 | end | |
2382 | ||
2383 | local origcolor = BrickColor.new("Pastel light blue") | |
2384 | ---- This section of explosions. | |
2385 | function Explode(rad,par,pitch,vol,mindam,maxdam) | |
2386 | local expart = Instance.new("Part",char) | |
2387 | local expart2 = Instance.new("Part",char) | |
2388 | local rin = Instance.new("Part",char) | |
2389 | local rin2 = Instance.new("Part",char) | |
2390 | local partMesh = Instance.new("SpecialMesh",expart) | |
2391 | partMesh.MeshType = "Sphere" | |
2392 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
2393 | partMesh2.MeshType = "Sphere" | |
2394 | local partMesh3 = Instance.new("SpecialMesh",rin) | |
2395 | partMesh3.MeshType = "Brick" | |
2396 | local partMesh4 = Instance.new("SpecialMesh",rin2) | |
2397 | partMesh4.MeshType = "Brick" | |
2398 | CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch) | |
2399 | partMesh.Scale = vt(rad,rad,rad) | |
2400 | expart.Size = vt(1,1,1) | |
2401 | expart.Transparency = 0 | |
2402 | expart.Anchored = true | |
2403 | expart.Material = "Neon" | |
2404 | expart.BrickColor = bc("White") | |
2405 | expart.CFrame = par.CFrame | |
2406 | partMesh2.Scale = vt(rad,rad,rad) | |
2407 | expart2.Size = vt(1.15,1.15,1.15) | |
2408 | expart2.Transparency = 0.5 | |
2409 | expart2.Anchored = true | |
2410 | expart2.Material = "Neon" | |
2411 | expart2.BrickColor = par.BrickColor | |
2412 | expart2.CFrame = par.CFrame | |
2413 | rin.Size = vt(1.15,1.15,1.15) | |
2414 | rin.Transparency = 1 | |
2415 | rin.Anchored = true | |
2416 | rin.Material = "Neon" | |
2417 | rin.BrickColor = par.BrickColor | |
2418 | rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
2419 | rin2.Size = vt(1.15,1.15,1.15) | |
2420 | rin2.Transparency = 1 | |
2421 | rin2.Anchored = true | |
2422 | rin2.Material = "Neon" | |
2423 | rin2.BrickColor = par.BrickColor | |
2424 | rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
2425 | partMesh3.Scale = vt(0,1,0) | |
2426 | partMesh4.Scale = vt(0,1,0) | |
2427 | local dec2 = Instance.new("Decal", rin) | |
2428 | dec2.Face = "Top" | |
2429 | dec2.Texture = "http://www.roblox.com/asset/?id=874580939" | |
2430 | dec2.Parent = rin | |
2431 | local dec2b = dec2:Clone() | |
2432 | dec2b.Face = "Bottom" | |
2433 | dec2b.Parent = rin | |
2434 | ||
2435 | local dec2a = Instance.new("Decal", rin2) | |
2436 | dec2a.Face = "Top" | |
2437 | dec2a.Texture = "http://www.roblox.com/asset/?id=874580939" | |
2438 | dec2a.Parent = rin2 | |
2439 | local dec2ab = dec2a:Clone() | |
2440 | dec2ab.Face = "Bottom" | |
2441 | dec2ab.Parent = rin2 | |
2442 | expart.CanCollide = false | |
2443 | expart2.CanCollide = false | |
2444 | rin.CanCollide = false | |
2445 | rin2.CanCollide = false | |
2446 | MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal") | |
2447 | local value = 1*rad/6.5 | |
2448 | for i = 0, 199 do | |
2449 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
2450 | expart.CFrame = expart.CFrame | |
2451 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
2452 | expart2.CFrame = expart.CFrame | |
2453 | value = value - 0.035*rad/30 | |
2454 | if value < 7.5 then | |
2455 | partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5) | |
2456 | rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0) | |
2457 | partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5) | |
2458 | rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0) | |
2459 | end | |
2460 | if value < 0 then | |
2461 | dec2.Transparency = dec2.Transparency + 0.025 | |
2462 | dec2a.Transparency = dec2a.Transparency + 0.025 | |
2463 | dec2b.Transparency = dec2b.Transparency + 0.025 | |
2464 | dec2ab.Transparency = dec2ab.Transparency + 0.025 | |
2465 | expart.Transparency = expart.Transparency + 0.025 | |
2466 | expart2.Transparency = expart2.Transparency + 0.025 | |
2467 | rin.Transparency = rin.Transparency + 0.025 | |
2468 | rin2.Transparency = rin2.Transparency + 0.025 | |
2469 | end | |
2470 | swait() | |
2471 | end | |
2472 | game:GetService("Debris"):AddItem(expart, 1) | |
2473 | game:GetService("Debris"):AddItem(expart2, 1) | |
2474 | game:GetService("Debris"):AddItem(rin, 1) | |
2475 | game:GetService("Debris"):AddItem(rin2, 1) | |
2476 | end | |
2477 | ||
2478 | function ExplodeShort(rad,par,pitch,vol,mindam,maxdam) | |
2479 | local expart = Instance.new("Part",char) | |
2480 | local expart2 = Instance.new("Part",char) | |
2481 | local partMesh = Instance.new("SpecialMesh",expart) | |
2482 | partMesh.MeshType = "Sphere" | |
2483 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
2484 | partMesh2.MeshType = "Sphere" | |
2485 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch) | |
2486 | partMesh.Scale = vt(rad,rad,rad) | |
2487 | expart.Size = vt(1,1,1) | |
2488 | expart.Transparency = 0 | |
2489 | expart.Anchored = true | |
2490 | expart.Material = "Neon" | |
2491 | expart.BrickColor = bc("White") | |
2492 | expart.CFrame = par.CFrame | |
2493 | partMesh2.Scale = vt(rad,rad,rad) | |
2494 | expart2.Size = vt(1.15,1.15,1.15) | |
2495 | expart2.Transparency = 0.5 | |
2496 | expart2.Anchored = true | |
2497 | expart2.Material = "Neon" | |
2498 | expart2.BrickColor = par.BrickColor | |
2499 | expart2.CFrame = par.CFrame | |
2500 | expart.CanCollide = false | |
2501 | expart2.CanCollide = false | |
2502 | MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal") | |
2503 | local value = 1*rad/6.5 | |
2504 | for i = 0, 75 do | |
2505 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
2506 | expart.CFrame = expart.CFrame | |
2507 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
2508 | expart2.CFrame = expart.CFrame | |
2509 | value = value - 0.035*rad/5 | |
2510 | if value < 0 then | |
2511 | value = 0 | |
2512 | expart.Transparency = expart.Transparency + 0.05 | |
2513 | expart2.Transparency = expart2.Transparency + 0.05 | |
2514 | end | |
2515 | swait() | |
2516 | end | |
2517 | game:GetService("Debris"):AddItem(expart, 1) | |
2518 | game:GetService("Debris"):AddItem(expart2, 1) | |
2519 | end | |
2520 | ||
2521 | function AreaDanger(rad,par,mindam,maxdam) | |
2522 | local expart = Instance.new("Part",char) | |
2523 | local partMesh = Instance.new("SpecialMesh",expart) | |
2524 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15) | |
2525 | partMesh.MeshType = "Sphere" | |
2526 | partMesh.Scale = vt(rad,rad,rad) | |
2527 | expart.Size = vt(1,1,1) | |
2528 | expart.Transparency = 0.5 | |
2529 | expart.Anchored = true | |
2530 | expart.Material = "Neon" | |
2531 | expart.CanCollide = false | |
2532 | expart.BrickColor = par.BrickColor | |
2533 | expart.CFrame = par.CFrame | |
2534 | local value = 1*rad/5 | |
2535 | MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1) | |
2536 | for i = 0, 14 do | |
2537 | wait() | |
2538 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
2539 | expart.CFrame = expart.CFrame | |
2540 | value = value - 0.035*rad | |
2541 | if value < 0 then | |
2542 | value = 0 | |
2543 | end | |
2544 | end | |
2545 | wait(0.25) | |
2546 | CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1) | |
2547 | wait(0.5) | |
2548 | CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1) | |
2549 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75) | |
2550 | MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal") | |
2551 | MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025) | |
2552 | for i = 0, 14 do | |
2553 | wait() | |
2554 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
2555 | expart.CFrame = expart.CFrame | |
2556 | value = value - 0.035*rad/2 | |
2557 | end | |
2558 | expart.Transparency = 1 | |
2559 | game:GetService("Debris"):AddItem(expart, 5) | |
2560 | end | |
2561 | ||
2562 | function Swarmsplosions(negrad,rad,par,mindam,maxdam) | |
2563 | CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2) | |
2564 | CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1) | |
2565 | CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1) | |
2566 | CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1) | |
2567 | MagniDamageWithEffect(par, 25, 5,10, 0, "Normal") | |
2568 | MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025) | |
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,25,0.005,math.random(1,2)) | |
2571 | end | |
2572 | for i = 0, 24 do | |
2573 | local expart = Instance.new("Part",char) | |
2574 | expart.Transparency = 1 | |
2575 | expart.Anchored = true | |
2576 | expart.CanCollide = false | |
2577 | expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad)) | |
2578 | CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2) | |
2579 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15) | |
2580 | MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal") | |
2581 | MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025) | |
2582 | for i = 0, 9 do | |
2583 | 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)) | |
2584 | end | |
2585 | game:GetService("Debris"):AddItem(expart, 2) | |
2586 | wait(0.1) | |
2587 | end | |
2588 | end | |
2589 | ||
2590 | function EXterPlosion(par) | |
2591 | CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1) | |
2592 | CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85) | |
2593 | CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2) | |
2594 | CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1) | |
2595 | MagniDamageWithEffect(par, 500, 80,99, 0, "Normal") | |
2596 | MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005) | |
2597 | MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1) | |
2598 | for i = 0, 24 do | |
2599 | 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)) | |
2600 | end | |
2601 | for i = 0, 24 do | |
2602 | 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)) | |
2603 | end | |
2604 | end | |
2605 | ---- | |
2606 | ||
2607 | ||
2608 | function ring(type,pos,scale,value) | |
2609 | local type = type | |
2610 | local rng = Instance.new("Part", char) | |
2611 | rng.Anchored = true | |
2612 | rng.BrickColor = origcolor | |
2613 | rng.CanCollide = false | |
2614 | rng.FormFactor = 3 | |
2615 | rng.Name = "Ring" | |
2616 | rng.Size = Vector3.new(1, 1, 1) | |
2617 | rng.Transparency = 0 | |
2618 | rng.TopSurface = 0 | |
2619 | rng.BottomSurface = 0 | |
2620 | rng.CFrame = pos | |
2621 | local rngm = Instance.new("SpecialMesh", rng) | |
2622 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2623 | rngm.Scale = scale | |
2624 | local scaler2 = 1 | |
2625 | if type == "Add" then | |
2626 | scaler2 = 1*value | |
2627 | elseif type == "Divide" then | |
2628 | scaler2 = 1/value | |
2629 | end | |
2630 | coroutine.resume(coroutine.create(function() | |
2631 | for i = 0,10,0.1 do | |
2632 | swait() | |
2633 | if type == "Add" then | |
2634 | scaler2 = scaler2 - 0.01*value | |
2635 | elseif type == "Divide" then | |
2636 | scaler2 = scaler2 - 0.01/value | |
2637 | end | |
2638 | rng.Transparency = rng.Transparency + 0.01 | |
2639 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2640 | end | |
2641 | rng:Destroy() | |
2642 | end)) | |
2643 | end | |
2644 | ||
2645 | ||
2646 | function wave(type,pos,scale,value) | |
2647 | local type = type | |
2648 | local rng = Instance.new("Part", char) | |
2649 | rng.Anchored = true | |
2650 | rng.BrickColor = origcolor | |
2651 | rng.CanCollide = false | |
2652 | rng.FormFactor = 3 | |
2653 | rng.Name = "Ring" | |
2654 | rng.Size = Vector3.new(1, 1, 1) | |
2655 | rng.Transparency = 0 | |
2656 | rng.TopSurface = 0 | |
2657 | rng.BottomSurface = 0 | |
2658 | rng.CFrame = pos | |
2659 | local rngm = Instance.new("SpecialMesh", rng) | |
2660 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2661 | rngm.Scale = scale | |
2662 | local scaler2 = 1 | |
2663 | if type == "Add" then | |
2664 | scaler2 = 1*value | |
2665 | elseif type == "Divide" then | |
2666 | scaler2 = 1/value | |
2667 | end | |
2668 | coroutine.resume(coroutine.create(function() | |
2669 | for i = 0,10,0.1 do | |
2670 | swait() | |
2671 | if type == "Add" then | |
2672 | scaler2 = scaler2 - 0.01*value | |
2673 | elseif type == "Divide" then | |
2674 | scaler2 = scaler2 - 0.01/value | |
2675 | end | |
2676 | rng.Transparency = rng.Transparency + 0.01 | |
2677 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
2678 | end | |
2679 | rng:Destroy() | |
2680 | end)) | |
2681 | end | |
2682 | ||
2683 | function wind(type,pos,scale,value,speed) | |
2684 | local type = type | |
2685 | local rng = Instance.new("Part", char) | |
2686 | rng.Anchored = true | |
2687 | rng.BrickColor = origcolor | |
2688 | rng.CanCollide = false | |
2689 | rng.FormFactor = 3 | |
2690 | rng.Name = "Ring" | |
2691 | rng.Size = Vector3.new(1, 1, 1) | |
2692 | rng.Transparency = 0 | |
2693 | rng.TopSurface = 0 | |
2694 | rng.BottomSurface = 0 | |
2695 | rng.CFrame = pos | |
2696 | local rngm = Instance.new("SpecialMesh", rng) | |
2697 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
2698 | rngm.Scale = scale | |
2699 | local scaler2 = 1 | |
2700 | if type == "Add" then | |
2701 | scaler2 = 1*value | |
2702 | elseif type == "Divide" then | |
2703 | scaler2 = 1/value | |
2704 | end | |
2705 | coroutine.resume(coroutine.create(function() | |
2706 | for i = 0,10,0.1 do | |
2707 | swait() | |
2708 | if type == "Add" then | |
2709 | scaler2 = scaler2 - 0.01*value | |
2710 | elseif type == "Divide" then | |
2711 | scaler2 = scaler2 - 0.01/value | |
2712 | end | |
2713 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
2714 | rng.Transparency = rng.Transparency + 0.01 | |
2715 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
2716 | end | |
2717 | rng:Destroy() | |
2718 | end)) | |
2719 | end | |
2720 | ||
2721 | function groundwind(type,pos,scale,value,speed) | |
2722 | local type = type | |
2723 | local rng = Instance.new("Part", char) | |
2724 | rng.Anchored = true | |
2725 | rng.BrickColor = origcolor | |
2726 | rng.CanCollide = false | |
2727 | rng.FormFactor = 3 | |
2728 | rng.Name = "Ring" | |
2729 | rng.Size = Vector3.new(1, 1, 1) | |
2730 | rng.Transparency = 0 | |
2731 | rng.TopSurface = 0 | |
2732 | rng.BottomSurface = 0 | |
2733 | rng.CFrame = pos | |
2734 | local rngm = Instance.new("SpecialMesh", rng) | |
2735 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
2736 | rngm.Scale = scale | |
2737 | local scaler2 = 1 | |
2738 | if type == "Add" then | |
2739 | scaler2 = 1*value | |
2740 | elseif type == "Divide" then | |
2741 | scaler2 = 1/value | |
2742 | end | |
2743 | coroutine.resume(coroutine.create(function() | |
2744 | for i = 0,10,0.1 do | |
2745 | swait() | |
2746 | if type == "Add" then | |
2747 | scaler2 = scaler2 - 0.01*value | |
2748 | elseif type == "Divide" then | |
2749 | scaler2 = scaler2 - 0.01/value | |
2750 | end | |
2751 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
2752 | rng.Transparency = rng.Transparency + 0.01 | |
2753 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2) | |
2754 | end | |
2755 | rng:Destroy() | |
2756 | end)) | |
2757 | end | |
2758 | ||
2759 | function CameraManager() | |
2760 | if TwoD and not CamInterrupt then | |
2761 | if Humanoid.Health > 0 then | |
2762 | Camera.CameraSubject = Humanoid | |
2763 | Camera.CameraType = "Scriptable" | |
2764 | Humanoid.AutoRotate = false | |
2765 | if Booleans.GyroUse then | |
2766 | Directer.MaxTorque = Vec3(0, huge, 0) | |
2767 | else | |
2768 | Directer.MaxTorque = Vec3(0, 0, 0) | |
2769 | end | |
2770 | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then | |
2771 | if Booleans.CamFollow then | |
2772 | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) | |
2773 | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) | |
2774 | else | |
2775 | CPart.Position = RootPart.Position | |
2776 | end | |
2777 | else | |
2778 | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p | |
2779 | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) | |
2780 | end | |
2781 | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) | |
2782 | else | |
2783 | Camera.CameraSubject = Humanoid | |
2784 | Camera.CameraType = "Custom" | |
2785 | Controller.Disabled = false | |
2786 | end | |
2787 | end | |
2788 | end | |
2789 | ||
2790 | function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow) | |
2791 | local type = type | |
2792 | local rng = Instance.new("Part", char) | |
2793 | rng.Anchored = true | |
2794 | rng.BrickColor = color | |
2795 | rng.CanCollide = false | |
2796 | rng.FormFactor = 3 | |
2797 | rng.Name = "Ring" | |
2798 | rng.Material = "Neon" | |
2799 | rng.Size = Vector3.new(1, 1, 1) | |
2800 | rng.Transparency = 0 | |
2801 | rng.TopSurface = 0 | |
2802 | rng.BottomSurface = 0 | |
2803 | rng.CFrame = pos | |
2804 | local rngm = Instance.new("SpecialMesh", rng) | |
2805 | rngm.MeshType = "Sphere" | |
2806 | ||
2807 | ||
2808 | if(heart)then | |
2809 | rngm.MeshType = Enum.MeshType.FileMesh | |
2810 | rngm.MeshId = "rbxassetid://105992239" | |
2811 | rngm.Offset = Vector3.new(0,0,-.25) | |
2812 | end | |
2813 | rngm.Scale = scale | |
2814 | if rainbowmode == true and not notaffectbychaosrainbow then | |
2815 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2816 | end | |
2817 | local scaler2 = 1 | |
2818 | if type == "Add" then | |
2819 | scaler2 = 1*value | |
2820 | elseif type == "Divide" then | |
2821 | scaler2 = 1/value | |
2822 | end | |
2823 | coroutine.resume(coroutine.create(function() | |
2824 | for i = 0,10/bonuspeed,0.1 do | |
2825 | swait() | |
2826 | if rainbowmode == true and not notaffectbychaosrainbow then | |
2827 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2828 | end | |
2829 | if type == "Add" then | |
2830 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2831 | elseif type == "Divide" then | |
2832 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2833 | end | |
2834 | if chaosmode == true and not notaffectbychaosrainbow then | |
2835 | rng.BrickColor = BrickColor.random() | |
2836 | end | |
2837 | if glitchymode then | |
2838 | local val = math.random(1,255) | |
2839 | local color = Color3.fromRGB(val,val,val) | |
2840 | rng.Color = color | |
2841 | end | |
2842 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2843 | if(invert)then | |
2844 | if(heart)then | |
2845 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
2846 | else | |
2847 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
2848 | end | |
2849 | else | |
2850 | if(heart)then | |
2851 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
2852 | else | |
2853 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
2854 | end | |
2855 | end | |
2856 | rng.CFrame = pos | |
2857 | end | |
2858 | rng:Destroy() | |
2859 | end)) | |
2860 | end | |
2861 | ||
2862 | function newBezier(startpos, pos2, pos3, endpos, t) | |
2863 | local A = clerp(startpos, pos2, t) | |
2864 | local B = clerp(pos2, pos3, t) | |
2865 | local C = clerp(pos3, endpos, t) | |
2866 | local lerp1 = clerp(A, B, t) | |
2867 | local lerp2 = clerp(B, C, t) | |
2868 | local cubic = clerp(lerp1, lerp2, t) | |
2869 | return cubic | |
2870 | end | |
2871 | ||
2872 | ||
2873 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert) | |
2874 | local type = type | |
2875 | local rng = Instance.new("Part", char) | |
2876 | rng.Anchored = true | |
2877 | rng.BrickColor = color | |
2878 | rng.CanCollide = false | |
2879 | rng.FormFactor = 3 | |
2880 | rng.Name = "Ring" | |
2881 | rng.Material = "Neon" | |
2882 | rng.Size = Vector3.new(1, 1, 1) | |
2883 | rng.Transparency = 0 | |
2884 | rng.TopSurface = 0 | |
2885 | rng.BottomSurface = 0 | |
2886 | rng.CFrame = pos | |
2887 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
2888 | local rngm = Instance.new("SpecialMesh", rng) | |
2889 | rngm.MeshType = "Brick" | |
2890 | if(heart)then | |
2891 | rngm.MeshType = Enum.MeshType.FileMesh | |
2892 | rngm.MeshId = "rbxassetid://105992239" | |
2893 | rngm.Offset = Vector3.new(0,0,-.25) | |
2894 | end | |
2895 | rngm.Scale = vt(x1,y1,z1) | |
2896 | if rainbowmode == true then | |
2897 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2898 | end | |
2899 | local scaler2 = 1 | |
2900 | local speeder = FastSpeed/10 | |
2901 | if type == "Add" then | |
2902 | scaler2 = 1*value | |
2903 | elseif type == "Divide" then | |
2904 | scaler2 = 1/value | |
2905 | end | |
2906 | coroutine.resume(coroutine.create(function() | |
2907 | for i = 0,10/bonuspeed,0.1 do | |
2908 | swait() | |
2909 | if rainbowmode == true then | |
2910 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2911 | end | |
2912 | if type == "Add" then | |
2913 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2914 | elseif type == "Divide" then | |
2915 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2916 | end | |
2917 | if chaosmode == true then | |
2918 | rng.BrickColor = BrickColor.random() | |
2919 | end | |
2920 | if glitchymode then | |
2921 | local val = math.random(1,255) | |
2922 | local color = Color3.fromRGB(val,val,val) | |
2923 | rng.Color = color | |
2924 | end | |
2925 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
2926 | if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end | |
2927 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2928 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
2929 | end | |
2930 | rng:Destroy() | |
2931 | end)) | |
2932 | end | |
2933 | ||
2934 | ||
2935 | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert) | |
2936 | local type = type | |
2937 | local rng = Instance.new("Part", char) | |
2938 | rng.Anchored = true | |
2939 | rng.BrickColor = color | |
2940 | rng.CanCollide = false | |
2941 | rng.FormFactor = 3 | |
2942 | rng.Name = "Ring" | |
2943 | rng.Material = "Neon" | |
2944 | rng.Size = Vector3.new(1, 1, 1) | |
2945 | rng.Transparency = 0 | |
2946 | rng.TopSurface = 0 | |
2947 | rng.BottomSurface = 0 | |
2948 | rng.CFrame = pos | |
2949 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
2950 | local rngm = Instance.new("SpecialMesh", rng) | |
2951 | rngm.MeshType = "Brick" | |
2952 | if(heart)then | |
2953 | rngm.MeshType = Enum.MeshType.FileMesh | |
2954 | rngm.MeshId = "rbxassetid://105992239" | |
2955 | rngm.Offset = Vector3.new(0,0,-.25) | |
2956 | end | |
2957 | rngm.Scale = vt(x1,y1,z1) | |
2958 | if rainbowmode == true then | |
2959 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2960 | end | |
2961 | local scaler2 = 0 | |
2962 | local speeder = FastSpeed/10 | |
2963 | if type == "Add" then | |
2964 | scaler2 = 1*value | |
2965 | elseif type == "Divide" then | |
2966 | scaler2 = 1/value | |
2967 | end | |
2968 | coroutine.resume(coroutine.create(function() | |
2969 | for i = 0,10/bonuspeed,0.1 do | |
2970 | swait() | |
2971 | if rainbowmode == true then | |
2972 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2973 | end | |
2974 | if type == "Add" then | |
2975 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2976 | elseif type == "Divide" then | |
2977 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2978 | end | |
2979 | if chaosmode == true then | |
2980 | rng.BrickColor = BrickColor.random() | |
2981 | end | |
2982 | if glitchymode then | |
2983 | local val = math.random(1,255) | |
2984 | local color = Color3.fromRGB(val,val,val) | |
2985 | rng.Color = color | |
2986 | end | |
2987 | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 | |
2988 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
2989 | if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end | |
2990 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2991 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
2992 | end | |
2993 | rng:Destroy() | |
2994 | end)) | |
2995 | end | |
2996 | ||
2997 | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
2998 | local type = type | |
2999 | local rng = Instance.new("Part", char) | |
3000 | rng.Anchored = true | |
3001 | rng.BrickColor = color | |
3002 | rng.CanCollide = false | |
3003 | rng.FormFactor = 3 | |
3004 | rng.Name = "Ring" | |
3005 | rng.Material = "Neon" | |
3006 | rng.Size = Vector3.new(1, 1, 1) | |
3007 | rng.Transparency = 0 | |
3008 | rng.TopSurface = 0 | |
3009 | rng.BottomSurface = 0 | |
3010 | rng.CFrame = pos | |
3011 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
3012 | local rngm = Instance.new("SpecialMesh", rng) | |
3013 | rngm.MeshType = "Sphere" | |
3014 | rngm.Scale = vt(x1,y1,z1) | |
3015 | if rainbowmode == true then | |
3016 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3017 | end | |
3018 | local scaler2 = 1 | |
3019 | local speeder = FastSpeed | |
3020 | if type == "Add" then | |
3021 | scaler2 = 1*value | |
3022 | elseif type == "Divide" then | |
3023 | scaler2 = 1/value | |
3024 | end | |
3025 | coroutine.resume(coroutine.create(function() | |
3026 | for i = 0,10/bonuspeed,0.1 do | |
3027 | swait() | |
3028 | if rainbowmode == true then | |
3029 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3030 | end | |
3031 | if type == "Add" then | |
3032 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3033 | elseif type == "Divide" then | |
3034 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3035 | end | |
3036 | if chaosmode == true then | |
3037 | rng.BrickColor = BrickColor.random() | |
3038 | end | |
3039 | if glitchymode then | |
3040 | local val = math.random(1,255) | |
3041 | local color = Color3.fromRGB(val,val,val) | |
3042 | rng.Color = color | |
3043 | end | |
3044 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
3045 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3046 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3047 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
3048 | end | |
3049 | rng:Destroy() | |
3050 | end)) | |
3051 | end | |
3052 | ||
3053 | ||
3054 | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
3055 | local type = type | |
3056 | local rng = Instance.new("Part", char) | |
3057 | rng.Anchored = true | |
3058 | rng.BrickColor = color | |
3059 | rng.CanCollide = false | |
3060 | rng.FormFactor = 3 | |
3061 | rng.Name = "Ring" | |
3062 | rng.Material = "Neon" | |
3063 | rng.Size = Vector3.new(1, 1, 1) | |
3064 | rng.Transparency = 1 | |
3065 | rng.TopSurface = 0 | |
3066 | rng.BottomSurface = 0 | |
3067 | rng.CFrame = pos | |
3068 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
3069 | local rngm = Instance.new("SpecialMesh", rng) | |
3070 | rngm.MeshType = "Sphere" | |
3071 | rngm.Scale = vt(x1,y1,z1) | |
3072 | if rainbowmode == true then | |
3073 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3074 | end | |
3075 | local scaler2 = 1 | |
3076 | local speeder = FastSpeed | |
3077 | if type == "Add" then | |
3078 | scaler2 = 1*value | |
3079 | elseif type == "Divide" then | |
3080 | scaler2 = 1/value | |
3081 | end | |
3082 | coroutine.resume(coroutine.create(function() | |
3083 | for i = 0,10/bonuspeed,0.1 do | |
3084 | swait() | |
3085 | if rainbowmode == true then | |
3086 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3087 | end | |
3088 | if type == "Add" then | |
3089 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3090 | elseif type == "Divide" then | |
3091 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3092 | end | |
3093 | if chaosmode == true then | |
3094 | rng.BrickColor = BrickColor.random() | |
3095 | end | |
3096 | if glitchymode then | |
3097 | local val = math.random(1,255) | |
3098 | local color = Color3.fromRGB(val,val,val) | |
3099 | rng.Color = color | |
3100 | end | |
3101 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
3102 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3103 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
3104 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
3105 | end | |
3106 | rng:Destroy() | |
3107 | end)) | |
3108 | end | |
3109 | ||
3110 | function dmg(dude) | |
3111 | if dude.Name ~= Character then | |
3112 | local bgf = Instance.new("BodyGyro",dude.Head) | |
3113 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
3114 | local val = Instance.new("BoolValue",dude) | |
3115 | val.Name = "IsHit" | |
3116 | local ds = coroutine.wrap(function() | |
3117 | local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' | |
3118 | for i = 1, 10 do | |
3119 | 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) | |
3120 | end | |
3121 | dude:WaitForChild("Head"):BreakJoints() | |
3122 | wait(0.5) | |
3123 | targetted = nil | |
3124 | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3) | |
3125 | ||
3126 | coroutine.resume(coroutine.create(function() | |
3127 | for i, v in pairs(dude:GetChildren()) do | |
3128 | if v:IsA("Accessory") then | |
3129 | v:Destroy() | |
3130 | end | |
3131 | if v:IsA("Humanoid") then | |
3132 | v:Destroy() | |
3133 | end | |
3134 | if v:IsA("CharacterMesh") then | |
3135 | v:Destroy() | |
3136 | end | |
3137 | if v:IsA("Model") then | |
3138 | v:Destroy() | |
3139 | end | |
3140 | if v:IsA("Part") or v:IsA("MeshPart") then | |
3141 | for x, o in pairs(v:GetChildren()) do | |
3142 | if o:IsA("Decal") then | |
3143 | o:Destroy() | |
3144 | end | |
3145 | end | |
3146 | coroutine.resume(coroutine.create(function() | |
3147 | v.Material = "Neon" | |
3148 | v.CanCollide = false | |
3149 | local bld = Instance.new("ParticleEmitter",v) | |
3150 | bld.LightEmission = 1 | |
3151 | bld.Texture = "rbxassetid://284205403" | |
3152 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
3153 | bld.Rate = 50 | |
3154 | bld.Lifetime = NumberRange.new(1) | |
3155 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3156 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3157 | bld.Speed = NumberRange.new(0,0) | |
3158 | bld.VelocitySpread = 50000 | |
3159 | bld.Rotation = NumberRange.new(-500,500) | |
3160 | bld.RotSpeed = NumberRange.new(-500,500) | |
3161 | local sbs = Instance.new("BodyPosition", v) | |
3162 | sbs.P = 3000 | |
3163 | sbs.D = 1000 | |
3164 | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
3165 | sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
3166 | v.Color = Color3.new(1,1,1) | |
3167 | coroutine.resume(coroutine.create(function() | |
3168 | for i = 0, 49 do | |
3169 | swait(1) | |
3170 | v.Transparency = v.Transparency + 0.02 | |
3171 | end | |
3172 | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1) | |
3173 | bld.Speed = NumberRange.new(1,5) | |
3174 | bld.Acceleration = vt(0,10,0) | |
3175 | wait(0.5) | |
3176 | bld.Enabled = false | |
3177 | wait(3) | |
3178 | v:Destroy() | |
3179 | dude:Destroy() | |
3180 | end)) | |
3181 | end)) | |
3182 | end | |
3183 | end | |
3184 | end)) | |
3185 | end) | |
3186 | ds() | |
3187 | end | |
3188 | end | |
3189 | ||
3190 | ||
3191 | function FindNearestHead(Position, Distance, SinglePlayer) | |
3192 | if SinglePlayer then | |
3193 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
3194 | end | |
3195 | local List = {} | |
3196 | for i, v in pairs(workspace:GetChildren()) do | |
3197 | if v:IsA("Model") then | |
3198 | if v:findFirstChild("Head") then | |
3199 | if v ~= Character then | |
3200 | if (v.Head.Position - Position).magnitude <= Distance then | |
3201 | table.insert(List, v) | |
3202 | end | |
3203 | end | |
3204 | end | |
3205 | end | |
3206 | end | |
3207 | return List | |
3208 | end | |
3209 | ||
3210 | function FaceMouse() | |
3211 | Cam = workspace.CurrentCamera | |
3212 | return { | |
3213 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
3214 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
3215 | } | |
3216 | end | |
3217 | ||
3218 | function FaceMouse2() | |
3219 | Cam = workspace.CurrentCamera | |
3220 | return { | |
3221 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), | |
3222 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
3223 | } | |
3224 | end | |
3225 | ||
3226 | local ModeOfGlitch = 1 | |
3227 | -- Functions are ready. | |
3228 | local storehumanoidWS = 16 | |
3229 | ||
3230 | function CorruptBlink() | |
3231 | for i = 0, 14 do | |
3232 | 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) | |
3233 | end | |
3234 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3235 | CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1) | |
3236 | RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0) | |
3237 | CameraEnshaking(2,10) | |
3238 | if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do | |
3239 | if v:FindFirstChild('Head') then | |
3240 | dmg(v) | |
3241 | end | |
3242 | end end | |
3243 | for i = 0, 14 do | |
3244 | 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) | |
3245 | end | |
3246 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3247 | end | |
3248 | ||
3249 | function ExtinctiveHeartbreak() | |
3250 | local targetted = nil | |
3251 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
3252 | targetted = mouse.Target.Parent | |
3253 | end | |
3254 | if targetted ~= nil then | |
3255 | attack = true | |
3256 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
3257 | for i = 0, 9 do | |
3258 | 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) | |
3259 | end | |
3260 | for i = 0, 24 do | |
3261 | 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) | |
3262 | end | |
3263 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black")) | |
3264 | local originalpos = root.CFrame | |
3265 | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2) | |
3266 | for i = 0, 9 do | |
3267 | 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) | |
3268 | end | |
3269 | for i = 0, 24 do | |
3270 | 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) | |
3271 | end | |
3272 | hum.WalkSpeed = 0 | |
3273 | targetted.Head.Anchored = true | |
3274 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black")) | |
3275 | for i = 0,2,0.1 do | |
3276 | swait() | |
3277 | 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) | |
3278 | 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) | |
3279 | 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) | |
3280 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8) | |
3281 | 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) | |
3282 | 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) | |
3283 | end | |
3284 | coroutine.resume(coroutine.create(function() | |
3285 | bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso")) | |
3286 | bld.LightEmission = 0.1 | |
3287 | bld.Texture = "rbxassetid://284205403" | |
3288 | bld.Color = ColorSequence.new(Color3.new(0.5,0,0)) | |
3289 | bld.Rate = 500 | |
3290 | bld.Lifetime = NumberRange.new(1) | |
3291 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3292 | bld.Acceleration = vt(0,-25,0) | |
3293 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3294 | bld.Speed = NumberRange.new(10,50) | |
3295 | bld.EmissionDirection = "Front" | |
3296 | bld.VelocitySpread = 25 | |
3297 | bld.Rotation = NumberRange.new(-500,500) | |
3298 | bld.RotSpeed = NumberRange.new(-500,500) | |
3299 | end)) | |
3300 | coroutine.resume(coroutine.create(function() | |
3301 | bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso")) | |
3302 | bld.LightEmission = 0.1 | |
3303 | bld.Texture = "rbxassetid://284205403" | |
3304 | bld.Color = ColorSequence.new(Color3.new(0.5,0,0)) | |
3305 | bld.Rate = 500 | |
3306 | bld.Lifetime = NumberRange.new(1) | |
3307 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3308 | bld.Acceleration = vt(0,-25,0) | |
3309 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3310 | bld.Speed = NumberRange.new(10,50) | |
3311 | bld.EmissionDirection = "Front" | |
3312 | bld.VelocitySpread = 25 | |
3313 | bld.Rotation = NumberRange.new(-500,500) | |
3314 | bld.RotSpeed = NumberRange.new(-500,500) | |
3315 | end)) | |
3316 | CameraEnshaking(5,5) | |
3317 | game:GetService("Debris"):AddItem(bld,3) | |
3318 | dmg(targetted) | |
3319 | CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1) | |
3320 | for i = 0,1,0.1 do | |
3321 | swait() | |
3322 | 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) | |
3323 | 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) | |
3324 | 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) | |
3325 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8) | |
3326 | 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) | |
3327 | 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) | |
3328 | end | |
3329 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
3330 | for i = 0, 9 do | |
3331 | 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) | |
3332 | end | |
3333 | for i = 0, 24 do | |
3334 | 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) | |
3335 | end | |
3336 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black")) | |
3337 | root.CFrame = originalpos | |
3338 | for i = 0, 9 do | |
3339 | 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) | |
3340 | end | |
3341 | for i = 0, 24 do | |
3342 | 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) | |
3343 | end | |
3344 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black")) | |
3345 | bld.Enabled = false | |
3346 | attack = false | |
3347 | hum.WalkSpeed = storehumanoidWS | |
3348 | end | |
3349 | end | |
3350 | function PureBomb() | |
3351 | attack = true | |
3352 | ||
3353 | local orb = Instance.new("Part", char) | |
3354 | orb.Anchored = true | |
3355 | orb.BrickColor = BrickColor.new("Toothpaste") | |
3356 | orb.CanCollide = false | |
3357 | orb.FormFactor = 3 | |
3358 | orb.Name = "Ring" | |
3359 | orb.Material = "Neon" | |
3360 | orb.Size = Vector3.new(1, 1, 1) | |
3361 | orb.Transparency = 0 | |
3362 | orb.TopSurface = 0 | |
3363 | orb.BottomSurface = 0 | |
3364 | local orbm = Instance.new("SpecialMesh", orb) | |
3365 | orbm.MeshType = "Sphere" | |
3366 | orbm.Name = "SizeMesh" | |
3367 | orbm.Scale = vt(0,0,0) | |
3368 | local scaled = 0.1 | |
3369 | local posid = 0 | |
3370 | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1) | |
3371 | for i = 0, 5, 0.1 do | |
3372 | swait() | |
3373 | scaled = scaled - 0.001 | |
3374 | posid = posid - scaled | |
3375 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
3376 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
3377 | 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) | |
3378 | 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) | |
3379 | 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) | |
3380 | 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) | |
3381 | 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) | |
3382 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
3383 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
3384 | 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) | |
3385 | end | |
3386 | for i = 0, 2, 0.1 do | |
3387 | swait() | |
3388 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
3389 | 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) | |
3390 | 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) | |
3391 | 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) | |
3392 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
3393 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
3394 | 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) | |
3395 | end | |
3396 | coroutine.resume(coroutine.create(function() | |
3397 | orb.Anchored = false | |
3398 | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1) | |
3399 | local a = Instance.new("Part",workspace) | |
3400 | a.Name = "Direction" | |
3401 | a.Anchored = true | |
3402 | a.BrickColor = bc("Bright red") | |
3403 | a.Material = "Neon" | |
3404 | a.Transparency = 1 | |
3405 | a.CanCollide = false | |
3406 | local ray = Ray.new( | |
3407 | orb.CFrame.p, -- origin | |
3408 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
3409 | ) | |
3410 | local ignore = orb | |
3411 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
3412 | a.BottomSurface = 10 | |
3413 | a.TopSurface = 10 | |
3414 | local distance = (orb.CFrame.p - position).magnitude | |
3415 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
3416 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
3417 | orb.CFrame = a.CFrame | |
3418 | a:Destroy() | |
3419 | local bv = Instance.new("BodyVelocity") | |
3420 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3421 | bv.velocity = orb.CFrame.lookVector*125 | |
3422 | bv.Parent = orb | |
3423 | local hitted = false | |
3424 | game:GetService("Debris"):AddItem(orb, 15) | |
3425 | wait() | |
3426 | local hit =orb.Touched:connect(function(hit) | |
3427 | if hitted == false then | |
3428 | hitted = true | |
3429 | CameraEnshaking(10,2.5) | |
3430 | CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1) | |
3431 | MagniDamage(orb, 65, 65,90, 0, "Normal") | |
3432 | sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste")) | |
3433 | sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste")) | |
3434 | for i = 0, 49 do | |
3435 | 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) | |
3436 | end | |
3437 | for i = 0, 9 do | |
3438 | 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) | |
3439 | 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) | |
3440 | end | |
3441 | orb.Anchored = true | |
3442 | orb.Transparency = 1 | |
3443 | wait(8) | |
3444 | orb:Destroy() | |
3445 | end | |
3446 | end) | |
3447 | end)) | |
3448 | for i = 0, 1, 0.1 do | |
3449 | swait() | |
3450 | 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) | |
3451 | 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) | |
3452 | 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) | |
3453 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) | |
3454 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) | |
3455 | 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) | |
3456 | end | |
3457 | attack = false | |
3458 | end | |
3459 | ||
3460 | function ChaosGroundStrike() | |
3461 | attack = true | |
3462 | for i = 0, 2, 0.1 do | |
3463 | swait() | |
3464 | 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) | |
3465 | 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) | |
3466 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3467 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3468 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
3469 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
3470 | end | |
3471 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1) | |
3472 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) | |
3473 | CameraEnshaking(4,12) | |
3474 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do | |
3475 | if v:FindFirstChild('Head') then | |
3476 | dmg(v) | |
3477 | end | |
3478 | end | |
3479 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) | |
3480 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) | |
3481 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random()) | |
3482 | for i = 0, 2, 0.1 do | |
3483 | swait() | |
3484 | 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) | |
3485 | 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) | |
3486 | 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) | |
3487 | 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) | |
3488 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3489 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3490 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
3491 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
3492 | end | |
3493 | attack = false | |
3494 | end | |
3495 | ||
3496 | function InsaneGroundStrike() | |
3497 | attack = true | |
3498 | chatfunc("Succumb to the insanity!",Color3.new(0,0,0)) | |
3499 | for i = 0, 8, 0.1 do | |
3500 | swait() | |
3501 | 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) | |
3502 | ||
3503 | 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) | |
3504 | 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) | |
3505 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3506 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3507 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
3508 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
3509 | end | |
3510 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1) | |
3511 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) | |
3512 | CameraEnshaking(8,24) | |
3513 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do | |
3514 | if v:FindFirstChild('Head') then | |
3515 | dmg(v) | |
3516 | end | |
3517 | end | |
3518 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) | |
3519 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) | |
3520 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random()) | |
3521 | CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1) | |
3522 | chatfunc("Leave the dead where they fall!",Color3.new(0,0,0)) | |
3523 | for i = 0, 2, 0.1 do | |
3524 | swait() | |
3525 | 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) | |
3526 | 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) | |
3527 | 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) | |
3528 | 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) | |
3529 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3530 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3531 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
3532 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
3533 | end | |
3534 | attack = false | |
3535 | end | |
3536 | ||
3537 | function Starfall() | |
3538 | attack = true | |
3539 | hum.WalkSpeed = 0 | |
3540 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1) | |
3541 | for i = 0, 5, 0.1 do | |
3542 | swait() | |
3543 | 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) | |
3544 | 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) | |
3545 | 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) | |
3546 | 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) | |
3547 | 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) | |
3548 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
3549 | 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) | |
3550 | 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) | |
3551 | end | |
3552 | local Overed = false | |
3553 | CameraEnshaking(2,20) | |
3554 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
3555 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
3556 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
3557 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1) | |
3558 | local orb = Instance.new("Part", char) | |
3559 | orb.Anchored = true | |
3560 | orb.BrickColor = BrickColor.new("Toothpaste") | |
3561 | orb.CanCollide = false | |
3562 | orb.FormFactor = 3 | |
3563 | orb.Name = "Remenant" | |
3564 | orb.Material = "Neon" | |
3565 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
3566 | orb.Size = Vector3.new(1, 1, 1) | |
3567 | orb.Transparency = 1 | |
3568 | orb.TopSurface = 0 | |
3569 | orb.BottomSurface = 0 | |
3570 | hum.WalkSpeed = storehumanoidWS | |
3571 | coroutine.resume(coroutine.create(function() | |
3572 | for i = 0, 9 do | |
3573 | swait(10) | |
3574 | local lb = Instance.new("Part") | |
3575 | lb.Color = MAINRUINCOLOR.Color | |
3576 | lb.CanCollide = false | |
3577 | lb.Material = "Neon" | |
3578 | lb.Anchored = true | |
3579 | lb.TopSurface = 0 | |
3580 | lb.BottomSurface = 0 | |
3581 | lb.Transparency = 0 | |
3582 | lb.Size = vt(1,1,1) | |
3583 | 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))) | |
3584 | lb.Anchored = false | |
3585 | lb.Parent = char | |
3586 | local thingery = Instance.new("SpecialMesh",lb) | |
3587 | thingery.MeshType = "Sphere" | |
3588 | thingery.Scale = vt(20,20,20) | |
3589 | game:GetService("Debris"):AddItem(lb, 10) | |
3590 | local bv = Instance.new("BodyVelocity") | |
3591 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3592 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
3593 | bv.Parent = lb | |
3594 | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) | |
3595 | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) | |
3596 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1) | |
3597 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1) | |
3598 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1) | |
3599 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1) | |
3600 | local hitted = false | |
3601 | coroutine.resume(coroutine.create(function() | |
3602 | while true do | |
3603 | swait(1) | |
3604 | if lb.Parent ~= nil and hitted == false then | |
3605 | 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) | |
3606 | elseif lb.Parent == nil then | |
3607 | break | |
3608 | end | |
3609 | end | |
3610 | end)) | |
3611 | ||
3612 | game:GetService("Debris"):AddItem(a, 0.1) | |
3613 | ||
3614 | coroutine.resume(coroutine.create(function() | |
3615 | swait(1) | |
3616 | lb.Touched:connect(function(hit) | |
3617 | if hitted == false then | |
3618 | hitted = true | |
3619 | lb.Transparency = 1 | |
3620 | lb.Anchored = true | |
3621 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1) | |
3622 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7) | |
3623 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75) | |
3624 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75) | |
3625 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1) | |
3626 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85) | |
3627 | MagniDamage(lb, 45, 45,85, 0, "Normal") | |
3628 | CameraEnshaking(1,5) | |
3629 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
3630 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
3631 | for i = 0, 9 do | |
3632 | 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) | |
3633 | end | |
3634 | for i = 0, 49 do | |
3635 | swait() | |
3636 | MagniDamage(lb, 30, 2,4, 0, "Normal") | |
3637 | 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) | |
3638 | end | |
3639 | end | |
3640 | end) | |
3641 | end)) | |
3642 | end | |
3643 | Overed = true | |
3644 | orb:Destroy() | |
3645 | end)) | |
3646 | ||
3647 | attack = false | |
3648 | end | |
3649 | ||
3650 | function StarfallEX() | |
3651 | attack = true | |
3652 | hum.WalkSpeed = 0 | |
3653 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1) | |
3654 | for i = 0, 5, 0.1 do | |
3655 | swait() | |
3656 | 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) | |
3657 | 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) | |
3658 | 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) | |
3659 | 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) | |
3660 | 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) | |
3661 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
3662 | 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) | |
3663 | 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) | |
3664 | end | |
3665 | local Overed = false | |
3666 | CameraEnshaking(2,20) | |
3667 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
3668 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
3669 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
3670 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1) | |
3671 | local orb = Instance.new("Part", char) | |
3672 | orb.Anchored = true | |
3673 | orb.BrickColor = BrickColor.new("Toothpaste") | |
3674 | orb.CanCollide = false | |
3675 | orb.FormFactor = 3 | |
3676 | orb.Name = "Remenant" | |
3677 | orb.Material = "Neon" | |
3678 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
3679 | orb.Size = Vector3.new(1, 1, 1) | |
3680 | orb.Transparency = 1 | |
3681 | orb.TopSurface = 0 | |
3682 | orb.BottomSurface = 0 | |
3683 | hum.WalkSpeed = storehumanoidWS | |
3684 | coroutine.resume(coroutine.create(function() | |
3685 | for i = 1, 5 do | |
3686 | swait(10) | |
3687 | local lb = Instance.new("Part") | |
3688 | lb.Color = MAINRUINCOLOR.Color | |
3689 | lb.CanCollide = false | |
3690 | lb.Material = "Neon" | |
3691 | lb.Anchored = true | |
3692 | lb.TopSurface = 0 | |
3693 | lb.BottomSurface = 0 | |
3694 | lb.Transparency = 0 | |
3695 | lb.Size = vt(1,1,1) | |
3696 | 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))) | |
3697 | lb.Anchored = false | |
3698 | lb.Parent = char | |
3699 | local thingery = Instance.new("SpecialMesh",lb) | |
3700 | thingery.MeshType = "Sphere" | |
3701 | thingery.Scale = vt(20,20,20) | |
3702 | game:GetService("Debris"):AddItem(lb, 10) | |
3703 | local bv = Instance.new("BodyVelocity") | |
3704 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3705 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
3706 | bv.Parent = lb | |
3707 | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) | |
3708 | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) | |
3709 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1) | |
3710 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1) | |
3711 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1) | |
3712 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1) | |
3713 | local hitted = false | |
3714 | coroutine.resume(coroutine.create(function() | |
3715 | while true do | |
3716 | swait(1) | |
3717 | if lb.Parent ~= nil and hitted == false then | |
3718 | 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) | |
3719 | elseif lb.Parent == nil then | |
3720 | break | |
3721 | end | |
3722 | end | |
3723 | end)) | |
3724 | ||
3725 | game:GetService("Debris"):AddItem(a, 0.1) | |
3726 | ||
3727 | coroutine.resume(coroutine.create(function() | |
3728 | swait(5) | |
3729 | lb.Touched:connect(function(hit) | |
3730 | if hitted == false and not hit:IsDescendantOf(Character) then | |
3731 | hitted = true | |
3732 | lb.Transparency = 1 | |
3733 | lb.Anchored = true | |
3734 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1) | |
3735 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7) | |
3736 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75) | |
3737 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75) | |
3738 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1) | |
3739 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85) | |
3740 | MagniDamage(lb, 45, 90,170, 0, "Normal") | |
3741 | CameraEnshaking(1,5) | |
3742 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
3743 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
3744 | for i = 0, 9 do | |
3745 | 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) | |
3746 | end | |
3747 | for i = 0, 49 do | |
3748 | swait() | |
3749 | MagniDamage(lb, 60, 20,40, 0, "Normal") | |
3750 | 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) | |
3751 | end | |
3752 | end | |
3753 | end) | |
3754 | end)) | |
3755 | end | |
3756 | Overed = true | |
3757 | orb:Destroy() | |
3758 | end)) | |
3759 | ||
3760 | attack = false | |
3761 | end | |
3762 | ||
3763 | ||
3764 | function StarDivision() | |
3765 | attack = true | |
3766 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5) | |
3767 | for i = 0, 2, 0.1 do | |
3768 | swait() | |
3769 | 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) | |
3770 | 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) | |
3771 | 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) | |
3772 | 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) | |
3773 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6) | |
3774 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6) | |
3775 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6) | |
3776 | end | |
3777 | local orb = Instance.new("Part", char) | |
3778 | orb.BrickColor = MAINRUINCOLOR | |
3779 | orb.CanCollide = false | |
3780 | orb.FormFactor = 3 | |
3781 | orb.Name = "Ring" | |
3782 | orb.Material = "Neon" | |
3783 | orb.Size = Vector3.new(1, 1, 1) | |
3784 | orb.Transparency = 0 | |
3785 | orb.TopSurface = 0 | |
3786 | orb.BottomSurface = 0 | |
3787 | local orbm = Instance.new("SpecialMesh", orb) | |
3788 | orbm.MeshType = "Sphere" | |
3789 | orbm.Name = "SizeMesh" | |
3790 | orbm.Scale = vt(2,2,2) | |
3791 | local a = Instance.new("Part",workspace) | |
3792 | a.Name = "Direction" | |
3793 | a.Anchored = true | |
3794 | a.BrickColor = bc("Bright red") | |
3795 | a.Material = "Neon" | |
3796 | a.Transparency = 1 | |
3797 | a.CanCollide = false | |
3798 | local ray = Ray.new( | |
3799 | sorb.CFrame.p, -- origin | |
3800 | (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction | |
3801 | ) | |
3802 | local ignore = sorb | |
3803 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
3804 | a.BottomSurface = 10 | |
3805 | a.TopSurface = 10 | |
3806 | local distance = (sorb.CFrame.p - position).magnitude | |
3807 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
3808 | a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
3809 | orb.CFrame = a.CFrame | |
3810 | a:Destroy() | |
3811 | local bv = Instance.new("BodyVelocity") | |
3812 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3813 | bv.velocity = orb.CFrame.lookVector*100 | |
3814 | bv.Parent = orb | |
3815 | local hitted = false | |
3816 | game:GetService("Debris"):AddItem(orb, 10) | |
3817 | CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15) | |
3818 | CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15) | |
3819 | CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15) | |
3820 | CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15) | |
3821 | CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15) | |
3822 | coroutine.resume(coroutine.create(function() | |
3823 | while true do | |
3824 | swait(1) | |
3825 | if orb.Parent ~= nil and hitted == false then | |
3826 | 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) | |
3827 | elseif orb.Parent == nil then | |
3828 | break | |
3829 | end | |
3830 | end | |
3831 | end)) | |
3832 | coroutine.resume(coroutine.create(function() | |
3833 | swait(1) | |
3834 | orb.Touched:connect(function(hit) | |
3835 | if hitted == false then | |
3836 | hitted = true | |
3837 | game:GetService("Debris"):AddItem(orb, 5) | |
3838 | orb.Transparency = 1 | |
3839 | orb.Anchored = true | |
3840 | local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3841 | elocacenter.Anchored = true | |
3842 | elocacenter.CFrame = orb.CFrame | |
3843 | elocacenter.Orientation = vt(0,0,0) | |
3844 | local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3845 | eloca1.Anchored = true | |
3846 | eloca1.CFrame = elocacenter.CFrame | |
3847 | local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3848 | eloca2.Anchored = true | |
3849 | eloca2.CFrame = elocacenter.CFrame | |
3850 | local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3851 | eloca3.Anchored = true | |
3852 | eloca3.CFrame = elocacenter.CFrame | |
3853 | local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3854 | eloca4.Anchored = true | |
3855 | eloca4.CFrame = elocacenter.CFrame | |
3856 | local lookavec = 0 | |
3857 | local speeds = 0 | |
3858 | CameraEnshaking(1,1) | |
3859 | CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1) | |
3860 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3861 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3862 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3863 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3864 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3865 | for i = 0, 99 do | |
3866 | swait() | |
3867 | lookavec = lookavec + 1 | |
3868 | speeds = speeds + 0.1 | |
3869 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
3870 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
3871 | 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) | |
3872 | ||
3873 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
3874 | 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) | |
3875 | ||
3876 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
3877 | 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) | |
3878 | ||
3879 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
3880 | 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) | |
3881 | end | |
3882 | ||
3883 | for i = 0, 149 do | |
3884 | swait() | |
3885 | speeds = speeds + 0.1 | |
3886 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
3887 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
3888 | 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) | |
3889 | ||
3890 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
3891 | 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) | |
3892 | ||
3893 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
3894 | 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) | |
3895 | ||
3896 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
3897 | 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) | |
3898 | end | |
3899 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do | |
3900 | if v:FindFirstChild('Head') then | |
3901 | dmg(v) | |
3902 | end | |
3903 | end | |
3904 | CameraEnshaking(7,30) | |
3905 | MagniDamage(elocacenter, 225, 50,75, 0, "Normal") | |
3906 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1) | |
3907 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75) | |
3908 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1) | |
3909 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1) | |
3910 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR) | |
3911 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR) | |
3912 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3913 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3914 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3915 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3916 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3917 | for i = 0, 24 do | |
3918 | 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) | |
3919 | 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) | |
3920 | 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) | |
3921 | 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) | |
3922 | end | |
3923 | coroutine.resume(coroutine.create(function() | |
3924 | for i = 0, 499 do | |
3925 | swait(1) | |
3926 | MagniDamage(elocacenter, 90, 1,5, 0, "Normal") | |
3927 | 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) | |
3928 | end | |
3929 | elocacenter:Destroy() | |
3930 | eloca1:Destroy() | |
3931 | eloca2:Destroy() | |
3932 | eloca3:Destroy() | |
3933 | eloca4:Destroy() | |
3934 | end)) | |
3935 | end | |
3936 | end) | |
3937 | end)) | |
3938 | attack = false | |
3939 | end | |
3940 | ||
3941 | ||
3942 | function UniversalCollapse() | |
3943 | attack = true | |
3944 | local speedearn = 0 | |
3945 | hum.WalkSpeed = 0 | |
3946 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1) | |
3947 | for i = 0, 10, 0.1 do | |
3948 | swait() | |
3949 | speedearn = speedearn + 0.1 | |
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 | 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) | |
3954 | 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) | |
3955 | 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) | |
3956 | 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) | |
3957 | 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) | |
3958 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
3959 | 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) | |
3960 | 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) | |
3961 | end | |
3962 | CameraEnshaking(5,45) | |
3963 | sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR) | |
3964 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1) | |
3965 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
3966 | if v:FindFirstChild('Head') then | |
3967 | dmg(v) | |
3968 | end | |
3969 | end | |
3970 | hum.WalkSpeed = storehumanoidWS | |
3971 | attack = false | |
3972 | end | |
3973 | function ChaosBegone() | |
3974 | attack = true | |
3975 | local speedearn = 0 | |
3976 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75) | |
3977 | for i = 0, 10, 0.1 do | |
3978 | swait() | |
3979 | speedearn = speedearn + 0.1 | |
3980 | 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) | |
3981 | 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) | |
3982 | 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) | |
3983 | 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) | |
3984 | 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) | |
3985 | 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) | |
3986 | 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) | |
3987 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3988 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3989 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
3990 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
3991 | end | |
3992 | CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1) | |
3993 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1) | |
3994 | CameraEnshaking(5,25) | |
3995 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
3996 | if v:FindFirstChild('Head') then | |
3997 | dmg(v) | |
3998 | end | |
3999 | end | |
4000 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random()) | |
4001 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random()) | |
4002 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random()) | |
4003 | for i = 0, 3, 0.1 do | |
4004 | swait() | |
4005 | 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) | |
4006 | 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) | |
4007 | 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) | |
4008 | 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) | |
4009 | 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) | |
4010 | 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) | |
4011 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
4012 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
4013 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
4014 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
4015 | end | |
4016 | attack = false | |
4017 | end | |
4018 | ||
4019 | function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon) | |
4020 | local orb = Instance.new("Part", char) | |
4021 | orb.Anchored = true | |
4022 | orb.BrickColor = color | |
4023 | orb.CanCollide = false | |
4024 | orb.FormFactor = 3 | |
4025 | orb.Name = "Ring" | |
4026 | orb.Material = "Neon" | |
4027 | orb.Size = Vector3.new(1, 1, 1) | |
4028 | orb.Transparency = 0 | |
4029 | orb.TopSurface = 0 | |
4030 | orb.BottomSurface = 0 | |
4031 | local orbm = Instance.new("SpecialMesh", orb) | |
4032 | orbm.MeshType = "Sphere" | |
4033 | orb.CFrame = positted | |
4034 | orbm.Name = "SizeMesh" | |
4035 | orbm.Scale = vt(1,1,1) | |
4036 | coroutine.wrap(function() | |
4037 | while orb and orb.Parent do | |
4038 | if glitchymode then | |
4039 | local val = math.random(1,255) | |
4040 | local color = Color3.fromRGB(val,val,val) | |
4041 | orb.Color = color | |
4042 | end | |
4043 | swait() | |
4044 | end | |
4045 | end)() | |
4046 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1) | |
4047 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor) | |
4048 | --[[for i = 0, 2 do | |
4049 | 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) | |
4050 | end]]-- | |
4051 | coroutine.resume(coroutine.create(function() | |
4052 | wait(timer) | |
4053 | CameraEnshaking(3,ShakePower) | |
4054 | orb.Transparency = 1 | |
4055 | MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal") | |
4056 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor) | |
4057 | --[[for i = 0, 4 do | |
4058 | 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) | |
4059 | end]]-- | |
4060 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7) | |
4061 | wait(3) | |
4062 | orb:Destroy() | |
4063 | end)) | |
4064 | end | |
4065 | ||
4066 | function orb_spawn(positted,timer) | |
4067 | local orb = Instance.new("Part", char) | |
4068 | orb.Anchored = true | |
4069 | orb.BrickColor = BrickColor.new("White") | |
4070 | ||
4071 | orb.CanCollide = false | |
4072 | orb.FormFactor = 3 | |
4073 | orb.Name = "Ring" | |
4074 | orb.Material = "Neon" | |
4075 | orb.Size = Vector3.new(1, 1, 1) | |
4076 | orb.Transparency = 0 | |
4077 | orb.TopSurface = 0 | |
4078 | orb.BottomSurface = 0 | |
4079 | local orbm = Instance.new("SpecialMesh", orb) | |
4080 | orbm.MeshType = "Sphere" | |
4081 | orb.CFrame = positted | |
4082 | orbm.Name = "SizeMesh" | |
4083 | orbm.Scale = vt(1,1,1) | |
4084 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1) | |
4085 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor) | |
4086 | coroutine.wrap(function() | |
4087 | while orb and orb.Parent do | |
4088 | if glitchymode then | |
4089 | local val = math.random(1,255) | |
4090 | local color = Color3.fromRGB(val,val,val) | |
4091 | orb.Color = color | |
4092 | end | |
4093 | swait() | |
4094 | end | |
4095 | end)() | |
4096 | for i = 0, 2 do | |
4097 | 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) | |
4098 | end | |
4099 | ||
4100 | coroutine.resume(coroutine.create(function() | |
4101 | wait(timer) | |
4102 | CameraEnshaking(3,2) | |
4103 | orb.Transparency = 1 | |
4104 | MagniDamage(orb, 17.5, 10,50, 0, "Normal") | |
4105 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor) | |
4106 | for i = 0, 4 do | |
4107 | 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) | |
4108 | end | |
4109 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7) | |
4110 | wait(3) | |
4111 | orb:Destroy() | |
4112 | end)) | |
4113 | end | |
4114 | ||
4115 | function scattercorrupt() | |
4116 | attack = true | |
4117 | local rot = 0 | |
4118 | local randomrotations = math.random(1,2) | |
4119 | local lookv = 2.5 | |
4120 | local power = 5 | |
4121 | sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple")) | |
4122 | sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple")) | |
4123 | for i = 0, 9 do | |
4124 | 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) | |
4125 | end | |
4126 | CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6) | |
4127 | CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5) | |
4128 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1) | |
4129 | CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75) | |
4130 | CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5) | |
4131 | local hite = Instance.new("Part", char) | |
4132 | hite.Anchored = true | |
4133 | hite.CanCollide = false | |
4134 | hite.FormFactor = 3 | |
4135 | hite.Name = "Ring" | |
4136 | hite.Material = "Neon" | |
4137 | hite.Size = Vector3.new(1, 1, 1) | |
4138 | hite.Transparency = 1 | |
4139 | hite.TopSurface = 0 | |
4140 | hite.BottomSurface = 0 | |
4141 | hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0) | |
4142 | local rem = Instance.new("Part", char) | |
4143 | rem.Anchored = true | |
4144 | rem.CanCollide = false | |
4145 | rem.FormFactor = 3 | |
4146 | rem.Name = "Ring" | |
4147 | rem.Material = "Neon" | |
4148 | rem.Size = Vector3.new(1, 1, 1) | |
4149 | rem.Transparency = 1 | |
4150 | rem.TopSurface = 0 | |
4151 | rem.BottomSurface = 0 | |
4152 | rem.CFrame = hite.CFrame | |
4153 | local rem2 = rem:Clone() | |
4154 | rem2.Parent = char | |
4155 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4156 | local rem3 = rem:Clone() | |
4157 | rem3.Parent = char | |
4158 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
4159 | local rem4 = rem:Clone() | |
4160 | rem4.Parent = char | |
4161 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
4162 | hite:Destroy() | |
4163 | coroutine.resume(coroutine.create(function() | |
4164 | for i = 0, 24 do | |
4165 | swait(1) | |
4166 | if randomrotations == 1 then | |
4167 | rot = rot + 1 | |
4168 | elseif randomrotations == 2 then | |
4169 | rot = rot - 1 | |
4170 | end | |
4171 | power = power + 0.5 | |
4172 | lookv = lookv + 7.5 | |
4173 | rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
4174 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4175 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
4176 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
4177 | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
4178 | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
4179 | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
4180 | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
4181 | end | |
4182 | end)) | |
4183 | attack = false | |
4184 | end | |
4185 | function yinyangi() | |
4186 | attack = true | |
4187 | for i = 0, 2, 0.1 do | |
4188 | swait() | |
4189 | 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) | |
4190 | 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) | |
4191 | 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) | |
4192 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4193 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2) | |
4194 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
4195 | end | |
4196 | local bv = Instance.new("BodyVelocity") | |
4197 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4198 | bv.velocity = root.CFrame.lookVector*175 | |
4199 | bv.Parent = root | |
4200 | for Rotations = 0, 9 do | |
4201 | ||
4202 | for i = 0, 1, 0.5 do | |
4203 | swait() | |
4204 | bv.velocity = root.CFrame.lookVector*175 | |
4205 | 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) | |
4206 | 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) | |
4207 | 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) | |
4208 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
4209 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
4210 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
4211 | end | |
4212 | ||
4213 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
4214 | for i = 0, 1, 0.5 do | |
4215 | swait() | |
4216 | bv.velocity = root.CFrame.lookVector*175 | |
4217 | 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) | |
4218 | 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) | |
4219 | 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) | |
4220 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
4221 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
4222 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
4223 | end | |
4224 | ||
4225 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
4226 | for i = 0, 1, 0.5 do | |
4227 | swait() | |
4228 | bv.velocity = root.CFrame.lookVector*175 | |
4229 | 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) | |
4230 | 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) | |
4231 | 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) | |
4232 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
4233 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
4234 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
4235 | end | |
4236 | ||
4237 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
4238 | for i = 0, 1, 0.5 do | |
4239 | swait() | |
4240 | bv.velocity = root.CFrame.lookVector*175 | |
4241 | 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) | |
4242 | 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) | |
4243 | 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) | |
4244 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
4245 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
4246 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
4247 | end | |
4248 | ||
4249 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
4250 | end | |
4251 | bv:Destroy() | |
4252 | attack = false | |
4253 | end | |
4254 | ||
4255 | function JusticeBeam() | |
4256 | attack = true | |
4257 | ||
4258 | local rngb = Instance.new("Part", char) | |
4259 | rngb.Anchored = true | |
4260 | rngb.BrickColor = origcolor | |
4261 | rngb.CanCollide = false | |
4262 | rngb.FormFactor = 3 | |
4263 | rngb.Name = "Ring" | |
4264 | rngb.Material = "Neon" | |
4265 | rngb.Size = Vector3.new(1, 0.05, 1) | |
4266 | rngb.Transparency = 1 | |
4267 | rngb.TopSurface = 0 | |
4268 | rngb.BottomSurface = 0 | |
4269 | local rngmb = Instance.new("SpecialMesh", rngb) | |
4270 | rngmb.MeshType = "Brick" | |
4271 | rngmb.Name = "SizeMesh" | |
4272 | rngmb.Scale = vt(0,1,0) | |
4273 | ||
4274 | local orb = rngb:Clone() | |
4275 | orb.Parent = char | |
4276 | orb.Transparency = 0 | |
4277 | orb.BrickColor = BrickColor.new("White") | |
4278 | orb.Size = vt(1,1,1) | |
4279 | local orbmish = orb.SizeMesh | |
4280 | orbmish.Scale = vt(0,0,0) | |
4281 | orbmish.MeshType = "Sphere" | |
4282 | ||
4283 | local orbe = rngb:Clone() | |
4284 | orbe.Parent = char | |
4285 | orbe.Transparency = 0.5 | |
4286 | orbe.BrickColor = BrickColor.new("New Yeller") | |
4287 | orbe.Size = vt(1,1,1) | |
4288 | local orbmish2 = orbe.SizeMesh | |
4289 | orbmish2.Scale = vt(0,0,0) | |
4290 | orbmish2.MeshType = "Sphere" | |
4291 | orbe.Color = Color3.new(1,1,1) | |
4292 | ||
4293 | rngb:Destroy() | |
4294 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1) | |
4295 | local scaled = 1 | |
4296 | for i = 0,5,0.1 do | |
4297 | swait() | |
4298 | scaled = scaled - 0.02 | |
4299 | if rainbowmode == true then | |
4300 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4301 | end | |
4302 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
4303 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
4304 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4305 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4306 | 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) | |
4307 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4308 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4309 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4310 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4311 | 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) | |
4312 | 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) | |
4313 | RootPart.CFrame = FaceMouse()[1] | |
4314 | end]]-- | |
4315 | for i = 0,5,0.1 do | |
4316 | swait() | |
4317 | if rainbowmode == true then | |
4318 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4319 | end | |
4320 | if glitchymode then | |
4321 | local val = math.random(1,255) | |
4322 | local color = Color3.fromRGB(val,val,val) | |
4323 | orbe.Color = color | |
4324 | end | |
4325 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4326 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4327 | 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) | |
4328 | 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) | |
4329 | 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) | |
4330 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
4331 | 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) | |
4332 | 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) | |
4333 | end | |
4334 | orbe.Transparency = 1 | |
4335 | orb.Transparency = 1 | |
4336 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
4337 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1) | |
4338 | local a2 = Instance.new("Part",Character) | |
4339 | a2.Name = "Direction" | |
4340 | a2.Anchored = true | |
4341 | a2.BrickColor = bc("New Yeller") | |
4342 | a2.Color = Color3.new(1,1,1) | |
4343 | a2.Material = "Neon" | |
4344 | a2.Transparency = 0.5 | |
4345 | a2.Shape = "Cylinder" | |
4346 | a2.CanCollide = false | |
4347 | local ba = Instance.new("Part",Character) | |
4348 | ba.Name = "HitDirect" | |
4349 | ba.Anchored = true | |
4350 | ba.BrickColor = bc("Cool yellow") | |
4351 | ba.Material = "Neon" | |
4352 | ba.Transparency = 1 | |
4353 | ba.CanCollide = false | |
4354 | local ray = Ray.new( | |
4355 | orb.CFrame.p, -- origin | |
4356 | root.CFrame.lookVector.unit * 1000 -- direction | |
4357 | ) | |
4358 | local ignore = Character | |
4359 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4360 | a2.Transparency = .75 | |
4361 | a2.BottomSurface = 10 | |
4362 | a2.TopSurface = 10 | |
4363 | local distance = (orb.CFrame.p - position).magnitude | |
4364 | a2.Size = Vector3.new(distance, 1, 1) | |
4365 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4366 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4367 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4368 | game:GetService("Debris"):AddItem(a2, 20) | |
4369 | game:GetService("Debris"):AddItem(ba, 20) | |
4370 | local msh2 = Instance.new("SpecialMesh",a2) | |
4371 | msh2.MeshType = "Cylinder" | |
4372 | msh2.Scale = vt(1,6*5,6*5) | |
4373 | ||
4374 | local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1) | |
4375 | for i = 1, 80*2 do | |
4376 | 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) | |
4377 | 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) | |
4378 | 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) | |
4379 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
4380 | 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) | |
4381 | 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) | |
4382 | swait() | |
4383 | CameraEnshaking(1,5) | |
4384 | a2.Color = Color3.new(1,1,1) | |
4385 | a2.Transparency = .25 | |
4386 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4387 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4388 | ray = Ray.new( | |
4389 | orb.CFrame.p, -- origin | |
4390 | root.CFrame.lookVector.unit * 1000 -- direction | |
4391 | ) | |
4392 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4393 | distance = (orb.CFrame.p - position).magnitude | |
4394 | if typrot == 1 then | |
4395 | rotation = rotation + 2.5 | |
4396 | elseif typrot == 2 then | |
4397 | rotation = rotation - 2.5 | |
4398 | end | |
4399 | a2.Size = Vector3.new(distance, 1, 1) | |
4400 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4401 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4402 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4403 | msh2.Scale = msh2.Scale - vt(0,.19,.19) | |
4404 | 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) | |
4405 | 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) | |
4406 | MagniDamage(ba, 30, 5,25, 0, "Normal") | |
4407 | end | |
4408 | a2:Destroy() | |
4409 | ba:Destroy() | |
4410 | orb:Destroy() | |
4411 | orbe:Destroy() | |
4412 | attack = false | |
4413 | end | |
4414 | ||
4415 | function Wip() | |
4416 | attack = true | |
4417 | ||
4418 | local rngb = Instance.new("Part", char) | |
4419 | rngb.Anchored = true | |
4420 | rngb.BrickColor = origcolor | |
4421 | rngb.CanCollide = false | |
4422 | rngb.FormFactor = 3 | |
4423 | rngb.Name = "Ring" | |
4424 | rngb.Material = "Neon" | |
4425 | rngb.Size = Vector3.new(1, 0.05, 1) | |
4426 | rngb.Transparency = 1 | |
4427 | rngb.TopSurface = 0 | |
4428 | rngb.BottomSurface = 0 | |
4429 | local rngmb = Instance.new("SpecialMesh", rngb) | |
4430 | rngmb.MeshType = "Brick" | |
4431 | rngmb.Name = "SizeMesh" | |
4432 | rngmb.Scale = vt(0,1,0) | |
4433 | ||
4434 | local orb = rngb:Clone() | |
4435 | orb.Parent = char | |
4436 | orb.Transparency = 0 | |
4437 | orb.BrickColor = BrickColor.new("White") | |
4438 | orb.Size = vt(1,1,1) | |
4439 | local orbmish = orb.SizeMesh | |
4440 | orbmish.Scale = vt(0,0,0) | |
4441 | orbmish.MeshType = "Sphere" | |
4442 | ||
4443 | local orbe = rngb:Clone() | |
4444 | orbe.Parent = char | |
4445 | orbe.Transparency = 0.5 | |
4446 | orbe.BrickColor = BrickColor.new("New Yeller") | |
4447 | orbe.Size = vt(1,1,1) | |
4448 | local orbmish2 = orbe.SizeMesh | |
4449 | orbmish2.Scale = vt(0,0,0) | |
4450 | orbmish2.MeshType = "Sphere" | |
4451 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4452 | ||
4453 | hum.AutoRotate = false | |
4454 | rngb:Destroy() | |
4455 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1) | |
4456 | local scaled = 1 | |
4457 | for i = 0,5,0.1 do | |
4458 | swait() | |
4459 | scaled = scaled - 0.02 | |
4460 | if rainbowmode == true then | |
4461 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4462 | end | |
4463 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
4464 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
4465 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4466 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4467 | 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) | |
4468 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4469 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4470 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4471 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4472 | 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) | |
4473 | 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) | |
4474 | RootPart.CFrame = FaceMouse()[1] | |
4475 | end]]-- | |
4476 | for i = 0,5,0.1 do | |
4477 | swait() | |
4478 | if rainbowmode == true then | |
4479 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4480 | end | |
4481 | if glitchymode then | |
4482 | local val = math.random(1,255) | |
4483 | local color = Color3.fromRGB(val,val,val) | |
4484 | orbe.Color = color | |
4485 | end | |
4486 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4487 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4488 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4489 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4490 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4491 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4492 | 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) | |
4493 | 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) | |
4494 | RootPart.CFrame = FaceMouse()[1] | |
4495 | end | |
4496 | orbe.Transparency = 1 | |
4497 | orb.Transparency = 1 | |
4498 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
4499 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1) | |
4500 | local a = Instance.new("Part",Character) | |
4501 | a.Name = "Direction" | |
4502 | a.Anchored = true | |
4503 | a.BrickColor = bc("White") | |
4504 | a.Material = "Neon" | |
4505 | a.Transparency = 0 | |
4506 | a.Shape = "Cylinder" | |
4507 | a.CanCollide = false | |
4508 | local a2 = Instance.new("Part",Character) | |
4509 | a2.Name = "Direction" | |
4510 | a2.Anchored = true | |
4511 | a2.BrickColor = bc("New Yeller") | |
4512 | a2.Color = Color3.new(r/255,g/255,b/255) | |
4513 | a2.Material = "Neon" | |
4514 | a2.Transparency = 0.5 | |
4515 | a2.Shape = "Cylinder" | |
4516 | a2.CanCollide = false | |
4517 | local ba = Instance.new("Part",Character) | |
4518 | ba.Name = "HitDirect" | |
4519 | ba.Anchored = true | |
4520 | ba.BrickColor = bc("Cool yellow") | |
4521 | ba.Material = "Neon" | |
4522 | ba.Transparency = 1 | |
4523 | ba.CanCollide = false | |
4524 | local ray = Ray.new( | |
4525 | orb.CFrame.p, -- origin | |
4526 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4527 | ) | |
4528 | local ignore = Character | |
4529 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4530 | a.BottomSurface = 10 | |
4531 | a.TopSurface = 10 | |
4532 | a2.BottomSurface = 10 | |
4533 | a2.TopSurface = 10 | |
4534 | local distance = (orb.CFrame.p - position).magnitude | |
4535 | a.Size = Vector3.new(distance, 1, 1) | |
4536 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4537 | a2.Size = Vector3.new(distance, 1, 1) | |
4538 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4539 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4540 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4541 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4542 | game:GetService("Debris"):AddItem(a, 20) | |
4543 | game:GetService("Debris"):AddItem(a2, 20) | |
4544 | game:GetService("Debris"):AddItem(ba, 20) | |
4545 | local msh = Instance.new("SpecialMesh",a) | |
4546 | msh.MeshType = "Cylinder" | |
4547 | msh.Scale = vt(1,5*5,5*5) | |
4548 | local msh2 = Instance.new("SpecialMesh",a2) | |
4549 | msh2.MeshType = "Cylinder" | |
4550 | msh2.Scale = vt(1,6*5,6*5) | |
4551 | ||
4552 | for i = 0,10,0.1 do | |
4553 | swait() | |
4554 | CameraEnshaking(1,5) | |
4555 | a2.Color = Color3.new(r/255,g/255,b/255) | |
4556 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4557 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4558 | ray = Ray.new( | |
4559 | orb.CFrame.p, -- origin | |
4560 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4561 | ) | |
4562 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4563 | distance = (orb.CFrame.p - position).magnitude | |
4564 | if typrot == 1 then | |
4565 | rotation = rotation + 2.5 | |
4566 | elseif typrot == 2 then | |
4567 | rotation = rotation - 2.5 | |
4568 | end | |
4569 | RootPart.CFrame = FaceMouse()[1] | |
4570 | a.Size = Vector3.new(distance, 1, 1) | |
4571 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4572 | a2.Size = Vector3.new(distance, 1, 1) | |
4573 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4574 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4575 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4576 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4577 | msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5) | |
4578 | msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5) | |
4579 | 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) | |
4580 | 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) | |
4581 | MagniDamage(ba, 30, 5,25, 0, "Normal") | |
4582 | end | |
4583 | a:Destroy() | |
4584 | a2:Destroy() | |
4585 | ba:Destroy() | |
4586 | orb:Destroy() | |
4587 | orbe:Destroy() | |
4588 | hum.AutoRotate = true | |
4589 | attack = false | |
4590 | end | |
4591 | ||
4592 | ||
4593 | function UniversalSpark() | |
4594 | attack = true | |
4595 | ||
4596 | local rngb = Instance.new("Part", char) | |
4597 | rngb.Anchored = true | |
4598 | rngb.BrickColor = origcolor | |
4599 | rngb.CanCollide = false | |
4600 | rngb.FormFactor = 3 | |
4601 | rngb.Name = "Ring" | |
4602 | rngb.Material = "Neon" | |
4603 | rngb.Size = Vector3.new(1, 0.05, 1) | |
4604 | rngb.Transparency = 1 | |
4605 | rngb.TopSurface = 0 | |
4606 | rngb.BottomSurface = 0 | |
4607 | local rngmb = Instance.new("SpecialMesh", rngb) | |
4608 | rngmb.MeshType = "Brick" | |
4609 | rngmb.Name = "SizeMesh" | |
4610 | rngmb.Scale = vt(0,1,0) | |
4611 | ||
4612 | local orb = rngb:Clone() | |
4613 | orb.Parent = char | |
4614 | orb.Transparency = 0 | |
4615 | orb.BrickColor = BrickColor.new("White") | |
4616 | orb.Size = vt(1,1,1) | |
4617 | local orbmish = orb.SizeMesh | |
4618 | orbmish.Scale = vt(0,0,0) | |
4619 | orbmish.MeshType = "Sphere" | |
4620 | ||
4621 | local orbe = rngb:Clone() | |
4622 | orbe.Parent = char | |
4623 | orbe.Transparency = 0.5 | |
4624 | orbe.BrickColor = BrickColor.new("New Yeller") | |
4625 | orbe.Size = vt(1,1,1) | |
4626 | local orbmish2 = orbe.SizeMesh | |
4627 | orbmish2.Scale = vt(0,0,0) | |
4628 | orbmish2.MeshType = "Sphere" | |
4629 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4630 | ||
4631 | rngb:Destroy() | |
4632 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1) | |
4633 | local scaled = 1 | |
4634 | for i = 0,5,0.1 do | |
4635 | swait() | |
4636 | scaled = scaled - 0.02 | |
4637 | if rainbowmode == true then | |
4638 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4639 | end | |
4640 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
4641 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
4642 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4643 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4644 | 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) | |
4645 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4646 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4647 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4648 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4649 | 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) | |
4650 | 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) | |
4651 | RootPart.CFrame = FaceMouse()[1] | |
4652 | end]]-- | |
4653 | for i = 0,5,0.1 do | |
4654 | swait() | |
4655 | if rainbowmode == true then | |
4656 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4657 | end | |
4658 | if glitchymode then | |
4659 | local val = math.random(1,255) | |
4660 | local color = Color3.fromRGB(val,val,val) | |
4661 | orbe.Color = color | |
4662 | end | |
4663 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4664 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4665 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4666 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4667 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4668 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4669 | 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) | |
4670 | 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) | |
4671 | RootPart.CFrame = FaceMouse()[1] | |
4672 | end | |
4673 | orbe.Transparency = 1 | |
4674 | orb.Transparency = 1 | |
4675 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
4676 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1) | |
4677 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1) | |
4678 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1) | |
4679 | ||
4680 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1) | |
4681 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1) | |
4682 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1) | |
4683 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1) | |
4684 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1) | |
4685 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85) | |
4686 | CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1) | |
4687 | local xd= Instance.new("Sound",char) | |
4688 | xd.SoundId = "rbxassetid://445796828" | |
4689 | xd.Pitch = 0.75 | |
4690 | xd.Looped = true | |
4691 | xd.Volume = 1.25 | |
4692 | xd:Play() | |
4693 | local a = Instance.new("Part",Character) | |
4694 | a.Name = "Direction" | |
4695 | a.Anchored = true | |
4696 | a.BrickColor = bc("Alder") | |
4697 | a.Color = MAINRUINCOLOR.Color | |
4698 | a.Material = "Neon" | |
4699 | a.Transparency = 0.5 | |
4700 | a.Shape = "Cylinder" | |
4701 | a.CanCollide = false | |
4702 | local a2 = Instance.new("Part",Character) | |
4703 | a2.Name = "Direction" | |
4704 | a2.Anchored = true | |
4705 | a2.BrickColor = bc("New Yeller") | |
4706 | a2.Color = MAINRUINCOLOR.Color | |
4707 | a2.Material = "Neon" | |
4708 | a2.Transparency = 0.5 | |
4709 | a2.Shape = "Cylinder" | |
4710 | a2.CanCollide = false | |
4711 | local ba = Instance.new("Part",Character) | |
4712 | ba.Name = "HitDirect" | |
4713 | ba.Anchored = true | |
4714 | ba.BrickColor = bc("Cool yellow") | |
4715 | ba.Material = "Neon" | |
4716 | ba.Transparency = 1 | |
4717 | ba.CanCollide = false | |
4718 | local ray = Ray.new( | |
4719 | orb.CFrame.p, -- origin | |
4720 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4721 | ) | |
4722 | local ignore = Character | |
4723 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4724 | a.BottomSurface = 10 | |
4725 | a.TopSurface = 10 | |
4726 | a2.BottomSurface = 10 | |
4727 | a2.TopSurface = 10 | |
4728 | local distance = (orb.CFrame.p - position).magnitude | |
4729 | a.Size = Vector3.new(distance, 1, 1) | |
4730 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4731 | a2.Size = Vector3.new(distance, 1, 1) | |
4732 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4733 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4734 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4735 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4736 | game:GetService("Debris"):AddItem(a, 60) | |
4737 | game:GetService("Debris"):AddItem(a2, 60) | |
4738 | game:GetService("Debris"):AddItem(ba, 60) | |
4739 | local outerscale = 0 | |
4740 | local msh = Instance.new("SpecialMesh",a) | |
4741 | msh.MeshType = "Cylinder" | |
4742 | msh.Scale = vt(1,0,0) | |
4743 | local msh2 = Instance.new("SpecialMesh",a2) | |
4744 | msh2.MeshType = "Cylinder" | |
4745 | msh2.Scale = vt(1,0,0) | |
4746 | for i = 0,2,0.1 do | |
4747 | swait() | |
4748 | CameraEnshaking(1,1) | |
4749 | msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20) | |
4750 | msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15) | |
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 z = 0, 2 do | |
4778 | for i = 0,4,0.1 do | |
4779 | swait() | |
4780 | CameraEnshaking(1,1) | |
4781 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
4782 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
4783 | outerscale = outerscale + 0.015 | |
4784 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4785 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4786 | ray = Ray.new( | |
4787 | orb.CFrame.p, -- origin | |
4788 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4789 | ) | |
4790 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4791 | distance = (orb.CFrame.p - position).magnitude | |
4792 | if typrot == 1 then | |
4793 | rotation = rotation + 2.5 | |
4794 | elseif typrot == 2 then | |
4795 | rotation = rotation - 2.5 | |
4796 | end | |
4797 | RootPart.CFrame = FaceMouse()[1] | |
4798 | a.Size = Vector3.new(distance, 1, 1) | |
4799 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4800 | a2.Size = Vector3.new(distance, 1, 1) | |
4801 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4802 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4803 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4804 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),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 | 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) | |
4807 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
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 | outerscale = outerscale - 0.015 | |
4815 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4816 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4817 | ray = Ray.new( | |
4818 | orb.CFrame.p, -- origin | |
4819 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4820 | ) | |
4821 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4822 | distance = (orb.CFrame.p - position).magnitude | |
4823 | if typrot == 1 then | |
4824 | rotation = rotation + 2.5 | |
4825 | elseif typrot == 2 then | |
4826 | rotation = rotation - 2.5 | |
4827 | end | |
4828 | RootPart.CFrame = FaceMouse()[1] | |
4829 | a.Size = Vector3.new(distance, 1, 1) | |
4830 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4831 | a2.Size = Vector3.new(distance, 1, 1) | |
4832 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4833 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4834 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4835 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4836 | 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) | |
4837 | 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) | |
4838 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
4839 | end | |
4840 | end | |
4841 | for i = 0,4,0.1 do | |
4842 | swait() | |
4843 | CameraEnshaking(1,1) | |
4844 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
4845 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
4846 | xd.Volume = xd.Volume - 0.025 | |
4847 | a.Transparency = a.Transparency + 0.025 | |
4848 | a2.Transparency = a2.Transparency + 0.025 | |
4849 | outerscale = outerscale - 0.015 | |
4850 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4851 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4852 | ray = Ray.new( | |
4853 | orb.CFrame.p, -- origin | |
4854 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4855 | ) | |
4856 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4857 | distance = (orb.CFrame.p - position).magnitude | |
4858 | if typrot == 1 then | |
4859 | rotation = rotation + 2.5 | |
4860 | elseif typrot == 2 then | |
4861 | rotation = rotation - 2.5 | |
4862 | end | |
4863 | RootPart.CFrame = FaceMouse()[1] | |
4864 | a.Size = Vector3.new(distance, 1, 1) | |
4865 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4866 | a2.Size = Vector3.new(distance, 1, 1) | |
4867 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4868 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4869 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4870 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4871 | 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) | |
4872 | 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) | |
4873 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
4874 | end | |
4875 | xd:Destroy() | |
4876 | a:Destroy() | |
4877 | a2:Destroy() | |
4878 | ba:Destroy() | |
4879 | orb:Destroy() | |
4880 | orbe:Destroy() | |
4881 | attack = false | |
4882 | end | |
4883 | ||
4884 | ||
4885 | ||
4886 | function attackone() | |
4887 | attack = true | |
4888 | for i = 0,1,0.1 do | |
4889 | swait() | |
4890 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2) | |
4891 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2) | |
4892 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
4893 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
4894 | 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) | |
4895 | 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) | |
4896 | end | |
4897 | CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1) | |
4898 | ||
4899 | local hitb = Instance.new("Part", char) | |
4900 | hitb.Anchored = true | |
4901 | hitb.CanCollide = false | |
4902 | hitb.FormFactor = 3 | |
4903 | hitb.Name = "Ring" | |
4904 | hitb.Material = "Neon" | |
4905 | hitb.Size = Vector3.new(1, 1, 1) | |
4906 | hitb.Transparency = 1 | |
4907 | hitb.TopSurface = 0 | |
4908 | hitb.BottomSurface = 0 | |
4909 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
4910 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
4911 | hitb:Destroy() | |
4912 | for i = 0,1,0.1 do | |
4913 | swait() | |
4914 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4) | |
4915 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4) | |
4916 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4) | |
4917 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4) | |
4918 | 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) | |
4919 | 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) | |
4920 | end | |
4921 | ||
4922 | attack = false | |
4923 | end | |
4924 | ||
4925 | function attacktwo() | |
4926 | attack = true | |
4927 | for i = 0,1,0.1 do | |
4928 | swait() | |
4929 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2) | |
4930 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2) | |
4931 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
4932 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
4933 | 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) | |
4934 | 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) | |
4935 | end | |
4936 | CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1) | |
4937 | local hitb = Instance.new("Part", char) | |
4938 | hitb.Anchored = true | |
4939 | hitb.CanCollide = false | |
4940 | hitb.FormFactor = 3 | |
4941 | hitb.Name = "Ring" | |
4942 | hitb.Material = "Neon" | |
4943 | hitb.Size = Vector3.new(1, 1, 1) | |
4944 | hitb.Transparency = 1 | |
4945 | hitb.TopSurface = 0 | |
4946 | hitb.BottomSurface = 0 | |
4947 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
4948 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
4949 | hitb:Destroy() | |
4950 | for i = 0,1,0.1 do | |
4951 | swait() | |
4952 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4) | |
4953 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4) | |
4954 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4) | |
4955 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4) | |
4956 | 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) | |
4957 | 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) | |
4958 | end | |
4959 | attack = false | |
4960 | end | |
4961 | ||
4962 | function attackthree() | |
4963 | attack = true | |
4964 | for i = 0,1,0.1 do | |
4965 | swait() | |
4966 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3) | |
4967 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3) | |
4968 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3) | |
4969 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4970 | 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) | |
4971 | 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) | |
4972 | end | |
4973 | local distlook = 5 | |
4974 | for i = 0, 4 do | |
4975 | swait(2) | |
4976 | CameraEnshaking(2,3) | |
4977 | local hite = Instance.new("Part", char) | |
4978 | hite.Anchored = true | |
4979 | hite.CanCollide = false | |
4980 | hite.FormFactor = 3 | |
4981 | hite.Name = "Ring" | |
4982 | hite.Material = "Neon" | |
4983 | hite.Size = Vector3.new(1, 1, 1) | |
4984 | hite.Transparency = 1 | |
4985 | hite.TopSurface = 0 | |
4986 | hite.BottomSurface = 0 | |
4987 | hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook | |
4988 | sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR) | |
4989 | sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR) | |
4990 | MagniDamage(hite, 10, 15,35, 0, "Normal") | |
4991 | for i = 0, 2 do | |
4992 | 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) | |
4993 | 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) | |
4994 | 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) | |
4995 | end | |
4996 | CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1) | |
4997 | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6) | |
4998 | game:GetService("Debris"):AddItem(hite, 5) | |
4999 | distlook = distlook + 10 | |
5000 | end | |
5001 | attack = false | |
5002 | end | |
5003 | ||
5004 | function FinalCalamity() | |
5005 | end | |
5006 | ||
5007 | function resetmode() | |
5008 | rainbowmode = false | |
5009 | chaosmode = false | |
5010 | glitchymode = false | |
5011 | tl1.Enabled = false | |
5012 | tl2.Enabled = false | |
5013 | tl3.Enabled = false | |
5014 | local lust = ModeOfGlitch == 69 | |
5015 | ModeOfGlitch = 1 | |
5016 | storehumanoidWS = 16 | |
5017 | if(not lust)then | |
5018 | newTheme("rbxassetid://1564523997",48.6,1,1) | |
5019 | end | |
5020 | coroutine.resume(coroutine.create(function() | |
5021 | attack = true | |
5022 | hum.WalkSpeed = 0 | |
5023 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25) | |
5024 | for i = 0,4,0.1 do | |
5025 | swait() | |
5026 | 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) | |
5027 | 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) | |
5028 | 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) | |
5029 | 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) | |
5030 | 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) | |
5031 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5032 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5033 | end | |
5034 | if(lust)then | |
5035 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5036 | sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Pink',true,true) | |
5037 | for i = 0, 49 do | |
5038 | 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) | |
5039 | end | |
5040 | ||
5041 | for i = 0,4,0.05 do | |
5042 | swait() | |
5043 | Pitch = 1-i/4 | |
5044 | 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) | |
5045 | 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) | |
5046 | 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) | |
5047 | 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) | |
5048 | 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) | |
5049 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5050 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5051 | end | |
5052 | for i = 0,3,0.1 do | |
5053 | swait() | |
5054 | 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) | |
5055 | 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) | |
5056 | 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) | |
5057 | 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) | |
5058 | 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) | |
5059 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5060 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5061 | end | |
5062 | newTheme("rbxassetid://1564523997",48.6,1,1) | |
5063 | end | |
5064 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1) | |
5065 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5066 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1) | |
5067 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75) | |
5068 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end) | |
5069 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end) | |
5070 | RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1)) | |
5071 | CameraEnshaking(5,2.5) | |
5072 | MAINRUINCOLOR = BrickColor.new("Really black") | |
5073 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5074 | for i = 0, 49 do | |
5075 | 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) | |
5076 | end | |
5077 | for i = 0,3,0.1 do | |
5078 | 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) | |
5079 | end | |
5080 | for i, v in pairs(mw2:GetChildren()) do | |
5081 | if v:IsA("Part") then | |
5082 | v.BrickColor = BrickColor.new("Really black") | |
5083 | v.Material = "Neon" | |
5084 | end | |
5085 | end | |
5086 | for i, v in pairs(mw1:GetChildren()) do | |
5087 | if v:IsA("Part") then | |
5088 | v.Transparency = 1 | |
5089 | v.BrickColor = BrickColor.new("Really black") | |
5090 | v.Material = "Neon" | |
5091 | end | |
5092 | end | |
5093 | for i, v in pairs(m:GetChildren()) do | |
5094 | if v:IsA("Part") then | |
5095 | v.BrickColor = BrickColor.new("Really black") | |
5096 | v.Material = "Glass" | |
5097 | end | |
5098 | end | |
5099 | for i, v in pairs(m2:GetChildren()) do | |
5100 | if v:IsA("Part") then | |
5101 | v.BrickColor = BrickColor.new("Dark stone grey") | |
5102 | v.Material = "Granite" | |
5103 | end | |
5104 | end | |
5105 | for i, v in pairs(m3:GetChildren()) do | |
5106 | if v:IsA("Part") then | |
5107 | v.BrickColor = BrickColor.new("Really black") | |
5108 | v.Material = "Neon" | |
5109 | end | |
5110 | end | |
5111 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5112 | if v:IsA("Part") then | |
5113 | v.Transparency = 1 | |
5114 | v.BrickColor = BrickColor.new("White") | |
5115 | v.Material = "Neon" | |
5116 | end | |
5117 | end | |
5118 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5119 | if v:IsA("Part") then | |
5120 | v.Transparency = 1 | |
5121 | v.BrickColor = BrickColor.new("White") | |
5122 | v.Material = "Neon" | |
5123 | end | |
5124 | end | |
5125 | for i = 0,2,0.1 do | |
5126 | swait() | |
5127 | 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) | |
5128 | 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) | |
5129 | 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) | |
5130 | 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) | |
5131 | 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) | |
5132 | 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) | |
5133 | end | |
5134 | hum.WalkSpeed = storehumanoidWS | |
5135 | attack = false | |
5136 | end)) | |
5137 | end | |
5138 | ||
5139 | function lustmode() | |
5140 | ||
5141 | ModeOfGlitch = 69 | |
5142 | storehumanoidWS = 16 | |
5143 | rainbowmode = false | |
5144 | chaosmode = false | |
5145 | glitchymode = false | |
5146 | tl1.Enabled = false | |
5147 | tl2.Enabled = false | |
5148 | tl3.Enabled = false | |
5149 | newTheme("rbxassetid://1203355187",0,1,1) | |
5150 | coroutine.wrap(function() | |
5151 | attack = true | |
5152 | hum.WalkSpeed = 0 | |
5153 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25) | |
5154 | for i = 0,4,0.1 do | |
5155 | swait() | |
5156 | 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) | |
5157 | 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) | |
5158 | 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) | |
5159 | 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) | |
5160 | 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) | |
5161 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5162 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5163 | end | |
5164 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5165 | sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Pink',true) | |
5166 | ||
5167 | for i = 0,4,0.1 do | |
5168 | swait() | |
5169 | 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) | |
5170 | 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) | |
5171 | 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) | |
5172 | 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) | |
5173 | 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) | |
5174 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5175 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5176 | end | |
5177 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1) | |
5178 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5179 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1) | |
5180 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75) | |
5181 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Pink' end) | |
5182 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Pink' end) | |
5183 | CameraEnshaking(5,2.5) | |
5184 | MAINRUINCOLOR = BrickColor.new("Pink") | |
5185 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5186 | for i = 0, 49 do | |
5187 | 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) | |
5188 | end | |
5189 | for i = 0,3,0.1 do | |
5190 | 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) | |
5191 | end | |
5192 | RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new'Pink'.Color) | |
5193 | for i, v in pairs(mw2:GetChildren()) do | |
5194 | if v:IsA("Part") then | |
5195 | v.BrickColor = MAINRUINCOLOR | |
5196 | v.Material = "Neon" | |
5197 | end | |
5198 | end | |
5199 | for i, v in pairs(mw1:GetChildren()) do | |
5200 | if v:IsA("Part") then | |
5201 | v.Transparency = 1 | |
5202 | v.BrickColor = MAINRUINCOLOR | |
5203 | v.Material = "Neon" | |
5204 | end | |
5205 | end | |
5206 | for i, v in pairs(m:GetChildren()) do | |
5207 | if v:IsA("Part") then | |
5208 | v.BrickColor = BrickColor.new("Pink") | |
5209 | v.Material = "Ice" | |
5210 | end | |
5211 | end | |
5212 | for i, v in pairs(m2:GetChildren()) do | |
5213 | if v:IsA("Part") then | |
5214 | v.BrickColor = BrickColor.new("Pink") | |
5215 | v.Material = "Glass" | |
5216 | end | |
5217 | end | |
5218 | for i, v in pairs(m3:GetChildren()) do | |
5219 | if v:IsA("Part") then | |
5220 | v.BrickColor = BrickColor.new("Pink") | |
5221 | v.Material = "Neon" | |
5222 | end | |
5223 | end | |
5224 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5225 | if v:IsA("Part") then | |
5226 | v.Transparency = 1 | |
5227 | v.BrickColor = BrickColor.new("Pink") | |
5228 | v.Material = "Neon" | |
5229 | end | |
5230 | end | |
5231 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5232 | if v:IsA("Part") then | |
5233 | v.Transparency = 1 | |
5234 | v.BrickColor = BrickColor.new("Pink") | |
5235 | v.Material = "Neon" | |
5236 | end | |
5237 | end | |
5238 | for i = 0,2,0.1 do | |
5239 | swait() | |
5240 | 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) | |
5241 | 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) | |
5242 | 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) | |
5243 | 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) | |
5244 | 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) | |
5245 | 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) | |
5246 | end | |
5247 | hum.WalkSpeed = storehumanoidWS | |
5248 | attack = false | |
5249 | end)() | |
5250 | end | |
5251 | ||
5252 | function insanitymode() | |
5253 | storehumanoidWS = 16 | |
5254 | hum.WalkSpeed = 0 | |
5255 | rainbowmode = false | |
5256 | glitchymode = false | |
5257 | chaosmode = true | |
5258 | tl1.Enabled = true | |
5259 | tl2.Enabled = true | |
5260 | tl3.Enabled = true | |
5261 | local lust = ModeOfGlitch == 69 | |
5262 | newTheme("rbxassetid://919231299",0,1,1) | |
5263 | coroutine.resume(coroutine.create(function() | |
5264 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5265 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5266 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5267 | attack = true | |
5268 | hum.WalkSpeed = 0 | |
5269 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25) | |
5270 | for i = 0,4,0.1 do | |
5271 | swait() | |
5272 | 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) | |
5273 | 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) | |
5274 | 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) | |
5275 | 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) | |
5276 | 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) | |
5277 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5278 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5279 | end | |
5280 | for i = 0,8,0.1 do | |
5281 | swait() | |
5282 | 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) | |
5283 | 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) | |
5284 | 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) | |
5285 | 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) | |
5286 | 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) | |
5287 | 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) | |
5288 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5289 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5290 | end | |
5291 | ||
5292 | for i = 0,3,0.1 do | |
5293 | swait() | |
5294 | 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) | |
5295 | 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) | |
5296 | 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) | |
5297 | 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) | |
5298 | 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) | |
5299 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5300 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5301 | end | |
5302 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1) | |
5303 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5304 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1) | |
5305 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75) | |
5306 | CameraEnshaking(5,2.5) | |
5307 | MAINRUINCOLOR = BrickColor.new("Black") | |
5308 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5309 | for i = 0, 49 do | |
5310 | 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) | |
5311 | end | |
5312 | for i = 0,3,0.1 do | |
5313 | 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) | |
5314 | end | |
5315 | ModeOfGlitch = 666666 | |
5316 | for i, v in pairs(mw2:GetChildren()) do | |
5317 | if v:IsA("Part") then | |
5318 | v.BrickColor = MAINRUINCOLOR | |
5319 | v.Material = "Neon" | |
5320 | end | |
5321 | end | |
5322 | for i, v in pairs(mw1:GetChildren()) do | |
5323 | if v:IsA("Part") then | |
5324 | v.Transparency = 0.75 | |
5325 | v.BrickColor = BrickColor.random() | |
5326 | v.Material = "Neon" | |
5327 | end | |
5328 | end | |
5329 | for i, v in pairs(m:GetChildren()) do | |
5330 | if v:IsA("Part") then | |
5331 | v.BrickColor = BrickColor.new("Black") | |
5332 | v.Material = "Neon" | |
5333 | end | |
5334 | end | |
5335 | for i, v in pairs(m2:GetChildren()) do | |
5336 | if v:IsA("Part") then | |
5337 | v.BrickColor = BrickColor.random() | |
5338 | v.Material = "Neon" | |
5339 | end | |
5340 | end | |
5341 | for i, v in pairs(m3:GetChildren()) do | |
5342 | if v:IsA("Part") then | |
5343 | v.BrickColor = BrickColor.new("Black") | |
5344 | v.Material = "Neon" | |
5345 | end | |
5346 | end | |
5347 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5348 | if v:IsA("Part") then | |
5349 | v.Transparency = .75 | |
5350 | v.BrickColor = BrickColor.Random() | |
5351 | v.Material = "Neon" | |
5352 | end | |
5353 | end | |
5354 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5355 | if v:IsA("Part") then | |
5356 | v.Transparency = 0 | |
5357 | v.BrickColor = BrickColor.new("Black") | |
5358 | v.Material = "Neon" | |
5359 | end | |
5360 | end | |
5361 | for i = 0,2,0.1 do | |
5362 | swait() | |
5363 | 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) | |
5364 | 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) | |
5365 | 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) | |
5366 | 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) | |
5367 | 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) | |
5368 | 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) | |
5369 | end | |
5370 | hum.WalkSpeed = storehumanoidWS | |
5371 | attack = false | |
5372 | end)) | |
5373 | end | |
5374 | ||
5375 | local attacktype = 1 | |
5376 | mouse.Button1Down:connect(function() | |
5377 | if attack == false and attacktype == 1 then | |
5378 | attacktype = 2 | |
5379 | attackone() | |
5380 | elseif attack == false and attacktype == 2 then | |
5381 | attacktype = 3 | |
5382 | attacktwo() | |
5383 | elseif attack == false and attacktype == 3 then | |
5384 | attacktype = 1 | |
5385 | attackthree() | |
5386 | elseif attack == false and attacktype == 4 then | |
5387 | attacktype = 1 | |
5388 | --attackfour() | |
5389 | end | |
5390 | end) | |
5391 | ||
5392 | function Judgement() | |
5393 | attack = true | |
5394 | hum.WalkSpeed = 0 | |
5395 | local p = Instance.new("Part",root) | |
5396 | p.Anchored = true | |
5397 | p.CanCollide = false | |
5398 | p.BrickColor = MAINRUINCOLOR | |
5399 | p.Material = Enum.Material.Neon | |
5400 | p.Size = Vector3.new(1,1,1) | |
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 | local m = Instance.new("SpecialMesh",p) | |
5404 | m.MeshType = "Cylinder" | |
5405 | m.Scale = Vector3.new(2000,2,2) | |
5406 | local targ = Instance.new("Part",root) | |
5407 | targ.Transparency = 1 | |
5408 | targ.CanCollide = false | |
5409 | targ.Size = Vector3.new(1,1,1) | |
5410 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
5411 | CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1) | |
5412 | CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1) | |
5413 | for i = 1,15 do | |
5414 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
5415 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2) | |
5416 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2) | |
5417 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2) | |
5418 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2) | |
5419 | 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) | |
5420 | 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) | |
5421 | sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR) | |
5422 | 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) | |
5423 | m.Scale = m.Scale+Vector3.new(0,1,1) | |
5424 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
5425 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
5426 | swait() | |
5427 | end | |
5428 | 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) | |
5429 | for i = 1,200 do | |
5430 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
5431 | 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) | |
5432 | sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR) | |
5433 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
5434 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
5435 | MagniDamage(targ, 25, 5, 8, 0, "Normal") | |
5436 | swait() | |
5437 | end | |
5438 | for i =1,15 do | |
5439 | m.Scale = m.Scale-Vector3.new(1,1,1) | |
5440 | p.Transparency = i / 15 | |
5441 | swait() | |
5442 | end | |
5443 | p:Destroy() | |
5444 | hum.WalkSpeed = storehumanoidWS | |
5445 | attack = false | |
5446 | end | |
5447 | ||
5448 | local ODerDB = false | |
5449 | function ChooseODer() | |
5450 | if(not ODerDB)then | |
5451 | coroutine.wrap(function() | |
5452 | ||
5453 | local allowOD = true | |
5454 | local whom = (mouse.Target and mouse.Target.Parent) | |
5455 | if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then | |
5456 | ODerDB = true | |
5457 | for _,v in next, ODers do | |
5458 | if(v == whom)then | |
5459 | print'nO OD SELF' | |
5460 | allowOD = false | |
5461 | end | |
5462 | end | |
5463 | if(allowOD)then | |
5464 | 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)) | |
5465 | local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14)) | |
5466 | ||
5467 | ref.CFrame = Torso.CFrame | |
5468 | ref.Anchored = true | |
5469 | local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15)) | |
5470 | local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15)) | |
5471 | local MPos = whom.Head.CFrame*cf(0,4,0) | |
5472 | for i = 0, 1, .05 do | |
5473 | swait() | |
5474 | ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i) | |
5475 | ||
5476 | sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true) | |
5477 | if whom:FindFirstChild'Head' == nil then | |
5478 | break | |
5479 | end | |
5480 | end | |
5481 | ref:destroy() | |
5482 | if whom:FindFirstChild'Head' then | |
5483 | table.insert(ODers,whom) | |
5484 | if(#ODers > 2)then | |
5485 | table.remove(ODers,1) | |
5486 | end | |
5487 | 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) | |
5488 | end | |
5489 | end | |
5490 | ODerDB = false | |
5491 | end | |
5492 | end)() | |
5493 | end | |
5494 | end | |
5495 | ||
5496 | function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY | |
5497 | attack = true | |
5498 | hum.WalkSpeed = 0 | |
5499 | storehumanoidWS = 75 | |
5500 | hum.JumpPower = 0 | |
5501 | newThemeCust("rbxassetid://2627216868",0,1,1) | |
5502 | kan.TimePosition = 0 | |
5503 | ModeOfGlitch = 8376532578634534 | |
5504 | repeat swait() until kan.IsLoaded | |
5505 | chatfunc("Metamorphosis...",text.TextStrokeColor3) | |
5506 | CFuncs["Sound"].Create("rbxassetid://2545011398", Torso, 10,1) | |
5507 | for i = 0, 14, .1 do | |
5508 | swait() | |
5509 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
5510 | 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) | |
5511 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
5512 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1) | |
5513 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
5514 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
5515 | end | |
5516 | chatfunc("I can do anything!",text.TextStrokeColor3) | |
5517 | CFuncs["Sound"].Create("rbxassetid://2544975373", Torso, 10,1) | |
5518 | for i = 0, 12, .1 do | |
5519 | swait() | |
5520 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
5521 | 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) | |
5522 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
5523 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1) | |
5524 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
5525 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
5526 | end | |
5527 | chatfunc("CHAOS, CHAOS!",Color3.new(1,1,1)) | |
5528 | CFuncs["Sound"].Create("rbxassetid://2545008459", Torso, 10,1) | |
5529 | for i = 0, 16, .1 do | |
5530 | swait() | |
5531 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
5532 | 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) | |
5533 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
5534 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1) | |
5535 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
5536 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
5537 | end | |
5538 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1) | |
5539 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5540 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1) | |
5541 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75) | |
5542 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end) | |
5543 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end) | |
5544 | RecolorTextAndRename("J-Evil",Color3.new(0.6,0,1),Color3.new(1,1,0.5)) | |
5545 | CameraEnshaking(5,2.5) | |
5546 | MAINRUINCOLOR = BrickColor.new("Royal purple") | |
5547 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5548 | tl1.Enabled = true | |
5549 | tl2.Enabled = true | |
5550 | tl3.Enabled = true | |
5551 | for i = 0, 49 do | |
5552 | 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) | |
5553 | end | |
5554 | for i = 0,3,0.1 do | |
5555 | 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) | |
5556 | end | |
5557 | for i, v in pairs(mw2:GetChildren()) do | |
5558 | if v:IsA("Part") then | |
5559 | v.BrickColor = BrickColor.new("Bright yellow") | |
5560 | v.Material = "Glass" | |
5561 | end | |
5562 | end | |
5563 | for i, v in pairs(mw1:GetChildren()) do | |
5564 | if v:IsA("Part") then | |
5565 | v.Transparency = 0 | |
5566 | v.BrickColor = BrickColor.new("Royal purple") | |
5567 | v.Material = "Glass" | |
5568 | end | |
5569 | end | |
5570 | for i, v in pairs(m:GetChildren()) do | |
5571 | if v:IsA("Part") then | |
5572 | v.BrickColor = BrickColor.new("Royal purple") | |
5573 | v.Material = "Glass" | |
5574 | end | |
5575 | end | |
5576 | for i, v in pairs(m2:GetChildren()) do | |
5577 | if v:IsA("Part") then | |
5578 | v.BrickColor = BrickColor.new("Royal purple") | |
5579 | v.Material = "Granite" | |
5580 | end | |
5581 | end | |
5582 | for i, v in pairs(m3:GetChildren()) do | |
5583 | if v:IsA("Part") then | |
5584 | v.BrickColor = BrickColor.new("Royal purple") | |
5585 | v.Material = "Glass" | |
5586 | end | |
5587 | end | |
5588 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5589 | if v:IsA("Part") then | |
5590 | v.Transparency = 0 | |
5591 | v.BrickColor = BrickColor.new("Bright yellow") | |
5592 | v.Material = "Glass" | |
5593 | end | |
5594 | end | |
5595 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5596 | if v:IsA("Part") then | |
5597 | v.Transparency = 0 | |
5598 | v.BrickColor = BrickColor.new("Bright yellow") | |
5599 | v.Material = "Glass" | |
5600 | end | |
5601 | end | |
5602 | for i = 0,2,0.1 do | |
5603 | swait() | |
5604 | 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) | |
5605 | 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) | |
5606 | 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) | |
5607 | 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) | |
5608 | 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) | |
5609 | 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) | |
5610 | end | |
5611 | hum.JumpPower = 50 | |
5612 | hum.WalkSpeed = storehumanoidWS | |
5613 | attack = false | |
5614 | end | |
5615 | ||
5616 | function FuckMeSidewaysAndCallMeGay() | |
5617 | local whom = (mouse.Target and mouse.Target.Parent) | |
5618 | --[[local fuckThisBoi = false | |
5619 | if(whom and whom:FindFirstChildOfClass'Humanoid')then | |
5620 | for _,v in next, ODers do | |
5621 | if(v == whom)then | |
5622 | fuckThisBoi = false | |
5623 | end | |
5624 | end | |
5625 | end | |
5626 | if(not fuckThisBoi)then | |
5627 | attack = false | |
5628 | warn'to fuck that boi you need to target them with z' | |
5629 | else]] | |
5630 | if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then | |
5631 | local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' | |
5632 | local hum = whom:FindFirstChildOfClass'Humanoid' | |
5633 | local ocf = RootPart.CFrame | |
5634 | hum.WalkSpeed = 0 | |
5635 | hum.JumpPower = 0 | |
5636 | hed.Anchored = true | |
5637 | RootPart.Anchored = true | |
5638 | Humanoid.WalkSpeed = 0 | |
5639 | Humanoid.JumpPower = 0 | |
5640 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5641 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
5642 | for i = 0, 9 do | |
5643 | 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) | |
5644 | end | |
5645 | for i = 0, 24 do | |
5646 | 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) | |
5647 | end | |
5648 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink")) | |
5649 | attack = true | |
5650 | local speed = 1 | |
5651 | local heck; | |
5652 | local stopitlol = false; | |
5653 | heck = mouse.KeyUp:connect(function(k) | |
5654 | if(k:lower() == 'm')then | |
5655 | stopitlol = true | |
5656 | heck:disconnect() | |
5657 | end | |
5658 | end) | |
5659 | local times = 0 | |
5660 | repeat swait() | |
5661 | speed = speed - .01 | |
5662 | times = times + 1 | |
5663 | if(speed < .1)then | |
5664 | speed = .1 | |
5665 | end | |
5666 | for i = 0, speed, .05 do | |
5667 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5668 | swait() | |
5669 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4) | |
5670 | 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) | |
5671 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4) | |
5672 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
5673 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
5674 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
5675 | end | |
5676 | CameraEnshaking(5,5) | |
5677 | ||
5678 | CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1) | |
5679 | ||
5680 | for i = 0, speed, .05 do | |
5681 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5682 | swait() | |
5683 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4) | |
5684 | 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) | |
5685 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4) | |
5686 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
5687 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5688 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5689 | end | |
5690 | until stopitlol and times >= 3 | |
5691 | for i = 1, 3 do | |
5692 | for i = 0, 1.5, .05 do | |
5693 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5694 | swait() | |
5695 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4) | |
5696 | 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) | |
5697 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4) | |
5698 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
5699 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
5700 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
5701 | end | |
5702 | CameraEnshaking(5,25) | |
5703 | ||
5704 | CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75) | |
5705 | ||
5706 | ||
5707 | coroutine.resume(coroutine.create(function() | |
5708 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso")) | |
5709 | bld.LightEmission = 0.1 | |
5710 | bld.Texture = "rbxassetid://284205403" | |
5711 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
5712 | bld.Rate = 500 | |
5713 | bld.Lifetime = NumberRange.new(1) | |
5714 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5715 | bld.Acceleration = vt(0,-25,0) | |
5716 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5717 | bld.Speed = NumberRange.new(10,50) | |
5718 | bld.EmissionDirection = "Back" | |
5719 | bld.VelocitySpread = 25 | |
5720 | bld.Rotation = NumberRange.new(-500,500) | |
5721 | bld.RotSpeed = NumberRange.new(-500,500) | |
5722 | bld.Enabled = false | |
5723 | bld:Emit(250) | |
5724 | end)) | |
5725 | coroutine.resume(coroutine.create(function() | |
5726 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso")) | |
5727 | bld.LightEmission = 0.1 | |
5728 | bld.Texture = "rbxassetid://284205403" | |
5729 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
5730 | bld.Rate = 500 | |
5731 | bld.Lifetime = NumberRange.new(1) | |
5732 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5733 | bld.Acceleration = vt(0,-25,0) | |
5734 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5735 | bld.Speed = NumberRange.new(10,50) | |
5736 | bld.EmissionDirection = "Back" | |
5737 | bld.VelocitySpread = 25 | |
5738 | bld.Rotation = NumberRange.new(-500,500) | |
5739 | bld.RotSpeed = NumberRange.new(-500,500) | |
5740 | bld.Enabled = false | |
5741 | bld:Emit(250) | |
5742 | end)) | |
5743 | for i = 0, 1.5, .05 do | |
5744 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5745 | swait() | |
5746 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4) | |
5747 | 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) | |
5748 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4) | |
5749 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
5750 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5751 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5752 | end | |
5753 | end | |
5754 | for i = 0, 4, .05 do | |
5755 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5756 | swait() | |
5757 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1) | |
5758 | 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) | |
5759 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1) | |
5760 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1) | |
5761 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1) | |
5762 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1) | |
5763 | end | |
5764 | CameraEnshaking(5,25) | |
5765 | CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1) | |
5766 | CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75) | |
5767 | ||
5768 | dmg(whom) | |
5769 | coroutine.resume(coroutine.create(function() | |
5770 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso")) | |
5771 | bld.LightEmission = 0.1 | |
5772 | bld.Texture = "rbxassetid://284205403" | |
5773 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
5774 | bld.Rate = 500 | |
5775 | bld.Lifetime = NumberRange.new(1) | |
5776 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5777 | bld.Acceleration = vt(0,-25,0) | |
5778 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5779 | bld.Speed = NumberRange.new(10,50) | |
5780 | bld.EmissionDirection = "Back" | |
5781 | bld.VelocitySpread = 25 | |
5782 | bld.Rotation = NumberRange.new(-500,500) | |
5783 | bld.RotSpeed = NumberRange.new(-500,500) | |
5784 | bld.Enabled = true | |
5785 | end)) | |
5786 | coroutine.resume(coroutine.create(function() | |
5787 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso")) | |
5788 | bld.LightEmission = 0.1 | |
5789 | bld.Texture = "rbxassetid://284205403" | |
5790 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
5791 | bld.Rate = 500 | |
5792 | bld.Lifetime = NumberRange.new(1) | |
5793 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5794 | bld.Acceleration = vt(0,-25,0) | |
5795 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5796 | bld.Speed = NumberRange.new(10,50) | |
5797 | bld.EmissionDirection = "Back" | |
5798 | bld.VelocitySpread = 25 | |
5799 | bld.Rotation = NumberRange.new(-500,500) | |
5800 | bld.RotSpeed = NumberRange.new(-500,500) | |
5801 | bld.Enabled = true | |
5802 | end)) | |
5803 | for i = 0, 3, .05 do | |
5804 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5805 | swait() | |
5806 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4) | |
5807 | 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) | |
5808 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4) | |
5809 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
5810 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5811 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5812 | end | |
5813 | ||
5814 | RootPart.CFrame = ocf | |
5815 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
5816 | for i = 0, 9 do | |
5817 | 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) | |
5818 | end | |
5819 | for i = 0, 24 do | |
5820 | 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) | |
5821 | end | |
5822 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink")) | |
5823 | RootPart.Anchored = false | |
5824 | Humanoid.WalkSpeed = storehumanoidWS | |
5825 | Humanoid.JumpPower = 50 | |
5826 | attack = false | |
5827 | end | |
5828 | end | |
5829 | - | elseif k == "q" and attack == false and ModeOfGlitch == 2 then |
5829 | + | |
5830 | local input = "" | |
5831 | ||
5832 | mouse.KeyDown:connect(function(k) | |
5833 | if(k == "w" or k == "a" or k == "s" or k == "d")then | |
5834 | - | elseif k == "f" and attack == false and ModeOfGlitch == 69 then |
5834 | + | |
5835 | local newInput = input | |
5836 | coroutine.wrap(function() | |
5837 | for i = 1, 25 do | |
5838 | if(newInput ~= input)then break end | |
5839 | - | elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then |
5839 | + | |
5840 | - | resetmode() |
5840 | + | |
5841 | if(newInput == input)then input = "" end | |
5842 | end)() | |
5843 | if(input == "wwssadad" and not AllowRape)then | |
5844 | AllowRape = true | |
5845 | warn("Rape unlocked! Have fun ;)") | |
5846 | elseif(input == "wwaassdd" and not AllowCata)then | |
5847 | AllowCata = true | |
5848 | warn("You unlocked CATASTROPHE.") | |
5849 | elseif(input == 'ddawas' and ModeOfGlitch == 4 and not attack)then | |
5850 | ChaosBegone() | |
5851 | end | |
5852 | end | |
5853 | end) | |
5854 | ||
5855 | mouse.KeyDown:connect(function(k) | |
5856 | if k == "h" then | |
5857 | ||
5858 | end | |
5859 | ||
5860 | if k == "q" and attack == false and ModeOfGlitch ~= 2 then | |
5861 | ModeOfGlitch = 2 | |
5862 | storehumanoidWS = 16 | |
5863 | hum.WalkSpeed = 16 | |
5864 | rainbowmode = false | |
5865 | chaosmode = false | |
5866 | glitchymode = false | |
5867 | tl1.Enabled = false | |
5868 | tl2.Enabled = false | |
5869 | tl3.Enabled = false | |
5870 | RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1)) | |
5871 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end) | |
5872 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end) | |
5873 | newTheme("rbxassetid://1539245059",0,1,1) | |
5874 | MAINRUINCOLOR = BrickColor.new("Toothpaste") | |
5875 | for i, v in pairs(mw2:GetChildren()) do | |
5876 | if v:IsA("Part") then | |
5877 | v.BrickColor = MAINRUINCOLOR | |
5878 | v.Material = "Neon" | |
5879 | end | |
5880 | end | |
5881 | for i, v in pairs(mw1:GetChildren()) do | |
5882 | if v:IsA("Part") then | |
5883 | v.Transparency = 1 | |
5884 | v.BrickColor = MAINRUINCOLOR | |
5885 | v.Material = "Neon" | |
5886 | end | |
5887 | end | |
5888 | for i, v in pairs(m:GetChildren()) do | |
5889 | if v:IsA("Part") then | |
5890 | v.BrickColor = BrickColor.new("White") | |
5891 | v.Material = "Ice" | |
5892 | end | |
5893 | end | |
5894 | for i, v in pairs(m2:GetChildren()) do | |
5895 | if v:IsA("Part") then | |
5896 | v.BrickColor = BrickColor.new("Pastel light blue") | |
5897 | v.Material = "Glass" | |
5898 | end | |
5899 | end | |
5900 | for i, v in pairs(m3:GetChildren()) do | |
5901 | if v:IsA("Part") then | |
5902 | v.BrickColor = BrickColor.new("Toothpaste") | |
5903 | - | elseif k == "e" and attack == false and ModeOfGlitch == 3 then |
5903 | + | |
5904 | end | |
5905 | end | |
5906 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5907 | if v:IsA("Part") then | |
5908 | v.Transparency = 1 | |
5909 | v.BrickColor = BrickColor.new("White") | |
5910 | v.Material = "Neon" | |
5911 | end | |
5912 | end | |
5913 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5914 | if v:IsA("Part") then | |
5915 | v.Transparency = 1 | |
5916 | v.BrickColor = BrickColor.new("White") | |
5917 | v.Material = "Neon" | |
5918 | end | |
5919 | end | |
5920 | end | |
5921 | if k == "f" and attack == false and ModeOfGlitch ~= 69 then | |
5922 | lustmode() | |
5923 | end | |
5924 | if k == "m" and attack == false and ModeOfGlitch == 1 then | |
5925 | RiddleMeThisRiddleMeThat() | |
5926 | end | |
5927 | if k == "e" and attack == false and ModeOfGlitch ~= 3 then | |
5928 | ModeOfGlitch = 3 | |
5929 | storehumanoidWS = 16 | |
5930 | hum.WalkSpeed = 16 | |
5931 | rainbowmode = false | |
5932 | chaosmode = false | |
5933 | glitchymode = true | |
5934 | tl1.Enabled = true | |
5935 | tl2.Enabled = true | |
5936 | tl3.Enabled = true | |
5937 | RecolorTextAndRename("gLiTcHy",Color3.new(0,0,0),Color3.new(0.35,0,1)) | |
5938 | newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203 | |
5939 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end) | |
5940 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end) | |
5941 | MAINRUINCOLOR = BrickColor.new("White") | |
5942 | for i, v in pairs(mw2:GetChildren()) do | |
5943 | if v:IsA("Part") then | |
5944 | v.BrickColor = MAINRUINCOLOR | |
5945 | v.Material = "Neon" | |
5946 | end | |
5947 | end | |
5948 | for i, v in pairs(mw1:GetChildren()) do | |
5949 | if v:IsA("Part") then | |
5950 | v.Transparency = 0 | |
5951 | v.BrickColor = MAINRUINCOLOR | |
5952 | v.Material = "Neon" | |
5953 | end | |
5954 | end | |
5955 | for i, v in pairs(m:GetChildren()) do | |
5956 | if v:IsA("Part") then | |
5957 | v.BrickColor = BrickColor.new("Really black") | |
5958 | v.Material = "Ice" | |
5959 | end | |
5960 | end | |
5961 | for i, v in pairs(m2:GetChildren()) do | |
5962 | if v:IsA("Part") then | |
5963 | v.BrickColor = BrickColor.new("Dark indigo") | |
5964 | v.Material = "Glass" | |
5965 | end | |
5966 | end | |
5967 | - | elseif k == "r" and attack == false and ModeOfGlitch == 4 then |
5967 | + | |
5968 | if v:IsA("Part") then | |
5969 | v.Transparency = 1 | |
5970 | v.BrickColor = BrickColor.new("Royal purple") | |
5971 | v.Material = "Neon" | |
5972 | end | |
5973 | - | elseif k == "m" and attack == false and ModeOfGlitch == 666666 then |
5973 | + | |
5974 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5975 | if v:IsA("Part") then | |
5976 | v.Transparency = 1 | |
5977 | v.BrickColor = BrickColor.new("White") | |
5978 | v.Material = "Neon" | |
5979 | end | |
5980 | end | |
5981 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5982 | if v:IsA("Part") then | |
5983 | v.Transparency = 1 | |
5984 | v.BrickColor = BrickColor.new("White") | |
5985 | v.Material = "Neon" | |
5986 | end | |
5987 | end | |
5988 | end | |
5989 | if k == "r" and attack == false and ModeOfGlitch ~= 4 then | |
5990 | ModeOfGlitch = 4 | |
5991 | storehumanoidWS = 16 | |
5992 | hum.WalkSpeed = 16 | |
5993 | rainbowmode = false | |
5994 | glitchymode = false | |
5995 | chaosmode = true | |
5996 | tl1.Enabled = true | |
5997 | tl2.Enabled = true | |
5998 | tl3.Enabled = true | |
5999 | RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color) | |
6000 | newTheme("rbxassetid://1369263130",0,1,1) | |
6001 | MAINRUINCOLOR = BrickColor.new("Black") | |
6002 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6003 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6004 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6005 | for i, v in pairs(mw2:GetChildren()) do | |
6006 | if v:IsA("Part") then | |
6007 | v.BrickColor = MAINRUINCOLOR | |
6008 | v.Material = "Neon" | |
6009 | end | |
6010 | end | |
6011 | for i, v in pairs(mw1:GetChildren()) do | |
6012 | if v:IsA("Part") then | |
6013 | v.Transparency = 0.75 | |
6014 | v.BrickColor = BrickColor.random() | |
6015 | v.Material = "Neon" | |
6016 | end | |
6017 | end | |
6018 | for i, v in pairs(m:GetChildren()) do | |
6019 | if v:IsA("Part") then | |
6020 | v.BrickColor = BrickColor.new("Black") | |
6021 | v.Material = "Neon" | |
6022 | end | |
6023 | end | |
6024 | for i, v in pairs(m2:GetChildren()) do | |
6025 | if v:IsA("Part") then | |
6026 | v.BrickColor = BrickColor.random() | |
6027 | v.Material = "Neon" | |
6028 | end | |
6029 | end | |
6030 | for i, v in pairs(m3:GetChildren()) do | |
6031 | if v:IsA("Part") then | |
6032 | v.BrickColor = BrickColor.new("Black") | |
6033 | v.Material = "Neon" | |
6034 | end | |
6035 | end | |
6036 | - | elseif k == "t" and attack == false and ModeOfGlitch == 5 then |
6036 | + | |
6037 | if v:IsA("Part") then | |
6038 | v.Transparency = 1 | |
6039 | v.BrickColor = BrickColor.new("White") | |
6040 | v.Material = "Neon" | |
6041 | end | |
6042 | end | |
6043 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6044 | if v:IsA("Part") then | |
6045 | v.Transparency = 1 | |
6046 | v.BrickColor = BrickColor.new("White") | |
6047 | v.Material = "Neon" | |
6048 | end | |
6049 | end | |
6050 | end | |
6051 | ||
6052 | if k == "m" and attack == false and ModeOfGlitch == 4 then | |
6053 | insanitymode() | |
6054 | end | |
6055 | if k == "t" and attack == false and ModeOfGlitch ~= 5 then | |
6056 | ModeOfGlitch = 5 | |
6057 | storehumanoidWS = 16 | |
6058 | hum.WalkSpeed = 16 | |
6059 | rainbowmode = false | |
6060 | chaosmode = false | |
6061 | glitchymode = false | |
6062 | tl1.Enabled = true | |
6063 | tl2.Enabled = true | |
6064 | tl3.Enabled = true | |
6065 | RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5)) | |
6066 | newTheme("rbxassetid://661079869",0,1.02,1) | |
6067 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end) | |
6068 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end) | |
6069 | MAINRUINCOLOR = BrickColor.new("Bright yellow") | |
6070 | for i, v in pairs(mw2:GetChildren()) do | |
6071 | if v:IsA("Part") then | |
6072 | v.BrickColor = MAINRUINCOLOR | |
6073 | v.Material = "Neon" | |
6074 | end | |
6075 | end | |
6076 | for i, v in pairs(mw1:GetChildren()) do | |
6077 | if v:IsA("Part") then | |
6078 | v.Transparency = 0 | |
6079 | v.BrickColor = MAINRUINCOLOR | |
6080 | v.Material = "Neon" | |
6081 | end | |
6082 | end | |
6083 | for i, v in pairs(m:GetChildren()) do | |
6084 | if v:IsA("Part") then | |
6085 | v.BrickColor = BrickColor.new("Cool yellow") | |
6086 | v.Material = "Ice" | |
6087 | end | |
6088 | end | |
6089 | for i, v in pairs(m2:GetChildren()) do | |
6090 | if v:IsA("Part") then | |
6091 | v.BrickColor = BrickColor.new("Bright yellow") | |
6092 | v.Material = "Ice" | |
6093 | end | |
6094 | end | |
6095 | for i, v in pairs(m3:GetChildren()) do | |
6096 | if v:IsA("Part") then | |
6097 | v.BrickColor = BrickColor.new("Bright yellow") | |
6098 | v.Material = "Neon" | |
6099 | - | elseif k == "y" and attack == false and ModeOfGlitch == 6 then |
6099 | + | |
6100 | end | |
6101 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6102 | if v:IsA("Part") then | |
6103 | v.Transparency = 1 | |
6104 | v.BrickColor = BrickColor.new("White") | |
6105 | v.Material = "Neon" | |
6106 | end | |
6107 | end | |
6108 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6109 | if v:IsA("Part") then | |
6110 | v.Transparency = 1 | |
6111 | v.BrickColor = BrickColor.new("White") | |
6112 | v.Material = "Neon" | |
6113 | end | |
6114 | end | |
6115 | end | |
6116 | if k == "y" and attack == false and ModeOfGlitch ~= 6 then | |
6117 | ModeOfGlitch = 6 | |
6118 | storehumanoidWS = 75 | |
6119 | hum.WalkSpeed = 75 | |
6120 | rainbowmode = false | |
6121 | chaosmode = false | |
6122 | glitchymode = false | |
6123 | tl1.Enabled = true | |
6124 | tl2.Enabled = true | |
6125 | tl3.Enabled = true | |
6126 | RecolorTextAndRename("Justice",Color3.new(0,0,0),Color3.new(1,1,1)) | |
6127 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end) | |
6128 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end) | |
6129 | newTheme("rbxassetid://1102271169",0,1,1) | |
6130 | MAINRUINCOLOR = BrickColor.new("White") | |
6131 | for i, v in pairs(mw2:GetChildren()) do | |
6132 | if v:IsA("Part") then | |
6133 | v.BrickColor = MAINRUINCOLOR | |
6134 | v.Material = "Neon" | |
6135 | end | |
6136 | end | |
6137 | for i, v in pairs(mw1:GetChildren()) do | |
6138 | if v:IsA("Part") then | |
6139 | v.Transparency = 0 | |
6140 | v.BrickColor = MAINRUINCOLOR | |
6141 | v.Material = "Neon" | |
6142 | end | |
6143 | end | |
6144 | for i, v in pairs(m:GetChildren()) do | |
6145 | if v:IsA("Part") then | |
6146 | v.BrickColor = BrickColor.new("White") | |
6147 | v.Material = "Ice" | |
6148 | end | |
6149 | end | |
6150 | for i, v in pairs(m2:GetChildren()) do | |
6151 | if v:IsA("Part") then | |
6152 | v.BrickColor = BrickColor.new("White") | |
6153 | v.Material = "Ice" | |
6154 | end | |
6155 | end | |
6156 | for i, v in pairs(m3:GetChildren()) do | |
6157 | if v:IsA("Part") then | |
6158 | v.BrickColor = BrickColor.new("White") | |
6159 | v.Material = "Neon" | |
6160 | end | |
6161 | end | |
6162 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6163 | if v:IsA("Part") then | |
6164 | v.Transparency = 1 | |
6165 | v.BrickColor = BrickColor.new("White") | |
6166 | v.Material = "Neon" | |
6167 | end | |
6168 | end | |
6169 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6170 | if v:IsA("Part") then | |
6171 | v.Transparency = 1 | |
6172 | v.BrickColor = BrickColor.new("White") | |
6173 | - | elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then |
6173 | + | |
6174 | end | |
6175 | end | |
6176 | end | |
6177 | if k == "u" and attack == false then | |
6178 | ||
6179 | storehumanoidWS = 50 | |
6180 | hum.WalkSpeed = 50 | |
6181 | rainbowmode = true | |
6182 | chaosmode = false | |
6183 | glitchymode = false | |
6184 | tl1.Enabled = true | |
6185 | tl2.Enabled = true | |
6186 | tl3.Enabled = true | |
6187 | ||
6188 | if(ModeOfGlitch == 6127843)then | |
6189 | vaporwave = not vaporwave | |
6190 | end | |
6191 | ||
6192 | if(not vaporwave)then | |
6193 | RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1)) | |
6194 | newTheme("rbxassetid://147930134",0,1,1) | |
6195 | else | |
6196 | RecolorTextAndRename("Vaporwave",Color3.new(1,1,1),Color3.new(1,1,1)) | |
6197 | newTheme("rbxassetid://1308711379",0,1,1) | |
6198 | end | |
6199 | ||
6200 | ||
6201 | ModeOfGlitch = 6127843 | |
6202 | MAINRUINCOLOR = BrickColor.new("White") | |
6203 | for i, v in pairs(mw2:GetChildren()) do | |
6204 | if v:IsA("Part") then | |
6205 | v.BrickColor = MAINRUINCOLOR | |
6206 | v.Material = "Neon" | |
6207 | end | |
6208 | end | |
6209 | for i, v in pairs(mw1:GetChildren()) do | |
6210 | if v:IsA("Part") then | |
6211 | v.Transparency = 0 | |
6212 | v.BrickColor = MAINRUINCOLOR | |
6213 | v.Material = "Neon" | |
6214 | end | |
6215 | end | |
6216 | for i, v in pairs(m:GetChildren()) do | |
6217 | if v:IsA("Part") then | |
6218 | v.BrickColor = BrickColor.new("White") | |
6219 | v.Material = "Neon" | |
6220 | end | |
6221 | end | |
6222 | for i, v in pairs(m2:GetChildren()) do | |
6223 | if v:IsA("Part") then | |
6224 | v.BrickColor = BrickColor.new("White") | |
6225 | v.Material = "Neon" | |
6226 | end | |
6227 | end | |
6228 | for i, v in pairs(m3:GetChildren()) do | |
6229 | if v:IsA("Part") then | |
6230 | v.BrickColor = BrickColor.new("White") | |
6231 | v.Material = "Neon" | |
6232 | end | |
6233 | end | |
6234 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6235 | if v:IsA("Part") then | |
6236 | v.Transparency = 1 | |
6237 | v.BrickColor = BrickColor.new("White") | |
6238 | v.Material = "Neon" | |
6239 | - | elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then |
6239 | + | |
6240 | end | |
6241 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6242 | if v:IsA("Part") then | |
6243 | v.Transparency = 1 | |
6244 | v.BrickColor = BrickColor.new("White") | |
6245 | v.Material = "Neon" | |
6246 | end | |
6247 | end | |
6248 | end | |
6249 | if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then | |
6250 | ModeOfGlitch = 1000000 | |
6251 | storehumanoidWS = 100 | |
6252 | hum.WalkSpeed = 100 | |
6253 | rainbowmode = false | |
6254 | chaosmode = false | |
6255 | glitchymode = false | |
6256 | tl1.Enabled = true | |
6257 | tl2.Enabled = true | |
6258 | tl3.Enabled = true | |
6259 | RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1)) | |
6260 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Bright violet' end) | |
6261 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Bright violet' end) | |
6262 | newTheme("rbxassetid://1359036559",0,1,1) | |
6263 | MAINRUINCOLOR = BrickColor.new("Bright violet") | |
6264 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6265 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6266 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6267 | for i, v in pairs(mw2:GetChildren()) do | |
6268 | if v:IsA("Part") then | |
6269 | v.BrickColor = MAINRUINCOLOR | |
6270 | v.Material = "Neon" | |
6271 | end | |
6272 | end | |
6273 | for i, v in pairs(mw1:GetChildren()) do | |
6274 | if v:IsA("Part") then | |
6275 | v.Transparency = 0 | |
6276 | v.BrickColor = MAINRUINCOLOR | |
6277 | v.Material = "Neon" | |
6278 | end | |
6279 | end | |
6280 | for i, v in pairs(m:GetChildren()) do | |
6281 | if v:IsA("Part") then | |
6282 | v.Color = Color3.new(0.5,0,1) | |
6283 | v.Material = "Neon" | |
6284 | end | |
6285 | end | |
6286 | for i, v in pairs(m2:GetChildren()) do | |
6287 | if v:IsA("Part") then | |
6288 | v.Color = Color3.new(0.25,0,1) | |
6289 | v.Material = "Neon" | |
6290 | end | |
6291 | end | |
6292 | for i, v in pairs(m3:GetChildren()) do | |
6293 | if v:IsA("Part") then | |
6294 | v.Color = Color3.new(0.45,0,1) | |
6295 | v.Material = "Neon" | |
6296 | end | |
6297 | end | |
6298 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6299 | if v:IsA("Part") then | |
6300 | v.Transparency = 0.75 | |
6301 | v.Color = Color3.new(0.25,0,1) | |
6302 | v.Material = "Neon" | |
6303 | end | |
6304 | end | |
6305 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6306 | if v:IsA("Part") then | |
6307 | v.Transparency = 0.75 | |
6308 | v.Color = Color3.new(0.5,0,1) | |
6309 | v.Material = "Neon" | |
6310 | end | |
6311 | end | |
6312 | end | |
6313 | if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 and (plr.Name == 'Noobygames12' or plr.UserId == 5719877 or AllowCata) then | |
6314 | newThemeCust("rbxassetid://1504604335",0,1,1) | |
6315 | attack = true | |
6316 | hum.WalkSpeed = 0 | |
6317 | MAINRUINCOLOR = BrickColor.new("Royal purple") | |
6318 | for i = 0, 24, 0.1 do | |
6319 | swait() | |
6320 | 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) | |
6321 | 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) | |
6322 | 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) | |
6323 | 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) | |
6324 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
6325 | 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) | |
6326 | 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) | |
6327 | end | |
6328 | CameraEnshaking(1,1) | |
6329 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
6330 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1) | |
6331 | wait(0.55) | |
6332 | CameraEnshaking(1,2) | |
6333 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
6334 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
6335 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
6336 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1) | |
6337 | wait(0.55) | |
6338 | CameraEnshaking(1,3) | |
6339 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
6340 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
6341 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
6342 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
6343 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
6344 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1) | |
6345 | wait(0.55) | |
6346 | CameraEnshaking(10,5) | |
6347 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1) | |
6348 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1) | |
6349 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1) | |
6350 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85) | |
6351 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1) | |
6352 | sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
6353 | sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR) | |
6354 | sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR) | |
6355 | sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR) | |
6356 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
6357 | sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR) | |
6358 | sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR) | |
6359 | sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR) | |
6360 | sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR) | |
6361 | sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR) | |
6362 | for i = 0, 49 do | |
6363 | 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) | |
6364 | 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) | |
6365 | 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) | |
6366 | 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) | |
6367 | end | |
6368 | ModeOfGlitch = 12345678987654321 | |
6369 | storehumanoidWS = 200 | |
6370 | hum.WalkSpeed = 200 | |
6371 | rainbowmode = false | |
6372 | chaosmode = false | |
6373 | glitchymode = false | |
6374 | tl1.Enabled = true | |
6375 | tl2.Enabled = true | |
6376 | tl3.Enabled = true | |
6377 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Dark indigo' end) | |
6378 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Dark indigo' end) | |
6379 | RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1)) | |
6380 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6381 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6382 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6383 | for i, v in pairs(mw2:GetChildren()) do | |
6384 | if v:IsA("Part") then | |
6385 | v.BrickColor = MAINRUINCOLOR | |
6386 | v.Material = "Neon" | |
6387 | end | |
6388 | end | |
6389 | for i, v in pairs(mw1:GetChildren()) do | |
6390 | if v:IsA("Part") then | |
6391 | v.Transparency = 0 | |
6392 | v.BrickColor = MAINRUINCOLOR | |
6393 | v.Material = "Neon" | |
6394 | end | |
6395 | end | |
6396 | for i, v in pairs(m:GetChildren()) do | |
6397 | if v:IsA("Part") then | |
6398 | v.Color = Color3.new(0.5,0,1) | |
6399 | v.Material = "Neon" | |
6400 | end | |
6401 | end | |
6402 | for i, v in pairs(m2:GetChildren()) do | |
6403 | if v:IsA("Part") then | |
6404 | v.Color = Color3.new(0.5,0,1) | |
6405 | v.Material = "Neon" | |
6406 | end | |
6407 | end | |
6408 | for i, v in pairs(m3:GetChildren()) do | |
6409 | if v:IsA("Part") then | |
6410 | v.Color = Color3.new(0.5,0,1) | |
6411 | v.Material = "Neon" | |
6412 | end | |
6413 | end | |
6414 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6415 | if v:IsA("Part") then | |
6416 | v.Transparency = 0 | |
6417 | v.Color = Color3.new(0.5,0,1) | |
6418 | v.Material = "Neon" | |
6419 | end | |
6420 | end | |
6421 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6422 | if v:IsA("Part") then | |
6423 | v.Transparency = 0 | |
6424 | v.Color = Color3.new(0.5,0,1) | |
6425 | v.Material = "Neon" | |
6426 | end | |
6427 | attack = false | |
6428 | end | |
6429 | elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then | |
6430 | resetmode() | |
6431 | end | |
6432 | if k == "l" and toggleTag == false then | |
6433 | toggleTag = true | |
6434 | text.TextTransparency = 0 | |
6435 | text.TextStrokeTransparency = 0 | |
6436 | elseif k == "l" and toggleTag == true then | |
6437 | toggleTag = false | |
6438 | text.TextTransparency = 1 | |
6439 | text.TextStrokeTransparency = 1 | |
6440 | end | |
6441 | if k == "z" and attack == false and (ModeOfGlitch == 1 or ModeOfGlitch == 8376532578634534) then | |
6442 | ExtinctiveHeartbreak() | |
6443 | elseif k == "z" and attack == false and ModeOfGlitch == 2 then | |
6444 | PureBomb() | |
6445 | elseif k == "z" and attack == false and ModeOfGlitch == 3 then | |
6446 | scattercorrupt() | |
6447 | elseif k == "z" and attack == false and ModeOfGlitch == 5 then | |
6448 | Judgement() | |
6449 | elseif k == "z" and attack == false and ModeOfGlitch == 4 then | |
6450 | ChaosGroundStrike() | |
6451 | elseif k == "z" and attack == false and ModeOfGlitch == 666666 then | |
6452 | InsaneGroundStrike() | |
6453 | ||
6454 | elseif k == "z" and attack == false and ModeOfGlitch == 69 then | |
6455 | ChooseODer() | |
6456 | elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then | |
6457 | Starfall() | |
6458 | elseif k == "z" and attack == false and ModeOfGlitch == 6 then | |
6459 | yinyangi() | |
6460 | elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then | |
6461 | Wip() | |
6462 | elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then | |
6463 | StarfallEX() | |
6464 | end | |
6465 | if k == "x" and attack == false and ModeOfGlitch == 1000000 then | |
6466 | StarDivision() | |
6467 | elseif k == "x" and attack == false and ModeOfGlitch == 6 then | |
6468 | JusticeBeam() | |
6469 | end | |
6470 | if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then | |
6471 | UniversalCollapse() | |
6472 | end | |
6473 | if k == "b" and attack == false and ModeOfGlitch == 4 then | |
6474 | ||
6475 | end | |
6476 | if k == "n" and attack == false then | |
6477 | CorruptBlink() | |
6478 | end | |
6479 | if k == "m" and attack == false and ModeOfGlitch == 69 and AllowRape then | |
6480 | FuckMeSidewaysAndCallMeGay() | |
6481 | end | |
6482 | end) | |
6483 | coroutine.resume(coroutine.create(function() | |
6484 | while true do | |
6485 | swait(2) | |
6486 | if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then | |
6487 | 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) | |
6488 | end | |
6489 | ||
6490 | end | |
6491 | end)) | |
6492 | ||
6493 | ||
6494 | coroutine.resume(coroutine.create(function() | |
6495 | while true do | |
6496 | if ModeOfGlitch == 1000000 then | |
6497 | swait(0.5) | |
6498 | end | |
6499 | swait() | |
6500 | if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then | |
6501 | 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) | |
6502 | end | |
6503 | if ModeOfGlitch == 12345678987654321 then | |
6504 | 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) | |
6505 | end | |
6506 | end | |
6507 | end)) | |
6508 | ||
6509 | ||
6510 | function RandomMaterial() | |
6511 | local getRandom; | |
6512 | local material; | |
6513 | local function IsTerrainMaterial(mat) | |
6514 | local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end) | |
6515 | return isMaterial | |
6516 | end | |
6517 | getRandom = function() | |
6518 | local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] | |
6519 | if(not IsTerrainMaterial(mat))then material = mat else getRandom() end | |
6520 | end | |
6521 | getRandom() | |
6522 | repeat wait() until material | |
6523 | return material | |
6524 | end | |
6525 | function RandomCaps(str) | |
6526 | local new = "" | |
6527 | for i = 1, #str do | |
6528 | if(math.random(1,2) == 1)then | |
6529 | new = new .. (str:sub(i,i):upper()) | |
6530 | else | |
6531 | new = new .. str:sub(i,i) | |
6532 | end | |
6533 | end | |
6534 | return new | |
6535 | end | |
6536 | ||
6537 | coroutine.resume(coroutine.create(function() | |
6538 | while true do | |
6539 | for i = 1, #ODers do | |
6540 | local ODer = ODers[i] | |
6541 | if(ODer)then | |
6542 | local hed = ODer:FindFirstChild'Head' | |
6543 | if(ODer.Parent and hed)then | |
6544 | 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) | |
6545 | else | |
6546 | table.remove(ODers,i) | |
6547 | end | |
6548 | else | |
6549 | table.remove(ODers,i) | |
6550 | end | |
6551 | end | |
6552 | if(not kan)then | |
6553 | kan = Instance.new("Sound",char) | |
6554 | end | |
6555 | kan.Parent = char | |
6556 | if(plr.UserId == 5719877)then kan.Volume = 3 else kan.Volume = 1 end | |
6557 | kan.Pitch = Pitch | |
6558 | kan.SoundId = MID | |
6559 | kan.Name = "wrecked" | |
6560 | kan.Looped = true | |
6561 | kan:Resume() | |
6562 | swait() | |
6563 | if glitchymode == true then | |
6564 | local val = math.random(1,255) | |
6565 | local color = Color3.fromRGB(val,val,val) | |
6566 | pcall(function() Character.ReaperShadowHead.Eye1.Color = color end) | |
6567 | pcall(function() Character.ReaperShadowHead.Eye2.Color = color end) | |
6568 | tl1.Color = ColorSequence.new(color) | |
6569 | tl2.Color = ColorSequence.new(color) | |
6570 | tl3.Color = ColorSequence.new(color) | |
6571 | tr1.Color = ColorSequence.new(color) | |
6572 | tr2.Color = ColorSequence.new(color) | |
6573 | tr3.Color = ColorSequence.new(color) | |
6574 | for i, v in pairs(mw1:GetChildren()) do | |
6575 | if v:IsA("Part") then | |
6576 | v.Transparency = 0 | |
6577 | v.Color = color | |
6578 | v.Material = "Neon" | |
6579 | end | |
6580 | end | |
6581 | for i, v in pairs(mw2:GetChildren()) do | |
6582 | if v:IsA("Part") then | |
6583 | v.Color = color | |
6584 | v.Material = "Neon" | |
6585 | end | |
6586 | end | |
6587 | for i, v in pairs(m2:GetChildren()) do | |
6588 | if v:IsA("Part") then | |
6589 | v.Color = color | |
6590 | v.Material = "Neon" | |
6591 | end | |
6592 | end | |
6593 | RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"glitchy"),Color3.new(0,0,0),color) | |
6594 | end | |
6595 | if chaosmode or glitchymode then | |
6596 | pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end) | |
6597 | pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end) | |
6598 | else | |
6599 | pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end) | |
6600 | pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end) | |
6601 | end | |
6602 | if chaosmode == true then | |
6603 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
6604 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
6605 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
6606 | RecolorTextAndRename((ModeOfGlitch == 666666 and "INSANITY" or "CHAOS"),Color3.new(0,0,0),BrickColor.random().Color) | |
6607 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.random() end) | |
6608 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.random() end) | |
6609 | for i, v in pairs(mw1:GetChildren()) do | |
6610 | if v:IsA("Part") then | |
6611 | v.Transparency = 0.75 | |
6612 | v.BrickColor = BrickColor.random() | |
6613 | v.Material = "Neon" | |
6614 | end | |
6615 | end | |
6616 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6617 | if v:IsA("Part") and ModeOfGlitch == 666666 then | |
6618 | v.Transparency = 0.75 | |
6619 | v.BrickColor = BrickColor.random() | |
6620 | v.Material = "Neon" | |
6621 | elseif v:IsA("Part") then | |
6622 | v.Transparency = 1 | |
6623 | end | |
6624 | end | |
6625 | for i, v in pairs(m2:GetChildren()) do | |
6626 | if v:IsA("Part") then | |
6627 | v.BrickColor = BrickColor.random() | |
6628 | v.Material = "Neon" | |
6629 | end | |
6630 | end | |
6631 | end | |
6632 | end | |
6633 | end)) | |
6634 | Humanoid.Name = "STARGLITCHER" | |
6635 | Humanoid.MaxHealth = math.huge | |
6636 | Humanoid.Health = math.huge | |
6637 | Instance.new("ForceField",char).Visible = false | |
6638 | Humanoid.Animator.Parent = nil | |
6639 | idleanim=.4 | |
6640 | while true do | |
6641 | if rainbowmode == false and chaosmode == false and glitchymode == false then | |
6642 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6643 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6644 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6645 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6646 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6647 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6648 | end | |
6649 | if rainbowmode == true then | |
6650 | pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end) | |
6651 | pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end) | |
6652 | if(not vaporwave)then | |
6653 | RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500)) | |
6654 | else | |
6655 | RecolorTextAndRename("Vaporwave",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500)) | |
6656 | end | |
6657 | MAINRUINCOLOR = BrickColor.new("White") | |
6658 | tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6659 | tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6660 | tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6661 | tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6662 | tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6663 | tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6664 | for i, v in pairs(m:GetChildren()) do | |
6665 | if v:IsA("Part") then | |
6666 | v.Color = Color3.new(r/255,g/255,b/255) | |
6667 | end | |
6668 | end | |
6669 | for i, v in pairs(m2:GetChildren()) do | |
6670 | if v:IsA("Part") then | |
6671 | v.Color = Color3.new(r/255,g/255,b/255) | |
6672 | end | |
6673 | end | |
6674 | for i, v in pairs(m3:GetChildren()) do | |
6675 | if v:IsA("Part") then | |
6676 | v.Color = Color3.new(r/255,g/255,b/255) | |
6677 | end | |
6678 | end | |
6679 | for i, v in pairs(mw1:GetChildren()) do | |
6680 | if v:IsA("Part") then | |
6681 | v.Color = Color3.new(r/255,g/255,b/255) | |
6682 | v.Material = "Neon" | |
6683 | end | |
6684 | end | |
6685 | for i, v in pairs(mw2:GetChildren()) do | |
6686 | if v:IsA("Part") then | |
6687 | v.Color = Color3.new(r/255,g/255,b/255) | |
6688 | v.Material = "Neon" | |
6689 | end | |
6690 | end | |
6691 | end | |
6692 | CameraManager() | |
6693 | swait() | |
6694 | 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) | |
6695 | 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) | |
6696 | 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) | |
6697 | 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) | |
6698 | 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) | |
6699 | 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) | |
6700 | ||
6701 | 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) | |
6702 | 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) | |
6703 | 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) | |
6704 | 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) | |
6705 | 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) | |
6706 | 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) | |
6707 | sine = sine + change | |
6708 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
6709 | local velderp=RootPart.Velocity.y | |
6710 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
6711 | if equipped==true or equipped==false then | |
6712 | if attack==false then | |
6713 | idle=idle+1 | |
6714 | else | |
6715 | idle=0 | |
6716 | end | |
6717 | if idle>=500 then | |
6718 | if attack==false then | |
6719 | --Sheath() | |
6720 | end | |
6721 | end | |
6722 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
6723 | Anim="Jump" | |
6724 | if attack==false then | |
6725 | 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) | |
6726 | 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) | |
6727 | 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) | |
6728 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1) | |
6729 | 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) | |
6730 | 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) | |
6731 | end | |
6732 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
6733 | Anim="Fall" | |
6734 | if attack==false then | |
6735 | 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) | |
6736 | 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) | |
6737 | 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) | |
6738 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
6739 | 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) | |
6740 | 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) | |
6741 | end | |
6742 | elseif torvel<1 and hitfloor~=nil then | |
6743 | Anim="Idle" | |
6744 | if attack==false then | |
6745 | if ModeOfGlitch == 1 then | |
6746 | 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) | |
6747 | 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) | |
6748 | 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) | |
6749 | 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) | |
6750 | 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) | |
6751 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1) | |
6752 | ||
6753 | elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then | |
6754 | 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) | |
6755 | 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) | |
6756 | 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) | |
6757 | 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) | |
6758 | 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) | |
6759 | 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) | |
6760 | ||
6761 | elseif ModeOfGlitch == 3 then | |
6762 | 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) | |
6763 | 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) | |
6764 | 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) | |
6765 | 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) | |
6766 | 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) | |
6767 | 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) | |
6768 | elseif ModeOfGlitch == 4 then | |
6769 | 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) | |
6770 | 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) | |
6771 | 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) | |
6772 | 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) | |
6773 | 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) | |
6774 | 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) | |
6775 | elseif ModeOfGlitch == 69 then | |
6776 | RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1) | |
6777 | Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1) | |
6778 | 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) | |
6779 | 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) | |
6780 | LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1) | |
6781 | RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1) | |
6782 | elseif ModeOfGlitch == 8376532578634534 then | |
6783 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
6784 | 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) | |
6785 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
6786 | 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) | |
6787 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
6788 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
6789 | ||
6790 | elseif ModeOfGlitch == 666666 then | |
6791 | 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) | |
6792 | 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) | |
6793 | 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) | |
6794 | 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) | |
6795 | 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) | |
6796 | 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) | |
6797 | ||
6798 | elseif ModeOfGlitch == 5 then | |
6799 | 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) | |
6800 | 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) | |
6801 | 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) | |
6802 | 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) | |
6803 | 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) | |
6804 | 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) | |
6805 | ||
6806 | elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 6 then | |
6807 | 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) | |
6808 | 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) | |
6809 | 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) | |
6810 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
6811 | 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) | |
6812 | 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) | |
6813 | ||
6814 | elseif ModeOfGlitch == 12345678987654321 then | |
6815 | 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) | |
6816 | 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) | |
6817 | 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) | |
6818 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1) | |
6819 | 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) | |
6820 | 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) | |
6821 | end | |
6822 | end | |
6823 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
6824 | Anim="Walk" | |
6825 | if attack==false then | |
6826 | if ModeOfGlitch == 1 then | |
6827 | 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) | |
6828 | 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) | |
6829 | 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) | |
6830 | 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) | |
6831 | 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) | |
6832 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1) | |
6833 | elseif ModeOfGlitch == 4 then | |
6834 | 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) | |
6835 | 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) | |
6836 | 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) | |
6837 | 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) | |
6838 | 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) | |
6839 | 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) | |
6840 | elseif ModeOfGlitch == 666666 then | |
6841 | 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) | |
6842 | 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) | |
6843 | 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) | |
6844 | 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) | |
6845 | 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) | |
6846 | 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) | |
6847 | ||
6848 | elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then | |
6849 | 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) | |
6850 | 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) | |
6851 | 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) | |
6852 | 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) | |
6853 | 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) | |
6854 | 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) | |
6855 | end | |
6856 | end | |
6857 | elseif torvel>=22 and hitfloor~=nil then | |
6858 | Anim="Run" | |
6859 | if attack==false then | |
6860 | if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then | |
6861 | 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) | |
6862 | 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) | |
6863 | 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) | |
6864 | 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) | |
6865 | 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) | |
6866 | 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) | |
6867 | elseif ModeOfGlitch == 666666 then | |
6868 | 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) | |
6869 | 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) | |
6870 | 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) | |
6871 | 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) | |
6872 | 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) | |
6873 | 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) | |
6874 | ||
6875 | elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 8376532578634534 then | |
6876 | 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) | |
6877 | 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) | |
6878 | 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) | |
6879 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
6880 | 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) | |
6881 | 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) | |
6882 | end | |
6883 | end | |
6884 | end | |
6885 | end | |
6886 | end |