SHOW:
|
|
- or go back to the newest paste.
1 | - | --DO NOT LEAK! |
1 | + | --TODO: add comments or something idk |
2 | - | if game:GetService("RunService"):IsClient() then error("For this script to work, you must use h/ instead of hl/.") end |
2 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
3 | local Player = owner | |
4 | local Mouse,mouse,UserInputService,ContextActionService | |
5 | do | |
6 | - | script.Parent = TimmyTurney |
6 | + | script.Parent = Player.Character |
7 | local CAS = {Actions={}} | |
8 | local Event = Instance.new("RemoteEvent") | |
9 | Event.Name = "UserInput_Event" | |
10 | Event.Parent = Player.Character | |
11 | local fakeEvent = function() | |
12 | local t = {_fakeEvent=true} | |
13 | t.Connect = function(self,f)self.Function=f end | |
14 | t.connect = t.Connect | |
15 | return t | |
16 | end | |
17 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
18 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
19 | function CAS:BindAction(name,fun,touch,...) | |
20 | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} | |
21 | end | |
22 | function CAS:UnbindAction(name) | |
23 | CAS.Actions[name] = nil | |
24 | end | |
25 | local function te(self,ev,...) | |
26 | local t = m[ev] | |
27 | if t and t._fakeEvent and t.Function then | |
28 | t.Function(...) | |
29 | end | |
30 | end | |
31 | m.TrigEvent = te | |
32 | UIS.TrigEvent = te | |
33 | Event.OnServerEvent:Connect(function(plr,io) | |
34 | if plr~=Player then return end | |
35 | if io.isMouse then | |
36 | m.Target = io.Target | |
37 | m.Hit = io.Hit | |
38 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
39 | if io.UserInputState == Enum.UserInputState.Begin then | |
40 | m:TrigEvent("Button1Down") | |
41 | else | |
42 | m:TrigEvent("Button1Up") | |
43 | end | |
44 | else | |
45 | for n,t in pairs(CAS.Actions) do | |
46 | for _,k in pairs(t.Keys) do | |
47 | if k==io.KeyCode then | |
48 | t.Function(t.Name,io.UserInputState,io) | |
49 | end | |
50 | end | |
51 | end | |
52 | if io.UserInputState == Enum.UserInputState.Begin then | |
53 | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) | |
54 | UIS:TrigEvent("InputBegan",io,false) | |
55 | else | |
56 | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) | |
57 | UIS:TrigEvent("InputEnded",io,false) | |
58 | end | |
59 | end | |
60 | end) | |
61 | NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | ||
64 | local Char = Player.Character | |
65 | local Event = Char:WaitForChild("UserInput_Event") | |
66 | ||
67 | local UIS = game:GetService("UserInputService") | |
68 | ||
69 | local input = function(io,a) | |
70 | if a then return end | |
71 | local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState} | |
72 | Event:FireServer(io) | |
73 | end | |
74 | UIS.InputBegan:Connect(input) | |
75 | UIS.InputEnded:Connect(input) | |
76 | local Changed = false | |
77 | local Mouse = Player:GetMouse() | |
78 | local h,t = Mouse.Hit,Mouse.Target | |
79 | while wait(1/30) do | |
80 | if h~=Mouse.Hit or t~=Mouse.Target then | |
81 | Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit}) | |
82 | h,t=Mouse.Hit,Mouse.Target | |
83 | end | |
84 | end | |
85 | ]==],Player.Character) | |
86 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
87 | end | |
88 | ||
89 | ||
90 | wait(0.5) | |
91 | ||
92 | - | warn([[X Glitcher Loade |
92 | + | warn([[SG AWAKEN Loaded. |
93 | - | Kx3x3 has awoken once again. |
93 | + | The super switcher. |
94 | - | He's ready to kill those heroes again. |
94 | + | Velnorum is one of the first wielders. |
95 | - | Kx3x3 will take over the world! |
95 | + | |
96 | Created, Reworked by NoobyGames12 and converted by Helkern | |
97 | - | Created, Reworked by NoobyGames12. Heavily edited by RhiBel00351. |
97 | + | |
98 | - | This ISN'T the regular Star Glitcher Rework. |
98 | + | |
99 | - | It's an edit of SGR. |
99 | + | |
100 | - | So if you want the regular, go find it yourself. |
100 | + | |
101 | - | And YES, I DO KNOW NoobyGames12. |
101 | + | print([[Icons: |
102 | - | HEY! Make sure you don't abuse this! |
102 | + | ! = New |
103 | ? = Spoilers | |
104 | * = Exclusivity | |
105 | C = Changes | |
106 | ||
107 | - | print([[Moves: |
107 | + | |
108 | - | ?????? ]]) |
108 | + | warn([[V 4.1 Update Log: |
109 | - | warn([[Update Log: |
109 | + | !C? - Mostly about 7-9 main modes added. |
110 | - | N - ??? |
110 | + | ! - Non-canon [N] modes are added from few modes: |
111 | - | Extra modes: |
111 | + | > Mayhem: NANO |
112 | - | ??? |
112 | + | > Purity: BRIGHTNESS |
113 | - | Info from RhiBel00351: |
113 | + | > Chaos: CRAZED |
114 | - | Edit this if you want, I don't really care. |
114 | + | > Divinity: FALLENEX |
115 | - | Note: |
115 | + | > Destiny: OMEGA |
116 | - | Lots of hard work on this. I won't be making this again if this gets deleted. |
116 | + | ! - Added back CALAMITY and INFESTATION. |
117 | - | DarkEccentric is gay |
117 | + | C - Two main click attacks changed. |
118 | - | Also just a reminder: That THIS script is FAR from completion, so expect some things not finished.]]) |
118 | + | !C - Moves are added back, with severe change and difference. |
119 | C - Some modes got renamed because fat filter | |
120 | C - Toned down the effects to be compatible with fe without strong lag.]]) | |
121 | --- its obs smooth af do not touch | |
122 | ---- Sources and functions might be taken from others | |
123 | plr = owner | |
124 | char = plr.Character | |
125 | hum = char.Humanoid | |
126 | local cam = game.Workspace.CurrentCamera | |
127 | Camera = cam | |
128 | local CamInterrupt = false | |
129 | local TwoD = false | |
130 | local TargetInfo = {nil, nil} | |
131 | cam.CameraType = "Custom" | |
132 | t = char.Torso | |
133 | h = char.Head | |
134 | ra = char["Right Arm"] | |
135 | la = char["Left Arm"] | |
136 | rl = char["Right Leg"] | |
137 | ll = char["Left Leg"] | |
138 | tors = char.Torso | |
139 | lleg = char["Left Leg"] | |
140 | root = char.HumanoidRootPart | |
141 | hed = char.Head | |
142 | rleg = char["Right Leg"] | |
143 | rarm = char["Right Arm"] | |
144 | larm = char["Left Arm"] | |
145 | radian = math.rad | |
146 | random = math.random | |
147 | Vec3 = Vector3.new | |
148 | Inst = Instance.new | |
149 | cFrame = CFrame.new | |
150 | Euler = CFrame.fromEulerAnglesXYZ | |
151 | vt = Vector3.new | |
152 | bc = BrickColor.new | |
153 | br = BrickColor.random | |
154 | it = Instance.new | |
155 | cf = CFrame.new | |
156 | local Player_Size = 0 | |
157 | cam = game.Workspace.CurrentCamera | |
158 | CF = CFrame.new | |
159 | angles = CFrame.Angles | |
160 | attack = false | |
161 | Euler = CFrame.fromEulerAnglesXYZ | |
162 | Rad = math.rad | |
163 | IT = Instance.new | |
164 | BrickC = BrickColor.new | |
165 | Cos = math.cos | |
166 | Acos = math.acos | |
167 | Sin = math.sin | |
168 | Asin = math.asin | |
169 | Abs = math.abs | |
170 | Mrandom = math.random | |
171 | Floor = math.floor | |
172 | IT = Instance.new | |
173 | CF = CFrame.new | |
174 | VT = Vector3.new | |
175 | RAD = math.rad | |
176 | C3 = Color3.new | |
177 | UD2 = UDim2.new | |
178 | BRICKC = BrickColor.new | |
179 | ANGLES = CFrame.Angles | |
180 | EULER = CFrame.fromEulerAnglesXYZ | |
181 | - | kan.SoundId = "rbxassetid://614032233" |
181 | + | COS = math.cos |
182 | ACOS = math.acos | |
183 | SIN = math.sin | |
184 | ASIN = math.asin | |
185 | ABS = math.abs | |
186 | MRANDOM = math.random | |
187 | FLOOR = math.floor | |
188 | local SINE = 0 | |
189 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
190 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
191 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
192 | CF = CFrame.new | |
193 | local hed = char.Head | |
194 | local root = char.HumanoidRootPart | |
195 | local rootj = root.RootJoint | |
196 | local tors = char.Torso | |
197 | Player_Size = 1 | |
198 | Cos = math.cos | |
199 | Sin = math.sin | |
200 | Rad = math.rad | |
201 | CF = CFrame.new | |
202 | local DoDamage = true | |
203 | ||
204 | local Booleans = { | |
205 | CamFollow = true, | |
206 | GyroUse = true | |
207 | } | |
208 | ||
209 | function lerp(object, newCFrame, alpha) | |
210 | return object:lerp(newCFrame, alpha) | |
211 | end | |
212 | ||
213 | local Directer = Inst("BodyGyro", root) | |
214 | Directer.MaxTorque = Vec3(0, 0, 0) | |
215 | Directer.P = 600000 | |
216 | local CPart = Inst("Part") | |
217 | CPart.Anchored = true | |
218 | CPart.CanCollide = false | |
219 | CPart.Locked = true | |
220 | CPart.Transparency = 1 | |
221 | ||
222 | local rainbowmode = false | |
223 | local chaosmode = false | |
224 | ||
225 | local kan = Instance.new("Sound",char) | |
226 | kan.Volume = 1.25 | |
227 | kan.TimePosition = 0 | |
228 | kan.PlaybackSpeed = 1 | |
229 | kan.Pitch = 1 | |
230 | kan.SoundId = "rbxassetid://1537276744" | |
231 | kan.Name = "wrecked" | |
232 | kan.Looped = true | |
233 | kan:Play() | |
234 | ||
235 | local currentThemePlaying = kan.SoundId | |
236 | local currentPitch = kan.Pitch | |
237 | local currentVol = kan.Volume | |
238 | function newTheme(ID,timepos,pitch,vol) | |
239 | local kanz = kan | |
240 | --kanz:Stop() | |
241 | kanz.Volume = vol | |
242 | --kanz.TimePosition = timepos | |
243 | kanz.PlaybackSpeed = pitch | |
244 | kanz.Pitch = pitch | |
245 | kanz.SoundId = ID | |
246 | kanz.Name = "wrecked" | |
247 | kanz.Looped = true | |
248 | currentThemePlaying = kanz.SoundId | |
249 | currentVol = kanz.Volume | |
250 | currentPitch = kanz.Pitch | |
251 | --kanz:Play() | |
252 | --coroutine.resume(coroutine.create(function() | |
253 | --wait(0.05) | |
254 | --end)) | |
255 | end | |
256 | ||
257 | ||
258 | function newThemeCust(ID,timepos,pitch,vol) | |
259 | local kanz = kan | |
260 | kanz:Stop() | |
261 | kanz.Volume = vol | |
262 | kanz.TimePosition = timepos | |
263 | kanz.PlaybackSpeed = pitch | |
264 | kanz.Pitch = pitch | |
265 | kanz.SoundId = ID | |
266 | kanz.Name = "wrecked" | |
267 | kanz.Looped = true | |
268 | currentThemePlaying = kanz.SoundId | |
269 | currentVol = kanz.Volume | |
270 | currentPitch = kanz.Pitch | |
271 | kanz:Play() | |
272 | coroutine.resume(coroutine.create(function() | |
273 | wait(0.05) | |
274 | end)) | |
275 | end | |
276 | ||
277 | local mutedtog = false | |
278 | ||
279 | function CameraEnshaking(Length,Intensity) | |
280 | coroutine.resume(coroutine.create(function() | |
281 | local intensity = 1*Intensity | |
282 | local rotM = 0.01*Intensity | |
283 | for i = 0, Length, 0.1 do | |
284 | swait() | |
285 | intensity = intensity - 0.05*Intensity/Length | |
286 | rotM = rotM - 0.0005*Intensity/Length | |
287 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
288 | 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) | |
289 | end | |
290 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
291 | end)) | |
292 | end | |
293 | CamShake=function(Part,Distan,Power,Times) | |
294 | local de=Part.Position | |
295 | for i,v in pairs(workspace:children()) do | |
296 | if v:IsA("Model") and v:findFirstChild("Humanoid") then | |
297 | for _,c in pairs(v:children()) do | |
298 | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then | |
299 | local Noob=v.Humanoid | |
300 | if Noob~=nil then | |
301 | coroutine.resume(coroutine.create(function() | |
302 | FV = Instance.new("BoolValue", Noob) | |
303 | FV.Name = "CameraShake" | |
304 | for ShakeNum=1,Times do | |
305 | swait() | |
306 | local ef=Power | |
307 | if ef>=1 then | |
308 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
309 | else | |
310 | ef=Power*10 | |
311 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
312 | end | |
313 | end | |
314 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
315 | FV:Destroy() | |
316 | end)) | |
317 | CameraShake(Times, Power, Noob) | |
318 | end | |
319 | end | |
320 | end | |
321 | end | |
322 | end | |
323 | end | |
324 | ||
325 | --// Require stuff \\-- | |
326 | function CamShake(who,times,intense,origin) | |
327 | coroutine.wrap(function() | |
328 | if(FXFolder:FindFirstChild'CamShake')then | |
329 | local cam = FXFolder.CamShake:Clone() | |
330 | cam:WaitForChild'intensity'.Value = intense | |
331 | cam:WaitForChild'times'.Value = times | |
332 | ||
333 | if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end | |
334 | cam.Parent = who | |
335 | wait() | |
336 | cam.Disabled = false | |
337 | end | |
338 | end)() | |
339 | end | |
340 | ||
341 | function CamShakeAll(times,intense,origin) | |
342 | for _,v in next, Plrs:players() do | |
343 | CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin) | |
344 | end | |
345 | end | |
346 | ||
347 | ||
348 | local toggleTag = true | |
349 | local bilguit = Instance.new("BillboardGui", hed) | |
350 | bilguit.Adornee = nil | |
351 | bilguit.Name = "ModeName" | |
352 | bilguit.Size = UDim2.new(4, 0, 1.2, 0) | |
353 | bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0) | |
354 | local modet = Instance.new("TextLabel", bilguit) | |
355 | modet.Size = UDim2.new(10/2, 0, 7/2, 0) | |
356 | modet.FontSize = "Size8" | |
357 | modet.TextScaled = true | |
358 | modet.TextTransparency = 0 | |
359 | modet.BackgroundTransparency = 1 | |
360 | modet.TextTransparency = 0 | |
361 | modet.TextStrokeTransparency = 0 | |
362 | modet.Font = "Antique" | |
363 | modet.TextStrokeColor3 = Color3.new(1,0,0) | |
364 | modet.TextColor3 = Color3.new(0.25,0,0) | |
365 | modet.Text = "STAR" | |
366 | ||
367 | ||
368 | function chatfunc(text,color,typet,font,timeex) | |
369 | local chat = coroutine.wrap(function() | |
370 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
371 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
372 | end | |
373 | local naeeym2 = Instance.new("BillboardGui",Character) | |
374 | naeeym2.Size = UDim2.new(0,100,0,40) | |
375 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
376 | naeeym2.Adornee = Character.Head | |
377 | naeeym2.Name = "TalkingBillBoard" | |
378 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
379 | tecks2.BackgroundTransparency = 1 | |
380 | tecks2.BorderSizePixel = 0 | |
381 | tecks2.Text = "" | |
382 | tecks2.Font = font | |
383 | tecks2.TextSize = 30 | |
384 | tecks2.TextStrokeTransparency = 0 | |
385 | - | function warnedpeople(text,represfont,color,color2) |
385 | + | |
386 | - | if disably ~= true then |
386 | + | |
387 | - | CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1) |
387 | + | |
388 | - | CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1) |
388 | + | |
389 | tecks3.BackgroundTransparency = 1 | |
390 | tecks3.BorderSizePixel = 0 | |
391 | - | if v.PlayerGui:FindFirstChild("Spinny")~= nil then |
391 | + | |
392 | - | v.PlayerGui:FindFirstChild("Spinny"):destroy() |
392 | + | |
393 | tecks3.TextSize = 30 | |
394 | tecks3.TextStrokeTransparency = 0 | |
395 | - | scrg.Name = "Spinny" |
395 | + | |
396 | - | local frm = Instance.new("Frame",scrg) |
396 | + | |
397 | - | frm.BackgroundTransparency = 0.25 |
397 | + | |
398 | - | frm.BackgroundColor3 = color |
398 | + | |
399 | - | frm.BorderSizePixel = 0 |
399 | + | |
400 | - | frm.Rotation = 45 |
400 | + | |
401 | - | frm.Size = UDim2.new(3,0,0,100) |
401 | + | |
402 | - | frm.Position = UDim2.new(-4,0,0,0) |
402 | + | |
403 | - | local frm2 = frm:Clone() |
403 | + | |
404 | - | frm2.Parent = scrg |
404 | + | |
405 | - | frm2.BackgroundColor3 = color2 |
405 | + | |
406 | - | frm2.Position = UDim2.new(-4.05,0,0,0) |
406 | + | |
407 | - | local imlb = Instance.new("ImageLabel",scrg) |
407 | + | |
408 | - | imlb.BackgroundTransparency = 1 |
408 | + | |
409 | - | imlb.BackgroundColor3 = Color3.new(0,0,0) |
409 | + | |
410 | - | imlb.Image = "rbxassetid://2344851144" |
410 | + | |
411 | - | imlb.Size = UDim2.new(0,750,0,750) |
411 | + | |
412 | - | imlb.ImageColor3 = color2 |
412 | + | |
413 | - | imlb.ImageTransparency = 0.25 |
413 | + | |
414 | - | imlb.Position = UDim2.new(-2.5,0,-2.5,0) |
414 | + | |
415 | - | local imlb2 = imlb:Clone() |
415 | + | |
416 | - | imlb2.Image = "rbxassetid://2076458450" |
416 | + | |
417 | - | imlb2.Size = UDim2.new(1,0,1,0) |
417 | + | |
418 | - | imlb2.ImageColor3 = color |
418 | + | |
419 | - | imlb2.ImageTransparency = 0 |
419 | + | |
420 | - | imlb2.Position = UDim2.new(0,0,0,0) |
420 | + | |
421 | - | local imlb3 = imlb:Clone() |
421 | + | |
422 | - | imlb3.Image = "rbxassetid://2312119891" |
422 | + | |
423 | - | imlb3.Size = UDim2.new(1,0,1,0) |
423 | + | |
424 | - | imlb3.ImageColor3 = color2 |
424 | + | |
425 | - | imlb3.ImageTransparency = 0 |
425 | + | |
426 | - | imlb3.Position = UDim2.new(0,0,0,0) |
426 | + | |
427 | - | local imlb4 = imlb:Clone() |
427 | + | |
428 | - | imlb4.Image = "rbxassetid://2092248396" |
428 | + | |
429 | - | imlb4.Size = UDim2.new(3,0,3,0) |
429 | + | |
430 | - | imlb3.ImageColor3 = color |
430 | + | |
431 | - | imlb4.ImageTransparency = 0 |
431 | + | |
432 | - | imlb4.Position = UDim2.new(-1,0,-1,0) |
432 | + | |
433 | - | local imlb5 = imlb:Clone() |
433 | + | |
434 | - | imlb5.Image = "rbxassetid://2344870656" |
434 | + | |
435 | - | imlb5.Size = UDim2.new(10,0,10,0) |
435 | + | |
436 | - | imlb5.ImageColor3 = color2 |
436 | + | |
437 | - | imlb5.ImageTransparency = 0 |
437 | + | |
438 | - | imlb5.Position = UDim2.new(-4.5,0,-4.5,0) |
438 | + | |
439 | - | imlb2.Parent = imlb |
439 | + | |
440 | - | imlb3.Parent = imlb |
440 | + | |
441 | - | imlb4.Parent = imlb |
441 | + | |
442 | - | imlb5.Parent = imlb |
442 | + | |
443 | - | local txtlb2 = Instance.new("TextLabel",imlb) |
443 | + | |
444 | - | txtlb2.Text = text |
444 | + | |
445 | end | |
446 | end | |
447 | modet.TextTransparency = 0 | |
448 | - | if ASTRA == true then |
448 | + | |
449 | - | txtlb2.Text = est[math.random(1,5)] |
449 | + | |
450 | - | elseif dragon == true then |
450 | + | |
451 | - | txtlb2.Text = nobreak[math.random(1,3)] |
451 | + | |
452 | end | |
453 | naeeym2:Destroy() | |
454 | end) | |
455 | - | txtlb2.Font = represfont |
455 | + | |
456 | - | txtlb2.TextColor3 = color |
456 | + | |
457 | ||
458 | function bosschatfunc(text,color,watval) | |
459 | - | txtlb2.TextStrokeColor3 = color2 |
459 | + | |
460 | - | txtlb2.TextScaled = true |
460 | + | |
461 | - | txtlb2.Size = UDim2.new(1,0,1,0) |
461 | + | |
462 | - | txtlb2.Position = UDim2.new(0,0,0,0) |
462 | + | |
463 | end | |
464 | local scrg = Instance.new("ScreenGui",v.PlayerGui) | |
465 | CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1) | |
466 | scrg.Name = "Dialog" | |
467 | local txtlb = Instance.new("TextLabel",scrg) | |
468 | txtlb.Text = "" | |
469 | txtlb.Font = "Bodoni" | |
470 | - | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) |
470 | + | |
471 | txtlb.TextStrokeTransparency = 0 | |
472 | - | txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255) |
472 | + | |
473 | - | txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255) |
473 | + | |
474 | - | imlb.ImageColor3 = Color3.new(r/255,g/255,b/255) |
474 | + | |
475 | - | frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255) |
475 | + | |
476 | - | frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255) |
476 | + | |
477 | - | txtlb2.TextStrokeColor3 = Color3.new(1,1,1) |
477 | + | |
478 | - | txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255) |
478 | + | |
479 | - | imlb.ImageColor3 = Color3.new(r/255,g/255,b/255) |
479 | + | |
480 | - | imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255) |
480 | + | txtlb2.Text = "Star:" |
481 | - | imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255) |
481 | + | |
482 | - | frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255) |
482 | + | |
483 | - | frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255) |
483 | + | |
484 | txtlb2.BackgroundTransparency = 1 | |
485 | txtlb2.TextStrokeColor3 = color | |
486 | txtlb2.TextSize = 40 | |
487 | txtlb2.Size = UDim2.new(1,0,0.25,0) | |
488 | txtlb2.TextXAlignment = "Left" | |
489 | txtlb2.Position = UDim2.new(0,0,1,0) | |
490 | - | if Error == true then |
490 | + | |
491 | - | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) |
491 | + | |
492 | coroutine.resume(coroutine.create(function() | |
493 | while true do | |
494 | - | txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) |
494 | + | |
495 | - | txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) |
495 | + | |
496 | - | imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) |
496 | + | |
497 | - | imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) |
497 | + | |
498 | - | imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) |
498 | + | |
499 | - | imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) |
499 | + | |
500 | - | imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) |
500 | + | |
501 | - | imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) |
501 | + | |
502 | - | frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) |
502 | + | |
503 | - | frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) |
503 | + | |
504 | - | text = est[math.random(1,17)] |
504 | + | |
505 | coroutine.resume(coroutine.create(function() | |
506 | while true do | |
507 | swait() | |
508 | if scrg.Parent ~= nil then | |
509 | fvalen = fvalen - 0.0001 | |
510 | elseif scrg.Parent == nil then | |
511 | - | if CRAZED == true then |
511 | + | |
512 | end | |
513 | - | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) |
513 | + | |
514 | end)) | |
515 | local flol = 1.75 | |
516 | - | txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1)) |
516 | + | |
517 | - | txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2)) |
517 | + | |
518 | - | imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) |
518 | + | |
519 | - | imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) |
519 | + | |
520 | - | imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) |
520 | + | |
521 | - | imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) |
521 | + | |
522 | - | imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) |
522 | + | |
523 | - | imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) |
523 | + | |
524 | - | frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1)) |
524 | + | |
525 | - | frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1)) |
525 | + | |
526 | end | |
527 | txtlb.Text = text | |
528 | wait(watval) | |
529 | local valinc = 0 | |
530 | for i = 0, 99 do | |
531 | swait() | |
532 | valinc = valinc + 0.0001 | |
533 | flol = flol + valinc | |
534 | - | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) |
534 | + | |
535 | txtlb.Rotation = txtlb.Rotation + valinc*20 | |
536 | - | imlb.ImageColor3 = BrickColor.random().Color |
536 | + | |
537 | txtlb.Position = UDim2.new(0,0,flol,0) | |
538 | txtlb2.Position = UDim2.new(0,0,flil,0) | |
539 | txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01 | |
540 | txtlb.TextTransparency = txtlb.TextTransparency + 0.01 | |
541 | txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01 | |
542 | txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01 | |
543 | txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025 | |
544 | end | |
545 | - | fvalen = fvalen - 0.0001 |
545 | + | |
546 | end)) | |
547 | end)) | |
548 | end | |
549 | end | |
550 | ||
551 | - | local flol = -5 |
551 | + | |
552 | local Create = LoadLibrary("RbxUtility").Create | |
553 | ||
554 | CFuncs = { | |
555 | ["Part"] = { | |
556 | - | flol = flol + 0.125 |
556 | + | |
557 | - | flil = flil - 0.1 |
557 | + | |
558 | - | frm.Size = frm.Size + UDim2.new(0.1,0,0,0) |
558 | + | |
559 | - | frm.Rotation = frm.Rotation - 0.25 |
559 | + | |
560 | - | frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0) |
560 | + | |
561 | - | frm2.Rotation = frm.Rotation + 0.325 |
561 | + | |
562 | - | imlb3.Rotation = imlb3.Rotation - 10 |
562 | + | |
563 | - | imlb2.Rotation = imlb.Rotation + 7.5 |
563 | + | |
564 | - | imlb.Rotation = imlb.Rotation + 5 |
564 | + | |
565 | - | if Error == false then |
565 | + | |
566 | - | txtlb2.Rotation = txtlb2.Rotation - 5.125 |
566 | + | |
567 | - | elseif Error == true then |
567 | + | |
568 | - | txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6) |
568 | + | |
569 | return Part | |
570 | - | imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0) |
570 | + | |
571 | }; | |
572 | - | for i = 0, 99 do |
572 | + | |
573 | ["Mesh"] = { | |
574 | - | fval = fval + 0.05 |
574 | + | |
575 | - | flol = flol + 0.005 |
575 | + | |
576 | - | frm.Size = frm.Size + UDim2.new(0.005,0,0,0) |
576 | + | |
577 | - | frm.Rotation = frm.Rotation - 0.075 |
577 | + | |
578 | - | frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0) |
578 | + | |
579 | - | frm2.Rotation = frm2.Rotation + 0.125 |
579 | + | |
580 | - | imlb3.Rotation = imlb3.Rotation - 2 |
580 | + | |
581 | - | imlb2.Rotation = imlb.Rotation + 1.5 |
581 | + | |
582 | - | imlb.Rotation = imlb.Rotation + 1 |
582 | + | |
583 | - | if Error == false then |
583 | + | |
584 | - | txtlb2.Rotation = txtlb2.Rotation - 1.125 |
584 | + | |
585 | - | elseif Error == true then |
585 | + | |
586 | - | txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6) |
586 | + | |
587 | ||
588 | - | imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0) |
588 | + | |
589 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
590 | local Msh = Create(Mesh){ | |
591 | - | local vinc2 = 1 |
591 | + | |
592 | Offset = OffSet, | |
593 | Scale = Scale, | |
594 | - | vinc2 = vinc2 + 0.25 |
594 | + | |
595 | if Mesh == "SpecialMesh" then | |
596 | Msh.MeshType = MeshType | |
597 | Msh.MeshId = MeshId | |
598 | - | txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2 |
598 | + | |
599 | - | imlb3.Rotation = imlb3.Rotation - 2*vinc2 |
599 | + | |
600 | - | imlb.Rotation = imlb.Rotation + 1*vinc2 |
600 | + | |
601 | - | imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0) |
601 | + | |
602 | - | frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0) |
602 | + | |
603 | - | frm.Rotation = frm.Rotation + 0.1*vinc2 |
603 | + | |
604 | - | frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0) |
604 | + | |
605 | - | frm2.Rotation = frm2.Rotation + 0.225*vinc2 |
605 | + | |
606 | - | frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075 |
606 | + | |
607 | - | frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075 |
607 | + | |
608 | - | imlb.ImageTransparency = imlb.ImageTransparency + 0.005 |
608 | + | |
609 | - | imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01 |
609 | + | |
610 | - | imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01 |
610 | + | |
611 | - | imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01 |
611 | + | |
612 | - | imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01 |
612 | + | |
613 | end; | |
614 | }; | |
615 | ||
616 | ["Sound"] = { | |
617 | Create = function(id, par, vol, pit) | |
618 | coroutine.resume(coroutine.create(function() | |
619 | local S = Create("Sound"){ | |
620 | Volume = vol, | |
621 | Name = "EffectSoundo", | |
622 | Pitch = pit or 1, | |
623 | SoundId = id, | |
624 | Parent = par or workspace, | |
625 | } | |
626 | wait() | |
627 | S:play() | |
628 | game:GetService("Debris"):AddItem(S, 10) | |
629 | end)) | |
630 | end; | |
631 | }; | |
632 | ||
633 | ["TimeSound"] = { | |
634 | Create = function(id, par, vol, pit, timepos) | |
635 | coroutine.resume(coroutine.create(function() | |
636 | local S = Create("Sound"){ | |
637 | Volume = vol, | |
638 | Name = "EffectSoundo", | |
639 | Pitch = pit or 1, | |
640 | SoundId = id, | |
641 | TimePosition = timepos, | |
642 | Parent = par or workspace, | |
643 | } | |
644 | wait() | |
645 | - | txtlb2.Text = "STAR:" |
645 | + | |
646 | game:GetService("Debris"):AddItem(S, 10) | |
647 | end)) | |
648 | end; | |
649 | }; | |
650 | ["EchoSound"] = { | |
651 | Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) | |
652 | coroutine.resume(coroutine.create(function() | |
653 | local Sas = Create("Sound"){ | |
654 | Volume = vol, | |
655 | Name = "EffectSoundo", | |
656 | Pitch = pit or 1, | |
657 | SoundId = id, | |
658 | TimePosition = timepos, | |
659 | Parent = par or workspace, | |
660 | } | |
661 | local E = Create("EchoSoundEffect"){ | |
662 | Delay = echodelay, | |
663 | Name = "Echo", | |
664 | Feedback = fedb, | |
665 | DryLevel = dryl, | |
666 | Parent = Sas, | |
667 | } | |
668 | wait() | |
669 | Sas:play() | |
670 | game:GetService("Debris"):AddItem(Sas, delays) | |
671 | end)) | |
672 | end; | |
673 | }; | |
674 | ||
675 | ["LongSound"] = { | |
676 | Create = function(id, par, vol, pit) | |
677 | coroutine.resume(coroutine.create(function() | |
678 | local S = Create("Sound"){ | |
679 | Volume = vol, | |
680 | Pitch = pit or 1, | |
681 | SoundId = id, | |
682 | Parent = par or workspace, | |
683 | } | |
684 | wait() | |
685 | S:play() | |
686 | game:GetService("Debris"):AddItem(S, 60) | |
687 | end)) | |
688 | end; | |
689 | }; | |
690 | ||
691 | ["ParticleEmitter"] = { | |
692 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
693 | local fp = Create("ParticleEmitter"){ | |
694 | Parent = Parent, | |
695 | Color = ColorSequence.new(Color1, Color2), | |
696 | LightEmission = LightEmission, | |
697 | Size = Size, | |
698 | Texture = Texture, | |
699 | Transparency = Transparency, | |
700 | ZOffset = ZOffset, | |
701 | Acceleration = Accel, | |
702 | Drag = Drag, | |
703 | LockedToPart = LockedToPart, | |
704 | VelocityInheritance = VelocityInheritance, | |
705 | EmissionDirection = EmissionDirection, | |
706 | Enabled = Enabled, | |
707 | Lifetime = LifeTime, | |
708 | Rate = Rate, | |
709 | Rotation = Rotation, | |
710 | RotSpeed = RotSpeed, | |
711 | Speed = Speed, | |
712 | VelocitySpread = VelocitySpread, | |
713 | } | |
714 | return fp | |
715 | end; | |
716 | }; | |
717 | ||
718 | CreateTemplate = { | |
719 | ||
720 | }; | |
721 | } | |
722 | ||
723 | ||
724 | ||
725 | New = function(Object, Parent, Name, Data) | |
726 | local Object = Instance.new(Object) | |
727 | for Index, Value in pairs(Data or {}) do | |
728 | Object[Index] = Value | |
729 | end | |
730 | Object.Parent = Parent | |
731 | Object.Name = Name | |
732 | return Object | |
733 | end | |
734 | local halocolor = BrickColor.new("Pastel light blue") | |
735 | local halocolor2 = BrickColor.new("Cool yellow") | |
736 | local starcolor = BrickColor.new("Bright yellow") | |
737 | local lunacolor = BrickColor.new("Navy blue") | |
738 | local lunacolor2 = BrickColor.new("Bright blue") | |
739 | local wepcolor = BrickColor.new("Really black") | |
740 | local maincolor = BrickColor.new("Really black") | |
741 | local m = Instance.new("Model",char) | |
742 | local m2 = Instance.new("Model",char) | |
743 | local m3 = Instance.new("Model",char) | |
744 | local mw1 = Instance.new("Model",char) | |
745 | local mw2 = Instance.new("Model",char) | |
746 | ||
747 | ||
748 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) | |
749 | local gui = it(GuiType) | |
750 | gui.Parent = parent | |
751 | gui.Text = text | |
752 | gui.BackgroundTransparency = backtrans | |
753 | gui.BackgroundColor3 = backcol | |
754 | gui.SizeConstraint = "RelativeXY" | |
755 | gui.TextXAlignment = "Center" | |
756 | gui.TextYAlignment = "Center" | |
757 | gui.Position = pos | |
758 | gui.Size = size | |
759 | gui.Font = "SourceSans" | |
760 | gui.FontSize = "Size14" | |
761 | gui.TextWrapped = false | |
762 | gui.TextStrokeTransparency = 0 | |
763 | gui.TextColor = BrickColor.new("White") | |
764 | return gui | |
765 | end | |
766 | --------------------------- GUI STUFF | |
767 | local basgui = it("GuiMain") | |
768 | basgui.Parent = plr.PlayerGui | |
769 | basgui.Name = "VISgui" | |
770 | local fullscreenz = it("Frame") | |
771 | fullscreenz.Parent = basgui | |
772 | fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255) | |
773 | fullscreenz.BackgroundTransparency = 1 | |
774 | fullscreenz.BorderColor3 = Color3.new(17, 17, 17) | |
775 | fullscreenz.Size = UDim2.new(1, 0, 1, 0) | |
776 | fullscreenz.Position = UDim2.new(0, 0, 0, 0) | |
777 | local imgl2 = Instance.new("ImageLabel",fullscreenz) | |
778 | imgl2.BackgroundTransparency = 1 | |
779 | imgl2.BorderSizePixel = 0 | |
780 | imgl2.ImageTransparency = 0.5 | |
781 | imgl2.ImageColor3 = Color3.new(1,0,0) | |
782 | imgl2.Position = UDim2.new(0.75,-200,0.55,-200) | |
783 | imgl2.Size = UDim2.new(0,1000,0,1000) | |
784 | imgl2.Image = "rbxassetid://2076458450" | |
785 | local techc = Instance.new("ImageLabel",fullscreenz) | |
786 | techc.BackgroundTransparency = 1 | |
787 | techc.BorderSizePixel = 0 | |
788 | techc.ImageTransparency = 0.5 | |
789 | techc.ImageColor3 = Color3.new(1,0,0) | |
790 | techc.Position = UDim2.new(0.75,-200,0.55,-200) | |
791 | techc.Size = UDim2.new(0,1000,0,1000) | |
792 | techc.Image = "rbxassetid://2092248396" | |
793 | local circl = imgl2:Clone() | |
794 | circl.Parent = fullscreenz | |
795 | circl.ImageTransparency = 0 | |
796 | circl.Size = UDim2.new(0,550,0,550) | |
797 | circl.Position = UDim2.new(0.75,25,0.55,25) | |
798 | circl.ImageColor3 = Color3.new(0,0,0) | |
799 | circl.Image = "rbxassetid://2365416622" | |
800 | local circl2 = imgl2:Clone() | |
801 | circl2.Parent = fullscreenz | |
802 | circl2.ImageTransparency = 0 | |
803 | circl2.Size = UDim2.new(0,700,0,700) | |
804 | circl2.Position = UDim2.new(0.75,-50,0.55,-50) | |
805 | circl2.ImageColor3 = Color3.new(1,0,0) | |
806 | circl2.Image = "rbxassetid://2365431459" | |
807 | local imgl2b = imgl2:Clone() | |
808 | imgl2b.Parent = fullscreenz | |
809 | imgl2b.ImageTransparency = 0 | |
810 | imgl2b.Size = UDim2.new(0,800,0,800) | |
811 | imgl2b.Position = UDim2.new(0.75,-100,0.55,-100) | |
812 | imgl2b.ImageColor3 = Color3.new(0,0,0) | |
813 | local ned = Instance.new("TextLabel",fullscreenz) | |
814 | ned.ZIndex = 2 | |
815 | ned.Font = "Arcade" | |
816 | ned.BackgroundTransparency = 1 | |
817 | ned.BorderSizePixel = 0.65 | |
818 | ned.Size = UDim2.new(0.3,0,0.2,0) | |
819 | ned.Position = UDim2.new(0.7,0,0.8,0) | |
820 | ned.TextColor3 = BrickColor.new("Really red").Color | |
821 | ned.TextStrokeColor3 = BrickColor.new("Really black").Color | |
822 | ned.TextScaled = true | |
823 | ned.TextStrokeTransparency = 0 | |
824 | ned.Text = "STAR" | |
825 | ned.TextSize = 24 | |
826 | ned.Rotation = 1 | |
827 | ned.TextXAlignment = "Right" | |
828 | ned.TextYAlignment = "Bottom" | |
829 | local wobble = Instance.new("Frame",basgui) | |
830 | wobble.Name = "Wobble" | |
831 | wobble.BackgroundTransparency = 0.5 | |
832 | wobble.Size = UDim2.new(1.1,0,1.1,0) | |
833 | wobble.Position = UDim2.new(-0.08,0,0.943,0) | |
834 | local wobble2 = Instance.new("Frame",basgui) | |
835 | wobble2.Name = "wobble2" | |
836 | wobble2.BackgroundTransparency = 0.5 | |
837 | wobble2.Size = UDim2.new(1.1,0,0.09,0) | |
838 | wobble2.Position = UDim2.new(-0.08,0,0.878,0) | |
839 | local Visuals = Instance.new("Frame",basgui) | |
840 | Visuals.Name = "Visuals" | |
841 | Visuals.BackgroundTransparency = 0.3 | |
842 | Visuals.Size = UDim2.new(0,100,0,100) | |
843 | Visuals.Position = UDim2.new(0.462,0,0.826,0) | |
844 | local glow = Instance.new("ImageLabel",basgui) | |
845 | glow.Name = "glow" | |
846 | glow.BackgroundTransparency = 1 | |
847 | glow.ImageTransparency = 0 | |
848 | glow.Image = "rbxassetid://2344870656" | |
849 | glow.Size = UDim2.new(0,0,0,0) | |
850 | glow.Position = UDim2.new(0.026,0,-0.235,0) | |
851 | local Visuals2 = Instance.new("Frame",basgui) | |
852 | Visuals2.Name = "Visuals2" | |
853 | Visuals2.BackgroundTransparency = 0.3 | |
854 | Visuals2.Size = UDim2.new(0,50,0,50) | |
855 | Visuals2.Position = UDim2.new(0.48,0,0.867,0) -- {0.476, 0},{0.901, 0} | |
856 | local TextFrame = Instance.new("TextLabel",basgui) | |
857 | TextFrame.Name = "Farmer" | |
858 | TextFrame.Font = "Arcade" | |
859 | TextFrame.Text = "Star Glitcher Edit" | |
860 | TextFrame.TextSize = 60 | |
861 | TextFrame.BackgroundTransparency = 1 | |
862 | TextFrame.Size = UDim2.new(0,42,0,42) | |
863 | TextFrame.Position = UDim2.new(0.48,0,0.867,0) -- {0.476, 0},{0.867, 0} | |
864 | -- local TextFrame2 = Instance.new("TextLabel",basgui) | |
865 | -- TextFrame2.Name = "Farmer3" | |
866 | -- TextFrame2.Font = "Arcade" | |
867 | -- TextFrame2.Text = "" | |
868 | -- TextFrame2.TextXAlignment = "Center" | |
869 | -- TextFrame2.TextSize = 40 | |
870 | -- TextFrame2.BackgroundTransparency = 1 | |
871 | -- TextFrame2.Size = UDim2.new(0,1367,0,42) | |
872 | -- TextFrame2.Position = UDim2.new(0,0,0,0) -- {0.476, 0},{0.901, 0} | |
873 | local DamageFrame = Instance.new("TextLabel",basgui) | |
874 | DamageFrame.Name = "Farmer2" | |
875 | DamageFrame.Font = "SciFi" | |
876 | DamageFrame.Text = "Damage = Enabled" | |
877 | DamageFrame.TextSize = 30 | |
878 | DamageFrame.BackgroundTransparency = 1 | |
879 | DamageFrame.TextStrokeTransparency = 0 | |
880 | DamageFrame.Size = UDim2.new(0,42,0,42) | |
881 | DamageFrame.Rotation = 15 | |
882 | DamageFrame.Position = UDim2.new(0.069,0,0.91,0) -- {0.476, 0},{0.901, 0} | |
883 | local ModeFrame = Instance.new("TextLabel",basgui) | |
884 | ModeFrame.Name = "Farmer5000" | |
885 | ModeFrame.Font = "SciFi" | |
886 | ModeFrame.Text = "Side: Star" | |
887 | ModeFrame.TextSize = 30 | |
888 | ModeFrame.BackgroundTransparency = 1 | |
889 | ModeFrame.TextStrokeTransparency = 0 | |
890 | ModeFrame.Size = UDim2.new(0,42,0,42) | |
891 | ModeFrame.Rotation = 15 | |
892 | ModeFrame.Position = UDim2.new(0.069,0,0.86,0) -- {0.476, 0},{0.901, 0} | |
893 | ||
894 | ||
895 | local extrawingmod1 = Instance.new("Model",char) | |
896 | local extrawingmod2 = Instance.new("Model",char) | |
897 | ||
898 | function CreateParta(parent,transparency,reflectance,material,brickcolor) | |
899 | local p = Instance.new("Part") | |
900 | p.TopSurface = 0 | |
901 | p.BottomSurface = 0 | |
902 | p.Parent = parent | |
903 | p.Size = Vector3.new(0.1,0.1,0.1) | |
904 | p.Transparency = transparency | |
905 | p.Reflectance = reflectance | |
906 | p.CanCollide = false | |
907 | p.Locked = true | |
908 | p.BrickColor = brickcolor | |
909 | p.Material = material | |
910 | return p | |
911 | end | |
912 | ||
913 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
914 | local mesh = Instance.new("SpecialMesh",parent) | |
915 | mesh.MeshType = meshtype | |
916 | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) | |
917 | return mesh | |
918 | end | |
919 | ||
920 | function CreateSpecialMesh(parent,meshid,x1,y1,z1) | |
921 | local mesh = Instance.new("SpecialMesh",parent) | |
922 | mesh.MeshType = "FileMesh" | |
923 | mesh.MeshId = meshid | |
924 | - | gui.Font = "SciFi" |
924 | + | |
925 | return mesh | |
926 | end | |
927 | ||
928 | ||
929 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
930 | local mesh = Instance.new("SpecialMesh",parent) | |
931 | mesh.MeshType = "FileMesh" | |
932 | mesh.MeshId = meshid | |
933 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
934 | mesh.Scale = Vector3.new(x1,y1,z1) | |
935 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
936 | return mesh | |
937 | end | |
938 | ||
939 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
940 | local weld = Instance.new("Weld") | |
941 | weld.Parent = parent | |
942 | weld.Part0 = part0 | |
943 | weld.Part1 = part1 | |
944 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
945 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
946 | return weld | |
947 | end | |
948 | ||
949 | - | imgl2.Image = "rbxassetid://2325939897" |
949 | + | |
950 | - | local techc = imgl2:Clone() |
950 | + | |
951 | - | techc.Parent = fullscreenz |
951 | + | |
952 | - | techc.ImageTransparency = 0 |
952 | + | |
953 | - | techc.Size = UDim2.new(0,900,0,900) |
953 | + | |
954 | - | techc.Position = UDim2.new(0.75,-150,0.55,-150) |
954 | + | |
955 | 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)) | |
956 | - | techc.Image = "rbxassetid://2273224484" |
956 | + | |
957 | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
958 | CreateMesh(handle,"Brick",0,0,0) | |
959 | 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)) | |
960 | local valuaring = 10 | |
961 | for i = 0, 49 do | |
962 | valuaring = valuaring + 10 | |
963 | - | circl.Image = "rbxassetid://2312119891" |
963 | + | |
964 | CreateMesh(rn,"Brick",0.25,0.1,0.1) | |
965 | 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)) | |
966 | end | |
967 | ||
968 | handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
969 | CreateMesh(handle,"Brick",0,0,0) | |
970 | - | circl2.Image = "rbxassetid://2312119891" |
970 | + | |
971 | local valuaring = 10 | |
972 | for i = 0, 49 do | |
973 | valuaring = valuaring + 10 | |
974 | rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
975 | CreateMesh(rn,"Brick",0.5,0.2,0.2) | |
976 | 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)) | |
977 | end | |
978 | ||
979 | ||
980 | local handle = CreateParta(m,1,1,"Neon",maincolor) | |
981 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
982 | 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)) | |
983 | ||
984 | - | ned.TextColor3 = BrickColor.new("Royal purple").Color |
984 | + | |
985 | - | ned.TextStrokeColor3 = BrickColor.new("Royal purple").Color |
985 | + | |
986 | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
987 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
988 | 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)) | |
989 | ||
990 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
991 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
992 | 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)) | |
993 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
994 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
995 | 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)) | |
996 | A0 = Instance.new('Attachment',wed) | |
997 | A0.Position = vt(0,0.25,0.25) | |
998 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
999 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1000 | 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)) | |
1001 | A1 = Instance.new('Attachment',wed) | |
1002 | A1.Position = vt(0,-0.25,-2) | |
1003 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1004 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1005 | 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)) | |
1006 | ||
1007 | tl1 = Instance.new('Trail',wed) | |
1008 | tl1.Attachment0 = A1 | |
1009 | tl1.Attachment1 = A0 | |
1010 | tl1.Texture = "rbxassetid://2108945559" | |
1011 | tl1.LightEmission = 1 | |
1012 | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1013 | tl1.Color = ColorSequence.new(BrickColor.new('Royal purple').Color) | |
1014 | tl1.Lifetime = 0.6 | |
1015 | ||
1016 | ||
1017 | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
1018 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1019 | 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)) | |
1020 | ||
1021 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1022 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1023 | 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)) | |
1024 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1025 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1026 | 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)) | |
1027 | A0 = Instance.new('Attachment',wed) | |
1028 | A0.Position = vt(0,0.25,0.25) | |
1029 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1030 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1031 | 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)) | |
1032 | A1 = Instance.new('Attachment',wed) | |
1033 | A1.Position = vt(0,-0.25,-2) | |
1034 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1035 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1036 | 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)) | |
1037 | ||
1038 | tl2 = Instance.new('Trail',wed) | |
1039 | tl2.Attachment0 = A1 | |
1040 | tl2.Attachment1 = A0 | |
1041 | tl2.Texture = "rbxassetid://2108945559" | |
1042 | tl2.LightEmission = 1 | |
1043 | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1044 | tl2.Color = ColorSequence.new(BrickColor.new('Royal purple').Color) | |
1045 | tl2.Lifetime = 0.6 | |
1046 | ||
1047 | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
1048 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1049 | 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)) | |
1050 | ||
1051 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1052 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1053 | 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)) | |
1054 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1055 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1056 | 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)) | |
1057 | A0 = Instance.new('Attachment',wed) | |
1058 | A0.Position = vt(0,0.25,0.25) | |
1059 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1060 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1061 | 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)) | |
1062 | A1 = Instance.new('Attachment',wed) | |
1063 | A1.Position = vt(0,-0.25,-2) | |
1064 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1065 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1066 | 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)) | |
1067 | ||
1068 | tl3 = Instance.new('Trail',wed) | |
1069 | tl3.Attachment0 = A1 | |
1070 | tl3.Attachment1 = A0 | |
1071 | tl3.Texture = "rbxassetid://2108945559" | |
1072 | tl3.LightEmission = 1 | |
1073 | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1074 | tl3.Color = ColorSequence.new(BrickColor.new('Royal purple').Color) | |
1075 | tl3.Lifetime = 0.6 | |
1076 | ||
1077 | tl1.Enabled = false | |
1078 | tl2.Enabled = false | |
1079 | tl3.Enabled = false | |
1080 | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
1081 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1082 | 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)) | |
1083 | ||
1084 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1085 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1086 | 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)) | |
1087 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1088 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1089 | 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)) | |
1090 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1091 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1092 | 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)) | |
1093 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1094 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1095 | 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)) | |
1096 | ||
1097 | - | CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1097 | + | |
1098 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1099 | 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)) | |
1100 | - | CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1100 | + | |
1101 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1102 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1103 | - | CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1103 | + | |
1104 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1105 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1106 | - | CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1106 | + | |
1107 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1108 | - | CreateMesh(wed,"Wedge",0.05,0.5,1.5) |
1108 | + | |
1109 | 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)) | |
1110 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1111 | - | CreateMesh(wed,"Wedge",0.05,1.5,0.5) |
1111 | + | |
1112 | 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)) | |
1113 | ||
1114 | - | CreateMesh(wed,"Wedge",0.05,0.25,1.75) |
1114 | + | |
1115 | - | CreateWeld(wed,lwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1115 | + | |
1116 | 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)) | |
1117 | - | CreateMesh(wed,"Wedge",0.05,1.75,0.25) |
1117 | + | |
1118 | - | CreateWeld(wed,lwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1118 | + | |
1119 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1120 | 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)) | |
1121 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1122 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1123 | 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)) | |
1124 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1125 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1126 | - | tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
1126 | + | |
1127 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1128 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1129 | 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)) | |
1130 | ||
1131 | -- Right wing. | |
1132 | ||
1133 | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
1134 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1135 | 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)) | |
1136 | ||
1137 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1138 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1139 | 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)) | |
1140 | A0 = Instance.new('Attachment',wed) | |
1141 | - | CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1141 | + | A0.Position = vt(0,0.25,0.25) |
1142 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1143 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1144 | - | CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1144 | + | |
1145 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1146 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1147 | - | CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1147 | + | |
1148 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1149 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1150 | - | CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1150 | + | |
1151 | A1 = Instance.new('Attachment',wed) | |
1152 | - | CreateMesh(wed,"Wedge",0.05,0.5,1.5) |
1152 | + | A1.Position = vt(0,2,0.25) |
1153 | ||
1154 | tr1 = Instance.new('Trail',wed) | |
1155 | - | CreateMesh(wed,"Wedge",0.05,1.5,0.5) |
1155 | + | |
1156 | tr1.Attachment1 = A0 | |
1157 | tr1.Texture = "rbxassetid://2108945559" | |
1158 | - | CreateMesh(wed,"Wedge",0.05,0.25,1.75) |
1158 | + | |
1159 | - | CreateWeld(wed,lwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1159 | + | |
1160 | tr1.Color = ColorSequence.new(BrickColor.new('Royal purple').Color) | |
1161 | - | CreateMesh(wed,"Wedge",0.05,1.75,0.25) |
1161 | + | |
1162 | - | CreateWeld(wed,lwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1162 | + | |
1163 | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
1164 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1165 | 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)) | |
1166 | ||
1167 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1168 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1169 | 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)) | |
1170 | - | tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
1170 | + | A0 = Instance.new('Attachment',wed) |
1171 | A0.Position = vt(0,0.25,0.25) | |
1172 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1173 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1174 | 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)) | |
1175 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1176 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1177 | 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)) | |
1178 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1179 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1180 | 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)) | |
1181 | A1 = Instance.new('Attachment',wed) | |
1182 | A1.Position = vt(0,2,0.25) | |
1183 | ||
1184 | tr2 = Instance.new('Trail',wed) | |
1185 | - | CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1185 | + | |
1186 | tr2.Attachment1 = A0 | |
1187 | tr2.Texture = "rbxassetid://2108945559" | |
1188 | - | CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1188 | + | |
1189 | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1190 | tr2.Color = ColorSequence.new(BrickColor.new('Royal purple').Color) | |
1191 | - | CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1191 | + | |
1192 | ||
1193 | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
1194 | - | CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1194 | + | |
1195 | 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)) | |
1196 | - | CreateMesh(wed,"Wedge",0.05,0.5,1.5) |
1196 | + | |
1197 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1198 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1199 | - | CreateMesh(wed,"Wedge",0.05,1.5,0.5) |
1199 | + | |
1200 | A0 = Instance.new('Attachment',wed) | |
1201 | A0.Position = vt(0,0.25,0.25) | |
1202 | - | CreateMesh(wed,"Wedge",0.05,0.25,1.75) |
1202 | + | |
1203 | - | CreateWeld(wed,lwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1203 | + | |
1204 | 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)) | |
1205 | - | CreateMesh(wed,"Wedge",0.05,1.75,0.25) |
1205 | + | |
1206 | - | CreateWeld(wed,lwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1206 | + | |
1207 | 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)) | |
1208 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1209 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1210 | 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)) | |
1211 | A1 = Instance.new('Attachment',wed) | |
1212 | A1.Position = vt(0,2,0.25) | |
1213 | ||
1214 | - | tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
1214 | + | tr3 = Instance.new('Trail',wed) |
1215 | tr3.Attachment0 = A1 | |
1216 | tr3.Attachment1 = A0 | |
1217 | tr3.Texture = "rbxassetid://2108945559" | |
1218 | tr3.LightEmission = 1 | |
1219 | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1220 | tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color) | |
1221 | tr3.Lifetime = 0.6 | |
1222 | ||
1223 | ||
1224 | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
1225 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1226 | 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)) | |
1227 | ||
1228 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1229 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1230 | 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)) | |
1231 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1232 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1233 | 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)) | |
1234 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1235 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1236 | 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)) | |
1237 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1238 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1239 | 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)) | |
1240 | ||
1241 | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
1242 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1243 | 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)) | |
1244 | ||
1245 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1246 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1247 | 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)) | |
1248 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1249 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1250 | 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)) | |
1251 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1252 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1253 | 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)) | |
1254 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1255 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1256 | 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)) | |
1257 | ||
1258 | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
1259 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1260 | 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)) | |
1261 | ||
1262 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1263 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1264 | 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)) | |
1265 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1266 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1267 | 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)) | |
1268 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1269 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1270 | 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)) | |
1271 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1272 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1273 | 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)) | |
1274 | ||
1275 | ---- HERES THE RING | |
1276 | ||
1277 | ||
1278 | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
1279 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
1280 | 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)) | |
1281 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1282 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
1283 | 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)) | |
1284 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1285 | - | CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1285 | + | |
1286 | 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)) | |
1287 | ||
1288 | - | CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1288 | + | |
1289 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1290 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
1291 | - | CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1291 | + | |
1292 | ||
1293 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1294 | - | CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1294 | + | |
1295 | 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)) | |
1296 | - | CreateMesh(wed,"Wedge",0.05,0.5,1.5) |
1296 | + | |
1297 | ||
1298 | ||
1299 | - | CreateMesh(wed,"Wedge",0.05,1.5,0.5) |
1299 | + | |
1300 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1301 | 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)) | |
1302 | - | CreateMesh(wed,"Wedge",0.05,0.25,1.75) |
1302 | + | |
1303 | - | CreateWeld(wed,rwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1303 | + | |
1304 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1305 | - | CreateMesh(wed,"Wedge",0.05,1.75,0.25) |
1305 | + | |
1306 | - | CreateWeld(wed,rwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1306 | + | |
1307 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
1308 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
1309 | 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)) | |
1310 | ||
1311 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1312 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
1313 | 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)) | |
1314 | - | tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
1314 | + | |
1315 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
1316 | 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)) | |
1317 | ||
1318 | --- second ring | |
1319 | ||
1320 | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
1321 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
1322 | 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)) | |
1323 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1324 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
1325 | 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)) | |
1326 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1327 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
1328 | 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)) | |
1329 | - | CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1329 | + | |
1330 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1331 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
1332 | - | CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1332 | + | |
1333 | ||
1334 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1335 | - | CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1335 | + | |
1336 | 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)) | |
1337 | ||
1338 | - | CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1338 | + | |
1339 | ||
1340 | - | CreateMesh(wed,"Wedge",0.05,0.5,1.5) |
1340 | + | |
1341 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1342 | 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)) | |
1343 | - | CreateMesh(wed,"Wedge",0.05,1.5,0.5) |
1343 | + | |
1344 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
1345 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1346 | - | CreateMesh(wed,"Wedge",0.05,0.25,1.75) |
1346 | + | |
1347 | - | CreateWeld(wed,rwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1347 | + | |
1348 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
1349 | - | CreateMesh(wed,"Wedge",0.05,1.75,0.25) |
1349 | + | |
1350 | - | CreateWeld(wed,rwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1350 | + | |
1351 | ||
1352 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1353 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
1354 | 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)) | |
1355 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
1356 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
1357 | 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))]]-- | |
1358 | - | tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
1358 | + | |
1359 | ||
1360 | ||
1361 | for i, v in pairs(m:GetChildren()) do | |
1362 | if v:IsA("Part") then | |
1363 | v.BrickColor = BrickColor.new("Really black") | |
1364 | v.Material = "Glass" | |
1365 | end | |
1366 | end | |
1367 | for i, v in pairs(m2:GetChildren()) do | |
1368 | if v:IsA("Part") then | |
1369 | v.BrickColor = BrickColor.new("Crimson") | |
1370 | v.Material = "Granite" | |
1371 | end | |
1372 | end | |
1373 | for i, v in pairs(m3:GetChildren()) do | |
1374 | - | CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1374 | + | |
1375 | v.BrickColor = BrickColor.new("Really red") | |
1376 | v.Material = "Neon" | |
1377 | - | CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1377 | + | |
1378 | end | |
1379 | for i, v in pairs(mw2:GetChildren()) do | |
1380 | - | CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1380 | + | |
1381 | v.BrickColor = BrickColor.new("Royal purple") | |
1382 | v.Material = "Neon" | |
1383 | - | CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1383 | + | |
1384 | end | |
1385 | - | CreateMesh(wed,"Wedge",0.05,0.5,1.5) |
1385 | + | |
1386 | if v:IsA("Part") then | |
1387 | v.Transparency = 0 | |
1388 | - | CreateMesh(wed,"Wedge",0.05,1.5,0.5) |
1388 | + | |
1389 | v.Material = "Neon" | |
1390 | end | |
1391 | - | CreateMesh(wed,"Wedge",0.05,0.25,1.75) |
1391 | + | |
1392 | - | CreateWeld(wed,rwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1392 | + | |
1393 | if v:IsA("Part") then | |
1394 | - | CreateMesh(wed,"Wedge",0.05,1.75,0.25) |
1394 | + | |
1395 | - | CreateWeld(wed,rwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1395 | + | v.BrickColor = BrickColor.new("Royal pruple") |
1396 | v.Material = "Neon" | |
1397 | - | tr3 = Instance.new('Trail',wed) |
1397 | + | |
1398 | end | |
1399 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
1400 | if v:IsA("Part") then | |
1401 | v.Transparency = 1 | |
1402 | v.BrickColor = BrickColor.new("Royal pruple") | |
1403 | v.Material = "Neon" | |
1404 | end | |
1405 | end | |
1406 | local MAINRUINCOLOR = BrickColor.new("Really red") | |
1407 | ------ | |
1408 | ||
1409 | ||
1410 | function RemoveOutlines(part) | |
1411 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
1412 | end | |
1413 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1414 | local Part = Create("Part")({ | |
1415 | Parent = Parent, | |
1416 | Reflectance = Reflectance, | |
1417 | Transparency = Transparency, | |
1418 | CanCollide = false, | |
1419 | Locked = true, | |
1420 | BrickColor = BrickColor.new(tostring(BColor)), | |
1421 | Name = Name, | |
1422 | Size = Size, | |
1423 | Material = Material | |
1424 | }) | |
1425 | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
1426 | RemoveOutlines(Part) | |
1427 | return Part | |
1428 | end | |
1429 | function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1430 | local Msh = Create(Mesh)({ | |
1431 | Parent = Part, | |
1432 | Offset = OffSet, | |
1433 | Scale = Scale | |
1434 | }) | |
1435 | if Mesh == "SpecialMesh" then | |
1436 | Msh.MeshType = MeshType | |
1437 | Msh.MeshId = MeshId | |
1438 | end | |
1439 | return Msh | |
1440 | end | |
1441 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
1442 | local Weld = Create("Weld")({ | |
1443 | Parent = Parent, | |
1444 | Part0 = Part0, | |
1445 | Part1 = Part1, | |
1446 | C0 = C0, | |
1447 | C1 = C1 | |
1448 | }) | |
1449 | return Weld | |
1450 | end | |
1451 | ||
1452 | Character=Player.Character | |
1453 | PlayerGui=Player.PlayerGui | |
1454 | Backpack=Player.Backpack | |
1455 | Torso=Character.Torso | |
1456 | Head=Character.Head | |
1457 | Humanoid=Character.Humanoid | |
1458 | m=Instance.new('Model',Character) | |
1459 | LeftArm=Character["Left Arm"] | |
1460 | LeftLeg=Character["Left Leg"] | |
1461 | RightArm=Character["Right Arm"] | |
1462 | RightLeg=Character["Right Leg"] | |
1463 | LS=Torso["Left Shoulder"] | |
1464 | LH=Torso["Left Hip"] | |
1465 | RS=Torso["Right Shoulder"] | |
1466 | RH=Torso["Right Hip"] | |
1467 | Face = Head.face | |
1468 | Neck=Torso.Neck | |
1469 | it=Instance.new | |
1470 | attacktype=1 | |
1471 | vt=Vector3.new | |
1472 | cf=CFrame.new | |
1473 | euler=CFrame.fromEulerAnglesXYZ | |
1474 | angles=CFrame.Angles | |
1475 | cloaked=false | |
1476 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1477 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1478 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
1479 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
1480 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
1481 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
1482 | RootPart=Character.HumanoidRootPart | |
1483 | RootJoint=RootPart.RootJoint | |
1484 | RootCF=euler(-1.57,0,3.14) | |
1485 | attack = false | |
1486 | attackdebounce = false | |
1487 | deb=false | |
1488 | equipped=true | |
1489 | hand=false | |
1490 | combo=0 | |
1491 | mana=0 | |
1492 | trispeed=.2 | |
1493 | attackmode='none' | |
1494 | local idle=0 | |
1495 | local Anim="Idle" | |
1496 | local Effects={} | |
1497 | local gun=false | |
1498 | local shoot=false | |
1499 | local sine = 0 | |
1500 | local change = 1 | |
1501 | ||
1502 | function RecolorTextAndRename(name,col1,col2,font) | |
1503 | modet.TextStrokeColor3 = col2 | |
1504 | modet.TextColor3 = col1 | |
1505 | modet.Font = font | |
1506 | modet.Text = name | |
1507 | techc.ImageColor3 = col2 | |
1508 | circl.ImageColor3 = col2 | |
1509 | circl2.ImageColor3 = col1 | |
1510 | imgl2.ImageColor3 = col1 | |
1511 | imgl2b.ImageColor3 = col2 | |
1512 | ned.Text = name | |
1513 | ned.TextColor3 = col1 | |
1514 | ned.TextStrokeColor3 = col2 | |
1515 | end | |
1516 | --save shoulders | |
1517 | RSH, LSH=nil, nil | |
1518 | --welds | |
1519 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
1520 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
1521 | LH=Torso["Left Hip"] | |
1522 | RH=Torso["Right Hip"] | |
1523 | TorsoColor=Torso.BrickColor | |
1524 | function NoOutline(Part) | |
1525 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
1526 | end | |
1527 | ch=Character | |
1528 | RSH=ch.Torso["Right Shoulder"] | |
1529 | LSH=ch.Torso["Left Shoulder"] | |
1530 | -- | |
1531 | RSH.Parent=nil | |
1532 | LSH.Parent=nil | |
1533 | -- | |
1534 | RW.Name="Right Shoulder" | |
1535 | RW.Part0=ch.Torso | |
1536 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
1537 | RW.C1=cf(0, 0.5, 0) | |
1538 | RW.Part1=ch["Right Arm"] | |
1539 | RW.Parent=ch.Torso | |
1540 | -- | |
1541 | LW.Name="Left Shoulder" | |
1542 | LW.Part0=ch.Torso | |
1543 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
1544 | LW.C1=cf(0, 0.5, 0) | |
1545 | LW.Part1=ch["Left Arm"] | |
1546 | LW.Parent=ch.Torso | |
1547 | ||
1548 | local Stats=Instance.new("BoolValue") | |
1549 | Stats.Name="Stats" | |
1550 | Stats.Parent=Character | |
1551 | local Atk=Instance.new("NumberValue") | |
1552 | Atk.Name="Damage" | |
1553 | Atk.Parent=Stats | |
1554 | Atk.Value=1 | |
1555 | local Def=Instance.new("NumberValue") | |
1556 | Def.Name="Defense" | |
1557 | Def.Parent=Stats | |
1558 | Def.Value=1 | |
1559 | local Speed=Instance.new("NumberValue") | |
1560 | Speed.Name="Speed" | |
1561 | Speed.Parent=Stats | |
1562 | Speed.Value=1 | |
1563 | local Mvmt=Instance.new("NumberValue") | |
1564 | Mvmt.Name="Movement" | |
1565 | Mvmt.Parent=Stats | |
1566 | Mvmt.Value=1 | |
1567 | ||
1568 | local donum=0 | |
1569 | ||
1570 | ||
1571 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
1572 | local fp=it("Part") | |
1573 | fp.formFactor=formfactor | |
1574 | fp.Parent=parent | |
1575 | fp.Reflectance=reflectance | |
1576 | fp.Transparency=transparency | |
1577 | fp.CanCollide=false | |
1578 | - | v.BrickColor = BrickColor.new("White") |
1578 | + | |
1579 | fp.BrickColor=brickcolor | |
1580 | fp.Name=name | |
1581 | fp.Size=size | |
1582 | fp.Position=Torso.Position | |
1583 | NoOutline(fp) | |
1584 | fp.Material="SmoothPlastic" | |
1585 | - | v.BrickColor = BrickColor.new("White") |
1585 | + | |
1586 | return fp | |
1587 | end | |
1588 | ||
1589 | - | local MAINRUINCOLOR = BrickColor.new("Royal purple") |
1589 | + | |
1590 | local mesh=it(Mesh) | |
1591 | mesh.Parent=part | |
1592 | if Mesh=="SpecialMesh" then | |
1593 | mesh.MeshType=meshtype | |
1594 | if meshid~="nil" then | |
1595 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
1596 | end | |
1597 | end | |
1598 | mesh.Offset=offset | |
1599 | mesh.Scale=scale | |
1600 | return mesh | |
1601 | end | |
1602 | ||
1603 | function weld(parent,part0,part1,c0) | |
1604 | local weld=it("Weld") | |
1605 | weld.Parent=parent | |
1606 | weld.Part0=part0 | |
1607 | weld.Part1=part1 | |
1608 | weld.C0=c0 | |
1609 | return weld | |
1610 | end | |
1611 | ||
1612 | local Color1=Torso.BrickColor | |
1613 | ||
1614 | local bodvel=Instance.new("BodyVelocity") | |
1615 | local bg=Instance.new("BodyGyro") | |
1616 | ||
1617 | --------- SazEreno's Artificial HB -------------- | |
1618 | ArtificialHB = Instance.new("BindableEvent", script) | |
1619 | ArtificialHB.Name = "ArtificialHB" | |
1620 | ||
1621 | script:WaitForChild("ArtificialHB") | |
1622 | Frame_Speed = 1 / 60 | |
1623 | frame = Frame_Speed | |
1624 | tf = 0 | |
1625 | allowframeloss = false | |
1626 | tossremainder = false | |
1627 | lastframe = tick() | |
1628 | script.ArtificialHB:Fire() | |
1629 | ||
1630 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1631 | tf = tf + s | |
1632 | if tf >= frame then | |
1633 | if allowframeloss then | |
1634 | script.ArtificialHB:Fire() | |
1635 | lastframe = tick() | |
1636 | else | |
1637 | for i = 1, math.floor(tf / frame) do | |
1638 | script.ArtificialHB:Fire() | |
1639 | end | |
1640 | lastframe = tick() | |
1641 | end | |
1642 | if tossremainder then | |
1643 | tf = 0 | |
1644 | else | |
1645 | tf = tf - frame * math.floor(tf / frame) | |
1646 | end | |
1647 | end | |
1648 | end) | |
1649 | ||
1650 | ------------------ | |
1651 | function swait(num) | |
1652 | function swait(num) | |
1653 | if num==0 or num==nil then | |
1654 | game:service'RunService'.Stepped:wait(0) | |
1655 | else | |
1656 | for i=0,num do | |
1657 | game:service'RunService'.Stepped:wait(0) | |
1658 | end | |
1659 | end | |
1660 | end | |
1661 | end | |
1662 | ||
1663 | -------- RAINBOW LEAVE IT TO ME | |
1664 | local r = 255 | |
1665 | local g = 0 | |
1666 | local b = 0 | |
1667 | coroutine.resume(coroutine.create(function() | |
1668 | while wait() do | |
1669 | for i = 0, 254/5 do | |
1670 | swait() | |
1671 | g = g + 5 | |
1672 | end | |
1673 | for i = 0, 254/5 do | |
1674 | swait() | |
1675 | r = r - 5 | |
1676 | end | |
1677 | for i = 0, 254/5 do | |
1678 | swait() | |
1679 | b = b + 5 | |
1680 | end | |
1681 | for i = 0, 254/5 do | |
1682 | swait() | |
1683 | g = g - 5 | |
1684 | end | |
1685 | for i = 0, 254/5 do | |
1686 | swait() | |
1687 | r = r + 5 | |
1688 | end | |
1689 | for i = 0, 254/5 do | |
1690 | swait() | |
1691 | b = b - 5 | |
1692 | end | |
1693 | end | |
1694 | end)) | |
1695 | ||
1696 | ||
1697 | so = function(id,par,vol,pit) | |
1698 | coroutine.resume(coroutine.create(function() | |
1699 | - | --save shoulders |
1699 | + | |
1700 | - | RSH, LSH=nil, nil |
1700 | + | |
1701 | - | --welds |
1701 | + | |
1702 | - | RW, LW=Instance.new("Weld"), Instance.new("Weld") |
1702 | + | |
1703 | swait() | |
1704 | sou:play() | |
1705 | game:GetService("Debris"):AddItem(sou,6) | |
1706 | end)) | |
1707 | end | |
1708 | ||
1709 | function clerp(a,b,t) | |
1710 | local qa = {QuaternionFromCFrame(a)} | |
1711 | - | RSH=ch.Torso["Right Shoulder"] |
1711 | + | local qb = {QuaternionFromCFrame(b)} |
1712 | - | LSH=ch.Torso["Left Shoulder"] |
1712 | + | local ax, ay, az = a.x, a.y, a.z |
1713 | - | -- |
1713 | + | |
1714 | - | RSH.Parent=nil |
1714 | + | |
1715 | - | LSH.Parent=nil |
1715 | + | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
1716 | - | -- |
1716 | + | |
1717 | ||
1718 | - | RW.Part0=ch.Torso |
1718 | + | |
1719 | - | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
1719 | + | |
1720 | - | RW.C1=cf(0, 0.5, 0) |
1720 | + | |
1721 | - | RW.Part1=ch["Right Arm"] |
1721 | + | |
1722 | - | RW.Parent=ch.Torso |
1722 | + | |
1723 | - | -- |
1723 | + | |
1724 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
1725 | - | LW.Part0=ch.Torso |
1725 | + | |
1726 | - | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
1726 | + | |
1727 | - | LW.C1=cf(0, 0.5, 0) |
1727 | + | |
1728 | - | LW.Part1=ch["Left Arm"] |
1728 | + | |
1729 | - | LW.Parent=ch.Torso |
1729 | + | |
1730 | if m22 > (i == 0 and m00 or m11) then | |
1731 | i = 2 | |
1732 | end | |
1733 | if i == 0 then | |
1734 | local s = math.sqrt(m00-m11-m22+1) | |
1735 | local recip = 0.5/s | |
1736 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
1737 | elseif i == 1 then | |
1738 | local s = math.sqrt(m11-m22-m00+1) | |
1739 | local recip = 0.5/s | |
1740 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
1741 | elseif i == 2 then | |
1742 | local s = math.sqrt(m22-m00-m11+1) | |
1743 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
1744 | end | |
1745 | end | |
1746 | end | |
1747 | ||
1748 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
1749 | local xs, ys, zs = x + x, y + y, z + z | |
1750 | local wx, wy, wz = w*xs, w*ys, w*zs | |
1751 | local xx = x*xs | |
1752 | local xy = x*ys | |
1753 | local xz = x*zs | |
1754 | local yy = y*ys | |
1755 | local yz = y*zs | |
1756 | - | fp.formFactor=formfactor |
1756 | + | |
1757 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
1758 | end | |
1759 | ||
1760 | - | fp.CanCollide=false |
1760 | + | |
1761 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
1762 | local startInterp, finishInterp; | |
1763 | if cosTheta >= 0.0001 then | |
1764 | if (1 - cosTheta) > 0.0001 then | |
1765 | - | fp.Position=Torso.Position |
1765 | + | |
1766 | local invSinTheta = 1/math.sin(theta) | |
1767 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
1768 | finishInterp = math.sin(t*theta)*invSinTheta | |
1769 | - | return fp |
1769 | + | |
1770 | startInterp = 1-t | |
1771 | finishInterp = t | |
1772 | end | |
1773 | - | local mesh=it(Mesh) |
1773 | + | |
1774 | if (1+cosTheta) > 0.0001 then | |
1775 | local theta = math.acos(-cosTheta) | |
1776 | local invSinTheta = 1/math.sin(theta) | |
1777 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
1778 | finishInterp = math.sin(t*theta)*invSinTheta | |
1779 | else | |
1780 | startInterp = t-1 | |
1781 | finishInterp = t | |
1782 | end | |
1783 | end | |
1784 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
1785 | end | |
1786 | ||
1787 | - | local weld=it("Weld") |
1787 | + | |
1788 | local right = top:Cross(back) | |
1789 | - | weld.Part0=part0 |
1789 | + | |
1790 | - | weld.Part1=part1 |
1790 | + | |
1791 | right.y, top.y, back.y, | |
1792 | right.z, top.z, back.z) | |
1793 | end | |
1794 | ||
1795 | function Triangle(a, b, c) | |
1796 | local edg1 = (c-a):Dot((b-a).unit) | |
1797 | local edg2 = (a-b):Dot((c-b).unit) | |
1798 | local edg3 = (b-c):Dot((a-c).unit) | |
1799 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
1800 | a, b, c = a, b, c | |
1801 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
1802 | a, b, c = b, c, a | |
1803 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
1804 | a, b, c = c, a, b | |
1805 | else | |
1806 | assert(false, "unreachable") | |
1807 | end | |
1808 | ||
1809 | local len1 = (c-a):Dot((b-a).unit) | |
1810 | local len2 = (b-a).magnitude - len1 | |
1811 | local width = (a + (b-a).unit*len1 - c).magnitude | |
1812 | ||
1813 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
1814 | - | tf = tf + s |
1814 | + | |
1815 | - | if tf >= frame then |
1815 | + | |
1816 | - | if allowframeloss then |
1816 | + | |
1817 | - | script.ArtificialHB:Fire() |
1817 | + | |
1818 | - | lastframe = tick() |
1818 | + | |
1819 | game:GetService("Debris"):AddItem(w1,5) | |
1820 | - | for i = 1, math.floor(tf / frame) do |
1820 | + | |
1821 | - | script.ArtificialHB:Fire() |
1821 | + | |
1822 | w1.BrickColor = BrickColor.new("Really red") | |
1823 | - | lastframe = tick() |
1823 | + | |
1824 | w1.Reflectance = 0 | |
1825 | - | if tossremainder then |
1825 | + | |
1826 | - | tf = 0 |
1826 | + | |
1827 | local l1 = Instance.new("PointLight",w1) | |
1828 | - | tf = tf - frame * math.floor(tf / frame) |
1828 | + | |
1829 | NoOutline(w1) | |
1830 | local sz = Vector3.new(0.2, width, len1) | |
1831 | w1.Size = sz | |
1832 | local sp = Instance.new("SpecialMesh",w1) | |
1833 | sp.MeshType = "Wedge" | |
1834 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
1835 | w1:BreakJoints() | |
1836 | w1.Anchored = true | |
1837 | w1.Parent = workspace | |
1838 | w1.Transparency = 0.7 | |
1839 | table.insert(Effects,{w1,"Disappear",.01}) | |
1840 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
1841 | table.insert(list,w1) | |
1842 | end | |
1843 | ||
1844 | if len2 > 0.01 then | |
1845 | local w2 = Instance.new('WedgePart', m) | |
1846 | game:GetService("Debris"):AddItem(w2,5) | |
1847 | w2.Material = "SmoothPlastic" | |
1848 | w2.FormFactor = 'Custom' | |
1849 | w2.BrickColor = BrickColor.new("Really red") | |
1850 | w2.Transparency = 0 | |
1851 | w2.Reflectance = 0 | |
1852 | - | for i = 0, 254/5 do |
1852 | + | |
1853 | w2.CanCollide = false | |
1854 | - | g = g + 5 |
1854 | + | |
1855 | l2.Color = Color3.new(170,0,0) | |
1856 | - | for i = 0, 254/5 do |
1856 | + | |
1857 | local sz = Vector3.new(0.2, width, len2) | |
1858 | - | r = r - 5 |
1858 | + | |
1859 | local sp = Instance.new("SpecialMesh",w2) | |
1860 | - | for i = 0, 254/5 do |
1860 | + | |
1861 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
1862 | - | b = b + 5 |
1862 | + | |
1863 | w2.Anchored = true | |
1864 | - | for i = 0, 254/5 do |
1864 | + | |
1865 | w2.Transparency = 0.7 | |
1866 | - | g = g - 5 |
1866 | + | |
1867 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
1868 | - | for i = 0, 254/5 do |
1868 | + | |
1869 | end | |
1870 | - | r = r + 5 |
1870 | + | |
1871 | end | |
1872 | - | for i = 0, 254/5 do |
1872 | + | |
1873 | ||
1874 | - | b = b - 5 |
1874 | + | |
1875 | if hit.Parent == nil then | |
1876 | return | |
1877 | end | |
1878 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1879 | for _, v in pairs(hit.Parent:children()) do | |
1880 | - | so = function(id,par,vol,pit) |
1880 | + | |
1881 | h = v | |
1882 | end | |
1883 | end | |
1884 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then | |
1885 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
1886 | - | swait() |
1886 | + | |
1887 | - | sou:play() |
1887 | + | |
1888 | local c = Create("ObjectValue")({ | |
1889 | Name = "creator", | |
1890 | Value = game:GetService("Players").LocalPlayer, | |
1891 | Parent = h | |
1892 | - | function clerp(a,b,t) |
1892 | + | |
1893 | game:GetService("Debris"):AddItem(c, 0.5) | |
1894 | - | local qb = {QuaternionFromCFrame(b)} |
1894 | + | |
1895 | - | local ax, ay, az = a.x, a.y, a.z |
1895 | + | |
1896 | end | |
1897 | local Damage = math.random(minim, maxim) | |
1898 | - | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
1898 | + | |
1899 | local block = hit.Parent:findFirstChild("Block") | |
1900 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
1901 | blocked = true | |
1902 | block.Value = block.Value - 1 | |
1903 | print(block.Value) | |
1904 | end | |
1905 | if blocked == false then | |
1906 | HitHealth = h.Health | |
1907 | h.MaxHealth = 100 | |
1908 | h.Health = h.Health - Damage | |
1909 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
1910 | print("gained kill") | |
1911 | dmg(h.Parent) | |
1912 | end | |
1913 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1914 | else | |
1915 | h.Health = h.Health - Damage / 2 | |
1916 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1917 | end | |
1918 | if Type == "Knockdown" then | |
1919 | local hum = hit.Parent.Humanoid | |
1920 | hum.PlatformStand = true | |
1921 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1922 | swait(1) | |
1923 | HHumanoid.PlatformStand = false | |
1924 | end), hum) | |
1925 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
1926 | local bodvol = Create("BodyVelocity")({ | |
1927 | velocity = angle * knockback, | |
1928 | P = 5000, | |
1929 | maxForce = Vector3.new(8000, 8000, 8000), | |
1930 | Parent = hit | |
1931 | }) | |
1932 | local rl = Create("BodyAngularVelocity")({ | |
1933 | P = 3000, | |
1934 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1935 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1936 | Parent = hit | |
1937 | }) | |
1938 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
1939 | game:GetService("Debris"):AddItem(rl, 0.5) | |
1940 | elseif Type == "Normal" then | |
1941 | local vp = Create("BodyVelocity")({ | |
1942 | P = 500, | |
1943 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1944 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
1945 | }) | |
1946 | if knockback > 0 then | |
1947 | vp.Parent = hit.Parent.Head | |
1948 | end | |
1949 | game:GetService("Debris"):AddItem(vp, 0.5) | |
1950 | elseif Type == "Up" then | |
1951 | local bodyVelocity = Create("BodyVelocity")({ | |
1952 | velocity = Vector3.new(0, 20, 0), | |
1953 | P = 5000, | |
1954 | maxForce = Vector3.new(8000, 8000, 8000), | |
1955 | Parent = hit | |
1956 | }) | |
1957 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
1958 | local bodyVelocity = Create("BodyVelocity")({ | |
1959 | velocity = Vector3.new(0, 20, 0), | |
1960 | P = 5000, | |
1961 | maxForce = Vector3.new(8000, 8000, 8000), | |
1962 | Parent = hit | |
1963 | }) | |
1964 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1965 | elseif Type == "Leech" then | |
1966 | local hum = hit.Parent.Humanoid | |
1967 | if hum ~= nil then | |
1968 | for i = 0, 2 do | |
1969 | 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) | |
1970 | end | |
1971 | Humanoid.Health = Humanoid.Health + 10 | |
1972 | end | |
1973 | elseif Type == "UpKnock" then | |
1974 | local hum = hit.Parent.Humanoid | |
1975 | hum.PlatformStand = true | |
1976 | if hum ~= nil then | |
1977 | hitr = true | |
1978 | end | |
1979 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1980 | swait(5) | |
1981 | HHumanoid.PlatformStand = false | |
1982 | hitr = false | |
1983 | end), hum) | |
1984 | local bodyVelocity = Create("BodyVelocity")({ | |
1985 | velocity = Vector3.new(0, 20, 0), | |
1986 | P = 5000, | |
1987 | maxForce = Vector3.new(8000, 8000, 8000), | |
1988 | Parent = hit | |
1989 | }) | |
1990 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
1991 | local bodyVelocity = Create("BodyVelocity")({ | |
1992 | velocity = Vector3.new(0, 20, 0), | |
1993 | P = 5000, | |
1994 | maxForce = Vector3.new(8000, 8000, 8000), | |
1995 | Parent = hit | |
1996 | }) | |
1997 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1998 | elseif Type == "Snare" then | |
1999 | local bp = Create("BodyPosition")({ | |
2000 | P = 2000, | |
2001 | D = 100, | |
2002 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
2003 | position = hit.Parent.Torso.Position, | |
2004 | Parent = hit.Parent.Torso | |
2005 | }) | |
2006 | game:GetService("Debris"):AddItem(bp, 1) | |
2007 | elseif Type == "Slashnare" then | |
2008 | 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) | |
2009 | for i = 1, math.random(4, 5) do | |
2010 | 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) | |
2011 | end | |
2012 | local bp = Create("BodyPosition")({ | |
2013 | P = 2000, | |
2014 | D = 100, | |
2015 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
2016 | position = hit.Parent.Torso.Position, | |
2017 | Parent = hit.Parent.Torso | |
2018 | }) | |
2019 | game:GetService("Debris"):AddItem(bp, 1) | |
2020 | elseif Type == "Spike" then | |
2021 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
2022 | local bp = Create("BodyPosition")({ | |
2023 | P = 2000, | |
2024 | D = 100, | |
2025 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
2026 | position = hit.Parent.Torso.Position, | |
2027 | Parent = hit.Parent.Torso | |
2028 | }) | |
2029 | game:GetService("Debris"):AddItem(bp, 1) | |
2030 | elseif Type == "Freeze" then | |
2031 | local BodPos = Create("BodyPosition")({ | |
2032 | P = 50000, | |
2033 | D = 1000, | |
2034 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
2035 | position = hit.Parent.Torso.Position, | |
2036 | Parent = hit.Parent.Torso | |
2037 | }) | |
2038 | local BodGy = Create("BodyGyro")({ | |
2039 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
2040 | P = 20000, | |
2041 | Parent = hit.Parent.Torso, | |
2042 | cframe = hit.Parent.Torso.CFrame | |
2043 | }) | |
2044 | hit.Parent.Torso.Anchored = true | |
2045 | coroutine.resume(coroutine.create(function(Part) | |
2046 | swait(1.5) | |
2047 | Part.Anchored = false | |
2048 | end), hit.Parent.Torso) | |
2049 | game:GetService("Debris"):AddItem(BodPos, 3) | |
2050 | game:GetService("Debris"):AddItem(BodGy, 3) | |
2051 | end | |
2052 | local debounce = Create("BoolValue")({ | |
2053 | Name = "DebounceHit", | |
2054 | Parent = hit.Parent, | |
2055 | Value = true | |
2056 | }) | |
2057 | game:GetService("Debris"):AddItem(debounce, Delay) | |
2058 | c = Instance.new("ObjectValue") | |
2059 | c.Name = "creator" | |
2060 | c.Value = Player | |
2061 | c.Parent = h | |
2062 | game:GetService("Debris"):AddItem(c, 0.5) | |
2063 | end | |
2064 | end | |
2065 | function ShowDamage(Pos, Text, Time, Color) | |
2066 | local Rate = 0.03333333333333333 | |
2067 | local Pos = Pos or Vector3.new(0, 0, 0) | |
2068 | local Text = Text or "" | |
2069 | local Time = Time or 2 | |
2070 | local Color = Color or Color3.new(1, 0, 1) | |
2071 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
2072 | EffectPart.Anchored = true | |
2073 | local BillboardGui = Create("BillboardGui")({ | |
2074 | Size = UDim2.new(3, 0, 3, 0), | |
2075 | Adornee = EffectPart, | |
2076 | Parent = EffectPart | |
2077 | }) | |
2078 | local TextLabel = Create("TextLabel")({ | |
2079 | BackgroundTransparency = 1, | |
2080 | Size = UDim2.new(1, 0, 1, 0), | |
2081 | Text = Text, | |
2082 | TextColor3 = Color, | |
2083 | TextScaled = true, | |
2084 | Font = Enum.Font.ArialBold, | |
2085 | Parent = BillboardGui | |
2086 | }) | |
2087 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
2088 | EffectPart.Parent = game:GetService("Workspace") | |
2089 | delay(0, function() | |
2090 | local Frames = Time / Rate | |
2091 | for Frame = 1, Frames do | |
2092 | wait(Rate) | |
2093 | local Percent = Frame / Frames | |
2094 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
2095 | TextLabel.TextTransparency = Percent | |
2096 | end | |
2097 | if EffectPart and EffectPart.Parent then | |
2098 | EffectPart:Destroy() | |
2099 | end | |
2100 | end) | |
2101 | end | |
2102 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
2103 | for _, c in pairs(workspace:children()) do | |
2104 | local hum = c:findFirstChildOfClass("Humanoid") | |
2105 | if hum ~= nil then | |
2106 | local head = c:findFirstChild("Head") | |
2107 | if head ~= nil then | |
2108 | local targ = head.Position - Part.Position | |
2109 | local mag = targ.magnitude | |
2110 | if magni >= mag and c.Name ~= Player.Name then | |
2111 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
2112 | end | |
2113 | end | |
2114 | end | |
2115 | end | |
2116 | end | |
2117 | ||
2118 | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) | |
2119 | for _, c in pairs(workspace:children()) do | |
2120 | local hum = c:findFirstChild("Humanoid") | |
2121 | if hum ~= nil then | |
2122 | local head = c:findFirstChild("Torso") | |
2123 | if head ~= nil then | |
2124 | local targ = head.Position - Part.Position | |
2125 | local mag = targ.magnitude | |
2126 | if magni >= mag and c.Name ~= Player.Name then | |
2127 | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05) | |
2128 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
2129 | end | |
2130 | end | |
2131 | end | |
2132 | end | |
2133 | end | |
2134 | ||
2135 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
2136 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
2137 | end | |
2138 | ||
2139 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
2140 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2141 | prt.Anchored=true | |
2142 | prt.CFrame=cframe | |
2143 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) | |
2144 | --http://www.roblox.com/asset/?id=4770560 | |
2145 | game:GetService("Debris"):AddItem(prt,2) | |
2146 | CF=prt.CFrame | |
2147 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
2148 | for i=0,1,0.2 do | |
2149 | wait() | |
2150 | Part.CFrame=CF*cf(0,0,-0.4) | |
2151 | end | |
2152 | for i=0,1,delay do | |
2153 | wait() | |
2154 | --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) | |
2155 | Mesh.Scale=Mesh.Scale | |
2156 | end | |
2157 | for i=0,1,0.1 do | |
2158 | wait() | |
2159 | Part.Transparency=i | |
2160 | end | |
2161 | Part.Parent=nil | |
2162 | end),prt,msh,CF) | |
2163 | end | |
2164 | ||
2165 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2166 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2167 | prt.Anchored=true | |
2168 | prt.Material = "Neon" | |
2169 | prt.CFrame=cframe | |
2170 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2171 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2172 | game:GetService("Debris"):AddItem(prt,5) | |
2173 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2174 | for i=0,1,delay do | |
2175 | swait() | |
2176 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2177 | Part.Transparency=i | |
2178 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2179 | end | |
2180 | Part.Parent=nil | |
2181 | end),prt,msh) | |
2182 | end | |
2183 | ||
2184 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
2185 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2186 | prt.Anchored=true | |
2187 | prt.Material = "Neon" | |
2188 | prt.CFrame=cframe | |
2189 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2190 | game:GetService("Debris"):AddItem(prt,5) | |
2191 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2192 | local rtype = rottype | |
2193 | for i=0,1,delay do | |
2194 | swait() | |
2195 | if rtype == 1 then | |
2196 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2197 | elseif rtype == 2 then | |
2198 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2199 | end | |
2200 | Part.Transparency=i | |
2201 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2202 | end | |
2203 | Part.Parent=nil | |
2204 | end),prt,msh) | |
2205 | end | |
2206 | ||
2207 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2208 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2209 | prt.Anchored=true | |
2210 | prt.CFrame=cframe | |
2211 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2212 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2213 | game:GetService("Debris"):AddItem(prt,5) | |
2214 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2215 | for i=0,1,delay do | |
2216 | wait() | |
2217 | Part.Transparency=i | |
2218 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2219 | end | |
2220 | Part.Parent=nil | |
2221 | end),prt,msh) | |
2222 | end | |
2223 | ||
2224 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
2225 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2226 | prt.Anchored=true | |
2227 | prt.Material = "Neon" | |
2228 | prt.CFrame=cframe | |
2229 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2230 | game:GetService("Debris"):AddItem(prt,5) | |
2231 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2232 | local rtype = rottype | |
2233 | for i=0,1,delay do | |
2234 | swait() | |
2235 | if rtype == 1 then | |
2236 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2237 | elseif rtype == 2 then | |
2238 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2239 | end | |
2240 | Part.Transparency=i | |
2241 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2242 | end | |
2243 | Part.Parent=nil | |
2244 | end),prt,msh) | |
2245 | end | |
2246 | ||
2247 | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
2248 | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2249 | prt.Anchored=true | |
2250 | prt.Material = "Neon" | |
2251 | prt.CFrame=cframe | |
2252 | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
2253 | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
2254 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) | |
2255 | game:GetService("Debris"):AddItem(prt,5) | |
2256 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2257 | local rtype = rottype | |
2258 | for i=0,1,delay do | |
2259 | swait() | |
2260 | if rtype == 1 then | |
2261 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2262 | elseif rtype == 2 then | |
2263 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2264 | end | |
2265 | dec.Transparency=i | |
2266 | dec2.Transparency=i | |
2267 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
2268 | end | |
2269 | Part.Parent=nil | |
2270 | end),prt,msh) | |
2271 | end | |
2272 | ||
2273 | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
2274 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2275 | prt.Anchored=true | |
2276 | prt.Material = "Neon" | |
2277 | prt.CFrame=cframe | |
2278 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) | |
2279 | game:GetService("Debris"):AddItem(prt,5) | |
2280 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2281 | local rtype = rottype | |
2282 | for i=0,1,delay do | |
2283 | swait() | |
2284 | if rtype == 1 then | |
2285 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2286 | elseif rtype == 2 then | |
2287 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2288 | end | |
2289 | prt.Transparency=i | |
2290 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
2291 | end | |
2292 | Part.Parent=nil | |
2293 | end),prt,msh) | |
2294 | end | |
2295 | ||
2296 | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) | |
2297 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2298 | prt.Anchored=true | |
2299 | prt.Material = "Neon" | |
2300 | prt.CFrame=cframe | |
2301 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1)) | |
2302 | game:GetService("Debris"):AddItem(prt,5) | |
2303 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2304 | local rtype = rottype | |
2305 | for i=0,1,delay do | |
2306 | swait() | |
2307 | if rtype == 1 then | |
2308 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) | |
2309 | elseif rtype == 2 then | |
2310 | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) | |
2311 | end | |
2312 | prt.Transparency=i | |
2313 | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) | |
2314 | end | |
2315 | Part.Parent=nil | |
2316 | end),prt,msh) | |
2317 | end | |
2318 | ||
2319 | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype) | |
2320 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2321 | prt.Anchored=true | |
2322 | prt.Material = "Neon" | |
2323 | prt.CFrame=cframe | |
2324 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2325 | game:GetService("Debris"):AddItem(prt,5) | |
2326 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2327 | local rtype = rottype | |
2328 | for i=0,1,delay do | |
2329 | swait() | |
2330 | if rtype == 1 then | |
2331 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2332 | elseif rtype == 2 then | |
2333 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2334 | end | |
2335 | prt.Transparency=i | |
2336 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
2337 | end | |
2338 | Part.Parent=nil | |
2339 | end),prt,msh) | |
2340 | end | |
2341 | ||
2342 | function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
2343 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2344 | prt.Anchored=true | |
2345 | prt.Material = "Neon" | |
2346 | prt.CFrame=cframe | |
2347 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2348 | game:GetService("Debris"):AddItem(prt,5) | |
2349 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2350 | local rtype = rottype | |
2351 | for i=0,1,delay do | |
2352 | swait() | |
2353 | if rtype == 1 then | |
2354 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2355 | elseif rtype == 2 then | |
2356 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2357 | end | |
2358 | prt.Transparency=i | |
2359 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2360 | end | |
2361 | Part.Parent=nil | |
2362 | end),prt,msh) | |
2363 | end | |
2364 | ||
2365 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
2366 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2367 | prt.Anchored=false | |
2368 | prt.CFrame=cframe | |
2369 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2370 | local wld=weld(prt,prt,Parent,cframe) | |
2371 | game:GetService("Debris"):AddItem(prt,5) | |
2372 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
2373 | for i=0,1,delay do | |
2374 | wait() | |
2375 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
2376 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2377 | Part.Transparency=i | |
2378 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2379 | end | |
2380 | Part.Parent=nil | |
2381 | end),prt,msh,wld) | |
2382 | end | |
2383 | ||
2384 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
2385 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2386 | prt.Anchored=false | |
2387 | prt.CFrame=cframe | |
2388 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2389 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
2390 | game:GetService("Debris"):AddItem(prt,5) | |
2391 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
2392 | for i=0,1,delay do | |
2393 | wait() | |
2394 | Weld.C0=euler(i*20,0,0) | |
2395 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2396 | Part.Transparency=i | |
2397 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2398 | end | |
2399 | Part.Parent=nil | |
2400 | end),prt,msh,wld) | |
2401 | end | |
2402 | ||
2403 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2404 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2405 | prt.Anchored=true | |
2406 | prt.CFrame=cframe | |
2407 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2408 | game:GetService("Debris"):AddItem(prt,2) | |
2409 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2410 | for i=0,1,delay do | |
2411 | wait() | |
2412 | Part.CFrame=Part.CFrame | |
2413 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2414 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2415 | prt2.Anchored=true | |
2416 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2417 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) | |
2418 | game:GetService("Debris"):AddItem(prt2,2) | |
2419 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2420 | for i=0,1,0.1 do | |
2421 | wait() | |
2422 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
2423 | end | |
2424 | Part.Parent=nil | |
2425 | end),prt2,msh2) | |
2426 | end | |
2427 | for i=0,1,delay*2 do | |
2428 | wait() | |
2429 | Part.CFrame=Part.CFrame | |
2430 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
2431 | end | |
2432 | Part.Parent=nil | |
2433 | end),prt,msh) | |
2434 | end | |
2435 | ||
2436 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2437 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2438 | prt.Anchored=true | |
2439 | prt.CFrame=cframe | |
2440 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2441 | game:GetService("Debris"):AddItem(prt,2) | |
2442 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2443 | for i=0,1,delay do | |
2444 | wait() | |
2445 | Part.CFrame=Part.CFrame | |
2446 | Part.Transparency=i | |
2447 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2448 | end | |
2449 | Part.Parent=nil | |
2450 | end),prt,msh) | |
2451 | end | |
2452 | ||
2453 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
2454 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2455 | prt.Anchored=true | |
2456 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2457 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2458 | game:GetService("Debris"):AddItem(prt,2) | |
2459 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
2460 | CF=Part.CFrame | |
2461 | Numbb=0 | |
2462 | randnumb=math.random()/10 | |
2463 | rand1=math.random()/10 | |
2464 | for i=0,1,rand1 do | |
2465 | wait() | |
2466 | CF=CF*cf(0,math.random()/2,0) | |
2467 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
2468 | Part.CFrame=CF*euler(Numbb,0,0) | |
2469 | Part.Transparency=i | |
2470 | Numbb=Numbb+randnumb | |
2471 | end | |
2472 | Part.Parent=nil | |
2473 | end),prt,CF,Numbb,randnumb) | |
2474 | end | |
2475 | ||
2476 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2477 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2478 | prt.Anchored=true | |
2479 | prt.CFrame=cframe | |
2480 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
2481 | game:GetService("Debris"):AddItem(prt,5) | |
2482 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2483 | for i=0,1,delay do | |
2484 | wait() | |
2485 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
2486 | Part.Transparency=i | |
2487 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2488 | end | |
2489 | Part.Parent=nil | |
2490 | end),prt,msh) | |
2491 | end | |
2492 | ||
2493 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2494 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2495 | prt.Anchored=true | |
2496 | prt.CFrame=cframe | |
2497 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) | |
2498 | game:GetService("Debris"):AddItem(prt,2) | |
2499 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2500 | for i=0,1,delay do | |
2501 | wait() | |
2502 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
2503 | Part.Transparency=i | |
2504 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2505 | end | |
2506 | Part.Parent=nil | |
2507 | end),prt,msh) | |
2508 | end | |
2509 | ||
2510 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
2511 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2512 | prt.Anchored=true | |
2513 | prt.CFrame=cframe*cf(x,y,z) | |
2514 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) | |
2515 | game:GetService("Debris"):AddItem(prt,5) | |
2516 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
2517 | local num=math.random() | |
2518 | local num2=math.random(-3,2)+math.random() | |
2519 | local numm=0 | |
2520 | for i=0,1,delay*2 do | |
2521 | swait() | |
2522 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
2523 | Part.Transparency=i | |
2524 | numm=numm+0.01 | |
2525 | end | |
2526 | Part.Parent=nil | |
2527 | Mesh.Parent=nil | |
2528 | end),prt,msh,x,y,z) | |
2529 | end | |
2530 | ||
2531 | function dmgstart(dmg,what) | |
2532 | hitcon = what.Touched:connect(function(hit) | |
2533 | local hum = hit.Parent:FindFirstChild("Humanoid") | |
2534 | if hum and not hum:IsDescendantOf(Character) then | |
2535 | hum:TakeDamage(dmg) | |
2536 | end | |
2537 | end) | |
2538 | end | |
2539 | ||
2540 | function dmgstop() | |
2541 | hitcon:disconnect() | |
2542 | end | |
2543 | ||
2544 | function Cloak() | |
2545 | Face.Parent=nil | |
2546 | cloaked=true | |
2547 | for _,v in pairs(Torso.Parent:children()) do | |
2548 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
2549 | coroutine.resume(coroutine.create(function() | |
2550 | for i=0,1,0.2 do | |
2551 | wait() | |
2552 | v.Transparency=i | |
2553 | end | |
2554 | v.Transparency=1 | |
2555 | end)) | |
2556 | end | |
2557 | if v.className=="Hat" then | |
2558 | hatp=v.Handle | |
2559 | coroutine.resume(coroutine.create(function(derp) | |
2560 | for i=0,1,0.2 do | |
2561 | wait() | |
2562 | derp.Transparency=i | |
2563 | end | |
2564 | derp.Transparency=1 | |
2565 | end),hatp) | |
2566 | end | |
2567 | end | |
2568 | for _,v in pairs(m:children()) do | |
2569 | if v.className=="Part" then | |
2570 | coroutine.resume(coroutine.create(function() | |
2571 | for i=0,1,0.2 do | |
2572 | wait() | |
2573 | v.Transparency=i | |
2574 | end | |
2575 | v.Transparency=1 | |
2576 | end)) | |
2577 | end | |
2578 | end | |
2579 | end | |
2580 | ||
2581 | function UnCloak() | |
2582 | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) | |
2583 | Face.Parent=Head | |
2584 | cloaked=false | |
2585 | for _,v in pairs(Torso.Parent:children()) do | |
2586 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
2587 | coroutine.resume(coroutine.create(function() | |
2588 | for i=0,1,0.1 do | |
2589 | wait() | |
2590 | v.Transparency=v.Transparency-0.1 | |
2591 | end | |
2592 | v.Transparency=0 | |
2593 | end)) | |
2594 | end | |
2595 | if v.className=="Hat" then | |
2596 | hatp=v.Handle | |
2597 | coroutine.resume(coroutine.create(function(derp) | |
2598 | for i=0,1,0.1 do | |
2599 | wait() | |
2600 | derp.Transparency=derp.Transparency-0.1 | |
2601 | end | |
2602 | derp.Transparency=0 | |
2603 | end),hatp) | |
2604 | end | |
2605 | end | |
2606 | for _,v in pairs(m:children()) do | |
2607 | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then | |
2608 | coroutine.resume(coroutine.create(function() | |
2609 | for i=0,1,0.1 do | |
2610 | wait() | |
2611 | v.Transparency=v.Transparency-0.1 | |
2612 | end | |
2613 | v.Transparency=0 | |
2614 | end)) | |
2615 | v.Transparency=0 | |
2616 | end | |
2617 | end | |
2618 | end | |
2619 | ||
2620 | local origcolor = BrickColor.new("Pastel light blue") | |
2621 | ---- This section of explosions. | |
2622 | ||
2623 | ---- | |
2624 | ||
2625 | ||
2626 | function ring(type,pos,scale,value) | |
2627 | local type = type | |
2628 | local rng = Instance.new("Part", char) | |
2629 | rng.Anchored = true | |
2630 | rng.BrickColor = origcolor | |
2631 | rng.CanCollide = false | |
2632 | rng.FormFactor = 3 | |
2633 | rng.Name = "Ring" | |
2634 | rng.Size = Vector3.new(1, 1, 1) | |
2635 | rng.Transparency = 0 | |
2636 | rng.TopSurface = 0 | |
2637 | rng.BottomSurface = 0 | |
2638 | rng.CFrame = pos | |
2639 | local rngm = Instance.new("SpecialMesh", rng) | |
2640 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2641 | rngm.Scale = scale | |
2642 | local scaler2 = 1 | |
2643 | if type == "Add" then | |
2644 | scaler2 = 1*value | |
2645 | elseif type == "Divide" then | |
2646 | scaler2 = 1/value | |
2647 | end | |
2648 | coroutine.resume(coroutine.create(function() | |
2649 | for i = 0,10,0.1 do | |
2650 | swait() | |
2651 | if type == "Add" then | |
2652 | scaler2 = scaler2 - 0.01*value | |
2653 | elseif type == "Divide" then | |
2654 | scaler2 = scaler2 - 0.01/value | |
2655 | end | |
2656 | rng.Transparency = rng.Transparency + 0.01 | |
2657 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2658 | end | |
2659 | rng:Destroy() | |
2660 | end)) | |
2661 | end | |
2662 | ||
2663 | ||
2664 | function wave(type,pos,scale,value) | |
2665 | local type = type | |
2666 | local rng = Instance.new("Part", char) | |
2667 | rng.Anchored = true | |
2668 | rng.BrickColor = origcolor | |
2669 | rng.CanCollide = false | |
2670 | rng.FormFactor = 3 | |
2671 | rng.Name = "Ring" | |
2672 | rng.Size = Vector3.new(1, 1, 1) | |
2673 | rng.Transparency = 0 | |
2674 | rng.TopSurface = 0 | |
2675 | rng.BottomSurface = 0 | |
2676 | rng.CFrame = pos | |
2677 | local rngm = Instance.new("SpecialMesh", rng) | |
2678 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2679 | rngm.Scale = scale | |
2680 | local scaler2 = 1 | |
2681 | if type == "Add" then | |
2682 | scaler2 = 1*value | |
2683 | elseif type == "Divide" then | |
2684 | scaler2 = 1/value | |
2685 | end | |
2686 | coroutine.resume(coroutine.create(function() | |
2687 | for i = 0,10,0.1 do | |
2688 | swait() | |
2689 | if type == "Add" then | |
2690 | scaler2 = scaler2 - 0.01*value | |
2691 | elseif type == "Divide" then | |
2692 | scaler2 = scaler2 - 0.01/value | |
2693 | end | |
2694 | rng.Transparency = rng.Transparency + 0.01 | |
2695 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
2696 | end | |
2697 | rng:Destroy() | |
2698 | end)) | |
2699 | end | |
2700 | ||
2701 | function wind(type,pos,scale,value,speed) | |
2702 | local type = type | |
2703 | local rng = Instance.new("Part", char) | |
2704 | rng.Anchored = true | |
2705 | rng.BrickColor = origcolor | |
2706 | rng.CanCollide = false | |
2707 | rng.FormFactor = 3 | |
2708 | rng.Name = "Ring" | |
2709 | rng.Size = Vector3.new(1, 1, 1) | |
2710 | rng.Transparency = 0 | |
2711 | rng.TopSurface = 0 | |
2712 | rng.BottomSurface = 0 | |
2713 | rng.CFrame = pos | |
2714 | local rngm = Instance.new("SpecialMesh", rng) | |
2715 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
2716 | rngm.Scale = scale | |
2717 | local scaler2 = 1 | |
2718 | if type == "Add" then | |
2719 | scaler2 = 1*value | |
2720 | elseif type == "Divide" then | |
2721 | scaler2 = 1/value | |
2722 | end | |
2723 | coroutine.resume(coroutine.create(function() | |
2724 | for i = 0,10,0.1 do | |
2725 | swait() | |
2726 | if type == "Add" then | |
2727 | scaler2 = scaler2 - 0.01*value | |
2728 | elseif type == "Divide" then | |
2729 | scaler2 = scaler2 - 0.01/value | |
2730 | end | |
2731 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
2732 | rng.Transparency = rng.Transparency + 0.01 | |
2733 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
2734 | end | |
2735 | rng:Destroy() | |
2736 | end)) | |
2737 | end | |
2738 | ||
2739 | function groundwind(type,pos,scale,value,speed) | |
2740 | local type = type | |
2741 | local rng = Instance.new("Part", char) | |
2742 | rng.Anchored = true | |
2743 | rng.BrickColor = origcolor | |
2744 | rng.CanCollide = false | |
2745 | rng.FormFactor = 3 | |
2746 | rng.Name = "Ring" | |
2747 | rng.Size = Vector3.new(1, 1, 1) | |
2748 | rng.Transparency = 0 | |
2749 | rng.TopSurface = 0 | |
2750 | rng.BottomSurface = 0 | |
2751 | rng.CFrame = pos | |
2752 | local rngm = Instance.new("SpecialMesh", rng) | |
2753 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
2754 | rngm.Scale = scale | |
2755 | local scaler2 = 1 | |
2756 | if type == "Add" then | |
2757 | scaler2 = 1*value | |
2758 | elseif type == "Divide" then | |
2759 | scaler2 = 1/value | |
2760 | end | |
2761 | coroutine.resume(coroutine.create(function() | |
2762 | for i = 0,10,0.1 do | |
2763 | swait() | |
2764 | if type == "Add" then | |
2765 | scaler2 = scaler2 - 0.01*value | |
2766 | elseif type == "Divide" then | |
2767 | scaler2 = scaler2 - 0.01/value | |
2768 | end | |
2769 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
2770 | rng.Transparency = rng.Transparency + 0.01 | |
2771 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2) | |
2772 | end | |
2773 | rng:Destroy() | |
2774 | end)) | |
2775 | end | |
2776 | ||
2777 | function CameraManager() | |
2778 | if TwoD and not CamInterrupt then | |
2779 | if Humanoid.Health > 0 then | |
2780 | Camera.CameraSubject = Humanoid | |
2781 | Camera.CameraType = "Scriptable" | |
2782 | Humanoid.AutoRotate = false | |
2783 | if Booleans.GyroUse then | |
2784 | Directer.MaxTorque = Vec3(0, huge, 0) | |
2785 | else | |
2786 | Directer.MaxTorque = Vec3(0, 0, 0) | |
2787 | end | |
2788 | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then | |
2789 | if Booleans.CamFollow then | |
2790 | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) | |
2791 | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) | |
2792 | else | |
2793 | CPart.Position = RootPart.Position | |
2794 | end | |
2795 | else | |
2796 | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p | |
2797 | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) | |
2798 | end | |
2799 | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) | |
2800 | else | |
2801 | Camera.CameraSubject = Humanoid | |
2802 | Camera.CameraType = "Custom" | |
2803 | Controller.Disabled = false | |
2804 | end | |
2805 | end | |
2806 | end | |
2807 | ||
2808 | function ring(type,pos,scale,value) | |
2809 | local type = type | |
2810 | local rng = Instance.new("Part", char) | |
2811 | rng.Anchored = true | |
2812 | rng.BrickColor = origcolor | |
2813 | rng.CanCollide = false | |
2814 | rng.FormFactor = 3 | |
2815 | rng.Name = "Ring" | |
2816 | rng.Size = Vector3.new(1, 1, 1) | |
2817 | rng.Transparency = 0 | |
2818 | rng.TopSurface = 0 | |
2819 | rng.BottomSurface = 0 | |
2820 | rng.CFrame = pos | |
2821 | local rngm = Instance.new("SpecialMesh", rng) | |
2822 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2823 | rngm.Scale = scale | |
2824 | local scaler2 = 1 | |
2825 | if type == "Add" then | |
2826 | scaler2 = 1*value | |
2827 | elseif type == "Divide" then | |
2828 | scaler2 = 1/value | |
2829 | end | |
2830 | coroutine.resume(coroutine.create(function() | |
2831 | for i = 0,10,0.1 do | |
2832 | swait() | |
2833 | if type == "Add" then | |
2834 | scaler2 = scaler2 - 0.01*value | |
2835 | elseif type == "Divide" then | |
2836 | scaler2 = scaler2 - 0.01/value | |
2837 | end | |
2838 | rng.Transparency = rng.Transparency + 0.01 | |
2839 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2840 | end | |
2841 | rng:Destroy() | |
2842 | end)) | |
2843 | end | |
2844 | ||
2845 | ||
2846 | function wave(type,pos,scale,value) | |
2847 | local type = type | |
2848 | local rng = Instance.new("Part", char) | |
2849 | rng.Anchored = true | |
2850 | rng.BrickColor = origcolor | |
2851 | rng.CanCollide = false | |
2852 | rng.FormFactor = 3 | |
2853 | rng.Name = "Ring" | |
2854 | rng.Size = Vector3.new(1, 1, 1) | |
2855 | rng.Transparency = 0 | |
2856 | rng.TopSurface = 0 | |
2857 | rng.BottomSurface = 0 | |
2858 | rng.CFrame = pos | |
2859 | local rngm = Instance.new("SpecialMesh", rng) | |
2860 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2861 | rngm.Scale = scale | |
2862 | local scaler2 = 1 | |
2863 | if type == "Add" then | |
2864 | scaler2 = 1*value | |
2865 | elseif type == "Divide" then | |
2866 | scaler2 = 1/value | |
2867 | end | |
2868 | coroutine.resume(coroutine.create(function() | |
2869 | for i = 0,10,0.1 do | |
2870 | swait() | |
2871 | if type == "Add" then | |
2872 | scaler2 = scaler2 - 0.01*value | |
2873 | elseif type == "Divide" then | |
2874 | scaler2 = scaler2 - 0.01/value | |
2875 | end | |
2876 | rng.Transparency = rng.Transparency + 0.01 | |
2877 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
2878 | end | |
2879 | rng:Destroy() | |
2880 | end)) | |
2881 | end | |
2882 | ||
2883 | function sphere(bonuspeed,type,pos,scale,value,color) | |
2884 | local type = type | |
2885 | local rng = Instance.new("Part", char) | |
2886 | rng.Anchored = true | |
2887 | if ModeOfGlitch ~= 9 then | |
2888 | rng.BrickColor = color | |
2889 | elseif ModeOfGlitch == 9 then | |
2890 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
2891 | end | |
2892 | rng.CanCollide = false | |
2893 | rng.FormFactor = 3 | |
2894 | rng.Name = "Ring" | |
2895 | rng.Material = "Neon" | |
2896 | rng.Size = Vector3.new(1, 1, 1) | |
2897 | rng.Transparency = 0 | |
2898 | rng.TopSurface = 0 | |
2899 | rng.BottomSurface = 0 | |
2900 | rng.CFrame = pos | |
2901 | local rngm = Instance.new("SpecialMesh", rng) | |
2902 | rngm.MeshType = "Sphere" | |
2903 | rngm.Scale = scale | |
2904 | if rainbowmode == true then | |
2905 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2906 | end | |
2907 | if ModeOfGlitch == 9 then | |
2908 | coroutine.resume(coroutine.create(function() | |
2909 | while true do | |
2910 | swait() | |
2911 | if rng.Parent ~= nil then | |
2912 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
2913 | else | |
2914 | break | |
2915 | end | |
2916 | end | |
2917 | end)) | |
2918 | end | |
2919 | local scaler2 = 1 | |
2920 | if type == "Add" then | |
2921 | scaler2 = 1*value | |
2922 | elseif type == "Divide" then | |
2923 | scaler2 = 1/value | |
2924 | end | |
2925 | coroutine.resume(coroutine.create(function() | |
2926 | for i = 0,10/bonuspeed,0.1 do | |
2927 | swait() | |
2928 | if rainbowmode == true then | |
2929 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2930 | end | |
2931 | if type == "Add" then | |
2932 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2933 | elseif type == "Divide" then | |
2934 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2935 | end | |
2936 | if chaosmode == true then | |
2937 | rng.BrickColor = BrickColor.random() | |
2938 | end | |
2939 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2940 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
2941 | end | |
2942 | rng:Destroy() | |
2943 | end)) | |
2944 | end | |
2945 | ||
2946 | function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color) | |
2947 | local type = type | |
2948 | local rng = Instance.new("Part", char) | |
2949 | rng.Anchored = true | |
2950 | if ModeOfGlitch ~= 9 then | |
2951 | rng.BrickColor = color | |
2952 | elseif ModeOfGlitch == 9 then | |
2953 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
2954 | end | |
2955 | rng.CanCollide = false | |
2956 | rng.FormFactor = 3 | |
2957 | rng.Name = "Ring" | |
2958 | rng.Material = "Neon" | |
2959 | rng.Size = Vector3.new(1, 1, 1) | |
2960 | rng.Transparency = 0 | |
2961 | rng.TopSurface = 0 | |
2962 | rng.BottomSurface = 0 | |
2963 | rng.CFrame = pos | |
2964 | local rngm = Instance.new("SpecialMesh", rng) | |
2965 | rngm.MeshType = "Sphere" | |
2966 | rngm.Scale = scale | |
2967 | local scaler2 = 1 | |
2968 | local scaler2b = 1 | |
2969 | local scaler2c = 1 | |
2970 | if type == "Add" then | |
2971 | scaler2 = 1*value | |
2972 | scaler2b = 1*value2 | |
2973 | scaler2c = 1*value3 | |
2974 | elseif type == "Divide" then | |
2975 | scaler2 = 1/value | |
2976 | scaler2b = 1/value2 | |
2977 | scaler2c = 1/value3 | |
2978 | end | |
2979 | if ModeOfGlitch == 9 then | |
2980 | coroutine.resume(coroutine.create(function() | |
2981 | while true do | |
2982 | swait() | |
2983 | if rng.Parent ~= nil then | |
2984 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
2985 | else | |
2986 | break | |
2987 | end | |
2988 | end | |
2989 | end)) | |
2990 | end | |
2991 | coroutine.resume(coroutine.create(function() | |
2992 | for i = 0,10/bonuspeed,0.1 do | |
2993 | swait() | |
2994 | if type == "Add" then | |
2995 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2996 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
2997 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
2998 | elseif type == "Divide" then | |
2999 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3000 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
3001 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
3002 | end | |
3003 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3004 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
3005 | end | |
3006 | rng:Destroy() | |
3007 | end)) | |
3008 | end | |
3009 | ||
3010 | function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color) | |
3011 | local type = type | |
3012 | local rotenable = rotatingop | |
3013 | local rng = Instance.new("Part", char) | |
3014 | rng.Anchored = true | |
3015 | rng.BrickColor = color | |
3016 | rng.CanCollide = false | |
3017 | rng.FormFactor = 3 | |
3018 | rng.Name = "Ring" | |
3019 | rng.Material = "Neon" | |
3020 | rng.Size = Vector3.new(1, 1, 1) | |
3021 | rng.Transparency = 0 | |
3022 | if typeoftrans == "In" then | |
3023 | rng.Transparency = 1 | |
3024 | end | |
3025 | rng.TopSurface = 0 | |
3026 | rng.BottomSurface = 0 | |
3027 | rng.CFrame = pos | |
3028 | local rngm = Instance.new("SpecialMesh", rng) | |
3029 | rngm.MeshType = "FileMesh" | |
3030 | if typeofshape == "Normal" then | |
3031 | rngm.MeshId = "rbxassetid://662586858" | |
3032 | elseif typeofshape == "Round" then | |
3033 | rngm.MeshId = "rbxassetid://662585058" | |
3034 | end | |
3035 | rngm.Scale = scale | |
3036 | local scaler2 = 1/10 | |
3037 | if type == "Add" then | |
3038 | scaler2 = 1*value/10 | |
3039 | elseif type == "Divide" then | |
3040 | scaler2 = 1/value/10 | |
3041 | end | |
3042 | local randomrot = math.random(1,2) | |
3043 | coroutine.resume(coroutine.create(function() | |
3044 | for i = 0,10/bonuspeed,0.1 do | |
3045 | swait() | |
3046 | if type == "Add" then | |
3047 | scaler2 = scaler2 - 0.01*value/bonuspeed/10 | |
3048 | elseif type == "Divide" then | |
3049 | scaler2 = scaler2 - 0.01/value*bonuspeed/10 | |
3050 | end | |
3051 | if rotenable == true then | |
3052 | if randomrot == 1 then | |
3053 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0) | |
3054 | elseif randomrot == 2 then | |
3055 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0) | |
3056 | end | |
3057 | end | |
3058 | if typeoftrans == "Out" then | |
3059 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3060 | elseif typeoftrans == "In" then | |
3061 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
3062 | end | |
3063 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10) | |
3064 | end | |
3065 | rng:Destroy() | |
3066 | end)) | |
3067 | end | |
3068 | ||
3069 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
3070 | local type = type | |
3071 | local rng = Instance.new("Part", char) | |
3072 | rng.Anchored = true | |
3073 | rng.BrickColor = color | |
3074 | rng.CanCollide = false | |
3075 | rng.FormFactor = 3 | |
3076 | rng.Name = "Ring" | |
3077 | rng.Material = "Neon" | |
3078 | rng.Size = Vector3.new(1, 1, 1) | |
3079 | rng.Transparency = 0 | |
3080 | rng.TopSurface = 0 | |
3081 | rng.BottomSurface = 0 | |
3082 | rng.CFrame = pos | |
3083 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
3084 | local rngm = Instance.new("SpecialMesh", rng) | |
3085 | rngm.MeshType = "Brick" | |
3086 | rngm.Scale = vt(x1,y1,z1) | |
3087 | if rainbowmode == true then | |
3088 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3089 | end | |
3090 | local scaler2 = 1 | |
3091 | local speeder = FastSpeed/10 | |
3092 | if type == "Add" then | |
3093 | scaler2 = 1*value | |
3094 | elseif type == "Divide" then | |
3095 | scaler2 = 1/value | |
3096 | end | |
3097 | coroutine.resume(coroutine.create(function() | |
3098 | for i = 0,10/bonuspeed,0.1 do | |
3099 | swait() | |
3100 | if rainbowmode == true then | |
3101 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3102 | end | |
3103 | if type == "Add" then | |
3104 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3105 | elseif type == "Divide" then | |
3106 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3107 | end | |
3108 | if chaosmode == true then | |
3109 | rng.BrickColor = BrickColor.random() | |
3110 | end | |
3111 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
3112 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3113 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3114 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
3115 | end | |
3116 | rng:Destroy() | |
3117 | end)) | |
3118 | end | |
3119 | ||
3120 | function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
3121 | local type = type | |
3122 | local rng = Instance.new("Part", char) | |
3123 | rng.Anchored = true | |
3124 | rng.BrickColor = color | |
3125 | rng.CanCollide = false | |
3126 | rng.FormFactor = 3 | |
3127 | rng.Name = "Ring" | |
3128 | rng.Material = "Neon" | |
3129 | rng.Size = Vector3.new(1, 1, 1) | |
3130 | rng.Transparency = 0 | |
3131 | rng.TopSurface = 0 | |
3132 | rng.BottomSurface = 0 | |
3133 | rng.CFrame = pos | |
3134 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
3135 | local rngm = Instance.new("SpecialMesh", rng) | |
3136 | rngm.MeshType = "Brick" | |
3137 | rngm.Scale = vt(x1,y1,z1) | |
3138 | if rainbowmode == true then | |
3139 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3140 | end | |
3141 | local scaler2 = 1 | |
3142 | local speeder = FastSpeed/10 | |
3143 | if type == "Add" then | |
3144 | scaler2 = 1*value | |
3145 | elseif type == "Divide" then | |
3146 | scaler2 = 1/value | |
3147 | end | |
3148 | coroutine.resume(coroutine.create(function() | |
3149 | for i = 0,10/bonuspeed,0.1 do | |
3150 | swait() | |
3151 | if rainbowmode == true then | |
3152 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3153 | end | |
3154 | if type == "Add" then | |
3155 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3156 | elseif type == "Divide" then | |
3157 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3158 | end | |
3159 | if chaosmode == true then | |
3160 | rng.BrickColor = BrickColor.random() | |
3161 | end | |
3162 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
3163 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3164 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3165 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
3166 | end | |
3167 | rng:Destroy() | |
3168 | end)) | |
3169 | end | |
3170 | ||
3171 | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
3172 | local type = type | |
3173 | local rng = Instance.new("Part", char) | |
3174 | rng.Anchored = true | |
3175 | rng.BrickColor = color | |
3176 | rng.CanCollide = false | |
3177 | rng.FormFactor = 3 | |
3178 | rng.Name = "Ring" | |
3179 | rng.Material = "Neon" | |
3180 | rng.Size = Vector3.new(1, 1, 1) | |
3181 | rng.Transparency = 0 | |
3182 | rng.TopSurface = 0 | |
3183 | rng.BottomSurface = 0 | |
3184 | rng.CFrame = pos | |
3185 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
3186 | local rngm = Instance.new("SpecialMesh", rng) | |
3187 | rngm.MeshType = "Brick" | |
3188 | rngm.Scale = vt(x1,y1,z1) | |
3189 | if rainbowmode == true then | |
3190 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3191 | end | |
3192 | local scaler2 = 0 | |
3193 | local speeder = FastSpeed/10 | |
3194 | if type == "Add" then | |
3195 | scaler2 = 1*value | |
3196 | elseif type == "Divide" then | |
3197 | scaler2 = 1/value | |
3198 | end | |
3199 | coroutine.resume(coroutine.create(function() | |
3200 | for i = 0,10/bonuspeed,0.1 do | |
3201 | swait() | |
3202 | if rainbowmode == true then | |
3203 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3204 | end | |
3205 | if type == "Add" then | |
3206 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3207 | elseif type == "Divide" then | |
3208 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3209 | end | |
3210 | if chaosmode == true then | |
3211 | rng.BrickColor = BrickColor.random() | |
3212 | end | |
3213 | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 | |
3214 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3215 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3216 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
3217 | end | |
3218 | rng:Destroy() | |
3219 | end)) | |
3220 | end | |
3221 | ||
3222 | function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3) | |
3223 | local type = type | |
3224 | local rng = Instance.new("Part", char) | |
3225 | rng.Anchored = true | |
3226 | rng.BrickColor = color | |
3227 | rng.Color = color3 | |
3228 | rng.CanCollide = false | |
3229 | rng.FormFactor = 3 | |
3230 | rng.Name = "Ring" | |
3231 | rng.Material = "Neon" | |
3232 | rng.Size = Vector3.new(1, 1, 1) | |
3233 | rng.Transparency = 0 | |
3234 | rng.TopSurface = 0 | |
3235 | rng.BottomSurface = 0 | |
3236 | rng.CFrame = pos | |
3237 | local rngm = Instance.new("SpecialMesh", rng) | |
3238 | rngm.MeshType = "Brick" | |
3239 | rngm.Scale = scale | |
3240 | local scaler2 = 1 | |
3241 | local scaler2b = 1 | |
3242 | local scaler2c = 1 | |
3243 | if type == "Add" then | |
3244 | scaler2 = 1*value | |
3245 | scaler2b = 1*value2 | |
3246 | scaler2c = 1*value3 | |
3247 | elseif type == "Divide" then | |
3248 | scaler2 = 1/value | |
3249 | scaler2b = 1/value2 | |
3250 | scaler2c = 1/value3 | |
3251 | end | |
3252 | coroutine.resume(coroutine.create(function() | |
3253 | for i = 0,10/bonuspeed,0.1 do | |
3254 | swait() | |
3255 | if type == "Add" then | |
3256 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3257 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
3258 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
3259 | elseif type == "Divide" then | |
3260 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3261 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
3262 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
3263 | end | |
3264 | rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
3265 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3266 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
3267 | end | |
3268 | rng:Destroy() | |
3269 | end)) | |
3270 | end | |
3271 | ||
3272 | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
3273 | local type = type | |
3274 | local rng = Instance.new("Part", char) | |
3275 | rng.Anchored = true | |
3276 | if ModeOfGlitch ~= 9 then | |
3277 | rng.BrickColor = color | |
3278 | elseif ModeOfGlitch == 9 then | |
3279 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
3280 | end | |
3281 | rng.CanCollide = false | |
3282 | rng.FormFactor = 3 | |
3283 | rng.Name = "Ring" | |
3284 | rng.Material = "Neon" | |
3285 | rng.Size = Vector3.new(1, 1, 1) | |
3286 | rng.Transparency = 0 | |
3287 | rng.TopSurface = 0 | |
3288 | rng.BottomSurface = 0 | |
3289 | rng.CFrame = pos | |
3290 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
3291 | local rngm = Instance.new("SpecialMesh", rng) | |
3292 | rngm.MeshType = "Sphere" | |
3293 | rngm.Scale = vt(x1,y1,z1) | |
3294 | if rainbowmode == true then | |
3295 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3296 | end | |
3297 | if ModeOfGlitch == 9 then | |
3298 | coroutine.resume(coroutine.create(function() | |
3299 | while true do | |
3300 | swait() | |
3301 | if rng.Parent ~= nil then | |
3302 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
3303 | else | |
3304 | break | |
3305 | end | |
3306 | end | |
3307 | end)) | |
3308 | end | |
3309 | local scaler2 = 1 | |
3310 | local speeder = FastSpeed | |
3311 | if type == "Add" then | |
3312 | scaler2 = 1*value | |
3313 | elseif type == "Divide" then | |
3314 | scaler2 = 1/value | |
3315 | end | |
3316 | coroutine.resume(coroutine.create(function() | |
3317 | for i = 0,10/bonuspeed,0.1 do | |
3318 | swait() | |
3319 | if rainbowmode == true then | |
3320 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3321 | end | |
3322 | if type == "Add" then | |
3323 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3324 | elseif type == "Divide" then | |
3325 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3326 | end | |
3327 | if chaosmode == true then | |
3328 | rng.BrickColor = BrickColor.random() | |
3329 | end | |
3330 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
3331 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3332 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3333 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
3334 | end | |
3335 | rng:Destroy() | |
3336 | end)) | |
3337 | end | |
3338 | ||
3339 | ||
3340 | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
3341 | local type = type | |
3342 | local rng = Instance.new("Part", char) | |
3343 | rng.Anchored = true | |
3344 | if ModeOfGlitch ~= 9 then | |
3345 | rng.BrickColor = color | |
3346 | elseif ModeOfGlitch == 9 then | |
3347 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
3348 | end | |
3349 | rng.CanCollide = false | |
3350 | rng.FormFactor = 3 | |
3351 | rng.Name = "Ring" | |
3352 | rng.Material = "Neon" | |
3353 | rng.Size = Vector3.new(1, 1, 1) | |
3354 | rng.Transparency = 1 | |
3355 | rng.TopSurface = 0 | |
3356 | rng.BottomSurface = 0 | |
3357 | rng.CFrame = pos | |
3358 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
3359 | local rngm = Instance.new("SpecialMesh", rng) | |
3360 | rngm.MeshType = "Sphere" | |
3361 | rngm.Scale = vt(x1,y1,z1) | |
3362 | if rainbowmode == true then | |
3363 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3364 | end | |
3365 | if ModeOfGlitch == 9 then | |
3366 | coroutine.resume(coroutine.create(function() | |
3367 | while true do | |
3368 | swait() | |
3369 | if rng.Parent ~= nil then | |
3370 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
3371 | else | |
3372 | break | |
3373 | end | |
3374 | end | |
3375 | end)) | |
3376 | end | |
3377 | local scaler2 = 1 | |
3378 | local speeder = FastSpeed | |
3379 | if type == "Add" then | |
3380 | scaler2 = 1*value | |
3381 | elseif type == "Divide" then | |
3382 | scaler2 = 1/value | |
3383 | end | |
3384 | coroutine.resume(coroutine.create(function() | |
3385 | for i = 0,10/bonuspeed,0.1 do | |
3386 | swait() | |
3387 | if rainbowmode == true then | |
3388 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3389 | end | |
3390 | if type == "Add" then | |
3391 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3392 | elseif type == "Divide" then | |
3393 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3394 | end | |
3395 | if chaosmode == true then | |
3396 | rng.BrickColor = BrickColor.random() | |
3397 | end | |
3398 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
3399 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3400 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
3401 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
3402 | end | |
3403 | rng:Destroy() | |
3404 | end)) | |
3405 | end | |
3406 | ||
3407 | function dmg(dude) | |
3408 | if dude.Name ~= Character then | |
3409 | local keptcolor = MAINRUINCOLOR | |
3410 | local bgf = Instance.new("BodyGyro",dude.Head) | |
3411 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
3412 | --[[local val = Instance.new("BoolValue",dude) | |
3413 | val.Name = "IsHit"]]-- | |
3414 | local ds = coroutine.wrap(function() | |
3415 | dude:WaitForChild("Head"):BreakJoints() | |
3416 | for i, v in pairs(dude:GetChildren()) do | |
3417 | if v:IsA("Part") or v:IsA("MeshPart") then | |
3418 | v.Name = "DEMINISHED" | |
3419 | end | |
3420 | end | |
3421 | wait(0.5) | |
3422 | targetted = nil | |
3423 | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285) | |
3424 | coroutine.resume(coroutine.create(function() | |
3425 | for i, v in pairs(dude:GetChildren()) do | |
3426 | if v:IsA("Accessory") then | |
3427 | v:Destroy() | |
3428 | end | |
3429 | if v:IsA("Humanoid") then | |
3430 | v:Destroy() | |
3431 | end | |
3432 | if v:IsA("CharacterMesh") then | |
3433 | v:Destroy() | |
3434 | end | |
3435 | if v:IsA("Model") then | |
3436 | v:Destroy() | |
3437 | end | |
3438 | if v:IsA("Part") or v:IsA("MeshPart") then | |
3439 | for x, o in pairs(v:GetChildren()) do | |
3440 | if o:IsA("Decal") then | |
3441 | o:Destroy() | |
3442 | end | |
3443 | end | |
3444 | coroutine.resume(coroutine.create(function() | |
3445 | v.Material = "Neon" | |
3446 | v.CanCollide = false | |
3447 | v.Anchored = false | |
3448 | local bld = Instance.new("ParticleEmitter",v) | |
3449 | bld.LightEmission = 0.75 | |
3450 | bld.Texture = "rbxassetid://363275192" ---284205403 | |
3451 | bld.Color = ColorSequence.new(keptcolor.Color) | |
3452 | bld.Rate = 500 | |
3453 | bld.Lifetime = NumberRange.new(1) | |
3454 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3455 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3456 | bld.Speed = NumberRange.new(2,5) | |
3457 | bld.VelocitySpread = 50000 | |
3458 | bld.Rotation = NumberRange.new(-500,500) | |
3459 | bld.RotSpeed = NumberRange.new(-500,500) | |
3460 | local sbs = Instance.new("BodyPosition", v) | |
3461 | sbs.P = 3000 | |
3462 | sbs.D = 1000 | |
3463 | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
3464 | sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2)) | |
3465 | v.Color = keptcolor.Color | |
3466 | coroutine.resume(coroutine.create(function() | |
3467 | for i = 0, 49 do | |
3468 | swait(1) | |
3469 | v:BreakJoints() | |
3470 | v.Transparency = v.Transparency + 0.02 | |
3471 | end | |
3472 | v:BreakJoints() | |
3473 | sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor) | |
3474 | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75) | |
3475 | bld.Speed = NumberRange.new(10,25) | |
3476 | bld.Drag = 5 | |
3477 | bld.Acceleration = vt(0,2,0) | |
3478 | wait(0.5) | |
3479 | bld.Enabled = false | |
3480 | wait(8) | |
3481 | v:Destroy() | |
3482 | dude:Destroy() | |
3483 | end)) | |
3484 | end)) | |
3485 | end | |
3486 | end | |
3487 | end)) | |
3488 | end) | |
3489 | ds() | |
3490 | end | |
3491 | end | |
3492 | ||
3493 | ||
3494 | function FindNearestHead(Position, Distance, SinglePlayer) | |
3495 | if SinglePlayer then | |
3496 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
3497 | end | |
3498 | local List = {} | |
3499 | for i, v in pairs(workspace:GetChildren()) do | |
3500 | if v:IsA("Model") then | |
3501 | if v:findFirstChild("Head") then | |
3502 | if v ~= Character then | |
3503 | if (v.Head.Position - Position).magnitude <= Distance then | |
3504 | table.insert(List, v) | |
3505 | end | |
3506 | end | |
3507 | end | |
3508 | end | |
3509 | end | |
3510 | return List | |
3511 | end | |
3512 | ||
3513 | function FaceMouse() | |
3514 | Cam = workspace.CurrentCamera | |
3515 | return { | |
3516 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
3517 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
3518 | } | |
3519 | end | |
3520 | ||
3521 | function FaceMouse2() | |
3522 | Cam = workspace.CurrentCamera | |
3523 | return { | |
3524 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), | |
3525 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
3526 | } | |
3527 | end | |
3528 | ||
3529 | local ModeOfGlitch = 1 | |
3530 | -- Functions are ready. | |
3531 | local storehumanoidWS = 16 | |
3532 | ||
3533 | function CorruptBlink() | |
3534 | for i = 0, 14 do | |
3535 | 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) | |
3536 | end | |
3537 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3538 | CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1) | |
3539 | RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0) | |
3540 | CameraEnshaking(2,10) | |
3541 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do | |
3542 | if v:FindFirstChild('Head') then | |
3543 | dmg(v) | |
3544 | end | |
3545 | end | |
3546 | for i = 0, 14 do | |
3547 | 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) | |
3548 | end | |
3549 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3550 | end | |
3551 | function PureBomb() | |
3552 | attack = true | |
3553 | hum.WalkSpeed = 0 | |
3554 | local orb = Instance.new("Part", char) | |
3555 | orb.Anchored = true | |
3556 | orb.BrickColor = BrickColor.new("Toothpaste") | |
3557 | orb.CanCollide = false | |
3558 | orb.FormFactor = 3 | |
3559 | orb.Name = "Ring" | |
3560 | orb.Material = "Neon" | |
3561 | orb.Size = Vector3.new(1, 1, 1) | |
3562 | orb.Transparency = 0 | |
3563 | orb.TopSurface = 0 | |
3564 | orb.BottomSurface = 0 | |
3565 | local orbm = Instance.new("SpecialMesh", orb) | |
3566 | orbm.MeshType = "Sphere" | |
3567 | orbm.Name = "SizeMesh" | |
3568 | orbm.Scale = vt(0,0,0) | |
3569 | local scaled = 0.1 | |
3570 | local posid = 0 | |
3571 | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1) | |
3572 | for i = 0, 5, 0.1 do | |
3573 | swait() | |
3574 | scaled = scaled - 0.001 | |
3575 | posid = posid - scaled | |
3576 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
3577 | local scaled = 0.1 | |
3578 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
3579 | 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) | |
3580 | 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) | |
3581 | 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) | |
3582 | 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) | |
3583 | 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) | |
3584 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
3585 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
3586 | 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) | |
3587 | end | |
3588 | for i = 0, 2, 0.1 do | |
3589 | swait() | |
3590 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
3591 | 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) | |
3592 | 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) | |
3593 | 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) | |
3594 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
3595 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
3596 | 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) | |
3597 | end | |
3598 | coroutine.resume(coroutine.create(function() | |
3599 | orb.Anchored = false | |
3600 | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1) | |
3601 | local a = Instance.new("Part",workspace) | |
3602 | a.Name = "Direction" | |
3603 | a.Anchored = true | |
3604 | a.BrickColor = bc("Bright red") | |
3605 | a.Material = "Neon" | |
3606 | a.Transparency = 1 | |
3607 | a.CanCollide = false | |
3608 | local ray = Ray.new( | |
3609 | orb.CFrame.p, -- origin | |
3610 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
3611 | ) | |
3612 | local ignore = orb | |
3613 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
3614 | a.BottomSurface = 10 | |
3615 | a.TopSurface = 10 | |
3616 | local distance = (orb.CFrame.p - position).magnitude | |
3617 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
3618 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
3619 | orb.CFrame = a.CFrame | |
3620 | a:Destroy() | |
3621 | local bv = Instance.new("BodyVelocity") | |
3622 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3623 | bv.velocity = orb.CFrame.lookVector*125 | |
3624 | bv.Parent = orb | |
3625 | local hitted = false | |
3626 | game:GetService("Debris"):AddItem(orb, 15) | |
3627 | wait() | |
3628 | local hit =orb.Touched:connect(function(hit) | |
3629 | if hitted == false then | |
3630 | hitted = true | |
3631 | CameraEnshaking(10,2.5) | |
3632 | CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1) | |
3633 | MagniDamage(orb, 65, 65,90, 0, "Normal") | |
3634 | sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste")) | |
3635 | sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste")) | |
3636 | for i = 0, 49 do | |
3637 | 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) | |
3638 | end | |
3639 | for i = 0, 9 do | |
3640 | 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) | |
3641 | 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) | |
3642 | end | |
3643 | orb.Anchored = true | |
3644 | orb.Transparency = 1 | |
3645 | wait(8) | |
3646 | orb:Destroy() | |
3647 | end | |
3648 | end) | |
3649 | end)) | |
3650 | for i = 0, 1, 0.1 do | |
3651 | swait() | |
3652 | 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) | |
3653 | 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) | |
3654 | 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) | |
3655 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) | |
3656 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) | |
3657 | 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) | |
3658 | end | |
3659 | hum.WalkSpeed = storehumanoidWS | |
3660 | attack = false | |
3661 | end | |
3662 | ||
3663 | function BanishingOrb() | |
3664 | attack = true | |
3665 | hum.WalkSpeed = 0 | |
3666 | local orb = Instance.new("Part", char) | |
3667 | orb.Anchored = true | |
3668 | orb.BrickColor = BrickColor.new("Black") | |
3669 | orb.CanCollide = false | |
3670 | orb.FormFactor = 3 | |
3671 | orb.Name = "Ring" | |
3672 | orb.Material = "Neon" | |
3673 | orb.Size = Vector3.new(1, 1, 1) | |
3674 | orb.Transparency = 0 | |
3675 | orb.TopSurface = 0 | |
3676 | orb.BottomSurface = 0 | |
3677 | local orbm = Instance.new("SpecialMesh", orb) | |
3678 | orbm.MeshType = "Sphere" | |
3679 | orbm.Name = "SizeMesh" | |
3680 | orbm.Scale = vt(0,0,0) | |
3681 | local scaled = 0.1 | |
3682 | local posid = 0 | |
3683 | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9) | |
3684 | for i = 0, 5, 0.1 do | |
3685 | swait() | |
3686 | scaled = scaled - 0.001 | |
3687 | posid = posid - scaled | |
3688 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
3689 | local scaled = 0.1 | |
3690 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
3691 | 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("Black"),10) | |
3692 | 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) | |
3693 | 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) | |
3694 | 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) | |
3695 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
3696 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
3697 | 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) | |
3698 | end | |
3699 | for i = 0, 2, 0.1 do | |
3700 | swait() | |
3701 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
3702 | 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) | |
3703 | 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) | |
3704 | 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) | |
3705 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
3706 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
3707 | 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) | |
3708 | end | |
3709 | coroutine.resume(coroutine.create(function() | |
3710 | orb.Anchored = false | |
3711 | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75) | |
3712 | local a = Instance.new("Part",workspace) | |
3713 | a.Name = "Direction" | |
3714 | a.Anchored = true | |
3715 | a.BrickColor = bc("Bright red") | |
3716 | a.Material = "Neon" | |
3717 | a.Transparency = 1 | |
3718 | a.CanCollide = false | |
3719 | local ray = Ray.new( | |
3720 | orb.CFrame.p, -- origin | |
3721 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
3722 | ) | |
3723 | local ignore = orb | |
3724 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
3725 | a.BottomSurface = 10 | |
3726 | a.TopSurface = 10 | |
3727 | local distance = (orb.CFrame.p - position).magnitude | |
3728 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
3729 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
3730 | orb.CFrame = a.CFrame | |
3731 | a:Destroy() | |
3732 | local bv = Instance.new("BodyVelocity") | |
3733 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3734 | bv.velocity = orb.CFrame.lookVector*0 | |
3735 | bv.Parent = orb | |
3736 | local hitted = false | |
3737 | - | CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1) |
3737 | + | |
3738 | - | CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1) |
3738 | + | |
3739 | - | bosschatfunc("Purified..",MAINRUINCOLOR.Color,2) |
3739 | + | |
3740 | wait(0.1) | |
3741 | rate = rate + 0.25 | |
3742 | bv.velocity = bv.velocity + orb.CFrame.lookVector*rate | |
3743 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do | |
3744 | if v:FindFirstChild('Head') then | |
3745 | dmg(v) | |
3746 | end | |
3747 | end | |
3748 | CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9) | |
3749 | sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) | |
3750 | sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
3751 | end | |
3752 | orb.Anchored = true | |
3753 | orb.Transparency = 1 | |
3754 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do | |
3755 | if v:FindFirstChild('Head') then | |
3756 | dmg(v) | |
3757 | - | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1) |
3757 | + | |
3758 | end | |
3759 | local eff = Instance.new("ParticleEmitter",orb) | |
3760 | eff.Texture = "rbxassetid://296874871" | |
3761 | eff.LightEmission = 0.95 | |
3762 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
3763 | eff.Rate = 1000000000 | |
3764 | eff.Lifetime = NumberRange.new(3) | |
3765 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3766 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3767 | eff.Speed = NumberRange.new(30) | |
3768 | eff.Acceleration = vt(0,-15,0) | |
3769 | eff.Rotation = NumberRange.new(-500,500) | |
3770 | eff.VelocitySpread = 100000 | |
3771 | eff.RotSpeed = NumberRange.new(-500,500) | |
3772 | coroutine.resume(coroutine.create(function() | |
3773 | wait(0.6) | |
3774 | eff.Enabled = false | |
3775 | end)) | |
3776 | CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6) | |
3777 | CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9) | |
3778 | sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
3779 | sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3780 | sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR) | |
3781 | game:GetService("Debris"):AddItem(orb, 15) | |
3782 | end)) | |
3783 | - | CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1) |
3783 | + | |
3784 | - | CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1) |
3784 | + | |
3785 | - | bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2) |
3785 | + | |
3786 | 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) | |
3787 | 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) | |
3788 | - | CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1) |
3788 | + | |
3789 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) | |
3790 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) | |
3791 | 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) | |
3792 | end | |
3793 | hum.WalkSpeed = storehumanoidWS | |
3794 | attack = false | |
3795 | end | |
3796 | ||
3797 | ||
3798 | function ChaosGroundStrike() | |
3799 | attack = true | |
3800 | for i = 0, 2, 0.1 do | |
3801 | swait() | |
3802 | bosschatfunc("INSANE STOMP",MAINRUINCOLOR.Color,2) | |
3803 | 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) | |
3804 | 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) | |
3805 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3806 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3807 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
3808 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
3809 | end | |
3810 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1) | |
3811 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) | |
3812 | CameraEnshaking(4,12) | |
3813 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do | |
3814 | if v:FindFirstChild('Head') then | |
3815 | dmg(v) | |
3816 | end | |
3817 | end | |
3818 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) | |
3819 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) | |
3820 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random()) | |
3821 | for i = 0, 2, 0.1 do | |
3822 | swait() | |
3823 | 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) | |
3824 | 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) | |
3825 | 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) | |
3826 | 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) | |
3827 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3828 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3829 | - | eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255)) |
3829 | + | |
3830 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
3831 | end | |
3832 | attack = false | |
3833 | end | |
3834 | ||
3835 | function InsaneGroundStrike() | |
3836 | attack = true | |
3837 | bosschatfunc("Succumb to the insanity!",Color3.new(0,0,0)) | |
3838 | for i = 0, 8, 0.1 do | |
3839 | swait() | |
3840 | 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) | |
3841 | ||
3842 | 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) | |
3843 | - | CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1) |
3843 | + | |
3844 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3845 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3846 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
3847 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
3848 | end | |
3849 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1) | |
3850 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) | |
3851 | CameraEnshaking(8,24) | |
3852 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do | |
3853 | - | eff.Color = ColorSequence.new(Color3.new(M)) |
3853 | + | |
3854 | dmg(v) | |
3855 | end | |
3856 | end | |
3857 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) | |
3858 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) | |
3859 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random()) | |
3860 | CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1) | |
3861 | bosschatfunc("Leave the dead where they fall!",Color3.new(0,0,0)) | |
3862 | for i = 0, 2, 0.1 do | |
3863 | swait() | |
3864 | 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) | |
3865 | 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) | |
3866 | 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) | |
3867 | 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) | |
3868 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3869 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3870 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
3871 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
3872 | end | |
3873 | attack = false | |
3874 | end | |
3875 | ||
3876 | function ChaosBegone() | |
3877 | attack = true | |
3878 | bosschatfunc("LEAVE THE DEAD!",MAINRUINCOLOR.Color,2) | |
3879 | for i = 0, 10, 0.1 do | |
3880 | swait() | |
3881 | 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)), 0.2) | |
3882 | 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)), 0.2) | |
3883 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
3884 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
3885 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) | |
3886 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) | |
3887 | end | |
3888 | bosschatfunc("WHERE THEY FALL!",MAINRUINCOLOR.Color,2) | |
3889 | - | bosschatfunc("Let it's go..",MAINRUINCOLOR.Color,1) |
3889 | + | CFuncs.Sound.Create("rbxassetid://438666141", char, 7.5, 1) |
3890 | CFuncs.Sound.Create("rbxassetid://1208650519", char, 7.5, 1) | |
3891 | - | bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1) |
3891 | + | CameraEnshaking(5, 25) |
3892 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
3893 | - | bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1) |
3893 | + | |
3894 | dmg(v) | |
3895 | - | CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1) |
3895 | + | |
3896 | - | CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1) |
3896 | + | |
3897 | sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random()) | |
3898 | sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, BrickColor.random()) | |
3899 | - | orb.BrickColor = BrickColor.new("Lime green") |
3899 | + | sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.random()) |
3900 | for i = 0, 3, 0.1 do | |
3901 | swait() | |
3902 | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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) | |
3903 | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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) | |
3904 | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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) | |
3905 | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * 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) | |
3906 | 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)), 0.4) | |
3907 | 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)), 0.4) | |
3908 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
3909 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
3910 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) | |
3911 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) | |
3912 | end | |
3913 | attack = false | |
3914 | end | |
3915 | function orb_spawn_norm(positted, timer, color, MagniBoost, min, max, volEx, ShakePower, volSummon) | |
3916 | local orb = Instance.new("Part", char) | |
3917 | orb.Anchored = true | |
3918 | orb.BrickColor = color | |
3919 | orb.CanCollide = false | |
3920 | orb.FormFactor = 3 | |
3921 | orb.Name = "Ring" | |
3922 | - | 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("Cool yellow"),10) |
3922 | + | orb.Material = "Neon" |
3923 | orb.Size = Vector3.new(1, 1, 1) | |
3924 | orb.Transparency = 0 | |
3925 | orb.TopSurface = 0 | |
3926 | orb.BottomSurface = 0 | |
3927 | local orbm = Instance.new("SpecialMesh", orb) | |
3928 | orbm.MeshType = "Sphere" | |
3929 | orb.CFrame = positted | |
3930 | orbm.Name = "SizeMesh" | |
3931 | orbm.Scale = vt(1, 1, 1) | |
3932 | CFuncs.Sound.Create("rbxassetid://183763506", orb, volSummon, 1) | |
3933 | sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.05, orb.BrickColor) | |
3934 | coroutine.resume(coroutine.create(function() | |
3935 | wait(timer) | |
3936 | CameraEnshaking(3, ShakePower) | |
3937 | orb.Transparency = 1 | |
3938 | MagniDamage(orb, 3.5 * MagniBoost, min, max, 0, "Normal") | |
3939 | sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.1 * MagniBoost, orb.BrickColor) | |
3940 | CFuncs.Sound.Create("rbxassetid://192410089", orb, volEx, 0.7) | |
3941 | wait(3) | |
3942 | orb:Destroy() | |
3943 | - | local a = Instance.new("Part",workspace) |
3943 | + | |
3944 | - | a.Name = "Direction" |
3944 | + | |
3945 | - | a.Anchored = true |
3945 | + | function orb_spawn(positted, timer) |
3946 | - | a.BrickColor = bc("Lime green") |
3946 | + | local randomcol = math.random(1, 2) |
3947 | local orb = Instance.new("Part", char) | |
3948 | orb.Anchored = true | |
3949 | - | a.CanCollide = false |
3949 | + | if randomcol == 1 then |
3950 | - | local ray = Ray.new( |
3950 | + | |
3951 | - | orb.CFrame.p, -- origin |
3951 | + | elseif randomcol == 2 then |
3952 | - | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction |
3952 | + | orb.BrickColor = BrickColor.new("Really black") |
3953 | - | ) |
3953 | + | |
3954 | - | local ignore = orb |
3954 | + | orb.CanCollide = false |
3955 | - | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
3955 | + | orb.FormFactor = 3 |
3956 | - | a.BottomSurface = 10 |
3956 | + | orb.Name = "Ring" |
3957 | - | a.TopSurface = 10 |
3957 | + | orb.Material = "Neon" |
3958 | - | local distance = (orb.CFrame.p - position).magnitude |
3958 | + | orb.Size = Vector3.new(1, 1, 1) |
3959 | - | a.Size = Vector3.new(0.1, 0.1, 0.1) |
3959 | + | orb.Transparency = 0 |
3960 | - | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) |
3960 | + | orb.TopSurface = 0 |
3961 | orb.BottomSurface = 0 | |
3962 | local orbm = Instance.new("SpecialMesh", orb) | |
3963 | orbm.MeshType = "Sphere" | |
3964 | orb.CFrame = positted | |
3965 | orbm.Name = "SizeMesh" | |
3966 | orbm.Scale = vt(1, 1, 1) | |
3967 | CFuncs.Sound.Create("rbxassetid://183763506", orb, 1.5, 1) | |
3968 | sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.025, orb.BrickColor) | |
3969 | for i = 0, 2 do | |
3970 | 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) | |
3971 | end | |
3972 | coroutine.resume(coroutine.create(function() | |
3973 | wait(timer) | |
3974 | CameraEnshaking(3, 2) | |
3975 | orb.Transparency = 1 | |
3976 | MagniDamage(orb, 17.5, 10, 50, 0, "Normal") | |
3977 | sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.5, orb.BrickColor) | |
3978 | for i = 0, 4 do | |
3979 | 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) | |
3980 | - | sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green") |
3980 | + | |
3981 | CFuncs.Sound.Create("rbxassetid://192410089", orb, 2, 0.7) | |
3982 | wait(3) | |
3983 | orb:Destroy() | |
3984 | end)) | |
3985 | end | |
3986 | function scattercorrupt() | |
3987 | attack = true | |
3988 | local rot = 0 | |
3989 | local randomrotations = math.random(1, 2) | |
3990 | local lookv = 2.5 | |
3991 | local power = 5 | |
3992 | sphere(1, "Add", root.CFrame, vt(1, 100000, 1), 0.5, BrickColor.new("Royal purple")) | |
3993 | sphere(1, "Add", root.CFrame, vt(1, 1, 1), 0.75, BrickColor.new("Royal purple")) | |
3994 | for i = 0, 9 do | |
3995 | 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) | |
3996 | end | |
3997 | CFuncs.Sound.Create("rbxassetid://180204650", char, 2.5, 0.6) | |
3998 | CFuncs.Sound.Create("rbxassetid://233856079", char, 1, 0.5) | |
3999 | CFuncs.Sound.Create("rbxassetid://1208650519", char, 2.5, 1) | |
4000 | CFuncs.Sound.Create("rbxassetid://239000203", char, 0.5, 0.75) | |
4001 | CFuncs.Sound.Create("rbxassetid://579687077", char, 0.5, 0.5) | |
4002 | local hite = Instance.new("Part", char) | |
4003 | hite.Anchored = true | |
4004 | - | wait(0.6) |
4004 | + | hite.CanCollide = false |
4005 | - | eff.Enabled = false |
4005 | + | hite.FormFactor = 3 |
4006 | hite.Name = "Ring" | |
4007 | hite.Material = "Neon" | |
4008 | hite.Size = Vector3.new(1, 1, 1) | |
4009 | - | sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green") |
4009 | + | hite.Transparency = 1 |
4010 | hite.TopSurface = 0 | |
4011 | hite.BottomSurface = 0 | |
4012 | hite.CFrame = root.CFrame * CFrame.new(0, -2.5, 0) | |
4013 | local rem = Instance.new("Part", char) | |
4014 | rem.Anchored = true | |
4015 | rem.CanCollide = false | |
4016 | rem.FormFactor = 3 | |
4017 | rem.Name = "Ring" | |
4018 | rem.Material = "Neon" | |
4019 | rem.Size = Vector3.new(1, 1, 1) | |
4020 | rem.Transparency = 1 | |
4021 | rem.TopSurface = 0 | |
4022 | rem.BottomSurface = 0 | |
4023 | rem.CFrame = hite.CFrame | |
4024 | local rem2 = rem:Clone() | |
4025 | rem2.Parent = char | |
4026 | rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
4027 | local rem3 = rem:Clone() | |
4028 | rem3.Parent = char | |
4029 | rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0) | |
4030 | local rem4 = rem:Clone() | |
4031 | rem4.Parent = char | |
4032 | rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0) | |
4033 | hite:Destroy() | |
4034 | coroutine.resume(coroutine.create(function() | |
4035 | for i = 0, 24 do | |
4036 | swait(1) | |
4037 | if randomrotations == 1 then | |
4038 | rot = rot + 1 | |
4039 | elseif randomrotations == 2 then | |
4040 | - | bosschatfunc("DIE!",MAINRUINCOLOR.Color,1) |
4040 | + | rot = rot - 1 |
4041 | - | CFuncs["EchoSound"].Create("rbxassetid://207155717", root, 7.5,1) |
4041 | + | end |
4042 | - | CFuncs["EchoSound"].Create("rbxassetid://207155717", root, 7.5,1) |
4042 | + | power = power + 0.5 |
4043 | lookv = lookv + 7.5 | |
4044 | rem.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(rot), 0) | |
4045 | - | CFuncs["Sound"].Create("rbxassetid://2556945475", root, 2, 1) |
4045 | + | rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0) |
4046 | rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0) | |
4047 | rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0) | |
4048 | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5) | |
4049 | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5) | |
4050 | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5) | |
4051 | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5) | |
4052 | end | |
4053 | end)) | |
4054 | attack = false | |
4055 | end | |
4056 | ||
4057 | function GleamingBeam() | |
4058 | attack = true | |
4059 | bosschatfunc("CORRUPTED BEAM!!!",MAINRUINCOLOR.Color,3) | |
4060 | CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1) | |
4061 | CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1) | |
4062 | local rsiz = math.random(1,15) | |
4063 | local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
4064 | hb.Anchored = true | |
4065 | hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0) | |
4066 | CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25) | |
4067 | for i = 0, 16, 0.1 do | |
4068 | swait() | |
4069 | rsiz = math.random(5,15) | |
4070 | hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0) | |
4071 | sphereMK(math.random(3,9),0.25,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15) | |
4072 | sphere2(5,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,MAINRUINCOLOR) | |
4073 | 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) | |
4074 | 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) | |
4075 | 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) | |
4076 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1) | |
4077 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1) | |
4078 | LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1) | |
4079 | end | |
4080 | CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6) | |
4081 | CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5) | |
4082 | for i = 0, 2 do | |
4083 | CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1) | |
4084 | end | |
4085 | sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
4086 | sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
4087 | sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
4088 | for i = 0, 49 do | |
4089 | local rsiza = math.random(1,15) | |
4090 | sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0) | |
4091 | end | |
4092 | local a = Instance.new("Part",Character) | |
4093 | a.Name = "Direction" | |
4094 | a.Anchored = true | |
4095 | a.BrickColor = MAINRUINCOLOR | |
4096 | a.Material = "Neon" | |
4097 | a.Transparency = 0 | |
4098 | a.Shape = "Cylinder" | |
4099 | a.CanCollide = false | |
4100 | local ba = Instance.new("Part",Character) | |
4101 | ba.Name = "HitDirect" | |
4102 | ba.Anchored = true | |
4103 | ba.BrickColor = bc("Cool yellow") | |
4104 | ba.Material = "Neon" | |
4105 | ba.Transparency = 1 | |
4106 | ba.CanCollide = false | |
4107 | local ray = Ray.new( | |
4108 | hb.CFrame.p, -- origin | |
4109 | (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction | |
4110 | ) | |
4111 | local ignore = Character | |
4112 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4113 | a.BottomSurface = 10 | |
4114 | a.TopSurface = 10 | |
4115 | local distance = (hb.CFrame.p - position).magnitude | |
4116 | a.Size = Vector3.new(distance, 1, 1) | |
4117 | a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4118 | ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4119 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4120 | local msh = Instance.new("SpecialMesh",a) | |
4121 | msh.MeshType = "Cylinder" | |
4122 | msh.Scale = vt(1,4,4) | |
4123 | game:GetService("Debris"):AddItem(a, 30) | |
4124 | game:GetService("Debris"):AddItem(ba, 30) | |
4125 | for i = 0, 25, 0.1 do | |
4126 | swait() | |
4127 | hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0) | |
4128 | ray = Ray.new( | |
4129 | hb.CFrame.p, -- origin | |
4130 | (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction | |
4131 | ) | |
4132 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4133 | distance = (hb.CFrame.p - position).magnitude | |
4134 | a.Size = Vector3.new(distance, 1, 1) | |
4135 | a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4136 | ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4137 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4138 | rsiz = math.random(5,25) | |
4139 | MagniDamage(ba, 12, 40000,900000, 0, "Normal") | |
4140 | sphereMK(math.random(4,8),0.25,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,0) | |
4141 | for c = 0, 2 do | |
4142 | sphereMK(math.random(3,6),0.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,2) | |
4143 | end | |
4144 | sphere2(5,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR) | |
4145 | sphere2(5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(12,12,12),0.05,0.05,0.05,MAINRUINCOLOR) | |
4146 | 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) | |
4147 | 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) | |
4148 | 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(80)),.6) | |
4149 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6) | |
4150 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6) | |
4151 | LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6) | |
4152 | end | |
4153 | CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8) | |
4154 | CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9) | |
4155 | CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8) | |
4156 | CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9) | |
4157 | MagniDamage(ba, 30, 400000,9000000, 0, "Normal") | |
4158 | sphere2(1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR) | |
4159 | sphere2(2,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR) | |
4160 | sphere2(3,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR) | |
4161 | sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
4162 | sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
4163 | sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR) | |
4164 | for i = 0, 49 do | |
4165 | local rsiza = math.random(1,15) | |
4166 | sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0) | |
4167 | end | |
4168 | for i = 0, 49 do | |
4169 | rsiz = math.random(1,8) | |
4170 | sphereMK(math.random(1,3),1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz,rsiz,rsiz,0,MAINRUINCOLOR,2) | |
4171 | end | |
4172 | coroutine.resume(coroutine.create(function() | |
4173 | for i = 0, 99 do | |
4174 | swait() | |
4175 | a.Transparency = a.Transparency + 0.01 | |
4176 | end | |
4177 | a:Destroy() | |
4178 | ba:Destroy() | |
4179 | end)) | |
4180 | hb:Destroy() | |
4181 | attack = false | |
4182 | - | function StarfallEX() |
4182 | + | |
4183 | ||
4184 | function BeamOfDeath() | |
4185 | - | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7) |
4185 | + | |
4186 | bosschatfunc("DETERMINED STRIKE!",MAINRUINCOLOR.Color,2) | |
4187 | hum.WalkSpeed = 0 | |
4188 | local keptcolor = MAINRUINCOLOR | |
4189 | local orb = Instance.new("Part", char) | |
4190 | orb.BrickColor = keptcolor | |
4191 | orb.CanCollide = false | |
4192 | orb.FormFactor = 3 | |
4193 | orb.Name = "Ring" | |
4194 | orb.Material = "Neon" | |
4195 | orb.Size = Vector3.new(1, 1, 1) | |
4196 | orb.Transparency = 1 | |
4197 | orb.TopSurface = 0 | |
4198 | orb.BottomSurface = 0 | |
4199 | - | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) |
4199 | + | |
4200 | - | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) |
4200 | + | |
4201 | - | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) |
4201 | + | |
4202 | - | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9) |
4202 | + | orbm.Scale = vt(22.5,10000,22.5) |
4203 | orb.CFrame = mouse.Hit | |
4204 | orb.Anchored = true | |
4205 | orb.Orientation = vt(0,0,0) | |
4206 | orb.CFrame = orb.CFrame*CFrame.new(0,1,0) | |
4207 | CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1) | |
4208 | coroutine.resume(coroutine.create(function() | |
4209 | coroutine.resume(coroutine.create(function() | |
4210 | - | orb.CFrame = root.CFrame*CFrame.new(0,250,0) |
4210 | + | for i = 0, 399 do |
4211 | swait() | |
4212 | orbm.Scale = orbm.Scale - vt(0.05,0,0.05) | |
4213 | orb.Transparency = orb.Transparency - 0.0025 | |
4214 | end | |
4215 | end)) | |
4216 | wait(9) | |
4217 | coroutine.resume(coroutine.create(function() | |
4218 | - | swait(15) |
4218 | + | local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char) |
4219 | if hfr ~= nil then | |
4220 | for i = 0, 49 do | |
4221 | local deb = Instance.new("Part", char) | |
4222 | deb.Anchored = true | |
4223 | deb.CanCollide = false | |
4224 | deb.FormFactor = 3 | |
4225 | deb.Name = "Ring" | |
4226 | deb.Material = hitfloor.Material | |
4227 | deb.Color = hitfloor.Color | |
4228 | deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55)) | |
4229 | deb.Transparency = 0 | |
4230 | deb.TopSurface = 0 | |
4231 | deb.BottomSurface = 0 | |
4232 | deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
4233 | - | thingery.Scale = vt(50,50,50) |
4233 | + | local deb2 = Instance.new("Part", char) |
4234 | deb2.CanCollide = false | |
4235 | deb2.FormFactor = 3 | |
4236 | deb2.Name = "Ring" | |
4237 | - | bv.velocity = lb.CFrame.lookVector*math.random(50,420) |
4237 | + | deb2.Material = hitfloor.Material |
4238 | deb2.Color = hitfloor.Color | |
4239 | - | sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR) |
4239 | + | deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38)) |
4240 | - | sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR) |
4240 | + | deb2.Transparency = 0 |
4241 | - | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9) |
4241 | + | deb2.TopSurface = 0 |
4242 | - | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9) |
4242 | + | deb2.BottomSurface = 0 |
4243 | - | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9) |
4243 | + | deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150)) |
4244 | - | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9) |
4244 | + | deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
4245 | local eff = Instance.new("ParticleEmitter",deb) | |
4246 | eff.Texture = "rbxassetid://363275192" | |
4247 | eff.LightEmission = 0.95 | |
4248 | eff.Color = ColorSequence.new(keptcolor.Color) | |
4249 | eff.Rate = 100 | |
4250 | - | 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))),25,25,25,0.25,MAINRUINCOLOR,-2) |
4250 | + | |
4251 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)}) | |
4252 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4253 | eff.Speed = NumberRange.new(0,5) | |
4254 | eff.Rotation = NumberRange.new(-500,500) | |
4255 | eff.VelocitySpread = 9000 | |
4256 | eff.RotSpeed = NumberRange.new(-10,10) | |
4257 | local at1 = Instance.new('Attachment',deb2) | |
4258 | at1.Position = vt(0,15,0) | |
4259 | local at2 = Instance.new('Attachment',deb2) | |
4260 | at2.Position = vt(0,-15,0) | |
4261 | local tl = Instance.new('Trail',deb2) | |
4262 | tl.Attachment0 = at1 | |
4263 | tl.Attachment1 = at2 | |
4264 | tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
4265 | tl.Color = ColorSequence.new(BrickColor.new('White').Color) | |
4266 | - | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9) |
4266 | + | tl.Lifetime = 1 |
4267 | - | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6) |
4267 | + | game:GetService("Debris"):AddItem(deb,30) |
4268 | - | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65) |
4268 | + | game:GetService("Debris"):AddItem(deb2,30) |
4269 | - | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65) |
4269 | + | |
4270 | - | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9) |
4270 | + | wait(15) |
4271 | - | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75) |
4271 | + | |
4272 | - | MagniDamage(lb, 50, 60,99, 0, "Normal") |
4272 | + | |
4273 | swait() | |
4274 | - | sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR) |
4274 | + | deb.Transparency = deb.Transparency + 0.02 |
4275 | - | sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR) |
4275 | + | |
4276 | wait(1) | |
4277 | - | 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,100,-0.1,MAINRUINCOLOR,0) |
4277 | + | deb:Destroy() |
4278 | end)) | |
4279 | end | |
4280 | end | |
4281 | - | MagniDamage(lb, 30, 6,18, 0, "Normal") |
4281 | + | |
4282 | - | 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))),32,32,32,0.32,MAINRUINCOLOR,0) |
4282 | + | for i = 0, 199 do |
4283 | swait(1.5) | |
4284 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do | |
4285 | if v:FindFirstChild('Head') then | |
4286 | dmg(v) | |
4287 | end | |
4288 | end | |
4289 | sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor) | |
4290 | sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor) | |
4291 | sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor) | |
4292 | sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor) | |
4293 | end | |
4294 | orb:Destroy() | |
4295 | - | function DivineBlast() |
4295 | + | |
4296 | hum.WalkSpeed = storehumanoidWS | |
4297 | - | bosschatfunc("I WILL END YOU!",MAINRUINCOLOR.Color,0.7) |
4297 | + | |
4298 | end | |
4299 | - | local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random()) |
4299 | + | |
4300 | function Beams() | |
4301 | - | elocacenter.CFrame = sorb.CFrame |
4301 | + | |
4302 | - | local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) |
4302 | + | hum.WalkSpeed = 0 |
4303 | CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1) | |
4304 | CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1) | |
4305 | - | local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) |
4305 | + | bosschatfunc("DETERMINED BEAMS!",MAINRUINCOLOR.Color,2) |
4306 | local keptcolor = MAINRUINCOLOR | |
4307 | coroutine.resume(coroutine.create(function() | |
4308 | - | local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) |
4308 | + | |
4309 | swait(5) | |
4310 | local orb = Instance.new("Part", char) | |
4311 | - | local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) |
4311 | + | |
4312 | orb.BrickColor = keptcolor | |
4313 | orb.CanCollide = false | |
4314 | - | local lookavec = 0 |
4314 | + | |
4315 | orb.Name = "Ring" | |
4316 | - | CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1) |
4316 | + | |
4317 | orb.Size = Vector3.new(1, 1, 1) | |
4318 | orb.Transparency = 0 | |
4319 | - | --- |
4319 | + | |
4320 | - | lookavec = lookavec + 0.1 |
4320 | + | |
4321 | - | speeds = speeds + 10 |
4321 | + | |
4322 | - | elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0) |
4322 | + | |
4323 | orbm.MeshType = "Sphere" | |
4324 | - | PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
4324 | + | |
4325 | orbm.Scale = vt(1.25,1.25,1.25) | |
4326 | orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6)) | |
4327 | - | PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
4327 | + | |
4328 | coroutine.resume(coroutine.create(function() | |
4329 | wait(0.5) | |
4330 | - | PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
4330 | + | |
4331 | sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor) | |
4332 | sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor) | |
4333 | - | PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
4333 | + | |
4334 | - | --- |
4334 | + | local a = Instance.new("Part",char) |
4335 | - | root.CFrame = FaceMouse()[1] |
4335 | + | |
4336 | - | 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) |
4336 | + | |
4337 | - | 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) |
4337 | + | a.BrickColor = keptcolor |
4338 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) |
4338 | + | |
4339 | - | 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) |
4339 | + | |
4340 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1) |
4340 | + | |
4341 | - | 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) |
4341 | + | local ht = Instance.new("Part",char) |
4342 | ht.Name = "DirectionHit" | |
4343 | ht.Anchored = true | |
4344 | ht.BrickColor = keptcolor | |
4345 | - | --- |
4345 | + | |
4346 | - | speeds = speeds + 10 |
4346 | + | |
4347 | - | elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0) |
4347 | + | |
4348 | CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6) | |
4349 | - | PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
4349 | + | |
4350 | local ray = Ray.new( | |
4351 | orb.CFrame.p, -- origin | |
4352 | - | PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
4352 | + | |
4353 | ) | |
4354 | local ignore = char | |
4355 | - | PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
4355 | + | |
4356 | a.BottomSurface = 10 | |
4357 | a.TopSurface = 10 | |
4358 | - | PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
4358 | + | |
4359 | - | --- |
4359 | + | a.Size = Vector3.new(distance,1,1) |
4360 | - | root.CFrame = FaceMouse()[1] |
4360 | + | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) |
4361 | - | 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) |
4361 | + | ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) |
4362 | - | 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) |
4362 | + | |
4363 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) |
4363 | + | |
4364 | - | 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) |
4364 | + | |
4365 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1) |
4365 | + | |
4366 | - | 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) |
4366 | + | |
4367 | eff.Texture = "rbxassetid://284205403" | |
4368 | - | CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1) |
4368 | + | |
4369 | - | CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1) |
4369 | + | |
4370 | eff.Rate = 500 | |
4371 | eff.Lifetime = NumberRange.new(0.5) | |
4372 | - | --- |
4372 | + | |
4373 | - | speeds = speeds + 10 |
4373 | + | |
4374 | - | elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0) |
4374 | + | |
4375 | eff.Drag = 5 | |
4376 | - | PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
4376 | + | |
4377 | eff.VelocitySpread = 9000 | |
4378 | eff.RotSpeed = NumberRange.new(-500,500) | |
4379 | - | PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
4379 | + | |
4380 | eff.Enabled = false | |
4381 | end)) | |
4382 | - | PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
4382 | + | |
4383 | sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor) | |
4384 | sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor) | |
4385 | - | PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2) |
4385 | + | |
4386 | - | --- |
4386 | + | |
4387 | - | root.CFrame = FaceMouse()[1] |
4387 | + | |
4388 | - | 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) |
4388 | + | |
4389 | - | 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) |
4389 | + | |
4390 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1) |
4390 | + | |
4391 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(-40)),.1) |
4391 | + | |
4392 | for i = 0, 49 do | |
4393 | - | 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) |
4393 | + | |
4394 | msh.Scale = msh.Scale + vt(0,0.01,0.01) | |
4395 | a.Transparency = a.Transparency + 0.02 | |
4396 | end | |
4397 | - | a.Name = "Direction" |
4397 | + | |
4398 | - | a.Anchored = true |
4398 | + | |
4399 | - | a.BrickColor = bc("White") |
4399 | + | |
4400 | end)) | |
4401 | game:GetService("Debris"):AddItem(orb, 10) | |
4402 | end | |
4403 | - | a.CanCollide = false |
4403 | + | |
4404 | - | local a2 = Instance.new("Part",Character) |
4404 | + | for i = 0,6,0.1 do |
4405 | - | a2.Name = "Direction" |
4405 | + | |
4406 | - | a2.Anchored = true |
4406 | + | |
4407 | - | a2.BrickColor = bc("Bright yellow") |
4407 | + | |
4408 | - | a2.Material = "Neon" |
4408 | + | |
4409 | - | a2.Transparency = 0 |
4409 | + | |
4410 | - | a2.Shape = "Cylinder" |
4410 | + | |
4411 | - | a2.CanCollide = false |
4411 | + | |
4412 | - | local b = Instance.new("Part",Character) |
4412 | + | |
4413 | - | b.Name = "HitDirect" |
4413 | + | |
4414 | - | b.Anchored = true |
4414 | + | |
4415 | - | b.BrickColor = bc("Cool yellow") |
4415 | + | |
4416 | - | b.Material = "Neon" |
4416 | + | |
4417 | - | b.Transparency = 1 |
4417 | + | |
4418 | - | b.CanCollide = false |
4418 | + | |
4419 | - | local ray = Ray.new( |
4419 | + | |
4420 | - | elocacenter.CFrame.p, -- origin |
4420 | + | |
4421 | - | (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction |
4421 | + | |
4422 | - | ) |
4422 | + | |
4423 | - | local ignore = Character |
4423 | + | |
4424 | - | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
4424 | + | |
4425 | - | a.BottomSurface = 10 |
4425 | + | |
4426 | - | a.TopSurface = 10 |
4426 | + | |
4427 | - | a2.BottomSurface = 10 |
4427 | + | |
4428 | - | a2.TopSurface = 10 |
4428 | + | |
4429 | - | local distance = (elocacenter.CFrame.p - position).magnitude |
4429 | + | |
4430 | - | a.Size = Vector3.new(distance, 1, 1) |
4430 | + | |
4431 | - | a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2) |
4431 | + | |
4432 | - | a2.Size = Vector3.new(distance, 1, 1) |
4432 | + | local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) |
4433 | - | a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2) |
4433 | + | hb.Anchored = true |
4434 | - | b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance) |
4434 | + | hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2 |
4435 | local huggedperson = nil | |
4436 | - | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) |
4436 | + | |
4437 | - | game:GetService("Debris"):AddItem(a, 10) |
4437 | + | |
4438 | - | game:GetService("Debris"):AddItem(a2, 10) |
4438 | + | |
4439 | - | game:GetService("Debris"):AddItem(b, 10) |
4439 | + | |
4440 | - | local eff = Instance.new("ParticleEmitter",b) |
4440 | + | |
4441 | for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do | |
4442 | if v:FindFirstChild('Head') then | |
4443 | - | eff.Color = ColorSequence.new(Color3.new(1,1,0)) |
4443 | + | |
4444 | huggedperson = v | |
4445 | hum.WalkSpeed = 0 | |
4446 | CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1) | |
4447 | CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15) | |
4448 | CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1) | |
4449 | CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1) | |
4450 | local radm = math.random(1,3) | |
4451 | bosschatfunc("Friend hug!..",MAINRUINCOLOR.Color,1) | |
4452 | root.Anchored = true | |
4453 | coroutine.resume(coroutine.create(function() | |
4454 | huggedperson.Humanoid.WalkSpeed = 0 | |
4455 | huggedperson:WaitForChild("HumanoidRootPart").Anchored = true | |
4456 | end)) | |
4457 | --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1) | |
4458 | alreadydid = true | |
4459 | - | msh.Scale = vt(1,2,2) |
4459 | + | |
4460 | - | local msh2 = Instance.new("SpecialMesh",a2) |
4460 | + | |
4461 | - | msh2.MeshType = "Cylinder" |
4461 | + | |
4462 | - | msh2.Scale = vt(1,2.5,2.5) |
4462 | + | |
4463 | - | CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75) |
4463 | + | |
4464 | hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2 | |
4465 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3) | |
4466 | elseif act == true then | |
4467 | - | msh.Scale = msh.Scale + vt(0,0.05,0.05) |
4467 | + | |
4468 | - | a.Transparency = a.Transparency + 0.025 |
4468 | + | |
4469 | - | msh2.Scale = msh2.Scale + vt(0,0.25,0.25) |
4469 | + | |
4470 | - | a2.Transparency = a2.Transparency + 0.05 |
4470 | + | |
4471 | sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0) | |
4472 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(40)),.1) | |
4473 | - | a2:Destroy() |
4473 | + | |
4474 | end | |
4475 | - | CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1) |
4475 | + | |
4476 | - | CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7) |
4476 | + | |
4477 | - | CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75) |
4477 | + | |
4478 | - | CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75) |
4478 | + | |
4479 | - | CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1) |
4479 | + | |
4480 | - | CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85) |
4480 | + | |
4481 | - | MagniDamage(b, 25, 40,65, 0, "Normal") |
4481 | + | |
4482 | if act == true then | |
4483 | - | PixelBlock(2,math.random(10,20),"Add",b.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.04,BrickColor.new("Bright yellow"),0) |
4483 | + | |
4484 | - | PixelBlock(1,math.random(1,10),"Add",b.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("Bright yellow"),0) |
4484 | + | |
4485 | swait() | |
4486 | - | sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White")) |
4486 | + | |
4487 | - | sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow")) |
4487 | + | |
4488 | - | sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow")) |
4488 | + | |
4489 | - | sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow")) |
4489 | + | |
4490 | - | sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow")) |
4490 | + | |
4491 | - | sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow")) |
4491 | + | |
4492 | huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0) | |
4493 | - | game:GetService("Debris"):AddItem(elocacenter, 5) |
4493 | + | |
4494 | 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))),.3) | |
4495 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4496 | RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3) | |
4497 | LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3) | |
4498 | end | |
4499 | - | function StarDivision() |
4499 | + | |
4500 | swait() | |
4501 | coroutine.resume(coroutine.create(function() | |
4502 | huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2 | |
4503 | end)) | |
4504 | - | 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) |
4504 | + | |
4505 | - | 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) |
4505 | + | |
4506 | - | 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) |
4506 | + | |
4507 | - | 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) |
4507 | + | |
4508 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6) |
4508 | + | |
4509 | - | 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) |
4509 | + | |
4510 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4511 | RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3) | |
4512 | LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3) | |
4513 | end | |
4514 | end | |
4515 | end | |
4516 | hum.WalkSpeed = storehumanoidWS | |
4517 | root.Anchored = false | |
4518 | if act == true then | |
4519 | coroutine.resume(coroutine.create(function() | |
4520 | huggedperson.Humanoid.WalkSpeed = 16 | |
4521 | huggedperson:WaitForChild("HumanoidRootPart").Anchored = false | |
4522 | end)) | |
4523 | end | |
4524 | hum.WalkSpeed = storehumanoidWS | |
4525 | attack = false | |
4526 | end | |
4527 | ||
4528 | function CrazedInsanity() | |
4529 | attack = true | |
4530 | for i = 0,30 do | |
4531 | swait() | |
4532 | sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Navy blue"),BrickColor.new("Navy blue").Color) | |
4533 | - | sorb.CFrame.p, -- origin |
4533 | + | sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color) |
4534 | - | (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction |
4534 | + | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + MRANDOM(-3,3)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39) + MRANDOM(-5,5))),.1) |
4535 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + MRANDOM(-3,3)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45) + MRANDOM(-5,5))),.1) | |
4536 | - | local ignore = sorb |
4536 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 47),0 - 0.25 * math.cos(sine / 40),7 + 1 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(45)),.1) |
4537 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(45)),.5) | |
4538 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(50)),.5) | |
4539 | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(20),math.rad(10),math.rad(-30)),.5) | |
4540 | - | local distance = (sorb.CFrame.p - position).magnitude |
4540 | + | |
4541 | coroutine.resume(coroutine.create(function() | |
4542 | - | a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0) |
4542 | + | for i = 0,60,0.1 do |
4543 | swait() | |
4544 | sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Navy blue"),BrickColor.new("Navy blue").Color) | |
4545 | sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color) | |
4546 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + MRANDOM(-3,3)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39) + MRANDOM(-5,5))),.1) | |
4547 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + MRANDOM(-3,3)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45) + MRANDOM(-5,5))),.1) | |
4548 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 47),0 - 0.25 * math.cos(sine / 40),7 + 1 * math.cos(sine / 32))*angles(math.rad(7.5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-15)),.1) | |
4549 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(-15)),.5) | |
4550 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(85),math.rad(0),math.rad(-20)),.5) | |
4551 | - | CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15) |
4551 | + | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(20),math.rad(10),math.rad(-30)),.5) |
4552 | - | CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15) |
4552 | + | |
4553 | - | CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15) |
4553 | + | |
4554 | - | CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15) |
4554 | + | |
4555 | - | CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15) |
4555 | + | CFuncs["Sound"].Create("rbxassetid://1664711478", char, 10,1) |
4556 | CFuncs["LongSound"].Create("rbxassetid://763717897", char, 10, 0.5) | |
4557 | CFuncs["LongSound"].Create("rbxassetid://763717897", char, 7.5, 0.25) | |
4558 | CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.9) | |
4559 | CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 0.5) | |
4560 | - | 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) |
4560 | + | CFuncs["Sound"].Create("rbxassetid://335657174", char, 5, 0.75) |
4561 | - | elseif orb.Parent == nil then |
4561 | + | CFuncs["LongSound"].Create("rbxassetid://335657174", char, 10, 0.25) |
4562 | CFuncs["Sound"].Create("rbxassetid://167115397", char, 10, 1) | |
4563 | CFuncs["LongSound"].Create("rbxassetid://167115397", char, 10, 0.75) | |
4564 | CFuncs["LongSound"].Create("rbxassetid://167115397", char, 10, 0.5) | |
4565 | end | |
4566 | for i = 0, 2 do | |
4567 | block(3,"Add",root.CFrame,vt(1,1,1),6.5*2,6.5*2,6.5*2,BrickColor.new("Dark blue"),BrickColor.new("Dark blue").Color) | |
4568 | - | orb.Touched:connect(function(hit) |
4568 | + | block(2,"Add",root.CFrame,vt(1,1,1),6*2,6*2,6*2,BrickColor.new("Really Black"),BrickColor.new("Really Black").Color) |
4569 | block(1,"Add",root.CFrame,vt(1,1,1),4.5*2,4.5*2,4.5*2,BrickColor.new("Dark blue"),BrickColor.new("Dark blue").Color) | |
4570 | end | |
4571 | for i = 0, 49 do | |
4572 | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,2500)/250,BrickColor.new("Really black")) | |
4573 | end | |
4574 | CamShakeAll(20,120,char) | |
4575 | for i = 0, 199 do | |
4576 | swait() | |
4577 | coroutine.resume(coroutine.create(function() | |
4578 | for i, v in pairs(FindNearestHead(root.CFrame.p, 250)) do | |
4579 | if v:FindFirstChild('Head') then | |
4580 | dmg(v) | |
4581 | end | |
4582 | end | |
4583 | end)) | |
4584 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
4585 | dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
4586 | local at1 = Instance.new("Attachment",dis) | |
4587 | at1.Position = vt(-25000,0,0) | |
4588 | local at2 = Instance.new("Attachment",dis) | |
4589 | at2.Position = vt(25000,0,0) | |
4590 | local trl = Instance.new('Trail',dis) | |
4591 | trl.Attachment0 = at1 | |
4592 | trl.FaceCamera = true | |
4593 | trl.Attachment1 = at2 | |
4594 | trl.Texture = "rbxassetid://1049219073" | |
4595 | trl.LightEmission = 1 | |
4596 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
4597 | trl.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
4598 | trl.Lifetime = 5 | |
4599 | local bv = Instance.new("BodyVelocity") | |
4600 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4601 | - | lookavec = lookavec + 1 |
4601 | + | |
4602 | bv.Parent = dis | |
4603 | game:GetService("Debris"):AddItem(dis, 5) | |
4604 | sphere2(15,"Add",root.CFrame,vt(1.25,1.25,1.25),2.5,2.5,2.5,BrickColor.new("Dark blue")) | |
4605 | for i = 0, 2 do | |
4606 | CamShakeAll(20,120,char) | |
4607 | slash(15,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),25,BrickColor.new("Dark blue")) | |
4608 | slash(15,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),50,BrickColor.new("Really black")) | |
4609 | end | |
4610 | end | |
4611 | attack = false | |
4612 | hum.WalkSpeed = storehumanoidWS | |
4613 | end | |
4614 | ||
4615 | function THE_TRUE_POWER_OF_VIOLENCE() | |
4616 | attack = true | |
4617 | hum.WalkSpeed = 0 | |
4618 | CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7) | |
4619 | for i = 0, 10, 0.1 do | |
4620 | swait() | |
4621 | 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) | |
4622 | 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) | |
4623 | 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(0)),.4) | |
4624 | 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(40)),.4) | |
4625 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4) | |
4626 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) | |
4627 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) | |
4628 | end | |
4629 | local orb = Instance.new("Part", char) | |
4630 | orb.BrickColor = MAINRUINCOLOR | |
4631 | orb.CanCollide = false | |
4632 | orb.FormFactor = 3 | |
4633 | - | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do |
4633 | + | |
4634 | orb.Material = "Neon" | |
4635 | orb.Size = Vector3.new(1, 1, 1) | |
4636 | orb.Transparency = 0 | |
4637 | orb.TopSurface = 0 | |
4638 | orb.BottomSurface = 0 | |
4639 | - | MagniDamage(elocacenter, 225, 50,75, 0, "Normal") |
4639 | + | |
4640 | - | CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1) |
4640 | + | |
4641 | - | CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75) |
4641 | + | |
4642 | - | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1) |
4642 | + | |
4643 | orbm.Scale = vt(0,0,0) | |
4644 | - | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR) |
4644 | + | |
4645 | - | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR) |
4645 | + | |
4646 | sbs.D = 1000 | |
4647 | sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
4648 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0) | |
4649 | CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1) | |
4650 | sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
4651 | sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
4652 | sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
4653 | sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
4654 | sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
4655 | for i = 0, 10, 0.1 do | |
4656 | swait() | |
4657 | PixelBlockNeg(1,0.01,"Add",orb.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) | |
4658 | - | for i = 0, 499 do |
4658 | + | |
4659 | 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(0)),.6) | |
4660 | - | MagniDamage(elocacenter, 90, 1,5, 0, "Normal") |
4660 | + | 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(60)),.6) |
4661 | - | 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) |
4661 | + | |
4662 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) | |
4663 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6) | |
4664 | end | |
4665 | orb.Anchored = true | |
4666 | local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
4667 | elocacenter.Anchored = true | |
4668 | elocacenter.CFrame = orb.CFrame | |
4669 | elocacenter.Orientation = vt(0,0,0) | |
4670 | local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
4671 | eloca1.Anchored = true | |
4672 | eloca1.CFrame = elocacenter.CFrame | |
4673 | local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
4674 | eloca2.Anchored = true | |
4675 | eloca2.CFrame = elocacenter.CFrame | |
4676 | local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
4677 | eloca3.Anchored = true | |
4678 | eloca3.CFrame = elocacenter.CFrame | |
4679 | - | bosschatfunc("ALL YOUR DESTINY...",MAINRUINCOLOR.Color,4) |
4679 | + | |
4680 | eloca4.Anchored = true | |
4681 | eloca4.CFrame = elocacenter.CFrame | |
4682 | local lookavec = 0 | |
4683 | local speeds = 0 | |
4684 | CameraEnshaking(1,1) | |
4685 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(40)),.4) |
4685 | + | |
4686 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1) | |
4687 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1) | |
4688 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1) | |
4689 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
4690 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
4691 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
4692 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
4693 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
4694 | for i = 0, 99 do | |
4695 | swait() | |
4696 | lookavec = lookavec + 2.5 | |
4697 | speeds = speeds + 0.25 | |
4698 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
4699 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
4700 | PixelBlockNeg(2,0,"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) | |
4701 | ||
4702 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
4703 | PixelBlockNeg(2,0,"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) | |
4704 | ||
4705 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
4706 | PixelBlockNeg(2,0,"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) | |
4707 | ||
4708 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
4709 | PixelBlockNeg(2,0,"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) | |
4710 | end | |
4711 | ||
4712 | for i = 0, 149 do | |
4713 | swait() | |
4714 | speeds = speeds + 0.25 | |
4715 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
4716 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
4717 | PixelBlockNeg(2,0,"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) | |
4718 | ||
4719 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
4720 | PixelBlockNeg(2,0,"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) | |
4721 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6) |
4721 | + | |
4722 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
4723 | PixelBlockNeg(2,0,"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) | |
4724 | ||
4725 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
4726 | PixelBlockNeg(2,0,"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) | |
4727 | end | |
4728 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75) | |
4729 | for i = 0, 99 do | |
4730 | swait() | |
4731 | lookavec = lookavec - 2.5 | |
4732 | speeds = speeds + 0.25 | |
4733 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
4734 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
4735 | PixelBlockNeg(2,0,"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) | |
4736 | ||
4737 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
4738 | PixelBlockNeg(2,0,"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) | |
4739 | ||
4740 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
4741 | PixelBlockNeg(2,0,"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) | |
4742 | ||
4743 | - | local lookavec = 0 |
4743 | + | |
4744 | PixelBlockNeg(2,0,"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) | |
4745 | end | |
4746 | local scaled = 0.1*75 | |
4747 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1) | |
4748 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1) | |
4749 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5) | |
4750 | CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5) | |
4751 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75) | |
4752 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5) | |
4753 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
4754 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
4755 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
4756 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
4757 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
4758 | for i = 0, 10, 0.1 do | |
4759 | swait() | |
4760 | scaled = scaled - 0.001*75 | |
4761 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
4762 | 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) | |
4763 | 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))),.6) | |
4764 | 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(0)),.6) | |
4765 | 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(60)),.6) | |
4766 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6) | |
4767 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) | |
4768 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6) | |
4769 | end | |
4770 | for x = 0, 4 do | |
4771 | for i = 0, 9 do | |
4772 | sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0) | |
4773 | end | |
4774 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75) | |
4775 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5) | |
4776 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
4777 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
4778 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
4779 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
4780 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
4781 | for i = 0, 5, 0.1 do | |
4782 | swait() | |
4783 | 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) | |
4784 | 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) | |
4785 | 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) | |
4786 | 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(0)),.1) | |
4787 | 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) | |
4788 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1) | |
4789 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1) | |
4790 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1) | |
4791 | end | |
4792 | end | |
4793 | local speedearn = 0 | |
4794 | CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2) | |
4795 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75) | |
4796 | CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25) | |
4797 | for i = 0, 30, 0.1 do | |
4798 | swait() | |
4799 | scaled = scaled - 0.001*75/10 | |
4800 | speedearn = speedearn + 0.5 | |
4801 | for i = 0, 4 do | |
4802 | sphereMK(1+speedearn,speedearn,"Add",elocacenter.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) | |
4803 | end | |
4804 | PixelBlock(1,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1*speedearn/10,1*speedearn/10,1*speedearn/10,0.02*speedearn/10,MAINRUINCOLOR,0) | |
4805 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
4806 | 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) | |
4807 | 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) | |
4808 | 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))),.6) | |
4809 | 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(0)),.6) | |
4810 | 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)),.6) | |
4811 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6) | |
4812 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4) | |
4813 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6) | |
4814 | end | |
4815 | orb.Transparency = 1 | |
4816 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do | |
4817 | if v:FindFirstChild('Head') then | |
4818 | dmg(v) | |
4819 | end | |
4820 | end | |
4821 | CameraEnshaking(7,30) | |
4822 | MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal") | |
4823 | CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1) | |
4824 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5) | |
4825 | CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25) | |
4826 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1) | |
4827 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6) |
4827 | + | |
4828 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1) | |
4829 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1) | |
4830 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1) | |
4831 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1) | |
4832 | - | bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2) |
4832 | + | |
4833 | - | CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1) |
4833 | + | |
4834 | - | CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1) |
4834 | + | |
4835 | CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05) | |
4836 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
4837 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
4838 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
4839 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
4840 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
4841 | for i = 0, 99 do | |
4842 | PixelBlock(1,math.random(50,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0) | |
4843 | PixelBlock(2,math.random(250,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0) | |
4844 | end | |
4845 | for i = 0, 24 do | |
4846 | sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0) | |
4847 | 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) | |
4848 | 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) | |
4849 | 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) | |
4850 | 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) | |
4851 | end | |
4852 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
4852 | + | |
4853 | hum.WalkSpeed = storehumanoidWS | |
4854 | attack = false | |
4855 | end | |
4856 | ||
4857 | function Starfall() | |
4858 | attack = true | |
4859 | hum.WalkSpeed = 0 | |
4860 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1) | |
4861 | for i = 0, 5, 0.1 do | |
4862 | swait() | |
4863 | 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) | |
4864 | 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) | |
4865 | 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) | |
4866 | 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) | |
4867 | 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) | |
4868 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
4869 | 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) | |
4870 | 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) | |
4871 | end | |
4872 | local Overed = false | |
4873 | CameraEnshaking(2,20) | |
4874 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
4875 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.6) |
4875 | + | |
4876 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
4877 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1) | |
4878 | local orb = Instance.new("Part", char) | |
4879 | orb.Anchored = true | |
4880 | orb.BrickColor = BrickColor.new("Toothpaste") | |
4881 | orb.CanCollide = false | |
4882 | orb.FormFactor = 3 | |
4883 | orb.Name = "Remenant" | |
4884 | orb.Material = "Neon" | |
4885 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
4886 | orb.Size = Vector3.new(1, 1, 1) | |
4887 | orb.Transparency = 1 | |
4888 | orb.TopSurface = 0 | |
4889 | orb.BottomSurface = 0 | |
4890 | hum.WalkSpeed = storehumanoidWS | |
4891 | coroutine.resume(coroutine.create(function() | |
4892 | for i = 0, 9 do | |
4893 | swait(10) | |
4894 | local lb = Instance.new("Part") | |
4895 | lb.Color = MAINRUINCOLOR.Color | |
4896 | lb.CanCollide = false | |
4897 | lb.Material = "Neon" | |
4898 | lb.Anchored = true | |
4899 | lb.TopSurface = 0 | |
4900 | lb.BottomSurface = 0 | |
4901 | lb.Transparency = 0 | |
4902 | lb.Size = vt(1,1,1) | |
4903 | 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))) | |
4904 | lb.Anchored = false | |
4905 | lb.Parent = char | |
4906 | local thingery = Instance.new("SpecialMesh",lb) | |
4907 | thingery.MeshType = "Sphere" | |
4908 | thingery.Scale = vt(20,20,20) | |
4909 | game:GetService("Debris"):AddItem(lb, 10) | |
4910 | local bv = Instance.new("BodyVelocity") | |
4911 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4912 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
4913 | bv.Parent = lb | |
4914 | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) | |
4915 | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) | |
4916 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1) | |
4917 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1) | |
4918 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1) | |
4919 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1) | |
4920 | local hitted = false | |
4921 | coroutine.resume(coroutine.create(function() | |
4922 | while true do | |
4923 | swait(1) | |
4924 | if lb.Parent ~= nil and hitted == false then | |
4925 | 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) | |
4926 | - | bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7) |
4926 | + | |
4927 | - | CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1) |
4927 | + | |
4928 | - | CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1) |
4928 | + | |
4929 | end | |
4930 | end)) | |
4931 | ||
4932 | game:GetService("Debris"):AddItem(a, 0.1) | |
4933 | ||
4934 | coroutine.resume(coroutine.create(function() | |
4935 | swait(1) | |
4936 | lb.Touched:connect(function(hit) | |
4937 | if hitted == false then | |
4938 | hitted = true | |
4939 | lb.Transparency = 1 | |
4940 | lb.Anchored = true | |
4941 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1) | |
4942 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7) | |
4943 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75) | |
4944 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75) | |
4945 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1) | |
4946 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85) | |
4947 | MagniDamage(lb, 45, 45,85, 0, "Normal") | |
4948 | CameraEnshaking(1,5) | |
4949 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
4950 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
4951 | for i = 0, 9 do | |
4952 | 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) | |
4953 | end | |
4954 | for i = 0, 49 do | |
4955 | swait() | |
4956 | MagniDamage(lb, 30, 2,4, 0, "Normal") | |
4957 | 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) | |
4958 | end | |
4959 | end | |
4960 | end) | |
4961 | end)) | |
4962 | end | |
4963 | Overed = true | |
4964 | orb:Destroy() | |
4965 | end)) | |
4966 | ||
4967 | attack = false | |
4968 | end | |
4969 | ||
4970 | ||
4971 | function ViolentRing() | |
4972 | attack = true | |
4973 | CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1) | |
4974 | for i = 0, 2, 0.1 do | |
4975 | swait() | |
4976 | local snap = math.random(1,10) | |
4977 | if snap == 1 then | |
4978 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(-50 + math.random(-10,10))),1) | |
4979 | end | |
4980 | PixelBlockX(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0) | |
4981 | PixelBlockNeg(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0) | |
4982 | PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.65,0.65,0.65,0.0065,MAINRUINCOLOR,0) | |
4983 | 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))),.6) | |
4984 | 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(0)),.6) | |
4985 | 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)),.6) | |
4986 | - | local lookavec = 0 |
4986 | + | |
4987 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4) | |
4988 | 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)),.6) | |
4989 | RootPart.CFrame = FaceMouse()[1] | |
4990 | end | |
4991 | local orb = Instance.new("Part", char) | |
4992 | orb.BrickColor = MAINRUINCOLOR | |
4993 | orb.CanCollide = false | |
4994 | orb.FormFactor = 3 | |
4995 | orb.Name = "Ring" | |
4996 | orb.Material = "Neon" | |
4997 | orb.Size = Vector3.new(1, 1, 1) | |
4998 | orb.Transparency = 0 | |
4999 | orb.TopSurface = 0 | |
5000 | orb.BottomSurface = 0 | |
5001 | local orbm = Instance.new("SpecialMesh", orb) | |
5002 | orbm.MeshType = "Sphere" | |
5003 | orbm.Name = "SizeMesh" | |
5004 | orbm.Scale = vt(2,2,2) | |
5005 | orb.CFrame = mouse.Hit | |
5006 | local bv = Instance.new("BodyVelocity") | |
5007 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5008 | bv.velocity = orb.CFrame.lookVector*100 | |
5009 | bv.Parent = orb | |
5010 | local hitted = false | |
5011 | coroutine.resume(coroutine.create(function() | |
5012 | game:GetService("Debris"):AddItem(orb, 5) | |
5013 | orb.Transparency = 1 | |
5014 | orb.Anchored = true | |
5015 | local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
5016 | elocacenter.Anchored = true | |
5017 | elocacenter.CFrame = orb.CFrame | |
5018 | elocacenter.Orientation = vt(0,0,0) | |
5019 | local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
5020 | eloca1.Anchored = true | |
5021 | eloca1.CFrame = elocacenter.CFrame | |
5022 | local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
5023 | eloca2.Anchored = true | |
5024 | eloca2.CFrame = elocacenter.CFrame | |
5025 | local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
5026 | eloca3.Anchored = true | |
5027 | eloca3.CFrame = elocacenter.CFrame | |
5028 | local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
5029 | eloca4.Anchored = true | |
5030 | eloca4.CFrame = elocacenter.CFrame | |
5031 | local lookavec = 0 | |
5032 | local speeds = 0 | |
5033 | CameraEnshaking(1,1) | |
5034 | CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1) | |
5035 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5036 | sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5037 | sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5038 | sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5039 | sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5040 | for i = 0, 24 do | |
5041 | swait() | |
5042 | lookavec = lookavec + 3.5 | |
5043 | - | local eff = Instance.new("ParticleEmitter",elocacenter) |
5043 | + | |
5044 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
5045 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
5046 | - | eff.Color = ColorSequence.new(Color3.new(1,1,0)) |
5046 | + | |
5047 | - | eff.Rate = 1000000 |
5047 | + | |
5048 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
5049 | 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) | |
5050 | ||
5051 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
5052 | 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) | |
5053 | ||
5054 | - | eff.VelocitySpread = 5000000 |
5054 | + | |
5055 | 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) | |
5056 | end | |
5057 | ||
5058 | local risen = 0 | |
5059 | for i = 0, 49 do | |
5060 | swait() | |
5061 | risen = risen + 0.05 | |
5062 | speeds = speeds + 0.1 | |
5063 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
5064 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
5065 | PixelBlockNeg(2,math.random(1+risen,2+risen),"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) | |
5066 | ||
5067 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
5068 | PixelBlockNeg(2,math.random(1+risen,2+risen),"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) | |
5069 | ||
5070 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
5071 | PixelBlockNeg(2,math.random(1+risen,2+risen),"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) | |
5072 | ||
5073 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
5074 | PixelBlockNeg(2,math.random(1+risen,2+risen),"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) | |
5075 | end | |
5076 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do | |
5077 | if v:FindFirstChild('Head') then | |
5078 | dmg(v) | |
5079 | end | |
5080 | end | |
5081 | CameraEnshaking(4,10) | |
5082 | MagniDamage(elocacenter, 150, 50,75, 0, "Normal") | |
5083 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1) | |
5084 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75) | |
5085 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1) | |
5086 | - | function UniversalCollapse() |
5086 | + | |
5087 | CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05) | |
5088 | sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR) | |
5089 | sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR) | |
5090 | - | local sbs = Instance.new("BodyPosition", root) |
5090 | + | |
5091 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5092 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5093 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5094 | - | sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0) |
5094 | + | |
5095 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR) | |
5096 | - | for i = 0, 85, 0.1 do |
5096 | + | |
5097 | sphereMK(2,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.25,MAINRUINCOLOR,0) | |
5098 | - | speedearn = speedearn + 0.1 |
5098 | + | |
5099 | - | 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) |
5099 | + | |
5100 | - | 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) |
5100 | + | |
5101 | - | 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) |
5101 | + | |
5102 | - | 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) |
5102 | + | |
5103 | - | 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) |
5103 | + | |
5104 | - | sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR) |
5104 | + | |
5105 | - | 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) |
5105 | + | |
5106 | - | 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) |
5106 | + | |
5107 | - | 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) |
5107 | + | |
5108 | eloca4:Destroy() | |
5109 | - | 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) |
5109 | + | |
5110 | - | 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) |
5110 | + | |
5111 | attack = false | |
5112 | - | bosschatfunc("Universary..",MAINRUINCOLOR.Color,1) |
5112 | + | |
5113 | - | CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1) |
5113 | + | |
5114 | - | CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1) |
5114 | + | |
5115 | - | for i = 0, 25, 0.1 do |
5115 | + | |
5116 | duringend = true | |
5117 | - | speedearn = speedearn + 0.1 |
5117 | + | |
5118 | - | 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) |
5118 | + | |
5119 | - | 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) |
5119 | + | |
5120 | - | 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) |
5120 | + | |
5121 | - | 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) |
5121 | + | |
5122 | - | 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) |
5122 | + | |
5123 | - | sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR) |
5123 | + | |
5124 | - | 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) |
5124 | + | |
5125 | - | 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) |
5125 | + | |
5126 | - | 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) |
5126 | + | |
5127 | hite.Transparency = 0 | |
5128 | - | 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) |
5128 | + | |
5129 | - | 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) |
5129 | + | |
5130 | hite.BrickColor = MAINRUINCOLOR | |
5131 | - | bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1) |
5131 | + | |
5132 | - | CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1) |
5132 | + | |
5133 | - | CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1) |
5133 | + | |
5134 | - | CameraEnshaking(5,50) |
5134 | + | |
5135 | - | sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR) |
5135 | + | |
5136 | for i = 0,70,0.1 do | |
5137 | - | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1) |
5137 | + | |
5138 | orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5) | |
5139 | - | CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1) |
5139 | + | |
5140 | - | CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1) |
5140 | + | |
5141 | kan.Pitch = kan.Pitch - 0.00070 | |
5142 | bosschatfunc("I'm sorry I have to do this...",MAINRUINCOLOR.Color,2) | |
5143 | - | 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) |
5143 | + | |
5144 | - | 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) |
5144 | + | |
5145 | - | 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) |
5145 | + | |
5146 | - | 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) |
5146 | + | |
5147 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) | |
5148 | - | sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) |
5148 | + | |
5149 | - | sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) |
5149 | + | |
5150 | - | sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) |
5150 | + | kan.Pitch = 0.6 |
5151 | - | sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) |
5151 | + | |
5152 | - | sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) |
5152 | + | |
5153 | - | sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) |
5153 | + | |
5154 | - | sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
5154 | + | |
5155 | - | sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
5155 | + | |
5156 | - | sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
5156 | + | |
5157 | - | sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
5157 | + | |
5158 | - | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
5158 | + | |
5159 | - | sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
5159 | + | |
5160 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5161 | - | PixelBlock(1,math.random(50,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0) |
5161 | + | |
5162 | - | PixelBlock(2,math.random(250,1000),"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,10,0.2,MAINRUINCOLOR,0) |
5162 | + | |
5163 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5164 | - | for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do |
5164 | + | |
5165 | eff.Speed = NumberRange.new(600,1250) | |
5166 | eff.Drag = 5 | |
5167 | eff.Rotation = NumberRange.new(-500,500) | |
5168 | eff.VelocitySpread = 9000 | |
5169 | - | MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal") |
5169 | + | |
5170 | - | sbs:Destroy() |
5170 | + | |
5171 | eff.Enabled = false | |
5172 | end)) | |
5173 | for i = 0,5,0.1 do | |
5174 | swait() | |
5175 | bosschatfunc("...This will kill me... But I don't care...",MAINRUINCOLOR.Color,2) | |
5176 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
5177 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
5178 | - | bosschatfunc("THIS IS...",MAINRUINCOLOR.Color,1) |
5178 | + | |
5179 | - | CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1) |
5179 | + | |
5180 | - | CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1) |
5180 | + | |
5181 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1) |
5181 | + | |
5182 | - | CFuncs["Sound"].Create("rbxassetid://2556945475", root, 5, 1) |
5182 | + | |
5183 | local adsc = 0 | |
5184 | local radiatezone = 0 | |
5185 | for i = 0,20,0.1 do | |
5186 | swait() | |
5187 | adsc = adsc + 0.025 | |
5188 | radiatezone = radiatezone + 1.25 | |
5189 | for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do | |
5190 | if v:FindFirstChild('Head') then | |
5191 | dmg(v) | |
5192 | end | |
5193 | end | |
5194 | bosschatfunc("Goodbye...",MAINRUINCOLOR.Color,2) | |
5195 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
5196 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
5197 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
5198 | - | CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1) |
5198 | + | |
5199 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1) |
5199 | + | |
5200 | - | bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,1) |
5200 | + | |
5201 | - | CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1) |
5201 | + | |
5202 | - | CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1) |
5202 | + | |
5203 | CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9) | |
5204 | end | |
5205 | for i = 0,40,0.1 do | |
5206 | swait() | |
5207 | adsc = adsc + 0.05 | |
5208 | radiatezone = radiatezone + 2.5 | |
5209 | for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do | |
5210 | if v:FindFirstChild('Head') then | |
5211 | dmg(v) | |
5212 | end | |
5213 | end | |
5214 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
5215 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
5216 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
5217 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
5218 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) | |
5219 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2) | |
5220 | end | |
5221 | for i = 0,4 do | |
5222 | CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75) | |
5223 | CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75) | |
5224 | end | |
5225 | for i = 0,80,0.1 do | |
5226 | swait() | |
5227 | adsc = adsc + 0.075 | |
5228 | radiatezone = radiatezone + 3.75 | |
5229 | sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR) | |
5230 | for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do | |
5231 | if v:FindFirstChild('Head') then | |
5232 | dmg(v) | |
5233 | end | |
5234 | end | |
5235 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
5236 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
5237 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2) | |
5238 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
5239 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) | |
5240 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2) | |
5241 | end | |
5242 | hite:Destroy() | |
5243 | char:BreakJoints() | |
5244 | duringend = false | |
5245 | hum.WalkSpeed = storehumanoidWS | |
5246 | attack = false | |
5247 | end | |
5248 | ||
5249 | ||
5250 | function ChaosEND() | |
5251 | attack = true | |
5252 | local speedearn = 0 | |
5253 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5) | |
5254 | for i = 0, 15, 0.1 do | |
5255 | swait() | |
5256 | speedearn = speedearn + 0.25 | |
5257 | 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))),25,25,10*speedearn,-0.25,BrickColor.random(),0) | |
5258 | 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))),25,25,10*speedearn,-0.25,BrickColor.random(),0) | |
5259 | 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))),25,25,10*speedearn,-0.25,BrickColor.random(),0) | |
5260 | 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))),25,25,10*speedearn,-0.25,BrickColor.random(),0) | |
5261 | 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))),25,25,10*speedearn,-0.25,BrickColor.random(),0) | |
5262 | 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) | |
5263 | 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) | |
5264 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
5265 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
5266 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
5267 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
5268 | end | |
5269 | CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1) | |
5270 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1) | |
5271 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75) | |
5272 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5) | |
5273 | CameraEnshaking(5,25) | |
5274 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
5275 | if v:FindFirstChild('Head') then | |
5276 | dmg(v) | |
5277 | end | |
5278 | end | |
5279 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random()) | |
5280 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random()) | |
5281 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random()) | |
5282 | for i = 0, 3, 0.1 do | |
5283 | swait() | |
5284 | 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))),25,25,250,-0.25,BrickColor.random(),0) | |
5285 | 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))),25,25,250,-0.25,BrickColor.random(),0) | |
5286 | 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))),25,25,250,-0.25,BrickColor.random(),0) | |
5287 | 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))),25,25,250,-0.25,BrickColor.random(),0) | |
5288 | 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) | |
5289 | 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) | |
5290 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
5291 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
5292 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
5293 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
5294 | end | |
5295 | attack = false | |
5296 | end | |
5297 | ||
5298 | function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon) | |
5299 | local orb = Instance.new("Part", char) | |
5300 | orb.Anchored = true | |
5301 | orb.BrickColor = color | |
5302 | orb.CanCollide = false | |
5303 | orb.FormFactor = 3 | |
5304 | orb.Name = "Ring" | |
5305 | orb.Material = "Neon" | |
5306 | orb.Size = Vector3.new(1, 1, 1) | |
5307 | orb.Transparency = 0 | |
5308 | orb.TopSurface = 0 | |
5309 | orb.BottomSurface = 0 | |
5310 | local orbm = Instance.new("SpecialMesh", orb) | |
5311 | orbm.MeshType = "Sphere" | |
5312 | - | 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(0)),.2) |
5312 | + | |
5313 | - | 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(0)),.2) |
5313 | + | |
5314 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
5314 | + | |
5315 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1) | |
5316 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2) |
5316 | + | |
5317 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2) |
5317 | + | |
5318 | 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) | |
5319 | end]]-- | |
5320 | coroutine.resume(coroutine.create(function() | |
5321 | wait(timer) | |
5322 | - | local power = 7 |
5322 | + | |
5323 | orb.Transparency = 1 | |
5324 | MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal") | |
5325 | - | bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1) |
5325 | + | |
5326 | --[[for i = 0, 4 do | |
5327 | - | bosschatfunc("SWAMP!!",MAINRUINCOLOR.Color,1) |
5327 | + | |
5328 | end]]-- | |
5329 | - | bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1) |
5329 | + | |
5330 | wait(3) | |
5331 | - | CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1) |
5331 | + | |
5332 | end)) | |
5333 | end | |
5334 | - | RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(15),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.15) |
5334 | + | |
5335 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(15),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.15) |
5335 | + | |
5336 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15) |
5336 | + | |
5337 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15) |
5337 | + | |
5338 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15) |
5338 | + | |
5339 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15) |
5339 | + | |
5340 | orb.BrickColor = BrickColor.new("White") | |
5341 | - | CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1) |
5341 | + | |
5342 | - | CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1) |
5342 | + | |
5343 | end | |
5344 | orb.CanCollide = false | |
5345 | orb.FormFactor = 3 | |
5346 | orb.Name = "Ring" | |
5347 | orb.Material = "Neon" | |
5348 | orb.Size = Vector3.new(1, 1, 1) | |
5349 | orb.Transparency = 0 | |
5350 | orb.TopSurface = 0 | |
5351 | orb.BottomSurface = 0 | |
5352 | local orbm = Instance.new("SpecialMesh", orb) | |
5353 | orbm.MeshType = "Sphere" | |
5354 | orb.CFrame = positted | |
5355 | orbm.Name = "SizeMesh" | |
5356 | orbm.Scale = vt(1,1,1) | |
5357 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1) | |
5358 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor) | |
5359 | for i = 0, 2 do | |
5360 | 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) | |
5361 | end | |
5362 | coroutine.resume(coroutine.create(function() | |
5363 | wait(timer) | |
5364 | CameraEnshaking(3,2) | |
5365 | orb.Transparency = 1 | |
5366 | MagniDamage(orb, 17.5, 10,50, 0, "Normal") | |
5367 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor) | |
5368 | for i = 0, 4 do | |
5369 | 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) | |
5370 | end | |
5371 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7) | |
5372 | wait(3) | |
5373 | orb:Destroy() | |
5374 | end)) | |
5375 | end | |
5376 | ||
5377 | function scattercorrupt() | |
5378 | attack = true | |
5379 | local rot = 0 | |
5380 | local randomrotations = math.random(1,2) | |
5381 | local lookv = 2.5 | |
5382 | local power = 5 | |
5383 | sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple")) | |
5384 | sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple")) | |
5385 | for i = 0, 9 do | |
5386 | 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) | |
5387 | end | |
5388 | CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6) | |
5389 | CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5) | |
5390 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1) | |
5391 | CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75) | |
5392 | CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5) | |
5393 | local hite = Instance.new("Part", char) | |
5394 | - | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1) |
5394 | + | |
5395 | - | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1) |
5395 | + | |
5396 | - | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1) |
5396 | + | |
5397 | - | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1) |
5397 | + | |
5398 | hite.Material = "Neon" | |
5399 | hite.Size = Vector3.new(1, 1, 1) | |
5400 | - | wait(2) |
5400 | + | |
5401 | hite.TopSurface = 0 | |
5402 | hite.BottomSurface = 0 | |
5403 | hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0) | |
5404 | local rem = Instance.new("Part", char) | |
5405 | rem.Anchored = true | |
5406 | rem.CanCollide = false | |
5407 | rem.FormFactor = 3 | |
5408 | rem.Name = "Ring" | |
5409 | - | bosschatfunc("YAAAAAHHHHHHH!",MAINRUINCOLOR.Color,1) |
5409 | + | |
5410 | - | CFuncs["Sound"].Create("rbxassetid://430315987", root, 1, 1,0,10,0.25,0.25,1) |
5410 | + | |
5411 | rem.Transparency = 1 | |
5412 | rem.TopSurface = 0 | |
5413 | rem.BottomSurface = 0 | |
5414 | rem.CFrame = hite.CFrame | |
5415 | local rem2 = rem:Clone() | |
5416 | rem2.Parent = char | |
5417 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
5418 | local rem3 = rem:Clone() | |
5419 | rem3.Parent = char | |
5420 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
5421 | local rem4 = rem:Clone() | |
5422 | rem4.Parent = char | |
5423 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
5424 | hite:Destroy() | |
5425 | coroutine.resume(coroutine.create(function() | |
5426 | for i = 0, 24 do | |
5427 | swait(1) | |
5428 | if randomrotations == 1 then | |
5429 | rot = rot + 1 | |
5430 | elseif randomrotations == 2 then | |
5431 | rot = rot - 1 | |
5432 | end | |
5433 | power = power + 0.5 | |
5434 | lookv = lookv + 7.5 | |
5435 | rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
5436 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
5437 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
5438 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
5439 | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
5440 | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
5441 | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
5442 | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
5443 | end | |
5444 | end)) | |
5445 | attack = false | |
5446 | end | |
5447 | function yinyangi() | |
5448 | attack = true | |
5449 | for i = 0, 2, 0.1 do | |
5450 | swait() | |
5451 | 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) | |
5452 | 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) | |
5453 | 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) | |
5454 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
5455 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2) | |
5456 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
5457 | end | |
5458 | local bv = Instance.new("BodyVelocity") | |
5459 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5460 | bv.velocity = root.CFrame.lookVector*175 | |
5461 | bv.Parent = root | |
5462 | for Rotations = 0, 9 do | |
5463 | for i = 0, 1, 0.5 do | |
5464 | swait() | |
5465 | bv.velocity = root.CFrame.lookVector*175 | |
5466 | 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) | |
5467 | 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) | |
5468 | 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) | |
5469 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
5470 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
5471 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
5472 | end | |
5473 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
5474 | for i = 0, 1, 0.5 do | |
5475 | swait() | |
5476 | bv.velocity = root.CFrame.lookVector*175 | |
5477 | 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) | |
5478 | 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) | |
5479 | 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) | |
5480 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
5481 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
5482 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
5483 | end | |
5484 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
5485 | for i = 0, 1, 0.5 do | |
5486 | swait() | |
5487 | bv.velocity = root.CFrame.lookVector*175 | |
5488 | 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) | |
5489 | 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) | |
5490 | 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) | |
5491 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
5492 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
5493 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
5494 | end | |
5495 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
5496 | for i = 0, 1, 0.5 do | |
5497 | swait() | |
5498 | bv.velocity = root.CFrame.lookVector*175 | |
5499 | 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) | |
5500 | 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) | |
5501 | 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) | |
5502 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
5503 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
5504 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
5505 | end | |
5506 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
5507 | end | |
5508 | bv:Destroy() | |
5509 | attack = false | |
5510 | end | |
5511 | ||
5512 | function createBGCircle(size,parent,color) | |
5513 | local bgui = Instance.new("BillboardGui",parent) | |
5514 | bgui.Size = UDim2.new(size, 0, size, 0) | |
5515 | local imgc = Instance.new("ImageLabel",bgui) | |
5516 | imgc.BackgroundTransparency = 1 | |
5517 | imgc.ImageTransparency = 0 | |
5518 | imgc.Size = UDim2.new(1,0,1,0) | |
5519 | imgc.Image = "rbxassetid://997291547" --997291547,521073910 | |
5520 | imgc.ImageColor3 = color | |
5521 | return bgui,imgc | |
5522 | end | |
5523 | ||
5524 | function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay) | |
5525 | local bgui,imgc = createBGCircle(size,guipar,color) | |
5526 | bgui.AlwaysOnTop = true | |
5527 | imgc.Image = "rbxassetid://" ..img | |
5528 | local rrot = math.random(1,2) | |
5529 | CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit) | |
5530 | coroutine.resume(coroutine.create(function() | |
5531 | for i = 0, 24*delay do | |
5532 | swait() | |
5533 | if rotationenabled == true then | |
5534 | if rrot == 1 then | |
5535 | imgc.Rotation = imgc.Rotation + rotsp | |
5536 | elseif rrot == 2 then | |
5537 | imgc.Rotation = imgc.Rotation - rotsp | |
5538 | end | |
5539 | end | |
5540 | bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0) | |
5541 | imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay | |
5542 | end | |
5543 | bgui:Destroy() | |
5544 | end)) | |
5545 | end | |
5546 | function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled) | |
5547 | for i, v in pairs(mw2:GetChildren()) do | |
5548 | if v:IsA("Part") then | |
5549 | v.BrickColor = one | |
5550 | v.Material = "Neon" | |
5551 | end | |
5552 | end | |
5553 | CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1) | |
5554 | symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1) | |
5555 | symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1) | |
5556 | tr1.Color = ColorSequence.new(one.Color) | |
5557 | tr2.Color = ColorSequence.new(one.Color) | |
5558 | tr3.Color = ColorSequence.new(one.Color) | |
5559 | for i, v in pairs(mw1:GetChildren()) do | |
5560 | if v:IsA("Part") then | |
5561 | if secondaryenabled == false then | |
5562 | - | v.Transparency = exonetran |
5562 | + | |
5563 | - | v.BrickColor = exone |
5563 | + | |
5564 | v.Transparency = 0 | |
5565 | end | |
5566 | v.BrickColor = two | |
5567 | v.Material = "Neon" | |
5568 | end | |
5569 | - | v.Transparency = extwotran |
5569 | + | |
5570 | - | v.BrickColor = extwo |
5570 | + | |
5571 | tl1.Enabled = false | |
5572 | tl2.Enabled = false | |
5573 | tl3.Enabled = false | |
5574 | elseif secondaryenabled == true then | |
5575 | tl1.Enabled = true | |
5576 | tl2.Enabled = true | |
5577 | tl3.Enabled = true | |
5578 | end | |
5579 | tl1.Color = ColorSequence.new(two.Color) | |
5580 | - | CFuncs["Sound"].Create("rbxassetid://2556945475", root, 35, 1.25) |
5580 | + | |
5581 | - | bosschatfunc("YOUR EXISTANCE IS WASTED!!!!!!",MAINRUINCOLOR.Color,1) |
5581 | + | |
5582 | for i, v in pairs(m:GetChildren()) do | |
5583 | if v:IsA("Part") then | |
5584 | v.BrickColor = three | |
5585 | v.Material = "Ice" | |
5586 | end | |
5587 | end | |
5588 | for i, v in pairs(m2:GetChildren()) do | |
5589 | if v:IsA("Part") then | |
5590 | v.BrickColor = four | |
5591 | v.Material = "Ice" | |
5592 | end | |
5593 | end | |
5594 | for i, v in pairs(m3:GetChildren()) do | |
5595 | if v:IsA("Part") then | |
5596 | v.BrickColor = five | |
5597 | v.Material = "Neon" | |
5598 | end | |
5599 | end | |
5600 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5601 | if v:IsA("Part") then | |
5602 | v.Transparency = 1 | |
5603 | v.BrickColor = BrickColor.new("Royal purple") | |
5604 | - | newTheme("rbxassetid://614032233",48.6,1,1.25) |
5604 | + | |
5605 | end | |
5606 | end | |
5607 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5608 | if v:IsA("Part") then | |
5609 | v.Transparency = 1 | |
5610 | v.BrickColor = BrickColor.new("Royal purple") | |
5611 | v.Material = "Neon" | |
5612 | end | |
5613 | end | |
5614 | end | |
5615 | ||
5616 | ||
5617 | function normalmog() | |
5618 | attack = true | |
5619 | hum.WalkSpeed = 0 | |
5620 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25) | |
5621 | for i = 0,6,0.1 do | |
5622 | swait() | |
5623 | 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) | |
5624 | slash(math.random(30,60)/10,5,true,"Round","Add","In",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.01,0.5),-0.5,MAINRUINCOLOR) | |
5625 | 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) | |
5626 | 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) | |
5627 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
5628 | 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) | |
5629 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5630 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5631 | end | |
5632 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1) | |
5633 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1) | |
5634 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1) | |
5635 | - | for i = 0,1,0.1 do |
5635 | + | |
5636 | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1) | |
5637 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3) |
5637 | + | |
5638 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3) |
5638 | + | |
5639 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3) |
5639 | + | |
5640 | chaosmode = false | |
5641 | - | 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) |
5641 | + | |
5642 | - | 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) |
5642 | + | |
5643 | newTheme("rbxassetid://1537276744",48.6,1,1.25) | |
5644 | RecolorTextAndRename("STAR",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique") | |
5645 | CameraEnshaking(5,2.5) | |
5646 | MAINRUINCOLOR = BrickColor.new("Royal purple") | |
5647 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5648 | for i = 0, 49 do | |
5649 | 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) | |
5650 | end | |
5651 | for i = 0, 24 do | |
5652 | sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR) | |
5653 | slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,BrickColor.new("White")) | |
5654 | end | |
5655 | for i = 0,3,0.1 do | |
5656 | 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) | |
5657 | end | |
5658 | - | hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook |
5658 | + | |
5659 | - | sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR) |
5659 | + | |
5660 | - | sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR) |
5660 | + | |
5661 | - | MagniDamage(hite, 10, 15,35, 0, "Normal") |
5661 | + | |
5662 | 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)),.5) | |
5663 | - | 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) |
5663 | + | |
5664 | - | 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) |
5664 | + | |
5665 | - | 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) |
5665 | + | |
5666 | 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))),.5) | |
5667 | - | CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1) |
5667 | + | |
5668 | - | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6) |
5668 | + | |
5669 | attack = false | |
5670 | end | |
5671 | ||
5672 | function attackone() | |
5673 | attack = true | |
5674 | local keptcolor = MAINRUINCOLOR | |
5675 | for i = 0,1,0.1 do | |
5676 | swait() | |
5677 | - | for i = 0,1,0.1 do |
5677 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3) |
5678 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3) | |
5679 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3) |
5679 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3) |
5680 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) |
5680 | + | |
5681 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3) |
5681 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3) |
5682 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3) |
5682 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3) |
5683 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10)),.3) |
5683 | + | |
5684 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.3) |
5684 | + | |
5685 | coroutine.resume(coroutine.create(function() | |
5686 | - | CameraEnshaking(3,4) |
5686 | + | |
5687 | - | MagniDamage(root, 12, 15,30, 0, "Normal") |
5687 | + | |
5688 | - | sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR) |
5688 | + | |
5689 | - | sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR) |
5689 | + | |
5690 | - | sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR) |
5690 | + | |
5691 | hite.CanCollide = false | |
5692 | - | local eff = Instance.new("ParticleEmitter",root) |
5692 | + | |
5693 | hite.Name = "Ring" | |
5694 | hite.Material = "Neon" | |
5695 | hite.Size = Vector3.new(1, 1, 1) | |
5696 | hite.Transparency = 1 | |
5697 | hite.TopSurface = 0 | |
5698 | - | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)}) |
5698 | + | |
5699 | - | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)}) |
5699 | + | hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook) |
5700 | - | eff.Speed = NumberRange.new(10,125) |
5700 | + | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor) |
5701 | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor) | |
5702 | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor) | |
5703 | sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor) | |
5704 | MagniDamage(hite, 9, 10,25, 0, "Normal") | |
5705 | for i = 0, 14 do | |
5706 | - | eff2.Parent = root |
5706 | + | |
5707 | - | eff2.Texture = "rbxassetid://284205403" |
5707 | + | sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0) |
5708 | - | eff2.Rate = 10000 |
5708 | + | |
5709 | - | eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)}) |
5709 | + | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1) |
5710 | - | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)}) |
5710 | + | CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1) |
5711 | - | eff2.Drag = 5 |
5711 | + | |
5712 | - | eff2.Speed = NumberRange.new(10,50) |
5712 | + | |
5713 | - | eff2.Rotation = NumberRange.new(-500,500) |
5713 | + | |
5714 | - | eff2.VelocitySpread = 9000 |
5714 | + | |
5715 | for i = 0,1,0.1 do | |
5716 | swait() | |
5717 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5) | |
5718 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5) | |
5719 | - | eff2:Destroy() |
5719 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5) |
5720 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5) | |
5721 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5) | |
5722 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5) | |
5723 | - | sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR) |
5723 | + | |
5724 | attack = false | |
5725 | end | |
5726 | ||
5727 | - | sphereMK(math.random(1,5),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0) |
5727 | + | |
5728 | attack = true | |
5729 | - | CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1) |
5729 | + | |
5730 | - | CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1) |
5730 | + | |
5731 | - | CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1) |
5731 | + | |
5732 | - | for i = 0,2,0.1 do |
5732 | + | sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color) |
5733 | sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color) | |
5734 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3) |
5734 | + | |
5735 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) |
5735 | + | |
5736 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3) |
5736 | + | |
5737 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3) |
5737 | + | |
5738 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.3) |
5738 | + | |
5739 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3) |
5739 | + | |
5740 | 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(30),math.rad(0)),.3) | |
5741 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
5742 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3) | |
5743 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) | |
5744 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3) | |
5745 | end | |
5746 | for i = 0, 1 do | |
5747 | - | CFuncs["Sound"].Create("rbxassetid://1042700914", root, 2, 1.75) |
5747 | + | CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1) |
5748 | - | for i = 0,1,0.1 do |
5748 | + | |
5749 | swait() | |
5750 | - | sphere2(6,"Add",root.CFrame + root.CFrame.lookVector*2.5,vt(3,3,3),0.01,0.01,0.01,MAINRUINCOLOR) |
5750 | + | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
5751 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5) |
5751 | + | |
5752 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5) |
5752 | + | |
5753 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(-40)), 0.5) |
5753 | + | |
5754 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.5) |
5754 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) |
5755 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5) |
5755 | + | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) |
5756 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5) |
5756 | + | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) |
5757 | end | |
5758 | - | CFuncs["Sound"].Create("rbxassetid://1042705869", root, 1.5, 0.9) |
5758 | + | |
5759 | - | CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 0.9) |
5759 | + | |
5760 | - | local angle = -25 |
5760 | + | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
5761 | RH.C0=clerp(RH.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(-5)),.6) | |
5762 | 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(30),math.rad(0)),.6) | |
5763 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6) | |
5764 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) | |
5765 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) | |
5766 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) | |
5767 | end | |
5768 | for i = 0,1,0.6 do | |
5769 | swait() | |
5770 | - | orb.Transparency = 0.5 |
5770 | + | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) |
5771 | RH.C0=clerp(RH.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(-5)),.6) | |
5772 | 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(30),math.rad(0)),.6) | |
5773 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6) | |
5774 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) | |
5775 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) | |
5776 | - | orbm.Scale = vt(3,3,3) |
5776 | + | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) |
5777 | - | orb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(angle),0) + root.CFrame.lookVector*2.5 |
5777 | + | |
5778 | for i = 0,1,0.6 do | |
5779 | swait() | |
5780 | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) | |
5781 | RH.C0=clerp(RH.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(-5)),.6) | |
5782 | 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(30),math.rad(0)),.6) | |
5783 | - | sphere2(6,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor) |
5783 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6) |
5784 | - | sphere2(9,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor) |
5784 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6) |
5785 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6) | |
5786 | - | MagniDamage(orb, 6, 8,15, 0, "Normal") |
5786 | + | LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6) |
5787 | - | for i = 0, 7 do |
5787 | + | |
5788 | - | swait(2.5) |
5788 | + | |
5789 | - | CameraEnshaking(1,2) |
5789 | + | local dis = CreateParta(char,0.5,1,"Neon",keptcolor) |
5790 | - | MagniDamage(orb, 6, 8,15, 0, "Normal") |
5790 | + | |
5791 | - | CFuncs["Sound"].Create("rbxassetid://1042693018", orb, 1.5, 1.5) |
5791 | + | |
5792 | CreateMesh(dis,"Sphere",10,1,10) | |
5793 | - | local rsiz = math.random(5,10) |
5793 | + | |
5794 | - | sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,1,0.5),-0.0025,0.25,-0.0025,keptcolor) |
5794 | + | |
5795 | - | sphereMK(math.random(2,6),0.15,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0) |
5795 | + | |
5796 | at2.Position = vt(5,0,0) | |
5797 | - | sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor) |
5797 | + | |
5798 | - | sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor) |
5798 | + | |
5799 | trl.Attachment1 = at2 | |
5800 | trl.Texture = "rbxassetid://1049219073" | |
5801 | trl.LightEmission = 1 | |
5802 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
5803 | trl.Color = ColorSequence.new(dis.Color) | |
5804 | trl.Lifetime = 0.6 | |
5805 | - | angle = angle + 25 |
5805 | + | |
5806 | a.Name = "Direction" | |
5807 | a.Anchored = true | |
5808 | - | for i = 0,1,0.1 do |
5808 | + | |
5809 | a.Material = "Neon" | |
5810 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3) |
5810 | + | |
5811 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) |
5811 | + | |
5812 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.3) |
5812 | + | |
5813 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3) |
5813 | + | dis.CFrame.p, -- origin |
5814 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.3) |
5814 | + | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction |
5815 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3) |
5815 | + | |
5816 | local ignore = dis | |
5817 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
5818 | a.BottomSurface = 10 | |
5819 | a.TopSurface = 10 | |
5820 | local distance = (dis.CFrame.p - position).magnitude | |
5821 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
5822 | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) | |
5823 | dis.CFrame = a.CFrame | |
5824 | dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
5825 | a:Destroy() | |
5826 | local bv = Instance.new("BodyVelocity") | |
5827 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5828 | - | bosschatfunc("I AM THE MIGHTIEST!!",MAINRUINCOLOR.Color,1) |
5828 | + | |
5829 | - | CFuncs["EchoSound"].Create("rbxassetid://357202141", char, 1.5, 1,0,10,0.15,0.5,1) |
5829 | + | |
5830 | - | CFuncs["EchoSound"].Create("rbxassetid://357202141", root, 10, 1,0,10,0.15,0.5,1) |
5830 | + | |
5831 | - | CFuncs["Sound"].Create("rbxassetid://2556945475", root, 2.5,1) |
5831 | + | |
5832 | coroutine.resume(coroutine.create(function() | |
5833 | dis.Touched:connect(function(hit) | |
5834 | if hitted == false and hit.Parent ~= char then | |
5835 | hitted = true | |
5836 | CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1) | |
5837 | MagniDamage(dis, 30, 33,56, 0, "Normal") | |
5838 | sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color) | |
5839 | sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) | |
5840 | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) | |
5841 | coroutine.resume(coroutine.create(function() | |
5842 | for i = 0, 9 do | |
5843 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
5844 | disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
5845 | local at1 = Instance.new("Attachment",disr) | |
5846 | at1.Position = vt(-5,0,0) | |
5847 | local at2 = Instance.new("Attachment",disr) | |
5848 | at2.Position = vt(5,0,0) | |
5849 | local trl = Instance.new('Trail',disr) | |
5850 | trl.Attachment0 = at1 | |
5851 | - | bosschatfunc("I AM THE MIGHTIEST!!!",MAINRUINCOLOR.Color,2) |
5851 | + | |
5852 | trl.Attachment1 = at2 | |
5853 | - | bosschatfunc("I AM THE MIGHTIEST!!!",MAINRUINCOLOR.Color,2) |
5853 | + | |
5854 | trl.LightEmission = 1 | |
5855 | - | bosschatfunc("I AM THE MIGHTIEST!!!",MAINRUINCOLOR.Color,2) |
5855 | + | |
5856 | trl.Color = ColorSequence.new(keptcolor.Color) | |
5857 | trl.Lifetime = 0.5 | |
5858 | local bv = Instance.new("BodyVelocity") | |
5859 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5860 | bv.velocity = disr.CFrame.lookVector*math.random(50,200) | |
5861 | bv.Parent = disr | |
5862 | local val = 0 | |
5863 | coroutine.resume(coroutine.create(function() | |
5864 | swait(30) | |
5865 | for i = 0, 9 do | |
5866 | - | CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1) |
5866 | + | |
5867 | - | CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1) |
5867 | + | val = val + 0.1 |
5868 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)}) | |
5869 | end | |
5870 | game:GetService("Debris"):AddItem(disr, 3) | |
5871 | end)) | |
5872 | end | |
5873 | local eff = Instance.new("ParticleEmitter",dis) | |
5874 | eff.Texture = "rbxassetid://2273224484" | |
5875 | eff.LightEmission = 1 | |
5876 | eff.Color = ColorSequence.new(keptcolor.Color) | |
5877 | eff.Rate = 50 | |
5878 | eff.Lifetime = NumberRange.new(0.5,2) | |
5879 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5880 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5881 | eff.Speed = NumberRange.new(20,250) | |
5882 | eff.Drag = 5 | |
5883 | eff.Rotation = NumberRange.new(-500,500) | |
5884 | eff.VelocitySpread = 9000 | |
5885 | - | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1) |
5885 | + | |
5886 | - | CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1) |
5886 | + | |
5887 | eff.Enabled = false | |
5888 | - | CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1) |
5888 | + | |
5889 | for i = 0, 9 do | |
5890 | - | CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1) |
5890 | + | |
5891 | for i = 0, 19 do | |
5892 | end | |
5893 | coroutine.resume(coroutine.create(function() | |
5894 | for i = 0, 19 do | |
5895 | swait() | |
5896 | hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70) | |
5897 | end | |
5898 | hum.CameraOffset = vt(0,0,0) | |
5899 | end)) | |
5900 | dis.Anchored = true | |
5901 | dis.Transparency = 1 | |
5902 | wait(8) | |
5903 | dis:Destroy() | |
5904 | end | |
5905 | end) | |
5906 | end)) | |
5907 | rot = rot - 15 | |
5908 | end | |
5909 | for i = 0,2,0.1 do | |
5910 | swait() | |
5911 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3) | |
5912 | 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(5)),.3) | |
5913 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) | |
5914 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3) | |
5915 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3) | |
5916 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3) | |
5917 | end | |
5918 | attack = false | |
5919 | hum.WalkSpeed = storehumanoidWS | |
5920 | end | |
5921 | ||
5922 | function attackthree() | |
5923 | attack = true | |
5924 | local keptcolor = MAINRUINCOLOR | |
5925 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5) | |
5926 | for i = 0,2,0.1 do | |
5927 | swait() | |
5928 | sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
5929 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3) | |
5930 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3) | |
5931 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3) | |
5932 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3) | |
5933 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-50),math.rad(-10)),.3) | |
5934 | 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(40)),.3) | |
5935 | end | |
5936 | CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1) | |
5937 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9) | |
5938 | CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5) | |
5939 | CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1) | |
5940 | sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR) | |
5941 | sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR) | |
5942 | for i = 0, 24 do | |
5943 | end | |
5944 | for i = 0,4,0.1 do | |
5945 | swait() | |
5946 | root.CFrame = root.CFrame + root.CFrame.lookVector*5 | |
5947 | local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR) | |
5948 | CreateMesh(dis,"Sphere",1,1,1) | |
5949 | dis.Anchored = true | |
5950 | dis.CFrame = larm.CFrame*CFrame.new(0,-3,0) | |
5951 | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color) | |
5952 | coroutine.resume(coroutine.create(function() | |
5953 | swait(30) | |
5954 | dis.Transparency = 1 | |
5955 | coroutine.resume(coroutine.create(function() | |
5956 | for i = 0, 19 do | |
5957 | swait() | |
5958 | hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40) | |
5959 | end | |
5960 | hum.CameraOffset = vt(0,0,0) | |
5961 | end)) | |
5962 | coroutine.resume(coroutine.create(function() | |
5963 | local eff = Instance.new("ParticleEmitter",dis) | |
5964 | eff.Texture = "rbxassetid://2273224484" | |
5965 | eff.LightEmission = 1 | |
5966 | eff.Color = ColorSequence.new(dis.Color) | |
5967 | eff.Rate = 500000 | |
5968 | eff.Lifetime = NumberRange.new(0.5,2) | |
5969 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5970 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5971 | eff.Speed = NumberRange.new(50,450) | |
5972 | eff.Drag = 5 | |
5973 | eff.Rotation = NumberRange.new(-500,500) | |
5974 | eff.VelocitySpread = 9000 | |
5975 | eff.RotSpeed = NumberRange.new(-50,50) | |
5976 | wait(0.125) | |
5977 | eff.Enabled = false | |
5978 | end)) | |
5979 | MagniDamage(dis, 30, 45,50, 0, "Normal") | |
5980 | for i = 0, 2 do | |
5981 | --slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,150)/250,dis.BrickColor) | |
5982 | end | |
5983 | CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1) | |
5984 | CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5) | |
5985 | CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65) | |
5986 | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color) | |
5987 | end)) | |
5988 | game:GetService("Debris"):AddItem(dis, 5) | |
5989 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5) | |
5990 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5) | |
5991 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5) | |
5992 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5) | |
5993 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-8),math.rad(0),math.rad(-20)),.5) | |
5994 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(9),math.rad(0),math.rad(20)),.5) | |
5995 | end | |
5996 | attack = false | |
5997 | end | |
5998 | ----------------------------------- Abilities | |
5999 | ||
6000 | function ExtinctiveHeartbreak() | |
6001 | local targetted = nil | |
6002 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
6003 | targetted = mouse.Target.Parent | |
6004 | - | bosschatfunc("I'LL CRUSH YOU!",MAINRUINCOLOR.Color,1) |
6004 | + | |
6005 | - | CFuncs["EchoSound"].Create("rbxassetid://358080519", char, 1.5, 1,0,10,0.15,0.5,1) |
6005 | + | |
6006 | - | CFuncs["EchoSound"].Create("rbxassetid://358080519", root, 10, 1,0,10,0.15,0.5,1) |
6006 | + | |
6007 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
6008 | for i = 0, 9 do | |
6009 | 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 red"),0) | |
6010 | end | |
6011 | for i = 0, 24 do | |
6012 | 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 red"),0) | |
6013 | end | |
6014 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red")) | |
6015 | local originalpos = root.CFrame | |
6016 | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2) | |
6017 | for i = 0, 9 do | |
6018 | 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 red"),0) | |
6019 | end | |
6020 | for i = 0, 24 do | |
6021 | 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 red"),0) | |
6022 | end | |
6023 | hum.WalkSpeed = 0 | |
6024 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red")) | |
6025 | local radm = math.random(1,3) | |
6026 | if radm == 1 then | |
6027 | bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2) | |
6028 | elseif radm == 2 then | |
6029 | bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2) | |
6030 | elseif radm == 3 then | |
6031 | bosschatfunc("DIE!",MAINRUINCOLOR.Color,2) | |
6032 | end | |
6033 | for i = 0,2,0.1 do | |
6034 | swait() | |
6035 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10),math.rad(0)),.4) | |
6036 | 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) | |
6037 | 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) | |
6038 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8) | |
6039 | 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) | |
6040 | 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) | |
6041 | end | |
6042 | CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1) | |
6043 | CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1) | |
6044 | for i = 0,2,0.1 do | |
6045 | swait() | |
6046 | coroutine.resume(coroutine.create(function() | |
6047 | targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0) | |
6048 | for i,v in pairs(targetted:GetChildren()) do | |
6049 | if v:IsA("Part") or v:IsA("MeshPart") then | |
6050 | v.Velocity = vt(0,0,0) | |
6051 | end | |
6052 | end | |
6053 | end)) | |
6054 | 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) | |
6055 | 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(10),math.rad(0)),.8) | |
6056 | 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) | |
6057 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8) | |
6058 | 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) | |
6059 | 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) | |
6060 | end | |
6061 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1) | |
6062 | CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1) | |
6063 | for i = 0, 1 do | |
6064 | CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1) | |
6065 | end | |
6066 | CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1) | |
6067 | --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75) | |
6068 | for i = 0,4,0.1 do | |
6069 | swait() | |
6070 | coroutine.resume(coroutine.create(function() | |
6071 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
6072 | dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
6073 | local at1 = Instance.new("Attachment",dis) | |
6074 | at1.Position = vt(-25000,0,0) | |
6075 | local at2 = Instance.new("Attachment",dis) | |
6076 | at2.Position = vt(25000,0,0) | |
6077 | local trl = Instance.new('Trail',dis) | |
6078 | trl.Attachment0 = at1 | |
6079 | trl.FaceCamera = true | |
6080 | trl.Attachment1 = at2 | |
6081 | trl.Texture = "rbxassetid://1049219073" | |
6082 | trl.LightEmission = 1 | |
6083 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
6084 | trl.Color = ColorSequence.new(Color3.new(1,0,0)) | |
6085 | trl.Lifetime = 5 | |
6086 | local bv = Instance.new("BodyVelocity") | |
6087 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
6088 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
6089 | bv.Parent = dis | |
6090 | game:GetService("Debris"):AddItem(dis, 5) | |
6091 | targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0) | |
6092 | CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1) | |
6093 | CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1) | |
6094 | CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150) | |
6095 | CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150) | |
6096 | CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75) | |
6097 | sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MAINRUINCOLOR) | |
6098 | targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5) | |
6099 | for i = 0, 2 do | |
6100 | slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,BrickColor.new("Crimson")) | |
6101 | end | |
6102 | symbolizeBlink(targetted.Head,0,2092248396,Color3.new(1,0,0),math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25) | |
6103 | for i,v in pairs(targetted:GetChildren()) do | |
6104 | if v:IsA("Part") or v:IsA("MeshPart") then | |
6105 | v.Velocity = vt(0,0,0) | |
6106 | end | |
6107 | end | |
6108 | end)) | |
6109 | hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25) | |
6110 | 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) | |
6111 | 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(10),math.rad(0)),.8) | |
6112 | 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) | |
6113 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8) | |
6114 | 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(40)),.8) | |
6115 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8) | |
6116 | end | |
6117 | hum.CameraOffset = vt(0,0,0) | |
6118 | for i = 0, 49 do | |
6119 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
6120 | dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
6121 | local at1 = Instance.new("Attachment",dis) | |
6122 | at1.Position = vt(-50000,0,0) | |
6123 | local at2 = Instance.new("Attachment",dis) | |
6124 | at2.Position = vt(50000,0,0) | |
6125 | local trl = Instance.new('Trail',dis) | |
6126 | trl.Attachment0 = at1 | |
6127 | trl.FaceCamera = true | |
6128 | trl.Attachment1 = at2 | |
6129 | trl.Texture = "rbxassetid://1049219073" | |
6130 | trl.LightEmission = 1 | |
6131 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
6132 | trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1)) | |
6133 | trl.Lifetime = 5 | |
6134 | local bv = Instance.new("BodyVelocity") | |
6135 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
6136 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
6137 | bv.Parent = dis | |
6138 | game:GetService("Debris"):AddItem(dis, 5) | |
6139 | end | |
6140 | for i = 0, 49 do | |
6141 | sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MAINRUINCOLOR) | |
6142 | slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,BrickColor.new("Really red")) | |
6143 | end | |
6144 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1) | |
6145 | for i = 0, 1 do | |
6146 | CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9) | |
6147 | CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75) | |
6148 | end | |
6149 | for i = 0, 4 do | |
6150 | CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1) | |
6151 | end | |
6152 | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1) | |
6153 | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2) | |
6154 | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4) | |
6155 | dmg(targetted) | |
6156 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
6157 | for i = 0, 9 do | |
6158 | 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 red"),0) | |
6159 | end | |
6160 | for i = 0, 24 do | |
6161 | 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 red"),0) | |
6162 | end | |
6163 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red")) | |
6164 | root.CFrame = originalpos | |
6165 | for i = 0, 9 do | |
6166 | 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 red"),0) | |
6167 | end | |
6168 | for i = 0, 24 do | |
6169 | 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 red"),0) | |
6170 | end | |
6171 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red")) | |
6172 | attack = false | |
6173 | hum.WalkSpeed = storehumanoidWS | |
6174 | end | |
6175 | end | |
6176 | ||
6177 | function CorruptionEvent() | |
6178 | attack = true | |
6179 | hum.WalkSpeed = 0 | |
6180 | CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1) | |
6181 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1) | |
6182 | local keptcolor = MAINRUINCOLOR | |
6183 | for i = 0,4,0.1 do | |
6184 | swait() | |
6185 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
6186 | block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
6187 | RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5),math.rad(-20)),.1) | |
6188 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1) | |
6189 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1) | |
6190 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1) | |
6191 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1) | |
6192 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1) | |
6193 | end | |
6194 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1) | |
6195 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5) | |
6196 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3) | |
6197 | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1) | |
6198 | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1) | |
6199 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1) | |
6200 | CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1) | |
6201 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1) | |
6202 | coroutine.resume(coroutine.create(function() | |
6203 | local eff = Instance.new("ParticleEmitter",cen) | |
6204 | eff.Texture = "rbxassetid://2344870656" | |
6205 | eff.LightEmission = 1 | |
6206 | eff.Color = ColorSequence.new(keptcolor.Color) | |
6207 | eff.Rate = 10000000 | |
6208 | eff.Enabled = true | |
6209 | eff.EmissionDirection = "Front" | |
6210 | eff.Lifetime = NumberRange.new(2) | |
6211 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)}) | |
6212 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
6213 | - | bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1) |
6213 | + | eff.Speed = NumberRange.new(500) |
6214 | eff.Drag = 5 | |
6215 | - | bosschatfunc("I really don't have a choice...",MAINRUINCOLOR.Color,1) |
6215 | + | |
6216 | eff.SpreadAngle = Vector2.new(0,900) | |
6217 | eff.RotSpeed = NumberRange.new(-500,500) | |
6218 | wait(0.2) | |
6219 | eff.Enabled = false | |
6220 | - | CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 4, 1,0,10,0.15,0.5,1) |
6220 | + | |
6221 | eff:Destroy() | |
6222 | end)) | |
6223 | hum.CameraOffset = vt(0,0,0) | |
6224 | - | PixelBlock(1,math.random(1,3),"Add",larm.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,BrickColor.new(MULTIRUINCOLOR),0) |
6224 | + | |
6225 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
6226 | for i = 0, 24 do | |
6227 | slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black")) | |
6228 | end | |
6229 | local rrot = 0 | |
6230 | coroutine.resume(coroutine.create(function() | |
6231 | for i = 0, 4 do | |
6232 | rrot = rrot + 45 | |
6233 | local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
6234 | xa.Anchored = true | |
6235 | local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
6236 | xb.Anchored = true | |
6237 | local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
6238 | xc.Anchored = true | |
6239 | local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
6240 | xd.Anchored = true | |
6241 | CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75) | |
6242 | CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95) | |
6243 | CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1) | |
6244 | CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75) | |
6245 | CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95) | |
6246 | CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1) | |
6247 | CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75) | |
6248 | CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95) | |
6249 | CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1) | |
6250 | CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75) | |
6251 | CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95) | |
6252 | CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1) | |
6253 | xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75) | |
6254 | xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75) | |
6255 | xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0) | |
6256 | xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0) | |
6257 | MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
6258 | MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
6259 | MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
6260 | MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
6261 | for i = 0, 9 do | |
6262 | slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black")) | |
6263 | slash(math.random(15,50)/10,5,true,"Round","Add","Out",xb.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black")) | |
6264 | slash(math.random(15,50)/10,5,true,"Round","Add","Out",xc.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black")) | |
6265 | slash(math.random(15,50)/10,5,true,"Round","Add","Out",xd.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black")) | |
6266 | end | |
6267 | block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
6268 | block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
6269 | block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
6270 | block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
6271 | sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color) | |
6272 | sphere2(2,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color) | |
6273 | sphere2(2,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color) | |
6274 | sphere2(2,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color) | |
6275 | sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0)) | |
6276 | sphere2(4,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0)) | |
6277 | sphere2(4,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0)) | |
6278 | sphere2(4,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0)) | |
6279 | game:GetService("Debris"):AddItem(xa, 5) | |
6280 | game:GetService("Debris"):AddItem(xb, 5) | |
6281 | game:GetService("Debris"):AddItem(xc, 5) | |
6282 | game:GetService("Debris"):AddItem(xd, 5) | |
6283 | - | local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new(MULTIRUINCOLOR)) |
6283 | + | |
6284 | for i = 0, 19 do | |
6285 | swait() | |
6286 | hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50) | |
6287 | end | |
6288 | hum.CameraOffset = vt(0,0,0) | |
6289 | end)) | |
6290 | swait(9) | |
6291 | end | |
6292 | end)) | |
6293 | for i = 0,2,0.1 do | |
6294 | swait() | |
6295 | RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(10)),.8) | |
6296 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(10)),.8) | |
6297 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8) | |
6298 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8) | |
6299 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8) | |
6300 | - | a.Name = "Direction" |
6300 | + | |
6301 | - | a.Anchored = true |
6301 | + | |
6302 | - | a.BrickColor = bc("Bright red") |
6302 | + | |
6303 | hum.WalkSpeed = storehumanoidWS | |
6304 | end | |
6305 | - | a.CanCollide = false |
6305 | + | |
6306 | - | local ray = Ray.new( |
6306 | + | |
6307 | - | dis.CFrame.p, -- origin |
6307 | + | |
6308 | - | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction |
6308 | + | |
6309 | - | ) |
6309 | + | |
6310 | - | local ignore = dis |
6310 | + | |
6311 | - | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
6311 | + | |
6312 | - | a.BottomSurface = 10 |
6312 | + | |
6313 | - | a.TopSurface = 10 |
6313 | + | |
6314 | - | local distance = (dis.CFrame.p - position).magnitude |
6314 | + | |
6315 | - | a.Size = Vector3.new(0.1, 0.1, 0.1) |
6315 | + | |
6316 | - | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) |
6316 | + | |
6317 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
6318 | block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
6319 | slash(math.random(25,50)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),-0.1,BrickColor.new("Really black")) | |
6320 | RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-15),math.rad(-20)),.1) | |
6321 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1) | |
6322 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1) | |
6323 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1) | |
6324 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1) | |
6325 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1) | |
6326 | end | |
6327 | - | dis.Touched:connect(function(hit) |
6327 | + | |
6328 | - | if hitted == false and hit.Parent ~= char then |
6328 | + | |
6329 | - | hitted = true |
6329 | + | |
6330 | - | CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1) |
6330 | + | |
6331 | - | MagniDamage(dis, 30, 82,34575, 0, "Normal") |
6331 | + | |
6332 | - | sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color) |
6332 | + | |
6333 | - | sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) |
6333 | + | |
6334 | - | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1)) |
6334 | + | local eff = Instance.new("ParticleEmitter",cen) |
6335 | eff.Texture = "rbxassetid://2344870656" | |
6336 | - | for i = 0, 9 do |
6336 | + | |
6337 | eff.Color = ColorSequence.new(keptcolor.Color) | |
6338 | eff.Rate = 10000000 | |
6339 | eff.Enabled = true | |
6340 | eff.EmissionDirection = "Front" | |
6341 | eff.Lifetime = NumberRange.new(2) | |
6342 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)}) | |
6343 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
6344 | eff.Speed = NumberRange.new(500) | |
6345 | eff.Drag = 5 | |
6346 | eff.Rotation = NumberRange.new(-500,500) | |
6347 | eff.SpreadAngle = Vector2.new(0,900) | |
6348 | eff.RotSpeed = NumberRange.new(-500,500) | |
6349 | wait(0.2) | |
6350 | eff.Enabled = false | |
6351 | wait(5) | |
6352 | eff:Destroy() | |
6353 | end)) | |
6354 | coroutine.resume(coroutine.create(function() | |
6355 | local shval = 10 | |
6356 | for i = 0, 99 do | |
6357 | swait() | |
6358 | - | swait(30) |
6358 | + | |
6359 | hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15) | |
6360 | end | |
6361 | - | val = val + 0.1 |
6361 | + | |
6362 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)}) |
6362 | + | |
6363 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
6364 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
6365 | for i = 0, 24 do | |
6366 | slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black")) | |
6367 | end | |
6368 | local rrot = 0 | |
6369 | local xam = 1 | |
6370 | coroutine.resume(coroutine.create(function() | |
6371 | for i = 0, 14 do | |
6372 | --swait() | |
6373 | rrot = rrot + 40*xam | |
6374 | xam = xam + 0.25 | |
6375 | local bonus = xam | |
6376 | local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random()) | |
6377 | xa.Anchored = true | |
6378 | xa.Color = Color3.new(0,0,0) | |
6379 | xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75) | |
6380 | CreateMesh(xa,"Sphere",30*bonus,1,30*bonus) | |
6381 | local xc = 0 | |
6382 | coroutine.resume(coroutine.create(function() | |
6383 | for i = 0, 99 do | |
6384 | - | slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White")) |
6384 | + | |
6385 | xc = xc + 0.01 | |
6386 | xa.Color = Color3.new(xc,0,0) | |
6387 | end | |
6388 | xa.Transparency = 1 | |
6389 | CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75) | |
6390 | MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal") | |
6391 | for i = 0, 9 do | |
6392 | slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01*bonus,0.01,0.01*bonus),math.random(50,125)/250*bonus,BrickColor.new("Really black")) | |
6393 | end | |
6394 | block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30*bonus,30*bonus,30*bonus),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
6395 | sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25*bonus,1,25*bonus),0.05*bonus,1.5*bonus,0.05*bonus,keptcolor,keptcolor.Color) | |
6396 | sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30*bonus,1,30*bonus),0.05*bonus,1.5*bonus,0.05*bonus,BrickColor.new("Really black"),Color3.new(0,0,0)) | |
6397 | game:GetService("Debris"):AddItem(xa, 5) | |
6398 | coroutine.resume(coroutine.create(function() | |
6399 | for i = 0, 19 do | |
6400 | swait() | |
6401 | hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50) | |
6402 | end | |
6403 | hum.CameraOffset = vt(0,0,0) | |
6404 | end)) | |
6405 | end)) | |
6406 | end | |
6407 | end)) | |
6408 | for i = 0,2,0.1 do | |
6409 | swait() | |
6410 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8) | |
6411 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.8) | |
6412 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8) | |
6413 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8) | |
6414 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8) | |
6415 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8) | |
6416 | end | |
6417 | attack = false | |
6418 | hum.WalkSpeed = storehumanoidWS | |
6419 | end | |
6420 | ||
6421 | function HeavenlyDisk() | |
6422 | - | CFuncs["Sound"].Create("rbxassetid://1097266621", root, 10, 0.5) |
6422 | + | |
6423 | - | CFuncs["Sound"].Create("rbxassetid://138677306", root, 10, 0.5) |
6423 | + | |
6424 | - | CFuncs["EchoSound"].Create("rbxassetid://358080429", char, 4, 1,0,10,0.15,0.5,1) |
6424 | + | |
6425 | - | CFuncs["EchoSound"].Create("rbxassetid://2014087015", char, 4, 1,0,10,0.15,0.5,1) |
6425 | + | |
6426 | - | bosschatfunc("ENOUGH!!",MAINRUINCOLOR.Color,2) |
6426 | + | |
6427 | bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1) | |
6428 | elseif radm == 2 then | |
6429 | bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1) | |
6430 | elseif radm == 3 then | |
6431 | bosschatfunc("Take it!",MAINRUINCOLOR.Color,1) | |
6432 | end | |
6433 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1) | |
6434 | CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1) | |
6435 | sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color) | |
6436 | sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color) | |
6437 | for i = 0, 14 do | |
6438 | PixelBlock(1,math.random(1,3),"Add",larm.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,BrickColor.new("Toothpaste"),0) | |
6439 | end | |
6440 | for i = 0,2,0.1 do | |
6441 | swait() | |
6442 | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) | |
6443 | RH.C0=clerp(RH.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(-5)),.3) | |
6444 | 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(30),math.rad(0)),.3) | |
6445 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) | |
6446 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3) | |
6447 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3) | |
6448 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3) | |
6449 | end | |
6450 | CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1) | |
6451 | for i = 0,1,0.6 do | |
6452 | swait() | |
6453 | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) | |
6454 | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White")) | |
6455 | RH.C0=clerp(RH.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(-5)),.6) | |
6456 | 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(30),math.rad(0)),.6) | |
6457 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6) | |
6458 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
6459 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
6460 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
6461 | end | |
6462 | for i = 0,1,0.6 do | |
6463 | swait() | |
6464 | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) | |
6465 | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White")) | |
6466 | RH.C0=clerp(RH.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(-5)),.6) | |
6467 | 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(30),math.rad(0)),.6) | |
6468 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6) | |
6469 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
6470 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
6471 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
6472 | end | |
6473 | for i = 0,1,0.6 do | |
6474 | swait() | |
6475 | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) | |
6476 | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White")) | |
6477 | RH.C0=clerp(RH.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(-5)),.6) | |
6478 | 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(30),math.rad(0)),.6) | |
6479 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6) | |
6480 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
6481 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
6482 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
6483 | - | xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam)) |
6483 | + | |
6484 | for i = 0,1,0.6 do | |
6485 | swait() | |
6486 | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color) | |
6487 | slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White")) | |
6488 | RH.C0=clerp(RH.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(-5)),.6) | |
6489 | 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(30),math.rad(0)),.6) | |
6490 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6) | |
6491 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
6492 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
6493 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
6494 | end | |
6495 | local rot = 15 | |
6496 | for i = 0, 2 do | |
6497 | local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste")) | |
6498 | CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1) | |
6499 | dis.CFrame = root.CFrame*CFrame.new(0,2,-3) | |
6500 | CreateMesh(dis,"Sphere",10,1,10) | |
6501 | local at1 = Instance.new("Attachment",dis) | |
6502 | at1.Position = vt(-5,0,0) | |
6503 | local at2 = Instance.new("Attachment",dis) | |
6504 | at2.Position = vt(5,0,0) | |
6505 | local trl = Instance.new('Trail',wed) | |
6506 | trl.Attachment0 = at1 | |
6507 | trl.Attachment1 = at2 | |
6508 | trl.Texture = "rbxassetid://1049219073" | |
6509 | trl.LightEmission = 1 | |
6510 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
6511 | trl.Color = ColorSequence.new(dis.Color) | |
6512 | trl.Lifetime = 0.6 | |
6513 | local a = Instance.new("Part",workspace) | |
6514 | a.Name = "Direction" | |
6515 | a.Anchored = true | |
6516 | a.BrickColor = bc("Bright red") | |
6517 | a.Material = "Neon" | |
6518 | a.Transparency = 1 | |
6519 | a.CanCollide = false | |
6520 | local ray = Ray.new( | |
6521 | dis.CFrame.p, -- origin | |
6522 | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction | |
6523 | ) | |
6524 | local ignore = dis | |
6525 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
6526 | a.BottomSurface = 10 | |
6527 | - | CFuncs["EchoSound"].Create("rbxassetid://358080470", char, 1.5, 1,0,10,0.15,0.5,1) |
6527 | + | |
6528 | - | CFuncs["EchoSound"].Create("rbxassetid://358080470", root, 10, 1,0,10,0.15,0.5,1) |
6528 | + | local distance = (dis.CFrame.p - position).magnitude |
6529 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
6530 | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) | |
6531 | - | bosschatfunc("Sorry...",MAINRUINCOLOR.Color,1) |
6531 | + | |
6532 | dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
6533 | - | bosschatfunc("WHY WON'T YOU DIE!!!!",MAINRUINCOLOR.Color,1) |
6533 | + | |
6534 | local bv = Instance.new("BodyVelocity") | |
6535 | - | bosschatfunc("IM SORRY JUST DIE!!",MAINRUINCOLOR.Color,1) |
6535 | + | |
6536 | bv.velocity = dis.CFrame.lookVector*250 | |
6537 | bv.Parent = dis | |
6538 | - | for i = 0, 29 do |
6538 | + | |
6539 | local hitted = false | |
6540 | coroutine.resume(coroutine.create(function() | |
6541 | dis.Touched:connect(function(hit) | |
6542 | - | CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5) |
6542 | + | if hitted == false and hit.Parent ~= char then |
6543 | - | dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35)) |
6543 | + | |
6544 | CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1) | |
6545 | - | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color) |
6545 | + | MagniDamage(dis, 30, 82,34575, 0, "Normal") |
6546 | sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color) | |
6547 | sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) | |
6548 | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1)) | |
6549 | coroutine.resume(coroutine.create(function() | |
6550 | - | CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1) |
6550 | + | |
6551 | eff.Texture = "rbxassetid://2344870656" | |
6552 | eff.LightEmission = 1 | |
6553 | eff.Color = ColorSequence.new(dis.Color) | |
6554 | eff.Rate = 10000000 | |
6555 | eff.Enabled = true | |
6556 | eff.EmissionDirection = "Front" | |
6557 | eff.Lifetime = NumberRange.new(1) | |
6558 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)}) | |
6559 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
6560 | eff.Speed = NumberRange.new(150) | |
6561 | eff.Drag = 5 | |
6562 | eff.Rotation = NumberRange.new(-500,500) | |
6563 | eff.SpreadAngle = Vector2.new(0,900) | |
6564 | eff.RotSpeed = NumberRange.new(-500,500) | |
6565 | - | a.Name = "Direction" |
6565 | + | |
6566 | - | a.Anchored = true |
6566 | + | |
6567 | - | a.BrickColor = bc("Bright red") |
6567 | + | end)) |
6568 | coroutine.resume(coroutine.create(function() | |
6569 | for i = 0, 9 do | |
6570 | - | a.CanCollide = false |
6570 | + | |
6571 | - | local ray = Ray.new( |
6571 | + | |
6572 | - | dis.CFrame.p, -- origin |
6572 | + | |
6573 | - | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction |
6573 | + | |
6574 | - | ) |
6574 | + | |
6575 | - | local ignore = dis |
6575 | + | |
6576 | - | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
6576 | + | |
6577 | - | a.BottomSurface = 10 |
6577 | + | |
6578 | - | a.TopSurface = 10 |
6578 | + | |
6579 | - | local distance = (dis.CFrame.p - position).magnitude |
6579 | + | |
6580 | - | a.Size = Vector3.new(0.1, 0.1, 0.1) |
6580 | + | |
6581 | - | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) |
6581 | + | |
6582 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
6583 | trl.Color = ColorSequence.new(Color3.new(0.3,1,1)) | |
6584 | trl.Lifetime = 0.5 | |
6585 | local bv = Instance.new("BodyVelocity") | |
6586 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
6587 | bv.velocity = disr.CFrame.lookVector*math.random(50,200) | |
6588 | bv.Parent = disr | |
6589 | local val = 0 | |
6590 | coroutine.resume(coroutine.create(function() | |
6591 | - | dis.Touched:connect(function(hit) |
6591 | + | swait(30) |
6592 | - | if hitted == false and hit.Parent ~= char then |
6592 | + | |
6593 | - | hitted = true |
6593 | + | |
6594 | - | CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1) |
6594 | + | val = val + 0.1 |
6595 | - | MagniDamage(dis, 60, 25456,124672, 0, "Normal") |
6595 | + | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)}) |
6596 | - | sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color) |
6596 | + | |
6597 | - | sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1)) |
6597 | + | |
6598 | end)) | |
6599 | end | |
6600 | local eff = Instance.new("ParticleEmitter",dis) | |
6601 | eff.Texture = "rbxassetid://2273224484" | |
6602 | eff.LightEmission = 1 | |
6603 | eff.Color = ColorSequence.new(Color3.new(0.3,1,1)) | |
6604 | eff.Rate = 500000 | |
6605 | eff.Lifetime = NumberRange.new(0.5,2) | |
6606 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
6607 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
6608 | eff.Speed = NumberRange.new(20,250) | |
6609 | eff.Drag = 5 | |
6610 | eff.Rotation = NumberRange.new(-500,500) | |
6611 | eff.VelocitySpread = 9000 | |
6612 | eff.RotSpeed = NumberRange.new(-50,50) | |
6613 | wait(0.25) | |
6614 | eff.Enabled = false | |
6615 | end)) | |
6616 | for i = 0, 9 do | |
6617 | slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White")) | |
6618 | end | |
6619 | for i = 0, 19 do | |
6620 | PixelBlock(1,math.random(5,20),"Add",dis.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) | |
6621 | - | swait(30) |
6621 | + | |
6622 | coroutine.resume(coroutine.create(function() | |
6623 | for i = 0, 19 do | |
6624 | - | val = val + 0.1 |
6624 | + | |
6625 | - | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)}) |
6625 | + | |
6626 | end | |
6627 | hum.CameraOffset = vt(0,0,0) | |
6628 | end)) | |
6629 | dis.Anchored = true | |
6630 | dis.Transparency = 1 | |
6631 | - | eff.Texture = "rbxassetid://1049219073" |
6631 | + | |
6632 | dis:Destroy() | |
6633 | end | |
6634 | end) | |
6635 | end)) | |
6636 | rot = rot - 15 | |
6637 | end | |
6638 | for i = 0,2,0.1 do | |
6639 | swait() | |
6640 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3) | |
6641 | 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(5)),.3) | |
6642 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
6643 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3) | |
6644 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3) | |
6645 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) | |
6646 | - | for i = 0, 4 do |
6646 | + | |
6647 | - | slash(math.random(20,50)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White")) |
6647 | + | |
6648 | hum.WalkSpeed = storehumanoidWS | |
6649 | end | |
6650 | ||
6651 | function RapidBurst() | |
6652 | attack = true | |
6653 | hum.WalkSpeed = 0 | |
6654 | CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5) | |
6655 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5) | |
6656 | CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1) | |
6657 | bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2) | |
6658 | local keptcolor = MAINRUINCOLOR | |
6659 | for i = 0,8,0.1 do | |
6660 | swait() | |
6661 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
6662 | slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,25,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,0.01,2),-2,BrickColor.random()) | |
6663 | block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color) | |
6664 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1) | |
6665 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1) | |
6666 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
6667 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
6668 | RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1) | |
6669 | LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1) | |
6670 | end | |
6671 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(90)),.3) |
6671 | + | |
6672 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
6673 | dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
6674 | local at1 = Instance.new("Attachment",dis) | |
6675 | at1.Position = vt(-25000,0,0) | |
6676 | local at2 = Instance.new("Attachment",dis) | |
6677 | at2.Position = vt(25000,0,0) | |
6678 | local trl = Instance.new('Trail',dis) | |
6679 | trl.Attachment0 = at1 | |
6680 | trl.FaceCamera = true | |
6681 | trl.Attachment1 = at2 | |
6682 | trl.Texture = "rbxassetid://1049219073" | |
6683 | trl.LightEmission = 1 | |
6684 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
6685 | trl.Color = ColorSequence.new(BrickColor.random().Color) | |
6686 | trl.Lifetime = 5 | |
6687 | local bv = Instance.new("BodyVelocity") | |
6688 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
6689 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
6690 | bv.Parent = dis | |
6691 | game:GetService("Debris"):AddItem(dis, 5) | |
6692 | - | --sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR) |
6692 | + | |
6693 | - | --sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR) |
6693 | + | |
6694 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5) | |
6695 | - | --slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White")) |
6695 | + | |
6696 | sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) | |
6697 | - | bosschatfunc("TAKE THIS!",MAINRUINCOLOR.Color,1) |
6697 | + | |
6698 | - | CFuncs["EchoSound"].Create("rbxassetid://313205954", char, 4, 1,0,10,0.15,0.5,1) |
6698 | + | |
6699 | sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color) | |
6700 | CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1) | |
6701 | CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8) | |
6702 | CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1) | |
6703 | hum.CameraOffset = vt(0,0,0) | |
6704 | for i = 0, 24 do | |
6705 | - | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2) |
6705 | + | |
6706 | end | |
6707 | local distam = 0 | |
6708 | coroutine.resume(coroutine.create(function() | |
6709 | for i = 0, 99 do | |
6710 | wait() | |
6711 | distam = distam + 1 | |
6712 | local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
6713 | xa.Anchored = true | |
6714 | xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
6715 | - | slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White")) |
6715 | + | |
6716 | for i = 0, 4 do | |
6717 | slash(math.random(25,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.random()) | |
6718 | end | |
6719 | coroutine.resume(coroutine.create(function() | |
6720 | local eff = Instance.new("ParticleEmitter",xa) | |
6721 | eff.Texture = "rbxassetid://2344870656" | |
6722 | eff.LightEmission = 1 | |
6723 | eff.Color = ColorSequence.new(xa.Color) | |
6724 | eff.Rate = 10000000 | |
6725 | eff.Enabled = true | |
6726 | eff.Lifetime = NumberRange.new(2.5) | |
6727 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)}) | |
6728 | - | local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black")) |
6728 | + | |
6729 | eff.Speed = NumberRange.new(200) | |
6730 | eff.Drag = 5 | |
6731 | eff.Rotation = NumberRange.new(-500,500) | |
6732 | eff.SpreadAngle = Vector2.new(0,900) | |
6733 | eff.RotSpeed = NumberRange.new(-500,500) | |
6734 | wait(0.2) | |
6735 | - | swait(60) |
6735 | + | |
6736 | - | dis.Transparency = 1 |
6736 | + | end)) |
6737 | - | dis2.Transparency = 1 |
6737 | + | |
6738 | local eff = Instance.new("ParticleEmitter",xa) | |
6739 | eff.Texture = "rbxassetid://2273224484" | |
6740 | eff.LightEmission = 1 | |
6741 | eff.Color = ColorSequence.new(BrickColor.random().Color) | |
6742 | eff.Rate = 500000 | |
6743 | eff.Lifetime = NumberRange.new(1,3) | |
6744 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
6745 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
6746 | eff.Speed = NumberRange.new(50,500) | |
6747 | eff.Drag = 5 | |
6748 | eff.Rotation = NumberRange.new(-500,500) | |
6749 | eff.VelocitySpread = 9000 | |
6750 | eff.RotSpeed = NumberRange.new(-50,50) | |
6751 | wait(0.25) | |
6752 | eff.Enabled = false | |
6753 | end)) | |
6754 | coroutine.resume(coroutine.create(function() | |
6755 | for i = 0, 19 do | |
6756 | swait() | |
6757 | hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
6758 | end | |
6759 | hum.CameraOffset = vt(0,0,0) | |
6760 | end)) | |
6761 | CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200) | |
6762 | sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) | |
6763 | sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color) | |
6764 | MagniDamage(xa, 60, 9999,99999, 0, "Normal") | |
6765 | end | |
6766 | end)) | |
6767 | attack = false | |
6768 | hum.WalkSpeed = storehumanoidWS | |
6769 | end | |
6770 | - | slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis.BrickColor) |
6770 | + | |
6771 | - | slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis2.BrickColor) |
6771 | + | |
6772 | function FallenOrbs() | |
6773 | - | CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75) |
6773 | + | |
6774 | - | CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75) |
6774 | + | |
6775 | - | CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25) |
6775 | + | |
6776 | - | CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25) |
6776 | + | CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1) |
6777 | - | CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15) |
6777 | + | CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1) |
6778 | - | CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15) |
6778 | + | |
6779 | - | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color) |
6779 | + | |
6780 | - | sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color) |
6780 | + | bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1) |
6781 | elseif radm == 2 then | |
6782 | bosschatfunc("How about this?",MAINRUINCOLOR.Color,1) | |
6783 | elseif radm == 3 then | |
6784 | bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1) | |
6785 | end | |
6786 | local obj1 = script.chring:Clone() | |
6787 | obj1.Parent = char | |
6788 | obj1.Transparency = 1 | |
6789 | obj1.Color = BrickColor.new("Toothpaste").Color | |
6790 | local obj2 = script.spball:Clone() | |
6791 | obj2.Parent = char | |
6792 | obj2.Transparency = 1 | |
6793 | obj2.Color = MAINRUINCOLOR.Color | |
6794 | local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
6795 | cfor.Anchored = true | |
6796 | cfor.CFrame = obj2.CFrame | |
6797 | local cef = Instance.new("ParticleEmitter",cfor) | |
6798 | cef.Texture = "rbxassetid://2344870656" | |
6799 | - | bosschatfunc("HOW ABOUT THIS!?",MAINRUINCOLOR.Color,3) |
6799 | + | |
6800 | cef.Color = ColorSequence.new(obj2.Color) | |
6801 | cef.Rate = 150 | |
6802 | cef.Lifetime = NumberRange.new(0.25) | |
6803 | cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)}) | |
6804 | cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)}) | |
6805 | cef.Speed = NumberRange.new(0) | |
6806 | local rval = 0 | |
6807 | local eval = 1 | |
6808 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 10,0.7) | |
6809 | for i = 0,10,0.1 do | |
6810 | swait() | |
6811 | rval = rval + math.random(30,40) | |
6812 | eval = eval + 1.5 | |
6813 | obj1.Transparency = obj1.Transparency - 0.003 | |
6814 | obj1.Size = obj1.Size + vt(0,1,1) | |
6815 | obj1.CFrame = root.CFrame*CFrame.new(0,16,0)*CFrame.Angles(math.rad(0),math.rad(rval),math.rad(-90)) | |
6816 | obj2.Transparency = obj2.Transparency - 0.005 | |
6817 | obj2.Size = obj2.Size + vt(0.5,0.5,0.5) | |
6818 | cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)}) | |
6819 | obj2.CFrame = root.CFrame*CFrame.new(0,36,0)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval)) | |
6820 | cfor.CFrame = obj2.CFrame | |
6821 | slash(math.random(50,90)/10,5,true,"Round","Add","In",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0.01,1),math.random(-400,-200)/250,BrickColor.new("Deep orange")) | |
6822 | slash(math.random(50,90)/10,5,true,"Round","Add","In",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0.01,1),math.random(-400,-200)/250,BrickColor.new("Toothpaste")) | |
6823 | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
6824 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3) | |
6825 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3) | |
6826 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),6 + 0.15 * math.cos(sine / 32))*angles(math.rad(-20 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(70)),.3) | |
6827 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 2 * math.cos(sine / 37)),math.rad(5 + 1 * math.cos(sine / 58)),math.rad(-70 + 2 * math.cos(sine / 53))),.3) | |
6828 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(170 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 45))),.3) | |
6829 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(8 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-9 - 4 * math.cos(sine / 45))),.3) | |
6830 | end | |
6831 | cef.Enabled = false | |
6832 | coroutine.resume(coroutine.create(function() | |
6833 | for i = 0,49 do | |
6834 | swait() | |
6835 | rval = rval + 100 | |
6836 | obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval)) | |
6837 | obj2.Transparency = obj2.Transparency + 0.02 | |
6838 | obj2.Size = obj2.Size + vt(5,5,5) | |
6839 | obj1.Transparency = obj1.Transparency + 0.02 | |
6840 | obj1.Size = obj1.Size + vt(0,-0.5,-0.5) | |
6841 | end | |
6842 | obj1:Destroy() | |
6843 | obj2:Destroy() | |
6844 | cfor:Destroy() | |
6845 | end)) | |
6846 | for i = 0, 9 do | |
6847 | slash(math.random(10,40)/10,5,true,"Round","Add","Out",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,450)/250,BrickColor.new("Deep orange")) | |
6848 | slash(math.random(10,40)/10,5,true,"Round","Add","Out",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,450)/250,BrickColor.new("Toothpaste")) | |
6849 | end | |
6850 | sphere2(3,"Add",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),1,1,1,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
6851 | sphere2(3,"Add",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),2,2,2,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
6852 | CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 10, 0.8,0,10,0.15,0.5,1) | |
6853 | CFuncs["EchoSound"].Create("rbxassetid://763717897", root, 7.5, 1.1,0,10,0.15,0.5,1) | |
6854 | CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 5, 0.7,0,10,0.15,0.5,1) | |
6855 | coroutine.resume(coroutine.create(function() | |
6856 | for i = 0, 19 do | |
6857 | swait() | |
6858 | local custcol = math.random(1,3) | |
6859 | local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR) | |
6860 | if custcol == 1 then | |
6861 | dis.BrickColor = MAINRUINCOLOR | |
6862 | elseif custcol == 2 then | |
6863 | dis.BrickColor = BrickColor.new("Toothpaste") | |
6864 | elseif custcol == 3 then | |
6865 | dis.BrickColor = BrickColor.new("Deep orange") | |
6866 | end | |
6867 | dis.Anchored = true | |
6868 | --CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5) | |
6869 | dis.CFrame = root.CFrame*CFrame.new(math.random(-30,30),math.random(11,51),math.random(-30,30)) | |
6870 | CreateMesh(dis,"Sphere",2,2,2) | |
6871 | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color) | |
6872 | slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(10,50)/250,BrickColor.new("White")) | |
6873 | coroutine.resume(coroutine.create(function() | |
6874 | wait(0.5) | |
6875 | dis.Anchored = false | |
6876 | CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1) | |
6877 | local at1 = Instance.new("Attachment",dis) | |
6878 | at1.Position = vt(-1,0,0) | |
6879 | local at2 = Instance.new("Attachment",dis) | |
6880 | at2.Position = vt(1,0,0) | |
6881 | local trl = Instance.new('Trail',dis) | |
6882 | trl.Attachment0 = at1 | |
6883 | trl.FaceCamera = true | |
6884 | - | function EightBitMegaBlade() |
6884 | + | |
6885 | trl.Texture = "rbxassetid://1049219073" | |
6886 | trl.LightEmission = 1 | |
6887 | - | hum.JumpPower = 0 |
6887 | + | |
6888 | - | CFuncs["Sound"].Create("rbxassetid://1368583274", larm, 4.5, 1.2) |
6888 | + | |
6889 | - | local OverCut = false |
6889 | + | |
6890 | - | cam.CameraSubject = Humanoid |
6890 | + | |
6891 | - | cam.CameraType = "Scriptable" |
6891 | + | |
6892 | a.Anchored = true | |
6893 | a.BrickColor = bc("Bright red") | |
6894 | a.Material = "Neon" | |
6895 | - | if OverCut == false then |
6895 | + | |
6896 | - | cam.CFrame = lerp(cam.CFrame, root.CFrame * cf(1, 1.5, -6) * ceuler(math.rad(10), math.rad(170), math.rad(-20)), 0.1) |
6896 | + | |
6897 | local ray = Ray.new( | |
6898 | dis.CFrame.p, -- origin | |
6899 | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction | |
6900 | ) | |
6901 | local ignore = dis | |
6902 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
6903 | a.BottomSurface = 10 | |
6904 | - | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White")) |
6904 | + | |
6905 | - | sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.1,-0.01,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color) |
6905 | + | local distance = (dis.CFrame.p - position).magnitude |
6906 | - | slash(math.random(20,40)/10,5,true,"Round","Add","Out",larm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.025,0.001,0.025),-0.025,BrickColor.new("White")) |
6906 | + | |
6907 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3) |
6907 | + | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) |
6908 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(3)),.3) |
6908 | + | |
6909 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3) |
6909 | + | |
6910 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(5),math.rad(50)),.3) |
6910 | + | |
6911 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-40),math.rad(20)),.3) |
6911 | + | |
6912 | - | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(170),math.rad(10),math.rad(0)),.3) |
6912 | + | |
6913 | bv.Parent = dis | |
6914 | - | OverCut = true |
6914 | + | |
6915 | local hitted = false | |
6916 | coroutine.resume(coroutine.create(function() | |
6917 | - | orb.BrickColor = BrickColor.new("Toothpaste") |
6917 | + | dis.Touched:connect(function(hit) |
6918 | - | orb.CanCollide = false |
6918 | + | if hitted == false and hit.Parent ~= char then |
6919 | - | orb.FormFactor = 3 |
6919 | + | |
6920 | - | orb.Name = "Ring" |
6920 | + | CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1) |
6921 | - | orb.Material = "Neon" |
6921 | + | MagniDamage(dis, 60, 25456,124672, 0, "Normal") |
6922 | - | orb.Size = Vector3.new(1, 1, 1) |
6922 | + | sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,dis.BrickColor,dis.Color) |
6923 | - | orb.Transparency = 0.5 |
6923 | + | sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1)) |
6924 | - | orb.TopSurface = 0 |
6924 | + | coroutine.resume(coroutine.create(function() |
6925 | - | orb.BottomSurface = 0 |
6925 | + | |
6926 | - | local orbm = Instance.new("SpecialMesh", orb) |
6926 | + | |
6927 | - | orbm.MeshType = "FileMesh" |
6927 | + | |
6928 | - | orbm.MeshId = "rbxassetid://361629844" |
6928 | + | |
6929 | - | orbm.Scale = vt(30,60,60) |
6929 | + | |
6930 | - | orb.CFrame = root.CFrame*CFrame.new(0,50,0) |
6930 | + | |
6931 | --eff.EmissionDirection = "Front" | |
6932 | - | slash(math.random(10,30)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.001,0.1),math.random(50,400)/420,BrickColor.new("White")) |
6932 | + | |
6933 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)}) | |
6934 | - | sphere2(2,"Add",orb.CFrame,vt(10,10,10),0.5,0.5,0.5,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color) |
6934 | + | |
6935 | - | sphere2(3,"Add",orb.CFrame,vt(10,10,10),0.75,0.75,0.75,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color) |
6935 | + | eff.Speed = NumberRange.new(250) |
6936 | - | sphere2(4,"Add",orb.CFrame,vt(10,10,10),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color) |
6936 | + | |
6937 | - | CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 7.5, 1) |
6937 | + | |
6938 | eff.SpreadAngle = Vector2.new(0,900) | |
6939 | - | a.Name = "Direction" |
6939 | + | |
6940 | - | a.Anchored = true |
6940 | + | |
6941 | eff.Enabled = false | |
6942 | - | a.CanCollide = false |
6942 | + | end)) |
6943 | - | local ray = Ray.new( |
6943 | + | coroutine.resume(coroutine.create(function() |
6944 | - | orb.CFrame.p, -- origin |
6944 | + | |
6945 | - | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction |
6945 | + | local disr = CreateParta(char,1,1,"Neon",dis.BrickColor) |
6946 | - | ) |
6946 | + | |
6947 | - | local ignore = orb |
6947 | + | |
6948 | - | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
6948 | + | |
6949 | - | a.BottomSurface = 10 |
6949 | + | |
6950 | - | a.TopSurface = 10 |
6950 | + | |
6951 | - | local distance = (orb.CFrame.p - position).magnitude |
6951 | + | |
6952 | - | a.Size = Vector3.new(0.1, 0.1, 0.1) |
6952 | + | |
6953 | - | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) |
6953 | + | |
6954 | trl.Attachment1 = at2 | |
6955 | trl.Texture = "rbxassetid://2342682798" | |
6956 | trl.LightEmission = 1 | |
6957 | - | sphere2(5,"Add",orb.CFrame*CFrame.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)),vt(1,1,1),0.01,0.01,0.01,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color) |
6957 | + | |
6958 | trl.Color = ColorSequence.new(disr.Color) | |
6959 | - | orb.CFrame.p, -- origin |
6959 | + | |
6960 | - | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction |
6960 | + | |
6961 | - | ) |
6961 | + | |
6962 | bv.velocity = disr.CFrame.lookVector*math.random(125,250) | |
6963 | - | distance = (orb.CFrame.p - position).magnitude |
6963 | + | |
6964 | - | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) |
6964 | + | |
6965 | coroutine.resume(coroutine.create(function() | |
6966 | - | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White")) |
6966 | + | swait(30) |
6967 | - | cam.CFrame = lerp(cam.CFrame, root.CFrame * cf(20, 65, 55) * ceuler(math.rad(-20), math.rad(0), math.rad(10)), 0.2) |
6967 | + | |
6968 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3) |
6968 | + | |
6969 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(40),math.rad(3)),.3) |
6969 | + | val = val + 0.1 |
6970 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.3) |
6970 | + | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)}) |
6971 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.3) |
6971 | + | |
6972 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-20),math.rad(20)),.3) |
6972 | + | |
6973 | - | LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(100),math.rad(0),math.rad(60)),.3) |
6973 | + | |
6974 | end | |
6975 | local eff = Instance.new("ParticleEmitter",dis) | |
6976 | eff.Texture = "rbxassetid://2273224484" | |
6977 | eff.LightEmission = 1 | |
6978 | eff.Color = ColorSequence.new(dis.Color) | |
6979 | eff.Rate = 500000 | |
6980 | - | bv.velocity = orb.CFrame.lookVector*250 |
6980 | + | |
6981 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
6982 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
6983 | - | CFuncs["Sound"].Create("rbxassetid://466493476", orb, 7.5, 0.7) |
6983 | + | |
6984 | - | waveEff(2,"Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(5,1,5),0.5,0.1,BrickColor.new("Cyan")) |
6984 | + | |
6985 | - | waveEff(4,"Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(5,1,5),0.5,0.05,BrickColor.new("Royal purple")) |
6985 | + | |
6986 | eff.VelocitySpread = 9000 | |
6987 | eff.RotSpeed = NumberRange.new(-50,50) | |
6988 | wait(0.5) | |
6989 | - | if hitted == false and orb.Parent ~= nil then |
6989 | + | |
6990 | - | slash(3,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.075,0.005,0.075),-0.05,BrickColor.new("White")) |
6990 | + | |
6991 | - | elseif hitted == true and orb.Parent == nil then |
6991 | + | for i = 0, 4 do |
6992 | slash(math.random(20,50)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White")) | |
6993 | end | |
6994 | coroutine.resume(coroutine.create(function() | |
6995 | for i = 0, 19 do | |
6996 | - | orb.Touched:connect(function(hit) |
6996 | + | |
6997 | - | if hitted == false and hit.Parent ~= char then |
6997 | + | |
6998 | end | |
6999 | - | MagniDamage(orb, 30, 72,95, 0, "Normal",153092213) |
6999 | + | |
7000 | - | CFuncs["Sound"].Create("rbxassetid://763717897", orb, 10, 1) |
7000 | + | |
7001 | - | CFuncs["Sound"].Create("rbxassetid://1295446488", orb, 9, 0.75) |
7001 | + | |
7002 | dis.Transparency = 1 | |
7003 | - | slash(math.random(15,30)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.001,0.01),math.random(125,250)/400,BrickColor.new("White")) |
7003 | + | |
7004 | dis:Destroy() | |
7005 | - | slash(1,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.01,0.015,0.01),1.5,BrickColor.new("White")) |
7005 | + | |
7006 | - | slash(1,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.01,0.01,0.01),2,BrickColor.new("White")) |
7006 | + | |
7007 | - | sphere2(1,"Add",orb.CFrame,vt(10,10,10),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color) |
7007 | + | |
7008 | - | sphere2(1.5,"Add",orb.CFrame,vt(10,10,10),1.1,1.1,1.1,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color) |
7008 | + | |
7009 | - | sphere2(2,"Add",orb.CFrame,vt(10,10,10),1.2,1.2,1.2,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color) |
7009 | + | |
7010 | end)) | |
7011 | for i = 0,9,0.1 do | |
7012 | swait() | |
7013 | - | for i = 0, 4, 0.1 do |
7013 | + | |
7014 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3) | |
7015 | - | slash(math.random(10,50)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.015,0.01),1.5,BrickColor.new("Royal purple")) |
7015 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),6 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(90)),.3) |
7016 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-15 + 1 * math.cos(sine / 58)),math.rad(-90 + 2 * math.cos(sine / 53))),.3) | |
7017 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(90 + 2 * math.cos(sine / 45))),.3) | |
7018 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(8 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-9 - 4 * math.cos(sine / 45))),.3) | |
7019 | end | |
7020 | attack = false | |
7021 | hum.WalkSpeed = storehumanoidWS | |
7022 | end | |
7023 | ||
7024 | function EquinoxOrbs() | |
7025 | hum.WalkSpeed = 0 | |
7026 | attack = true | |
7027 | - | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White")) |
7027 | + | |
7028 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3) |
7028 | + | |
7029 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(3)),.3) |
7029 | + | |
7030 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.4,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) |
7030 | + | |
7031 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(70)),.3) |
7031 | + | |
7032 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-40),math.rad(20)),.3) |
7032 | + | |
7033 | - | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-80)),.3) |
7033 | + | |
7034 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3) | |
7035 | end | |
7036 | - | hum.WalkSpeed = 24 |
7036 | + | |
7037 | - | hum.JumpPower = 50 |
7037 | + | |
7038 | for i = 0, 24 do | |
7039 | slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White")) | |
7040 | - | function BladeSpinAgain() |
7040 | + | |
7041 | CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1) | |
7042 | - | hum.WalkSpeed = 4 |
7042 | + | |
7043 | - | hum.JumpPower = 0 |
7043 | + | |
7044 | - | CFuncs["Sound"].Create("rbxassetid://1368598393", rarmor, 2, 1) |
7044 | + | |
7045 | - | CFuncs["Sound"].Create("rbxassetid://1368583274", rarmor, 2.5, 1) |
7045 | + | |
7046 | - | for x = 0, 9 do |
7046 | + | |
7047 | - | slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White")) |
7047 | + | |
7048 | - | CFuncs["Sound"].Create("rbxassetid://200633108", rarmor, 2, 1.05) |
7048 | + | |
7049 | - | CFuncs["Sound"].Create("rbxassetid://234365573", rarmor, 2.5, 1.025) |
7049 | + | |
7050 | - | for i = 0, 1, 0.6 do |
7050 | + | |
7051 | dis.CFrame = larm.CFrame*CFrame.new(0,-3,0) | |
7052 | - | sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0) |
7052 | + | local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("White")) |
7053 | - | sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0) |
7053 | + | |
7054 | - | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White")) |
7054 | + | |
7055 | - | sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color) |
7055 | + | |
7056 | sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color) | |
7057 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2) |
7057 | + | |
7058 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(0)),.2) |
7058 | + | |
7059 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) |
7059 | + | swait(60) |
7060 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3) |
7060 | + | dis.Transparency = 1 |
7061 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3) |
7061 | + | dis2.Transparency = 1 |
7062 | - | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) |
7062 | + | |
7063 | for i = 0, 19 do | |
7064 | - | slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White")) |
7064 | + | |
7065 | - | for i = 0, 1, 0.6 do |
7065 | + | |
7066 | end | |
7067 | - | sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0) |
7067 | + | |
7068 | - | sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0) |
7068 | + | |
7069 | - | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White")) |
7069 | + | |
7070 | - | sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color) |
7070 | + | |
7071 | eff.Texture = "rbxassetid://2273224484" | |
7072 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2) |
7072 | + | |
7073 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(0)),.2) |
7073 | + | |
7074 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) |
7074 | + | |
7075 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3) |
7075 | + | |
7076 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3) |
7076 | + | |
7077 | - | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) |
7077 | + | |
7078 | eff.Speed = NumberRange.new(50,450) | |
7079 | - | slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White")) |
7079 | + | |
7080 | - | for i = 0, 1, 0.6 do |
7080 | + | |
7081 | eff.VelocitySpread = 9000 | |
7082 | - | sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0) |
7082 | + | |
7083 | - | sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0) |
7083 | + | |
7084 | - | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White")) |
7084 | + | |
7085 | - | sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color) |
7085 | + | |
7086 | eff2.Color = ColorSequence.new(dis2.Color) | |
7087 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2) |
7087 | + | |
7088 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(0)),.2) |
7088 | + | |
7089 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) |
7089 | + | |
7090 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3) |
7090 | + | |
7091 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3) |
7091 | + | |
7092 | - | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) |
7092 | + | |
7093 | for i = 0, 2 do | |
7094 | - | slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White")) |
7094 | + | slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis.BrickColor) |
7095 | - | for i = 0, 1, 0.6 do |
7095 | + | slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis2.BrickColor) |
7096 | end | |
7097 | - | sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0) |
7097 | + | CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75) |
7098 | - | sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0) |
7098 | + | CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75) |
7099 | - | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White")) |
7099 | + | CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25) |
7100 | - | sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color) |
7100 | + | CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25) |
7101 | CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15) | |
7102 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2) |
7102 | + | CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15) |
7103 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(0)),.2) |
7103 | + | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color) |
7104 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) |
7104 | + | sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color) |
7105 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3) |
7105 | + | |
7106 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3) |
7106 | + | |
7107 | - | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) |
7107 | + | |
7108 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2) | |
7109 | - | local hitb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.Random()) |
7109 | + | |
7110 | - | hitb.Anchored = true |
7110 | + | |
7111 | - | hitb.CFrame = root.CFrame + root.CFrame.lookVector*8 |
7111 | + | |
7112 | - | hitb.CFrame = hitb.CFrame*CFrame.new(0,1,0) |
7112 | + | |
7113 | - | MagniDamage(hitb, 8, 92,158, 0, "Normal",153092213) |
7113 | + | |
7114 | - | sphere2(5,"Add",hitb.CFrame,vt(2.1,2.1,2),-0.02,-0.02,5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color) |
7114 | + | |
7115 | - | sphere2(5,"Add",hitb.CFrame,vt(2,2,2),-0.02,-0.02,4,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color) |
7115 | + | |
7116 | hum.WalkSpeed = storehumanoidWS | |
7117 | - | slash(math.random(20,100)/10,5,true,"Round","Add","Out",hitb.CFrame*CFrame.new(0,0,math.random(-60,60))*CFrame.Angles(math.rad(90),0,0),vt(0.01,0.01,0.01),math.random(10,100)/1000,BrickColor.new("White")) |
7117 | + | |
7118 | function FallenDEMISE() | |
7119 | - | CFuncs["Sound"].Create("rbxassetid://313205954", root, 4,1) |
7119 | + | |
7120 | - | CFuncs["Sound"].Create("rbxassetid://1368637781", rarmor, 4,1) |
7120 | + | |
7121 | - | CFuncs["Sound"].Create("rbxassetid://763718160", rarmor, 5, 1.1) |
7121 | + | |
7122 | - | CFuncs["Sound"].Create("rbxassetid://782353443", rarmor, 6, 1) |
7122 | + | bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3) |
7123 | - | --CFuncs["Sound"].Create("rbxassetid://1548538202", rarmor, 4,1) |
7123 | + | |
7124 | CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5) | |
7125 | for i = 0, 15, 0.1 do | |
7126 | - | MagniDamage(hitb, 8, 92,158, 0, "Normal",153092213) |
7126 | + | |
7127 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
7128 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-20),math.rad(-10)),.9) |
7128 | + | |
7129 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.9) |
7129 | + | |
7130 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.9) |
7130 | + | |
7131 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-80)),.9) |
7131 | + | |
7132 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(70)),.9) |
7132 | + | |
7133 | - | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-60)),.9) |
7133 | + | |
7134 | trl.Attachment0 = at1 | |
7135 | trl.FaceCamera = true | |
7136 | - | hitb:Destroy() |
7136 | + | |
7137 | trl.Texture = "rbxassetid://1049219073" | |
7138 | - | hum.WalkSpeed = 24 |
7138 | + | |
7139 | - | hum.JumpPower = 50 |
7139 | + | |
7140 | trl.Color = ColorSequence.new(dis.Color) | |
7141 | trl.Lifetime = 5 | |
7142 | - | function SpinnyBlade() |
7142 | + | |
7143 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
7144 | - | hum.WalkSpeed = 1 |
7144 | + | |
7145 | - | hum.JumpPower = 0 |
7145 | + | |
7146 | - | CFuncs["Sound"].Create("rbxassetid://1368583274", root, 4.5, 1) |
7146 | + | |
7147 | - | local bgui = Instance.new("BillboardGui",root) |
7147 | + | |
7148 | - | bgui.Size = UDim2.new(25, 0, 25, 0) |
7148 | + | |
7149 | slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Deep orange")) | |
7150 | RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1) | |
7151 | - | imgc.ImageTransparency = 1 |
7151 | + | |
7152 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1) | |
7153 | - | imgc.Image = "rbxassetid://997291547" |
7153 | + | |
7154 | - | imgc.ImageColor3 = Color3.new(0,0.5,1) |
7154 | + | |
7155 | - | local imgc2 = imgc:Clone() |
7155 | + | |
7156 | - | imgc2.Parent = bgui |
7156 | + | |
7157 | - | imgc2.Position = UDim2.new(-0.5,0,-0.5,0) |
7157 | + | |
7158 | - | imgc2.Size = UDim2.new(2,0,2,0) |
7158 | + | |
7159 | - | imgc2.ImageColor3 = Color3.new(0.5,0,1) |
7159 | + | |
7160 | coroutine.resume(coroutine.create(function() | |
7161 | for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do | |
7162 | - | imgc.ImageTransparency = imgc.ImageTransparency - 0.01 |
7162 | + | |
7163 | - | imgc.Rotation = imgc.Rotation + 1 |
7163 | + | |
7164 | - | imgc2.ImageTransparency = imgc2.ImageTransparency - 0.01 |
7164 | + | |
7165 | - | imgc2.Rotation = imgc2.Rotation - 1 |
7165 | + | |
7166 | - | bgui.Size = bgui.Size - UDim2.new(0.25, 0, 0.25, 0) |
7166 | + | |
7167 | - | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.1,0.01,0.1),math.random(25,50)/250,BrickColor.new("White")) |
7167 | + | |
7168 | - | sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color) |
7168 | + | |
7169 | local at1 = Instance.new("Attachment",dis) | |
7170 | - | sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0) |
7170 | + | |
7171 | - | sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0) |
7171 | + | |
7172 | - | waveEff(5,"Add","In",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),vt(15,0.25,15),-0.075,0.05,BrickColor.new("White")) |
7172 | + | |
7173 | - | RH.C0=clerp(RH.C0,cf(1,-0.5,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-40),math.rad(10)),.2) |
7173 | + | |
7174 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.2) |
7174 | + | |
7175 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.1,0.2,-0.3)*angles(math.rad(10),math.rad(0),math.rad(50)),.3) |
7175 | + | |
7176 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-50)),.3) |
7176 | + | |
7177 | - | RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.65)*angles(math.rad(100),math.rad(0),math.rad(-23)),.3) |
7177 | + | |
7178 | - | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(110),math.rad(0),math.rad(-85)),.3) |
7178 | + | |
7179 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
7180 | - | imgc.ImageTransparency = 1 |
7180 | + | |
7181 | trl.Lifetime = 10 | |
7182 | - | waveEff(2,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.8,BrickColor.new("White")) |
7182 | + | |
7183 | - | waveEff(3,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.4,BrickColor.new("White")) |
7183 | + | |
7184 | - | waveEff(4,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.2,BrickColor.new("White")) |
7184 | + | |
7185 | - | waveEff(5,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.1,BrickColor.new("White")) |
7185 | + | |
7186 | - | waveEff(6,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.05,BrickColor.new("White")) |
7186 | + | |
7187 | sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR) | |
7188 | - | slash(math.random(10,25)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,0,math.random(-30,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.1,0.01,0.1),math.random(75,250)/250,BrickColor.new("White")) |
7188 | + | |
7189 | sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Deep orange")) | |
7190 | - | CFuncs["Sound"].Create("rbxassetid://430315987", root, 1.5, 1) |
7190 | + | |
7191 | - | CFuncs["Sound"].Create("rbxassetid://1295446488", root, 3, 1) |
7191 | + | |
7192 | - | for x = 0, 14 do |
7192 | + | |
7193 | - | CFuncs["Sound"].Create("rbxassetid://200633281", rarmor, 1, 1.05) |
7193 | + | |
7194 | - | CFuncs["Sound"].Create("rbxassetid://161006195", rarmor, 1.5, 1.025) |
7194 | + | |
7195 | - | MagniDamage(tors, 10, 60,85, 0, "Normal",153092213) |
7195 | + | |
7196 | - | CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1) |
7196 | + | |
7197 | - | slash(5,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White")) |
7197 | + | |
7198 | - | for i = 0, 1, 0.6 do |
7198 | + | |
7199 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
7200 | - | sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0) |
7200 | + | |
7201 | - | root.CFrame = root.CFrame + root.CFrame.lookVector*2 |
7201 | + | |
7202 | - | root.Velocity = vt(0,0,0) |
7202 | + | |
7203 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2) |
7203 | + | |
7204 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2) |
7204 | + | |
7205 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(90)),.3) |
7205 | + | |
7206 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3) |
7206 | + | |
7207 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
7207 | + | |
7208 | - | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
7208 | + | |
7209 | hum.WalkSpeed = 2 | |
7210 | - | slash(5,2.5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White")) |
7210 | + | |
7211 | - | CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1) |
7211 | + | |
7212 | - | MagniDamage(tors, 10, 60,85, 0, "Normal",153092213) |
7212 | + | bosschatfunc("Plasmatic Burst!",MAINRUINCOLOR.Color,1) |
7213 | - | for i = 0, 1, 0.6 do |
7213 | + | |
7214 | bosschatfunc("How cute.",MAINRUINCOLOR.Color,1) | |
7215 | - | sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0) |
7215 | + | |
7216 | - | root.CFrame = root.CFrame + root.CFrame.lookVector*3 |
7216 | + | bosschatfunc("Suffer to the brightness.",MAINRUINCOLOR.Color,1) |
7217 | - | root.Velocity = vt(0,0,0) |
7217 | + | |
7218 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2) |
7218 | + | |
7219 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2) |
7219 | + | |
7220 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
7220 | + | |
7221 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3) |
7221 | + | |
7222 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
7222 | + | |
7223 | - | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
7223 | + | |
7224 | local obj2 = script.spball:Clone() | |
7225 | - | slash(5,2.5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White")) |
7225 | + | |
7226 | - | CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1) |
7226 | + | |
7227 | - | MagniDamage(tors, 10, 60,85, 0, "Normal",153092213) |
7227 | + | |
7228 | - | for i = 0, 1, 0.6 do |
7228 | + | |
7229 | local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
7230 | - | sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0) |
7230 | + | |
7231 | - | root.CFrame = root.CFrame + root.CFrame.lookVector*3 |
7231 | + | |
7232 | - | root.Velocity = vt(0,0,0) |
7232 | + | |
7233 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2) |
7233 | + | |
7234 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2) |
7234 | + | |
7235 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(180),math.rad(0),math.rad(90)),.3) |
7235 | + | |
7236 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3) |
7236 | + | |
7237 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
7237 | + | |
7238 | - | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
7238 | + | |
7239 | cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)}) | |
7240 | - | slash(5,2.5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White")) |
7240 | + | |
7241 | - | CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1) |
7241 | + | |
7242 | - | MagniDamage(tors, 10, 60,85, 0, "Normal",153092213) |
7242 | + | |
7243 | - | for i = 0, 1, 0.6 do |
7243 | + | for i = 0,7,0.1 do |
7244 | swait() | |
7245 | - | sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0) |
7245 | + | |
7246 | - | root.CFrame = root.CFrame + root.CFrame.lookVector*3 |
7246 | + | |
7247 | - | root.Velocity = vt(0,0,0) |
7247 | + | |
7248 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2) |
7248 | + | |
7249 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2) |
7249 | + | |
7250 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(270),math.rad(0),math.rad(90)),.3) |
7250 | + | |
7251 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3) |
7251 | + | |
7252 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
7252 | + | |
7253 | - | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
7253 | + | |
7254 | cfor.CFrame = obj2.CFrame | |
7255 | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color) | |
7256 | sphere2(10,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.15,-0.01,BrickColor.new("Pink"),BrickColor.new("Pink").Color) | |
7257 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3) | |
7258 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3) | |
7259 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-20)),.2) |
7259 | + | |
7260 | - | LH.C0=clerp(LH.C0,cf(-1,-0.6,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(20),math.rad(-12)),.2) |
7260 | + | |
7261 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.1,0.2,-0.35)*angles(math.rad(10),math.rad(0),math.rad(-40)),.2) |
7261 | + | |
7262 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(40)),.2) |
7262 | + | |
7263 | - | RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(110)),.2) |
7263 | + | |
7264 | - | LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(45),math.rad(0),math.rad(-20)),.2) |
7264 | + | cef.Enabled = false |
7265 | coroutine.resume(coroutine.create(function() | |
7266 | for i = 0,49 do | |
7267 | swait() | |
7268 | - | hum.WalkSpeed = 24 |
7268 | + | rval = rval + 100 |
7269 | - | hum.JumpPower = 50 |
7269 | + | obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval)) |
7270 | - | end |
7270 | + | obj2.Transparency = obj2.Transparency + 0.02 |
7271 | obj2.Size = obj2.Size + vt(5,5,5) | |
7272 | obj1.Transparency = obj1.Transparency + 0.02 | |
7273 | obj1.Size = obj1.Size + vt(0,-0.5,-0.5) | |
7274 | end | |
7275 | - | bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3) |
7275 | + | obj1:Destroy() |
7276 | obj2:Destroy() | |
7277 | cfor:Destroy() | |
7278 | end)) | |
7279 | - | local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) |
7279 | + | local lva = 1 |
7280 | - | hb.Anchored = true |
7280 | + | local ica = 0 |
7281 | - | hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0) |
7281 | + | |
7282 | - | CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25) |
7282 | + | |
7283 | - | for i = 0, 16, 0.1 do |
7283 | + | |
7284 | sphere2(2,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color) | |
7285 | sphere2(3,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pink"),BrickColor.new("Pink").Color) | |
7286 | ||
7287 | - | sphereMK(math.random(3,9),0.25,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15) |
7287 | + | |
7288 | a.Name = "Direction" | |
7289 | a.Anchored = true | |
7290 | a.BrickColor = bc("Bright red") | |
7291 | a.Material = "Neon" | |
7292 | a.Transparency = 1 | |
7293 | a.CanCollide = false | |
7294 | local ray = Ray.new( | |
7295 | cent.CFrame.p, -- origin | |
7296 | - | CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6) |
7296 | + | (mouse.Hit.p - cent.CFrame.p).unit * 500 -- direction |
7297 | - | CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5) |
7297 | + | |
7298 | local ignore = cent | |
7299 | - | CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1) |
7299 | + | |
7300 | a.BottomSurface = 10 | |
7301 | a.TopSurface = 10 | |
7302 | local distance = (cent.CFrame.p - position).magnitude | |
7303 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
7304 | a.CFrame = CFrame.new(cent.CFrame.p, position) * CFrame.new(0, 0, 0) | |
7305 | cent.CFrame = a.CFrame | |
7306 | - | sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0) |
7306 | + | |
7307 | local bv = Instance.new("BodyVelocity") | |
7308 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
7309 | - | a.Name = "Direction" |
7309 | + | |
7310 | - | a.Anchored = true |
7310 | + | |
7311 | - | a.BrickColor = MAINRUINCOLOR |
7311 | + | |
7312 | local hitted = false | |
7313 | coroutine.resume(coroutine.create(function() | |
7314 | while true do | |
7315 | - | a.CanCollide = false |
7315 | + | swait(1) |
7316 | if hitted == false and cent.Parent ~= nil then | |
7317 | - | ba.Name = "HitDirect" |
7317 | + | ica = ica + 4*lva |
7318 | - | ba.Anchored = true |
7318 | + | lva = lva + 0.1 |
7319 | - | ba.BrickColor = bc("Cool yellow") |
7319 | + | bv.velocity = cent.CFrame.lookVector*ica |
7320 | sphere2(3,"Add",cent.CFrame,vt(5,5,5),-0.05,-0.05,-0.05,BrickColor.new("Pastel light blue")) | |
7321 | sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,-5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pink")) | |
7322 | - | ba.CanCollide = false |
7322 | + | sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pastel light blue")) |
7323 | - | local ray = Ray.new( |
7323 | + | elseif hitted == true or cent.Parent == nil then |
7324 | - | hb.CFrame.p, -- origin |
7324 | + | break |
7325 | - | (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction |
7325 | + | |
7326 | - | ) |
7326 | + | |
7327 | - | local ignore = Character |
7327 | + | |
7328 | - | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
7328 | + | |
7329 | - | a.BottomSurface = 10 |
7329 | + | cent.Touched:connect(function(hit) |
7330 | - | a.TopSurface = 10 |
7330 | + | if hitted == false and hit.Parent ~= char then |
7331 | - | local distance = (hb.CFrame.p - position).magnitude |
7331 | + | |
7332 | - | a.Size = Vector3.new(distance, 1, 1) |
7332 | + | cent.Anchored = true |
7333 | - | a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) |
7333 | + | CFuncs["Sound"].Create("rbxassetid://782353443", cent, 10, 1) |
7334 | CFuncs["Sound"].Create("rbxassetid://1368637781", cent, 8, 1) | |
7335 | CFuncs["Sound"].Create("rbxassetid://763717897", cent, 5, 1) | |
7336 | CFuncs["EchoSound"].Create("rbxassetid://1177785010", cent, 8, 1.1,0,10,0.15,0.5,1) | |
7337 | MagniDamage(cent, 50, 50,99999, 0, "Normal") | |
7338 | sphere2(2,"Add",cent.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color) | |
7339 | sphere2(3,"Add",cent.CFrame,vt(1,1,1),1.2,1.2,1.2,BrickColor.new("Pink"),BrickColor.new("Pink").Color) | |
7340 | for i = 0, 19 do | |
7341 | - | for i = 0, 25, 0.1 do |
7341 | + | slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,400)/250,BrickColor.new("Pink")) |
7342 | slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,300)/250,BrickColor.new("Pastel light blue")) | |
7343 | end | |
7344 | coroutine.resume(coroutine.create(function() | |
7345 | - | hb.CFrame.p, -- origin |
7345 | + | |
7346 | - | (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction |
7346 | + | |
7347 | - | ) |
7347 | + | |
7348 | eff.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color) | |
7349 | eff.Rate = 10000000 | |
7350 | - | a.Size = Vector3.new(distance, 1, 1) |
7350 | + | |
7351 | - | a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) |
7351 | + | |
7352 | eff.Lifetime = NumberRange.new(5) | |
7353 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,60,0),NumberSequenceKeypoint.new(1,80,0)}) | |
7354 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
7355 | - | MagniDamage(ba, 12, 40000,900000, 0, "Normal") |
7355 | + | |
7356 | eff.Drag = 5 | |
7357 | - | for c = 0, 2 do |
7357 | + | |
7358 | eff.SpreadAngle = Vector2.new(0,900) | |
7359 | eff.RotSpeed = NumberRange.new(-500,500) | |
7360 | local eff2 = eff:Clone() | |
7361 | eff2.Parent = cent | |
7362 | eff2.Speed = NumberRange.new(250) | |
7363 | eff2.Color = ColorSequence.new(BrickColor.new("Pink").Color) | |
7364 | wait(0.2) | |
7365 | eff.Enabled = false | |
7366 | eff2.Enabled = false | |
7367 | end)) | |
7368 | end | |
7369 | - | CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8) |
7369 | + | |
7370 | - | CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9) |
7370 | + | |
7371 | - | CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8) |
7371 | + | |
7372 | - | CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9) |
7372 | + | |
7373 | - | MagniDamage(ba, 30, 400000,9000000, 0, "Normal") |
7373 | + | |
7374 | ||
7375 | function CardStorm() | |
7376 | attack = true | |
7377 | hum.WalkSpeed = 0 | |
7378 | local keptcolor = MAINRUINCOLOR | |
7379 | for i = 0,2,0.1 do | |
7380 | swait() | |
7381 | sphere2(8,"Add",LeftArm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("White"),BrickColor.new("Deep orange").Color) | |
7382 | - | sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0) |
7382 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),7 + 1 * math.cos(sine / 32))* angles(math.rad(0),math.rad(0),math.rad(40)),0.3) |
7383 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3) | |
7384 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3) | |
7385 | - | rsiz = math.random(1,8) |
7385 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3) |
7386 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 9 * math.cos(sine / 51))),.1) | |
7387 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 7 * math.cos(sine / 44))),.1) | |
7388 | end | |
7389 | local RCARD = {83485107,83486447,83485303,83483451,83486567,83484022,83486756} | |
7390 | ||
7391 | local orb = Instance.new("Part", char) | |
7392 | orb.BrickColor = keptcolor | |
7393 | orb.CanCollide = false | |
7394 | orb.FormFactor = 3 | |
7395 | orb.Name = "Ring" | |
7396 | orb.Material = "Neon" | |
7397 | orb.Size = Vector3.new(1, 0.75, 1.25) | |
7398 | orb.Transparency = 0 | |
7399 | orb.TopSurface = 0 | |
7400 | orb.BottomSurface = 0 | |
7401 | local orbm = Instance.new("SpecialMesh", orb) | |
7402 | orbm.MeshType = "Brick" | |
7403 | - | local radm = math.random(1,4) |
7403 | + | |
7404 | orbm.Scale = vt(4,4,4) | |
7405 | - | bosschatfunc("YOU FOOL!",MAINRUINCOLOR.Color,1) |
7405 | + | orb.CFrame = root.CFrame*CFrame.new(0,2,-3) + root.CFrame.lookVector*3 |
7406 | local eff = Instance.new("ParticleEmitter",orb) | |
7407 | - | bosschatfunc("SUBMIT TO ME!",MAINRUINCOLOR.Color,1) |
7407 | + | |
7408 | while true do | |
7409 | - | bosschatfunc("DIE!",MAINRUINCOLOR.Color,1) |
7409 | + | |
7410 | - | elseif radm == 4 then |
7410 | + | eff.Texture = "rbxassetid://"..RCARD[math.random(1,7)] |
7411 | - | bosschatfunc("YOU DARE FIGHT ME?",MAINRUINCOLOR.Color,1) |
7411 | + | |
7412 | end)) | |
7413 | - | CFuncs["EchoSound"].Create("rbxassetid://1448033299", rarm, 1.5,1.25) |
7413 | + | |
7414 | eff.Color = ColorSequence.new(Color3.new(1,1,1)) | |
7415 | eff.Rate = 10000 | |
7416 | eff.Lifetime = NumberRange.new(1.5) | |
7417 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.75,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
7418 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.75,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
7419 | eff.Speed = NumberRange.new(20,85) | |
7420 | eff.Drag = 5 | |
7421 | eff.Rotation = NumberRange.new(-250,250) | |
7422 | eff.VelocitySpread = 9000 | |
7423 | eff.RotSpeed = NumberRange.new(-50,50) | |
7424 | local a = Instance.new("Part",workspace) | |
7425 | a.Name = "Direction" | |
7426 | a.Anchored = true | |
7427 | a.BrickColor = bc("Bright red") | |
7428 | a.Material = "Neon" | |
7429 | a.Transparency = 1 | |
7430 | a.CanCollide = false | |
7431 | local ray = Ray.new( | |
7432 | orb.CFrame.p, -- origin | |
7433 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
7434 | ) | |
7435 | local ignore = orb | |
7436 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
7437 | a.BottomSurface = 10 | |
7438 | a.TopSurface = 10 | |
7439 | - | for i = 0,7,0.1 do |
7439 | + | |
7440 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
7441 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
7442 | orb.CFrame = a.CFrame | |
7443 | a:Destroy() | |
7444 | CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9) | |
7445 | local bv = Instance.new("BodyVelocity") | |
7446 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
7447 | bv.velocity = orb.CFrame.lookVector*300 | |
7448 | bv.Parent = orb | |
7449 | game:GetService("Debris"):AddItem(orb, 10) | |
7450 | local hitted = false | |
7451 | coroutine.resume(coroutine.create(function() | |
7452 | while true do | |
7453 | swait() | |
7454 | if orb.Parent ~= nil and hitted == false then | |
7455 | sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor) | |
7456 | elseif orb.Parent == nil and hitted == true then | |
7457 | break | |
7458 | end | |
7459 | end | |
7460 | - | cef.Enabled = false |
7460 | + | |
7461 | local hit =orb.Touched:connect(function(hit) | |
7462 | - | for i = 0,49 do |
7462 | + | if hitted == false and hit.Parent ~= char then |
7463 | hitted = true | |
7464 | - | rval = rval + 100 |
7464 | + | eff.Enabled = false |
7465 | - | obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval)) |
7465 | + | CameraEnshaking(4,4) |
7466 | - | obj2.Transparency = obj2.Transparency + 0.02 |
7466 | + | CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7) |
7467 | - | obj2.Size = obj2.Size + vt(5,5,5) |
7467 | + | CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4) |
7468 | - | obj1.Transparency = obj1.Transparency + 0.02 |
7468 | + | MagniDamage(orb, 25*2, 20,30, 0, "Normal") |
7469 | - | obj1.Size = obj1.Size + vt(0,-0.5,-0.5) |
7469 | + | sphere2(4,"Add",orb.CFrame,vt(4*2,4*2,4*2),0.5*2,0.5*2,0.5*2,keptcolor) |
7470 | sphere2(3,"Add",orb.CFrame,vt(4*2,4*2,4*2),0.5*2,0.5*2,0.5*2,keptcolor) | |
7471 | - | obj1:Destroy() |
7471 | + | sphere2(2,"Add",orb.CFrame,vt(4*2,4*2,4*2),0.5*2,0.5*2,0.5*2,keptcolor) |
7472 | - | obj2:Destroy() |
7472 | + | |
7473 | - | cfor:Destroy() |
7473 | + | sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor) |
7474 | end | |
7475 | - | local lva = 1 |
7475 | + | |
7476 | - | local ica = 0 |
7476 | + | |
7477 | sphereMK(math.random(1,3),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0) | |
7478 | end | |
7479 | local eff = Instance.new("ParticleEmitter",orb) | |
7480 | coroutine.resume(coroutine.create(function() | |
7481 | while true do | |
7482 | swait() | |
7483 | eff.Texture = "rbxassetid://"..RCARD[math.random(1,7)] | |
7484 | - | a.Name = "Direction" |
7484 | + | |
7485 | - | a.Anchored = true |
7485 | + | |
7486 | - | a.BrickColor = bc("Bright red") |
7486 | + | |
7487 | eff.Color = ColorSequence.new(Color3.new(1,1,1)) | |
7488 | eff.Rate = 10000 | |
7489 | - | a.CanCollide = false |
7489 | + | |
7490 | - | local ray = Ray.new( |
7490 | + | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)}) |
7491 | - | cent.CFrame.p, -- origin |
7491 | + | |
7492 | - | (mouse.Hit.p - cent.CFrame.p).unit * 500 -- direction |
7492 | + | eff.Speed = NumberRange.new(150,350) |
7493 | - | ) |
7493 | + | |
7494 | - | local ignore = cent |
7494 | + | |
7495 | - | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
7495 | + | |
7496 | - | a.BottomSurface = 10 |
7496 | + | |
7497 | - | a.TopSurface = 10 |
7497 | + | |
7498 | - | local distance = (cent.CFrame.p - position).magnitude |
7498 | + | wait(0.25) |
7499 | - | a.Size = Vector3.new(0.1, 0.1, 0.1) |
7499 | + | eff.Enabled = false |
7500 | - | a.CFrame = CFrame.new(cent.CFrame.p, position) * CFrame.new(0, 0, 0) |
7500 | + | |
7501 | local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char) | |
7502 | orb.Anchored = true | |
7503 | orb.Transparency = 1 | |
7504 | coroutine.resume(coroutine.create(function() | |
7505 | if hfr ~= nil then | |
7506 | orb.Size = vt(50,1,50) | |
7507 | orb.Orientation = vt(0,0,0) | |
7508 | orb.CFrame = orb.CFrame*CFrame.new(0,-5,0) | |
7509 | orbm:Destroy() | |
7510 | - | while true do |
7510 | + | local firef = eff:Clone() |
7511 | coroutine.resume(coroutine.create(function() | |
7512 | - | if hitted == false and cent.Parent ~= nil then |
7512 | + | while true do |
7513 | - | ica = ica + 4*lva |
7513 | + | |
7514 | - | lva = lva + 0.1 |
7514 | + | firef.Texture = "rbxassetid://"..RCARD[math.random(1,7)] |
7515 | - | bv.velocity = cent.CFrame.lookVector*ica |
7515 | + | |
7516 | - | sphere2(3,"Add",cent.CFrame,vt(5,5,5),-0.05,-0.05,-0.05,BrickColor.new("Pastel light blue")) |
7516 | + | |
7517 | - | sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,-5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pink")) |
7517 | + | firef.Parent = orb |
7518 | - | sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pastel light blue")) |
7518 | + | firef.VelocitySpread = 50 |
7519 | - | elseif hitted == true or cent.Parent == nil then |
7519 | + | firef.Rate = 500 |
7520 | - | break |
7520 | + | firef.Drag = 3 |
7521 | firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
7522 | firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(0.05,2.5,0),NumberSequenceKeypoint.new(0.4,1,0),NumberSequenceKeypoint.new(1,0,0)}) | |
7523 | firef.Speed = NumberRange.new(10,30) | |
7524 | for i = 0, 24 do | |
7525 | - | cent.Touched:connect(function(hit) |
7525 | + | |
7526 | - | if hitted == false and hit.Parent ~= char then |
7526 | + | MagniDamage(orb, 25, 3,6, 0, "Normal") |
7527 | - | hitted = true |
7527 | + | |
7528 | - | cent.Anchored = true |
7528 | + | firef.Enabled = false |
7529 | - | CFuncs["Sound"].Create("rbxassetid://782353443", cent, 10, 1) |
7529 | + | |
7530 | - | CFuncs["Sound"].Create("rbxassetid://1368637781", cent, 8, 1) |
7530 | + | |
7531 | - | CFuncs["Sound"].Create("rbxassetid://763717897", cent, 5, 1) |
7531 | + | |
7532 | - | CFuncs["EchoSound"].Create("rbxassetid://1177785010", cent, 8, 1.1,0,10,0.15,0.5,1) |
7532 | + | |
7533 | - | MagniDamage(cent, 50, 50,99999, 0, "Normal") |
7533 | + | |
7534 | - | sphere2(2,"Add",cent.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color) |
7534 | + | |
7535 | - | sphere2(3,"Add",cent.CFrame,vt(1,1,1),1.2,1.2,1.2,BrickColor.new("Pink"),BrickColor.new("Pink").Color) |
7535 | + | for i = 0,1,0.1 do |
7536 | - | for i = 0, 19 do |
7536 | + | |
7537 | - | slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,400)/250,BrickColor.new("Pink")) |
7537 | + | sphere2(8,"Add",LeftArm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("White"),BrickColor.new("Deep orange").Color) |
7538 | - | slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,300)/250,BrickColor.new("Pastel light blue")) |
7538 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),7 + 1 * math.cos(sine / 32))* angles(math.rad(-15),math.rad(0),math.rad(-50)),0.5) |
7539 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5) | |
7540 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5) | |
7541 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5) | |
7542 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 9 * math.cos(sine / 51))),.1) | |
7543 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 7 * math.cos(sine / 44))),.1) | |
7544 | end | |
7545 | hum.WalkSpeed = storehumanoidWS | |
7546 | attack = false | |
7547 | end | |
7548 | ||
7549 | local ast = {187744332,1426044282} | |
7550 | local CardT = {"LET'S PLAY SOME CARD SHALL WE?","WANNA SEE SOME MAGIC?","YOU'RE GETTING TRICKY!!","NOW MY TURN.."} | |
7551 | ------------------------------------- | |
7552 | ||
7553 | Humanoid.Animator.Parent = nil | |
7554 | ||
7555 | ------------------------------------- | |
7556 | ||
7557 | ||
7558 | - | eff2.Speed = NumberRange.new(250) |
7558 | + | local NewInstance = function(instance,parent,properties) |
7559 | local inst = Instance.new(instance,parent) | |
7560 | if(properties)then | |
7561 | for i,v in next, properties do | |
7562 | pcall(function() inst[i] = v end) | |
7563 | end | |
7564 | end | |
7565 | return inst; | |
7566 | end | |
7567 | ||
7568 | ||
7569 | ||
7570 | if script.MeshValue.Value == "true" then | |
7571 | - | function dragin() |
7571 | + | |
7572 | local Core = script.CoreForTcOnly | |
7573 | Core.Parent = Character | |
7574 | coroutine.resume(coroutine.create(function() | |
7575 | while true do | |
7576 | swait() | |
7577 | for i,v in pairs(Core:GetChildren())do | |
7578 | if v.Name ~= "Part" then | |
7579 | v.BrickColor = MAINRUINCOLOR | |
7580 | - | for x = 0, 1 do |
7580 | + | |
7581 | - | for i = 0,1,0.5 do |
7581 | + | |
7582 | end | |
7583 | end)) | |
7584 | for i,v in pairs(Core:GetChildren())do | |
7585 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3) |
7585 | + | if v.Name ~= "Weld" then |
7586 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3) |
7586 | + | |
7587 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
7587 | + | |
7588 | - | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3) |
7588 | + | |
7589 | local HWz = NewInstance('Weld',Character,{Part0 = tors, Part1 = Core.Weld, C0 = CFrame.new(0,0,-0.05) * CFrame.Angles(0,0,0)}) | |
7590 | - | for i = 0,1,0.5 do |
7590 | + | |
7591 | ||
7592 | - | 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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) |
7592 | + | function TailPart(CframePart,Color) |
7593 | - | 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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3) |
7593 | + | |
7594 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3) |
7594 | + | |
7595 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3) |
7595 | + | s = Instance.new("Part",Character) |
7596 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
7596 | + | s.Name = "TRAILPART" |
7597 | - | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3) |
7597 | + | s.Size = Vector3.new(4, 0.05, 4) |
7598 | s.BottomSurface = Enum.SurfaceType.Smooth | |
7599 | - | for i = 0,1,0.5 do |
7599 | + | s.CanCollide = false |
7600 | s.Material = Enum.Material.Neon | |
7601 | - | 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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) |
7601 | + | s.TopSurface = Enum.SurfaceType.Smooth |
7602 | - | 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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3) |
7602 | + | SpecialMesh1 = Instance.new("SpecialMesh",s) |
7603 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3) |
7603 | + | SpecialMesh1.Parent = s |
7604 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3) |
7604 | + | SpecialMesh1.MeshType = Enum.MeshType.Sphere |
7605 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
7605 | + | s.Parent = Character |
7606 | - | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3) |
7606 | + | s.Color = Color |
7607 | s.CFrame = CframePart.CFrame + Vector3.new(0,-2.95,0) | |
7608 | - | for i = 0,1,0.5 do |
7608 | + | s.Anchored = true |
7609 | s.Transparency = 0 | |
7610 | - | 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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) |
7610 | + | scriptClone = script.EffectScript:Clone() |
7611 | - | 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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3) |
7611 | + | scriptClone.Parent = s |
7612 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
7612 | + | scriptClone.Disabled = false |
7613 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3) |
7613 | + | |
7614 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
7614 | + | |
7615 | - | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3) |
7615 | + | |
7616 | local attacktype = 1 | |
7617 | mouse.Button1Down:connect(function() | |
7618 | if attack == false and attacktype == 1 then | |
7619 | - | targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50 |
7619 | + | |
7620 | - | CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1) |
7620 | + | |
7621 | - | CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1) |
7621 | + | |
7622 | attacktype = 3 | |
7623 | - | local A1 = Instance.new("Attachment",targetted.Head) |
7623 | + | |
7624 | - | local A2 = Instance.new("Attachment",sorb) |
7624 | + | |
7625 | - | local Beem = Instance.new("Beam",tors) |
7625 | + | |
7626 | - | Beem.Attachment0 = A1 |
7626 | + | |
7627 | - | Beem.Attachment1 = A2 |
7627 | + | |
7628 | - | Beem.Texture = "rbxassetid://897585362" |
7628 | + | |
7629 | - | Beem.LightEmission = 0.75 |
7629 | + | |
7630 | - | Beem.FaceCamera = true |
7630 | + | |
7631 | - | Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)}) |
7631 | + | |
7632 | - | Beem.Width0 = 1 |
7632 | + | |
7633 | - | Beem.Width1 = 1 |
7633 | + | |
7634 | - | Beem.TextureMode = "Wrap" |
7634 | + | normalmog() ---Disabled due to crashing... only in VSB |
7635 | - | Beem.TextureLength = 1 |
7635 | + | |
7636 | - | Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color) |
7636 | + | |
7637 | - | sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),0.15,0.15,0.15,MAINRUINCOLOR) |
7637 | + | |
7638 | - | sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),0.2,0.2,0.2,MAINRUINCOLOR) |
7638 | + | |
7639 | - | for x = 0, 24 do |
7639 | + | |
7640 | CRAZED = false | |
7641 | - | sphereMK(math.random(1,5),0.25,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) |
7641 | + | newTheme("rbxassetid://1644084975",48.6,1,1.25) |
7642 | RecolorTextAndRename("Troy",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique") | |
7643 | MAINRUINCOLOR = BrickColor.new("Brown") | |
7644 | - | CFuncs["EchoSound"].Create("rbxassetid://131228548", char, 7, 1,0,10,0.15,0.5,1) |
7644 | + | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false) |
7645 | - | CFuncs["EchoSound"].Create("rbxassetid://131228548", root, 60, 1,0,10,0.15,0.5,1) |
7645 | + | |
7646 | - | local radm = math.random(1,2) |
7646 | + | |
7647 | ModeOfGlitch = 2 | |
7648 | - | bosschatfunc("GET OVER HERE!",MAINRUINCOLOR.Color,1) |
7648 | + | |
7649 | hum.WalkSpeed = 16 | |
7650 | - | bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1) |
7650 | + | |
7651 | chaosmode = false | |
7652 | CRAZED = false | |
7653 | RecolorTextAndRename("COLORBLIND_TROY",Color3.new(0,1,1),Color3.new(1,1,1),"Code") | |
7654 | newTheme("rbxassetid://1539245059",0,1,1.25) | |
7655 | MAINRUINCOLOR = BrickColor.new("Black") | |
7656 | - | targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10 |
7656 | + | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false) |
7657 | - | sphereMK(math.random(1,5),0.01,"Add",targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) |
7657 | + | |
7658 | if k == "r" and attack == false and ModeOfGlitch ~= 3 then | |
7659 | - | sphere2(8,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR) |
7659 | + | |
7660 | storehumanoidWS = 16 | |
7661 | hum.WalkSpeed = 16 | |
7662 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6) |
7662 | + | |
7663 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6) |
7663 | + | |
7664 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(50)),.6) |
7664 | + | CRAZED = false |
7665 | - | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.6) |
7665 | + | RecolorTextAndRename("CHAOTIC_TROY",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique") |
7666 | newTheme("rbxassetid://2533880583",58.15,0.98,1.25) | |
7667 | - | CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9) |
7667 | + | |
7668 | - | CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1) |
7668 | + | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false) |
7669 | - | local vel = Instance.new("BodyPosition", targetted.Head) |
7669 | + | |
7670 | - | vel.P = 12500 |
7670 | + | |
7671 | - | vel.D = 1000 |
7671 | + | |
7672 | - | vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000) |
7672 | + | |
7673 | - | vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75 |
7673 | + | |
7674 | rainbowmode = false | |
7675 | chaosmode = true | |
7676 | CRAZED = false | |
7677 | RecolorTextAndRename("FALLEN TROY",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade") | |
7678 | - | targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10 |
7678 | + | newTheme("rbxassetid://1369263130",0,1.01,1.25) |
7679 | - | sphereMK(math.random(1,5),0.01,"Add",targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) |
7679 | + | |
7680 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false) | |
7681 | - | sphere2(8,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR) |
7681 | + | |
7682 | - | 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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2) |
7682 | + | |
7683 | - | 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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.2) |
7683 | + | |
7684 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2) |
7684 | + | |
7685 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2) |
7685 | + | |
7686 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(-50)),.2) |
7686 | + | |
7687 | - | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.2) |
7687 | + | |
7688 | CRAZED = false | |
7689 | - | local visibility = 0 |
7689 | + | RecolorTextAndRename("DIVINE TROY",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi") |
7690 | newTheme("rbxassetid://661079869",0,1.02,1.25) | |
7691 | MAINRUINCOLOR = BrickColor.new("Dark Blue") | |
7692 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false) | |
7693 | - | visibility = visibility + 0.02 |
7693 | + | |
7694 | - | Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)}) |
7694 | + | |
7695 | ModeOfGlitch = 6 | |
7696 | - | Beem:Destroy() |
7696 | + | |
7697 | - | A1:Destroy() |
7697 | + | |
7698 | - | A2:Destroy() |
7698 | + | |
7699 | chaosmode = false | |
7700 | - | game:GetService("Debris"):AddItem(vel,0.75) |
7700 | + | CRAZED = false |
7701 | RecolorTextAndRename("TROY'S SOLITUDE",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy") | |
7702 | newTheme("rbxassetid://1347011178",0,1.01,1.25) | |
7703 | MAINRUINCOLOR = BrickColor.new("White") | |
7704 | RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false) | |
7705 | end | |
7706 | if k == "f" and attack == false and ModeOfGlitch ~= 8 then | |
7707 | - | function DualGleamingBeam() |
7707 | + | |
7708 | storehumanoidWS = 140 | |
7709 | hum.WalkSpeed = 140 | |
7710 | - | CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1) |
7710 | + | |
7711 | - | CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1) |
7711 | + | |
7712 | CRAZED = false | |
7713 | RecolorTextAndRename("DESTINAL TROY",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code") | |
7714 | - | bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1) |
7714 | + | newTheme("rbxassetid://1495032271",0,1.01,1.25) |
7715 | MAINRUINCOLOR = BrickColor.new("Alder") | |
7716 | - | bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1) |
7716 | + | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false) |
7717 | end | |
7718 | - | bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1) |
7718 | + | |
7719 | ModeOfGlitch = 9 | |
7720 | storehumanoidWS = 150 | |
7721 | - | local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) |
7721 | + | |
7722 | - | hb.Anchored = true |
7722 | + | |
7723 | - | hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0) |
7723 | + | |
7724 | - | local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) |
7724 | + | CRAZED = false |
7725 | - | hb2.Anchored = true |
7725 | + | RecolorTextAndRename("CORRUPTED TROY",Color3.new(0,1,0),Color3.new(0,0.7,0),"Bodoni") |
7726 | - | hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0) |
7726 | + | newTheme("rbxassetid://246133596",0,1.01,1.25) |
7727 | - | CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25) |
7727 | + | MAINRUINCOLOR = BrickColor.new("Camo") |
7728 | - | CFuncs["Sound"].Create("rbxassetid://138677306", sorb, 8,0.25) |
7728 | + | RecolorThing(MAINRUINCOLOR,BrickColor.new("Camo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false) |
7729 | - | for i = 0, 14, 0.1 do |
7729 | + | |
7730 | if k == "m" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 01010101000001 then | |
7731 | ModeOfGlitch = 01010101000001 | |
7732 | storehumanoidWS = 16 | |
7733 | - | hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0) |
7733 | + | |
7734 | - | sphereMK(math.random(3,9),0.25,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15) |
7734 | + | |
7735 | chaosmode = false | |
7736 | - | sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("Lime green"),-15) |
7736 | + | RecolorTextAndRename("INFESTATION STAR",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni") |
7737 | - | sphere2(5,"Add",sorb2.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,BrickColor.new("Lime green")) |
7737 | + | newTheme("rbxassetid://798163149",0,1.01,1.25) |
7738 | MAINRUINCOLOR = BrickColor.new("Forest green") | |
7739 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
7740 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.3 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) |
7740 | + | |
7741 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1) |
7741 | + | if k == "n" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 103 then |
7742 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1) |
7742 | + | ModeOfGlitch = 103 |
7743 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1) |
7743 | + | storehumanoidWS = 200 |
7744 | hum.WalkSpeed = 200 | |
7745 | - | CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6) |
7745 | + | |
7746 | - | CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5) |
7746 | + | |
7747 | - | CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6) |
7747 | + | CRAZED = false |
7748 | - | CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5) |
7748 | + | blush.Transparency = 0 |
7749 | - | CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1) |
7749 | + | RecolorTextAndRename("ASCENDED-STAR",BrickColor.new("Really black").Color,BrickColor.new("New Yeller").Color,"SciFi") |
7750 | - | CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1) |
7750 | + | newTheme("rbxassetid://1986375341",0,1.02,1.2) |
7751 | MAINRUINCOLOR = BrickColor.new("New Yeller") | |
7752 | disably = false | |
7753 | warnedpeople(CardT[math.random(1,4)],"SciFi",BrickColor.new("Really black").Color,BrickColor.new("New Yeller").Color) | |
7754 | - | sphere2(3,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green")) |
7754 | + | disably = true |
7755 | - | sphere2(6,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green")) |
7755 | + | RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Deep orange"),0,BrickColor.new("White"),true,true) |
7756 | - | sphere2(9,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green")) |
7756 | + | |
7757 | if k == "m" and attack == false and ModeOfGlitch == 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then | |
7758 | ModeOfGlitch = 808080808080808080808080 | |
7759 | - | sphereMK(math.random(1,5),0.75,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0) |
7759 | + | |
7760 | - | sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0) |
7760 | + | |
7761 | rainbowmode = false | |
7762 | chaosmode = false | |
7763 | - | a.Name = "Direction" |
7763 | + | CRAZED = false |
7764 | - | a.Anchored = true |
7764 | + | CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75) |
7765 | - | a.BrickColor = MAINRUINCOLOR |
7765 | + | CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5) |
7766 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5) | |
7767 | CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5) | |
7768 | RecolorTextAndRename("MYTHICAL STAR",BrickColor.new("Dark indigo").Color,BrickColor.new("Really blue").Color,"Bodoni") | |
7769 | - | a.CanCollide = false |
7769 | + | newThemeCust("rbxassetid://398455752",0,1.01,2) |
7770 | - | local a2 = Instance.new("Part",Character) |
7770 | + | |
7771 | - | a2.Name = "Direction" |
7771 | + | bosschatfunc("Are you gonna stop now or what?",MAINRUINCOLOR.Color,1) |
7772 | - | a2.Anchored = true |
7772 | + | disably = false |
7773 | - | a2.BrickColor = MAINRUINCOLOR |
7773 | + | warnedpeople("MYSTIC!","Arcade",BrickColor.new("Alder").Color,BrickColor.new("Pastel light blue").Color) |
7774 | - | a2.Material = "Neon" |
7774 | + | disably = true |
7775 | - | a2.Transparency = 0 |
7775 | + | RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark indigo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Alder"),0,BrickColor.new("Pastel light blue"),true,true) |
7776 | - | a2.Shape = "Cylinder" |
7776 | + | |
7777 | - | a2.CanCollide = false |
7777 | + | if k == "m" and attack == false and ModeOfGlitch == 8889 and ModeOfGlitch ~= 88893333388 then |
7778 | ModeOfGlitch = 88893333388 | |
7779 | - | ba.Name = "HitDirect" |
7779 | + | storehumanoidWS = 200 |
7780 | - | ba.Anchored = true |
7780 | + | hum.WalkSpeed = 200 |
7781 | - | ba.BrickColor = MAINRUINCOLOR |
7781 | + | |
7782 | chaosmode = false | |
7783 | CRAZED = false | |
7784 | - | ba.CanCollide = false |
7784 | + | RecolorTextAndRename("CATASTROPHE STAR",BrickColor.new("Royal purple").Color,BrickColor.new("Really blue").Color,"Bodoni") |
7785 | - | local ba2 = Instance.new("Part",Character) |
7785 | + | newThemeCust("rbxassetid://1504604335",0,1.01,1.5) |
7786 | - | ba2.Name = "HitDirect" |
7786 | + | |
7787 | - | ba2.Anchored = true |
7787 | + | bosschatfunc("Evenly with your rejections.",MAINRUINCOLOR.Color,1) |
7788 | - | ba2.BrickColor = MAINRUINCOLOR |
7788 | + | RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false) |
7789 | - | ba2.Material = "Neon" |
7789 | + | |
7790 | - | ba2.Transparency = 1 |
7790 | + | |
7791 | - | ba2.CanCollide = false |
7791 | + | |
7792 | - | local ray = Ray.new( |
7792 | + | |
7793 | - | hb.CFrame.p, -- origin |
7793 | + | |
7794 | - | (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction |
7794 | + | |
7795 | - | ) |
7795 | + | |
7796 | - | local ignore = Character |
7796 | + | CRAZED = false |
7797 | - | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
7797 | + | RecolorTextAndRename("CALAMITY STAR",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique") |
7798 | - | local ray2 = Ray.new( |
7798 | + | newTheme("rbxassetid://1359036559",0,1.01,1.5) |
7799 | - | hb2.CFrame.p, -- origin |
7799 | + | |
7800 | - | (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction |
7800 | + | RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false) |
7801 | - | ) |
7801 | + | |
7802 | - | local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore) |
7802 | + | if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 664663666 then |
7803 | - | local distance2 = (hb2.CFrame.p - position).magnitude |
7803 | + | ModeOfGlitch = 664663666 |
7804 | storehumanoidWS = 175 | |
7805 | - | a.BottomSurface = 10 |
7805 | + | hum.WalkSpeed = 175 |
7806 | - | a.TopSurface = 10 |
7806 | + | |
7807 | - | local distance = (hb.CFrame.p - position).magnitude |
7807 | + | |
7808 | - | a.Size = Vector3.new(distance, 1, 1) |
7808 | + | CRAZED = false |
7809 | - | a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) |
7809 | + | RecolorTextAndRename("STRESSED STAR",Color3.new(0.1,0,0),Color3.new(0.25,0,0),"Antique") |
7810 | - | a2.BottomSurface = 10 |
7810 | + | disably = false |
7811 | - | a2.TopSurface = 10 |
7811 | + | warnedpeople("AHHHHHHHHHH!!!!!!!","Antique",Color3.new(0.1,0,0),Color3.new(0.25,0,0)) |
7812 | - | a2.Size = Vector3.new(distance2, 1, 1) |
7812 | + | disably = true |
7813 | - | a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2) |
7813 | + | newTheme("rbxassetid://1359036559",0,1.01,1.5) |
7814 | MAINRUINCOLOR = BrickColor.new("Maroon") | |
7815 | - | ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2) |
7815 | + | RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false) |
7816 | end | |
7817 | - | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) |
7817 | + | if k == "m" and attack == false and ModeOfGlitch == 6 then |
7818 | ModeOfGlitch = 3444 | |
7819 | storehumanoidWS = 100 | |
7820 | hum.WalkSpeed = 100 | |
7821 | - | local msh2 = Instance.new("SpecialMesh",a2) |
7821 | + | |
7822 | - | msh2.MeshType = "Cylinder" |
7822 | + | |
7823 | - | msh2.Scale = vt(1,4,4) |
7823 | + | CRAZED = false |
7824 | RecolorTextAndRename("TWISTED STAR",Color3.new(1,1,1),BrickColor.new("Storm blue").Color,"Code") | |
7825 | - | game:GetService("Debris"):AddItem(a2, 30) |
7825 | + | newTheme("rbxassetid://919231299",0,1,1) |
7826 | MAINRUINCOLOR = BrickColor.new("Storm blue") | |
7827 | - | game:GetService("Debris"):AddItem(ba2, 30) |
7827 | + | RecolorThing(MAINRUINCOLOR,BrickColor.new("Storm blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false) |
7828 | - | for i = 0, 20, 0.1 do |
7828 | + | |
7829 | if k == "n" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 765688533321 then | |
7830 | ModeOfGlitch = 765688533321 | |
7831 | - | hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0) |
7831 | + | storehumanoidWS = 260 |
7832 | hum.WalkSpeed = 260 | |
7833 | - | hb.CFrame.p, -- origin |
7833 | + | |
7834 | - | (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction |
7834 | + | |
7835 | - | ) |
7835 | + | CRAZED = false |
7836 | RecolorTextAndRename("UNSTABLE STAR",Color3.new(1,1,1),Color3.new(1,0,0),"Arcade") | |
7837 | disably = false | |
7838 | - | ray2 = Ray.new( |
7838 | + | warnedpeople("UNSTABLE POWER!!","Arcade",BrickColor.new("Really red").Color,BrickColor.new("White").Color) |
7839 | - | hb2.CFrame.p, -- origin |
7839 | + | disably = true |
7840 | - | (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction |
7840 | + | newTheme("rbxassetid://899090278",0,1.005,1.75) |
7841 | - | ) |
7841 | + | |
7842 | - | hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore) |
7842 | + | RecolorThing(BrickColor.new("Institutional white"),BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Crimson"),0,BrickColor.new("Really black"),true,true) |
7843 | - | distance2 = (hb2.CFrame.p - position).magnitude |
7843 | + | |
7844 | - | a.Size = Vector3.new(distance, 1, 1) |
7844 | + | |
7845 | - | a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) |
7845 | + | |
7846 | - | a2.Size = Vector3.new(distance2, 1, 1) |
7846 | + | |
7847 | - | a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2) |
7847 | + | |
7848 | rainbowmode = false | |
7849 | - | ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2) |
7849 | + | |
7850 | CRAZED = false | |
7851 | - | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) |
7851 | + | RecolorTextAndRename("Peaceful Star",Color3.new(1,1,1),BrickColor.new("Forest green").Color,"Code") |
7852 | newTheme("rbxassetid://181761264",0,1,1) | |
7853 | - | MagniDamage(ba, 12, 800,18000, 0, "Normal") |
7853 | + | MAINRUINCOLOR = BrickColor.new("Forest green") |
7854 | - | MagniDamage(ba2, 12, 800,18000, 0, "Normal") |
7854 | + | RecolorThing(MAINRUINCOLOR,BrickColor.new("Forest green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false) |
7855 | - | for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do |
7855 | + | |
7856 | if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then | |
7857 | ModeOfGlitch = 4367677813 | |
7858 | storehumanoidWS = 225 | |
7859 | hum.WalkSpeed = 225 | |
7860 | rainbowmode = false | |
7861 | - | local bx = Instance.new("Part",Character) |
7861 | + | |
7862 | - | bx.Name = "Location" |
7862 | + | CRAZED = false |
7863 | - | bx.Anchored = true |
7863 | + | RecolorTextAndRename("TimeControlled Star",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade") |
7864 | - | bx.BrickColor = MAINRUINCOLOR |
7864 | + | newTheme("rbxassetid://363284685",0,1.01,1.25) |
7865 | - | bx.Material = "Neon" |
7865 | + | |
7866 | - | bx.Transparency = 1 |
7866 | + | RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false) |
7867 | - | bx.CanCollide = false |
7867 | + | |
7868 | - | bx.Position = ba.Position |
7868 | + | if k == "n" and attack == false and ModeOfGlitch == 9999999921111 and ModeOfGlitch ~= 101 then |
7869 | - | sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR) |
7869 | + | ModeOfGlitch = 101 |
7870 | - | wait(math.random(1,2)) |
7870 | + | storehumanoidWS = 350 |
7871 | - | sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green")) |
7871 | + | hum.WalkSpeed = 350 |
7872 | - | sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR) |
7872 | + | |
7873 | - | sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green")) |
7873 | + | |
7874 | - | CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7) |
7874 | + | CRAZED = false |
7875 | - | CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8) |
7875 | + | RecolorTextAndRename("Ultimate Star",BrickColor.new("Black").Color,BrickColor.new("Storm blue").Color,"SciFi") |
7876 | - | MagniDamage(bx, 20, 80000,900000, 0, "Normal") |
7876 | + | disably = false |
7877 | - | for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do |
7877 | + | warnedpeople("U L T I M A T E .","Arcade",BrickColor.new("Black").Color,BrickColor.new("Storm blue").Color) |
7878 | disably = true | |
7879 | newTheme("rbxassetid://401710836",0,1.01,1.8) | |
7880 | MAINRUINCOLOR = BrickColor.new("Storm blue") | |
7881 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Bright bluish green"),0,BrickColor.new("Really black"),true,true) | |
7882 | end | |
7883 | - | bx:Destroy() |
7883 | + | |
7884 | ModeOfGlitch = 9999999921111 | |
7885 | - | sphereMK(math.random(4,8),0.25,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),0) |
7885 | + | |
7886 | - | sphereMK(math.random(4,8),0.25,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),0) |
7886 | + | |
7887 | - | for c = 0, 2 do |
7887 | + | |
7888 | - | sphereMK(math.random(3,6),0.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),2) |
7888 | + | |
7889 | CRAZED = false | |
7890 | RecolorTextAndRename("Extreme Star",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi") | |
7891 | newTheme("rbxassetid://643309199",0,1.01,1.5) | |
7892 | - | sphere2(5,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR) |
7892 | + | |
7893 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false) | |
7894 | end | |
7895 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.3 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.05) |
7895 | + | if k == "h" and attack == false and ModeOfGlitch ~= 102 then |
7896 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05) |
7896 | + | ModeOfGlitch = 102 |
7897 | - | RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05) |
7897 | + | storehumanoidWS = 18 |
7898 | - | LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05) |
7898 | + | hum.WalkSpeed = 18 |
7899 | rainbowmode = false | |
7900 | chaosmode = false | |
7901 | - | CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8) |
7901 | + | CRAZED = false |
7902 | - | CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9) |
7902 | + | RecolorTextAndRename("??? Star",BrickColor.new("White").Color,BrickColor.new("Deep orange").Color,"Code") |
7903 | - | CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8) |
7903 | + | newTheme("rbxassetid://1426044282",0,1,1.15) |
7904 | - | CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9) |
7904 | + | MAINRUINCOLOR = BrickColor.new("Deep orange") |
7905 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Pastel orange"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false) | |
7906 | - | MagniDamage(ba, 30, 8000,180000, 0, "Normal") |
7906 | + | |
7907 | - | MagniDamage(ba2, 30, 8000,180000, 0, "Normal") |
7907 | + | |
7908 | - | for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do |
7908 | + | |
7909 | storehumanoidWS = 500 | |
7910 | hum.WalkSpeed = 500 | |
7911 | rainbowmode = false | |
7912 | chaosmode = false | |
7913 | CRAZED = true | |
7914 | RecolorTextAndRename("BROKEN STAR",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code") | |
7915 | disably = false | |
7916 | warnedpeople("HAHAHAHAHA.","Code",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color) | |
7917 | disably = true | |
7918 | newTheme("rbxassetid://719008519",0,1.02,1.25) | |
7919 | - | sphere2(3,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,bc("Lime green")) |
7919 | + | MAINRUINCOLOR = BrickColor.new("Navy blue") |
7920 | - | sphere2(6,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,bc("Lime green")) |
7920 | + | RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Navy blue"),0,BrickColor.new("Really blue"),true,true) |
7921 | - | sphere2(9,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,bc("Lime green")) |
7921 | + | |
7922 | if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then | |
7923 | ModeOfGlitch = 1264532489 | |
7924 | - | sphereMK(math.random(1,5),0.75,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,bc("Lime green"),0) |
7924 | + | |
7925 | - | sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,bc("Lime green"),0) |
7925 | + | |
7926 | rainbowmode = false | |
7927 | chaosmode = false | |
7928 | - | rsiz = math.random(1,8) |
7928 | + | CRAZED = false |
7929 | - | sphereMK(math.random(1,3),1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz,rsiz,rsiz,0,bc("Lime green"),2) |
7929 | + | RecolorTextAndRename("Catastrophic Star",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique") |
7930 | disably = false | |
7931 | warnedpeople("WHO DARE TO CHALLENGE ME?!","Antique",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color) | |
7932 | disably = true | |
7933 | newTheme("rbxassetid://1505487022",0,1.01,1.5) | |
7934 | MAINRUINCOLOR = BrickColor.new("Pastel green") | |
7935 | - | a2.Transparency = a2.Transparency + 0.01 |
7935 | + | RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,BrickColor.new("Deep orange"),true,true) |
7936 | end | |
7937 | if k == "l" and mutedtog == false then | |
7938 | mutedtog = true | |
7939 | - | a2:Destroy() |
7939 | + | |
7940 | - | ba2:Destroy() |
7940 | + | |
7941 | mutedtog = false | |
7942 | kan.Volume = 1.25 | |
7943 | end | |
7944 | - | hb2:Destroy() |
7944 | + | |
7945 | toggleTag = true | |
7946 | modet.TextTransparency = 0 | |
7947 | modet.TextStrokeTransparency = 0 | |
7948 | - | function Counter() |
7948 | + | |
7949 | - | hum.WalkSpeed = 0 |
7949 | + | |
7950 | - | CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1) |
7950 | + | |
7951 | - | CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1) |
7951 | + | |
7952 | - | bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1) |
7952 | + | |
7953 | if k == "z" and attack == false and ModeOfGlitch == 1 then | |
7954 | - | for i = 0,1,0.1 do |
7954 | + | |
7955 | elseif k == "z" and attack == false and ModeOfGlitch == 2 then | |
7956 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3) |
7956 | + | |
7957 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) |
7957 | + | |
7958 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3) |
7958 | + | |
7959 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3) |
7959 | + | |
7960 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10)),.3) |
7960 | + | |
7961 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.3) |
7961 | + | elseif k == "z" and attack == false and ModeOfGlitch == 103 then |
7962 | CardStorm() | |
7963 | - | CameraEnshaking(3,4) |
7963 | + | |
7964 | - | MagniDamageWithEffect(root, 24, 0,0, 75, "Normal") |
7964 | + | --DivineLights() |
7965 | - | sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR) |
7965 | + | |
7966 | - | sphere2(1.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR) |
7966 | + | |
7967 | - | sphere2(20,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR) |
7967 | + | |
7968 | FallenOrbs() | |
7969 | - | local eff = Instance.new("ParticleEmitter",root) |
7969 | + | elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then |
7970 | SHDTwist() | |
7971 | end | |
7972 | if k == "v" and attack == false and ModeOfGlitch == 1264532489 then | |
7973 | FallenDEMISE() | |
7974 | end | |
7975 | - | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)}) |
7975 | + | |
7976 | - | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)}) |
7976 | + | |
7977 | - | eff.Speed = NumberRange.new(10,125) |
7977 | + | |
7978 | end) | |
7979 | ||
7980 | coroutine.resume(coroutine.create(function() | |
7981 | while true do | |
7982 | swait() | |
7983 | - | eff2.Parent = root |
7983 | + | if ModeOfGlitch ~= 102 then |
7984 | - | eff2.Texture = "rbxassetid://284205403" |
7984 | + | blush.Parent = nil |
7985 | - | eff2.Rate = 10000 |
7985 | + | blush.Transparency = 1 |
7986 | - | eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,30,0),NumberSequenceKeypoint.new(1,0,0)}) |
7986 | + | elseif ModeOfGlitch == 102 then |
7987 | - | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)}) |
7987 | + | blush.Parent = hed |
7988 | - | eff2.Drag = 5 |
7988 | + | blush.Transparency = 0 |
7989 | - | eff2.Speed = NumberRange.new(10,50) |
7989 | + | end |
7990 | - | eff2.Rotation = NumberRange.new(-500,500) |
7990 | + | |
7991 | - | eff2.VelocitySpread = 9000 |
7991 | + | |
7992 | ||
7993 | coroutine.resume(coroutine.create(function() | |
7994 | while true do | |
7995 | swait() | |
7996 | - | eff2:Destroy() |
7996 | + | if ModeOfGlitch == 102 then |
7997 | sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("Deep orange"),0) | |
7998 | end | |
7999 | end | |
8000 | - | sphere2(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))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR) |
8000 | + | |
8001 | ||
8002 | coroutine.resume(coroutine.create(function() | |
8003 | while true do | |
8004 | - | sphereMK(math.random(2,10),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0) |
8004 | + | |
8005 | if ModeOfGlitch == 6 or ModeOfGlitch == 3444 or ModeOfGlitch == 103 or ModeOfGlitch == 101 or ModeOfGlitch == 8 or ModeOfGlitch == 9 or ModeOfGlitch == 8889 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 664663666 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 808080808080808080808080 then | |
8006 | - | CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1) |
8006 | + | sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,MAINRUINCOLOR,0) |
8007 | - | CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1) |
8007 | + | if ModeOfGlitch == 765688533321 then |
8008 | - | CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1) |
8008 | + | sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("Really red"),0) |
8009 | - | for i = 0,2,0.1 do |
8009 | + | elseif ModeOfGlitch == 88893333388 then |
8010 | sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("Really blue"),0) | |
8011 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3) |
8011 | + | elseif ModeOfGlitch == 101 then |
8012 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) |
8012 | + | sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("Black"),0) |
8013 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3) |
8013 | + | elseif ModeOfGlitch == 103 then |
8014 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3) |
8014 | + | sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-125,125),-10,math.random(-125,125))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),3,3,50,-0.03,BrickColor.new("Deep orange"),0) |
8015 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.3) |
8015 | + | elseif ModeOfGlitch == 808080808080808080808080 then |
8016 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3) |
8016 | + | sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-125,125),-10,math.random(-125,125))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),3,3,50,-0.03,BrickColor.new("Alder"),0) |
8017 | end | |
8018 | - | hum.WalkSpeed = storehumanoidWS |
8018 | + | |
8019 | end | |
8020 | end)) | |
8021 | --[[coroutine.resume(coroutine.create(function() | |
8022 | - | function CyberSlash() |
8022 | + | |
8023 | - | local posit = -2 |
8023 | + | |
8024 | if chaosmode == true then | |
8025 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
8026 | - | CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1) |
8026 | + | |
8027 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
8028 | RecolorTextAndRename("FALLEN STAR",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy") | |
8029 | - | bosschatfunc("FIBER!!!",MAINRUINCOLOR.Color,1) |
8029 | + | |
8030 | if v:IsA("Part") then | |
8031 | - | bosschatfunc("SLASHED!!",MAINRUINCOLOR.Color,1) |
8031 | + | |
8032 | v.BrickColor = BrickColor.random() | |
8033 | - | bosschatfunc("TAKE MY CLAW!!",MAINRUINCOLOR.Color,1) |
8033 | + | |
8034 | end | |
8035 | - | CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1) |
8035 | + | |
8036 | - | for i = 0,2,0.1 do |
8036 | + | |
8037 | if v:IsA("Part") then | |
8038 | - | sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR) |
8038 | + | |
8039 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5) |
8039 | + | |
8040 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5) |
8040 | + | |
8041 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5) |
8041 | + | |
8042 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5) |
8042 | + | |
8043 | end | |
8044 | end))]]-- | |
8045 | Humanoid.Name = "STARGLITCHER" | |
8046 | Humanoid.MaxHealth = math.huge | |
8047 | - | CameraEnshaking(1,2) |
8047 | + | |
8048 | Instance.new("ForceField",char).Visible = false | |
8049 | ||
8050 | local bguis = Instance.new("BillboardGui",tors) | |
8051 | bguis.Size = UDim2.new(25, 0, 25, 0) | |
8052 | local imgca = Instance.new("ImageLabel",bguis) | |
8053 | imgca.BackgroundTransparency = 1 | |
8054 | imgca.ImageTransparency = 1 | |
8055 | imgca.Size = UDim2.new(1,0,1,0) | |
8056 | imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904 | |
8057 | imgca.ImageColor3 = Color3.new(0,0,0) | |
8058 | - | hite.CFrame = root.CFrame*CFrame.new(0,posit,-5) |
8058 | + | |
8059 | - | CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9) |
8059 | + | |
8060 | - | CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8) |
8060 | + | |
8061 | if mutedtog == false then | |
8062 | kan.Volume = currentVol | |
8063 | - | swait() |
8063 | + | |
8064 | - | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) |
8064 | + | |
8065 | - | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) |
8065 | + | |
8066 | - | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) |
8066 | + | |
8067 | kan.Pitch = currentPitch | |
8068 | kan.SoundId = currentThemePlaying | |
8069 | - | sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR) |
8069 | + | |
8070 | - | MagniDamage(hite, 3, 30,40, 0, "Normal") |
8070 | + | |
8071 | kan:Resume() | |
8072 | - | posit = posit + 2 |
8072 | + | if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then |
8073 | imgca.ImageTransparency = 1 | |
8074 | - | for i = 0,1,0.1 do |
8074 | + | elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then |
8075 | imgca.ImageColor3 = MAINRUINCOLOR.Color | |
8076 | - | sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR) |
8076 | + | |
8077 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5) |
8077 | + | |
8078 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5) |
8078 | + | imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/100 |
8079 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5) |
8079 | + | bguis.Size = UDim2.new(15 + 3 * math.cos(sine / 30),0, 15 + 3 * math.cos(sine / 30),0) |
8080 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5) |
8080 | + | |
8081 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5) |
8081 | + | if CRAZED == true then |
8082 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5) |
8082 | + | RecolorTextAndRename("BROKEN STAR",Color3.new(0,0,math.random(0,0.25)),Color3.new(0,0,math.random(0.2,1)),"Code") |
8083 | end | |
8084 | - | for i = 0,1,0.1 do |
8084 | + | |
8085 | coroutine.resume(coroutine.create(function() | |
8086 | - | sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR) |
8086 | + | |
8087 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5) |
8087 | + | |
8088 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5) |
8088 | + | |
8089 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5) |
8089 | + | |
8090 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5) |
8090 | + | |
8091 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5) |
8091 | + | |
8092 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5) |
8092 | + | |
8093 | end | |
8094 | - | posit = -6 |
8094 | + | |
8095 | - | for i = 0, 6 do |
8095 | + | |
8096 | - | CameraEnshaking(1,3) |
8096 | + | |
8097 | RecolorTextAndRename("FALLEN STAR",Color3.new(0,0,0),BrickColor.random().Color,"Arcade") | |
8098 | end | |
8099 | end)) | |
8100 | if chaosmode == false then | |
8101 | modet.Position = UDim2.new(0,0,0,0) | |
8102 | modet.Rotation = -5 * math.cos(sine / 32) | |
8103 | techc.Rotation = techc.Rotation + 1 | |
8104 | circl.Rotation = circl.Rotation - kan.PlaybackLoudness/100 - 1 | |
8105 | circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/75 + 1 | |
8106 | imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/75 + 1 | |
8107 | - | hite.CFrame = root.CFrame*CFrame.new(posit,0,-5) |
8107 | + | imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/50 - 1 |
8108 | - | CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2) |
8108 | + | |
8109 | - | CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1) |
8109 | + | |
8110 | - | sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR) |
8110 | + | |
8111 | techc.Rotation = techc.Rotation + 1 | |
8112 | circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5) | |
8113 | - | swait() |
8113 | + | |
8114 | - | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) |
8114 | + | |
8115 | - | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) |
8115 | + | |
8116 | - | sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR) |
8116 | + | |
8117 | ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3)) | |
8118 | modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1)) | |
8119 | - | MagniDamage(hite, 5, 40,70, 0, "Normal") |
8119 | + | |
8120 | end | |
8121 | - | posit = posit + 2 |
8121 | + | |
8122 | ||
8123 | - | for i = 0,1,0.1 do |
8123 | + | |
8124 | if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 102 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then | |
8125 | - | sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR) |
8125 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
8126 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5) |
8126 | + | |
8127 | 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) | |
8128 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5) |
8128 | + | |
8129 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5) |
8129 | + | |
8130 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5) |
8130 | + | |
8131 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5) |
8131 | + | |
8132 | elseif ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 then | |
8133 | - | hum.WalkSpeed = storehumanoidWS |
8133 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
8134 | lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3) | |
8135 | lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3) | |
8136 | lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3) | |
8137 | rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3) | |
8138 | rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3) | |
8139 | rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3) | |
8140 | elseif ModeOfGlitch == 8889 or ModeOfGlitch == 664663666 or ModeOfGlitch == 88893333388 then | |
8141 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8142 | - | bosschatfunc("You're gone..",MAINRUINCOLOR.Color,2) |
8142 | + | lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3) |
8143 | lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3) | |
8144 | lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3) | |
8145 | rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3) | |
8146 | rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3) | |
8147 | rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3) | |
8148 | elseif ModeOfGlitch == 3444 then | |
8149 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0.25)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8150 | lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3) | |
8151 | lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3) | |
8152 | lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3) | |
8153 | rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3) | |
8154 | rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3) | |
8155 | rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3) | |
8156 | elseif ModeOfGlitch == 102 then | |
8157 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8158 | handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3) | |
8159 | lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3) | |
8160 | lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3) | |
8161 | lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3) | |
8162 | rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3) | |
8163 | rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3) | |
8164 | rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3) | |
8165 | lwing4weld.C1=clerp(lwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3) | |
8166 | lwing5weld.C1=clerp(lwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3) | |
8167 | lwing6weld.C1=clerp(lwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3) | |
8168 | elseif ModeOfGlitch == 103 then | |
8169 | handleweld.C0=clerp(handleweld.C0,cf(0,-1.5,-1.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3) | |
8170 | lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3) | |
8171 | - | local a = Instance.new("Part",char) |
8171 | + | lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3) |
8172 | - | a.Name = "Direction" |
8172 | + | lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3) |
8173 | - | a.Anchored = true |
8173 | + | rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3) |
8174 | - | a.BrickColor = keptcolor |
8174 | + | rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3) |
8175 | rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3) | |
8176 | lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3) | |
8177 | lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3) | |
8178 | - | local ht = Instance.new("Part",char) |
8178 | + | lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3) |
8179 | - | ht.Name = "DirectionHit" |
8179 | + | rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3) |
8180 | - | ht.Anchored = true |
8180 | + | rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3) |
8181 | - | ht.BrickColor = keptcolor |
8181 | + | rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3) |
8182 | elseif ModeOfGlitch == 101 then | |
8183 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8184 | lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3) | |
8185 | lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3) | |
8186 | - | a.CanCollide = false |
8186 | + | lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3) |
8187 | - | local ray = Ray.new( |
8187 | + | rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3) |
8188 | - | orb.CFrame.p, -- origin |
8188 | + | rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3) |
8189 | - | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction |
8189 | + | rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3) |
8190 | - | ) |
8190 | + | lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3) |
8191 | - | local ignore = char |
8191 | + | lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3) |
8192 | - | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
8192 | + | lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3) |
8193 | - | a.BottomSurface = 10 |
8193 | + | rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3) |
8194 | - | a.TopSurface = 10 |
8194 | + | rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3) |
8195 | - | local distance = (orb.CFrame.p - position).magnitude |
8195 | + | rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3) |
8196 | - | a.Size = Vector3.new(distance,1,1) |
8196 | + | elseif ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 999999999556 then |
8197 | - | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) |
8197 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
8198 | - | ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) |
8198 | + | lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3) |
8199 | lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3) | |
8200 | lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3) | |
8201 | rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3) | |
8202 | rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3) | |
8203 | rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3) | |
8204 | lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3) | |
8205 | lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3) | |
8206 | lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3) | |
8207 | rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3) | |
8208 | rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3) | |
8209 | rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3) | |
8210 | end | |
8211 | sine = sine + change | |
8212 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
8213 | local velderp=RootPart.Velocity.y | |
8214 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
8215 | coroutine.resume(coroutine.create(function() | |
8216 | if ModeOfGlitch == 6 or ModeOfGlitch == 103 or ModeOfGlitch == 3444 or ModeOfGlitch == 101 or ModeOfGlitch == 8 or ModeOfGlitch == 664663666 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then | |
8217 | if hitfloor ~= nil then | |
8218 | effar.Enabled = true | |
8219 | effar.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
8220 | slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("White")) | |
8221 | if ModeOfGlitch == 1264532489 or ModeOfGlitch == 103 or ModeOfGlitch == 101 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 808080808080808080808080 then | |
8222 | slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,150)/250,MAINRUINCOLOR) | |
8223 | end | |
8224 | if ModeOfGlitch == 808080808080808080808080 then | |
8225 | slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Alder")) | |
8226 | elseif ModeOfGlitch == 765688533321 then | |
8227 | slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Really red")) | |
8228 | elseif ModeOfGlitch == 103 then | |
8229 | slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Really black")) | |
8230 | elseif ModeOfGlitch == 1264532489 then | |
8231 | slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Deep orange")) | |
8232 | elseif ModeOfGlitch == 999999999556 then | |
8233 | slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Really blue")) | |
8234 | end | |
8235 | elseif hitfloor == nil then | |
8236 | effar.Enabled = false | |
8237 | end | |
8238 | elseif ModeOfGlitch ~= 6 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 808080808080808080808080 then | |
8239 | effar.Enabled = false | |
8240 | end | |
8241 | - | for i = 0,6,0.1 do |
8241 | + | |
8242 | if equipped==true or equipped==false then | |
8243 | if attack==false then | |
8244 | idle=idle+1 | |
8245 | else | |
8246 | idle=0 | |
8247 | end | |
8248 | if idle>=500 then | |
8249 | if attack==false then | |
8250 | --Sheath() | |
8251 | end | |
8252 | end | |
8253 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
8254 | Anim="Jump" | |
8255 | if attack==false then | |
8256 | RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) | |
8257 | 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) | |
8258 | 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) | |
8259 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1) | |
8260 | 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) | |
8261 | 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) | |
8262 | end | |
8263 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
8264 | Anim="Fall" | |
8265 | if attack==false then | |
8266 | RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) | |
8267 | 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) | |
8268 | 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) | |
8269 | - | local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) |
8269 | + | |
8270 | - | hb.Anchored = true |
8270 | + | |
8271 | - | hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2 |
8271 | + | |
8272 | end | |
8273 | elseif torvel<1 and hitfloor~=nil then | |
8274 | Anim="Idle" | |
8275 | if attack==false then | |
8276 | if ModeOfGlitch == 1 then | |
8277 | local snap = math.random(1,10) | |
8278 | if snap == 1 then | |
8279 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1) | |
8280 | end | |
8281 | 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(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1) | |
8282 | 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(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) | |
8283 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1) | |
8284 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1) | |
8285 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1) | |
8286 | LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1) | |
8287 | elseif ModeOfGlitch == 2 then | |
8288 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1) | |
8289 | - | bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1) |
8289 | + | |
8290 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1) | |
8291 | - | bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1) |
8291 | + | |
8292 | RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1) | |
8293 | - | bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1) |
8293 | + | |
8294 | elseif ModeOfGlitch == 3 then | |
8295 | local snap = math.random(1,32) | |
8296 | if snap == 1 then | |
8297 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1) | |
8298 | end | |
8299 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1) | |
8300 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) | |
8301 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1) | |
8302 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
8303 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1) | |
8304 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1) | |
8305 | elseif ModeOfGlitch == 102 then | |
8306 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1) | |
8307 | LH.C0=clerp(LH.C0,cf(-1,-1.1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-7),math.rad(-90),math.rad(0))*angles(math.rad(5 + 2 * math.cos(sine / 32)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) | |
8308 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1) | |
8309 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 7 * math.cos(sine / 53))),.1) | |
8310 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1) | |
8311 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1) | |
8312 | elseif ModeOfGlitch == 4 then | |
8313 | local snap = math.random(1,5) | |
8314 | if snap == 1 then | |
8315 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6) | |
8316 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6) | |
8317 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(-3 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6) | |
8318 | end | |
8319 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1) | |
8320 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1) | |
8321 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
8322 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
8323 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1) | |
8324 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1) | |
8325 | elseif ModeOfGlitch == 5 then | |
8326 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1) | |
8327 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1) | |
8328 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1) | |
8329 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1) | |
8330 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1) | |
8331 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1) | |
8332 | elseif ModeOfGlitch == 3444 then | |
8333 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67) - 5 * math.cos(sine / 1)),math.rad(0 - 1 * math.cos(sine / 56) - 5 * math.cos(sine / 1)),math.rad(-18 - 5 * math.cos(sine / 32) - 5 * math.cos(sine / 1))),.1) | |
8334 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74) - 5 * math.cos(sine / 1)),math.rad(0 - 1 * math.cos(sine / 56) - 5 * math.cos(sine / 1)),math.rad(31 + 8 * math.cos(sine / 38) - 5 * math.cos(sine / 1))),.1) | |
8335 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32) - 5 * math.cos(sine / 1)),math.rad(8 - 5 * math.cos(sine / 1)),math.rad(0 - 5 * math.cos(sine / 1))),.1) | |
8336 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(15 - 2.5 * math.cos(sine / 30) - 5 * math.cos(sine / 1)), math.rad(20 - 5 * math.cos(sine / 1)), math.rad(0 - 5 * math.cos(sine / 1))), 0.08) | |
8337 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(3 + 7 * math.cos(sine / 79) - 5 * math.cos(sine / 1)),math.rad(1 - 3 * math.cos(sine / 53) - 5 * math.cos(sine / 1)),math.rad(33 + 10 * math.cos(sine / 73) - 5 * math.cos(sine / 1))),.1) | |
8338 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73) - 5 * math.cos(sine / 1)),math.rad(2 - 1 * math.cos(sine / 55) - 5 * math.cos(sine / 1)),math.rad(-27 - 6 * math.cos(sine / 33) - 5 * math.cos(sine / 1))),.1) | |
8339 | elseif ModeOfGlitch == 664663666 then --verybio | |
8340 | local snap = math.random(1,5) | |
8341 | if snap == 1 then | |
8342 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6) | |
8343 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6) | |
8344 | end | |
8345 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1) | |
8346 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1) | |
8347 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
8348 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
8349 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1) | |
8350 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1) | |
8351 | elseif ModeOfGlitch == 6 then | |
8352 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1) | |
8353 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1) | |
8354 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
8355 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
8356 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(14 + 5 * math.cos(sine / 32))),.1) | |
8357 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 6 * math.cos(sine / 33))),.1) | |
8358 | elseif ModeOfGlitch == 8 then | |
8359 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1) | |
8360 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1) | |
8361 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20)),.1) | |
8362 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(20 + 2 * math.cos(sine / 53))),.1) | |
8363 | RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1) | |
8364 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1) | |
8365 | elseif ModeOfGlitch == 9 then | |
8366 | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
8367 | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Lime green"),Color3.new(0,1,0)) | |
8368 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1) | |
8369 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1) | |
8370 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 53))),.1) | |
8371 | - | function shytaunty() |
8371 | + | |
8372 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(18 - 3 * math.cos(sine / 53)),math.rad(17 + 3 * math.cos(sine / 45))),.1) | |
8373 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(-11 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1) | |
8374 | - | bosschatfunc("*Blushes and giggles*",MAINRUINCOLOR.Color,1) |
8374 | + | |
8375 | - | CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1) |
8375 | + | |
8376 | - | local blush = Instance.new("Decal",hed) |
8376 | + | |
8377 | - | blush.Texture = "rbxassetid://898404027" |
8377 | + | |
8378 | - | blush.Face = "Front" |
8378 | + | |
8379 | - | for i = 0, 13, 0.1 do |
8379 | + | |
8380 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-27 - 6 * math.cos(sine / 33))),.1) | |
8381 | - | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1) |
8381 | + | elseif ModeOfGlitch == 88893333388 then |
8382 | - | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1) |
8382 | + | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 9 * math.cos(sine / 51))),.1) |
8383 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1) |
8383 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 7 * math.cos(sine / 44))),.1) |
8384 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1) |
8384 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1.5 + 0.25 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1) |
8385 | - | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1) |
8385 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1) |
8386 | - | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1) |
8386 | + | RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(68 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1) |
8387 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(82 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1) | |
8388 | elseif ModeOfGlitch == 103 then | |
8389 | sphere2(8,"Add",LeftArm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Deep orange").Color) | |
8390 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 9 * math.cos(sine / 51))),.1) | |
8391 | - | blush.Transparency = blush.Transparency + 0.02 |
8391 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 7 * math.cos(sine / 44))),.1) |
8392 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),7 + 1 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1) | |
8393 | - | blush:Destroy() |
8393 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1) |
8394 | RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(68 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1) | |
8395 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(149 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-17 - 4 * math.cos(sine / 45))),.1) | |
8396 | elseif ModeOfGlitch == 808080808080808080808080 then | |
8397 | sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color) | |
8398 | sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Alder"),BrickColor.new("Alder").Color) | |
8399 | - | function smiter() |
8399 | + | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 9 * math.cos(sine / 51))),.1) |
8400 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 7 * math.cos(sine / 44))),.1) | |
8401 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),7 + 1 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1) | |
8402 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1) | |
8403 | RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(68 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1) | |
8404 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(82 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1) | |
8405 | elseif ModeOfGlitch == 1264532489 then | |
8406 | sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Deep orange"),BrickColor.new("Deep orange").Color) | |
8407 | sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Toothpaste"),BrickColor.new("Toothpaste").Color) | |
8408 | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
8409 | - | bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1) |
8409 | + | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-14 - 5 * math.cos(sine / 48))),.1) |
8410 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 7 * math.cos(sine / 51))),.1) | |
8411 | - | bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1) |
8411 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 43),0 - 0.25 * math.cos(sine / 53),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) |
8412 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
8413 | - | bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1) |
8413 | + | |
8414 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1) | |
8415 | elseif ModeOfGlitch == 101 then | |
8416 | sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Bright bluish green"),BrickColor.new("Bright bluish green").Color) | |
8417 | - | CFuncs["Sound"].Create("rbxassetid://2556945475", char, 1.5, 1) |
8417 | + | sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Black").Color) |
8418 | - | CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1) |
8418 | + | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Black"),BrickColor.new("Black").Color) |
8419 | - | sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR) |
8419 | + | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) |
8420 | - | local vel = Instance.new("BodyPosition", targetted.Head) |
8420 | + | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-14 - 5 * math.cos(sine / 48))),.1) |
8421 | - | vel.P = 12500 |
8421 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 7 * math.cos(sine / 51))),.1) |
8422 | - | vel.D = 1000 |
8422 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 43),0 - 0.25 * math.cos(sine / 53),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) |
8423 | - | vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000) |
8423 | + | |
8424 | - | vel.position = targetted.Head.CFrame.p |
8424 | + | |
8425 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-23 - 4 * math.cos(sine / 45))),.1) | |
8426 | - | CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2) |
8426 | + | |
8427 | - | CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1) |
8427 | + | |
8428 | - | CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1) |
8428 | + | |
8429 | - | for i = 0,4,0.1 do |
8429 | + | |
8430 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
8431 | - | sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MAINRUINCOLOR) |
8431 | + | |
8432 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) |
8432 | + | |
8433 | elseif ModeOfGlitch == 4367677813 then | |
8434 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1) | |
8435 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1) | |
8436 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10)),.1) | |
8437 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1) | |
8438 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(4 + 3 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(19 + 2 * math.cos(sine / 45))),.1) | |
8439 | LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(10 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(13 - 4 * math.cos(sine / 45))),.1) | |
8440 | - | CameraEnshaking(6,5) |
8440 | + | elseif ModeOfGlitch == 765688533321 then |
8441 | - | MagniDamage(targetted.Head, 18, 18,30, 0, "Normal") |
8441 | + | |
8442 | - | CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8) |
8442 | + | |
8443 | - | CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8) |
8443 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1) |
8444 | - | CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8) |
8444 | + | |
8445 | - | sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR) |
8445 | + | sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really red"),BrickColor.new("Really red").Color) |
8446 | - | sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR) |
8446 | + | sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color) |
8447 | - | sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR) |
8447 | + | |
8448 | - | sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR) |
8448 | + | |
8449 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 50),0 + 0.25 * math.cos(sine / 43),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
8450 | - | local eff = Instance.new("ParticleEmitter",targetted.Head) |
8450 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) |
8451 | RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(2 - 4 * math.cos(sine / 58)),math.rad(-65 + 1 * math.cos(sine / 45))),.1) | |
8452 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(6 - 5 * math.cos(sine / 59)),math.rad(73 - 3 * math.cos(sine / 45))),.1) | |
8453 | elseif ModeOfGlitch == 55469696922 then | |
8454 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-14 - 5 * math.cos(sine / 48))),.1) | |
8455 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 7 * math.cos(sine / 51))),.1) | |
8456 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 50),0 + 0.25 * math.cos(sine / 43),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
8457 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
8458 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 14 * math.cos(sine / 45))),.1) | |
8459 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1) | |
8460 | elseif ModeOfGlitch == 664663666 then | |
8461 | local snap = math.random(1,32) | |
8462 | if snap == 1 then | |
8463 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(32 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1) | |
8464 | end | |
8465 | - | local eff = Instance.new("ParticleEmitter",targetted.Head) |
8465 | + | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-4 - 7 * math.cos(sine / 39))),.1) |
8466 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 8 * math.cos(sine / 31))),.1) | |
8467 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(32 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
8468 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
8469 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(32 + 6 * math.cos(sine / 72)),math.rad(2 - 4 * math.cos(sine / 58)),math.rad(14 + 1 * math.cos(sine / 45))),.1) | |
8470 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(32 - 7 * math.cos(sine / 66)),math.rad(6 - 5 * math.cos(sine / 59)),math.rad(-9 - 3 * math.cos(sine / 45))),.1) | |
8471 | - | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)}) |
8471 | + | |
8472 | sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Navy blue"),BrickColor.new("Navy blue").Color) | |
8473 | - | eff.Speed = NumberRange.new(25,150) |
8473 | + | sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color) |
8474 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39))),.1) | |
8475 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45))),.1) | |
8476 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 47),0 - 0.25 * math.cos(sine / 40),7 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(17)),.1) | |
8477 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(29 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-17 + 2 * math.cos(sine / 53))),.1) | |
8478 | RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1) | |
8479 | - | eff2.Parent = targetted.Head |
8479 | + | |
8480 | - | eff2.Texture = "rbxassetid://284205403" |
8480 | + | elseif ModeOfGlitch == 01010101000001 then |
8481 | - | eff2.Rate = 10000 |
8481 | + | PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.75,0.75,0.75,0.0075,BrickColor.new("Forest green"),0) |
8482 | - | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) |
8482 | + | PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.75,0.75,0.75,0.0075,BrickColor.new("Lime green"),0) |
8483 | - | eff2.Drag = 5 |
8483 | + | TailPart(RootPart, Color3.fromRGB(31 + math.random(-20,20), 128 + math.random(-20,20), 29 + math.random(-20,20))) |
8484 | - | eff2.Rotation = NumberRange.new(-500,500) |
8484 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) |
8485 | - | eff2.VelocitySpread = 9000 |
8485 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,Torso.Neck.C0 * CFrame.Angles(math.rad(math.random(-3,3)), math.rad(math.random(-3,3)), math.rad(math.random(-3,3))) , 0.5) |
8486 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(20 - 5 * math.cos(sine / 20)), math.rad(0), math.rad(3 - 3 * math.cos(sine / 16))), 0.1) | |
8487 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.05 * math.cos(sine / 20), 0) * angles(math.rad(130), math.rad(0 + 2 * math.cos(sine/16)), math.rad(-40)), 0.1) | |
8488 | RW.C0 = clerp(RW.C0,RW.C0 * CFrame.Angles(math.rad(math.random(-3,3)), math.rad(math.random(-3,3)), math.rad(math.random(-3,3))) , 0.5) | |
8489 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.05 * math.cos(sine / 20), 0) * angles(math.rad(20), math.rad(0 - 2* math.cos(sine/16)), math.rad(0)), 0.1) | |
8490 | LW.C0 = clerp(LW.C0,LW.C0 * CFrame.Angles(math.rad(math.random(-3,3)), math.rad(math.random(-3,3)), math.rad(math.random(-3,3))) , 0.5) | |
8491 | - | sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR) |
8491 | + | |
8492 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) | |
8493 | end | |
8494 | - | local rsiz = math.random(10,50) |
8494 | + | |
8495 | - | sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0) |
8495 | + | |
8496 | Anim="Walk" | |
8497 | - | game:GetService("Debris"):AddItem(vel,1) |
8497 | + | |
8498 | if ModeOfGlitch ~= 102 then | |
8499 | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) | |
8500 | - | for i = 0,1,0.1 do |
8500 | + | |
8501 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1) | |
8502 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5) |
8502 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1) |
8503 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5) |
8503 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1) |
8504 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1) | |
8505 | elseif ModeOfGlitch == 102 then | |
8506 | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) | |
8507 | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1) | |
8508 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1) | |
8509 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1) | |
8510 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1) | |
8511 | - | end |
8511 | + | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1) |
8512 | end | |
8513 | - | function SpeedDrop() |
8513 | + | |
8514 | elseif torvel>=22 and hitfloor~=nil then | |
8515 | Anim="Run" | |
8516 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1) |
8516 | + | |
8517 | - | local poste = 3 |
8517 | + | if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then |
8518 | - | local rotation = 0 |
8518 | + | |
8519 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) | |
8520 | - | bosschatfunc("AUFHHIGYBIBYHHIHIGHGI",MAINRUINCOLOR.Color,2) |
8520 | + | |
8521 | - | for i = 0, 124 do |
8521 | + | |
8522 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(-10),math.rad(7 + 5 * math.cos(sine / 6))),.1) | |
8523 | - | rotation = rotation + rate |
8523 | + | |
8524 | - | poste = poste + 0.1 |
8524 | + | |
8525 | - | rate = rate + 0.1 |
8525 | + | sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) |
8526 | - | sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR) |
8526 | + | sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Lime green"),Color3.new(0,1,0)) |
8527 | - | sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR) |
8527 | + | sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0) |
8528 | - | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR) |
8528 | + | |
8529 | - | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR) |
8529 | + | elseif ModeOfGlitch == 6 or ModeOfGlitch == 3444 or ModeOfGlitch == 8 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 8889 or ModeOfGlitch == 664663666 or ModeOfGlitch == 88893333388 then |
8530 | - | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR) |
8530 | + | |
8531 | - | sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR) |
8531 | + | |
8532 | - | RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5) |
8532 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,1 + 0.25 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05) |
8533 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.5) |
8533 | + | |
8534 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5) |
8534 | + | |
8535 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5) |
8535 | + | |
8536 | - | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5) |
8536 | + | elseif ModeOfGlitch == 103 then |
8537 | - | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5) |
8537 | + | |
8538 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2) | |
8539 | - | CameraEnshaking(3,7) |
8539 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,6.5 + 0.25 * math.cos(sine / 28))*angles(math.rad(40),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05) |
8540 | - | bosschatfunc("AN ERROR HAS OCCURED",MAINRUINCOLOR.Color,2) |
8540 | + | |
8541 | - | local loc = Instance.new("Part", char) |
8541 | + | |
8542 | - | loc.BrickColor = MAINRUINCOLOR |
8542 | + | |
8543 | - | loc.CanCollide = false |
8543 | + | elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 101 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 808080808080808080808080 then |
8544 | - | loc.FormFactor = 3 |
8544 | + | |
8545 | - | loc.Name = "Ring" |
8545 | + | |
8546 | - | loc.Material = "Neon" |
8546 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,6.5 + 0.25 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05) |
8547 | - | loc.Size = Vector3.new(1, 1, 1) |
8547 | + | |
8548 | - | loc.Transparency = 1 |
8548 | + | |
8549 | - | loc.TopSurface = 0 |
8549 | + | |
8550 | - | loc.BottomSurface = 0 |
8550 | + | if ModeOfGlitch == 765688533321 or ModeOfGlitch == 101 then |
8551 | - | loc.Anchored = true |
8551 | + | sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0) |
8552 | - | loc.CFrame = root.CFrame + root.CFrame.lookVector*100 |
8552 | + | |
8553 | - | CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1) |
8553 | + | |
8554 | - | CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1) |
8554 | + | |
8555 | - | MagniDamage(loc, 95, 500,6000, 0, "Normal") |
8555 | + | |
8556 | - | sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR) |
8556 | + | |
8557 | - | sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR) |
8557 | + |