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