SHOW:
|
|
- or go back to the newest paste.
1 | - | --TODO: add comments or something idk |
1 | + | |
2 | - | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
2 | + | |
3 | - | local Player = owner |
3 | + | plr = game.Players.LocalPlayer |
4 | - | local Mouse,mouse,UserInputService,ContextActionService |
4 | + | |
5 | - | do |
5 | + | |
6 | - | script.Parent = Player.Character |
6 | + | |
7 | - | local CAS = {Actions={}} |
7 | + | |
8 | - | local Event = Instance.new("RemoteEvent") |
8 | + | |
9 | - | Event.Name = "UserInput_Event" |
9 | + | |
10 | - | Event.Parent = Player.Character |
10 | + | |
11 | - | local fakeEvent = function() |
11 | + | |
12 | - | local t = {_fakeEvent=true} |
12 | + | |
13 | - | t.Connect = function(self,f)self.Function=f end |
13 | + | |
14 | - | t.connect = t.Connect |
14 | + | |
15 | - | return t |
15 | + | |
16 | rl = char["Right Leg"] | |
17 | - | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} |
17 | + | |
18 | - | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} |
18 | + | |
19 | - | function CAS:BindAction(name,fun,touch,...) |
19 | + | |
20 | - | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} |
20 | + | |
21 | hed = char.Head | |
22 | - | function CAS:UnbindAction(name) |
22 | + | |
23 | - | CAS.Actions[name] = nil |
23 | + | |
24 | larm = char["Left Arm"] | |
25 | - | local function te(self,ev,...) |
25 | + | |
26 | - | local t = m[ev] |
26 | + | |
27 | - | if t and t._fakeEvent and t.Function then |
27 | + | |
28 | - | t.Function(...) |
28 | + | |
29 | cFrame = CFrame.new | |
30 | Euler = CFrame.fromEulerAnglesXYZ | |
31 | - | m.TrigEvent = te |
31 | + | |
32 | - | UIS.TrigEvent = te |
32 | + | |
33 | - | Event.OnServerEvent:Connect(function(plr,io) |
33 | + | |
34 | - | if plr~=Player then return end |
34 | + | |
35 | - | if io.isMouse then |
35 | + | |
36 | - | m.Target = io.Target |
36 | + | |
37 | - | m.Hit = io.Hit |
37 | + | |
38 | - | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then |
38 | + | |
39 | - | if io.UserInputState == Enum.UserInputState.Begin then |
39 | + | |
40 | - | m:TrigEvent("Button1Down") |
40 | + | |
41 | - | else |
41 | + | |
42 | - | m:TrigEvent("Button1Up") |
42 | + | |
43 | return object:lerp(newCFrame, alpha) | |
44 | end | |
45 | - | for n,t in pairs(CAS.Actions) do |
45 | + | |
46 | - | for _,k in pairs(t.Keys) do |
46 | + | |
47 | - | if k==io.KeyCode then |
47 | + | |
48 | - | t.Function(t.Name,io.UserInputState,io) |
48 | + | |
49 | - | end |
49 | + | |
50 | - | end |
50 | + | |
51 | CPart.CanCollide = false | |
52 | - | if io.UserInputState == Enum.UserInputState.Begin then |
52 | + | |
53 | - | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) |
53 | + | |
54 | - | UIS:TrigEvent("InputBegan",io,false) |
54 | + | |
55 | - | else |
55 | + | |
56 | - | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) |
56 | + | |
57 | - | UIS:TrigEvent("InputEnded",io,false) |
57 | + | |
58 | - | end |
58 | + | |
59 | - | end |
59 | + | |
60 | kan.TimePosition = 0 | |
61 | - | NLS([==[ |
61 | + | |
62 | - | local Player = game:GetService("Players").LocalPlayer |
62 | + | |
63 | kan.SoundId = "rbxassetid://614032233" | |
64 | - | local Char = Player.Character |
64 | + | |
65 | - | local Event = Char:WaitForChild("UserInput_Event") |
65 | + | |
66 | kan:Play() | |
67 | - | local UIS = game:GetService("UserInputService") |
67 | + | |
68 | local currentThemePlaying = kan.SoundId | |
69 | - | local input = function(io,a) |
69 | + | |
70 | - | if a then return end |
70 | + | |
71 | - | local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState} |
71 | + | |
72 | - | Event:FireServer(io) |
72 | + | |
73 | --kanz:Stop() | |
74 | - | UIS.InputBegan:Connect(input) |
74 | + | |
75 | - | UIS.InputEnded:Connect(input) |
75 | + | |
76 | - | local Changed = false |
76 | + | |
77 | - | local Mouse = Player:GetMouse() |
77 | + | |
78 | - | local h,t = Mouse.Hit,Mouse.Target |
78 | + | |
79 | - | while wait(1/30) do |
79 | + | |
80 | - | if h~=Mouse.Hit or t~=Mouse.Target then |
80 | + | |
81 | - | Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit}) |
81 | + | |
82 | - | h,t=Mouse.Hit,Mouse.Target |
82 | + | |
83 | currentPitch = kanz.Pitch | |
84 | --kanz:Play() | |
85 | - | ]==],Player.Character) |
85 | + | |
86 | - | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS |
86 | + | |
87 | --end)) | |
88 | - | if game.PlaceId == 843468296 then |
88 | + | |
89 | - | error("This script has been banned. You cannot use it here. Please use Place 2.") |
89 | + | |
90 | ||
91 | - | plr = owner |
91 | + | |
92 | local kanz = kan | |
93 | kanz:Stop() | |
94 | kanz.Volume = vol | |
95 | kanz.TimePosition = timepos | |
96 | kanz.PlaybackSpeed = pitch | |
97 | kanz.Pitch = pitch | |
98 | kanz.SoundId = ID | |
99 | kanz.Name = "wrecked" | |
100 | kanz.Looped = true | |
101 | currentThemePlaying = kanz.SoundId | |
102 | currentVol = kanz.Volume | |
103 | currentPitch = kanz.Pitch | |
104 | kanz:Play() | |
105 | coroutine.resume(coroutine.create(function() | |
106 | wait(0.05) | |
107 | end)) | |
108 | end | |
109 | ||
110 | local mutedtog = false | |
111 | ||
112 | function IdolsWarn(text,represfont,color,color2) | |
113 | if disably ~= true then | |
114 | CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1) | |
115 | CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1) | |
116 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
117 | coroutine.resume(coroutine.create(function() | |
118 | if v.PlayerGui:FindFirstChild("Spinny")~= nil then | |
119 | v.PlayerGui:FindFirstChild("Spinny"):destroy() | |
120 | end | |
121 | local scrg = Instance.new("ScreenGui",v.PlayerGui) | |
122 | scrg.Name = "Spinny" | |
123 | local frm = Instance.new("Frame",scrg) | |
124 | frm.BackgroundTransparency = 0.25 | |
125 | frm.BackgroundColor3 = color | |
126 | frm.BorderSizePixel = 0 | |
127 | frm.Rotation = 45 | |
128 | frm.Size = UDim2.new(3,0,0,100) | |
129 | frm.Position = UDim2.new(-4,0,0,0) | |
130 | local frm2 = frm:Clone() | |
131 | frm2.Parent = scrg | |
132 | frm2.BackgroundColor3 = color2 | |
133 | frm2.Position = UDim2.new(-4.05,0,0,0) | |
134 | local imlb = Instance.new("ImageLabel",scrg) | |
135 | imlb.BackgroundTransparency = 1 | |
136 | imlb.BackgroundColor3 = color | |
137 | imlb.Image = "rbxassetid://787198541" | |
138 | imlb.Size = UDim2.new(0,750,0,750) | |
139 | imlb.ImageColor3 = color2 | |
140 | imlb.ImageTransparency = 0.25 | |
141 | imlb.Position = UDim2.new(-2.5,0,-2.5,0) | |
142 | local imlb2 = imlb:Clone() | |
143 | imlb2.Image = "rbxassetid://197468643" | |
144 | imlb2.Size = UDim2.new(1,0,1,0) | |
145 | imlb2.ImageTransparency = 0 | |
146 | imlb2.Position = UDim2.new(0,0,0,0) | |
147 | local imlb3 = imlb:Clone() | |
148 | imlb3.Image = "rbxassetid://787191999" | |
149 | imlb3.Size = UDim2.new(1,0,1,0) | |
150 | imlb3.ImageColor3 = color2 | |
151 | imlb3.ImageTransparency = 0 | |
152 | imlb3.Position = UDim2.new(0,0,0,0) | |
153 | local imlb4 = imlb:Clone() | |
154 | imlb4.Image = "rbxassetid://2092248396" | |
155 | imlb4.Size = UDim2.new(3,0,3,0) | |
156 | imlb3.ImageColor3 = color | |
157 | imlb4.ImageTransparency = 0 | |
158 | imlb4.Position = UDim2.new(-1,0,-1,0) | |
159 | local imlb5 = imlb:Clone() | |
160 | imlb5.Image = "rbxassetid://2344870656" | |
161 | imlb5.Size = UDim2.new(10,0,10,0) | |
162 | imlb5.ImageColor3 = color2 | |
163 | imlb5.ImageTransparency = 0 | |
164 | imlb5.Position = UDim2.new(-4.5,0,-4.5,0) | |
165 | imlb2.Parent = imlb | |
166 | imlb3.Parent = imlb | |
167 | imlb4.Parent = imlb | |
168 | imlb5.Parent = imlb | |
169 | local txtlb2 = Instance.new("TextLabel",imlb) | |
170 | coroutine.resume(coroutine.create(function() | |
171 | while true do | |
172 | swait() | |
173 | if Error == false then | |
174 | txtlb2.Text = text | |
175 | elseif Error == true then | |
176 | txtlb2.Text = est[math.random(1,17)] | |
177 | end | |
178 | end | |
179 | end)) | |
180 | txtlb2.Font = represfont | |
181 | txtlb2.TextColor3 = color | |
182 | txtlb2.TextStrokeTransparency = 0 | |
183 | txtlb2.BackgroundTransparency = 1 | |
184 | txtlb2.TextStrokeColor3 = color2 | |
185 | txtlb2.TextScaled = true | |
186 | txtlb2.Size = UDim2.new(1,0,1,0) | |
187 | txtlb2.Position = UDim2.new(0,0,0,0) | |
188 | local fvalen = 0.55 | |
189 | local fval = -0.49 | |
190 | coroutine.resume(coroutine.create(function() | |
191 | while true do | |
192 | swait() | |
193 | if rainbowmode == true then | |
194 | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
195 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
196 | txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255) | |
197 | txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255) | |
198 | imlb.ImageColor3 = Color3.new(r/255,g/255,b/255) | |
199 | frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255) | |
200 | frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255) | |
201 | txtlb2.TextStrokeColor3 = Color3.new(1,1,1) | |
202 | txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255) | |
203 | imlb.ImageColor3 = Color3.new(r/255,g/255,b/255) | |
204 | imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255) | |
205 | imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255) | |
206 | frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255) | |
207 | frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255) | |
208 | end | |
209 | end | |
210 | end)) | |
211 | coroutine.resume(coroutine.create(function() | |
212 | while true do | |
213 | swait() | |
214 | if Error == true then | |
215 | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
216 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
217 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
218 | txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
219 | txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
220 | imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
221 | imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
222 | imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
223 | imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
224 | imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
225 | imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
226 | frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
227 | frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
228 | text = est[math.random(1,17)] | |
229 | end | |
230 | end | |
231 | end)) | |
232 | coroutine.resume(coroutine.create(function() | |
233 | while true do | |
234 | swait() | |
235 | if CRAZED == true then | |
236 | txtlb2.Rotation = math.random(-1,1) | |
237 | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
238 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
239 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
240 | txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1)) | |
241 | txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2)) | |
242 | imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
243 | imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
244 | imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
245 | imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
246 | imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
247 | imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
248 | frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1)) | |
249 | frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1)) | |
250 | end | |
251 | end | |
252 | end)) | |
253 | coroutine.resume(coroutine.create(function() | |
254 | while true do | |
255 | swait() | |
256 | if chaosmode == true then | |
257 | txtlb2.Rotation = math.random(-1,1) | |
258 | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
259 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
260 | imlb.ImageColor3 = BrickColor.random().Color | |
261 | txtlb2.TextStrokeColor3 = BrickColor.random().Color | |
262 | end | |
263 | end | |
264 | end)) | |
265 | coroutine.resume(coroutine.create(function() | |
266 | while true do | |
267 | swait() | |
268 | if scrg.Parent ~= nil then | |
269 | fvalen = fvalen - 0.0001 | |
270 | elseif scrg.Parent == nil then | |
271 | break | |
272 | end | |
273 | end | |
274 | end)) | |
275 | local flol = -5 | |
276 | local flil = 1.6 | |
277 | coroutine.resume(coroutine.create(function() | |
278 | for i = 0, 49 do | |
279 | swait() | |
280 | flol = flol + 0.125 | |
281 | flil = flil - 0.1 | |
282 | frm.Size = frm.Size + UDim2.new(0.1,0,0,0) | |
283 | frm.Rotation = frm.Rotation - 0.25 | |
284 | frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0) | |
285 | frm2.Rotation = frm.Rotation + 0.325 | |
286 | imlb3.Rotation = imlb3.Rotation - 10 | |
287 | imlb2.Rotation = imlb.Rotation + 7.5 | |
288 | imlb.Rotation = imlb.Rotation + 5 | |
289 | if Error == false then | |
290 | txtlb2.Rotation = txtlb2.Rotation - 5.125 | |
291 | elseif Error == true then | |
292 | txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6) | |
293 | end | |
294 | imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0) | |
295 | end | |
296 | for i = 0, 99 do | |
297 | swait() | |
298 | fval = fval + 0.05 | |
299 | flol = flol + 0.005 | |
300 | frm.Size = frm.Size + UDim2.new(0.005,0,0,0) | |
301 | frm.Rotation = frm.Rotation - 0.075 | |
302 | frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0) | |
303 | frm2.Rotation = frm2.Rotation + 0.125 | |
304 | imlb3.Rotation = imlb3.Rotation - 2 | |
305 | imlb2.Rotation = imlb.Rotation + 1.5 | |
306 | imlb.Rotation = imlb.Rotation + 1 | |
307 | if Error == false then | |
308 | txtlb2.Rotation = txtlb2.Rotation - 1.125 | |
309 | elseif Error == true then | |
310 | txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6) | |
311 | end | |
312 | imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0) | |
313 | end | |
314 | local valinc = 0 | |
315 | local vinc2 = 1 | |
316 | for i = 0, 99 do | |
317 | swait() | |
318 | vinc2 = vinc2 + 0.25 | |
319 | valinc = valinc + 0.0001 | |
320 | flol = flol + valinc | |
321 | flil = flil + valinc | |
322 | txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2 | |
323 | imlb3.Rotation = imlb3.Rotation - 2*vinc2 | |
324 | imlb.Rotation = imlb.Rotation + 1*vinc2 | |
325 | imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0) | |
326 | frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0) | |
327 | frm.Rotation = frm.Rotation + 0.1*vinc2 | |
328 | frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0) | |
329 | frm2.Rotation = frm2.Rotation + 0.225*vinc2 | |
330 | frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075 | |
331 | frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075 | |
332 | imlb.ImageTransparency = imlb.ImageTransparency + 0.005 | |
333 | imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01 | |
334 | imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01 | |
335 | imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01 | |
336 | imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01 | |
337 | txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01 | |
338 | txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01 | |
339 | end | |
340 | scrg:Destroy() | |
341 | end)) | |
342 | end)) | |
343 | end | |
344 | end | |
345 | end | |
346 | ||
347 | local IDTECC = {"LETS BE SERIOUS"," NEO","TRUE FORM","..."} | |
348 | ||
349 | local OVMID = 1702473314 | |
350 | local OVMPIT = 1 | |
351 | local OVMVOL = 1 | |
352 | ||
353 | function warnedpeople(text,represfont,color,color2) | |
354 | if disably ~= true then | |
355 | CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1) | |
356 | CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1) | |
357 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
358 | coroutine.resume(coroutine.create(function() | |
359 | if v.PlayerGui:FindFirstChild("Spinny")~= nil then | |
360 | v.PlayerGui:FindFirstChild("Spinny"):destroy() | |
361 | end | |
362 | local scrg = Instance.new("ScreenGui",v.PlayerGui) | |
363 | scrg.Name = "Spinny" | |
364 | local frm = Instance.new("Frame",scrg) | |
365 | frm.BackgroundTransparency = 0.25 | |
366 | frm.BackgroundColor3 = color | |
367 | frm.BorderSizePixel = 0 | |
368 | frm.Rotation = 45 | |
369 | frm.Size = UDim2.new(3,0,0,100) | |
370 | frm.Position = UDim2.new(-4,0,0,0) | |
371 | local frm2 = frm:Clone() | |
372 | frm2.Parent = scrg | |
373 | frm2.BackgroundColor3 = color2 | |
374 | frm2.Position = UDim2.new(-4.05,0,0,0) | |
375 | local imlb = Instance.new("ImageLabel",scrg) | |
376 | imlb.BackgroundTransparency = 1 | |
377 | imlb.BackgroundColor3 = Color3.new(0,0,0) | |
378 | imlb.Image = "rbxassetid://2344851144" | |
379 | imlb.Size = UDim2.new(0,750,0,750) | |
380 | imlb.ImageColor3 = color2 | |
381 | imlb.ImageTransparency = 0.25 | |
382 | imlb.Position = UDim2.new(-2.5,0,-2.5,0) | |
383 | local imlb2 = imlb:Clone() | |
384 | imlb2.Image = "rbxassetid://2076458450" | |
385 | imlb2.Size = UDim2.new(1,0,1,0) | |
386 | imlb2.ImageColor3 = color | |
387 | imlb2.ImageTransparency = 0 | |
388 | imlb2.Position = UDim2.new(0,0,0,0) | |
389 | local imlb3 = imlb:Clone() | |
390 | imlb3.Image = "rbxassetid://2312119891" | |
391 | imlb3.Size = UDim2.new(1,0,1,0) | |
392 | imlb3.ImageColor3 = color2 | |
393 | imlb3.ImageTransparency = 0 | |
394 | imlb3.Position = UDim2.new(0,0,0,0) | |
395 | local imlb4 = imlb:Clone() | |
396 | imlb4.Image = "rbxassetid://2092248396" | |
397 | imlb4.Size = UDim2.new(3,0,3,0) | |
398 | imlb3.ImageColor3 = color | |
399 | imlb4.ImageTransparency = 0 | |
400 | imlb4.Position = UDim2.new(-1,0,-1,0) | |
401 | local imlb5 = imlb:Clone() | |
402 | imlb5.Image = "rbxassetid://2344870656" | |
403 | imlb5.Size = UDim2.new(10,0,10,0) | |
404 | imlb5.ImageColor3 = color2 | |
405 | imlb5.ImageTransparency = 0 | |
406 | imlb5.Position = UDim2.new(-4.5,0,-4.5,0) | |
407 | imlb2.Parent = imlb | |
408 | imlb3.Parent = imlb | |
409 | imlb4.Parent = imlb | |
410 | imlb5.Parent = imlb | |
411 | local txtlb2 = Instance.new("TextLabel",imlb) | |
412 | txtlb2.Text = text | |
413 | coroutine.resume(coroutine.create(function() | |
414 | while true do | |
415 | swait() | |
416 | if ASTRA == true then | |
417 | txtlb2.Text = est[math.random(1,5)] | |
418 | elseif dragon == true then | |
419 | txtlb2.Text = nobreak[math.random(1,3)] | |
420 | end | |
421 | end | |
422 | end)) | |
423 | txtlb2.Font = represfont | |
424 | txtlb2.TextColor3 = color | |
425 | txtlb2.TextStrokeTransparency = 0 | |
426 | txtlb2.BackgroundTransparency = 1 | |
427 | txtlb2.TextStrokeColor3 = color2 | |
428 | txtlb2.TextScaled = true | |
429 | txtlb2.Size = UDim2.new(1,0,1,0) | |
430 | txtlb2.Position = UDim2.new(0,0,0,0) | |
431 | local fvalen = 0.55 | |
432 | local fval = -0.49 | |
433 | ||
434 | coroutine.resume(coroutine.create(function() | |
435 | while true do | |
436 | swait() | |
437 | if rainbowmode == true then | |
438 | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
439 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
440 | txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255) | |
441 | txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255) | |
442 | imlb.ImageColor3 = Color3.new(r/255,g/255,b/255) | |
443 | frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255) | |
444 | frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255) | |
445 | txtlb2.TextStrokeColor3 = Color3.new(1,1,1) | |
446 | txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255) | |
447 | imlb.ImageColor3 = Color3.new(r/255,g/255,b/255) | |
448 | imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255) | |
449 | imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255) | |
450 | frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255) | |
451 | frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255) | |
452 | end | |
453 | end | |
454 | end)) | |
455 | coroutine.resume(coroutine.create(function() | |
456 | while true do | |
457 | swait() | |
458 | if Error == true then | |
459 | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
460 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
461 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
462 | txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
463 | txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
464 | imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
465 | imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
466 | imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
467 | imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
468 | imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
469 | imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
470 | frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
471 | frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
472 | text = est[math.random(1,17)] | |
473 | end | |
474 | end | |
475 | end)) | |
476 | coroutine.resume(coroutine.create(function() | |
477 | while true do | |
478 | swait() | |
479 | if CRAZED == true then | |
480 | txtlb2.Rotation = math.random(-1,1) | |
481 | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
482 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
483 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
484 | txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1)) | |
485 | txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2)) | |
486 | imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
487 | imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
488 | imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
489 | imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
490 | imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
491 | imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
492 | frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1)) | |
493 | frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1)) | |
494 | end | |
495 | end | |
496 | end)) | |
497 | coroutine.resume(coroutine.create(function() | |
498 | while true do | |
499 | swait() | |
500 | if chaosmode == true then | |
501 | txtlb2.Rotation = math.random(-1,1) | |
502 | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
503 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
504 | imlb.ImageColor3 = BrickColor.random().Color | |
505 | txtlb2.TextStrokeColor3 = BrickColor.random().Color | |
506 | end | |
507 | end | |
508 | end)) | |
509 | coroutine.resume(coroutine.create(function() | |
510 | while true do | |
511 | swait() | |
512 | if scrg.Parent ~= nil then | |
513 | fvalen = fvalen - 0.0001 | |
514 | elseif scrg.Parent == nil then | |
515 | break | |
516 | end | |
517 | end | |
518 | end)) | |
519 | local flol = -5 | |
520 | local flil = 1.6 | |
521 | coroutine.resume(coroutine.create(function() | |
522 | for i = 0, 49 do | |
523 | swait() | |
524 | flol = flol + 0.125 | |
525 | flil = flil - 0.1 | |
526 | frm.Size = frm.Size + UDim2.new(0.1,0,0,0) | |
527 | frm.Rotation = frm.Rotation - 0.25 | |
528 | frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0) | |
529 | frm2.Rotation = frm.Rotation + 0.325 | |
530 | imlb3.Rotation = imlb3.Rotation - 10 | |
531 | imlb2.Rotation = imlb.Rotation + 7.5 | |
532 | imlb.Rotation = imlb.Rotation + 5 | |
533 | if Error == false then | |
534 | txtlb2.Rotation = txtlb2.Rotation - 5.125 | |
535 | elseif Error == true then | |
536 | txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6) | |
537 | end | |
538 | imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0) | |
539 | end | |
540 | for i = 0, 99 do | |
541 | swait() | |
542 | fval = fval + 0.05 | |
543 | flol = flol + 0.005 | |
544 | frm.Size = frm.Size + UDim2.new(0.005,0,0,0) | |
545 | frm.Rotation = frm.Rotation - 0.075 | |
546 | frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0) | |
547 | frm2.Rotation = frm2.Rotation + 0.125 | |
548 | imlb3.Rotation = imlb3.Rotation - 2 | |
549 | imlb2.Rotation = imlb.Rotation + 1.5 | |
550 | imlb.Rotation = imlb.Rotation + 1 | |
551 | if Error == false then | |
552 | txtlb2.Rotation = txtlb2.Rotation - 1.125 | |
553 | elseif Error == true then | |
554 | txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6) | |
555 | end | |
556 | imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0) | |
557 | end | |
558 | local valinc = 0 | |
559 | local vinc2 = 1 | |
560 | for i = 0, 99 do | |
561 | swait() | |
562 | vinc2 = vinc2 + 0.25 | |
563 | valinc = valinc + 0.0001 | |
564 | flol = flol + valinc | |
565 | flil = flil + valinc | |
566 | txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2 | |
567 | imlb3.Rotation = imlb3.Rotation - 2*vinc2 | |
568 | imlb.Rotation = imlb.Rotation + 1*vinc2 | |
569 | imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0) | |
570 | frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0) | |
571 | frm.Rotation = frm.Rotation + 0.1*vinc2 | |
572 | frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0) | |
573 | frm2.Rotation = frm2.Rotation + 0.225*vinc2 | |
574 | frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075 | |
575 | frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075 | |
576 | imlb.ImageTransparency = imlb.ImageTransparency + 0.005 | |
577 | imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01 | |
578 | imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01 | |
579 | imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01 | |
580 | imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01 | |
581 | txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01 | |
582 | txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01 | |
583 | end | |
584 | scrg:Destroy() | |
585 | end)) | |
586 | end)) | |
587 | end | |
588 | end | |
589 | end | |
590 | ||
591 | function warnedpeople2(text,represfont,color,color2) | |
592 | if disably ~= true then | |
593 | CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1) | |
594 | CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1) | |
595 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
596 | coroutine.resume(coroutine.create(function() | |
597 | if v.PlayerGui:FindFirstChild("Spinny")~= nil then | |
598 | v.PlayerGui:FindFirstChild("Spinny"):destroy() | |
599 | end | |
600 | local scrg = Instance.new("ScreenGui",v.PlayerGui) | |
601 | scrg.Name = "Spinny" | |
602 | local frm = Instance.new("Frame",scrg) | |
603 | frm.BackgroundTransparency = 0.25 | |
604 | frm.BackgroundColor3 = color | |
605 | frm.BorderSizePixel = 0 | |
606 | frm.Rotation = 45 | |
607 | frm.Size = UDim2.new(3,0,0,100) | |
608 | frm.Position = UDim2.new(-4,0,0,0) | |
609 | local frm2 = frm:Clone() | |
610 | frm2.Parent = scrg | |
611 | frm2.BackgroundColor3 = color2 | |
612 | frm2.Position = UDim2.new(-4.05,0,0,0) | |
613 | local imlb = Instance.new("ImageLabel",scrg) | |
614 | imlb.BackgroundTransparency = 1 | |
615 | imlb.BackgroundColor3 = Color3.new(0,0,0) | |
616 | imlb.Image = "rbxassetid://787198541" | |
617 | imlb.Size = UDim2.new(0,750,0,750) | |
618 | imlb.ImageColor3 = color2 | |
619 | imlb.ImageTransparency = 0.25 | |
620 | imlb.Position = UDim2.new(-2.5,0,-2.5,0) | |
621 | local imlb2 = imlb:Clone() | |
622 | imlb2.Image = "rbxassetid://2076458450" | |
623 | imlb2.Size = UDim2.new(1,0,1,0) | |
624 | imlb2.ImageColor3 = color | |
625 | imlb2.ImageTransparency = 0 | |
626 | imlb2.Position = UDim2.new(0,0,0,0) | |
627 | local imlb3 = imlb:Clone() | |
628 | imlb3.Image = "rbxassetid://787191999" | |
629 | imlb3.Size = UDim2.new(1,0,1,0) | |
630 | imlb3.ImageColor3 = color2 | |
631 | imlb3.ImageTransparency = 0 | |
632 | imlb3.Position = UDim2.new(0,0,0,0) | |
633 | local imlb4 = imlb:Clone() | |
634 | imlb4.Image = "rbxassetid://2092248396" | |
635 | imlb4.Size = UDim2.new(3,0,3,0) | |
636 | imlb3.ImageColor3 = color | |
637 | imlb4.ImageTransparency = 0 | |
638 | imlb4.Position = UDim2.new(-1,0,-1,0) | |
639 | local imlb5 = imlb:Clone() | |
640 | imlb5.Image = "rbxassetid://2344870656" | |
641 | imlb5.Size = UDim2.new(10,0,10,0) | |
642 | imlb5.ImageColor3 = color2 | |
643 | imlb5.ImageTransparency = 0 | |
644 | imlb5.Position = UDim2.new(-4.5,0,-4.5,0) | |
645 | imlb2.Parent = imlb | |
646 | imlb3.Parent = imlb | |
647 | imlb4.Parent = imlb | |
648 | imlb5.Parent = imlb | |
649 | local txtlb2 = Instance.new("TextLabel",imlb) | |
650 | txtlb2.Text = text | |
651 | coroutine.resume(coroutine.create(function() | |
652 | while true do | |
653 | swait() | |
654 | if ASTRA == true then | |
655 | txtlb2.Text = est[math.random(1,5)] | |
656 | elseif dragon == true then | |
657 | txtlb2.Text = nobreak[math.random(1,3)] | |
658 | end | |
659 | end | |
660 | end)) | |
661 | txtlb2.Font = represfont | |
662 | txtlb2.TextColor3 = color | |
663 | txtlb2.TextStrokeTransparency = 0 | |
664 | txtlb2.BackgroundTransparency = 1 | |
665 | txtlb2.TextStrokeColor3 = color2 | |
666 | txtlb2.TextScaled = true | |
667 | txtlb2.Size = UDim2.new(1,0,1,0) | |
668 | txtlb2.Position = UDim2.new(0,0,0,0) | |
669 | local fvalen = 0.55 | |
670 | local fval = -0.49 | |
671 | ||
672 | coroutine.resume(coroutine.create(function() | |
673 | while true do | |
674 | swait() | |
675 | if rainbowmode == true then | |
676 | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
677 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
678 | txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255) | |
679 | txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255) | |
680 | imlb.ImageColor3 = Color3.new(r/255,g/255,b/255) | |
681 | frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255) | |
682 | frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255) | |
683 | txtlb2.TextStrokeColor3 = Color3.new(1,1,1) | |
684 | txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255) | |
685 | imlb.ImageColor3 = Color3.new(r/255,g/255,b/255) | |
686 | imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255) | |
687 | imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255) | |
688 | frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255) | |
689 | frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255) | |
690 | end | |
691 | end | |
692 | end)) | |
693 | coroutine.resume(coroutine.create(function() | |
694 | while true do | |
695 | swait() | |
696 | if Error == true then | |
697 | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
698 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
699 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
700 | txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
701 | txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
702 | imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
703 | imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
704 | imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
705 | imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
706 | imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
707 | imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
708 | frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
709 | frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
710 | text = est[math.random(1,17)] | |
711 | end | |
712 | end | |
713 | end)) | |
714 | coroutine.resume(coroutine.create(function() | |
715 | while true do | |
716 | swait() | |
717 | if CRAZED == true then | |
718 | txtlb2.Rotation = math.random(-1,1) | |
719 | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
720 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
721 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
722 | txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1)) | |
723 | txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2)) | |
724 | imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
725 | imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
726 | imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
727 | imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
728 | imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
729 | imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1)) | |
730 | frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1)) | |
731 | frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1)) | |
732 | end | |
733 | end | |
734 | end)) | |
735 | coroutine.resume(coroutine.create(function() | |
736 | while true do | |
737 | swait() | |
738 | if chaosmode == true then | |
739 | txtlb2.Rotation = math.random(-1,1) | |
740 | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
741 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
742 | imlb.ImageColor3 = BrickColor.random().Color | |
743 | txtlb2.TextStrokeColor3 = BrickColor.random().Color | |
744 | end | |
745 | end | |
746 | end)) | |
747 | coroutine.resume(coroutine.create(function() | |
748 | while true do | |
749 | swait() | |
750 | if scrg.Parent ~= nil then | |
751 | fvalen = fvalen - 0.0001 | |
752 | elseif scrg.Parent == nil then | |
753 | break | |
754 | end | |
755 | end | |
756 | end)) | |
757 | local flol = -5 | |
758 | local flil = 1.6 | |
759 | coroutine.resume(coroutine.create(function() | |
760 | for i = 0, 49 do | |
761 | swait() | |
762 | flol = flol + 0.125 | |
763 | flil = flil - 0.1 | |
764 | frm.Size = frm.Size + UDim2.new(0.1,0,0,0) | |
765 | frm.Rotation = frm.Rotation - 0.25 | |
766 | frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0) | |
767 | frm2.Rotation = frm.Rotation + 0.325 | |
768 | imlb3.Rotation = imlb3.Rotation - 10 | |
769 | imlb2.Rotation = imlb.Rotation + 7.5 | |
770 | imlb.Rotation = imlb.Rotation + 5 | |
771 | if Error == false then | |
772 | txtlb2.Rotation = txtlb2.Rotation - 5.125 | |
773 | elseif Error == true then | |
774 | txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6) | |
775 | end | |
776 | imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0) | |
777 | end | |
778 | for i = 0, 99 do | |
779 | swait() | |
780 | fval = fval + 0.05 | |
781 | flol = flol + 0.005 | |
782 | frm.Size = frm.Size + UDim2.new(0.005,0,0,0) | |
783 | frm.Rotation = frm.Rotation - 0.075 | |
784 | frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0) | |
785 | frm2.Rotation = frm2.Rotation + 0.125 | |
786 | imlb3.Rotation = imlb3.Rotation - 2 | |
787 | imlb2.Rotation = imlb.Rotation + 1.5 | |
788 | imlb.Rotation = imlb.Rotation + 1 | |
789 | if Error == false then | |
790 | txtlb2.Rotation = txtlb2.Rotation - 1.125 | |
791 | elseif Error == true then | |
792 | txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6) | |
793 | end | |
794 | imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0) | |
795 | end | |
796 | local valinc = 0 | |
797 | local vinc2 = 1 | |
798 | for i = 0, 99 do | |
799 | swait() | |
800 | vinc2 = vinc2 + 0.25 | |
801 | valinc = valinc + 0.0001 | |
802 | flol = flol + valinc | |
803 | flil = flil + valinc | |
804 | txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2 | |
805 | imlb3.Rotation = imlb3.Rotation - 2*vinc2 | |
806 | imlb.Rotation = imlb.Rotation + 1*vinc2 | |
807 | imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0) | |
808 | frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0) | |
809 | frm.Rotation = frm.Rotation + 0.1*vinc2 | |
810 | frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0) | |
811 | frm2.Rotation = frm2.Rotation + 0.225*vinc2 | |
812 | frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075 | |
813 | frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075 | |
814 | imlb.ImageTransparency = imlb.ImageTransparency + 0.005 | |
815 | imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01 | |
816 | imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01 | |
817 | imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01 | |
818 | imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01 | |
819 | txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01 | |
820 | txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01 | |
821 | end | |
822 | scrg:Destroy() | |
823 | end)) | |
824 | end)) | |
825 | end | |
826 | end | |
827 | end | |
828 | ||
829 | function CameraEnshaking(Length,Intensity) | |
830 | coroutine.resume(coroutine.create(function() | |
831 | local intensity = 1*Intensity | |
832 | local rotM = 0.01*Intensity | |
833 | for i = 0, Length, 0.1 do | |
834 | swait() | |
835 | intensity = intensity - 0.05*Intensity/Length | |
836 | rotM = rotM - 0.0005*Intensity/Length | |
837 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
838 | 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) | |
839 | end | |
840 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
841 | end)) | |
842 | end | |
843 | CamShake=function(Part,Distan,Power,Times) | |
844 | local de=Part.Position | |
845 | for i,v in pairs(workspace:children()) do | |
846 | if v:IsA("Model") and v:findFirstChild("Humanoid") then | |
847 | for _,c in pairs(v:children()) do | |
848 | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then | |
849 | local Noob=v.Humanoid | |
850 | if Noob~=nil then | |
851 | coroutine.resume(coroutine.create(function() | |
852 | FV = Instance.new("BoolValue", Noob) | |
853 | FV.Name = "CameraShake" | |
854 | for ShakeNum=1,Times do | |
855 | swait() | |
856 | local ef=Power | |
857 | if ef>=1 then | |
858 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
859 | else | |
860 | ef=Power*10 | |
861 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
862 | end | |
863 | end | |
864 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
865 | FV:Destroy() | |
866 | end)) | |
867 | CameraShake(Times, Power, Noob) | |
868 | end | |
869 | end | |
870 | end | |
871 | end | |
872 | end | |
873 | end | |
874 | ||
875 | local toggleTag = true | |
876 | local bilguit = Instance.new("BillboardGui", hed) | |
877 | bilguit.Adornee = nil | |
878 | bilguit.Name = "ModeName" | |
879 | bilguit.Size = UDim2.new(4, 0, 1.2, 0) | |
880 | bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0) | |
881 | local modet = Instance.new("TextLabel", bilguit) | |
882 | modet.Size = UDim2.new(10/2, 0, 7/2, 0) | |
883 | modet.FontSize = "Size8" | |
884 | modet.TextScaled = true | |
885 | modet.TextTransparency = 0 | |
886 | modet.BackgroundTransparency = 1 | |
887 | modet.TextTransparency = 0 | |
888 | modet.TextStrokeTransparency = 0 | |
889 | modet.Font = "Antique" | |
890 | modet.TextStrokeColor3 = Color3.new(1,0,0) | |
891 | modet.TextColor3 = Color3.new(0.25,0,0) | |
892 | modet.Text = "STAR GLITCHER V LOADED " | |
893 | ||
894 | ||
895 | function chatfunc(text,color,typet,font,timeex) | |
896 | local chat = coroutine.wrap(function() | |
897 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
898 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
899 | end | |
900 | local naeeym2 = Instance.new("BillboardGui",Character) | |
901 | naeeym2.Size = UDim2.new(0,100,0,40) | |
902 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
903 | naeeym2.Adornee = Character.Head | |
904 | naeeym2.Name = "TalkingBillBoard" | |
905 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
906 | tecks2.BackgroundTransparency = 1 | |
907 | tecks2.BorderSizePixel = 0 | |
908 | tecks2.Text = "" | |
909 | tecks2.Font = font | |
910 | tecks2.TextSize = 30 | |
911 | tecks2.TextStrokeTransparency = 0 | |
912 | tecks2.TextColor3 = color | |
913 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
914 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
915 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
916 | tecks3.BackgroundTransparency = 1 | |
917 | tecks3.BorderSizePixel = 0 | |
918 | tecks3.Text = "" | |
919 | tecks3.Font = font | |
920 | tecks3.TextSize = 30 | |
921 | tecks3.TextStrokeTransparency = 0 | |
922 | if typet == "Inverted" then | |
923 | tecks3.TextColor3 = Color3.new(0,0,0) | |
924 | tecks3.TextStrokeColor3 = color | |
925 | elseif typet == "Normal" then | |
926 | tecks3.TextColor3 = color | |
927 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
928 | end | |
929 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
930 | coroutine.resume(coroutine.create(function() | |
931 | while true do | |
932 | swait(1) | |
933 | if chaosmode == true then | |
934 | tecks2.TextColor3 = BrickColor.random().Color | |
935 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
936 | end | |
937 | end | |
938 | end)) | |
939 | modet.TextTransparency = modet.TextTransparency + 1 | |
940 | modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1 | |
941 | for i = 0, 74*timeex do | |
942 | swait() | |
943 | modet.TextTransparency = 1 | |
944 | modet.TextStrokeTransparency = 1 | |
945 | tecks2.Text = text | |
946 | tecks3.Text = text | |
947 | end | |
948 | local randomrot = math.random(1,2) | |
949 | if randomrot == 1 then | |
950 | for i = 1, 50 do | |
951 | swait() | |
952 | tecks2.Text = text | |
953 | tecks3.Text = text | |
954 | modet.TextTransparency = modet.TextTransparency - .02 | |
955 | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 | |
956 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
957 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
958 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
959 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
960 | end | |
961 | elseif randomrot == 2 then | |
962 | for i = 1, 50 do | |
963 | swait() | |
964 | tecks2.Text = text | |
965 | tecks3.Text = text | |
966 | modet.TextTransparency = modet.TextTransparency - .02 | |
967 | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 | |
968 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
969 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
970 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
971 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
972 | end | |
973 | end | |
974 | modet.TextTransparency = 0 | |
975 | modet.TextStrokeTransparency = 0 | |
976 | if toggleTag == false then | |
977 | modet.TextTransparency = 1 | |
978 | modet.TextStrokeTransparency = 1 | |
979 | end | |
980 | naeeym2:Destroy() | |
981 | end) | |
982 | chat() | |
983 | end | |
984 | ||
985 | function bosschatfunc(text,color,watval) | |
986 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
987 | coroutine.resume(coroutine.create(function() | |
988 | if v.PlayerGui:FindFirstChild("Dialog")~= nil then | |
989 | v.PlayerGui:FindFirstChild("Dialog"):destroy() | |
990 | end | |
991 | local scrg = Instance.new("ScreenGui",v.PlayerGui) | |
992 | CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1) | |
993 | scrg.Name = "Dialog" | |
994 | local txtlb = Instance.new("TextLabel",scrg) | |
995 | txtlb.Text = "" | |
996 | txtlb.Font = "Bodoni" | |
997 | txtlb.TextColor3 = Color3.new(0,0,0) | |
998 | txtlb.TextStrokeTransparency = 0 | |
999 | txtlb.BackgroundTransparency = 0.75 | |
1000 | txtlb.BackgroundColor3 = Color3.new(0,0,0) | |
1001 | txtlb.TextStrokeColor3 = color | |
1002 | txtlb.TextScaled = true | |
1003 | txtlb.Size = UDim2.new(1,0,0.25,0) | |
1004 | txtlb.TextXAlignment = "Left" | |
1005 | txtlb.Position = UDim2.new(0,0,0.75 + 1,0) | |
1006 | local txtlb2 = Instance.new("TextLabel",scrg) | |
1007 | txtlb2.Text = "star:" | |
1008 | txtlb2.Font = "Arcade" | |
1009 | txtlb2.TextColor3 = Color3.new(0,0,0) | |
1010 | txtlb2.TextStrokeTransparency = 0 | |
1011 | txtlb2.BackgroundTransparency = 1 | |
1012 | txtlb2.TextStrokeColor3 = color | |
1013 | txtlb2.TextSize = 40 | |
1014 | txtlb2.Size = UDim2.new(1,0,0.25,0) | |
1015 | txtlb2.TextXAlignment = "Left" | |
1016 | txtlb2.Position = UDim2.new(0,0,1,0) | |
1017 | local fvalen = 0.55 | |
1018 | local fval = -0.49 | |
1019 | coroutine.resume(coroutine.create(function() | |
1020 | while true do | |
1021 | swait() | |
1022 | if chaosmode == true then | |
1023 | txtlb.Rotation = math.random(-1,1) | |
1024 | txtlb2.Rotation = math.random(-1,1) | |
1025 | txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
1026 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
1027 | txtlb.TextStrokeColor3 = BrickColor.random().Color | |
1028 | txtlb2.TextStrokeColor3 = BrickColor.random().Color | |
1029 | end | |
1030 | end | |
1031 | end)) | |
1032 | coroutine.resume(coroutine.create(function() | |
1033 | while true do | |
1034 | swait() | |
1035 | if scrg.Parent ~= nil then | |
1036 | fvalen = fvalen - 0.0001 | |
1037 | elseif scrg.Parent == nil then | |
1038 | break | |
1039 | end | |
1040 | end | |
1041 | end)) | |
1042 | local flol = 1.75 | |
1043 | local flil = 1.6 | |
1044 | coroutine.resume(coroutine.create(function() | |
1045 | for i = 0, 9 do | |
1046 | swait() | |
1047 | fval = fval + 0.05 | |
1048 | flol = flol - 0.1 | |
1049 | flil = flil - 0.1 | |
1050 | txtlb.Text = "" | |
1051 | txtlb.Position = UDim2.new(0,0,flol,0) | |
1052 | txtlb2.Position = UDim2.new(0,0,flil,0) | |
1053 | end | |
1054 | txtlb.Text = text | |
1055 | wait(watval) | |
1056 | local valinc = 0 | |
1057 | for i = 0, 99 do | |
1058 | swait() | |
1059 | valinc = valinc + 0.0001 | |
1060 | flol = flol + valinc | |
1061 | flil = flil + valinc | |
1062 | txtlb.Rotation = txtlb.Rotation + valinc*20 | |
1063 | txtlb2.Rotation = txtlb2.Rotation - valinc*50 | |
1064 | txtlb.Position = UDim2.new(0,0,flol,0) | |
1065 | txtlb2.Position = UDim2.new(0,0,flil,0) | |
1066 | txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01 | |
1067 | txtlb.TextTransparency = txtlb.TextTransparency + 0.01 | |
1068 | txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01 | |
1069 | txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01 | |
1070 | txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025 | |
1071 | end | |
1072 | scrg:Destroy() | |
1073 | end)) | |
1074 | end)) | |
1075 | end | |
1076 | end | |
1077 | ||
1078 | function bosschatfunc2(text,color,watval) | |
1079 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1080 | coroutine.resume(coroutine.create(function() | |
1081 | if v.PlayerGui:FindFirstChild("Dialog")~= nil then | |
1082 | v.PlayerGui:FindFirstChild("Dialog"):destroy() | |
1083 | end | |
1084 | local scrg = Instance.new("ScreenGui",v.PlayerGui) | |
1085 | CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1) | |
1086 | scrg.Name = "Dialog" | |
1087 | local txtlb = Instance.new("TextLabel",scrg) | |
1088 | txtlb.Text = "" | |
1089 | txtlb.Font = "Bodoni" | |
1090 | txtlb.TextColor3 = Color3.new(0,0,0) | |
1091 | txtlb.TextStrokeTransparency = 0 | |
1092 | txtlb.BackgroundTransparency = 0.75 | |
1093 | txtlb.BackgroundColor3 = Color3.new(0,0,0) | |
1094 | txtlb.TextStrokeColor3 = color | |
1095 | txtlb.TextScaled = true | |
1096 | txtlb.Size = UDim2.new(1,0,0.25,0) | |
1097 | txtlb.TextXAlignment = "Left" | |
1098 | txtlb.Position = UDim2.new(0,0,0.75 + 1,0) | |
1099 | local txtlb2 = Instance.new("TextLabel",scrg) | |
1100 | txtlb2.Text = "User:" | |
1101 | txtlb2.Font = "Arcade" | |
1102 | txtlb2.TextColor3 = Color3.new(0,0,0) | |
1103 | txtlb2.TextStrokeTransparency = 0 | |
1104 | txtlb2.BackgroundTransparency = 1 | |
1105 | txtlb2.TextStrokeColor3 = color | |
1106 | txtlb2.TextSize = 40 | |
1107 | txtlb2.Size = UDim2.new(1,0,0.25,0) | |
1108 | txtlb2.TextXAlignment = "Left" | |
1109 | txtlb2.Position = UDim2.new(0,0,1,0) | |
1110 | local fvalen = 0.55 | |
1111 | local fval = -0.49 | |
1112 | coroutine.resume(coroutine.create(function() | |
1113 | while true do | |
1114 | swait() | |
1115 | if chaosmode == true then | |
1116 | txtlb.Rotation = math.random(-1,1) | |
1117 | txtlb2.Rotation = math.random(-1,1) | |
1118 | txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
1119 | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) | |
1120 | txtlb.TextStrokeColor3 = BrickColor.random().Color | |
1121 | txtlb2.TextStrokeColor3 = BrickColor.random().Color | |
1122 | end | |
1123 | end | |
1124 | end)) | |
1125 | coroutine.resume(coroutine.create(function() | |
1126 | while true do | |
1127 | swait() | |
1128 | if scrg.Parent ~= nil then | |
1129 | fvalen = fvalen - 0.0001 | |
1130 | elseif scrg.Parent == nil then | |
1131 | break | |
1132 | end | |
1133 | end | |
1134 | end)) | |
1135 | local flol = 1.75 | |
1136 | local flil = 1.6 | |
1137 | coroutine.resume(coroutine.create(function() | |
1138 | for i = 0, 9 do | |
1139 | swait() | |
1140 | fval = fval + 0.05 | |
1141 | flol = flol - 0.1 | |
1142 | flil = flil - 0.1 | |
1143 | txtlb.Text = "" | |
1144 | txtlb.Position = UDim2.new(0,0,flol,0) | |
1145 | txtlb2.Position = UDim2.new(0,0,flil,0) | |
1146 | end | |
1147 | txtlb.Text = text | |
1148 | wait(watval) | |
1149 | local valinc = 0 | |
1150 | for i = 0, 99 do | |
1151 | swait() | |
1152 | valinc = valinc + 0.0001 | |
1153 | flol = flol + valinc | |
1154 | flil = flil + valinc | |
1155 | txtlb.Rotation = txtlb.Rotation + valinc*20 | |
1156 | txtlb2.Rotation = txtlb2.Rotation - valinc*50 | |
1157 | txtlb.Position = UDim2.new(0,0,flol,0) | |
1158 | txtlb2.Position = UDim2.new(0,0,flil,0) | |
1159 | txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01 | |
1160 | txtlb.TextTransparency = txtlb.TextTransparency + 0.01 | |
1161 | txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01 | |
1162 | txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01 | |
1163 | txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025 | |
1164 | end | |
1165 | scrg:Destroy() | |
1166 | end)) | |
1167 | end)) | |
1168 | end | |
1169 | end | |
1170 | ||
1171 | local Create = LoadLibrary("RbxUtility").Create | |
1172 | ||
1173 | CFuncs = { | |
1174 | ["Part"] = { | |
1175 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1176 | local Part = Create("Part"){ | |
1177 | Parent = Parent, | |
1178 | Reflectance = Reflectance, | |
1179 | Transparency = Transparency, | |
1180 | CanCollide = false, | |
1181 | Locked = true, | |
1182 | BrickColor = BrickColor.new(tostring(BColor)), | |
1183 | Name = Name, | |
1184 | Size = Size, | |
1185 | Material = Material, | |
1186 | } | |
1187 | RemoveOutlines(Part) | |
1188 | return Part | |
1189 | end; | |
1190 | }; | |
1191 | ||
1192 | ["Mesh"] = { | |
1193 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1194 | local Msh = Create(Mesh){ | |
1195 | Parent = Part, | |
1196 | Offset = OffSet, | |
1197 | Scale = Scale, | |
1198 | } | |
1199 | if Mesh == "SpecialMesh" then | |
1200 | Msh.MeshType = MeshType | |
1201 | Msh.MeshId = MeshId | |
1202 | end | |
1203 | return Msh | |
1204 | end; | |
1205 | }; | |
1206 | ||
1207 | ["Mesh"] = { | |
1208 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1209 | local Msh = Create(Mesh){ | |
1210 | Parent = Part, | |
1211 | Offset = OffSet, | |
1212 | Scale = Scale, | |
1213 | } | |
1214 | if Mesh == "SpecialMesh" then | |
1215 | Msh.MeshType = MeshType | |
1216 | Msh.MeshId = MeshId | |
1217 | end | |
1218 | return Msh | |
1219 | end; | |
1220 | }; | |
1221 | ||
1222 | ["Weld"] = { | |
1223 | Create = function(Parent, Part0, Part1, C0, C1) | |
1224 | local Weld = Create("Weld"){ | |
1225 | Parent = Parent, | |
1226 | Part0 = Part0, | |
1227 | Part1 = Part1, | |
1228 | C0 = C0, | |
1229 | C1 = C1, | |
1230 | } | |
1231 | return Weld | |
1232 | end; | |
1233 | }; | |
1234 | ||
1235 | ["Sound"] = { | |
1236 | Create = function(id, par, vol, pit) | |
1237 | coroutine.resume(coroutine.create(function() | |
1238 | local S = Create("Sound"){ | |
1239 | Volume = vol, | |
1240 | Name = "EffectSoundo", | |
1241 | Pitch = pit or 1, | |
1242 | SoundId = id, | |
1243 | Parent = par or workspace, | |
1244 | } | |
1245 | wait() | |
1246 | S:play() | |
1247 | game:GetService("Debris"):AddItem(S, 10) | |
1248 | end)) | |
1249 | end; | |
1250 | }; | |
1251 | ||
1252 | ["TimeSound"] = { | |
1253 | Create = function(id, par, vol, pit, timepos) | |
1254 | coroutine.resume(coroutine.create(function() | |
1255 | local S = Create("Sound"){ | |
1256 | Volume = vol, | |
1257 | Name = "EffectSoundo", | |
1258 | Pitch = pit or 1, | |
1259 | SoundId = id, | |
1260 | TimePosition = timepos, | |
1261 | Parent = par or workspace, | |
1262 | } | |
1263 | wait() | |
1264 | S:play() | |
1265 | game:GetService("Debris"):AddItem(S, 10) | |
1266 | end)) | |
1267 | end; | |
1268 | }; | |
1269 | ["EchoSound"] = { | |
1270 | Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) | |
1271 | coroutine.resume(coroutine.create(function() | |
1272 | local Sas = Create("Sound"){ | |
1273 | Volume = vol, | |
1274 | Name = "EffectSoundo", | |
1275 | Pitch = pit or 1, | |
1276 | SoundId = id, | |
1277 | TimePosition = timepos, | |
1278 | Parent = par or workspace, | |
1279 | } | |
1280 | local E = Create("EchoSoundEffect"){ | |
1281 | Delay = echodelay, | |
1282 | Name = "Echo", | |
1283 | Feedback = fedb, | |
1284 | DryLevel = dryl, | |
1285 | Parent = Sas, | |
1286 | } | |
1287 | wait() | |
1288 | Sas:play() | |
1289 | game:GetService("Debris"):AddItem(Sas, delays) | |
1290 | end)) | |
1291 | end; | |
1292 | }; | |
1293 | ||
1294 | ["LongSound"] = { | |
1295 | Create = function(id, par, vol, pit) | |
1296 | coroutine.resume(coroutine.create(function() | |
1297 | local S = Create("Sound"){ | |
1298 | Volume = vol, | |
1299 | Pitch = pit or 1, | |
1300 | SoundId = id, | |
1301 | Parent = par or workspace, | |
1302 | } | |
1303 | wait() | |
1304 | S:play() | |
1305 | game:GetService("Debris"):AddItem(S, 60) | |
1306 | end)) | |
1307 | end; | |
1308 | }; | |
1309 | ||
1310 | ["ParticleEmitter"] = { | |
1311 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
1312 | local fp = Create("ParticleEmitter"){ | |
1313 | Parent = Parent, | |
1314 | Color = ColorSequence.new(Color1, Color2), | |
1315 | LightEmission = LightEmission, | |
1316 | Size = Size, | |
1317 | Texture = Texture, | |
1318 | Transparency = Transparency, | |
1319 | ZOffset = ZOffset, | |
1320 | Acceleration = Accel, | |
1321 | Drag = Drag, | |
1322 | LockedToPart = LockedToPart, | |
1323 | VelocityInheritance = VelocityInheritance, | |
1324 | EmissionDirection = EmissionDirection, | |
1325 | Enabled = Enabled, | |
1326 | Lifetime = LifeTime, | |
1327 | Rate = Rate, | |
1328 | Rotation = Rotation, | |
1329 | RotSpeed = RotSpeed, | |
1330 | Speed = Speed, | |
1331 | VelocitySpread = VelocitySpread, | |
1332 | } | |
1333 | return fp | |
1334 | end; | |
1335 | }; | |
1336 | ||
1337 | CreateTemplate = { | |
1338 | ||
1339 | }; | |
1340 | } | |
1341 | ||
1342 | ||
1343 | ||
1344 | New = function(Object, Parent, Name, Data) | |
1345 | local Object = Instance.new(Object) | |
1346 | for Index, Value in pairs(Data or {}) do | |
1347 | Object[Index] = Value | |
1348 | end | |
1349 | Object.Parent = Parent | |
1350 | Object.Name = Name | |
1351 | return Object | |
1352 | end | |
1353 | local halocolor = BrickColor.new("Pastel light blue") | |
1354 | local halocolor2 = BrickColor.new("Cool yellow") | |
1355 | local starcolor = BrickColor.new("Bright yellow") | |
1356 | local lunacolor = BrickColor.new("Navy blue") | |
1357 | local lunacolor2 = BrickColor.new("Bright blue") | |
1358 | local wepcolor = BrickColor.new("Really black") | |
1359 | local maincolor = BrickColor.new("Really black") | |
1360 | local m = Instance.new("Model",char) | |
1361 | local m2 = Instance.new("Model",char) | |
1362 | local m3 = Instance.new("Model",char) | |
1363 | local mw1 = Instance.new("Model",char) | |
1364 | local mw2 = Instance.new("Model",char) | |
1365 | ||
1366 | ||
1367 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) | |
1368 | local gui = it(GuiType) | |
1369 | gui.Parent = parent | |
1370 | gui.Text = text | |
1371 | gui.BackgroundTransparency = backtrans | |
1372 | gui.BackgroundColor3 = backcol | |
1373 | gui.SizeConstraint = "RelativeXY" | |
1374 | gui.TextXAlignment = "Center" | |
1375 | gui.TextYAlignment = "Center" | |
1376 | gui.Position = pos | |
1377 | gui.Size = size | |
1378 | gui.Font = "SourceSans" | |
1379 | gui.FontSize = "Size14" | |
1380 | gui.TextWrapped = false | |
1381 | gui.TextStrokeTransparency = 0 | |
1382 | gui.TextColor = BrickColor.new("White") | |
1383 | return gui | |
1384 | end | |
1385 | --------------------------- GUI STUFF | |
1386 | local basgui = it("GuiMain") | |
1387 | basgui.Parent = plr.PlayerGui | |
1388 | basgui.Name = "VISgui" | |
1389 | local fullscreenz = it("Frame") | |
1390 | fullscreenz.Parent = basgui | |
1391 | fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255) | |
1392 | fullscreenz.BackgroundTransparency = 1 | |
1393 | fullscreenz.BorderColor3 = Color3.new(17, 17, 17) | |
1394 | fullscreenz.Size = UDim2.new(1, 0, 1, 0) | |
1395 | fullscreenz.Position = UDim2.new(0, 0, 0, 0) | |
1396 | local imgl2 = Instance.new("ImageLabel",fullscreenz) | |
1397 | imgl2.BackgroundTransparency = 1 | |
1398 | imgl2.BorderSizePixel = 0 | |
1399 | imgl2.ImageTransparency = 0.5 | |
1400 | imgl2.Position = UDim2.new(0.70,-200,0.50,-200) | |
1401 | imgl2.Size = UDim2.new(0,1000,0,1000) | |
1402 | imgl2.Image = "rbxassetid://2344830904" | |
1403 | local techc = imgl2:Clone() | |
1404 | techc.Parent = fullscreenz | |
1405 | techc.ImageTransparency = 0 | |
1406 | techc.Size = UDim2.new(0,900,0,900) | |
1407 | techc.Position = UDim2.new(0.70,-150,0.50,-150) | |
1408 | techc.Image = "rbxassetid://2092248396" | |
1409 | local circl = imgl2:Clone() | |
1410 | circl.Parent = fullscreenz | |
1411 | circl.ImageTransparency = 0 | |
1412 | circl.Size = UDim2.new(0,550,0,550) | |
1413 | circl.Position = UDim2.new(0.70,25,0.50,25) | |
1414 | circl.Image = "rbxassetid://2312119891" | |
1415 | local circl2 = imgl2:Clone() | |
1416 | circl2.Parent = fullscreenz | |
1417 | circl2.ImageTransparency = 0 | |
1418 | circl2.Size = UDim2.new(0,700,0,700) | |
1419 | circl2.Position = UDim2.new(0.70,-50,0.50,-50) | |
1420 | circl2.Image = "rbxassetid://2312119891" | |
1421 | local imgl2b = imgl2:Clone() | |
1422 | imgl2b.Parent = fullscreenz | |
1423 | imgl2b.ImageTransparency = 0 | |
1424 | imgl2b.Size = UDim2.new(0,800,0,800) | |
1425 | imgl2b.Position = UDim2.new(0.70,-100,0.50,-100) | |
1426 | imgl2b.ImageColor3 = Color3.new(0,0,0) | |
1427 | local ned = Instance.new("TextLabel",fullscreenz) | |
1428 | ned.ZIndex = 2 | |
1429 | ned.Font = "Bodoni" | |
1430 | ned.BackgroundTransparency = 1 | |
1431 | ned.BorderSizePixel = 0.65 | |
1432 | ned.Size = UDim2.new(0.6,0,0.6,0) | |
1433 | ned.Position = UDim2.new(0,0,0,0) | |
1434 | ned.TextScaled = true | |
1435 | ned.TextStrokeTransparency = 0 | |
1436 | ned.Text = "Mayhem" | |
1437 | ned.TextSize = 48 | |
1438 | ned.Rotation = 1 | |
1439 | ned.TextXAlignment = "Left" | |
1440 | ned.TextYAlignment = "Top" | |
1441 | ||
1442 | local extrawingmod1 = Instance.new("Model",char) | |
1443 | local extrawingmod2 = Instance.new("Model",char) | |
1444 | ||
1445 | function CreateParta(parent,transparency,reflectance,material,brickcolor) | |
1446 | local p = Instance.new("Part") | |
1447 | p.TopSurface = 0 | |
1448 | p.BottomSurface = 0 | |
1449 | p.Parent = parent | |
1450 | p.Size = Vector3.new(0.1,0.1,0.1) | |
1451 | p.Transparency = transparency | |
1452 | p.Reflectance = reflectance | |
1453 | p.CanCollide = false | |
1454 | p.Locked = true | |
1455 | p.BrickColor = brickcolor | |
1456 | p.Material = material | |
1457 | return p | |
1458 | end | |
1459 | ||
1460 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
1461 | local mesh = Instance.new("SpecialMesh",parent) | |
1462 | mesh.MeshType = meshtype | |
1463 | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) | |
1464 | return mesh | |
1465 | end | |
1466 | ||
1467 | function CreateSpecialMesh(parent,meshid,x1,y1,z1) | |
1468 | local mesh = Instance.new("SpecialMesh",parent) | |
1469 | mesh.MeshType = "FileMesh" | |
1470 | mesh.MeshId = meshid | |
1471 | mesh.Scale = Vector3.new(x1,y1,z1) | |
1472 | return mesh | |
1473 | end | |
1474 | ||
1475 | ||
1476 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
1477 | local mesh = Instance.new("SpecialMesh",parent) | |
1478 | mesh.MeshType = "FileMesh" | |
1479 | mesh.MeshId = meshid | |
1480 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
1481 | mesh.Scale = Vector3.new(x1,y1,z1) | |
1482 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
1483 | return mesh | |
1484 | end | |
1485 | ||
1486 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
1487 | local weld = Instance.new("Weld") | |
1488 | weld.Parent = parent | |
1489 | weld.Part0 = part0 | |
1490 | weld.Part1 = part1 | |
1491 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
1492 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
1493 | return weld | |
1494 | end | |
1495 | ||
1496 | -------------- | |
1497 | local secondchar = Instance.new("Model",char) | |
1498 | local GhostCol = BrickColor.new("Really red") | |
1499 | local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
1500 | CreateMesh(sectors,"Brick",2*8,2*8,1*8) | |
1501 | local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1502 | ||
1503 | local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
1504 | CreateMesh(seclarm,"Brick",1*8,2*8,1*8) | |
1505 | local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1506 | ||
1507 | local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
1508 | CreateMesh(secrarm,"Brick",1*8,2*8,1*8) | |
1509 | local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1510 | ||
1511 | local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
1512 | CreateMesh(seclleg,"Brick",1*8,2*8,1*8) | |
1513 | local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1514 | ||
1515 | local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
1516 | CreateMesh(secrleg,"Brick",1*8,2*8,1*8) | |
1517 | local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1518 | ||
1519 | local seched = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
1520 | CreateMesh(seched,"Brick",1*8,1*8,1*8) | |
1521 | local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1522 | -------------- | |
1523 | CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1524 | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
1525 | 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)) | |
1526 | ||
1527 | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
1528 | CreateMesh(handle,"Brick",0,0,0) | |
1529 | 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)) | |
1530 | local valuaring = 10 | |
1531 | for i = 0, 49 do | |
1532 | valuaring = valuaring + 10 | |
1533 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
1534 | CreateMesh(rn,"Brick",0.25,0.1,0.1) | |
1535 | 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)) | |
1536 | end | |
1537 | ||
1538 | handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
1539 | CreateMesh(handle,"Brick",0,0,0) | |
1540 | CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1541 | local valuaring = 10 | |
1542 | for i = 0, 49 do | |
1543 | valuaring = valuaring + 10 | |
1544 | rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1545 | CreateMesh(rn,"Brick",0.5,0.2,0.2) | |
1546 | 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)) | |
1547 | end | |
1548 | ||
1549 | ||
1550 | local handle = CreateParta(m,1,1,"Neon",maincolor) | |
1551 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1552 | 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)) | |
1553 | ||
1554 | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
1555 | CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1556 | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
1557 | 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)) | |
1558 | ||
1559 | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
1560 | CreateMesh(handle,"Brick",0,0,0) | |
1561 | 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)) | |
1562 | local valuaring = 10 | |
1563 | for i = 0, 49 do | |
1564 | valuaring = valuaring + 10 | |
1565 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
1566 | CreateMesh(rn,"Brick",0.25,0.1,0.1) | |
1567 | 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)) | |
1568 | end | |
1569 | ||
1570 | handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
1571 | CreateMesh(handle,"Brick",0,0,0) | |
1572 | CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1573 | local valuaring = 10 | |
1574 | for i = 0, 49 do | |
1575 | valuaring = valuaring + 10 | |
1576 | rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1577 | CreateMesh(rn,"Brick",0.5,0.2,0.2) | |
1578 | 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)) | |
1579 | end | |
1580 | ||
1581 | ||
1582 | local handle = CreateParta(m,1,1,"Neon",maincolor) | |
1583 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1584 | 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)) | |
1585 | ||
1586 | --- Left wing. | |
1587 | ||
1588 | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
1589 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1590 | 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)) | |
1591 | ||
1592 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1593 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1594 | 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)) | |
1595 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1596 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1597 | 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)) | |
1598 | A0 = Instance.new('Attachment',wed) | |
1599 | A0.Position = vt(0,0.25,0.25) | |
1600 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1601 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1602 | 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)) | |
1603 | A1 = Instance.new('Attachment',wed) | |
1604 | A1.Position = vt(0,-0.25,-2) | |
1605 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1606 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1607 | 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)) | |
1608 | ||
1609 | tl1 = Instance.new('Trail',wed) | |
1610 | tl1.Attachment0 = A1 | |
1611 | tl1.Attachment1 = A0 | |
1612 | tl1.Texture = "rbxassetid://2108945559" | |
1613 | tl1.LightEmission = 1 | |
1614 | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1615 | tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color) | |
1616 | tl1.Lifetime = 0.6 | |
1617 | ||
1618 | ||
1619 | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
1620 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1621 | 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)) | |
1622 | ||
1623 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1624 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1625 | 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)) | |
1626 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1627 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1628 | 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)) | |
1629 | A0 = Instance.new('Attachment',wed) | |
1630 | A0.Position = vt(0,0.25,0.25) | |
1631 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1632 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1633 | 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)) | |
1634 | A1 = Instance.new('Attachment',wed) | |
1635 | A1.Position = vt(0,-0.25,-2) | |
1636 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1637 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1638 | 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)) | |
1639 | ||
1640 | tl2 = Instance.new('Trail',wed) | |
1641 | tl2.Attachment0 = A1 | |
1642 | tl2.Attachment1 = A0 | |
1643 | tl2.Texture = "rbxassetid://2108945559" | |
1644 | tl2.LightEmission = 1 | |
1645 | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1646 | tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color) | |
1647 | tl2.Lifetime = 0.6 | |
1648 | ||
1649 | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
1650 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1651 | 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)) | |
1652 | ||
1653 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1654 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1655 | 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)) | |
1656 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1657 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1658 | 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)) | |
1659 | A0 = Instance.new('Attachment',wed) | |
1660 | A0.Position = vt(0,0.25,0.25) | |
1661 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1662 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1663 | 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)) | |
1664 | A1 = Instance.new('Attachment',wed) | |
1665 | A1.Position = vt(0,-0.25,-2) | |
1666 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
1667 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1668 | 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)) | |
1669 | ||
1670 | tl3 = Instance.new('Trail',wed) | |
1671 | tl3.Attachment0 = A1 | |
1672 | tl3.Attachment1 = A0 | |
1673 | tl3.Texture = "rbxassetid://2108945559" | |
1674 | tl3.LightEmission = 1 | |
1675 | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1676 | tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color) | |
1677 | tl3.Lifetime = 0.6 | |
1678 | ||
1679 | tl1.Enabled = false | |
1680 | tl2.Enabled = false | |
1681 | tl3.Enabled = false | |
1682 | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
1683 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1684 | 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)) | |
1685 | ||
1686 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1687 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1688 | 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)) | |
1689 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1690 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1691 | 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)) | |
1692 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1693 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1694 | 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)) | |
1695 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1696 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1697 | 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)) | |
1698 | ||
1699 | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
1700 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1701 | 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)) | |
1702 | ||
1703 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1704 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1705 | CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1706 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1707 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1708 | CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1709 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1710 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1711 | 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)) | |
1712 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1713 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1714 | 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)) | |
1715 | ||
1716 | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
1717 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1718 | 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)) | |
1719 | ||
1720 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1721 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1722 | 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)) | |
1723 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1724 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1725 | 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)) | |
1726 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1727 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1728 | CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1729 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
1730 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1731 | 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)) | |
1732 | ||
1733 | -- Right wing. | |
1734 | ||
1735 | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
1736 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1737 | 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)) | |
1738 | ||
1739 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1740 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1741 | 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)) | |
1742 | A0 = Instance.new('Attachment',wed) | |
1743 | A0.Position = vt(0,0.25,0.25) | |
1744 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1745 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1746 | 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)) | |
1747 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1748 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1749 | CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1750 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1751 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1752 | CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1753 | A1 = Instance.new('Attachment',wed) | |
1754 | A1.Position = vt(0,2,0.25) | |
1755 | ||
1756 | tr1 = Instance.new('Trail',wed) | |
1757 | tr1.Attachment0 = A1 | |
1758 | tr1.Attachment1 = A0 | |
1759 | tr1.Texture = "rbxassetid://2108945559" | |
1760 | tr1.LightEmission = 1 | |
1761 | tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1762 | tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color) | |
1763 | tr1.Lifetime = 0.6 | |
1764 | ||
1765 | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
1766 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1767 | 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)) | |
1768 | ||
1769 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1770 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1771 | 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)) | |
1772 | A0 = Instance.new('Attachment',wed) | |
1773 | A0.Position = vt(0,0.25,0.25) | |
1774 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1775 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1776 | 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)) | |
1777 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1778 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1779 | 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)) | |
1780 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1781 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1782 | 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)) | |
1783 | A1 = Instance.new('Attachment',wed) | |
1784 | A1.Position = vt(0,2,0.25) | |
1785 | ||
1786 | tr2 = Instance.new('Trail',wed) | |
1787 | tr2.Attachment0 = A1 | |
1788 | tr2.Attachment1 = A0 | |
1789 | tr2.Texture = "rbxassetid://2108945559" | |
1790 | tr2.LightEmission = 1 | |
1791 | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1792 | tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color) | |
1793 | tr2.Lifetime = 0.6 | |
1794 | ||
1795 | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
1796 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1797 | 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)) | |
1798 | ||
1799 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1800 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1801 | 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)) | |
1802 | A0 = Instance.new('Attachment',wed) | |
1803 | A0.Position = vt(0,0.25,0.25) | |
1804 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1805 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1806 | 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)) | |
1807 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1808 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1809 | 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)) | |
1810 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
1811 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1812 | 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)) | |
1813 | A1 = Instance.new('Attachment',wed) | |
1814 | A1.Position = vt(0,2,0.25) | |
1815 | ||
1816 | tr3 = Instance.new('Trail',wed) | |
1817 | tr3.Attachment0 = A1 | |
1818 | tr3.Attachment1 = A0 | |
1819 | tr3.Texture = "rbxassetid://2108945559" | |
1820 | tr3.LightEmission = 1 | |
1821 | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
1822 | tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color) | |
1823 | tr3.Lifetime = 0.6 | |
1824 | ||
1825 | ||
1826 | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
1827 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1828 | 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)) | |
1829 | ||
1830 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1831 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1832 | 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)) | |
1833 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1834 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1835 | 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)) | |
1836 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1837 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1838 | 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)) | |
1839 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1840 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1841 | 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)) | |
1842 | ||
1843 | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
1844 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1845 | 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)) | |
1846 | ||
1847 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1848 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1849 | 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)) | |
1850 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1851 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1852 | 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)) | |
1853 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1854 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1855 | 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)) | |
1856 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1857 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1858 | 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)) | |
1859 | ||
1860 | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
1861 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
1862 | 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)) | |
1863 | ||
1864 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1865 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1866 | 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)) | |
1867 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1868 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
1869 | 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)) | |
1870 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1871 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
1872 | 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)) | |
1873 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
1874 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
1875 | 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)) | |
1876 | ||
1877 | ---- HERES THE RING | |
1878 | ||
1879 | ||
1880 | ran = CreateParta(m2,0,0,"Glass",wepcolor) | |
1881 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
1882 | 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)) | |
1883 | ran = CreateParta(m,0,0,"Glass",wepcolor) | |
1884 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
1885 | 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)) | |
1886 | ran = CreateParta(m,0,0,"Glass",wepcolor) | |
1887 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
1888 | 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)) | |
1889 | ||
1890 | ||
1891 | gan = CreateParta(m,0,0,"Glass",wepcolor) | |
1892 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
1893 | 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)) | |
1894 | ||
1895 | gan = CreateParta(m,0,0,"Glass",wepcolor) | |
1896 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
1897 | 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)) | |
1898 | ||
1899 | ||
1900 | ||
1901 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
1902 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1903 | 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)) | |
1904 | ||
1905 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
1906 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1907 | 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)) | |
1908 | ||
1909 | gane = CreateParta(m3,0,0,"Glass",lunacolor2) | |
1910 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
1911 | 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)) | |
1912 | ||
1913 | star = CreateParta(m,0,0,"Glass",wepcolor) | |
1914 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
1915 | 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)) | |
1916 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
1917 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
1918 | 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)) | |
1919 | --- second ring | |
1920 | ||
1921 | ran = CreateParta(m2,0,0,"Granite",wepcolor) | |
1922 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
1923 | 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)) | |
1924 | ran = CreateParta(m,0,0,"Granite",wepcolor) | |
1925 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
1926 | 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)) | |
1927 | ran = CreateParta(m,0,0,"Granite",wepcolor) | |
1928 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
1929 | 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)) | |
1930 | ||
1931 | gan = CreateParta(m,0,0,"Granite",wepcolor) | |
1932 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
1933 | 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)) | |
1934 | ||
1935 | gan = CreateParta(m,0,0,"Granite",wepcolor) | |
1936 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
1937 | 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)) | |
1938 | ||
1939 | ||
1940 | ||
1941 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
1942 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1943 | 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)) | |
1944 | ||
1945 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
1946 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1947 | 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)) | |
1948 | ||
1949 | gane = CreateParta(m3,0,0,"Granite",lunacolor2) | |
1950 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
1951 | CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1952 | ||
1953 | star = CreateParta(m,0,0,"Granite",wepcolor) | |
1954 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
1955 | 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)) | |
1956 | starl = CreateParta(m3,0,0,"Granite",starcolor) | |
1957 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
1958 | 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)) | |
1959 | ||
1960 | ||
1961 | ||
1962 | ||
1963 | for i, v in pairs(m:GetChildren()) do | |
1964 | if v:IsA("Part") then | |
1965 | v.BrickColor = BrickColor.new("Really black") | |
1966 | v.Material = "Glass" | |
1967 | end | |
1968 | end | |
1969 | for i, v in pairs(m2:GetChildren()) do | |
1970 | if v:IsA("Part") then | |
1971 | v.BrickColor = BrickColor.new("Crimson") | |
1972 | v.Material = "Granite" | |
1973 | end | |
1974 | end | |
1975 | for i, v in pairs(m3:GetChildren()) do | |
1976 | if v:IsA("Part") then | |
1977 | v.BrickColor = BrickColor.new("Really red") | |
1978 | v.Material = "Neon" | |
1979 | end | |
1980 | end | |
1981 | for i, v in pairs(mw2:GetChildren()) do | |
1982 | if v:IsA("Part") then | |
1983 | v.BrickColor = BrickColor.new("Really red") | |
1984 | v.Material = "Neon" | |
1985 | end | |
1986 | end | |
1987 | for i, v in pairs(mw1:GetChildren()) do | |
1988 | if v:IsA("Part") then | |
1989 | v.Transparency = 0 | |
1990 | v.BrickColor = BrickColor.new("Really blue") | |
1991 | v.Material = "Neon" | |
1992 | end | |
1993 | end | |
1994 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
1995 | if v:IsA("Part") then | |
1996 | v.Transparency = 0.8 | |
1997 | v.BrickColor = BrickColor.new("Toothpaste") | |
1998 | v.Material = "Neon" | |
1999 | end | |
2000 | end | |
2001 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
2002 | if v:IsA("Part") then | |
2003 | v.Transparency = 0.8 | |
2004 | v.BrickColor = BrickColor.new("Really blue") | |
2005 | v.Material = "Neon" | |
2006 | end | |
2007 | end | |
2008 | local MAINRUINCOLOR = BrickColor.new("Navy blue") | |
2009 | ||
2010 | --clothes | |
2011 | local Hair = Instance.new("Part", char) | |
2012 | Hair.Name = "Hair" | |
2013 | Hair.CanCollide = false | |
2014 | Hair.BrickColor = BrickColor.new("Institutional white") | |
2015 | Hair.Transparency = 0 | |
2016 | Hair.Material = "Plastic" | |
2017 | Hair.Size = Vector3.new(1, 1, 2) | |
2018 | Hair.TopSurface = Enum.SurfaceType.Smooth | |
2019 | Hair.BottomSurface = Enum.SurfaceType.Smooth | |
2020 | ||
2021 | local Weld = Instance.new("Weld", Hair) | |
2022 | Weld.Part0 = hed | |
2023 | Weld.Part1 = Hair | |
2024 | Weld.C1 = CFrame.new(0, -.6, 0) | |
2025 | Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0) | |
2026 | ||
2027 | local M2 = Instance.new("SpecialMesh") | |
2028 | M2.Parent = Hair | |
2029 | M2.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
2030 | M2.TextureId = "http://www.roblox.com/asset/?id=16627494" | |
2031 | M2.Scale = Vector3.new(1, 1, 1) | |
2032 | ||
2033 | for i,v in pairs(char:children()) do | |
2034 | if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then | |
2035 | v:Remove() | |
2036 | end | |
2037 | end | |
2038 | ||
2039 | ||
2040 | function RemoveOutlines(part) | |
2041 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
2042 | end | |
2043 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
2044 | local Part = Create("Part")({ | |
2045 | Parent = Parent, | |
2046 | Reflectance = Reflectance, | |
2047 | Transparency = Transparency, | |
2048 | CanCollide = false, | |
2049 | Locked = true, | |
2050 | BrickColor = BrickColor.new(tostring(BColor)), | |
2051 | Name = Name, | |
2052 | Size = Size, | |
2053 | Material = Material | |
2054 | }) | |
2055 | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
2056 | RemoveOutlines(Part) | |
2057 | return Part | |
2058 | end | |
2059 | function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
2060 | local Msh = Create(Mesh)({ | |
2061 | Parent = Part, | |
2062 | Offset = OffSet, | |
2063 | Scale = Scale | |
2064 | }) | |
2065 | if Mesh == "SpecialMesh" then | |
2066 | Msh.MeshType = MeshType | |
2067 | Msh.MeshId = MeshId | |
2068 | end | |
2069 | return Msh | |
2070 | end | |
2071 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
2072 | local Weld = Create("Weld")({ | |
2073 | Parent = Parent, | |
2074 | Part0 = Part0, | |
2075 | Part1 = Part1, | |
2076 | C0 = C0, | |
2077 | C1 = C1 | |
2078 | }) | |
2079 | return Weld | |
2080 | end | |
2081 | Player = game.Players.LocalPlayer | |
2082 | Character=Player.Character | |
2083 | PlayerGui=Player.PlayerGui | |
2084 | Backpack=Player.Backpack | |
2085 | Torso=Character.Torso | |
2086 | Head=Character.Head | |
2087 | Humanoid=Character.Humanoid | |
2088 | m=Instance.new('Model',Character) | |
2089 | LeftArm=Character["Left Arm"] | |
2090 | LeftLeg=Character["Left Leg"] | |
2091 | RightArm=Character["Right Arm"] | |
2092 | RightLeg=Character["Right Leg"] | |
2093 | LS=Torso["Left Shoulder"] | |
2094 | LH=Torso["Left Hip"] | |
2095 | RS=Torso["Right Shoulder"] | |
2096 | RH=Torso["Right Hip"] | |
2097 | Face = Head.face | |
2098 | Neck=Torso.Neck | |
2099 | it=Instance.new | |
2100 | attacktype=1 | |
2101 | vt=Vector3.new | |
2102 | cf=CFrame.new | |
2103 | euler=CFrame.fromEulerAnglesXYZ | |
2104 | angles=CFrame.Angles | |
2105 | cloaked=false | |
2106 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
2107 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
2108 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
2109 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
2110 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
2111 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
2112 | RootPart=Character.HumanoidRootPart | |
2113 | RootJoint=RootPart.RootJoint | |
2114 | RootCF=euler(-1.57,0,3.14) | |
2115 | attack = false | |
2116 | attackdebounce = false | |
2117 | deb=false | |
2118 | equipped=true | |
2119 | hand=false | |
2120 | combo=0 | |
2121 | mana=0 | |
2122 | trispeed=.2 | |
2123 | attackmode='none' | |
2124 | local idle=0 | |
2125 | local Anim="Idle" | |
2126 | local Effects={} | |
2127 | local gun=false | |
2128 | local shoot=false | |
2129 | local sine = 0 | |
2130 | local change = 1 | |
2131 | ||
2132 | function RecolorTextAndRename(name,col1,col2,font) | |
2133 | modet.TextStrokeColor3 = col2 | |
2134 | modet.TextColor3 = col1 | |
2135 | modet.Font = font | |
2136 | modet.Text = name | |
2137 | techc.ImageColor3 = col2 | |
2138 | circl.ImageColor3 = col2 | |
2139 | circl2.ImageColor3 = col1 | |
2140 | imgl2.ImageColor3 = col1 | |
2141 | imgl2b.ImageColor3 = col2 | |
2142 | ned.Text = name | |
2143 | ned.TextColor3 = col1 | |
2144 | ned.TextStrokeColor3 = col2 | |
2145 | end | |
2146 | --save shoulders | |
2147 | RSH, LSH=nil, nil | |
2148 | --welds | |
2149 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
2150 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
2151 | LH=Torso["Left Hip"] | |
2152 | RH=Torso["Right Hip"] | |
2153 | TorsoColor=Torso.BrickColor | |
2154 | function NoOutline(Part) | |
2155 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
2156 | end | |
2157 | ch=Character | |
2158 | RSH=ch.Torso["Right Shoulder"] | |
2159 | LSH=ch.Torso["Left Shoulder"] | |
2160 | -- | |
2161 | RSH.Parent=nil | |
2162 | LSH.Parent=nil | |
2163 | -- | |
2164 | RW.Name="Right Shoulder" | |
2165 | RW.Part0=ch.Torso | |
2166 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
2167 | RW.C1=cf(0, 0.5, 0) | |
2168 | RW.Part1=ch["Right Arm"] | |
2169 | RW.Parent=ch.Torso | |
2170 | -- | |
2171 | LW.Name="Left Shoulder" | |
2172 | LW.Part0=ch.Torso | |
2173 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
2174 | LW.C1=cf(0, 0.5, 0) | |
2175 | LW.Part1=ch["Left Arm"] | |
2176 | LW.Parent=ch.Torso | |
2177 | ||
2178 | local Stats=Instance.new("BoolValue") | |
2179 | Stats.Name="Stats" | |
2180 | Stats.Parent=Character | |
2181 | local Atk=Instance.new("NumberValue") | |
2182 | Atk.Name="Damage" | |
2183 | Atk.Parent=Stats | |
2184 | Atk.Value=1 | |
2185 | local Def=Instance.new("NumberValue") | |
2186 | Def.Name="Defense" | |
2187 | Def.Parent=Stats | |
2188 | Def.Value=1 | |
2189 | local Speed=Instance.new("NumberValue") | |
2190 | Speed.Name="Speed" | |
2191 | Speed.Parent=Stats | |
2192 | Speed.Value=1 | |
2193 | local Mvmt=Instance.new("NumberValue") | |
2194 | Mvmt.Name="Movement" | |
2195 | Mvmt.Parent=Stats | |
2196 | Mvmt.Value=1 | |
2197 | ||
2198 | local donum=0 | |
2199 | ||
2200 | ||
2201 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
2202 | local fp=it("Part") | |
2203 | fp.formFactor=formfactor | |
2204 | fp.Parent=parent | |
2205 | fp.Reflectance=reflectance | |
2206 | fp.Transparency=transparency | |
2207 | fp.CanCollide=false | |
2208 | fp.Locked=true | |
2209 | fp.BrickColor=brickcolor | |
2210 | fp.Name=name | |
2211 | fp.Size=size | |
2212 | fp.Position=Torso.Position | |
2213 | NoOutline(fp) | |
2214 | fp.Material="SmoothPlastic" | |
2215 | fp:BreakJoints() | |
2216 | return fp | |
2217 | end | |
2218 | ||
2219 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
2220 | local mesh=it(Mesh) | |
2221 | mesh.Parent=part | |
2222 | if Mesh=="SpecialMesh" then | |
2223 | mesh.MeshType=meshtype | |
2224 | if meshid~="nil" then | |
2225 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
2226 | end | |
2227 | end | |
2228 | mesh.Offset=offset | |
2229 | mesh.Scale=scale | |
2230 | return mesh | |
2231 | end | |
2232 | ||
2233 | function weld(parent,part0,part1,c0) | |
2234 | local weld=it("Weld") | |
2235 | weld.Parent=parent | |
2236 | weld.Part0=part0 | |
2237 | weld.Part1=part1 | |
2238 | weld.C0=c0 | |
2239 | return weld | |
2240 | end | |
2241 | ||
2242 | local Color1=Torso.BrickColor | |
2243 | ||
2244 | local bodvel=Instance.new("BodyVelocity") | |
2245 | local bg=Instance.new("BodyGyro") | |
2246 | ||
2247 | --------- SazEreno's Artificial HB -------------- | |
2248 | ArtificialHB = Instance.new("BindableEvent", script) | |
2249 | ArtificialHB.Name = "ArtificialHB" | |
2250 | ||
2251 | script:WaitForChild("ArtificialHB") | |
2252 | Frame_Speed = 1 / 60 | |
2253 | frame = Frame_Speed | |
2254 | tf = 0 | |
2255 | allowframeloss = false | |
2256 | tossremainder = false | |
2257 | lastframe = tick() | |
2258 | script.ArtificialHB:Fire() | |
2259 | ||
2260 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
2261 | tf = tf + s | |
2262 | if tf >= frame then | |
2263 | if allowframeloss then | |
2264 | script.ArtificialHB:Fire() | |
2265 | lastframe = tick() | |
2266 | else | |
2267 | for i = 1, math.floor(tf / frame) do | |
2268 | script.ArtificialHB:Fire() | |
2269 | end | |
2270 | lastframe = tick() | |
2271 | end | |
2272 | if tossremainder then | |
2273 | tf = 0 | |
2274 | else | |
2275 | tf = tf - frame * math.floor(tf / frame) | |
2276 | end | |
2277 | end | |
2278 | end) | |
2279 | ||
2280 | ------------------ | |
2281 | function swait(num) | |
2282 | function swait(num) | |
2283 | if num==0 or num==nil then | |
2284 | game:service'RunService'.Stepped:wait(0) | |
2285 | else | |
2286 | for i=0,num do | |
2287 | game:service'RunService'.Stepped:wait(0) | |
2288 | end | |
2289 | end | |
2290 | end | |
2291 | end | |
2292 | ||
2293 | -------- RAINBOW LEAVE IT TO ME | |
2294 | local r = 255 | |
2295 | local g = 0 | |
2296 | local b = 0 | |
2297 | coroutine.resume(coroutine.create(function() | |
2298 | while wait() do | |
2299 | for i = 0, 254/5 do | |
2300 | swait() | |
2301 | g = g + 5 | |
2302 | end | |
2303 | for i = 0, 254/5 do | |
2304 | swait() | |
2305 | r = r - 5 | |
2306 | end | |
2307 | for i = 0, 254/5 do | |
2308 | swait() | |
2309 | b = b + 5 | |
2310 | end | |
2311 | for i = 0, 254/5 do | |
2312 | swait() | |
2313 | g = g - 5 | |
2314 | end | |
2315 | for i = 0, 254/5 do | |
2316 | swait() | |
2317 | r = r + 5 | |
2318 | end | |
2319 | for i = 0, 254/5 do | |
2320 | swait() | |
2321 | b = b - 5 | |
2322 | end | |
2323 | end | |
2324 | end)) | |
2325 | ||
2326 | ||
2327 | so = function(id,par,vol,pit) | |
2328 | coroutine.resume(coroutine.create(function() | |
2329 | local sou = Instance.new("Sound",par or workspace) | |
2330 | sou.Volume=vol | |
2331 | sou.Pitch=pit or 1 | |
2332 | sou.SoundId=id | |
2333 | swait() | |
2334 | sou:play() | |
2335 | game:GetService("Debris"):AddItem(sou,6) | |
2336 | end)) | |
2337 | end | |
2338 | ||
2339 | function clerp(a,b,t) | |
2340 | local qa = {QuaternionFromCFrame(a)} | |
2341 | local qb = {QuaternionFromCFrame(b)} | |
2342 | local ax, ay, az = a.x, a.y, a.z | |
2343 | local bx, by, bz = b.x, b.y, b.z | |
2344 | local _t = 1-t | |
2345 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
2346 | end | |
2347 | ||
2348 | function QuaternionFromCFrame(cf) | |
2349 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
2350 | local trace = m00 + m11 + m22 | |
2351 | if trace > 0 then | |
2352 | local s = math.sqrt(1 + trace) | |
2353 | local recip = 0.5/s | |
2354 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
2355 | else | |
2356 | local i = 0 | |
2357 | if m11 > m00 then | |
2358 | i = 1 | |
2359 | end | |
2360 | if m22 > (i == 0 and m00 or m11) then | |
2361 | i = 2 | |
2362 | end | |
2363 | if i == 0 then | |
2364 | local s = math.sqrt(m00-m11-m22+1) | |
2365 | local recip = 0.5/s | |
2366 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
2367 | elseif i == 1 then | |
2368 | local s = math.sqrt(m11-m22-m00+1) | |
2369 | local recip = 0.5/s | |
2370 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
2371 | elseif i == 2 then | |
2372 | local s = math.sqrt(m22-m00-m11+1) | |
2373 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
2374 | end | |
2375 | end | |
2376 | end | |
2377 | ||
2378 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
2379 | local xs, ys, zs = x + x, y + y, z + z | |
2380 | local wx, wy, wz = w*xs, w*ys, w*zs | |
2381 | local xx = x*xs | |
2382 | local xy = x*ys | |
2383 | local xz = x*zs | |
2384 | local yy = y*ys | |
2385 | local yz = y*zs | |
2386 | local zz = z*zs | |
2387 | 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)) | |
2388 | end | |
2389 | ||
2390 | function QuaternionSlerp(a, b, t) | |
2391 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
2392 | local startInterp, finishInterp; | |
2393 | if cosTheta >= 0.0001 then | |
2394 | if (1 - cosTheta) > 0.0001 then | |
2395 | local theta = math.acos(cosTheta) | |
2396 | local invSinTheta = 1/math.sin(theta) | |
2397 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
2398 | finishInterp = math.sin(t*theta)*invSinTheta | |
2399 | else | |
2400 | startInterp = 1-t | |
2401 | finishInterp = t | |
2402 | end | |
2403 | else | |
2404 | if (1+cosTheta) > 0.0001 then | |
2405 | local theta = math.acos(-cosTheta) | |
2406 | local invSinTheta = 1/math.sin(theta) | |
2407 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
2408 | finishInterp = math.sin(t*theta)*invSinTheta | |
2409 | else | |
2410 | startInterp = t-1 | |
2411 | finishInterp = t | |
2412 | end | |
2413 | end | |
2414 | 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 | |
2415 | end | |
2416 | ||
2417 | local function CFrameFromTopBack(at, top, back) | |
2418 | local right = top:Cross(back) | |
2419 | return CFrame.new(at.x, at.y, at.z, | |
2420 | right.x, top.x, back.x, | |
2421 | right.y, top.y, back.y, | |
2422 | right.z, top.z, back.z) | |
2423 | end | |
2424 | ||
2425 | function Triangle(a, b, c) | |
2426 | local edg1 = (c-a):Dot((b-a).unit) | |
2427 | local edg2 = (a-b):Dot((c-b).unit) | |
2428 | local edg3 = (b-c):Dot((a-c).unit) | |
2429 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
2430 | a, b, c = a, b, c | |
2431 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
2432 | a, b, c = b, c, a | |
2433 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
2434 | a, b, c = c, a, b | |
2435 | else | |
2436 | assert(false, "unreachable") | |
2437 | end | |
2438 | ||
2439 | local len1 = (c-a):Dot((b-a).unit) | |
2440 | local len2 = (b-a).magnitude - len1 | |
2441 | local width = (a + (b-a).unit*len1 - c).magnitude | |
2442 | ||
2443 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
2444 | ||
2445 | local list = {} | |
2446 | ||
2447 | if len1 > 0.01 then | |
2448 | local w1 = Instance.new('WedgePart', m) | |
2449 | game:GetService("Debris"):AddItem(w1,5) | |
2450 | w1.Material = "SmoothPlastic" | |
2451 | w1.FormFactor = 'Custom' | |
2452 | w1.BrickColor = BrickColor.new("Really red") | |
2453 | w1.Transparency = 0 | |
2454 | w1.Reflectance = 0 | |
2455 | w1.Material = "SmoothPlastic" | |
2456 | w1.CanCollide = false | |
2457 | local l1 = Instance.new("PointLight",w1) | |
2458 | l1.Color = Color3.new(170,0,0) | |
2459 | NoOutline(w1) | |
2460 | local sz = Vector3.new(0.2, width, len1) | |
2461 | w1.Size = sz | |
2462 | local sp = Instance.new("SpecialMesh",w1) | |
2463 | sp.MeshType = "Wedge" | |
2464 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
2465 | w1:BreakJoints() | |
2466 | w1.Anchored = true | |
2467 | w1.Parent = workspace | |
2468 | w1.Transparency = 0.7 | |
2469 | table.insert(Effects,{w1,"Disappear",.01}) | |
2470 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
2471 | table.insert(list,w1) | |
2472 | end | |
2473 | ||
2474 | if len2 > 0.01 then | |
2475 | local w2 = Instance.new('WedgePart', m) | |
2476 | game:GetService("Debris"):AddItem(w2,5) | |
2477 | w2.Material = "SmoothPlastic" | |
2478 | w2.FormFactor = 'Custom' | |
2479 | w2.BrickColor = BrickColor.new("Really red") | |
2480 | w2.Transparency = 0 | |
2481 | w2.Reflectance = 0 | |
2482 | w2.Material = "SmoothPlastic" | |
2483 | w2.CanCollide = false | |
2484 | local l2 = Instance.new("PointLight",w2) | |
2485 | l2.Color = Color3.new(170,0,0) | |
2486 | NoOutline(w2) | |
2487 | local sz = Vector3.new(0.2, width, len2) | |
2488 | w2.Size = sz | |
2489 | local sp = Instance.new("SpecialMesh",w2) | |
2490 | sp.MeshType = "Wedge" | |
2491 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
2492 | w2:BreakJoints() | |
2493 | w2.Anchored = true | |
2494 | w2.Parent = workspace | |
2495 | w2.Transparency = 0.7 | |
2496 | table.insert(Effects,{w2,"Disappear",.01}) | |
2497 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
2498 | table.insert(list,w2) | |
2499 | end | |
2500 | return unpack(list) | |
2501 | end | |
2502 | ||
2503 | ||
2504 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
2505 | if hit.Parent == nil then | |
2506 | return | |
2507 | end | |
2508 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
2509 | for _, v in pairs(hit.Parent:children()) do | |
2510 | if v:IsA("Humanoid") then | |
2511 | h = v | |
2512 | end | |
2513 | end | |
2514 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then | |
2515 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
2516 | return | |
2517 | end | |
2518 | local c = Create("ObjectValue")({ | |
2519 | Name = "creator", | |
2520 | Value = game:GetService("Players").LocalPlayer, | |
2521 | Parent = h | |
2522 | }) | |
2523 | game:GetService("Debris"):AddItem(c, 0.5) | |
2524 | if HitSound ~= nil and HitPitch ~= nil then | |
2525 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
2526 | end | |
2527 | local Damage = math.random(minim, maxim) | |
2528 | local blocked = false | |
2529 | local block = hit.Parent:findFirstChild("Block") | |
2530 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
2531 | blocked = true | |
2532 | block.Value = block.Value - 1 | |
2533 | print(block.Value) | |
2534 | end | |
2535 | if blocked == false then | |
2536 | HitHealth = h.Health | |
2537 | h.MaxHealth = 100 | |
2538 | h.Health = h.Health - Damage | |
2539 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
2540 | print("gained kill") | |
2541 | dmg(h.Parent) | |
2542 | end | |
2543 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
2544 | else | |
2545 | h.Health = h.Health - Damage / 2 | |
2546 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
2547 | end | |
2548 | if Type == "Knockdown" then | |
2549 | local hum = hit.Parent.Humanoid | |
2550 | hum.PlatformStand = true | |
2551 | coroutine.resume(coroutine.create(function(HHumanoid) | |
2552 | swait(1) | |
2553 | HHumanoid.PlatformStand = false | |
2554 | end), hum) | |
2555 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
2556 | local bodvol = Create("BodyVelocity")({ | |
2557 | velocity = angle * knockback, | |
2558 | P = 5000, | |
2559 | maxForce = Vector3.new(8000, 8000, 8000), | |
2560 | Parent = hit | |
2561 | }) | |
2562 | local rl = Create("BodyAngularVelocity")({ | |
2563 | P = 3000, | |
2564 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
2565 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
2566 | Parent = hit | |
2567 | }) | |
2568 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
2569 | game:GetService("Debris"):AddItem(rl, 0.5) | |
2570 | elseif Type == "Normal" then | |
2571 | local vp = Create("BodyVelocity")({ | |
2572 | P = 500, | |
2573 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
2574 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
2575 | }) | |
2576 | if knockback > 0 then | |
2577 | vp.Parent = hit.Parent.Head | |
2578 | end | |
2579 | game:GetService("Debris"):AddItem(vp, 0.5) | |
2580 | elseif Type == "Up" then | |
2581 | local bodyVelocity = Create("BodyVelocity")({ | |
2582 | velocity = Vector3.new(0, 20, 0), | |
2583 | P = 5000, | |
2584 | maxForce = Vector3.new(8000, 8000, 8000), | |
2585 | Parent = hit | |
2586 | }) | |
2587 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
2588 | local bodyVelocity = Create("BodyVelocity")({ | |
2589 | velocity = Vector3.new(0, 20, 0), | |
2590 | P = 5000, | |
2591 | maxForce = Vector3.new(8000, 8000, 8000), | |
2592 | Parent = hit | |
2593 | }) | |
2594 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
2595 | elseif Type == "Leech" then | |
2596 | local hum = hit.Parent.Humanoid | |
2597 | if hum ~= nil then | |
2598 | for i = 0, 2 do | |
2599 | 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) | |
2600 | end | |
2601 | Humanoid.Health = Humanoid.Health + 10 | |
2602 | end | |
2603 | elseif Type == "UpKnock" then | |
2604 | local hum = hit.Parent.Humanoid | |
2605 | hum.PlatformStand = true | |
2606 | if hum ~= nil then | |
2607 | hitr = true | |
2608 | end | |
2609 | coroutine.resume(coroutine.create(function(HHumanoid) | |
2610 | swait(5) | |
2611 | HHumanoid.PlatformStand = false | |
2612 | hitr = false | |
2613 | end), hum) | |
2614 | local bodyVelocity = Create("BodyVelocity")({ | |
2615 | velocity = Vector3.new(0, 20, 0), | |
2616 | P = 5000, | |
2617 | maxForce = Vector3.new(8000, 8000, 8000), | |
2618 | Parent = hit | |
2619 | }) | |
2620 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
2621 | local bodyVelocity = Create("BodyVelocity")({ | |
2622 | velocity = Vector3.new(0, 20, 0), | |
2623 | P = 5000, | |
2624 | maxForce = Vector3.new(8000, 8000, 8000), | |
2625 | Parent = hit | |
2626 | }) | |
2627 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
2628 | elseif Type == "Snare" then | |
2629 | local bp = Create("BodyPosition")({ | |
2630 | P = 2000, | |
2631 | D = 100, | |
2632 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
2633 | position = hit.Parent.Torso.Position, | |
2634 | Parent = hit.Parent.Torso | |
2635 | }) | |
2636 | game:GetService("Debris"):AddItem(bp, 1) | |
2637 | elseif Type == "Slashnare" then | |
2638 | 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) | |
2639 | for i = 1, math.random(4, 5) do | |
2640 | 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) | |
2641 | end | |
2642 | local bp = Create("BodyPosition")({ | |
2643 | P = 2000, | |
2644 | D = 100, | |
2645 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
2646 | position = hit.Parent.Torso.Position, | |
2647 | Parent = hit.Parent.Torso | |
2648 | }) | |
2649 | game:GetService("Debris"):AddItem(bp, 1) | |
2650 | elseif Type == "Spike" then | |
2651 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
2652 | local bp = Create("BodyPosition")({ | |
2653 | P = 2000, | |
2654 | D = 100, | |
2655 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
2656 | position = hit.Parent.Torso.Position, | |
2657 | Parent = hit.Parent.Torso | |
2658 | }) | |
2659 | game:GetService("Debris"):AddItem(bp, 1) | |
2660 | elseif Type == "Freeze" then | |
2661 | local BodPos = Create("BodyPosition")({ | |
2662 | P = 50000, | |
2663 | D = 1000, | |
2664 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
2665 | position = hit.Parent.Torso.Position, | |
2666 | Parent = hit.Parent.Torso | |
2667 | }) | |
2668 | local BodGy = Create("BodyGyro")({ | |
2669 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
2670 | P = 20000, | |
2671 | Parent = hit.Parent.Torso, | |
2672 | cframe = hit.Parent.Torso.CFrame | |
2673 | }) | |
2674 | hit.Parent.Torso.Anchored = true | |
2675 | coroutine.resume(coroutine.create(function(Part) | |
2676 | swait(1.5) | |
2677 | Part.Anchored = false | |
2678 | end), hit.Parent.Torso) | |
2679 | game:GetService("Debris"):AddItem(BodPos, 3) | |
2680 | game:GetService("Debris"):AddItem(BodGy, 3) | |
2681 | end | |
2682 | local debounce = Create("BoolValue")({ | |
2683 | Name = "DebounceHit", | |
2684 | Parent = hit.Parent, | |
2685 | Value = true | |
2686 | }) | |
2687 | game:GetService("Debris"):AddItem(debounce, Delay) | |
2688 | c = Instance.new("ObjectValue") | |
2689 | c.Name = "creator" | |
2690 | c.Value = Player | |
2691 | c.Parent = h | |
2692 | game:GetService("Debris"):AddItem(c, 0.5) | |
2693 | end | |
2694 | end | |
2695 | function ShowDamage(Pos, Text, Time, Color) | |
2696 | local Rate = 0.03333333333333333 | |
2697 | local Pos = Pos or Vector3.new(0, 0, 0) | |
2698 | local Text = Text or "" | |
2699 | local Time = Time or 2 | |
2700 | local Color = Color or Color3.new(1, 0, 1) | |
2701 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
2702 | EffectPart.Anchored = true | |
2703 | local BillboardGui = Create("BillboardGui")({ | |
2704 | Size = UDim2.new(3, 0, 3, 0), | |
2705 | Adornee = EffectPart, | |
2706 | Parent = EffectPart | |
2707 | }) | |
2708 | local TextLabel = Create("TextLabel")({ | |
2709 | BackgroundTransparency = 1, | |
2710 | Size = UDim2.new(1, 0, 1, 0), | |
2711 | Text = Text, | |
2712 | TextColor3 = Color, | |
2713 | TextScaled = true, | |
2714 | Font = Enum.Font.ArialBold, | |
2715 | Parent = BillboardGui | |
2716 | }) | |
2717 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
2718 | EffectPart.Parent = game:GetService("Workspace") | |
2719 | delay(0, function() | |
2720 | local Frames = Time / Rate | |
2721 | for Frame = 1, Frames do | |
2722 | wait(Rate) | |
2723 | local Percent = Frame / Frames | |
2724 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
2725 | TextLabel.TextTransparency = Percent | |
2726 | end | |
2727 | if EffectPart and EffectPart.Parent then | |
2728 | EffectPart:Destroy() | |
2729 | end | |
2730 | end) | |
2731 | end | |
2732 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
2733 | for _, c in pairs(workspace:children()) do | |
2734 | local hum = c:findFirstChildOfClass("Humanoid") | |
2735 | if hum ~= nil then | |
2736 | local head = c:findFirstChild("Head") | |
2737 | if head ~= nil then | |
2738 | local targ = head.Position - Part.Position | |
2739 | local mag = targ.magnitude | |
2740 | if magni >= mag and c.Name ~= Player.Name then | |
2741 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
2742 | end | |
2743 | end | |
2744 | end | |
2745 | end | |
2746 | end | |
2747 | ||
2748 | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) | |
2749 | for _, c in pairs(workspace:children()) do | |
2750 | local hum = c:findFirstChild("Humanoid") | |
2751 | if hum ~= nil then | |
2752 | local head = c:findFirstChild("Torso") | |
2753 | if head ~= nil then | |
2754 | local targ = head.Position - Part.Position | |
2755 | local mag = targ.magnitude | |
2756 | if magni >= mag and c.Name ~= Player.Name then | |
2757 | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05) | |
2758 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
2759 | end | |
2760 | end | |
2761 | end | |
2762 | end | |
2763 | end | |
2764 | ||
2765 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
2766 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
2767 | end | |
2768 | ||
2769 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
2770 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2771 | prt.Anchored=true | |
2772 | prt.CFrame=cframe | |
2773 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) | |
2774 | --http://www.roblox.com/asset/?id=4770560 | |
2775 | game:GetService("Debris"):AddItem(prt,2) | |
2776 | CF=prt.CFrame | |
2777 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
2778 | for i=0,1,0.2 do | |
2779 | wait() | |
2780 | Part.CFrame=CF*cf(0,0,-0.4) | |
2781 | end | |
2782 | for i=0,1,delay do | |
2783 | wait() | |
2784 | --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) | |
2785 | Mesh.Scale=Mesh.Scale | |
2786 | end | |
2787 | for i=0,1,0.1 do | |
2788 | wait() | |
2789 | Part.Transparency=i | |
2790 | end | |
2791 | Part.Parent=nil | |
2792 | end),prt,msh,CF) | |
2793 | end | |
2794 | ||
2795 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2796 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2797 | prt.Anchored=true | |
2798 | prt.Material = "Neon" | |
2799 | prt.CFrame=cframe | |
2800 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2801 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2802 | game:GetService("Debris"):AddItem(prt,5) | |
2803 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2804 | for i=0,1,delay do | |
2805 | swait() | |
2806 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2807 | Part.Transparency=i | |
2808 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2809 | end | |
2810 | Part.Parent=nil | |
2811 | end),prt,msh) | |
2812 | end | |
2813 | ||
2814 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
2815 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2816 | prt.Anchored=true | |
2817 | prt.Material = "Neon" | |
2818 | prt.CFrame=cframe | |
2819 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2820 | game:GetService("Debris"):AddItem(prt,5) | |
2821 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2822 | local rtype = rottype | |
2823 | for i=0,1,delay do | |
2824 | swait() | |
2825 | if rtype == 1 then | |
2826 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2827 | elseif rtype == 2 then | |
2828 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2829 | end | |
2830 | Part.Transparency=i | |
2831 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2832 | end | |
2833 | Part.Parent=nil | |
2834 | end),prt,msh) | |
2835 | end | |
2836 | ||
2837 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2838 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2839 | prt.Anchored=true | |
2840 | prt.CFrame=cframe | |
2841 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2842 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2843 | game:GetService("Debris"):AddItem(prt,5) | |
2844 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2845 | for i=0,1,delay do | |
2846 | wait() | |
2847 | Part.Transparency=i | |
2848 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2849 | end | |
2850 | Part.Parent=nil | |
2851 | end),prt,msh) | |
2852 | end | |
2853 | ||
2854 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
2855 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2856 | prt.Anchored=true | |
2857 | prt.Material = "Neon" | |
2858 | prt.CFrame=cframe | |
2859 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2860 | game:GetService("Debris"):AddItem(prt,5) | |
2861 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2862 | local rtype = rottype | |
2863 | for i=0,1,delay do | |
2864 | swait() | |
2865 | if rtype == 1 then | |
2866 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2867 | elseif rtype == 2 then | |
2868 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2869 | end | |
2870 | Part.Transparency=i | |
2871 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2872 | end | |
2873 | Part.Parent=nil | |
2874 | end),prt,msh) | |
2875 | end | |
2876 | local refec = Instance.new("ParticleEmitter",handlex) | |
2877 | refec.Texture = "rbxassetid://249270319" | |
2878 | refec.LightEmission = 0.95 | |
2879 | refec.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
2880 | refec.Rate = 50 | |
2881 | refec.Lifetime = NumberRange.new(0.5) | |
2882 | refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)}) | |
2883 | refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2884 | refec.Speed = NumberRange.new(0,2) | |
2885 | refec.Drag = 5 | |
2886 | refec.LockedToPart = true | |
2887 | refec.Rotation = NumberRange.new(-500,500) | |
2888 | refec.VelocitySpread = 9000 | |
2889 | refec.RotSpeed = NumberRange.new(-500,500) | |
2890 | ||
2891 | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
2892 | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2893 | prt.Anchored=true | |
2894 | prt.Material = "Neon" | |
2895 | prt.CFrame=cframe | |
2896 | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
2897 | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
2898 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) | |
2899 | game:GetService("Debris"):AddItem(prt,5) | |
2900 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2901 | local rtype = rottype | |
2902 | for i=0,1,delay do | |
2903 | swait() | |
2904 | if rtype == 1 then | |
2905 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2906 | elseif rtype == 2 then | |
2907 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2908 | end | |
2909 | dec.Transparency=i | |
2910 | dec2.Transparency=i | |
2911 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
2912 | end | |
2913 | Part.Parent=nil | |
2914 | end),prt,msh) | |
2915 | end | |
2916 | ||
2917 | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
2918 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2919 | prt.Anchored=true | |
2920 | prt.Material = "Neon" | |
2921 | prt.CFrame=cframe | |
2922 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) | |
2923 | game:GetService("Debris"):AddItem(prt,5) | |
2924 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2925 | local rtype = rottype | |
2926 | for i=0,1,delay do | |
2927 | swait() | |
2928 | if rtype == 1 then | |
2929 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2930 | elseif rtype == 2 then | |
2931 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2932 | end | |
2933 | prt.Transparency=i | |
2934 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
2935 | end | |
2936 | Part.Parent=nil | |
2937 | end),prt,msh) | |
2938 | end | |
2939 | ||
2940 | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) | |
2941 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2942 | prt.Anchored=true | |
2943 | prt.Material = "Neon" | |
2944 | prt.CFrame=cframe | |
2945 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1)) | |
2946 | game:GetService("Debris"):AddItem(prt,5) | |
2947 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2948 | local rtype = rottype | |
2949 | for i=0,1,delay do | |
2950 | swait() | |
2951 | if rtype == 1 then | |
2952 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) | |
2953 | elseif rtype == 2 then | |
2954 | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) | |
2955 | end | |
2956 | prt.Transparency=i | |
2957 | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) | |
2958 | end | |
2959 | Part.Parent=nil | |
2960 | end),prt,msh) | |
2961 | end | |
2962 | ||
2963 | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype) | |
2964 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2965 | prt.Anchored=true | |
2966 | prt.Material = "Neon" | |
2967 | prt.CFrame=cframe | |
2968 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2969 | game:GetService("Debris"):AddItem(prt,5) | |
2970 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2971 | local rtype = rottype | |
2972 | for i=0,1,delay do | |
2973 | swait() | |
2974 | if rtype == 1 then | |
2975 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2976 | elseif rtype == 2 then | |
2977 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2978 | end | |
2979 | prt.Transparency=i | |
2980 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
2981 | end | |
2982 | Part.Parent=nil | |
2983 | end),prt,msh) | |
2984 | end | |
2985 | ||
2986 | function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
2987 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2988 | prt.Anchored=true | |
2989 | prt.Material = "Neon" | |
2990 | prt.CFrame=cframe | |
2991 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2992 | game:GetService("Debris"):AddItem(prt,5) | |
2993 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2994 | local rtype = rottype | |
2995 | for i=0,1,delay do | |
2996 | swait() | |
2997 | if rtype == 1 then | |
2998 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2999 | elseif rtype == 2 then | |
3000 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
3001 | end | |
3002 | prt.Transparency=i | |
3003 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
3004 | end | |
3005 | Part.Parent=nil | |
3006 | end),prt,msh) | |
3007 | end | |
3008 | ||
3009 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
3010 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
3011 | prt.Anchored=false | |
3012 | prt.CFrame=cframe | |
3013 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
3014 | local wld=weld(prt,prt,Parent,cframe) | |
3015 | game:GetService("Debris"):AddItem(prt,5) | |
3016 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
3017 | for i=0,1,delay do | |
3018 | wait() | |
3019 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
3020 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
3021 | Part.Transparency=i | |
3022 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
3023 | end | |
3024 | Part.Parent=nil | |
3025 | end),prt,msh,wld) | |
3026 | end | |
3027 | ||
3028 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
3029 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
3030 | prt.Anchored=false | |
3031 | prt.CFrame=cframe | |
3032 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
3033 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
3034 | game:GetService("Debris"):AddItem(prt,5) | |
3035 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
3036 | for i=0,1,delay do | |
3037 | wait() | |
3038 | Weld.C0=euler(i*20,0,0) | |
3039 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
3040 | Part.Transparency=i | |
3041 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
3042 | end | |
3043 | Part.Parent=nil | |
3044 | end),prt,msh,wld) | |
3045 | end | |
3046 | ||
3047 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
3048 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
3049 | prt.Anchored=true | |
3050 | prt.CFrame=cframe | |
3051 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
3052 | game:GetService("Debris"):AddItem(prt,2) | |
3053 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
3054 | for i=0,1,delay do | |
3055 | wait() | |
3056 | Part.CFrame=Part.CFrame | |
3057 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
3058 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
3059 | prt2.Anchored=true | |
3060 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
3061 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) | |
3062 | game:GetService("Debris"):AddItem(prt2,2) | |
3063 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
3064 | for i=0,1,0.1 do | |
3065 | wait() | |
3066 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
3067 | end | |
3068 | Part.Parent=nil | |
3069 | end),prt2,msh2) | |
3070 | end | |
3071 | for i=0,1,delay*2 do | |
3072 | wait() | |
3073 | Part.CFrame=Part.CFrame | |
3074 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
3075 | end | |
3076 | Part.Parent=nil | |
3077 | end),prt,msh) | |
3078 | end | |
3079 | ||
3080 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
3081 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
3082 | prt.Anchored=true | |
3083 | prt.CFrame=cframe | |
3084 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
3085 | game:GetService("Debris"):AddItem(prt,2) | |
3086 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
3087 | for i=0,1,delay do | |
3088 | wait() | |
3089 | Part.CFrame=Part.CFrame | |
3090 | Part.Transparency=i | |
3091 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
3092 | end | |
3093 | Part.Parent=nil | |
3094 | end),prt,msh) | |
3095 | end | |
3096 | ||
3097 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
3098 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
3099 | prt.Anchored=true | |
3100 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
3101 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
3102 | game:GetService("Debris"):AddItem(prt,2) | |
3103 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
3104 | CF=Part.CFrame | |
3105 | Numbb=0 | |
3106 | randnumb=math.random()/10 | |
3107 | rand1=math.random()/10 | |
3108 | for i=0,1,rand1 do | |
3109 | wait() | |
3110 | CF=CF*cf(0,math.random()/2,0) | |
3111 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
3112 | Part.CFrame=CF*euler(Numbb,0,0) | |
3113 | Part.Transparency=i | |
3114 | Numbb=Numbb+randnumb | |
3115 | end | |
3116 | Part.Parent=nil | |
3117 | end),prt,CF,Numbb,randnumb) | |
3118 | end | |
3119 | ||
3120 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
3121 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
3122 | prt.Anchored=true | |
3123 | prt.CFrame=cframe | |
3124 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
3125 | game:GetService("Debris"):AddItem(prt,5) | |
3126 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
3127 | for i=0,1,delay do | |
3128 | wait() | |
3129 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
3130 | Part.Transparency=i | |
3131 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
3132 | end | |
3133 | Part.Parent=nil | |
3134 | end),prt,msh) | |
3135 | end | |
3136 | ||
3137 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
3138 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
3139 | prt.Anchored=true | |
3140 | prt.CFrame=cframe | |
3141 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) | |
3142 | game:GetService("Debris"):AddItem(prt,2) | |
3143 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
3144 | for i=0,1,delay do | |
3145 | wait() | |
3146 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
3147 | Part.Transparency=i | |
3148 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
3149 | end | |
3150 | Part.Parent=nil | |
3151 | end),prt,msh) | |
3152 | end | |
3153 | ||
3154 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
3155 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
3156 | prt.Anchored=true | |
3157 | prt.CFrame=cframe*cf(x,y,z) | |
3158 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) | |
3159 | game:GetService("Debris"):AddItem(prt,5) | |
3160 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
3161 | local num=math.random() | |
3162 | local num2=math.random(-3,2)+math.random() | |
3163 | local numm=0 | |
3164 | for i=0,1,delay*2 do | |
3165 | swait() | |
3166 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
3167 | Part.Transparency=i | |
3168 | numm=numm+0.01 | |
3169 | end | |
3170 | Part.Parent=nil | |
3171 | Mesh.Parent=nil | |
3172 | end),prt,msh,x,y,z) | |
3173 | end | |
3174 | ||
3175 | function dmgstart(dmg,what) | |
3176 | hitcon = what.Touched:connect(function(hit) | |
3177 | local hum = hit.Parent:FindFirstChild("Humanoid") | |
3178 | if hum and not hum:IsDescendantOf(Character) then | |
3179 | hum:TakeDamage(dmg) | |
3180 | end | |
3181 | end) | |
3182 | end | |
3183 | ||
3184 | function dmgstop() | |
3185 | hitcon:disconnect() | |
3186 | end | |
3187 | ||
3188 | function Cloak() | |
3189 | Face.Parent=nil | |
3190 | cloaked=true | |
3191 | for _,v in pairs(Torso.Parent:children()) do | |
3192 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
3193 | coroutine.resume(coroutine.create(function() | |
3194 | for i=0,1,0.2 do | |
3195 | wait() | |
3196 | v.Transparency=i | |
3197 | end | |
3198 | v.Transparency=1 | |
3199 | end)) | |
3200 | end | |
3201 | if v.className=="Hat" then | |
3202 | hatp=v.Handle | |
3203 | coroutine.resume(coroutine.create(function(derp) | |
3204 | for i=0,1,0.2 do | |
3205 | wait() | |
3206 | derp.Transparency=i | |
3207 | end | |
3208 | derp.Transparency=1 | |
3209 | end),hatp) | |
3210 | end | |
3211 | end | |
3212 | for _,v in pairs(m:children()) do | |
3213 | if v.className=="Part" then | |
3214 | coroutine.resume(coroutine.create(function() | |
3215 | for i=0,1,0.2 do | |
3216 | wait() | |
3217 | v.Transparency=i | |
3218 | end | |
3219 | v.Transparency=1 | |
3220 | end)) | |
3221 | end | |
3222 | end | |
3223 | end | |
3224 | ||
3225 | function UnCloak() | |
3226 | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) | |
3227 | Face.Parent=Head | |
3228 | cloaked=false | |
3229 | for _,v in pairs(Torso.Parent:children()) do | |
3230 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
3231 | coroutine.resume(coroutine.create(function() | |
3232 | for i=0,1,0.1 do | |
3233 | wait() | |
3234 | v.Transparency=v.Transparency-0.1 | |
3235 | end | |
3236 | v.Transparency=0 | |
3237 | end)) | |
3238 | end | |
3239 | if v.className=="Hat" then | |
3240 | hatp=v.Handle | |
3241 | coroutine.resume(coroutine.create(function(derp) | |
3242 | for i=0,1,0.1 do | |
3243 | wait() | |
3244 | derp.Transparency=derp.Transparency-0.1 | |
3245 | end | |
3246 | derp.Transparency=0 | |
3247 | end),hatp) | |
3248 | end | |
3249 | end | |
3250 | for _,v in pairs(m:children()) do | |
3251 | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then | |
3252 | coroutine.resume(coroutine.create(function() | |
3253 | for i=0,1,0.1 do | |
3254 | wait() | |
3255 | v.Transparency=v.Transparency-0.1 | |
3256 | end | |
3257 | v.Transparency=0 | |
3258 | end)) | |
3259 | v.Transparency=0 | |
3260 | end | |
3261 | end | |
3262 | end | |
3263 | ||
3264 | local origcolor = BrickColor.new("Pastel light blue") | |
3265 | ---- This section of explosions. | |
3266 | ||
3267 | ---- | |
3268 | ||
3269 | ||
3270 | function ring(type,pos,scale,value) | |
3271 | local type = type | |
3272 | local rng = Instance.new("Part", char) | |
3273 | rng.Anchored = true | |
3274 | rng.BrickColor = origcolor | |
3275 | rng.CanCollide = false | |
3276 | rng.FormFactor = 3 | |
3277 | rng.Name = "Ring" | |
3278 | rng.Size = Vector3.new(1, 1, 1) | |
3279 | rng.Transparency = 0 | |
3280 | rng.TopSurface = 0 | |
3281 | rng.BottomSurface = 0 | |
3282 | rng.CFrame = pos | |
3283 | local rngm = Instance.new("SpecialMesh", rng) | |
3284 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3285 | rngm.Scale = scale | |
3286 | local scaler2 = 1 | |
3287 | if type == "Add" then | |
3288 | scaler2 = 1*value | |
3289 | elseif type == "Divide" then | |
3290 | scaler2 = 1/value | |
3291 | end | |
3292 | coroutine.resume(coroutine.create(function() | |
3293 | for i = 0,10,0.1 do | |
3294 | swait() | |
3295 | if type == "Add" then | |
3296 | scaler2 = scaler2 - 0.01*value | |
3297 | elseif type == "Divide" then | |
3298 | scaler2 = scaler2 - 0.01/value | |
3299 | end | |
3300 | rng.Transparency = rng.Transparency + 0.01 | |
3301 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
3302 | end | |
3303 | rng:Destroy() | |
3304 | end)) | |
3305 | end | |
3306 | ||
3307 | ||
3308 | function wave(type,pos,scale,value) | |
3309 | local type = type | |
3310 | local rng = Instance.new("Part", char) | |
3311 | rng.Anchored = true | |
3312 | rng.BrickColor = origcolor | |
3313 | rng.CanCollide = false | |
3314 | rng.FormFactor = 3 | |
3315 | rng.Name = "Ring" | |
3316 | rng.Size = Vector3.new(1, 1, 1) | |
3317 | rng.Transparency = 0 | |
3318 | rng.TopSurface = 0 | |
3319 | rng.BottomSurface = 0 | |
3320 | rng.CFrame = pos | |
3321 | local rngm = Instance.new("SpecialMesh", rng) | |
3322 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
3323 | rngm.Scale = scale | |
3324 | local scaler2 = 1 | |
3325 | if type == "Add" then | |
3326 | scaler2 = 1*value | |
3327 | elseif type == "Divide" then | |
3328 | scaler2 = 1/value | |
3329 | end | |
3330 | coroutine.resume(coroutine.create(function() | |
3331 | for i = 0,10,0.1 do | |
3332 | swait() | |
3333 | if type == "Add" then | |
3334 | scaler2 = scaler2 - 0.01*value | |
3335 | elseif type == "Divide" then | |
3336 | scaler2 = scaler2 - 0.01/value | |
3337 | end | |
3338 | rng.Transparency = rng.Transparency + 0.01 | |
3339 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
3340 | end | |
3341 | rng:Destroy() | |
3342 | end)) | |
3343 | end | |
3344 | ||
3345 | function wind(type,pos,scale,value,speed) | |
3346 | local type = type | |
3347 | local rng = Instance.new("Part", char) | |
3348 | rng.Anchored = true | |
3349 | rng.BrickColor = origcolor | |
3350 | rng.CanCollide = false | |
3351 | rng.FormFactor = 3 | |
3352 | rng.Name = "Ring" | |
3353 | rng.Size = Vector3.new(1, 1, 1) | |
3354 | rng.Transparency = 0 | |
3355 | rng.TopSurface = 0 | |
3356 | rng.BottomSurface = 0 | |
3357 | rng.CFrame = pos | |
3358 | local rngm = Instance.new("SpecialMesh", rng) | |
3359 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
3360 | rngm.Scale = scale | |
3361 | local scaler2 = 1 | |
3362 | if type == "Add" then | |
3363 | scaler2 = 1*value | |
3364 | elseif type == "Divide" then | |
3365 | scaler2 = 1/value | |
3366 | end | |
3367 | coroutine.resume(coroutine.create(function() | |
3368 | for i = 0,10,0.1 do | |
3369 | swait() | |
3370 | if type == "Add" then | |
3371 | scaler2 = scaler2 - 0.01*value | |
3372 | elseif type == "Divide" then | |
3373 | scaler2 = scaler2 - 0.01/value | |
3374 | end | |
3375 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
3376 | rng.Transparency = rng.Transparency + 0.01 | |
3377 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
3378 | end | |
3379 | rng:Destroy() | |
3380 | end)) | |
3381 | end | |
3382 | ||
3383 | function groundwind(type,pos,scale,value,speed) | |
3384 | local type = type | |
3385 | local rng = Instance.new("Part", char) | |
3386 | rng.Anchored = true | |
3387 | rng.BrickColor = origcolor | |
3388 | rng.CanCollide = false | |
3389 | rng.FormFactor = 3 | |
3390 | rng.Name = "Ring" | |
3391 | rng.Size = Vector3.new(1, 1, 1) | |
3392 | rng.Transparency = 0 | |
3393 | rng.TopSurface = 0 | |
3394 | rng.BottomSurface = 0 | |
3395 | rng.CFrame = pos | |
3396 | local rngm = Instance.new("SpecialMesh", rng) | |
3397 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
3398 | rngm.Scale = scale | |
3399 | local scaler2 = 1 | |
3400 | if type == "Add" then | |
3401 | scaler2 = 1*value | |
3402 | elseif type == "Divide" then | |
3403 | scaler2 = 1/value | |
3404 | end | |
3405 | coroutine.resume(coroutine.create(function() | |
3406 | for i = 0,10,0.1 do | |
3407 | swait() | |
3408 | if type == "Add" then | |
3409 | scaler2 = scaler2 - 0.01*value | |
3410 | elseif type == "Divide" then | |
3411 | scaler2 = scaler2 - 0.01/value | |
3412 | end | |
3413 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
3414 | rng.Transparency = rng.Transparency + 0.01 | |
3415 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2) | |
3416 | end | |
3417 | rng:Destroy() | |
3418 | end)) | |
3419 | end | |
3420 | ||
3421 | function CameraManager() | |
3422 | if TwoD and not CamInterrupt then | |
3423 | if Humanoid.Health > 0 then | |
3424 | Camera.CameraSubject = Humanoid | |
3425 | Camera.CameraType = "Scriptable" | |
3426 | Humanoid.AutoRotate = false | |
3427 | if Booleans.GyroUse then | |
3428 | Directer.MaxTorque = Vec3(0, huge, 0) | |
3429 | else | |
3430 | Directer.MaxTorque = Vec3(0, 0, 0) | |
3431 | end | |
3432 | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then | |
3433 | if Booleans.CamFollow then | |
3434 | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) | |
3435 | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) | |
3436 | else | |
3437 | CPart.Position = RootPart.Position | |
3438 | end | |
3439 | else | |
3440 | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p | |
3441 | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) | |
3442 | end | |
3443 | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) | |
3444 | else | |
3445 | Camera.CameraSubject = Humanoid | |
3446 | Camera.CameraType = "Custom" | |
3447 | Controller.Disabled = false | |
3448 | end | |
3449 | end | |
3450 | end | |
3451 | ||
3452 | function ring(type,pos,scale,value) | |
3453 | local type = type | |
3454 | local rng = Instance.new("Part", char) | |
3455 | rng.Anchored = true | |
3456 | rng.BrickColor = origcolor | |
3457 | rng.CanCollide = false | |
3458 | rng.FormFactor = 3 | |
3459 | rng.Name = "Ring" | |
3460 | rng.Size = Vector3.new(1, 1, 1) | |
3461 | rng.Transparency = 0 | |
3462 | rng.TopSurface = 0 | |
3463 | rng.BottomSurface = 0 | |
3464 | rng.CFrame = pos | |
3465 | local rngm = Instance.new("SpecialMesh", rng) | |
3466 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3467 | rngm.Scale = scale | |
3468 | local scaler2 = 1 | |
3469 | if type == "Add" then | |
3470 | scaler2 = 1*value | |
3471 | elseif type == "Divide" then | |
3472 | scaler2 = 1/value | |
3473 | end | |
3474 | coroutine.resume(coroutine.create(function() | |
3475 | for i = 0,10,0.1 do | |
3476 | swait() | |
3477 | if type == "Add" then | |
3478 | scaler2 = scaler2 - 0.01*value | |
3479 | elseif type == "Divide" then | |
3480 | scaler2 = scaler2 - 0.01/value | |
3481 | end | |
3482 | rng.Transparency = rng.Transparency + 0.01 | |
3483 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
3484 | end | |
3485 | rng:Destroy() | |
3486 | end)) | |
3487 | end | |
3488 | ||
3489 | ||
3490 | function wave(type,pos,scale,value) | |
3491 | local type = type | |
3492 | local rng = Instance.new("Part", char) | |
3493 | rng.Anchored = true | |
3494 | rng.BrickColor = origcolor | |
3495 | rng.CanCollide = false | |
3496 | rng.FormFactor = 3 | |
3497 | rng.Name = "Ring" | |
3498 | rng.Size = Vector3.new(1, 1, 1) | |
3499 | rng.Transparency = 0 | |
3500 | rng.TopSurface = 0 | |
3501 | rng.BottomSurface = 0 | |
3502 | rng.CFrame = pos | |
3503 | local rngm = Instance.new("SpecialMesh", rng) | |
3504 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
3505 | rngm.Scale = scale | |
3506 | local scaler2 = 1 | |
3507 | if type == "Add" then | |
3508 | scaler2 = 1*value | |
3509 | elseif type == "Divide" then | |
3510 | scaler2 = 1/value | |
3511 | end | |
3512 | coroutine.resume(coroutine.create(function() | |
3513 | for i = 0,10,0.1 do | |
3514 | swait() | |
3515 | if type == "Add" then | |
3516 | scaler2 = scaler2 - 0.01*value | |
3517 | elseif type == "Divide" then | |
3518 | scaler2 = scaler2 - 0.01/value | |
3519 | end | |
3520 | rng.Transparency = rng.Transparency + 0.01 | |
3521 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
3522 | end | |
3523 | rng:Destroy() | |
3524 | end)) | |
3525 | end | |
3526 | ||
3527 | function sphere(bonuspeed,type,pos,scale,value,color) | |
3528 | local type = type | |
3529 | local rng = Instance.new("Part", char) | |
3530 | rng.Anchored = true | |
3531 | if ModeOfGlitch ~= 9 then | |
3532 | rng.BrickColor = color | |
3533 | elseif ModeOfGlitch == 9 then | |
3534 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
3535 | end | |
3536 | rng.CanCollide = false | |
3537 | rng.FormFactor = 3 | |
3538 | rng.Name = "Ring" | |
3539 | rng.Material = "Neon" | |
3540 | rng.Size = Vector3.new(1, 1, 1) | |
3541 | rng.Transparency = 0 | |
3542 | rng.TopSurface = 0 | |
3543 | rng.BottomSurface = 0 | |
3544 | rng.CFrame = pos | |
3545 | local rngm = Instance.new("SpecialMesh", rng) | |
3546 | rngm.MeshType = "Sphere" | |
3547 | rngm.Scale = scale | |
3548 | if rainbowmode == true then | |
3549 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3550 | end | |
3551 | if ModeOfGlitch == 9 then | |
3552 | coroutine.resume(coroutine.create(function() | |
3553 | while true do | |
3554 | swait() | |
3555 | if rng.Parent ~= nil then | |
3556 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
3557 | else | |
3558 | break | |
3559 | end | |
3560 | end | |
3561 | end)) | |
3562 | end | |
3563 | local scaler2 = 1 | |
3564 | if type == "Add" then | |
3565 | scaler2 = 1*value | |
3566 | elseif type == "Divide" then | |
3567 | scaler2 = 1/value | |
3568 | end | |
3569 | coroutine.resume(coroutine.create(function() | |
3570 | for i = 0,10/bonuspeed,0.1 do | |
3571 | swait() | |
3572 | if rainbowmode == true then | |
3573 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3574 | end | |
3575 | if type == "Add" then | |
3576 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3577 | elseif type == "Divide" then | |
3578 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3579 | end | |
3580 | if chaosmode == true then | |
3581 | rng.BrickColor = BrickColor.random() | |
3582 | end | |
3583 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3584 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
3585 | end | |
3586 | rng:Destroy() | |
3587 | end)) | |
3588 | end | |
3589 | ||
3590 | function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color) | |
3591 | local type = type | |
3592 | local rng = Instance.new("Part", char) | |
3593 | rng.Anchored = true | |
3594 | if ModeOfGlitch ~= 9 then | |
3595 | rng.BrickColor = color | |
3596 | elseif ModeOfGlitch == 9 then | |
3597 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
3598 | end | |
3599 | rng.CanCollide = false | |
3600 | rng.FormFactor = 3 | |
3601 | rng.Name = "Ring" | |
3602 | rng.Material = "Neon" | |
3603 | rng.Size = Vector3.new(1, 1, 1) | |
3604 | rng.Transparency = 0 | |
3605 | rng.TopSurface = 0 | |
3606 | rng.BottomSurface = 0 | |
3607 | rng.CFrame = pos | |
3608 | local rngm = Instance.new("SpecialMesh", rng) | |
3609 | rngm.MeshType = "Sphere" | |
3610 | rngm.Scale = scale | |
3611 | local scaler2 = 1 | |
3612 | local scaler2b = 1 | |
3613 | local scaler2c = 1 | |
3614 | if type == "Add" then | |
3615 | scaler2 = 1*value | |
3616 | scaler2b = 1*value2 | |
3617 | scaler2c = 1*value3 | |
3618 | elseif type == "Divide" then | |
3619 | scaler2 = 1/value | |
3620 | scaler2b = 1/value2 | |
3621 | scaler2c = 1/value3 | |
3622 | end | |
3623 | if ModeOfGlitch == 9 then | |
3624 | coroutine.resume(coroutine.create(function() | |
3625 | while true do | |
3626 | swait() | |
3627 | if rng.Parent ~= nil then | |
3628 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
3629 | else | |
3630 | break | |
3631 | end | |
3632 | end | |
3633 | end)) | |
3634 | end | |
3635 | coroutine.resume(coroutine.create(function() | |
3636 | for i = 0,10/bonuspeed,0.1 do | |
3637 | swait() | |
3638 | if type == "Add" then | |
3639 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3640 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
3641 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
3642 | elseif type == "Divide" then | |
3643 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3644 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
3645 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
3646 | end | |
3647 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3648 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
3649 | end | |
3650 | rng:Destroy() | |
3651 | end)) | |
3652 | end | |
3653 | ||
3654 | function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color) | |
3655 | local type = type | |
3656 | local rotenable = rotatingop | |
3657 | local rng = Instance.new("Part", char) | |
3658 | rng.Anchored = true | |
3659 | rng.BrickColor = color | |
3660 | rng.CanCollide = false | |
3661 | rng.FormFactor = 3 | |
3662 | rng.Name = "Ring" | |
3663 | rng.Material = "Neon" | |
3664 | rng.Size = Vector3.new(1, 1, 1) | |
3665 | rng.Transparency = 0 | |
3666 | if typeoftrans == "In" then | |
3667 | rng.Transparency = 1 | |
3668 | end | |
3669 | rng.TopSurface = 0 | |
3670 | rng.BottomSurface = 0 | |
3671 | rng.CFrame = pos | |
3672 | local rngm = Instance.new("SpecialMesh", rng) | |
3673 | rngm.MeshType = "FileMesh" | |
3674 | if typeofshape == "Normal" then | |
3675 | rngm.MeshId = "rbxassetid://662586858" | |
3676 | elseif typeofshape == "Round" then | |
3677 | rngm.MeshId = "rbxassetid://662585058" | |
3678 | end | |
3679 | rngm.Scale = scale | |
3680 | local scaler2 = 1/10 | |
3681 | if type == "Add" then | |
3682 | scaler2 = 1*value/10 | |
3683 | elseif type == "Divide" then | |
3684 | scaler2 = 1/value/10 | |
3685 | end | |
3686 | local randomrot = math.random(1,2) | |
3687 | coroutine.resume(coroutine.create(function() | |
3688 | for i = 0,10/bonuspeed,0.1 do | |
3689 | swait() | |
3690 | if type == "Add" then | |
3691 | scaler2 = scaler2 - 0.01*value/bonuspeed/10 | |
3692 | elseif type == "Divide" then | |
3693 | scaler2 = scaler2 - 0.01/value*bonuspeed/10 | |
3694 | end | |
3695 | if rotenable == true then | |
3696 | if randomrot == 1 then | |
3697 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0) | |
3698 | elseif randomrot == 2 then | |
3699 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0) | |
3700 | end | |
3701 | end | |
3702 | if typeoftrans == "Out" then | |
3703 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3704 | elseif typeoftrans == "In" then | |
3705 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
3706 | end | |
3707 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10) | |
3708 | end | |
3709 | rng:Destroy() | |
3710 | end)) | |
3711 | end | |
3712 | ||
3713 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
3714 | local type = type | |
3715 | local rng = Instance.new("Part", char) | |
3716 | rng.Anchored = true | |
3717 | rng.BrickColor = color | |
3718 | rng.CanCollide = false | |
3719 | rng.FormFactor = 3 | |
3720 | rng.Name = "Ring" | |
3721 | rng.Material = "Neon" | |
3722 | rng.Size = Vector3.new(1, 1, 1) | |
3723 | rng.Transparency = 0 | |
3724 | rng.TopSurface = 0 | |
3725 | rng.BottomSurface = 0 | |
3726 | rng.CFrame = pos | |
3727 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
3728 | local rngm = Instance.new("SpecialMesh", rng) | |
3729 | rngm.MeshType = "Brick" | |
3730 | rngm.Scale = vt(x1,y1,z1) | |
3731 | if rainbowmode == true then | |
3732 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3733 | end | |
3734 | local scaler2 = 1 | |
3735 | local speeder = FastSpeed/10 | |
3736 | if type == "Add" then | |
3737 | scaler2 = 1*value | |
3738 | elseif type == "Divide" then | |
3739 | scaler2 = 1/value | |
3740 | end | |
3741 | coroutine.resume(coroutine.create(function() | |
3742 | for i = 0,10/bonuspeed,0.1 do | |
3743 | swait() | |
3744 | if rainbowmode == true then | |
3745 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3746 | end | |
3747 | if type == "Add" then | |
3748 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3749 | elseif type == "Divide" then | |
3750 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3751 | end | |
3752 | if chaosmode == true then | |
3753 | rng.BrickColor = BrickColor.random() | |
3754 | end | |
3755 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
3756 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3757 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3758 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
3759 | end | |
3760 | rng:Destroy() | |
3761 | end)) | |
3762 | end | |
3763 | ||
3764 | function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
3765 | local type = type | |
3766 | local rng = Instance.new("Part", char) | |
3767 | rng.Anchored = true | |
3768 | rng.BrickColor = color | |
3769 | rng.CanCollide = false | |
3770 | rng.FormFactor = 3 | |
3771 | rng.Name = "Ring" | |
3772 | rng.Material = "Neon" | |
3773 | rng.Size = Vector3.new(1, 1, 1) | |
3774 | rng.Transparency = 0 | |
3775 | rng.TopSurface = 0 | |
3776 | rng.BottomSurface = 0 | |
3777 | rng.CFrame = pos | |
3778 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
3779 | local rngm = Instance.new("SpecialMesh", rng) | |
3780 | rngm.MeshType = "Brick" | |
3781 | rngm.Scale = vt(x1,y1,z1) | |
3782 | if rainbowmode == true then | |
3783 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3784 | end | |
3785 | local scaler2 = 1 | |
3786 | local speeder = FastSpeed/10 | |
3787 | if type == "Add" then | |
3788 | scaler2 = 1*value | |
3789 | elseif type == "Divide" then | |
3790 | scaler2 = 1/value | |
3791 | end | |
3792 | coroutine.resume(coroutine.create(function() | |
3793 | for i = 0,10/bonuspeed,0.1 do | |
3794 | swait() | |
3795 | if rainbowmode == true then | |
3796 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3797 | end | |
3798 | if type == "Add" then | |
3799 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3800 | elseif type == "Divide" then | |
3801 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3802 | end | |
3803 | if chaosmode == true then | |
3804 | rng.BrickColor = BrickColor.random() | |
3805 | end | |
3806 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
3807 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3808 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3809 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
3810 | end | |
3811 | rng:Destroy() | |
3812 | end)) | |
3813 | end | |
3814 | ||
3815 | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
3816 | local type = type | |
3817 | local rng = Instance.new("Part", char) | |
3818 | rng.Anchored = true | |
3819 | rng.BrickColor = color | |
3820 | rng.CanCollide = false | |
3821 | rng.FormFactor = 3 | |
3822 | rng.Name = "Ring" | |
3823 | rng.Material = "Neon" | |
3824 | rng.Size = Vector3.new(1, 1, 1) | |
3825 | rng.Transparency = 0 | |
3826 | rng.TopSurface = 0 | |
3827 | rng.BottomSurface = 0 | |
3828 | rng.CFrame = pos | |
3829 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
3830 | local rngm = Instance.new("SpecialMesh", rng) | |
3831 | rngm.MeshType = "Brick" | |
3832 | rngm.Scale = vt(x1,y1,z1) | |
3833 | if rainbowmode == true then | |
3834 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3835 | end | |
3836 | local scaler2 = 0 | |
3837 | local speeder = FastSpeed/10 | |
3838 | if type == "Add" then | |
3839 | scaler2 = 1*value | |
3840 | elseif type == "Divide" then | |
3841 | scaler2 = 1/value | |
3842 | end | |
3843 | coroutine.resume(coroutine.create(function() | |
3844 | for i = 0,10/bonuspeed,0.1 do | |
3845 | swait() | |
3846 | if rainbowmode == true then | |
3847 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3848 | end | |
3849 | if type == "Add" then | |
3850 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3851 | elseif type == "Divide" then | |
3852 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3853 | end | |
3854 | if chaosmode == true then | |
3855 | rng.BrickColor = BrickColor.random() | |
3856 | end | |
3857 | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 | |
3858 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3859 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3860 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
3861 | end | |
3862 | rng:Destroy() | |
3863 | end)) | |
3864 | end | |
3865 | ||
3866 | function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3) | |
3867 | local type = type | |
3868 | local rng = Instance.new("Part", char) | |
3869 | rng.Anchored = true | |
3870 | rng.BrickColor = color | |
3871 | rng.Color = color3 | |
3872 | rng.CanCollide = false | |
3873 | rng.FormFactor = 3 | |
3874 | rng.Name = "Ring" | |
3875 | rng.Material = "Neon" | |
3876 | rng.Size = Vector3.new(1, 1, 1) | |
3877 | rng.Transparency = 0 | |
3878 | rng.TopSurface = 0 | |
3879 | rng.BottomSurface = 0 | |
3880 | rng.CFrame = pos | |
3881 | local rngm = Instance.new("SpecialMesh", rng) | |
3882 | rngm.MeshType = "Brick" | |
3883 | rngm.Scale = scale | |
3884 | local scaler2 = 1 | |
3885 | local scaler2b = 1 | |
3886 | local scaler2c = 1 | |
3887 | if type == "Add" then | |
3888 | scaler2 = 1*value | |
3889 | scaler2b = 1*value2 | |
3890 | scaler2c = 1*value3 | |
3891 | elseif type == "Divide" then | |
3892 | scaler2 = 1/value | |
3893 | scaler2b = 1/value2 | |
3894 | scaler2c = 1/value3 | |
3895 | end | |
3896 | coroutine.resume(coroutine.create(function() | |
3897 | for i = 0,10/bonuspeed,0.1 do | |
3898 | swait() | |
3899 | if type == "Add" then | |
3900 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3901 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
3902 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
3903 | elseif type == "Divide" then | |
3904 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3905 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
3906 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
3907 | end | |
3908 | rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
3909 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3910 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
3911 | end | |
3912 | rng:Destroy() | |
3913 | end)) | |
3914 | end | |
3915 | ||
3916 | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
3917 | local type = type | |
3918 | local rng = Instance.new("Part", char) | |
3919 | rng.Anchored = true | |
3920 | if ModeOfGlitch ~= 9 then | |
3921 | rng.BrickColor = color | |
3922 | elseif ModeOfGlitch == 9 then | |
3923 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
3924 | end | |
3925 | rng.CanCollide = false | |
3926 | rng.FormFactor = 3 | |
3927 | rng.Name = "Ring" | |
3928 | rng.Material = "Neon" | |
3929 | rng.Size = Vector3.new(1, 1, 1) | |
3930 | rng.Transparency = 0 | |
3931 | rng.TopSurface = 0 | |
3932 | rng.BottomSurface = 0 | |
3933 | rng.CFrame = pos | |
3934 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
3935 | local rngm = Instance.new("SpecialMesh", rng) | |
3936 | rngm.MeshType = "Sphere" | |
3937 | rngm.Scale = vt(x1,y1,z1) | |
3938 | if rainbowmode == true then | |
3939 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3940 | end | |
3941 | if ModeOfGlitch == 9 then | |
3942 | coroutine.resume(coroutine.create(function() | |
3943 | while true do | |
3944 | swait() | |
3945 | if rng.Parent ~= nil then | |
3946 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
3947 | else | |
3948 | break | |
3949 | end | |
3950 | end | |
3951 | end)) | |
3952 | end | |
3953 | local scaler2 = 1 | |
3954 | local speeder = FastSpeed | |
3955 | if type == "Add" then | |
3956 | scaler2 = 1*value | |
3957 | elseif type == "Divide" then | |
3958 | scaler2 = 1/value | |
3959 | end | |
3960 | coroutine.resume(coroutine.create(function() | |
3961 | for i = 0,10/bonuspeed,0.1 do | |
3962 | swait() | |
3963 | if rainbowmode == true then | |
3964 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3965 | end | |
3966 | if type == "Add" then | |
3967 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3968 | elseif type == "Divide" then | |
3969 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3970 | end | |
3971 | if chaosmode == true then | |
3972 | rng.BrickColor = BrickColor.random() | |
3973 | end | |
3974 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
3975 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3976 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3977 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
3978 | end | |
3979 | rng:Destroy() | |
3980 | end)) | |
3981 | end | |
3982 | ||
3983 | ||
3984 | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
3985 | local type = type | |
3986 | local rng = Instance.new("Part", char) | |
3987 | rng.Anchored = true | |
3988 | if ModeOfGlitch ~= 9 then | |
3989 | rng.BrickColor = color | |
3990 | elseif ModeOfGlitch == 9 then | |
3991 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
3992 | end | |
3993 | rng.CanCollide = false | |
3994 | rng.FormFactor = 3 | |
3995 | rng.Name = "Ring" | |
3996 | rng.Material = "Neon" | |
3997 | rng.Size = Vector3.new(1, 1, 1) | |
3998 | rng.Transparency = 1 | |
3999 | rng.TopSurface = 0 | |
4000 | rng.BottomSurface = 0 | |
4001 | rng.CFrame = pos | |
4002 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
4003 | local rngm = Instance.new("SpecialMesh", rng) | |
4004 | rngm.MeshType = "Sphere" | |
4005 | rngm.Scale = vt(x1,y1,z1) | |
4006 | if rainbowmode == true then | |
4007 | rng.Color = Color3.new(r/255,g/255,b/255) | |
4008 | end | |
4009 | if ModeOfGlitch == 9 then | |
4010 | coroutine.resume(coroutine.create(function() | |
4011 | while true do | |
4012 | swait() | |
4013 | if rng.Parent ~= nil then | |
4014 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
4015 | else | |
4016 | break | |
4017 | end | |
4018 | end | |
4019 | end)) | |
4020 | end | |
4021 | local scaler2 = 1 | |
4022 | local speeder = FastSpeed | |
4023 | if type == "Add" then | |
4024 | scaler2 = 1*value | |
4025 | elseif type == "Divide" then | |
4026 | scaler2 = 1/value | |
4027 | end | |
4028 | coroutine.resume(coroutine.create(function() | |
4029 | for i = 0,10/bonuspeed,0.1 do | |
4030 | swait() | |
4031 | if rainbowmode == true then | |
4032 | rng.Color = Color3.new(r/255,g/255,b/255) | |
4033 | end | |
4034 | if type == "Add" then | |
4035 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
4036 | elseif type == "Divide" then | |
4037 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
4038 | end | |
4039 | if chaosmode == true then | |
4040 | rng.BrickColor = BrickColor.random() | |
4041 | end | |
4042 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
4043 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
4044 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
4045 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
4046 | end | |
4047 | rng:Destroy() | |
4048 | end)) | |
4049 | end | |
4050 | ||
4051 | function dmg(dude) | |
4052 | if dude.Name ~= Character then | |
4053 | local keptcolor = MAINRUINCOLOR | |
4054 | local bgf = Instance.new("BodyGyro",dude.Head) | |
4055 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
4056 | --[[local val = Instance.new("BoolValue",dude) | |
4057 | val.Name = "IsHit"]]-- | |
4058 | local ds = coroutine.wrap(function() | |
4059 | dude:WaitForChild("Head"):BreakJoints() | |
4060 | for i, v in pairs(dude:GetChildren()) do | |
4061 | if v:IsA("Part") or v:IsA("MeshPart") then | |
4062 | v.Name = "DEMINISHED" | |
4063 | end | |
4064 | end | |
4065 | wait(0.5) | |
4066 | targetted = nil | |
4067 | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285) | |
4068 | coroutine.resume(coroutine.create(function() | |
4069 | for i, v in pairs(dude:GetChildren()) do | |
4070 | if v:IsA("Accessory") then | |
4071 | v:Destroy() | |
4072 | end | |
4073 | if v:IsA("Humanoid") then | |
4074 | v:Destroy() | |
4075 | end | |
4076 | if v:IsA("CharacterMesh") then | |
4077 | v:Destroy() | |
4078 | end | |
4079 | if v:IsA("Model") then | |
4080 | v:Destroy() | |
4081 | end | |
4082 | if v:IsA("Part") or v:IsA("MeshPart") then | |
4083 | for x, o in pairs(v:GetChildren()) do | |
4084 | if o:IsA("Decal") then | |
4085 | o:Destroy() | |
4086 | end | |
4087 | end | |
4088 | coroutine.resume(coroutine.create(function() | |
4089 | v.Material = "Neon" | |
4090 | v.CanCollide = false | |
4091 | v.Anchored = false | |
4092 | local bld = Instance.new("ParticleEmitter",v) | |
4093 | bld.LightEmission = 0.75 | |
4094 | bld.Texture = "rbxassetid://363275192" ---284205403 | |
4095 | bld.Color = ColorSequence.new(keptcolor.Color) | |
4096 | bld.Rate = 500 | |
4097 | bld.Lifetime = NumberRange.new(1) | |
4098 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4099 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4100 | bld.Speed = NumberRange.new(2,5) | |
4101 | bld.VelocitySpread = 50000 | |
4102 | bld.Rotation = NumberRange.new(-500,500) | |
4103 | bld.RotSpeed = NumberRange.new(-500,500) | |
4104 | local sbs = Instance.new("BodyPosition", v) | |
4105 | sbs.P = 3000 | |
4106 | sbs.D = 1000 | |
4107 | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
4108 | sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2)) | |
4109 | v.Color = keptcolor.Color | |
4110 | coroutine.resume(coroutine.create(function() | |
4111 | for i = 0, 49 do | |
4112 | swait(1) | |
4113 | v:BreakJoints() | |
4114 | v.Transparency = v.Transparency + 0.02 | |
4115 | end | |
4116 | v:BreakJoints() | |
4117 | sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor) | |
4118 | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75) | |
4119 | bld.Speed = NumberRange.new(10,25) | |
4120 | bld.Drag = 5 | |
4121 | bld.Acceleration = vt(0,2,0) | |
4122 | wait(0.5) | |
4123 | bld.Enabled = false | |
4124 | wait(8) | |
4125 | v:Destroy() | |
4126 | dude:Destroy() | |
4127 | end)) | |
4128 | end)) | |
4129 | end | |
4130 | end | |
4131 | end)) | |
4132 | end) | |
4133 | ds() | |
4134 | end | |
4135 | end | |
4136 | ||
4137 | ||
4138 | function FindNearestHead(Position, Distance, SinglePlayer) | |
4139 | if SinglePlayer then | |
4140 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
4141 | end | |
4142 | local List = {} | |
4143 | for i, v in pairs(workspace:GetChildren()) do | |
4144 | if v:IsA("Model") then | |
4145 | if v:findFirstChild("Head") then | |
4146 | if v ~= Character then | |
4147 | if (v.Head.Position - Position).magnitude <= Distance then | |
4148 | table.insert(List, v) | |
4149 | end | |
4150 | end | |
4151 | end | |
4152 | end | |
4153 | end | |
4154 | return List | |
4155 | end | |
4156 | ||
4157 | function FaceMouse() | |
4158 | Cam = workspace.CurrentCamera | |
4159 | return { | |
4160 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
4161 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
4162 | } | |
4163 | end | |
4164 | ||
4165 | function FaceMouse2() | |
4166 | Cam = workspace.CurrentCamera | |
4167 | return { | |
4168 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), | |
4169 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
4170 | } | |
4171 | end | |
4172 | ||
4173 | local ModeOfGlitch = 1 | |
4174 | -- Functions are ready. | |
4175 | local storehumanoidWS = 16 | |
4176 | ||
4177 | function BinaryBLINK() | |
4178 | for i = 0, 9 do | |
4179 | sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) | |
4180 | end | |
4181 | sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) | |
4182 | coroutine.resume(coroutine.create(function() | |
4183 | local eff = Instance.new("ParticleEmitter",root) | |
4184 | eff.Texture = "rbxassetid://1175838406" | |
4185 | eff.LightEmission = 0.95 | |
4186 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
4187 | eff.Rate = 10000 | |
4188 | eff.Lifetime = NumberRange.new(1) | |
4189 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4190 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4191 | eff.Speed = NumberRange.new(30,160) | |
4192 | eff.Drag = 5 | |
4193 | eff.Rotation = NumberRange.new(-500,500) | |
4194 | eff.VelocitySpread = 100000 | |
4195 | wait(0.25) | |
4196 | eff.Enabled = false | |
4197 | wait(4) | |
4198 | eff:Destroy() | |
4199 | end)) | |
4200 | CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1) | |
4201 | RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0) | |
4202 | CameraEnshaking(2,11) | |
4203 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do | |
4204 | if v:FindFirstChild('Head') then | |
4205 | dmg(v) | |
4206 | end | |
4207 | end | |
4208 | for i = 0, 9 do | |
4209 | sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) | |
4210 | end | |
4211 | sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) | |
4212 | end | |
4213 | ||
4214 | function Fireball() | |
4215 | attack = true | |
4216 | hum.WalkSpeed = 0 | |
4217 | local keptcolor = MAINRUINCOLOR | |
4218 | for i = 0,2,0.1 do | |
4219 | swait() | |
4220 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3) | |
4221 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3) | |
4222 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3) | |
4223 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3) | |
4224 | 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)),.3) | |
4225 | 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(-1),math.rad(0),math.rad(0)),.3) | |
4226 | end | |
4227 | local orb = Instance.new("Part", char) | |
4228 | orb.BrickColor = keptcolor | |
4229 | orb.CanCollide = false | |
4230 | orb.FormFactor = 3 | |
4231 | orb.Name = "Ring" | |
4232 | orb.Material = "Neon" | |
4233 | orb.Size = Vector3.new(1, 1, 1) | |
4234 | orb.Transparency = 0 | |
4235 | orb.TopSurface = 0 | |
4236 | orb.BottomSurface = 0 | |
4237 | local orbm = Instance.new("SpecialMesh", orb) | |
4238 | orbm.MeshType = "Sphere" | |
4239 | orbm.Name = "SizeMesh" | |
4240 | orbm.Scale = vt(4,4,4) | |
4241 | orb.CFrame = root.CFrame + root.CFrame.lookVector*3 | |
4242 | local eff = Instance.new("ParticleEmitter",orb) | |
4243 | eff.Texture = "rbxassetid://296874871" | |
4244 | eff.LightEmission = 0.95 | |
4245 | eff.Color = ColorSequence.new(orb.BrickColor.Color) | |
4246 | eff.Rate = 10000 | |
4247 | eff.Lifetime = NumberRange.new(1.5) | |
4248 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4249 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4250 | eff.Speed = NumberRange.new(25) | |
4251 | eff.Drag = 5 | |
4252 | eff.Rotation = NumberRange.new(-500,500) | |
4253 | eff.VelocitySpread = 9000 | |
4254 | eff.RotSpeed = NumberRange.new(-500,500) | |
4255 | local a = Instance.new("Part",workspace) | |
4256 | a.Name = "Direction" | |
4257 | a.Anchored = true | |
4258 | a.BrickColor = bc("Bright red") | |
4259 | a.Material = "Neon" | |
4260 | a.Transparency = 1 | |
4261 | a.CanCollide = false | |
4262 | local ray = Ray.new( | |
4263 | orb.CFrame.p, -- origin | |
4264 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
4265 | ) | |
4266 | local ignore = orb | |
4267 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4268 | a.BottomSurface = 10 | |
4269 | a.TopSurface = 10 | |
4270 | local distance = (orb.CFrame.p - position).magnitude | |
4271 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
4272 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
4273 | orb.CFrame = a.CFrame | |
4274 | a:Destroy() | |
4275 | CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9) | |
4276 | local bv = Instance.new("BodyVelocity") | |
4277 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4278 | bv.velocity = orb.CFrame.lookVector*75 | |
4279 | bv.Parent = orb | |
4280 | game:GetService("Debris"):AddItem(orb, 10) | |
4281 | local hitted = false | |
4282 | coroutine.resume(coroutine.create(function() | |
4283 | while true do | |
4284 | swait() | |
4285 | if orb.Parent ~= nil and hitted == false then | |
4286 | 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) | |
4287 | elseif orb.Parent == nil and hitted == true then | |
4288 | break | |
4289 | end | |
4290 | end | |
4291 | end)) | |
4292 | local hit =orb.Touched:connect(function(hit) | |
4293 | if hitted == false and hit.Parent ~= char then | |
4294 | hitted = true | |
4295 | eff.Enabled = false | |
4296 | CameraEnshaking(2,11) | |
4297 | CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7) | |
4298 | CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4) | |
4299 | MagniDamage(orb, 25, 20,30, 0, "Normal") | |
4300 | sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor) | |
4301 | sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor) | |
4302 | sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor) | |
4303 | for i = 0, 9 do | |
4304 | 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) | |
4305 | end | |
4306 | for i = 0, 49 do | |
4307 | local rsiz = math.random(10,30) | |
4308 | 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) | |
4309 | end | |
4310 | local eff = Instance.new("ParticleEmitter",orb) | |
4311 | eff.Texture = "rbxassetid://296874871" | |
4312 | eff.LightEmission = 0.95 | |
4313 | eff.Color = ColorSequence.new(orb.BrickColor.Color) | |
4314 | eff.Rate = 10000 | |
4315 | eff.Lifetime = NumberRange.new(1.5) | |
4316 | 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)}) | |
4317 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4318 | eff.Speed = NumberRange.new(150) | |
4319 | eff.Drag = 5 | |
4320 | eff.Rotation = NumberRange.new(-500,500) | |
4321 | eff.VelocitySpread = 9000 | |
4322 | eff.RotSpeed = NumberRange.new(-500,500) | |
4323 | coroutine.resume(coroutine.create(function() | |
4324 | wait(0.25) | |
4325 | eff.Enabled = false | |
4326 | end)) | |
4327 | local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char) | |
4328 | orb.Anchored = true | |
4329 | orb.Transparency = 1 | |
4330 | coroutine.resume(coroutine.create(function() | |
4331 | if hfr ~= nil then | |
4332 | orb.Size = vt(50,1,50) | |
4333 | orb.Orientation = vt(0,0,0) | |
4334 | orb.CFrame = orb.CFrame*CFrame.new(0,-5,0) | |
4335 | orbm:Destroy() | |
4336 | local firef = eff:Clone() | |
4337 | firef.Parent = orb | |
4338 | firef.VelocitySpread = 50 | |
4339 | firef.Rate = 500 | |
4340 | firef.Drag = 3 | |
4341 | firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4342 | firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4343 | firef.Speed = NumberRange.new(10,30) | |
4344 | for i = 0, 24 do | |
4345 | wait(0.25) | |
4346 | MagniDamage(orb, 25, 3,6, 0, "Normal") | |
4347 | end | |
4348 | firef.Enabled = false | |
4349 | end | |
4350 | end)) | |
4351 | wait(10) | |
4352 | orb:Destroy() | |
4353 | end | |
4354 | end) | |
4355 | for i = 0,1,0.1 do | |
4356 | swait() | |
4357 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5) | |
4358 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5) | |
4359 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5) | |
4360 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5) | |
4361 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5) | |
4362 | 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) | |
4363 | end | |
4364 | hum.WalkSpeed = storehumanoidWS | |
4365 | attack = false | |
4366 | end | |
4367 | ||
4368 | function smiter() | |
4369 | local targetted = nil | |
4370 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
4371 | targetted = mouse.Target.Parent | |
4372 | end | |
4373 | if targetted ~= nil then | |
4374 | RootPart.CFrame = FaceMouse()[1] | |
4375 | attack = true | |
4376 | hum.WalkSpeed = 0 | |
4377 | coroutine.resume(coroutine.create(function() | |
4378 | CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1) | |
4379 | sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR) | |
4380 | local vel = Instance.new("BodyPosition", targetted.Head) | |
4381 | vel.P = 12500 | |
4382 | vel.D = 1000 | |
4383 | vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
4384 | vel.position = targetted.Head.CFrame.p | |
4385 | end)) | |
4386 | CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2) | |
4387 | for i = 0,4,0.1 do | |
4388 | swait() | |
4389 | 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) | |
4390 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2) | |
4391 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2) | |
4392 | 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) | |
4393 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2) | |
4394 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.2) | |
4395 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.2) | |
4396 | end | |
4397 | coroutine.resume(coroutine.create(function() | |
4398 | CameraEnshaking(6,5) | |
4399 | MagniDamage(targetted.Head, 18, 18,30, 0, "Normal") | |
4400 | CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8) | |
4401 | CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8) | |
4402 | CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8) | |
4403 | sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR) | |
4404 | sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR) | |
4405 | sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR) | |
4406 | sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR) | |
4407 | coroutine.resume(coroutine.create(function() | |
4408 | local eff = Instance.new("ParticleEmitter",targetted.Head) | |
4409 | eff.Texture = "rbxassetid://363275192" | |
4410 | eff.LightEmission = 0.95 | |
4411 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
4412 | eff.Rate = 10000 | |
4413 | eff.Lifetime = NumberRange.new(1.5) | |
4414 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4415 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4416 | eff.Speed = NumberRange.new(25,150) | |
4417 | eff.Drag = 5 | |
4418 | eff.Rotation = NumberRange.new(-500,500) | |
4419 | eff.VelocitySpread = 9000 | |
4420 | eff.RotSpeed = NumberRange.new(-50,50) | |
4421 | local eff2 = eff:Clone() | |
4422 | eff2.Parent = targetted.Head | |
4423 | eff2.Texture = "rbxassetid://284205403" | |
4424 | eff2.Rate = 10000 | |
4425 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4426 | eff2.Drag = 5 | |
4427 | eff2.Rotation = NumberRange.new(-500,500) | |
4428 | eff2.VelocitySpread = 9000 | |
4429 | wait(0.5) | |
4430 | eff2.Enabled = false | |
4431 | eff.Enabled = false | |
4432 | end)) | |
4433 | for i = 0, 9 do | |
4434 | 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) | |
4435 | end | |
4436 | for i = 0, 49 do | |
4437 | local rsiz = math.random(10,50) | |
4438 | 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) | |
4439 | end | |
4440 | game:GetService("Debris"):AddItem(vel,1) | |
4441 | dmg(targetted) | |
4442 | end)) | |
4443 | for i = 0,1,0.1 do | |
4444 | swait() | |
4445 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5) | |
4446 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5) | |
4447 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5) | |
4448 | LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5) | |
4449 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5) | |
4450 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.5) | |
4451 | end | |
4452 | attack = false | |
4453 | hum.WalkSpeed = storehumanoidWS | |
4454 | end | |
4455 | end | |
4456 | ||
4457 | function BinaryE() | |
4458 | local posit = -2 | |
4459 | attack = true | |
4460 | hum.WalkSpeed = 5 | |
4461 | CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1) | |
4462 | for i = 0,2,0.1 do | |
4463 | swait() | |
4464 | 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) | |
4465 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5) | |
4466 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5) | |
4467 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5) | |
4468 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5) | |
4469 | 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) | |
4470 | 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) | |
4471 | end | |
4472 | for i = 0, 2 do | |
4473 | CameraEnshaking(2,11) | |
4474 | local hite = Instance.new("Part", char) | |
4475 | hite.Anchored = true | |
4476 | hite.CanCollide = false | |
4477 | hite.FormFactor = 3 | |
4478 | hite.Name = "Ring" | |
4479 | hite.Material = "Neon" | |
4480 | hite.Size = Vector3.new(1, 1, 1) | |
4481 | hite.Transparency = 1 | |
4482 | hite.TopSurface = 0 | |
4483 | hite.BottomSurface = 0 | |
4484 | hite.CFrame = root.CFrame*CFrame.new(0,posit,-5) | |
4485 | CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9) | |
4486 | CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8) | |
4487 | coroutine.resume(coroutine.create(function() | |
4488 | local eff = Instance.new("ParticleEmitter",hite) | |
4489 | eff.Texture = "rbxassetid://1175838406" | |
4490 | eff.LightEmission = 0.95 | |
4491 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
4492 | eff.Rate = 1000 | |
4493 | eff.Lifetime = NumberRange.new(1) | |
4494 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4495 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4496 | eff.Speed = NumberRange.new(10,50) | |
4497 | eff.Drag = 5 | |
4498 | eff.Rotation = NumberRange.new(-500,500) | |
4499 | eff.VelocitySpread = 100000 | |
4500 | wait(0.25) | |
4501 | eff.Enabled = false | |
4502 | end)) | |
4503 | coroutine.resume(coroutine.create(function() | |
4504 | for i = 0, 1 do | |
4505 | swait() | |
4506 | 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) | |
4507 | 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) | |
4508 | end | |
4509 | end)) | |
4510 | 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) | |
4511 | MagniDamage(hite, 3, 30,40, 0, "Normal") | |
4512 | game:GetService("Debris"):AddItem(hite, 5) | |
4513 | posit = posit + 2 | |
4514 | end | |
4515 | for i = 0,1,0.1 do | |
4516 | swait() | |
4517 | 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) | |
4518 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5) | |
4519 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5) | |
4520 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5) | |
4521 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5) | |
4522 | 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) | |
4523 | 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) | |
4524 | end | |
4525 | for i = 0,1,0.1 do | |
4526 | swait() | |
4527 | 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) | |
4528 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5) | |
4529 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5) | |
4530 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5) | |
4531 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5) | |
4532 | 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) | |
4533 | 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) | |
4534 | end | |
4535 | posit = -6 | |
4536 | for i = 0, 6 do | |
4537 | CameraEnshaking(2,11) | |
4538 | local hite = Instance.new("Part", char) | |
4539 | hite.Anchored = true | |
4540 | hite.CanCollide = false | |
4541 | hite.FormFactor = 3 | |
4542 | hite.Name = "Ring" | |
4543 | hite.Material = "Neon" | |
4544 | hite.Size = Vector3.new(1, 1, 1) | |
4545 | hite.Transparency = 1 | |
4546 | hite.TopSurface = 0 | |
4547 | hite.BottomSurface = 0 | |
4548 | hite.CFrame = root.CFrame*CFrame.new(posit,0,-5) | |
4549 | CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2) | |
4550 | CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1) | |
4551 | 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) | |
4552 | coroutine.resume(coroutine.create(function() | |
4553 | local eff = Instance.new("ParticleEmitter",hite) | |
4554 | eff.Texture = "rbxassetid://1175838406" | |
4555 | eff.LightEmission = 0.95 | |
4556 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
4557 | eff.Rate = 1000 | |
4558 | eff.Lifetime = NumberRange.new(1) | |
4559 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)}) | |
4560 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4561 | eff.Speed = NumberRange.new(20,70) | |
4562 | eff.Drag = 5 | |
4563 | eff.Rotation = NumberRange.new(-500,500) | |
4564 | eff.VelocitySpread = 100000 | |
4565 | wait(0.25) | |
4566 | eff.Enabled = false | |
4567 | end)) | |
4568 | coroutine.resume(coroutine.create(function() | |
4569 | for i = 0, 2 do | |
4570 | swait() | |
4571 | 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) | |
4572 | 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) | |
4573 | 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) | |
4574 | end | |
4575 | end)) | |
4576 | MagniDamage(hite, 5, 40,70, 0, "Normal") | |
4577 | game:GetService("Debris"):AddItem(hite, 5) | |
4578 | posit = posit + 2 | |
4579 | end | |
4580 | for i = 0,1,0.1 do | |
4581 | swait() | |
4582 | 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) | |
4583 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5) | |
4584 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5) | |
4585 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5) | |
4586 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5) | |
4587 | 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) | |
4588 | 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) | |
4589 | end | |
4590 | hum.WalkSpeed = storehumanoidWS | |
4591 | attack = false | |
4592 | end | |
4593 | ||
4594 | function CorruptBlink() | |
4595 | for i = 0, 14 do | |
4596 | 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) | |
4597 | end | |
4598 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
4599 | CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1) | |
4600 | RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0) | |
4601 | CameraEnshaking(2,10) | |
4602 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do | |
4603 | if v:FindFirstChild('Head') then | |
4604 | dmg(v) | |
4605 | end | |
4606 | end | |
4607 | for i = 0, 14 do | |
4608 | 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) | |
4609 | end | |
4610 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
4611 | end | |
4612 | function PureBomb() | |
4613 | attack = true | |
4614 | hum.WalkSpeed = 0 | |
4615 | local orb = Instance.new("Part", char) | |
4616 | orb.Anchored = true | |
4617 | orb.BrickColor = BrickColor.new("Toothpaste") | |
4618 | orb.CanCollide = false | |
4619 | orb.FormFactor = 3 | |
4620 | orb.Name = "Ring" | |
4621 | orb.Material = "Neon" | |
4622 | orb.Size = Vector3.new(1, 1, 1) | |
4623 | orb.Transparency = 0 | |
4624 | orb.TopSurface = 0 | |
4625 | orb.BottomSurface = 0 | |
4626 | local orbm = Instance.new("SpecialMesh", orb) | |
4627 | orbm.MeshType = "Sphere" | |
4628 | orbm.Name = "SizeMesh" | |
4629 | orbm.Scale = vt(0,0,0) | |
4630 | local scaled = 0.1 | |
4631 | local posid = 0 | |
4632 | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1) | |
4633 | for i = 0, 5, 0.1 do | |
4634 | swait() | |
4635 | scaled = scaled - 0.001 | |
4636 | posid = posid - scaled | |
4637 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
4638 | local scaled = 0.1 | |
4639 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
4640 | 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) | |
4641 | 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) | |
4642 | 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) | |
4643 | 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) | |
4644 | 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) | |
4645 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
4646 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
4647 | 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) | |
4648 | end | |
4649 | for i = 0, 2, 0.1 do | |
4650 | swait() | |
4651 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
4652 | 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) | |
4653 | 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) | |
4654 | 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) | |
4655 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
4656 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
4657 | 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) | |
4658 | end | |
4659 | coroutine.resume(coroutine.create(function() | |
4660 | orb.Anchored = false | |
4661 | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1) | |
4662 | local a = Instance.new("Part",workspace) | |
4663 | a.Name = "Direction" | |
4664 | a.Anchored = true | |
4665 | a.BrickColor = bc("Bright red") | |
4666 | a.Material = "Neon" | |
4667 | a.Transparency = 1 | |
4668 | a.CanCollide = false | |
4669 | local ray = Ray.new( | |
4670 | orb.CFrame.p, -- origin | |
4671 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
4672 | ) | |
4673 | local ignore = orb | |
4674 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4675 | a.BottomSurface = 10 | |
4676 | a.TopSurface = 10 | |
4677 | local distance = (orb.CFrame.p - position).magnitude | |
4678 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
4679 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
4680 | orb.CFrame = a.CFrame | |
4681 | a:Destroy() | |
4682 | local bv = Instance.new("BodyVelocity") | |
4683 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4684 | bv.velocity = orb.CFrame.lookVector*125 | |
4685 | bv.Parent = orb | |
4686 | local hitted = false | |
4687 | game:GetService("Debris"):AddItem(orb, 15) | |
4688 | wait() | |
4689 | local hit =orb.Touched:connect(function(hit) | |
4690 | if hitted == false then | |
4691 | hitted = true | |
4692 | CameraEnshaking(10,2.5) | |
4693 | CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1) | |
4694 | MagniDamage(orb, 65, 65,90, 0, "Normal") | |
4695 | sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste")) | |
4696 | sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste")) | |
4697 | for i = 0, 49 do | |
4698 | 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) | |
4699 | end | |
4700 | for i = 0, 9 do | |
4701 | 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) | |
4702 | 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) | |
4703 | end | |
4704 | orb.Anchored = true | |
4705 | orb.Transparency = 1 | |
4706 | wait(8) | |
4707 | orb:Destroy() | |
4708 | end | |
4709 | end) | |
4710 | end)) | |
4711 | for i = 0, 1, 0.1 do | |
4712 | swait() | |
4713 | 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) | |
4714 | 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) | |
4715 | 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) | |
4716 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) | |
4717 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) | |
4718 | 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) | |
4719 | end | |
4720 | hum.WalkSpeed = storehumanoidWS | |
4721 | attack = false | |
4722 | end | |
4723 | ||
4724 | function BanishingOrb() | |
4725 | attack = true | |
4726 | hum.WalkSpeed = 0 | |
4727 | local orb = Instance.new("Part", char) | |
4728 | orb.Anchored = true | |
4729 | orb.BrickColor = BrickColor.new("Black") | |
4730 | orb.CanCollide = false | |
4731 | orb.FormFactor = 3 | |
4732 | orb.Name = "Ring" | |
4733 | orb.Material = "Neon" | |
4734 | orb.Size = Vector3.new(1, 1, 1) | |
4735 | orb.Transparency = 0 | |
4736 | orb.TopSurface = 0 | |
4737 | orb.BottomSurface = 0 | |
4738 | local orbm = Instance.new("SpecialMesh", orb) | |
4739 | orbm.MeshType = "Sphere" | |
4740 | orbm.Name = "SizeMesh" | |
4741 | orbm.Scale = vt(0,0,0) | |
4742 | local scaled = 0.1 | |
4743 | local posid = 0 | |
4744 | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9) | |
4745 | for i = 0, 5, 0.1 do | |
4746 | swait() | |
4747 | scaled = scaled - 0.001 | |
4748 | posid = posid - scaled | |
4749 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
4750 | local scaled = 0.1 | |
4751 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
4752 | 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) | |
4753 | 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) | |
4754 | 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) | |
4755 | 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) | |
4756 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
4757 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
4758 | 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) | |
4759 | end | |
4760 | for i = 0, 2, 0.1 do | |
4761 | swait() | |
4762 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,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))),.4) | |
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(-10)),.4) | |
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(-50)),.4) | |
4766 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
4767 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
4768 | 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) | |
4769 | end | |
4770 | coroutine.resume(coroutine.create(function() | |
4771 | orb.Anchored = false | |
4772 | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75) | |
4773 | local a = Instance.new("Part",workspace) | |
4774 | a.Name = "Direction" | |
4775 | a.Anchored = true | |
4776 | a.BrickColor = bc("Bright red") | |
4777 | a.Material = "Neon" | |
4778 | a.Transparency = 1 | |
4779 | a.CanCollide = false | |
4780 | local ray = Ray.new( | |
4781 | orb.CFrame.p, -- origin | |
4782 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
4783 | ) | |
4784 | local ignore = orb | |
4785 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4786 | a.BottomSurface = 10 | |
4787 | a.TopSurface = 10 | |
4788 | local distance = (orb.CFrame.p - position).magnitude | |
4789 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
4790 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
4791 | orb.CFrame = a.CFrame | |
4792 | a:Destroy() | |
4793 | local bv = Instance.new("BodyVelocity") | |
4794 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4795 | bv.velocity = orb.CFrame.lookVector*0 | |
4796 | bv.Parent = orb | |
4797 | local hitted = false | |
4798 | local rate = 0 | |
4799 | coroutine.resume(coroutine.create(function() | |
4800 | for i = 0, 24 do | |
4801 | wait(0.1) | |
4802 | rate = rate + 0.25 | |
4803 | bv.velocity = bv.velocity + orb.CFrame.lookVector*rate | |
4804 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do | |
4805 | if v:FindFirstChild('Head') then | |
4806 | dmg(v) | |
4807 | end | |
4808 | end | |
4809 | CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9) | |
4810 | sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) | |
4811 | sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
4812 | end | |
4813 | orb.Anchored = true | |
4814 | orb.Transparency = 1 | |
4815 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do | |
4816 | if v:FindFirstChild('Head') then | |
4817 | dmg(v) | |
4818 | end | |
4819 | end | |
4820 | local eff = Instance.new("ParticleEmitter",orb) | |
4821 | eff.Texture = "rbxassetid://296874871" | |
4822 | eff.LightEmission = 0.95 | |
4823 | eff.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
4824 | eff.Rate = 1000000000 | |
4825 | eff.Lifetime = NumberRange.new(3) | |
4826 | 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)}) | |
4827 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4828 | eff.Speed = NumberRange.new(30) | |
4829 | eff.Acceleration = vt(0,-15,0) | |
4830 | eff.Rotation = NumberRange.new(-500,500) | |
4831 | eff.VelocitySpread = 100000 | |
4832 | eff.RotSpeed = NumberRange.new(-500,500) | |
4833 | coroutine.resume(coroutine.create(function() | |
4834 | wait(0.6) | |
4835 | eff.Enabled = false | |
4836 | end)) | |
4837 | CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6) | |
4838 | CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9) | |
4839 | sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR) | |
4840 | sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
4841 | sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR) | |
4842 | game:GetService("Debris"):AddItem(orb, 15) | |
4843 | end)) | |
4844 | end)) | |
4845 | for i = 0, 1, 0.1 do | |
4846 | swait() | |
4847 | 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) | |
4848 | 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) | |
4849 | 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) | |
4850 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) | |
4851 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) | |
4852 | 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) | |
4853 | end | |
4854 | hum.WalkSpeed = storehumanoidWS | |
4855 | attack = false | |
4856 | end | |
4857 | ||
4858 | ||
4859 | function ChaosGroundStrike() | |
4860 | attack = true | |
4861 | for i = 0, 2, 0.1 do | |
4862 | swait() | |
4863 | 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) | |
4864 | 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) | |
4865 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4866 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4867 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
4868 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
4869 | end | |
4870 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1) | |
4871 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) | |
4872 | CameraEnshaking(100,100) | |
4873 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do | |
4874 | if v:FindFirstChild('Head') then | |
4875 | dmg(v) | |
4876 | end | |
4877 | end | |
4878 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) | |
4879 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) | |
4880 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random()) | |
4881 | for i = 0, 2, 0.1 do | |
4882 | swait() | |
4883 | 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) | |
4884 | 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) | |
4885 | 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) | |
4886 | 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) | |
4887 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
4888 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
4889 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
4890 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
4891 | end | |
4892 | attack = false | |
4893 | end | |
4894 | ||
4895 | ||
4896 | ||
4897 | function Starfall() | |
4898 | attack = true | |
4899 | hum.WalkSpeed = 0 | |
4900 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1) | |
4901 | for i = 0, 5, 0.1 do | |
4902 | swait() | |
4903 | 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) | |
4904 | 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) | |
4905 | 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) | |
4906 | 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) | |
4907 | 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) | |
4908 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
4909 | 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) | |
4910 | 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) | |
4911 | end | |
4912 | local Overed = false | |
4913 | CameraEnshaking(2,20) | |
4914 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
4915 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
4916 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
4917 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1) | |
4918 | local orb = Instance.new("Part", char) | |
4919 | orb.Anchored = true | |
4920 | orb.BrickColor = BrickColor.new("Toothpaste") | |
4921 | orb.CanCollide = false | |
4922 | orb.FormFactor = 3 | |
4923 | orb.Name = "Remenant" | |
4924 | orb.Material = "Neon" | |
4925 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
4926 | orb.Size = Vector3.new(1, 1, 1) | |
4927 | orb.Transparency = 1 | |
4928 | orb.TopSurface = 0 | |
4929 | orb.BottomSurface = 0 | |
4930 | hum.WalkSpeed = storehumanoidWS | |
4931 | coroutine.resume(coroutine.create(function() | |
4932 | for i = 0, 9 do | |
4933 | swait(10) | |
4934 | local lb = Instance.new("Part") | |
4935 | lb.Color = MAINRUINCOLOR.Color | |
4936 | lb.CanCollide = false | |
4937 | lb.Material = "Neon" | |
4938 | lb.Anchored = true | |
4939 | lb.TopSurface = 0 | |
4940 | lb.BottomSurface = 0 | |
4941 | lb.Transparency = 0 | |
4942 | lb.Size = vt(1,1,1) | |
4943 | 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))) | |
4944 | lb.Anchored = false | |
4945 | lb.Parent = char | |
4946 | local thingery = Instance.new("SpecialMesh",lb) | |
4947 | thingery.MeshType = "Sphere" | |
4948 | thingery.Scale = vt(20,20,20) | |
4949 | game:GetService("Debris"):AddItem(lb, 10) | |
4950 | local bv = Instance.new("BodyVelocity") | |
4951 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4952 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
4953 | bv.Parent = lb | |
4954 | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) | |
4955 | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) | |
4956 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1) | |
4957 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1) | |
4958 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1) | |
4959 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1) | |
4960 | local hitted = false | |
4961 | coroutine.resume(coroutine.create(function() | |
4962 | while true do | |
4963 | swait(1) | |
4964 | if lb.Parent ~= nil and hitted == false then | |
4965 | 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) | |
4966 | elseif lb.Parent == nil then | |
4967 | break | |
4968 | end | |
4969 | end | |
4970 | end)) | |
4971 | ||
4972 | game:GetService("Debris"):AddItem(a, 0.1) | |
4973 | ||
4974 | coroutine.resume(coroutine.create(function() | |
4975 | swait(1) | |
4976 | lb.Touched:connect(function(hit) | |
4977 | if hitted == false then | |
4978 | hitted = true | |
4979 | lb.Transparency = 1 | |
4980 | lb.Anchored = true | |
4981 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1) | |
4982 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7) | |
4983 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75) | |
4984 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75) | |
4985 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1) | |
4986 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85) | |
4987 | MagniDamage(lb, 45, 45,85, 0, "Normal") | |
4988 | CameraEnshaking(1,5) | |
4989 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
4990 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
4991 | for i = 0, 9 do | |
4992 | 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) | |
4993 | end | |
4994 | for i = 0, 49 do | |
4995 | swait() | |
4996 | MagniDamage(lb, 30, 2,4, 0, "Normal") | |
4997 | 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) | |
4998 | end | |
4999 | end | |
5000 | end) | |
5001 | end)) | |
5002 | end | |
5003 | Overed = true | |
5004 | orb:Destroy() | |
5005 | end)) | |
5006 | ||
5007 | attack = false | |
5008 | end | |
5009 | ||
5010 | function StarfallEX() | |
5011 | attack = true | |
5012 | hum.WalkSpeed = 0 | |
5013 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7) | |
5014 | for i = 0, 10, 0.1 do | |
5015 | swait() | |
5016 | 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) | |
5017 | 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) | |
5018 | 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) | |
5019 | 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) | |
5020 | 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) | |
5021 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
5022 | 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) | |
5023 | 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) | |
5024 | end | |
5025 | local Overed = false | |
5026 | CameraEnshaking(2,20) | |
5027 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) | |
5028 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR) | |
5029 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
5030 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9) | |
5031 | local orb = Instance.new("Part", char) | |
5032 | orb.Anchored = true | |
5033 | orb.BrickColor = BrickColor.new("Toothpaste") | |
5034 | orb.CanCollide = false | |
5035 | orb.FormFactor = 3 | |
5036 | orb.Name = "Remenant" | |
5037 | orb.Material = "Neon" | |
5038 | orb.CFrame = root.CFrame*CFrame.new(0,250,0) | |
5039 | orb.Size = Vector3.new(1, 1, 1) | |
5040 | orb.Transparency = 1 | |
5041 | orb.TopSurface = 0 | |
5042 | orb.BottomSurface = 0 | |
5043 | hum.WalkSpeed = storehumanoidWS | |
5044 | coroutine.resume(coroutine.create(function() | |
5045 | for i = 0, 4 do | |
5046 | swait(15) | |
5047 | local lb = Instance.new("Part") | |
5048 | lb.Color = MAINRUINCOLOR.Color | |
5049 | lb.CanCollide = false | |
5050 | lb.Material = "Neon" | |
5051 | lb.Anchored = true | |
5052 | lb.TopSurface = 0 | |
5053 | lb.BottomSurface = 0 | |
5054 | lb.Transparency = 0 | |
5055 | lb.Size = vt(1,1,1) | |
5056 | 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))) | |
5057 | lb.Anchored = false | |
5058 | lb.Parent = char | |
5059 | local thingery = Instance.new("SpecialMesh",lb) | |
5060 | thingery.MeshType = "Sphere" | |
5061 | thingery.Scale = vt(50,50,50) | |
5062 | game:GetService("Debris"):AddItem(lb, 10) | |
5063 | local bv = Instance.new("BodyVelocity") | |
5064 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5065 | bv.velocity = lb.CFrame.lookVector*math.random(50,420) | |
5066 | bv.Parent = lb | |
5067 | sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR) | |
5068 | sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR) | |
5069 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9) | |
5070 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9) | |
5071 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9) | |
5072 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9) | |
5073 | local hitted = false | |
5074 | coroutine.resume(coroutine.create(function() | |
5075 | while true do | |
5076 | swait(1) | |
5077 | if lb.Parent ~= nil and hitted == false then | |
5078 | 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) | |
5079 | elseif lb.Parent == nil then | |
5080 | break | |
5081 | end | |
5082 | end | |
5083 | end)) | |
5084 | ||
5085 | game:GetService("Debris"):AddItem(a, 0.1) | |
5086 | ||
5087 | coroutine.resume(coroutine.create(function() | |
5088 | swait(1) | |
5089 | lb.Touched:connect(function(hit) | |
5090 | if hitted == false then | |
5091 | hitted = true | |
5092 | lb.Transparency = 1 | |
5093 | lb.Anchored = true | |
5094 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9) | |
5095 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6) | |
5096 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65) | |
5097 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65) | |
5098 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9) | |
5099 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75) | |
5100 | MagniDamage(lb, 50, 60,99, 0, "Normal") | |
5101 | CameraEnshaking(1,5) | |
5102 | sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR) | |
5103 | sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR) | |
5104 | for i = 0, 9 do | |
5105 | 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) | |
5106 | end | |
5107 | for i = 0, 99 do | |
5108 | swait() | |
5109 | MagniDamage(lb, 30, 6,18, 0, "Normal") | |
5110 | 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) | |
5111 | end | |
5112 | end | |
5113 | end) | |
5114 | end)) | |
5115 | end | |
5116 | Overed = true | |
5117 | orb:Destroy() | |
5118 | end)) | |
5119 | ||
5120 | attack = false | |
5121 | end | |
5122 | ||
5123 | function DivineBlast() | |
5124 | attack = true | |
5125 | hum.WalkSpeed = 0 | |
5126 | local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random()) | |
5127 | elocacenter.Anchored = true | |
5128 | elocacenter.CFrame = sorb.CFrame | |
5129 | local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
5130 | eloca1.Anchored = true | |
5131 | eloca1.CFrame = elocacenter.CFrame | |
5132 | local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
5133 | eloca2.Anchored = true | |
5134 | eloca2.CFrame = elocacenter.CFrame | |
5135 | local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
5136 | eloca3.Anchored = true | |
5137 | eloca3.CFrame = elocacenter.CFrame | |
5138 | local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random()) | |
5139 | eloca4.Anchored = true | |
5140 | eloca4.CFrame = elocacenter.CFrame | |
5141 | local lookavec = 0 | |
5142 | local speeds = 0 | |
5143 | CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1) | |
5144 | for i = 0, 3, 0.1 do | |
5145 | swait() | |
5146 | --- | |
5147 | lookavec = lookavec + 0.1 | |
5148 | speeds = speeds + 10 | |
5149 | elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
5150 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
5151 | 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) | |
5152 | ||
5153 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
5154 | 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) | |
5155 | ||
5156 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
5157 | 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) | |
5158 | ||
5159 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
5160 | 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) | |
5161 | --- | |
5162 | root.CFrame = FaceMouse()[1] | |
5163 | 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) | |
5164 | 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) | |
5165 | 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) | |
5166 | 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) | |
5167 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1) | |
5168 | 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) | |
5169 | end | |
5170 | for i = 0, 3, 0.1 do | |
5171 | swait() | |
5172 | --- | |
5173 | speeds = speeds + 10 | |
5174 | elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
5175 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
5176 | 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) | |
5177 | ||
5178 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
5179 | 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) | |
5180 | ||
5181 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
5182 | 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) | |
5183 | ||
5184 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
5185 | 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) | |
5186 | --- | |
5187 | root.CFrame = FaceMouse()[1] | |
5188 | 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) | |
5189 | 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) | |
5190 | 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) | |
5191 | 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) | |
5192 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1) | |
5193 | 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) | |
5194 | end | |
5195 | CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1) | |
5196 | for i = 0, 3, 0.1 do | |
5197 | swait() | |
5198 | --- | |
5199 | speeds = speeds + 10 | |
5200 | elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
5201 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
5202 | 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) | |
5203 | ||
5204 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
5205 | 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) | |
5206 | ||
5207 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
5208 | 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) | |
5209 | ||
5210 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
5211 | 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) | |
5212 | --- | |
5213 | root.CFrame = FaceMouse()[1] | |
5214 | 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) | |
5215 | 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) | |
5216 | 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(40)),.1) | |
5217 | 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) | |
5218 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1) | |
5219 | 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) | |
5220 | end | |
5221 | coroutine.resume(coroutine.create(function() | |
5222 | local a = Instance.new("Part",Character) | |
5223 | a.Name = "Direction" | |
5224 | a.Anchored = true | |
5225 | a.BrickColor = bc("White") | |
5226 | a.Material = "Neon" | |
5227 | a.Transparency = 0 | |
5228 | a.Shape = "Cylinder" | |
5229 | a.CanCollide = false | |
5230 | local a2 = Instance.new("Part",Character) | |
5231 | a2.Name = "Direction" | |
5232 | a2.Anchored = true | |
5233 | a2.BrickColor = bc("Bright yellow") | |
5234 | a2.Material = "Neon" | |
5235 | a2.Transparency = 0 | |
5236 | a2.Shape = "Cylinder" | |
5237 | a2.CanCollide = false | |
5238 | local b = Instance.new("Part",Character) | |
5239 | b.Name = "HitDirect" | |
5240 | b.Anchored = true | |
5241 | b.BrickColor = bc("Cool yellow") | |
5242 | b.Material = "Neon" | |
5243 | b.Transparency = 1 | |
5244 | b.CanCollide = false | |
5245 | local ray = Ray.new( | |
5246 | elocacenter.CFrame.p, -- origin | |
5247 | (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction | |
5248 | ) | |
5249 | local ignore = Character | |
5250 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
5251 | a.BottomSurface = 10 | |
5252 | a.TopSurface = 10 | |
5253 | a2.BottomSurface = 10 | |
5254 | a2.TopSurface = 10 | |
5255 | local distance = (elocacenter.CFrame.p - position).magnitude | |
5256 | a.Size = Vector3.new(distance, 1, 1) | |
5257 | a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
5258 | a2.Size = Vector3.new(distance, 1, 1) | |
5259 | a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
5260 | b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
5261 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
5262 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
5263 | game:GetService("Debris"):AddItem(a, 10) | |
5264 | game:GetService("Debris"):AddItem(a2, 10) | |
5265 | game:GetService("Debris"):AddItem(b, 10) | |
5266 | local msh = Instance.new("SpecialMesh",a) | |
5267 | msh.MeshType = "Cylinder" | |
5268 | msh.Scale = vt(1,2,2) | |
5269 | local msh2 = Instance.new("SpecialMesh",a2) | |
5270 | msh2.MeshType = "Cylinder" | |
5271 | msh2.Scale = vt(1,2.5,2.5) | |
5272 | CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75) | |
5273 | coroutine.resume(coroutine.create(function() | |
5274 | for i = 0,10,0.1 do | |
5275 | swait() | |
5276 | msh.Scale = msh.Scale + vt(0,0.05,0.05) | |
5277 | a.Transparency = a.Transparency + 0.025 | |
5278 | msh2.Scale = msh2.Scale + vt(0,0.25,0.25) | |
5279 | a2.Transparency = a2.Transparency + 0.05 | |
5280 | end | |
5281 | a:Destroy() | |
5282 | a2:Destroy() | |
5283 | end)) | |
5284 | CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1) | |
5285 | CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7) | |
5286 | CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75) | |
5287 | CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75) | |
5288 | CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1) | |
5289 | CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85) | |
5290 | MagniDamage(b, 25, 40,65, 0, "Normal") | |
5291 | for i = 0, 49 do | |
5292 | 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) | |
5293 | 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) | |
5294 | end | |
5295 | sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White")) | |
5296 | sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow")) | |
5297 | sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow")) | |
5298 | sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow")) | |
5299 | sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow")) | |
5300 | sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow")) | |
5301 | end)) | |
5302 | game:GetService("Debris"):AddItem(elocacenter, 5) | |
5303 | hum.WalkSpeed = storehumanoidWS | |
5304 | attack = false | |
5305 | end | |
5306 | ||
5307 | function StarDivision() | |
5308 | attack = true | |
5309 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5) | |
5310 | for i = 0, 2, 0.1 do | |
5311 | swait() | |
5312 | 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) | |
5313 | 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) | |
5314 | 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) | |
5315 | 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) | |
5316 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6) | |
5317 | 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) | |
5318 | end | |
5319 | local orb = Instance.new("Part", char) | |
5320 | orb.BrickColor = MAINRUINCOLOR | |
5321 | orb.CanCollide = false | |
5322 | orb.FormFactor = 3 | |
5323 | orb.Name = "Ring" | |
5324 | orb.Material = "Neon" | |
5325 | orb.Size = Vector3.new(1, 1, 1) | |
5326 | orb.Transparency = 0 | |
5327 | orb.TopSurface = 0 | |
5328 | orb.BottomSurface = 0 | |
5329 | local orbm = Instance.new("SpecialMesh", orb) | |
5330 | orbm.MeshType = "Sphere" | |
5331 | orbm.Name = "SizeMesh" | |
5332 | orbm.Scale = vt(2,2,2) | |
5333 | local a = Instance.new("Part",workspace) | |
5334 | a.Name = "Direction" | |
5335 | a.Anchored = true | |
5336 | a.BrickColor = bc("Bright red") | |
5337 | a.Material = "Neon" | |
5338 | a.Transparency = 1 | |
5339 | a.CanCollide = false | |
5340 | local ray = Ray.new( | |
5341 | sorb.CFrame.p, -- origin | |
5342 | (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction | |
5343 | ) | |
5344 | local ignore = sorb | |
5345 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
5346 | a.BottomSurface = 10 | |
5347 | a.TopSurface = 10 | |
5348 | local distance = (sorb.CFrame.p - position).magnitude | |
5349 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
5350 | a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
5351 | orb.CFrame = a.CFrame | |
5352 | a:Destroy() | |
5353 | local bv = Instance.new("BodyVelocity") | |
5354 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5355 | bv.velocity = orb.CFrame.lookVector*100 | |
5356 | bv.Parent = orb | |
5357 | local hitted = false | |
5358 | game:GetService("Debris"):AddItem(orb, 10) | |
5359 | CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15) | |
5360 | CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15) | |
5361 | CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15) | |
5362 | CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15) | |
5363 | CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15) | |
5364 | coroutine.resume(coroutine.create(function() | |
5365 | while true do | |
5366 | swait(1) | |
5367 | if orb.Parent ~= nil and hitted == false then | |
5368 | 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) | |
5369 | elseif orb.Parent == nil then | |
5370 | break | |
5371 | end | |
5372 | end | |
5373 | end)) | |
5374 | coroutine.resume(coroutine.create(function() | |
5375 | swait(1) | |
5376 | orb.Touched:connect(function(hit) | |
5377 | if hitted == false then | |
5378 | hitted = true | |
5379 | game:GetService("Debris"):AddItem(orb, 5) | |
5380 | orb.Transparency = 1 | |
5381 | orb.Anchored = true | |
5382 | local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
5383 | elocacenter.Anchored = true | |
5384 | elocacenter.CFrame = orb.CFrame | |
5385 | elocacenter.Orientation = vt(0,0,0) | |
5386 | local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
5387 | eloca1.Anchored = true | |
5388 | eloca1.CFrame = elocacenter.CFrame | |
5389 | local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
5390 | eloca2.Anchored = true | |
5391 | eloca2.CFrame = elocacenter.CFrame | |
5392 | local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
5393 | eloca3.Anchored = true | |
5394 | eloca3.CFrame = elocacenter.CFrame | |
5395 | local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
5396 | eloca4.Anchored = true | |
5397 | eloca4.CFrame = elocacenter.CFrame | |
5398 | local lookavec = 0 | |
5399 | local speeds = 0 | |
5400 | CameraEnshaking(1,1) | |
5401 | CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1) | |
5402 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5403 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5404 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5405 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5406 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5407 | for i = 0, 99 do | |
5408 | swait() | |
5409 | lookavec = lookavec + 1 | |
5410 | speeds = speeds + 0.1 | |
5411 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
5412 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
5413 | PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
5414 | ||
5415 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
5416 | 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) | |
5417 | ||
5418 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
5419 | 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) | |
5420 | ||
5421 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
5422 | 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) | |
5423 | end | |
5424 | ||
5425 | for i = 0, 149 do | |
5426 | swait() | |
5427 | speeds = speeds + 0.1 | |
5428 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
5429 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
5430 | PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
5431 | ||
5432 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
5433 | 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) | |
5434 | ||
5435 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
5436 | 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) | |
5437 | ||
5438 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
5439 | 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) | |
5440 | end | |
5441 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do | |
5442 | if v:FindFirstChild('Head') then | |
5443 | dmg(v) | |
5444 | end | |
5445 | end | |
5446 | CameraEnshaking(7,30) | |
5447 | MagniDamage(elocacenter, 225, 50,75, 0, "Normal") | |
5448 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1) | |
5449 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75) | |
5450 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1) | |
5451 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1) | |
5452 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR) | |
5453 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR) | |
5454 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5455 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5456 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5457 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5458 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5459 | for i = 0, 24 do | |
5460 | 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) | |
5461 | 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) | |
5462 | 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) | |
5463 | 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) | |
5464 | end | |
5465 | coroutine.resume(coroutine.create(function() | |
5466 | for i = 0, 499 do | |
5467 | swait(1) | |
5468 | MagniDamage(elocacenter, 90, 1,5, 0, "Normal") | |
5469 | 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) | |
5470 | end | |
5471 | elocacenter:Destroy() | |
5472 | eloca1:Destroy() | |
5473 | eloca2:Destroy() | |
5474 | eloca3:Destroy() | |
5475 | eloca4:Destroy() | |
5476 | end)) | |
5477 | end | |
5478 | end) | |
5479 | end)) | |
5480 | attack = false | |
5481 | end | |
5482 | ||
5483 | ||
5484 | function THE_TRUE_POWER_OF_VIOLENCE() | |
5485 | attack = true | |
5486 | hum.WalkSpeed = 0 | |
5487 | CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7) | |
5488 | for i = 0, 10, 0.1 do | |
5489 | swait() | |
5490 | 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) | |
5491 | 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) | |
5492 | 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) | |
5493 | 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) | |
5494 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4) | |
5495 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) | |
5496 | 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) | |
5497 | end | |
5498 | local orb = Instance.new("Part", char) | |
5499 | orb.BrickColor = MAINRUINCOLOR | |
5500 | orb.CanCollide = false | |
5501 | orb.FormFactor = 3 | |
5502 | orb.Name = "Ring" | |
5503 | orb.Material = "Neon" | |
5504 | orb.Size = Vector3.new(1, 1, 1) | |
5505 | orb.Transparency = 0 | |
5506 | orb.TopSurface = 0 | |
5507 | orb.BottomSurface = 0 | |
5508 | orb.CFrame = sorb.CFrame | |
5509 | local orbm = Instance.new("SpecialMesh", orb) | |
5510 | orbm.MeshType = "Sphere" | |
5511 | orbm.Name = "SizeMesh" | |
5512 | orbm.Scale = vt(0,0,0) | |
5513 | local sbs = Instance.new("BodyPosition", orb) | |
5514 | sbs.P = 3000 | |
5515 | sbs.D = 1000 | |
5516 | sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
5517 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0) | |
5518 | CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1) | |
5519 | sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
5520 | sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
5521 | sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
5522 | sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
5523 | sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
5524 | for i = 0, 10, 0.1 do | |
5525 | swait() | |
5526 | 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) | |
5527 | 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) | |
5528 | 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) | |
5529 | 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) | |
5530 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6) | |
5531 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) | |
5532 | 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) | |
5533 | end | |
5534 | orb.Anchored = true | |
5535 | local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
5536 | elocacenter.Anchored = true | |
5537 | elocacenter.CFrame = orb.CFrame | |
5538 | elocacenter.Orientation = vt(0,0,0) | |
5539 | local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
5540 | eloca1.Anchored = true | |
5541 | eloca1.CFrame = elocacenter.CFrame | |
5542 | local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
5543 | eloca2.Anchored = true | |
5544 | eloca2.CFrame = elocacenter.CFrame | |
5545 | local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
5546 | eloca3.Anchored = true | |
5547 | eloca3.CFrame = elocacenter.CFrame | |
5548 | local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random()) | |
5549 | eloca4.Anchored = true | |
5550 | eloca4.CFrame = elocacenter.CFrame | |
5551 | local lookavec = 0 | |
5552 | local speeds = 0 | |
5553 | CameraEnshaking(1,1) | |
5554 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1) | |
5555 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1) | |
5556 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1) | |
5557 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1) | |
5558 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5559 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5560 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5561 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5562 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5563 | for i = 0, 99 do | |
5564 | swait() | |
5565 | lookavec = lookavec + 2.5 | |
5566 | speeds = speeds + 0.25 | |
5567 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
5568 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
5569 | 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) | |
5570 | ||
5571 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
5572 | 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) | |
5573 | ||
5574 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
5575 | 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) | |
5576 | ||
5577 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
5578 | 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) | |
5579 | end | |
5580 | ||
5581 | for i = 0, 149 do | |
5582 | swait() | |
5583 | speeds = speeds + 0.25 | |
5584 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
5585 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
5586 | 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) | |
5587 | ||
5588 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
5589 | 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) | |
5590 | ||
5591 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
5592 | 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) | |
5593 | ||
5594 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
5595 | 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) | |
5596 | end | |
5597 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75) | |
5598 | for i = 0, 99 do | |
5599 | swait() | |
5600 | lookavec = lookavec - 2.5 | |
5601 | speeds = speeds + 0.25 | |
5602 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
5603 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
5604 | 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) | |
5605 | ||
5606 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
5607 | 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) | |
5608 | ||
5609 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
5610 | 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) | |
5611 | ||
5612 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
5613 | 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) | |
5614 | end | |
5615 | local scaled = 0.1*75 | |
5616 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1) | |
5617 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1) | |
5618 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5) | |
5619 | CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5) | |
5620 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75) | |
5621 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5) | |
5622 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5623 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5624 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5625 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5626 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5627 | for i = 0, 10, 0.1 do | |
5628 | swait() | |
5629 | scaled = scaled - 0.001*75 | |
5630 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
5631 | 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) | |
5632 | 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) | |
5633 | 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) | |
5634 | 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) | |
5635 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6) | |
5636 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4) | |
5637 | 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) | |
5638 | end | |
5639 | for x = 0, 4 do | |
5640 | for i = 0, 9 do | |
5641 | 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) | |
5642 | end | |
5643 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75) | |
5644 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5) | |
5645 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5646 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5647 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5648 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5649 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5650 | for i = 0, 5, 0.1 do | |
5651 | swait() | |
5652 | 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) | |
5653 | 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) | |
5654 | 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) | |
5655 | 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) | |
5656 | 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) | |
5657 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1) | |
5658 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1) | |
5659 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1) | |
5660 | end | |
5661 | end | |
5662 | local speedearn = 0 | |
5663 | CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2) | |
5664 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75) | |
5665 | CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25) | |
5666 | for i = 0, 30, 0.1 do | |
5667 | swait() | |
5668 | scaled = scaled - 0.001*75/10 | |
5669 | speedearn = speedearn + 0.5 | |
5670 | for i = 0, 4 do | |
5671 | 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) | |
5672 | end | |
5673 | 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) | |
5674 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
5675 | 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) | |
5676 | 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) | |
5677 | 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) | |
5678 | 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) | |
5679 | 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) | |
5680 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6) | |
5681 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4) | |
5682 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6) | |
5683 | end | |
5684 | orb.Transparency = 1 | |
5685 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do | |
5686 | if v:FindFirstChild('Head') then | |
5687 | dmg(v) | |
5688 | end | |
5689 | end | |
5690 | CameraEnshaking(7,30) | |
5691 | MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal") | |
5692 | CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1) | |
5693 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5) | |
5694 | CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25) | |
5695 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1) | |
5696 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75) | |
5697 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1) | |
5698 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1) | |
5699 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1) | |
5700 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1) | |
5701 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5) | |
5702 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85) | |
5703 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1) | |
5704 | CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05) | |
5705 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5706 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5707 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5708 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5709 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5710 | for i = 0, 99 do | |
5711 | 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) | |
5712 | 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) | |
5713 | end | |
5714 | for i = 0, 24 do | |
5715 | 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) | |
5716 | 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) | |
5717 | 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) | |
5718 | 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) | |
5719 | 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) | |
5720 | end | |
5721 | game:GetService("Debris"):AddItem(orb, 10) | |
5722 | hum.WalkSpeed = storehumanoidWS | |
5723 | attack = false | |
5724 | end | |
5725 | ||
5726 | ||
5727 | function ViolentRing() | |
5728 | attack = true | |
5729 | CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1) | |
5730 | for i = 0, 2, 0.1 do | |
5731 | swait() | |
5732 | local snap = math.random(1,10) | |
5733 | if snap == 1 then | |
5734 | 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) | |
5735 | end | |
5736 | 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) | |
5737 | 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) | |
5738 | 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) | |
5739 | 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) | |
5740 | 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) | |
5741 | 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) | |
5742 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6) | |
5743 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4) | |
5744 | 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) | |
5745 | RootPart.CFrame = FaceMouse()[1] | |
5746 | end | |
5747 | local orb = Instance.new("Part", char) | |
5748 | orb.BrickColor = MAINRUINCOLOR | |
5749 | orb.CanCollide = false | |
5750 | orb.FormFactor = 3 | |
5751 | orb.Name = "Ring" | |
5752 | orb.Material = "Neon" | |
5753 | orb.Size = Vector3.new(1, 1, 1) | |
5754 | orb.Transparency = 0 | |
5755 | orb.TopSurface = 0 | |
5756 | orb.BottomSurface = 0 | |
5757 | local orbm = Instance.new("SpecialMesh", orb) | |
5758 | orbm.MeshType = "Sphere" | |
5759 | orbm.Name = "SizeMesh" | |
5760 | orbm.Scale = vt(2,2,2) | |
5761 | orb.CFrame = mouse.Hit | |
5762 | local bv = Instance.new("BodyVelocity") | |
5763 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
5764 | bv.velocity = orb.CFrame.lookVector*100 | |
5765 | bv.Parent = orb | |
5766 | local hitted = false | |
5767 | coroutine.resume(coroutine.create(function() | |
5768 | game:GetService("Debris"):AddItem(orb, 5) | |
5769 | orb.Transparency = 1 | |
5770 | orb.Anchored = true | |
5771 | local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
5772 | elocacenter.Anchored = true | |
5773 | elocacenter.CFrame = orb.CFrame | |
5774 | elocacenter.Orientation = vt(0,0,0) | |
5775 | local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
5776 | eloca1.Anchored = true | |
5777 | eloca1.CFrame = elocacenter.CFrame | |
5778 | local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
5779 | eloca2.Anchored = true | |
5780 | eloca2.CFrame = elocacenter.CFrame | |
5781 | local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
5782 | eloca3.Anchored = true | |
5783 | eloca3.CFrame = elocacenter.CFrame | |
5784 | local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
5785 | eloca4.Anchored = true | |
5786 | eloca4.CFrame = elocacenter.CFrame | |
5787 | local lookavec = 0 | |
5788 | local speeds = 0 | |
5789 | CameraEnshaking(1,1) | |
5790 | CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1) | |
5791 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5792 | sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5793 | sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5794 | sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5795 | sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5796 | for i = 0, 24 do | |
5797 | swait() | |
5798 | lookavec = lookavec + 3.5 | |
5799 | speeds = speeds + 1 | |
5800 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
5801 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
5802 | PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
5803 | ||
5804 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
5805 | 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) | |
5806 | ||
5807 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
5808 | 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) | |
5809 | ||
5810 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
5811 | 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) | |
5812 | end | |
5813 | ||
5814 | local risen = 0 | |
5815 | for i = 0, 49 do | |
5816 | swait() | |
5817 | risen = risen + 0.05 | |
5818 | speeds = speeds + 0.1 | |
5819 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
5820 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
5821 | 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) | |
5822 | ||
5823 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
5824 | 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) | |
5825 | ||
5826 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
5827 | 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) | |
5828 | ||
5829 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
5830 | 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) | |
5831 | end | |
5832 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do | |
5833 | if v:FindFirstChild('Head') then | |
5834 | dmg(v) | |
5835 | end | |
5836 | end | |
5837 | CameraEnshaking(4,10) | |
5838 | MagniDamage(elocacenter, 150, 50,75, 0, "Normal") | |
5839 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1) | |
5840 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75) | |
5841 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1) | |
5842 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1) | |
5843 | CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05) | |
5844 | sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR) | |
5845 | sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR) | |
5846 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5847 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5848 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5849 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5850 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5851 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR) | |
5852 | for i = 0, 24 do | |
5853 | 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) | |
5854 | sphereMK(4,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) | |
5855 | sphereMK(6,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) | |
5856 | sphereMK(8,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) | |
5857 | end | |
5858 | coroutine.resume(coroutine.create(function() | |
5859 | wait(10) | |
5860 | elocacenter:Destroy() | |
5861 | eloca1:Destroy() | |
5862 | eloca2:Destroy() | |
5863 | eloca3:Destroy() | |
5864 | eloca4:Destroy() | |
5865 | end)) | |
5866 | end)) | |
5867 | attack = false | |
5868 | end | |
5869 | ||
5870 | function UniversalCollapse() | |
5871 | attack = true | |
5872 | local speedearn = 0 | |
5873 | hum.WalkSpeed = 0 | |
5874 | local sbs = Instance.new("BodyPosition", root) | |
5875 | sbs.P = 3000 | |
5876 | sbs.D = 1000 | |
5877 | sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000) | |
5878 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0) | |
5879 | CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1) | |
5880 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1) | |
5881 | for i = 0, 110, 0.1 do | |
5882 | swait() | |
5883 | speedearn = speedearn + 0.1 | |
5884 | 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) | |
5885 | 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) | |
5886 | 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) | |
5887 | 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) | |
5888 | 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) | |
5889 | sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR) | |
5890 | 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) | |
5891 | 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) | |
5892 | 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) | |
5893 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
5894 | 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) | |
5895 | 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) | |
5896 | end | |
5897 | CameraEnshaking(5,50) | |
5898 | sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR) | |
5899 | for i = 0, 2 do | |
5900 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1) | |
5901 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75) | |
5902 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1) | |
5903 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1) | |
5904 | end | |
5905 | for i = 0, 49 do | |
5906 | 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) | |
5907 | 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) | |
5908 | 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) | |
5909 | 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) | |
5910 | end | |
5911 | sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
5912 | sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
5913 | sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
5914 | sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
5915 | sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
5916 | sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR) | |
5917 | sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5918 | sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5919 | sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5920 | sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5921 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5922 | sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5923 | for i = 0, 99 do | |
5924 | 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) | |
5925 | 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) | |
5926 | end | |
5927 | for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do | |
5928 | if v:FindFirstChild('Head') then | |
5929 | dmg(v) | |
5930 | end | |
5931 | end | |
5932 | MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal") | |
5933 | sbs:Destroy() | |
5934 | hum.WalkSpeed = storehumanoidWS | |
5935 | attack = false | |
5936 | end | |
5937 | ||
5938 | function th1rt3en_trans() | |
5939 | storehumanoidWS = 275 | |
5940 | hum.WalkSpeed = 0 | |
5941 | attack=true | |
5942 | newThemeCust("rbxassetid://723652641",0,1,1.25) | |
5943 | ||
5944 | repeat | |
5945 | swait() | |
5946 | local snap = math.random(1,10) | |
5947 | if snap == 1 then | |
5948 | 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) | |
5949 | end | |
5950 | 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) | |
5951 | 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) | |
5952 | 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) | |
5953 | 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) | |
5954 | RW.C0=clerp(RW.C0,cf(1.5,.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) | |
5955 | 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) | |
5956 | ||
5957 | until kan.TimePosition > 2.4 | |
5958 | for i = 0, 5, .1 do | |
5959 | swait() | |
5960 | 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)),.4) | |
5961 | 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)),.4) | |
5962 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4) | |
5963 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4) | |
5964 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4) | |
5965 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4) | |
5966 | modet.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15)) | |
5967 | modet.Rotation = -2 * math.cos(sine / 1) + math.random(-10,10) | |
5968 | fullscreenz.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15)) | |
5969 | end | |
5970 | ||
5971 | repeat | |
5972 | swait() | |
5973 | modet.Position = UDim2.new(0,0,0,0) | |
5974 | fullscreenz.Position = UDim2.new(0,0,0,0) | |
5975 | modet.Rotation = -5 * math.cos(sine / 32) | |
5976 | 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) | |
5977 | 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) | |
5978 | 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) | |
5979 | 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) | |
5980 | RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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) | |
5981 | LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45))),.1) | |
5982 | until kan.TimePosition > 6.5 | |
5983 | for i = 0, 5, .1 do | |
5984 | swait() | |
5985 | 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)),.4) | |
5986 | 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)),.4) | |
5987 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4) | |
5988 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4) | |
5989 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4) | |
5990 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4) | |
5991 | modet.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15)) | |
5992 | modet.Rotation = -2 * math.cos(sine / 1) + math.random(-10,10) | |
5993 | fullscreenz.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15)) | |
5994 | end | |
5995 | bosschatfunc("Look at my hands..",MAINRUINCOLOR.Color,2) | |
5996 | for i = 0, 10, .1 do | |
5997 | modet.Position = UDim2.new(0,0,0,0) | |
5998 | modet.Rotation = -5 * math.cos(sine / 32) | |
5999 | fullscreenz.Position = UDim2.new(0,0,0,0) | |
6000 | swait() | |
6001 | 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) | |
6002 | 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) | |
6003 | 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) | |
6004 | 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)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1) | |
6005 | RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-13 + 9 * math.cos(sine / 45)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1) | |
6006 | LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1) | |
6007 | end | |
6008 | bosschatfunc("They're shaking..",MAINRUINCOLOR.Color,2) | |
6009 | for i = 0, 6, .1 do | |
6010 | swait() | |
6011 | 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) | |
6012 | 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) | |
6013 | 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) | |
6014 | 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1) | |
6015 | RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-13 + 9 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1) | |
6016 | LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1) | |
6017 | end | |
6018 | bosschatfunc("All my body is shaking..",MAINRUINCOLOR.Color,2) | |
6019 | for i = 0, 24, .1 do | |
6020 | swait() | |
6021 | 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) | |
6022 | 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) | |
6023 | 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) | |
6024 | 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1) | |
6025 | RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1) | |
6026 | LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1) | |
6027 | end | |
6028 | bosschatfunc("He was there!",MAINRUINCOLOR.Color,2) | |
6029 | for i = 0, 5, .1 do | |
6030 | swait() | |
6031 | 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(-22 - 2 * math.cos(sine / 32))),.1) | |
6032 | 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(-10 + 2 * math.cos(sine / 32))),.1) | |
6033 | 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(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1) | |
6034 | 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1) | |
6035 | RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(0))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1) | |
6036 | LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1) | |
6037 | end | |
6038 | for i = 0, 6, .1 do | |
6039 | swait() | |
6040 | 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) | |
6041 | 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) | |
6042 | 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) | |
6043 | 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1) | |
6044 | RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1) | |
6045 | LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1) | |
6046 | end | |
6047 | bosschatfunc("But I was watching him, through the mirror..",MAINRUINCOLOR.Color,2) | |
6048 | for i = 0, 9, .1 do | |
6049 | swait() | |
6050 | 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) | |
6051 | 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) | |
6052 | 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) | |
6053 | 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1) | |
6054 | RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1) | |
6055 | LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1) | |
6056 | end | |
6057 | bosschatfunc("I knew he was looking at me..",MAINRUINCOLOR.Color,2) | |
6058 | for i = 0, 11, .1 do | |
6059 | swait() | |
6060 | 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)),.4) | |
6061 | 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)),.4) | |
6062 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4) | |
6063 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4) | |
6064 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4) | |
6065 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4) | |
6066 | end | |
6067 | bosschatfunc("Two invisible eyes..",MAINRUINCOLOR.Color,2) | |
6068 | for i = 0, 10, .1 do | |
6069 | swait() | |
6070 | 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)),.4) | |
6071 | 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)),.4) | |
6072 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4) | |
6073 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4) | |
6074 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4) | |
6075 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4) | |
6076 | end | |
6077 | local inc = 0 | |
6078 | bosschatfunc("Two invisible--",MAINRUINCOLOR.Color,2) | |
6079 | for i = 0, 6, .1 do | |
6080 | swait() | |
6081 | inc=inc+1 | |
6082 | fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10) | |
6083 | 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(50)),.4) | |
6084 | 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(-50)),.4) | |
6085 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(50),math.rad(0),math.rad(0)),.4) | |
6086 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4) | |
6087 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4) | |
6088 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4) | |
6089 | end | |
6090 | CFuncs.Sound.Create('rbxassetid://363808674',Head,3,1.25) | |
6091 | for i = 0, 3, .1 do | |
6092 | swait() | |
6093 | inc=inc+1 | |
6094 | fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10) | |
6095 | 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)),.4) | |
6096 | 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)),.4) | |
6097 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4) | |
6098 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(-20),math.rad(0 - 5 * math.cos(sine / 0.2))),.4) | |
6099 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4) | |
6100 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(40)),.4) | |
6101 | end | |
6102 | CFuncs.Sound.Create('rbxassetid://363808674',Head,3,1.1) | |
6103 | for i = 0, 3, .1 do | |
6104 | swait() | |
6105 | inc=inc+1 | |
6106 | fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10) | |
6107 | 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)),.4) | |
6108 | 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)),.4) | |
6109 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4) | |
6110 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(20),math.rad(0 - 5 * math.cos(sine / 0.2))),.4) | |
6111 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-40)),.4) | |
6112 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4) | |
6113 | end | |
6114 | for i = 0, 6, .1 do | |
6115 | swait() | |
6116 | inc=inc+5 | |
6117 | fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10) | |
6118 | 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)),.4) | |
6119 | 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)),.4) | |
6120 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4) | |
6121 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),0,math.rad(0 - 10 * math.cos(sine / 0.03))),.4) | |
6122 | RW.C0=clerp(RW.C0,cf(1.5,0.4,0)*angles(math.rad(30),math.rad(0),0),.4) | |
6123 | LW.C0=clerp(LW.C0,cf(-1.5,0.4,0)*angles(math.rad(30),math.rad(0),0),.4) | |
6124 | end | |
6125 | fullscreenz.Position = UDim2.new(0,0,0,0) | |
6126 | attack=false | |
6127 | MAINRUINCOLOR = BrickColor.new("Really black") | |
6128 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
6129 | for i = 0, 49 do | |
6130 | 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) | |
6131 | end | |
6132 | for i = 0, 24 do | |
6133 | 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) | |
6134 | 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")) | |
6135 | end | |
6136 | for i = 0,3,0.1 do | |
6137 | 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) | |
6138 | end | |
6139 | currentVol=5 | |
6140 | Humanoid.WalkSpeed = storehumanoidWS | |
6141 | ModeOfGlitch = 738 | |
6142 | rainbowmode = false | |
6143 | chaosmode = false | |
6144 | RecolorTextAndRename("INFINITE",Color3.new(0.1,.1,.1),BrickColor.new("Really black").Color,"Antique") | |
6145 | ||
6146 | MAINRUINCOLOR = BrickColor.new("Really black") | |
6147 | warnedpeople("DEPTHS OF HELL!!!","Antique",BrickColor.new("Dark stone grey").Color,BrickColor.new("Really black").Color) | |
6148 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.9,BrickColor.new("Dark stone grey"),0,BrickColor.new("Black"),true) | |
6149 | end | |
6150 | ||
6151 | function hugg() | |
6152 | attack = true | |
6153 | hum.WalkSpeed = 5 | |
6154 | local rsiz = math.random(5,15) | |
6155 | for i = 0, 2, 0.1 do | |
6156 | swait() | |
6157 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) | |
6158 | 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) | |
6159 | 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(0)),.3) | |
6160 | 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) | |
6161 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3) | |
6162 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3) | |
6163 | end | |
6164 | CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1) | |
6165 | local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
6166 | hb.Anchored = true | |
6167 | hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2 | |
6168 | local huggedperson = nil | |
6169 | local act = false | |
6170 | local alreadydid = false | |
6171 | for i = 0, 3, 0.1 do | |
6172 | swait() | |
6173 | if act == false then | |
6174 | for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do | |
6175 | if v:FindFirstChild('Head') then | |
6176 | if alreadydid == false then | |
6177 | huggedperson = v | |
6178 | hum.WalkSpeed = 0 | |
6179 | CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1) | |
6180 | CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15) | |
6181 | CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1) | |
6182 | CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1) | |
6183 | local radm = math.random(1,3) | |
6184 | if radm == 1 then | |
6185 | bosschatfunc2("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1) | |
6186 | elseif radm == 2 then | |
6187 | bosschatfunc2("I..I'm interested in you..",MAINRUINCOLOR.Color,1) | |
6188 | elseif radm == 3 then | |
6189 | bosschatfunc2("Don't worry.. I'm with you..",MAINRUINCOLOR.Color,1) | |
6190 | end | |
6191 | root.Anchored = true | |
6192 | coroutine.resume(coroutine.create(function() | |
6193 | huggedperson:FindFirstChildOfClass("Humanoid").WalkSpeed = 0 | |
6194 | huggedperson:WaitForChild("HumanoidRootPart").Anchored = true | |
6195 | end)) | |
6196 | chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1) | |
6197 | alreadydid = true | |
6198 | act = true | |
6199 | print(huggedperson.Name) | |
6200 | end | |
6201 | end | |
6202 | end | |
6203 | hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2 | |
6204 | 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) | |
6205 | elseif act == true then | |
6206 | coroutine.resume(coroutine.create(function() | |
6207 | huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2 | |
6208 | end)) | |
6209 | 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) | |
6210 | huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0) | |
6211 | end | |
6212 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) | |
6213 | 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) | |
6214 | 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(0)),.3) | |
6215 | RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3) | |
6216 | LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3) | |
6217 | end | |
6218 | hb:Destroy() | |
6219 | if act == true then | |
6220 | for x = 0, 2 do | |
6221 | for i = 0, 2, 0.1 do | |
6222 | swait() | |
6223 | coroutine.resume(coroutine.create(function() | |
6224 | huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2 | |
6225 | end)) | |
6226 | rsiz = math.random(5,15) | |
6227 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(45)),.1) | |
6228 | huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0) | |
6229 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) | |
6230 | 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) | |
6231 | 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(0)),.3) | |
6232 | RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3) | |
6233 | LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3) | |
6234 | end | |
6235 | for i = 0, 2, 0.1 do | |
6236 | swait() | |
6237 | coroutine.resume(coroutine.create(function() | |
6238 | huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2 | |
6239 | end)) | |
6240 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(35)),.1) | |
6241 | huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0) | |
6242 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3) | |
6243 | 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) | |
6244 | 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(0)),.3) | |
6245 | RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3) | |
6246 | LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3) | |
6247 | end | |
6248 | end | |
6249 | end | |
6250 | hum.WalkSpeed = storehumanoidWS | |
6251 | root.Anchored = false | |
6252 | if act == true then | |
6253 | coroutine.resume(coroutine.create(function() | |
6254 | huggedperson:FindFirstChildOfClass("Humanoid").WalkSpeed = 16 | |
6255 | huggedperson:WaitForChild("HumanoidRootPart").Anchored = false | |
6256 | end)) | |
6257 | end | |
6258 | hum.WalkSpeed = storehumanoidWS | |
6259 | attack = false | |
6260 | end | |
6261 | ||
6262 | function lovesqueal() | |
6263 | attack = true | |
6264 | hum.WalkSpeed = 0 | |
6265 | CFuncs["Sound"].Create("rbxassetid://2500548008", root, 1, 1) | |
6266 | local blush = Instance.new("Decal",hed) | |
6267 | blush.Texture = "rbxassetid://898404027" | |
6268 | blush.Face = "Front" | |
6269 | for i = 0, 11, 0.1 do | |
6270 | swait() | |
6271 | 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),math.rad(20 - 2 * math.cos(sine / 32))),.1) | |
6272 | 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(6),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 32))),.1) | |
6273 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.2 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(20 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
6274 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20 - 5 * math.cos(sine / 37)),math.rad(0 + 14 * math.cos(sine / 58)),math.rad(0)),.1) | |
6275 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(3 + 3 * math.cos(sine / 45))),.1) | |
6276 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1) | |
6277 | end | |
6278 | for x = 0, 1 do | |
6279 | for i = 0, 1, 0.2 do | |
6280 | swait() | |
6281 | 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),math.rad(-5 - 2 * math.cos(sine / 32))),.3) | |
6282 | 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(6),math.rad(0),math.rad(5 + 2 * math.cos(sine / 32))),.3) | |
6283 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.05 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(-5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.3) | |
6284 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 5 * math.cos(sine / 37)),math.rad(0 + 14 * math.cos(sine / 58)),math.rad(0)),.1) | |
6285 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(3 + 3 * math.cos(sine / 45))),.1) | |
6286 | LW.C0=clerp(LW.C0,cf(-1,0.75 + 0.025 * math.cos(sine / 45),-0.6)*angles(math.rad(140 - 3 * math.cos(sine / 73)),math.rad(5 - 1 * math.cos(sine / 55)),math.rad(80 - 3 * math.cos(sine / 45))),.3) | |
6287 | end | |
6288 | for i = 0, 1, 0.2 do | |
6289 | swait() | |
6290 | RH.C0=clerp(RH.C0,cf(1,-1.025 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 32))),.3) | |
6291 | LH.C0=clerp(LH.C0,cf(-1,-1.025 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(6),math.rad(0),math.rad(5 + 2 * math.cos(sine / 32))),.3) | |
6292 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.05 + 0.02 * math.cos(sine / 32),0.025 + 0.05 * math.cos(sine / 32))*angles(math.rad(-5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.3) | |
6293 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 5 * math.cos(sine / 37)),math.rad(0 + 14 * math.cos(sine / 58)),math.rad(0)),.1) | |
6294 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(3 + 3 * math.cos(sine / 45))),.1) | |
6295 | LW.C0=clerp(LW.C0,cf(-1,0.8 + 0.025 * math.cos(sine / 45),-0.6)*angles(math.rad(140 - 3 * math.cos(sine / 73)),math.rad(5 - 1 * math.cos(sine / 55)),math.rad(80 - 3 * math.cos(sine / 45))),.3) | |
6296 | end | |
6297 | end | |
6298 | coroutine.resume(coroutine.create(function() | |
6299 | for i = 0, 49 do | |
6300 | swait() | |
6301 | blush.Transparency = blush.Transparency + 0.02 | |
6302 | end | |
6303 | blush:Destroy() | |
6304 | end)) | |
6305 | attack = false | |
6306 | hum.WalkSpeed = storehumanoidWS | |
6307 | end | |
6308 | ||
6309 | function cutesigh() | |
6310 | attack = true | |
6311 | hum.WalkSpeed = 0 | |
6312 | hum.JumpPower = 0 | |
6313 | bosschatfunc2("sigh~~",MAINRUINCOLOR.Color,1) | |
6314 | local blush = Instance.new("Decal",hed) | |
6315 | blush.Texture = "rbxassetid://898404027" | |
6316 | blush.Face = "Front" | |
6317 | CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1) | |
6318 | for i = 0, 9, 0.1 do | |
6319 | swait() | |
6320 | 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(25 + 1 * math.cos(sine / 34))),.2) | |
6321 | 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(-35 + 1 * math.cos(sine / 34))),.2) | |
6322 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.35,-0.175 + 0.05 * math.cos(sine / 28))*angles(math.rad(35),math.rad(0),math.rad(0)),.2) | |
6323 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 - 2.5 * math.cos(sine / 28)),math.rad(10 + 2.5 * math.cos(sine / 75)),math.rad(0)),.2) | |
6324 | RW.C0=clerp(RW.C0,cf(1.35,0.45 + 0.025 * math.cos(sine / 28),-0.2)*angles(math.rad(40),math.rad(0),math.rad(-1)),.2) | |
6325 | LW.C0=clerp(LW.C0,cf(-1.35,0.45 + 0.025 * math.cos(sine / 28),-0.2)*angles(math.rad(40),math.rad(0),math.rad(3)),.2) | |
6326 | end | |
6327 | coroutine.resume(coroutine.create(function() | |
6328 | for i = 0, 49 do | |
6329 | swait() | |
6330 | blush.Transparency = blush.Transparency + 0.02 | |
6331 | end | |
6332 | blush:Destroy() | |
6333 | end)) | |
6334 | hum.WalkSpeed = storehumanoidWS | |
6335 | hum.JumpPower = 50 | |
6336 | attack = false | |
6337 | end | |
6338 | ||
6339 | ||
6340 | ||
6341 | function ChaosEND() | |
6342 | attack = true | |
6343 | local speedearn = 0 | |
6344 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5) | |
6345 | for i = 0, 15, 0.1 do | |
6346 | swait() | |
6347 | speedearn = speedearn + 0.25 | |
6348 | 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) | |
6349 | 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) | |
6350 | 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) | |
6351 | 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) | |
6352 | 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) | |
6353 | 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) | |
6354 | 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) | |
6355 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
6356 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
6357 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
6358 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
6359 | end | |
6360 | CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1) | |
6361 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1) | |
6362 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75) | |
6363 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5) | |
6364 | CameraEnshaking(5,25) | |
6365 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
6366 | if v:FindFirstChild('Head') then | |
6367 | dmg(v) | |
6368 | end | |
6369 | end | |
6370 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random()) | |
6371 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random()) | |
6372 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random()) | |
6373 | for i = 0, 3, 0.1 do | |
6374 | swait() | |
6375 | 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) | |
6376 | 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) | |
6377 | 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) | |
6378 | 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) | |
6379 | 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) | |
6380 | 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) | |
6381 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
6382 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
6383 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
6384 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
6385 | end | |
6386 | attack = false | |
6387 | end | |
6388 | ||
6389 | function createBGCircle(size,parent,color) | |
6390 | local bgui = Instance.new("BillboardGui",parent) | |
6391 | bgui.Size = UDim2.new(size, 0, size, 0) | |
6392 | local imgc = Instance.new("ImageLabel",bgui) | |
6393 | imgc.BackgroundTransparency = 1 | |
6394 | imgc.ImageTransparency = 0 | |
6395 | imgc.Size = UDim2.new(1,0,1,0) | |
6396 | imgc.Image = "rbxassetid://997291547" --997291547,521073910 | |
6397 | imgc.ImageColor3 = color | |
6398 | return bgui,imgc | |
6399 | end | |
6400 | ||
6401 | ||
6402 | function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay) | |
6403 | local bgui,imgc = createBGCircle(size,guipar,color) | |
6404 | bgui.AlwaysOnTop = true | |
6405 | imgc.Image = "rbxassetid://" ..img | |
6406 | local rrot = math.random(1,2) | |
6407 | CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit) | |
6408 | coroutine.resume(coroutine.create(function() | |
6409 | for i = 0, 24*delay do | |
6410 | swait() | |
6411 | if rotationenabled == true then | |
6412 | if rrot == 1 then | |
6413 | imgc.Rotation = imgc.Rotation + rotsp | |
6414 | elseif rrot == 2 then | |
6415 | imgc.Rotation = imgc.Rotation - rotsp | |
6416 | end | |
6417 | end | |
6418 | bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0) | |
6419 | imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay | |
6420 | end | |
6421 | bgui:Destroy() | |
6422 | end)) | |
6423 | end | |
6424 | function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled) | |
6425 | for i, v in pairs(mw2:GetChildren()) do | |
6426 | if v:IsA("Part") then | |
6427 | v.BrickColor = one | |
6428 | v.Material = "Neon" | |
6429 | end | |
6430 | end | |
6431 | CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1) | |
6432 | symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1) | |
6433 | symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1) | |
6434 | tr1.Color = ColorSequence.new(one.Color) | |
6435 | tr2.Color = ColorSequence.new(one.Color) | |
6436 | tr3.Color = ColorSequence.new(one.Color) | |
6437 | for i, v in pairs(mw1:GetChildren()) do | |
6438 | if v:IsA("Part") then | |
6439 | if secondaryenabled == false then | |
6440 | v.Transparency = 1 | |
6441 | elseif secondaryenabled == true then | |
6442 | v.Transparency = 0 | |
6443 | end | |
6444 | v.BrickColor = two | |
6445 | v.Material = "Neon" | |
6446 | end | |
6447 | end | |
6448 | if secondaryenabled == false then | |
6449 | tl1.Enabled = false | |
6450 | tl2.Enabled = false | |
6451 | tl3.Enabled = false | |
6452 | elseif secondaryenabled == true then | |
6453 | tl1.Enabled = true | |
6454 | tl2.Enabled = true | |
6455 | tl3.Enabled = true | |
6456 | end | |
6457 | tl1.Color = ColorSequence.new(two.Color) | |
6458 | tl2.Color = ColorSequence.new(two.Color) | |
6459 | tl3.Color = ColorSequence.new(two.Color) | |
6460 | for i, v in pairs(m:GetChildren()) do | |
6461 | if v:IsA("Part") then | |
6462 | v.BrickColor = three | |
6463 | v.Material = "Ice" | |
6464 | end | |
6465 | end | |
6466 | for i, v in pairs(m2:GetChildren()) do | |
6467 | if v:IsA("Part") then | |
6468 | v.BrickColor = four | |
6469 | v.Material = "Ice" | |
6470 | end | |
6471 | end | |
6472 | for i, v in pairs(m3:GetChildren()) do | |
6473 | if v:IsA("Part") then | |
6474 | v.BrickColor = five | |
6475 | v.Material = "Neon" | |
6476 | end | |
6477 | end | |
6478 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6479 | if v:IsA("Part") then | |
6480 | v.Transparency = exonetran | |
6481 | v.BrickColor = exone | |
6482 | v.Material = "Neon" | |
6483 | end | |
6484 | end | |
6485 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6486 | if v:IsA("Part") then | |
6487 | v.Transparency = extwotran | |
6488 | v.BrickColor = extwo | |
6489 | v.Material = "Neon" | |
6490 | end | |
6491 | end | |
6492 | end | |
6493 | ||
6494 | ||
6495 | function normalmog() | |
6496 | attack = true | |
6497 | hum.WalkSpeed = 0 | |
6498 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25) | |
6499 | for i = 0,6,0.1 do | |
6500 | swait() | |
6501 | 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) | |
6502 | 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) | |
6503 | 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) | |
6504 | 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) | |
6505 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
6506 | 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) | |
6507 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
6508 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
6509 | end | |
6510 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1) | |
6511 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1) | |
6512 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1) | |
6513 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75) | |
6514 | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1) | |
6515 | CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1) | |
6516 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1) | |
6517 | rainbowmode = false | |
6518 | chaosmode = false | |
6519 | ModeOfGlitch = 1 | |
6520 | storehumanoidWS = 16 | |
6521 | newTheme("rbxassetid://614032233",48.6,1,1.25) | |
6522 | RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique") | |
6523 | CameraEnshaking(5,2.5) | |
6524 | MAINRUINCOLOR = BrickColor.new("Really red") | |
6525 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
6526 | for i = 0, 49 do | |
6527 | 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) | |
6528 | end | |
6529 | for i = 0, 24 do | |
6530 | 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) | |
6531 | 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")) | |
6532 | end | |
6533 | for i = 0,3,0.1 do | |
6534 | 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) | |
6535 | end | |
6536 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false) | |
6537 | for i = 0,2,0.1 do | |
6538 | swait() | |
6539 | 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)),.5) | |
6540 | 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) | |
6541 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) | |
6542 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5) | |
6543 | RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5) | |
6544 | 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) | |
6545 | end | |
6546 | hum.WalkSpeed = storehumanoidWS | |
6547 | attack = false | |
6548 | end | |
6549 | ||
6550 | function attackone() | |
6551 | attack = true | |
6552 | for i = 0,1,0.1 do | |
6553 | swait() | |
6554 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2) | |
6555 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2) | |
6556 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
6557 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
6558 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2) | |
6559 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2) | |
6560 | end | |
6561 | CFuncs["Sound"].Create("rbxassetid://1448033299", root, 1, 1) | |
6562 | ||
6563 | local hitb = Instance.new("Part", char) | |
6564 | hitb.Anchored = true | |
6565 | hitb.CanCollide = false | |
6566 | hitb.FormFactor = 3 | |
6567 | hitb.Name = "Ring" | |
6568 | hitb.Material = "Neon" | |
6569 | hitb.Size = Vector3.new(1, 1, 1) | |
6570 | hitb.Transparency = 1 | |
6571 | hitb.TopSurface = 0 | |
6572 | hitb.BottomSurface = 0 | |
6573 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
6574 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
6575 | hitb:Destroy() | |
6576 | for i = 0,1,0.1 do | |
6577 | swait() | |
6578 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4) | |
6579 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4) | |
6580 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4) | |
6581 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4) | |
6582 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-40)),.4) | |
6583 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-10)),.4) | |
6584 | end | |
6585 | ||
6586 | attack = false | |
6587 | end | |
6588 | ||
6589 | function attacktwo() | |
6590 | attack = true | |
6591 | for i = 0,1,0.1 do | |
6592 | swait() | |
6593 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2) | |
6594 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2) | |
6595 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
6596 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
6597 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2) | |
6598 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2) | |
6599 | end | |
6600 | CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1) | |
6601 | local hitb = Instance.new("Part", char) | |
6602 | hitb.Anchored = true | |
6603 | hitb.CanCollide = false | |
6604 | hitb.FormFactor = 3 | |
6605 | hitb.Name = "Ring" | |
6606 | hitb.Material = "Neon" | |
6607 | hitb.Size = Vector3.new(1, 1, 1) | |
6608 | hitb.Transparency = 1 | |
6609 | hitb.TopSurface = 0 | |
6610 | hitb.BottomSurface = 0 | |
6611 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
6612 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
6613 | hitb:Destroy() | |
6614 | for i = 0,1,0.1 do | |
6615 | swait() | |
6616 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4) | |
6617 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4) | |
6618 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4) | |
6619 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4) | |
6620 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-40)),.4) | |
6621 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-10)),.4) | |
6622 | end | |
6623 | attack = false | |
6624 | end | |
6625 | ||
6626 | function attackthree() | |
6627 | attack = true | |
6628 | for i = 0,1,0.1 do | |
6629 | swait() | |
6630 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2) | |
6631 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2) | |
6632 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
6633 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
6634 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2) | |
6635 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2) | |
6636 | end | |
6637 | CFuncs["Sound"].Create("rbxassetid://1690476035", root, 1, 1) | |
6638 | ||
6639 | local hitb = Instance.new("Part", char) | |
6640 | hitb.Anchored = true | |
6641 | hitb.CanCollide = false | |
6642 | hitb.FormFactor = 3 | |
6643 | hitb.Name = "Ring" | |
6644 | hitb.Material = "Neon" | |
6645 | hitb.Size = Vector3.new(1, 1, 1) | |
6646 | hitb.Transparency = 1 | |
6647 | hitb.TopSurface = 0 | |
6648 | hitb.BottomSurface = 0 | |
6649 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
6650 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
6651 | hitb:Destroy() | |
6652 | for i = 0,1,0.1 do | |
6653 | swait() | |
6654 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4) | |
6655 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4) | |
6656 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4) | |
6657 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4) | |
6658 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-40)),.4) | |
6659 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-10)),.4) | |
6660 | end | |
6661 | attack = false | |
6662 | end | |
6663 | ----------------------------------- Abilities | |
6664 | function ExtinctiveHeartbreak() | |
6665 | local targetted = nil | |
6666 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
6667 | targetted = mouse.Target.Parent | |
6668 | end | |
6669 | if targetted ~= nil then | |
6670 | attack = true | |
6671 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
6672 | for i = 0, 9 do | |
6673 | --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) | |
6674 | end | |
6675 | for i = 0, 24 do | |
6676 | -- | |
6677 | end | |
6678 | --sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red")) | |
6679 | local originalpos = root.CFrame | |
6680 | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2) | |
6681 | for i = 0, 9 do | |
6682 | --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) | |
6683 | end | |
6684 | for i = 0, 24 do | |
6685 | end | |
6686 | hum.WalkSpeed = 0 | |
6687 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red")) | |
6688 | local radm = math.random(1,3) | |
6689 | if radm == 1 then | |
6690 | bosschatfunc("👎□ ⍓□◆ ⧫♒♓■& ⍓□◆ ♍♋■ ♏⬧♍♋◻♏✍",MAINRUINCOLOR.Color,2) | |
6691 | elseif radm == 2 then | |
6692 | bosschatfunc("GOTCHA!",MAINRUINCOLOR.Color,2) | |
6693 | elseif radm == 3 then | |
6694 | bosschatfunc("DIE!",MAINRUINCOLOR.Color,2) | |
6695 | end | |
6696 | for i = 0,2,0.1 do | |
6697 | swait() | |
6698 | 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) | |
6699 | 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) | |
6700 | 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) | |
6701 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8) | |
6702 | 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) | |
6703 | 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) | |
6704 | end | |
6705 | CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1) | |
6706 | CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1) | |
6707 | for i = 0,2,0.1 do | |
6708 | swait() | |
6709 | coroutine.resume(coroutine.create(function() | |
6710 | targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0) | |
6711 | for i,v in pairs(targetted:GetChildren()) do | |
6712 | if v:IsA("Part") or v:IsA("MeshPart") then | |
6713 | v.Velocity = vt(0,0,0) | |
6714 | end | |
6715 | end | |
6716 | end)) | |
6717 | 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) | |
6718 | 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) | |
6719 | 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) | |
6720 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8) | |
6721 | 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) | |
6722 | 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) | |
6723 | end | |
6724 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1) | |
6725 | CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1) | |
6726 | for i = 0, 1 do | |
6727 | CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1) | |
6728 | end | |
6729 | CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1) | |
6730 | chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75) | |
6731 | for i = 0,4,0.1 do | |
6732 | swait() | |
6733 | coroutine.resume(coroutine.create(function() | |
6734 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
6735 | 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))) | |
6736 | local at1 = Instance.new("Attachment",dis) | |
6737 | at1.Position = vt(-25000,0,0) | |
6738 | local at2 = Instance.new("Attachment",dis) | |
6739 | at2.Position = vt(25000,0,0) | |
6740 | local trl = Instance.new('Trail',dis) | |
6741 | trl.Attachment0 = at1 | |
6742 | trl.FaceCamera = true | |
6743 | trl.Attachment1 = at2 | |
6744 | trl.Texture = "rbxassetid://1049219073" | |
6745 | trl.LightEmission = 1 | |
6746 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
6747 | trl.Color = ColorSequence.new(Color3.new(1,0,0)) | |
6748 | trl.Lifetime = 5 | |
6749 | local bv = Instance.new("BodyVelocity") | |
6750 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
6751 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
6752 | bv.Parent = dis | |
6753 | game:GetService("Debris"):AddItem(dis, 5) | |
6754 | targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0) | |
6755 | CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1) | |
6756 | CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1) | |
6757 | CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150) | |
6758 | CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150) | |
6759 | CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75) | |
6760 | 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) | |
6761 | targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5) | |
6762 | for i = 0, 2 do | |
6763 | --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")) | |
6764 | end | |
6765 | 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) | |
6766 | for i,v in pairs(targetted:GetChildren()) do | |
6767 | if v:IsA("Part") or v:IsA("MeshPart") then | |
6768 | v.Velocity = vt(0,0,0) | |
6769 | end | |
6770 | end | |
6771 | end)) | |
6772 | hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25) | |
6773 | 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) | |
6774 | 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) | |
6775 | 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) | |
6776 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8) | |
6777 | 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) | |
6778 | 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) | |
6779 | end | |
6780 | hum.CameraOffset = vt(0,0,0) | |
6781 | for i = 0, 49 do | |
6782 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
6783 | 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))) | |
6784 | local at1 = Instance.new("Attachment",dis) | |
6785 | at1.Position = vt(-50000,0,0) | |
6786 | local at2 = Instance.new("Attachment",dis) | |
6787 | at2.Position = vt(50000,0,0) | |
6788 | local trl = Instance.new('Trail',dis) | |
6789 | trl.Attachment0 = at1 | |
6790 | trl.FaceCamera = true | |
6791 | trl.Attachment1 = at2 | |
6792 | trl.Texture = "rbxassetid://1049219073" | |
6793 | trl.LightEmission = 1 | |
6794 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
6795 | trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1)) | |
6796 | trl.Lifetime = 5 | |
6797 | local bv = Instance.new("BodyVelocity") | |
6798 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
6799 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
6800 | bv.Parent = dis | |
6801 | game:GetService("Debris"):AddItem(dis, 5) | |
6802 | end | |
6803 | for i = 0, 49 do | |
6804 | 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) | |
6805 | --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")) | |
6806 | end | |
6807 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1) | |
6808 | for i = 0, 1 do | |
6809 | CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9) | |
6810 | CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75) | |
6811 | end | |
6812 | for i = 0, 4 do | |
6813 | CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1) | |
6814 | end | |
6815 | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1) | |
6816 | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2) | |
6817 | symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4) | |
6818 | dmg(targetted) | |
6819 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
6820 | for i = 0, 9 do | |
6821 | --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) | |
6822 | end | |
6823 | for i = 0, 24 do | |
6824 | end | |
6825 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red")) | |
6826 | root.CFrame = originalpos | |
6827 | for i = 0, 9 do | |
6828 | --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) | |
6829 | end | |
6830 | for i = 0, 24 do | |
6831 | end | |
6832 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red")) | |
6833 | attack = false | |
6834 | hum.WalkSpeed = storehumanoidWS | |
6835 | end | |
6836 | end | |
6837 | ||
6838 | ||
6839 | function CorruptionEvent() | |
6840 | attack = true | |
6841 | hum.WalkSpeed = 0 | |
6842 | CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1) | |
6843 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1) | |
6844 | local keptcolor = MAINRUINCOLOR | |
6845 | for i = 0,4,0.1 do | |
6846 | swait() | |
6847 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
6848 | block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
6849 | 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) | |
6850 | 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) | |
6851 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1) | |
6852 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1) | |
6853 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1) | |
6854 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1) | |
6855 | end | |
6856 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1) | |
6857 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5) | |
6858 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3) | |
6859 | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1) | |
6860 | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1) | |
6861 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1) | |
6862 | CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1) | |
6863 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1) | |
6864 | hum.CameraOffset = vt(0,0,0) | |
6865 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
6866 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
6867 | for i = 0, 24 do | |
6868 | --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")) | |
6869 | end | |
6870 | local rrot = 0 | |
6871 | coroutine.resume(coroutine.create(function() | |
6872 | for i = 0, 4 do | |
6873 | rrot = rrot + 45 | |
6874 | local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
6875 | xa.Anchored = true | |
6876 | local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
6877 | xb.Anchored = true | |
6878 | local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
6879 | xc.Anchored = true | |
6880 | local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
6881 | xd.Anchored = true | |
6882 | CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75) | |
6883 | CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95) | |
6884 | CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1) | |
6885 | CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75) | |
6886 | CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95) | |
6887 | CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1) | |
6888 | CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75) | |
6889 | CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95) | |
6890 | CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1) | |
6891 | CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75) | |
6892 | CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95) | |
6893 | CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1) | |
6894 | xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75) | |
6895 | xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75) | |
6896 | xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0) | |
6897 | xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0) | |
6898 | MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
6899 | MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
6900 | MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
6901 | MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal") | |
6902 | block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
6903 | block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
6904 | block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
6905 | block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color) | |
6906 | 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) | |
6907 | 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) | |
6908 | 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) | |
6909 | 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) | |
6910 | 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)) | |
6911 | 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)) | |
6912 | 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)) | |
6913 | 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)) | |
6914 | game:GetService("Debris"):AddItem(xa, 5) | |
6915 | game:GetService("Debris"):AddItem(xb, 5) | |
6916 | game:GetService("Debris"):AddItem(xc, 5) | |
6917 | game:GetService("Debris"):AddItem(xd, 5) | |
6918 | coroutine.resume(coroutine.create(function() | |
6919 | for i = 0, 19 do | |
6920 | swait() | |
6921 | hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50) | |
6922 | end | |
6923 | hum.CameraOffset = vt(0,0,0) | |
6924 | end)) | |
6925 | swait(9) | |
6926 | end | |
6927 | end)) | |
6928 | for i = 0,2,0.1 do | |
6929 | swait() | |
6930 | 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) | |
6931 | 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) | |
6932 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8) | |
6933 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8) | |
6934 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8) | |
6935 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8) | |
6936 | end | |
6937 | attack = false | |
6938 | hum.WalkSpeed = storehumanoidWS | |
6939 | end | |
6940 | ||
6941 | function EndGROUND() | |
6942 | attack = true | |
6943 | hum.WalkSpeed = 0 | |
6944 | bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1) | |
6945 | --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1) | |
6946 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1) | |
6947 | CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1) | |
6948 | CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1) | |
6949 | local keptcolor = MAINRUINCOLOR | |
6950 | for i = 0,4,0.1 do | |
6951 | swait() | |
6952 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
6953 | block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
6954 | --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")) | |
6955 | 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) | |
6956 | 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) | |
6957 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1) | |
6958 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1) | |
6959 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1) | |
6960 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1) | |
6961 | end | |
6962 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1) | |
6963 | CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1) | |
6964 | CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1) | |
6965 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1) | |
6966 | CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1) | |
6967 | CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1) | |
6968 | coroutine.resume(coroutine.create(function() | |
6969 | local shval = 10 | |
6970 | for i = 0, 99 do | |
6971 | swait() | |
6972 | shval = shval - 0.1 | |
6973 | hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15) | |
6974 | end | |
6975 | hum.CameraOffset = vt(0,0,0) | |
6976 | end)) | |
6977 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
6978 | sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color) | |
6979 | for i = 0, 24 do | |
6980 | --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")) | |
6981 | end | |
6982 | local rrot = 0 | |
6983 | local xam = 1 | |
6984 | coroutine.resume(coroutine.create(function() | |
6985 | for i = 0, 14 do | |
6986 | --swait() | |
6987 | rrot = rrot + 40*xam | |
6988 | xam = xam + 0.25 | |
6989 | local bonus = xam | |
6990 | local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random()) | |
6991 | xa.Anchored = true | |
6992 | xa.Color = Color3.new(0,0,0) | |
6993 | xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75) | |
6994 | CreateMesh(xa,"Sphere",30*bonus,1,30*bonus) | |
6995 | local xc = 0 | |
6996 | coroutine.resume(coroutine.create(function() | |
6997 | for i = 0, 99 do | |
6998 | swait() | |
6999 | xc = xc + 0.01 | |
7000 | xa.Color = Color3.new(xc,0,0) | |
7001 | end | |
7002 | xa.Transparency = 1 | |
7003 | CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75) | |
7004 | MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal") | |
7005 | for i = 0, 9 do | |
7006 | --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")) | |
7007 | end | |
7008 | 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) | |
7009 | 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) | |
7010 | 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)) | |
7011 | game:GetService("Debris"):AddItem(xa, 5) | |
7012 | coroutine.resume(coroutine.create(function() | |
7013 | for i = 0, 19 do | |
7014 | swait() | |
7015 | hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50) | |
7016 | end | |
7017 | hum.CameraOffset = vt(0,0,0) | |
7018 | end)) | |
7019 | end)) | |
7020 | end | |
7021 | end)) | |
7022 | for i = 0,2,0.1 do | |
7023 | swait() | |
7024 | 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) | |
7025 | 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) | |
7026 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8) | |
7027 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8) | |
7028 | RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8) | |
7029 | LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8) | |
7030 | end | |
7031 | attack = false | |
7032 | hum.WalkSpeed = storehumanoidWS | |
7033 | end | |
7034 | ||
7035 | function HeavenlyDisk() | |
7036 | attack = true | |
7037 | hum.WalkSpeed = 2 | |
7038 | local keptcolor = MAINRUINCOLOR | |
7039 | local radm = math.random(1,3) | |
7040 | if radm == 1 then | |
7041 | bosschatfunc("DONT COME TO ME CLOSER!",MAINRUINCOLOR.Color,1) | |
7042 | elseif radm == 2 then | |
7043 | bosschatfunc("LEAVE ME ALONE!",MAINRUINCOLOR.Color,1) | |
7044 | elseif radm == 3 then | |
7045 | bosschatfunc("WHY YOU REDUSE?!",MAINRUINCOLOR.Color,1) | |
7046 | end | |
7047 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1) | |
7048 | CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1) | |
7049 | for i = 0, 14 do | |
7050 | -- | |
7051 | end | |
7052 | for i = 0,2,0.1 do | |
7053 | swait() | |
7054 | 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) | |
7055 | 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) | |
7056 | 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) | |
7057 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3) | |
7058 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3) | |
7059 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3) | |
7060 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3) | |
7061 | end | |
7062 | CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1) | |
7063 | for i = 0,1,0.6 do | |
7064 | swait() | |
7065 | 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) | |
7066 | --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")) | |
7067 | 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) | |
7068 | 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) | |
7069 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6) | |
7070 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
7071 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
7072 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
7073 | end | |
7074 | for i = 0,1,0.6 do | |
7075 | swait() | |
7076 | 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) | |
7077 | --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")) | |
7078 | 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) | |
7079 | 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) | |
7080 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6) | |
7081 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
7082 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
7083 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
7084 | end | |
7085 | for i = 0,1,0.6 do | |
7086 | swait() | |
7087 | 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) | |
7088 | --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")) | |
7089 | 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) | |
7090 | 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) | |
7091 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6) | |
7092 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
7093 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
7094 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
7095 | end | |
7096 | for i = 0,1,0.6 do | |
7097 | swait() | |
7098 | 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) | |
7099 | --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")) | |
7100 | 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) | |
7101 | 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) | |
7102 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6) | |
7103 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6) | |
7104 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6) | |
7105 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6) | |
7106 | end | |
7107 | local rot = 15 | |
7108 | for i = 0, 2 do | |
7109 | local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Really black")) | |
7110 | CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1) | |
7111 | dis.CFrame = root.CFrame*CFrame.new(0,2,-3) | |
7112 | CreateMesh(dis,"Sphere",10,1,10) | |
7113 | local at1 = Instance.new("Attachment",dis) | |
7114 | at1.Position = vt(-5,0,0) | |
7115 | local at2 = Instance.new("Attachment",dis) | |
7116 | at2.Position = vt(5,0,0) | |
7117 | local trl = Instance.new('Trail',wed) | |
7118 | trl.Attachment0 = at1 | |
7119 | trl.Attachment1 = at2 | |
7120 | trl.Texture = "rbxassetid://1049219073" | |
7121 | trl.LightEmission = 1 | |
7122 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
7123 | trl.Color = ColorSequence.new(dis.Color) | |
7124 | trl.Lifetime = 0.6 | |
7125 | local a = Instance.new("Part",workspace) | |
7126 | a.Name = "Direction" | |
7127 | a.Anchored = true | |
7128 | a.BrickColor = bc("Bright red") | |
7129 | a.Material = "Neon" | |
7130 | a.Transparency = 1 | |
7131 | a.CanCollide = false | |
7132 | local ray = Ray.new( | |
7133 | dis.CFrame.p, -- origin | |
7134 | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction | |
7135 | ) | |
7136 | local ignore = dis | |
7137 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
7138 | a.BottomSurface = 10 | |
7139 | a.TopSurface = 10 | |
7140 | local distance = (dis.CFrame.p - position).magnitude | |
7141 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
7142 | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) | |
7143 | dis.CFrame = a.CFrame | |
7144 | dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
7145 | a:Destroy() | |
7146 | local bv = Instance.new("BodyVelocity") | |
7147 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
7148 | bv.velocity = dis.CFrame.lookVector*250 | |
7149 | bv.Parent = dis | |
7150 | game:GetService("Debris"):AddItem(dis, 5) | |
7151 | local hitted = false | |
7152 | coroutine.resume(coroutine.create(function() | |
7153 | dis.Touched:connect(function(hit) | |
7154 | if hitted == false and hit.Parent ~= char then | |
7155 | hitted = true | |
7156 | CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1) | |
7157 | MagniDamage(dis, 30, 82,34575, 0, "Normal") | |
7158 | --sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color) | |
7159 | --sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color) | |
7160 | --sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1)) | |
7161 | coroutine.resume(coroutine.create(function() | |
7162 | for i = 0, 9 do | |
7163 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
7164 | disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
7165 | local at1 = Instance.new("Attachment",disr) | |
7166 | at1.Position = vt(-2,0,0) | |
7167 | local at2 = Instance.new("Attachment",disr) | |
7168 | at2.Position = vt(2,0,0) | |
7169 | local trl = Instance.new('Trail',disr) | |
7170 | trl.Attachment0 = at1 | |
7171 | trl.FaceCamera = true | |
7172 | trl.Attachment1 = at2 | |
7173 | trl.Texture = "rbxassetid://2342682798" | |
7174 | trl.LightEmission = 1 | |
7175 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
7176 | trl.Color = ColorSequence.new(Color3.new(0.3,1,1)) | |
7177 | trl.Lifetime = 0.5 | |
7178 | local bv = Instance.new("BodyVelocity") | |
7179 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
7180 | bv.velocity = disr.CFrame.lookVector*math.random(50,200) | |
7181 | bv.Parent = disr | |
7182 | local val = 0 | |
7183 | coroutine.resume(coroutine.create(function() | |
7184 | swait(30) | |
7185 | for i = 0, 9 do | |
7186 | swait() | |
7187 | val = val + 0.1 | |
7188 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)}) | |
7189 | end | |
7190 | game:GetService("Debris"):AddItem(disr, 3) | |
7191 | end)) | |
7192 | end | |
7193 | local eff = Instance.new("ParticleEmitter",dis) | |
7194 | eff.Texture = "rbxassetid://2273224484" | |
7195 | eff.LightEmission = 1 | |
7196 | eff.Color = ColorSequence.new(Color3.new(0.3,1,1)) | |
7197 | eff.Rate = 500000 | |
7198 | eff.Lifetime = NumberRange.new(0.5,2) | |
7199 | 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)}) | |
7200 | 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)}) | |
7201 | eff.Speed = NumberRange.new(20,250) | |
7202 | eff.Drag = 5 | |
7203 | eff.Rotation = NumberRange.new(-500,500) | |
7204 | eff.VelocitySpread = 9000 | |
7205 | eff.RotSpeed = NumberRange.new(-50,50) | |
7206 | wait(0.25) | |
7207 | eff.Enabled = false | |
7208 | end)) | |
7209 | for i = 0, 9 do | |
7210 | --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")) | |
7211 | end | |
7212 | for i = 0, 19 do | |
7213 | -- | |
7214 | end | |
7215 | coroutine.resume(coroutine.create(function() | |
7216 | for i = 0, 19 do | |
7217 | swait() | |
7218 | hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70) | |
7219 | end | |
7220 | hum.CameraOffset = vt(0,0,0) | |
7221 | end)) | |
7222 | dis.Anchored = true | |
7223 | dis.Transparency = 1 | |
7224 | wait(8) | |
7225 | dis:Destroy() | |
7226 | end | |
7227 | end) | |
7228 | end)) | |
7229 | rot = rot - 15 | |
7230 | end | |
7231 | for i = 0,2,0.1 do | |
7232 | swait() | |
7233 | 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) | |
7234 | 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) | |
7235 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
7236 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3) | |
7237 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3) | |
7238 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3) | |
7239 | end | |
7240 | attack = false | |
7241 | hum.WalkSpeed = storehumanoidWS | |
7242 | end | |
7243 | ||
7244 | function RapidBurst() | |
7245 | attack = true | |
7246 | hum.WalkSpeed = 0 | |
7247 | CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5) | |
7248 | CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5) | |
7249 | CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1) | |
7250 | bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2) | |
7251 | local keptcolor = MAINRUINCOLOR | |
7252 | for i = 0,8,0.1 do | |
7253 | swait() | |
7254 | hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) | |
7255 | --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()) | |
7256 | 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) | |
7257 | 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) | |
7258 | 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) | |
7259 | 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) | |
7260 | 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) | |
7261 | 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) | |
7262 | 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) | |
7263 | end | |
7264 | for i = 0, 99 do | |
7265 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
7266 | 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))) | |
7267 | local at1 = Instance.new("Attachment",dis) | |
7268 | at1.Position = vt(-25000,0,0) | |
7269 | local at2 = Instance.new("Attachment",dis) | |
7270 | at2.Position = vt(25000,0,0) | |
7271 | local trl = Instance.new('Trail',dis) | |
7272 | trl.Attachment0 = at1 | |
7273 | trl.FaceCamera = true | |
7274 | trl.Attachment1 = at2 | |
7275 | trl.Texture = "rbxassetid://1049219073" | |
7276 | trl.LightEmission = 1 | |
7277 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
7278 | trl.Color = ColorSequence.new(BrickColor.random().Color) | |
7279 | trl.Lifetime = 5 | |
7280 | local bv = Instance.new("BodyVelocity") | |
7281 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
7282 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
7283 | bv.Parent = dis | |
7284 | game:GetService("Debris"):AddItem(dis, 5) | |
7285 | end | |
7286 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1) | |
7287 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5) | |
7288 | symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3) | |
7289 | sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) | |
7290 | sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color) | |
7291 | sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color) | |
7292 | sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color) | |
7293 | CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1) | |
7294 | CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8) | |
7295 | CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1) | |
7296 | hum.CameraOffset = vt(0,0,0) | |
7297 | for i = 0, 24 do | |
7298 | --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(500,1500)/250,BrickColor.random()) | |
7299 | end | |
7300 | local distam = 0 | |
7301 | coroutine.resume(coroutine.create(function() | |
7302 | for i = 0, 99 do | |
7303 | wait() | |
7304 | distam = distam + 1 | |
7305 | local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random()) | |
7306 | xa.Anchored = true | |
7307 | xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam)) | |
7308 | game:GetService("Debris"):AddItem(xa, 5) | |
7309 | for i = 0, 4 do | |
7310 | --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()) | |
7311 | end | |
7312 | coroutine.resume(coroutine.create(function() | |
7313 | local eff = Instance.new("ParticleEmitter",xa) | |
7314 | eff.Texture = "rbxassetid://2273224484" | |
7315 | eff.LightEmission = 1 | |
7316 | eff.Color = ColorSequence.new(BrickColor.random().Color) | |
7317 | eff.Rate = 500000 | |
7318 | eff.Lifetime = NumberRange.new(1,3) | |
7319 | 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)}) | |
7320 | 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)}) | |
7321 | eff.Speed = NumberRange.new(50,500) | |
7322 | eff.Drag = 5 | |
7323 | eff.Rotation = NumberRange.new(-500,500) | |
7324 | eff.VelocitySpread = 9000 | |
7325 | eff.RotSpeed = NumberRange.new(-50,50) | |
7326 | wait(0.25) | |
7327 | eff.Enabled = false | |
7328 | end)) | |
7329 | coroutine.resume(coroutine.create(function() | |
7330 | for i = 0, 19 do | |
7331 | swait() | |
7332 | hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
7333 | end | |
7334 | hum.CameraOffset = vt(0,0,0) | |
7335 | end)) | |
7336 | CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200) | |
7337 | --sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color) | |
7338 | --sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color) | |
7339 | MagniDamage(xa, 60, 9999,99999, 0, "Normal") | |
7340 | end | |
7341 | end)) | |
7342 | attack = false | |
7343 | hum.WalkSpeed = storehumanoidWS | |
7344 | end | |
7345 | ||
7346 | function FallenOrbs() | |
7347 | attack = true | |
7348 | hum.WalkSpeed = 2 | |
7349 | local keptcolor = MAINRUINCOLOR | |
7350 | CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1) | |
7351 | CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1) | |
7352 | local radm = math.random(1,3) | |
7353 | if radm == 1 then | |
7354 | bosschatfunc("SWARM!",MAINRUINCOLOR.Color,1) | |
7355 | elseif radm == 2 then | |
7356 | bosschatfunc("Weakling!",MAINRUINCOLOR.Color,1) | |
7357 | elseif radm == 3 then | |
7358 | bosschatfunc("RAAAAAGGGGGGHHHHHH!!!!!",MAINRUINCOLOR.Color,1) | |
7359 | end | |
7360 | coroutine.resume(coroutine.create(function() | |
7361 | for i = 0, 29 do | |
7362 | swait(2) | |
7363 | local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR) | |
7364 | dis.Anchored = true | |
7365 | CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5) | |
7366 | dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35)) | |
7367 | CreateMesh(dis,"Sphere",2,2,2) | |
7368 | --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color) | |
7369 | --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")) | |
7370 | coroutine.resume(coroutine.create(function() | |
7371 | wait(0.5) | |
7372 | dis.Anchored = false | |
7373 | CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1) | |
7374 | local at1 = Instance.new("Attachment",dis) | |
7375 | at1.Position = vt(-1,0,0) | |
7376 | local at2 = Instance.new("Attachment",dis) | |
7377 | at2.Position = vt(1,0,0) | |
7378 | local trl = Instance.new('Trail',dis) | |
7379 | trl.Attachment0 = at1 | |
7380 | trl.FaceCamera = true | |
7381 | trl.Attachment1 = at2 | |
7382 | trl.Texture = "rbxassetid://1049219073" | |
7383 | trl.LightEmission = 1 | |
7384 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
7385 | trl.Color = ColorSequence.new(dis.Color) | |
7386 | trl.Lifetime = 0.6 | |
7387 | local a = Instance.new("Part",workspace) | |
7388 | a.Name = "Direction" | |
7389 | a.Anchored = true | |
7390 | a.BrickColor = bc("Bright red") | |
7391 | a.Material = "Neon" | |
7392 | a.Transparency = 1 | |
7393 | a.CanCollide = false | |
7394 | local ray = Ray.new( | |
7395 | dis.CFrame.p, -- origin | |
7396 | (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction | |
7397 | ) | |
7398 | local ignore = dis | |
7399 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
7400 | a.BottomSurface = 10 | |
7401 | a.TopSurface = 10 | |
7402 | local distance = (dis.CFrame.p - position).magnitude | |
7403 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
7404 | a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0) | |
7405 | dis.CFrame = a.CFrame | |
7406 | a:Destroy() | |
7407 | local bv = Instance.new("BodyVelocity") | |
7408 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
7409 | bv.velocity = dis.CFrame.lookVector*500 | |
7410 | bv.Parent = dis | |
7411 | game:GetService("Debris"):AddItem(dis, 5) | |
7412 | local hitted = false | |
7413 | coroutine.resume(coroutine.create(function() | |
7414 | dis.Touched:connect(function(hit) | |
7415 | if hitted == false and hit.Parent ~= char then | |
7416 | hitted = true | |
7417 | CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1) | |
7418 | MagniDamage(dis, 60, 25456,124672, 0, "Normal") | |
7419 | --sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color) | |
7420 | --sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1)) | |
7421 | coroutine.resume(coroutine.create(function() | |
7422 | for i = 0, 4 do | |
7423 | local disr = CreateParta(char,1,1,"Neon",keptcolor) | |
7424 | disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
7425 | local at1 = Instance.new("Attachment",disr) | |
7426 | at1.Position = vt(-10,0,0) | |
7427 | local at2 = Instance.new("Attachment",disr) | |
7428 | at2.Position = vt(10,0,0) | |
7429 | local trl = Instance.new('Trail',disr) | |
7430 | trl.Attachment0 = at1 | |
7431 | trl.FaceCamera = true | |
7432 | trl.Attachment1 = at2 | |
7433 | trl.Texture = "rbxassetid://2342682798" | |
7434 | trl.LightEmission = 1 | |
7435 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
7436 | trl.Color = ColorSequence.new(disr.Color) | |
7437 | trl.Lifetime = 0.5 | |
7438 | local bv = Instance.new("BodyVelocity") | |
7439 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
7440 | bv.velocity = disr.CFrame.lookVector*math.random(125,250) | |
7441 | bv.Parent = disr | |
7442 | local val = 0 | |
7443 | coroutine.resume(coroutine.create(function() | |
7444 | swait(30) | |
7445 | for i = 0, 9 do | |
7446 | swait() | |
7447 | val = val + 0.1 | |
7448 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)}) | |
7449 | end | |
7450 | game:GetService("Debris"):AddItem(disr, 3) | |
7451 | end)) | |
7452 | end | |
7453 | local eff = Instance.new("ParticleEmitter",dis) | |
7454 | eff.Texture = "rbxassetid://2273224484" | |
7455 | eff.LightEmission = 1 | |
7456 | eff.Color = ColorSequence.new(dis.Color) | |
7457 | eff.Rate = 500000 | |
7458 | eff.Lifetime = NumberRange.new(0.5,2) | |
7459 | 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)}) | |
7460 | 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)}) | |
7461 | eff.Speed = NumberRange.new(20,250) | |
7462 | eff.Drag = 5 | |
7463 | eff.Rotation = NumberRange.new(-500,500) | |
7464 | eff.VelocitySpread = 9000 | |
7465 | eff.RotSpeed = NumberRange.new(-50,50) | |
7466 | wait(0.5) | |
7467 | eff.Enabled = false | |
7468 | end)) | |
7469 | for i = 0, 4 do | |
7470 | --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")) | |
7471 | end | |
7472 | coroutine.resume(coroutine.create(function() | |
7473 | for i = 0, 19 do | |
7474 | swait() | |
7475 | hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70) | |
7476 | end | |
7477 | hum.CameraOffset = vt(0,0,0) | |
7478 | end)) | |
7479 | dis.Anchored = true | |
7480 | dis.Transparency = 1 | |
7481 | wait(8) | |
7482 | dis:Destroy() | |
7483 | end | |
7484 | end) | |
7485 | end)) | |
7486 | end)) | |
7487 | end | |
7488 | end)) | |
7489 | for i = 0,9,0.1 do | |
7490 | swait() | |
7491 | 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) | |
7492 | 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) | |
7493 | 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) | |
7494 | 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) | |
7495 | 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) | |
7496 | 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) | |
7497 | 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) | |
7498 | end | |
7499 | attack = false | |
7500 | hum.WalkSpeed = storehumanoidWS | |
7501 | end | |
7502 | ||
7503 | function EquinoxOrbs() | |
7504 | hum.WalkSpeed = 0 | |
7505 | attack = true | |
7506 | for i = 0,1,0.1 do | |
7507 | swait() | |
7508 | 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) | |
7509 | 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) | |
7510 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
7511 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2) | |
7512 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3) | |
7513 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3) | |
7514 | end | |
7515 | --sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR) | |
7516 | --sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR) | |
7517 | for i = 0, 24 do | |
7518 | --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")) | |
7519 | end | |
7520 | CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1) | |
7521 | CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8) | |
7522 | CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5) | |
7523 | CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9) | |
7524 | for i = 0,4,0.1 do | |
7525 | swait() | |
7526 | root.CFrame = root.CFrame + root.CFrame.lookVector*7.5 | |
7527 | local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR) | |
7528 | CreateMesh(dis,"Sphere",1,1,1) | |
7529 | dis.Anchored = true | |
7530 | dis.CFrame = larm.CFrame*CFrame.new(0,-3,0) | |
7531 | local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black")) | |
7532 | CreateMesh(dis2,"Sphere",1,1,1) | |
7533 | dis2.Anchored = true | |
7534 | dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0) | |
7535 | --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color) | |
7536 | --sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color) | |
7537 | coroutine.resume(coroutine.create(function() | |
7538 | swait(60) | |
7539 | dis.Transparency = 1 | |
7540 | dis2.Transparency = 1 | |
7541 | coroutine.resume(coroutine.create(function() | |
7542 | for i = 0, 19 do | |
7543 | swait() | |
7544 | hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40) | |
7545 | end | |
7546 | hum.CameraOffset = vt(0,0,0) | |
7547 | end)) | |
7548 | coroutine.resume(coroutine.create(function() | |
7549 | local eff = Instance.new("ParticleEmitter",dis) | |
7550 | eff.Texture = "rbxassetid://2273224484" | |
7551 | eff.LightEmission = 1 | |
7552 | eff.Color = ColorSequence.new(dis.Color) | |
7553 | eff.Rate = 500000 | |
7554 | eff.Lifetime = NumberRange.new(0.5,2) | |
7555 | 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)}) | |
7556 | 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)}) | |
7557 | eff.Speed = NumberRange.new(50,450) | |
7558 | eff.Drag = 5 | |
7559 | eff.Rotation = NumberRange.new(-500,500) | |
7560 | eff.VelocitySpread = 9000 | |
7561 | eff.RotSpeed = NumberRange.new(-50,50) | |
7562 | local eff2 = eff:Clone() | |
7563 | eff2.Parent = dis2 | |
7564 | eff2.LightEmission = 0 | |
7565 | eff2.Color = ColorSequence.new(dis2.Color) | |
7566 | wait(0.25) | |
7567 | eff.Enabled = false | |
7568 | eff2.Enabled = false | |
7569 | end)) | |
7570 | MagniDamage(dis, 55, 89,219788936, 0, "Normal") | |
7571 | MagniDamage(dis2, 55, 89,219788936, 0, "Normal") | |
7572 | CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75) | |
7573 | CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75) | |
7574 | CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25) | |
7575 | CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25) | |
7576 | CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15) | |
7577 | CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15) | |
7578 | sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color) | |
7579 | sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color) | |
7580 | end)) | |
7581 | game:GetService("Debris"):AddItem(dis, 5) | |
7582 | game:GetService("Debris"):AddItem(dis2, 5) | |
7583 | 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) | |
7584 | 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) | |
7585 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
7586 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2) | |
7587 | RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1) | |
7588 | LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1) | |
7589 | end | |
7590 | attack = false | |
7591 | hum.WalkSpeed = storehumanoidWS | |
7592 | end | |
7593 | function FallenDEMISE() | |
7594 | attack = true | |
7595 | hum.WalkSpeed = 0 | |
7596 | local keptcolor = MAINRUINCOLOR | |
7597 | --bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!!!",MAINRUINCOLOR.Color,3) | |
7598 | CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75) | |
7599 | CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5) | |
7600 | for i = 0, 15, 0.1 do | |
7601 | swait() | |
7602 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
7603 | 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))) | |
7604 | local at1 = Instance.new("Attachment",dis) | |
7605 | at1.Position = vt(-25000,0,0) | |
7606 | local at2 = Instance.new("Attachment",dis) | |
7607 | at2.Position = vt(25000,0,0) | |
7608 | local trl = Instance.new('Trail',dis) | |
7609 | trl.Attachment0 = at1 | |
7610 | trl.FaceCamera = true | |
7611 | trl.Attachment1 = at2 | |
7612 | trl.Texture = "rbxassetid://1049219073" | |
7613 | trl.LightEmission = 1 | |
7614 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
7615 | trl.Color = ColorSequence.new(dis.Color) | |
7616 | trl.Lifetime = 5 | |
7617 | local bv = Instance.new("BodyVelocity") | |
7618 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
7619 | bv.velocity = dis.CFrame.lookVector*math.random(500,2500) | |
7620 | bv.Parent = dis | |
7621 | game:GetService("Debris"):AddItem(dis, 1) | |
7622 | sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR) | |
7623 | --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("Toothpaste")) | |
7624 | --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")) | |
7625 | 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) | |
7626 | LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1) | |
7627 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1) | |
7628 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
7629 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1) | |
7630 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1) | |
7631 | end | |
7632 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1) | |
7633 | for i = 0, 30, 0.1 do | |
7634 | swait() | |
7635 | coroutine.resume(coroutine.create(function() | |
7636 | for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do | |
7637 | if v:FindFirstChild('Head') then | |
7638 | dmg(v) | |
7639 | end | |
7640 | end | |
7641 | end)) | |
7642 | local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR) | |
7643 | 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))) | |
7644 | local at1 = Instance.new("Attachment",dis) | |
7645 | at1.Position = vt(-50000,0,0) | |
7646 | local at2 = Instance.new("Attachment",dis) | |
7647 | at2.Position = vt(50000,0,0) | |
7648 | local trl = Instance.new('Trail',dis) | |
7649 | trl.Attachment0 = at1 | |
7650 | trl.FaceCamera = true | |
7651 | trl.Attachment1 = at2 | |
7652 | trl.Texture = "rbxassetid://1049219073" | |
7653 | trl.LightEmission = 1 | |
7654 | trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
7655 | trl.Color = ColorSequence.new(dis.Color) | |
7656 | trl.Lifetime = 10 | |
7657 | local bv = Instance.new("BodyVelocity") | |
7658 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
7659 | bv.velocity = dis.CFrame.lookVector*math.random(1500,10000) | |
7660 | bv.Parent = dis | |
7661 | game:GetService("Debris"):AddItem(dis, math.random(1,4)) | |
7662 | --sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR) | |
7663 | --sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR) | |
7664 | --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")) | |
7665 | --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("Toothpaste")) | |
7666 | --slash(math.random(50,100)/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(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Deep orange")) | |
7667 | --slash(math.random(50,100)/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(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Toothpaste")) | |
7668 | for i = 0, 2 do | |
7669 | --slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,math.random(-3,1000),0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(2,0.01,2),math.random(250,750)/250,MAINRUINCOLOR) | |
7670 | end | |
7671 | 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) | |
7672 | LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1) | |
7673 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1) | |
7674 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
7675 | RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1) | |
7676 | LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1) | |
7677 | end | |
7678 | attack = false | |
7679 | hum.WalkSpeed = storehumanoidWS | |
7680 | end | |
7681 | ------------------------------------- | |
7682 | ||
7683 | Humanoid.Animator.Parent = nil | |
7684 | ||
7685 | ------------------------------------- | |
7686 | ||
7687 | local attacktype = 1 | |
7688 | mouse.Button1Down:connect(function() | |
7689 | if attack == false and attacktype == 1 then | |
7690 | attacktype = 2 | |
7691 | attackone() | |
7692 | elseif attack == false and attacktype == 2 then | |
7693 | attacktype = 3 | |
7694 | attacktwo() | |
7695 | elseif attack == false and attacktype == 3 then | |
7696 | attacktype = 1 | |
7697 | attackthree() | |
7698 | elseif attack == false and attacktype == 4 then | |
7699 | attacktype = 1 | |
7700 | --attackfour() | |
7701 | end | |
7702 | end) | |
7703 | mouse.KeyDown:connect(function(k) | |
7704 | if k == "q" and attack == false and ModeOfGlitch ~= 1 then | |
7705 | --normalmog() ---Disabled due to crashing... only in VSB | |
7706 | ModeOfGlitch = 1 | |
7707 | storehumanoidWS = 16 | |
7708 | hum.WalkSpeed = 16 | |
7709 | rainbowmode = false | |
7710 | chaosmode = false | |
7711 | newTheme("rbxassetid://614032233",0,1,1) | |
7712 | RecolorTextAndRename("MAYHEM V",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique") | |
7713 | MAINRUINCOLOR = BrickColor.new("Really red") | |
7714 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false) | |
7715 | end | |
7716 | if k == "e" and attack == false and ModeOfGlitch ~= 2 then | |
7717 | ModeOfGlitch = 2 | |
7718 | storehumanoidWS = 16 | |
7719 | hum.WalkSpeed = 16 | |
7720 | rainbowmode = false | |
7721 | chaosmode = false | |
7722 | RecolorTextAndRename("Purity V",Color3.new(0,1,1),Color3.new(1,1,1),"Code") | |
7723 | newTheme("rbxassetid://1539245059",0,1,1.25) | |
7724 | MAINRUINCOLOR = BrickColor.new("Toothpaste") | |
7725 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
7726 | end | |
7727 | if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 11111 then | |
7728 | ModeOfGlitch = 11111 | |
7729 | storehumanoidWS = 50 | |
7730 | hum.WalkSpeed = 50 | |
7731 | rainbowmode = false | |
7732 | chaosmode = false | |
7733 | RecolorTextAndRename("CRYSTAL",Color3.new(1,1,1),BrickColor.new("Pastel light blue").Color,"Code") | |
7734 | newTheme("rbxassetid://1861780345",0,1,1) | |
7735 | MAINRUINCOLOR = BrickColor.new("Pastel light blue") | |
7736 | RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
7737 | end | |
7738 | if k == "b" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 242424 then | |
7739 | ModeOfGlitch = 242424 | |
7740 | storehumanoidWS = 16 | |
7741 | hum.WalkSpeed = 16 | |
7742 | rainbowmode = false | |
7743 | chaosmode = false | |
7744 | RecolorTextAndRename("CLARITY V",Color3.new(0,0,0.65),Color3.new(0,0,2),"Code") | |
7745 | newTheme("rbxassetid://2650791818",0,0.97,0.97) | |
7746 | MAINRUINCOLOR = BrickColor.new("Really blue") | |
7747 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Baby blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR) | |
7748 | end | |
7749 | if k == "r" and attack == false and ModeOfGlitch ~= 3 then | |
7750 | ModeOfGlitch = 3 | |
7751 | storehumanoidWS = 16 | |
7752 | hum.WalkSpeed = 16 | |
7753 | rainbowmode = false | |
7754 | chaosmode = false | |
7755 | RecolorTextAndRename("CORRUPTION",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique") | |
7756 | newTheme("rbxassetid://303570180",0.6,0.6,0.6) | |
7757 | MAINRUINCOLOR = BrickColor.new("Royal purple") | |
7758 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
7759 | end | |
7760 | if k == "t" and attack == false and ModeOfGlitch ~= 4 then | |
7761 | ModeOfGlitch = 4 | |
7762 | storehumanoidWS = 50 | |
7763 | hum.WalkSpeed = 50 | |
7764 | rainbowmode = false | |
7765 | chaosmode = false | |
7766 | RecolorTextAndRename("SOLITUDE V",Color3.new(0,0,0),Color3.new(0,0,0),"Antique") | |
7767 | newTheme("rbxassetid://723652641",0,1,1.5) | |
7768 | MAINRUINCOLOR = BrickColor.new("Really black") | |
7769 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
7770 | end | |
7771 | if k == "y" and attack == false and ModeOfGlitch ~= 5 then | |
7772 | ModeOfGlitch = 5 | |
7773 | storehumanoidWS = 16 | |
7774 | hum.WalkSpeed = 16 | |
7775 | rainbowmode = false | |
7776 | chaosmode = false | |
7777 | RecolorTextAndRename("DIVINITY",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi") | |
7778 | newTheme("rbxassetid://661079869",0,1,1) | |
7779 | MAINRUINCOLOR = BrickColor.new("Bright yellow") | |
7780 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
7781 | end | |
7782 | if k == "k" and attack == false and ModeOfGlitch ~= 2335 then | |
7783 | ModeOfGlitch = 2335 | |
7784 | storehumanoidWS = 250 | |
7785 | hum.WalkSpeed = 250 | |
7786 | rainbowmode = true | |
7787 | chaosmode = false | |
7788 | RecolorTextAndRename("RAINBOW",Color3.new(0.5,1,1),BrickColor.new("Really red").Color,"Antique") | |
7789 | newTheme("rbxassetid://1747430851",0,1,1.15) | |
7790 | MAINRUINCOLOR = BrickColor.new("Pastel green") | |
7791 | RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,BrickColor.new("Deep orange"),true,false) | |
7792 | end | |
7793 | if k == "u" and attack == false and ModeOfGlitch ~= 6 then | |
7794 | ModeOfGlitch = 6 | |
7795 | storehumanoidWS = 100 | |
7796 | hum.WalkSpeed = 100 | |
7797 | rainbowmode = false | |
7798 | chaosmode = false | |
7799 | RecolorTextAndRename("EQUINOX V",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy") | |
7800 | newTheme("rbxassetid://1347011178",0,1.01,1.25) | |
7801 | MAINRUINCOLOR = BrickColor.new("White") | |
7802 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
7803 | end | |
7804 | if k == "m" and attack == false and ModeOfGlitch == 6 then | |
7805 | attack = true | |
7806 | newTheme("rbxassetid://1369263130",0,1,1.25) | |
7807 | ||
7808 | attack = false | |
7809 | ModeOfGlitch = 420 | |
7810 | storehumanoidWS = 12 | |
7811 | hum.WalkSpeed = 12 | |
7812 | rainbowmode = false | |
7813 | chaosmode = false | |
7814 | Error = false | |
7815 | RecolorTextAndRename("UNSTABLE",Color3.new(0,0,0),Color3.new(1,1,1),"Antique") | |
7816 | disably = true | |
7817 | warnedpeople("AAAAAAGH!","Arcade",BrickColor.new("Red").Color,MAINRUINCOLOR.Color) | |
7818 | disably = false | |
7819 | MAINRUINCOLOR = BrickColor.new("Really black") | |
7820 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,MAINRUINCOLOR,true,true) | |
7821 | end | |
7822 | ||
7823 | if k == "f" and attack == false and ModeOfGlitch ~= 8 then | |
7824 | ModeOfGlitch = 8 | |
7825 | storehumanoidWS = 140 | |
7826 | hum.WalkSpeed = 140 | |
7827 | rainbowmode = false | |
7828 | chaosmode = false | |
7829 | RecolorTextAndRename("DESTINY V",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code") | |
7830 | newTheme("rbxassetid://1495032271",0,1.01,1.25) | |
7831 | MAINRUINCOLOR = BrickColor.new("Alder") | |
7832 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
7833 | end | |
7834 | ||
7835 | if k == "j" and attack == false and ModeOfGlitch ~= 67966 then | |
7836 | ModeOfGlitch = 67966 | |
7837 | storehumanoidWS = 16 | |
7838 | hum.WalkSpeed = 16 | |
7839 | rainbowmode = false | |
7840 | chaosmode = false | |
7841 | RecolorTextAndRename("LOVE",Color3.new(1,0,1),Color3.new(1,0.5,1),"Highway") | |
7842 | newTheme("rbxassetid://736003449",0,1,1.75) | |
7843 | MAINRUINCOLOR = BrickColor.new("Hot pink") | |
7844 | disably = false | |
7845 | warnedpeople("Love <3","Antique",BrickColor.new("White").Color,BrickColor.new("Pink").Color) | |
7846 | disably = true | |
7847 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false) | |
7848 | end | |
7849 | if k == "n" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 1055 then | |
7850 | ModeOfGlitch = 1055 | |
7851 | storehumanoidWS = 50 | |
7852 | hum.WalkSpeed = 50 | |
7853 | rainbowmode = false | |
7854 | chaosmode = false | |
7855 | insanitymode = false | |
7856 | glitching = false | |
7857 | RecolorTextAndRename("Pandora",BrickColor.new("White").Color,BrickColor.new("Lavender").Color,"Code") | |
7858 | newTheme("rbxassetid://1382488262",0,1,1.25) | |
7859 | MAINRUINCOLOR = BrickColor.new("Lavender") | |
7860 | RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false) | |
7861 | end | |
7862 | if k == "g" and attack == false and ModeOfGlitch ~= 9 then | |
7863 | ModeOfGlitch = 9 | |
7864 | storehumanoidWS = 150 | |
7865 | hum.WalkSpeed = 150 | |
7866 | rainbowmode = false | |
7867 | chaosmode = false | |
7868 | RecolorTextAndRename("INFESTATION",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni") | |
7869 | newTheme("rbxassetid://2573921783",0,1.01,1.25) | |
7870 | MAINRUINCOLOR = BrickColor.new("Lime green") | |
7871 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Forest green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
7872 | end | |
7873 | ||
7874 | if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then | |
7875 | ModeOfGlitch = 8889 | |
7876 | storehumanoidWS = 180 | |
7877 | hum.WalkSpeed = 180 | |
7878 | rainbowmode = false | |
7879 | chaosmode = false | |
7880 | RecolorTextAndRename("CALAMITY",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique") | |
7881 | newTheme("rbxassetid://1359036559",0,1.01,1.25) | |
7882 | MAINRUINCOLOR = BrickColor.new("Lilac") | |
7883 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
7884 | end | |
7885 | if k == "n" and attack == false and ModeOfGlitch == 8889 then | |
7886 | ModeOfGlitch = 88893333388 | |
7887 | bosschatfunc("Catastrophic acsend!",MAINRUINCOLOR.Color,1) | |
7888 | wait(1) | |
7889 | CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75) | |
7890 | CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5) | |
7891 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5) | |
7892 | CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5) | |
7893 | wait(0.2) | |
7894 | storehumanoidWS = 200 | |
7895 | hum.WalkSpeed = 200 | |
7896 | rainbowmode = false | |
7897 | chaosmode = false | |
7898 | CRAZED = false | |
7899 | RecolorTextAndRename("CATASTROPHE",BrickColor.new("Royal purple").Color,BrickColor.new("Really blue").Color,"Bodoni") | |
7900 | newTheme("rbxassetid://1504604335",0,1,1.5) | |
7901 | MAINRUINCOLOR = BrickColor.new("Royal purple") | |
7902 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Lilac"),0,BrickColor.new("Really blue"),0,BrickColor.new("Navy blue"),true,true) | |
7903 | end | |
7904 | if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 808080808080808080808080 then | |
7905 | ModeOfGlitch = 808080808080808080808080 | |
7906 | storehumanoidWS = 250 | |
7907 | hum.WalkSpeed = 250 | |
7908 | rainbowmode = false | |
7909 | chaosmode = false | |
7910 | CRAZED = true | |
7911 | CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75) | |
7912 | CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5) | |
7913 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5) | |
7914 | CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5) | |
7915 | RecolorTextAndRename("TRUE GALAXY",BrickColor.new("Dark indigo").Color,BrickColor.new("Really blue").Color,"Bodoni") | |
7916 | newTheme("rbxassetid://250408242",0,1,10) | |
7917 | MAINRUINCOLOR = BrickColor.new("Really blue") | |
7918 | bosschatfunc("I'M BACK!!!",MAINRUINCOLOR.Color,1) | |
7919 | disably = false | |
7920 | warnedpeople("GALAXY?!","Arcade",BrickColor.new("Alder").Color,BrickColor.new("Pastel light blue").Color) | |
7921 | disably = false | |
7922 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.,BrickColor.new("Deep orange"),0,BrickColor.new("Pastel light blue"),true,true) | |
7923 | end | |
7924 | if k == "m" and attack == false and ModeOfGlitch == 3 then | |
7925 | attack = true | |
7926 | ModeOfGlitch = 3 | |
7927 | hum.WalkSpeed = 0 | |
7928 | newTheme("rbxassetid://2368327428",9,1,1.25) | |
7929 | wait(2) | |
7930 | for i = 0, 15, 0.1 do | |
7931 | swait() | |
7932 | RH.C0=clerp(RH.C0,cf(1, -1 - 0.025 * math.cos(sine/12), -0.01)*angles(math.rad(0),math.rad(83),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
7933 | LH.C0=clerp(LH.C0,cf(-1, -1 - 0.05 * math.cos(sine/12), -0.01)*angles(math.rad(0),math.rad(-83),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
7934 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0, 0, 0 + 0.05 * math.cos(sine / 12))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
7935 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(15 - 2.5 * math.sin(sine / 12)),math.rad(0),math.rad(0)),0.1) | |
7936 | RW.C0=clerp(RW.C0,cf(1,0.35 + 0.125 * math.cos(sine / 12),-0.45)*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) | |
7937 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.125 * math.cos(sine / 12),-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) | |
7938 | end | |
7939 | sphere(2,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
7940 | sphere(3,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
7941 | sphere(1,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
7942 | sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
7943 | sphere(3,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
7944 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1) | |
7945 | ModeOfGlitch = 146536 | |
7946 | storehumanoidWS = 12 | |
7947 | hum.WalkSpeed = 12 | |
7948 | rainbowmode = false | |
7949 | chaosmode = false | |
7950 | CRAZED = false | |
7951 | RecolorTextAndRename("MATTER-V",Color3.new(0.15,0.15,0.15),Color3.new(0.35,0,1),"Fantasy") | |
7952 | MAINRUINCOLOR = BrickColor.new("Gold") | |
7953 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Gold"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false) | |
7954 | attack = false | |
7955 | end | |
7956 | if k == "b" and attack == false and ModeOfGlitch == 67966 then | |
7957 | ModeOfGlitch = -5 | |
7958 | storehumanoidWS = 16 | |
7959 | hum.WalkSpeed = 16 | |
7960 | rainbowmode = false | |
7961 | chaosmode = false | |
7962 | Error = false | |
7963 | CRAZED = false | |
7964 | RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new("Hot pink").Color,"Antique") | |
7965 | newTheme("rbxassetid://685323634",0,1,1.25) | |
7966 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
7967 | end | |
7968 | if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 676767 then | |
7969 | ModeOfGlitch = 676767 | |
7970 | storehumanoidWS = 200 | |
7971 | hum.WalkSpeed = 200 | |
7972 | rainbowmode = false | |
7973 | chaosmode = false | |
7974 | ASTRA = false | |
7975 | dragon = true | |
7976 | vis = false | |
7977 | RecolorTextAndRename("OMEGA V",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi") | |
7978 | newTheme("rbxassetid://643309199",0,1.01,1.25) | |
7979 | MAINRUINCOLOR = BrickColor.new("Bright bluish green") | |
7980 | RecolorThing(BrickColor.new("Bright bluish green"),BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.3,BrickColor.new("Bright bluish green"),0.3,BrickColor.new("Black"),true,true) | |
7981 | end | |
7982 | if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 61 then | |
7983 | ModeOfGlitch = 61 | |
7984 | storehumanoidWS = 16 | |
7985 | hum.WalkSpeed = 16 | |
7986 | rainbowmode = false | |
7987 | chaosmode = false | |
7988 | RecolorTextAndRename("NANO",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique") | |
7989 | newTheme("rbxassetid://2234873423",0,1,1) | |
7990 | MAINRUINCOLOR = BrickColor.new("Pink") | |
7991 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Hot pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
7992 | end | |
7993 | if k == "m" and attack == false and ModeOfGlitch == 2335 and ModeOfGlitch ~= 911 then | |
7994 | ModeOfGlitch = 911 | |
7995 | storehumanoidWS = 250 | |
7996 | hum.WalkSpeed = 250 | |
7997 | rainbowmode = true | |
7998 | chaosmode = false | |
7999 | disably = false | |
8000 | warnedpeople("! RAINBOW V !","Highway",Color3.new(1,0,1),Color3.new(1,1,1)) | |
8001 | disably = true | |
8002 | RecolorTextAndRename("! RAINBOW V !",Color3.new(0.5,1,1),BrickColor.new("Really red").Color,"Antique") | |
8003 | newTheme("rbxassetid://147930134",0,1,1.15) | |
8004 | MAINRUINCOLOR = BrickColor.new("Pastel green") | |
8005 | RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,BrickColor.new("Deep orange"),true,false) | |
8006 | end | |
8007 | if k == "m" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 55469696922 then | |
8008 | ModeOfGlitch = 55469696922 | |
8009 | storehumanoidWS = 12 | |
8010 | hum.WalkSpeed = 12 | |
8011 | rainbowmode = false | |
8012 | chaosmode = false | |
8013 | RecolorTextAndRename("PLAGUES",Color3.new(0,0.3,0),BrickColor.new("Lime green").Color,"Code") | |
8014 | newTheme("rbxassetid://577543579",0,1.005,1.25) | |
8015 | MAINRUINCOLOR = BrickColor.new("Lime green") | |
8016 | chatfunc("The plague is already inside..",MAINRUINCOLOR.Color,"Inverted","Arcade",1.7) | |
8017 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
8018 | end | |
8019 | if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then | |
8020 | ModeOfGlitch = 4367677813 | |
8021 | storehumanoidWS = 225 | |
8022 | hum.WalkSpeed = 225 | |
8023 | rainbowmode = false | |
8024 | chaosmode = false | |
8025 | RecolorTextAndRename("S-H-D",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade") | |
8026 | newTheme("rbxassetid://363284685",0,1.01,1.25) | |
8027 | MAINRUINCOLOR = BrickColor.new("Baby blue") | |
8028 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true) | |
8029 | end | |
8030 | if k == "n" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 103 then | |
8031 | ModeOfGlitch = 103 | |
8032 | storehumanoidWS = 200 | |
8033 | hum.WalkSpeed = 200 | |
8034 | rainbowmode = false | |
8035 | chaosmode = false | |
8036 | CRAZED = false | |
8037 | RecolorTextAndRename("ANCIENT",BrickColor.new("Really black").Color,BrickColor.new("New Yeller").Color,"SciFi") | |
8038 | newTheme("rbxassetid://256251217",0,1.02,1.2) | |
8039 | MAINRUINCOLOR = BrickColor.new("Gold") | |
8040 | disably = false | |
8041 | warnedpeople("PAST PRESENT AND FUTURE","Arcade",BrickColor.new("White").Color,BrickColor.new("New Yeller").Color) | |
8042 | disably = true | |
8043 | RecolorThing(MAINRUINCOLOR,BrickColor.new("New Yeller"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("White"),0,BrickColor.new("Black"),true,true) | |
8044 | end | |
8045 | if k == "b" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 453453484635345 then | |
8046 | ModeOfGlitch = 453453484635345 | |
8047 | storehumanoidWS = 25 | |
8048 | hum.WalkSpeed = 25 | |
8049 | rainbowmode = false | |
8050 | chaosmode = false | |
8051 | CRAZED = false | |
8052 | RecolorTextAndRename("DEATH",Color3.new(0.2,0.2,0.2),Color3.new(0,0,0),"Bodoni") | |
8053 | newTheme("rbxassetid://318062766",0,1.01,0.85) | |
8054 | MAINRUINCOLOR = BrickColor.new("Really black") | |
8055 | chatfunc("Death is not an escape..",MAINRUINCOLOR.Color,"Inverted","Arcade",1.2) | |
8056 | RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark stone grey"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false) | |
8057 | end | |
8058 | if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then | |
8059 | ModeOfGlitch = 999999999556 | |
8060 | ||
8061 | storehumanoidWS = 500 | |
8062 | hum.WalkSpeed = 500 | |
8063 | rainbowmode = false | |
8064 | chaosmode = false | |
8065 | RecolorTextAndRename("THE BIG BLACK",BrickColor.new("Really black").Color,BrickColor.new("Dark stone grey").Color,"Code") | |
8066 | newTheme("rbxassetid://1681272944",0,1.02,1.25) | |
8067 | MAINRUINCOLOR = BrickColor.new("Really black") | |
8068 | warnedpeople("BIG BLACK","Arcade",BrickColor.new("White").Color,BrickColor.new("Really black").Color) | |
8069 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.5,BrickColor.new("Dark stone grey"),0.5,BrickColor.new("Dark stone grey"),true,true) | |
8070 | end | |
8071 | if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then | |
8072 | ModeOfGlitch = 1264532489 | |
8073 | storehumanoidWS = 250 | |
8074 | hum.WalkSpeed = 250 | |
8075 | rainbowmode = false | |
8076 | chaosmode = false | |
8077 | RecolorTextAndRename("FALLEN",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique") | |
8078 | newTheme("rbxassetid://1505487022",0,1.01,1.25) | |
8079 | MAINRUINCOLOR = BrickColor.new("Pastel green") | |
8080 | RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.5,BrickColor.new("Deep orange"),0.5,BrickColor.new("Gold"),true,true) | |
8081 | end | |
8082 | if rainbowmode == true then | |
8083 | RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(1,1,1),"Highway") | |
8084 | if ModeOfGlitch == 911 then | |
8085 | RecolorTextAndRename("! RAINBOW V !",Color3.new(r/255,g/255,b/255),Color3.new(r/255,g/255,b/255),"Fantasy") | |
8086 | end | |
8087 | MAINRUINCOLOR = BrickColor.new(r/255,g/255,b/255) | |
8088 | modet.TextColor3 = Color3.new(r/255,g/255,b/255) | |
8089 | refec.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
8090 | tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
8091 | tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
8092 | tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
8093 | tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
8094 | tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
8095 | tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
8096 | for i, v in pairs(m:GetChildren()) do | |
8097 | if v:IsA("Part") then | |
8098 | v.Color = Color3.new(r/255,g/255,b/255) | |
8099 | end | |
8100 | end | |
8101 | for i, v in pairs(m2:GetChildren()) do | |
8102 | if v:IsA("Part") then | |
8103 | v.Color = Color3.new(r/255,g/255,b/255) | |
8104 | end | |
8105 | end | |
8106 | for i, v in pairs(m3:GetChildren()) do | |
8107 | if v:IsA("Part") then | |
8108 | v.Color = Color3.new(r/255,g/255,b/255) | |
8109 | end | |
8110 | end | |
8111 | for i, v in pairs(mw1:GetChildren()) do | |
8112 | if v:IsA("Part") then | |
8113 | v.Color = Color3.new(r/255,g/255,b/255) | |
8114 | v.Material = "Neon" | |
8115 | end | |
8116 | end | |
8117 | for i, v in pairs(mw2:GetChildren()) do | |
8118 | if v:IsA("Part") then | |
8119 | v.Color = Color3.new(r/255,g/255,b/255) | |
8120 | v.Material = "Neon" | |
8121 | end | |
8122 | end | |
8123 | end | |
8124 | if k == "l" and mutedtog == false then | |
8125 | mutedtog = true | |
8126 | kan.Volume = 0 | |
8127 | elseif k == "l" and mutedtog == true then | |
8128 | mutedtog = false | |
8129 | kan.Volume = 1.25 | |
8130 | end | |
8131 | if k == "p" and toggleTag == false then | |
8132 | toggleTag = true | |
8133 | modet.TextTransparency = 0 | |
8134 | modet.TextStrokeTransparency = 0 | |
8135 | elseif k == "p" and toggleTag == true then | |
8136 | toggleTag = false | |
8137 | modet.TextTransparency = 1 | |
8138 | modet.TextStrokeTransparency = 1 | |
8139 | end | |
8140 | ||
8141 | if k == "z" and attack == false and ModeOfGlitch == 1 then | |
8142 | ExtinctiveHeartbreak() | |
8143 | elseif k == "z" and attack == false and ModeOfGlitch == 2 then | |
8144 | HeavenlyDisk() | |
8145 | elseif k == "x" and attack == false and ModeOfGlitch == 2 then | |
8146 | Fireball() | |
8147 | elseif k == "z" and attack == false and ModeOfGlitch == 3 then | |
8148 | CorruptionEvent() | |
8149 | elseif k == "x" and attack == false and ModeOfGlitch == 3 then | |
8150 | CorruptBlink() | |
8151 | elseif k == "z" and attack == false and ModeOfGlitch == 4 then | |
8152 | RapidBurst() | |
8153 | elseif k == "z" and attack == false and ModeOfGlitch == 146536 then | |
8154 | HeavenlyDisk() | |
8155 | elseif k == "x" and attack == false and ModeOfGlitch == 146536 then | |
8156 | CorruptBlink() | |
8157 | elseif k == "z" and attack == false and ModeOfGlitch == 5 then | |
8158 | --DivineLights() | |
8159 | elseif k == "z" and attack == false and ModeOfGlitch == 6 then | |
8160 | EquinoxOrbs() | |
8161 | elseif k == "z" and attack == false and ModeOfGlitch == 67966 then | |
8162 | cutesigh() | |
8163 | elseif k == "z" and attack == false and ModeOfGlitch == 420 then | |
8164 | EquinoxOrbs() | |
8165 | elseif k == "z" and attack == false and ModeOfGlitch == 738 then | |
8166 | EquinoxOrbs() | |
8167 | elseif k == "x" and attack == false and ModeOfGlitch == 67966 then | |
8168 | hugg() | |
8169 | elseif k == "c" and attack == false and ModeOfGlitch == 67966 then | |
8170 | lovesqueal() | |
8171 | elseif k == "x" and attack == false and ModeOfGlitch == 420 then | |
8172 | FallenOrbs() | |
8173 | elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then | |
8174 | FallenOrbs() | |
8175 | end | |
8176 | if k == "z" and attack == false and ModeOfGlitch == 103 then | |
8177 | smiter() | |
8178 | end | |
8179 | if k == "c" and attack == false and ModeOfGlitch == 420 then | |
8180 | smiter() | |
8181 | end | |
8182 | if k == "x" and attack == false and ModeOfGlitch == 242424 then | |
8183 | BinaryE() | |
8184 | end | |
8185 | if k == "z" and attack == false and ModeOfGlitch == 242424 then | |
8186 | BinaryBLINK() | |
8187 | end | |
8188 | if k == "c" and attack == false and ModeOfGlitch == 738 then | |
8189 | BinaryE() | |
8190 | end | |
8191 | if k == "v" and attack == false and ModeOfGlitch == 1 then | |
8192 | HolyBarrier() | |
8193 | end | |
8194 | if k == "v" and attack == false and ModeOfGlitch == 1264532489 then | |
8195 | FallenDEMISE() | |
8196 | end | |
8197 | if k == "v" and attack == false and ModeOfGlitch == 738 then | |
8198 | FallenDEMISE() | |
8199 | end | |
8200 | if k == "x" and attack == false and ModeOfGlitch == 4 then | |
8201 | ChaosGroundStrike() | |
8202 | end | |
8203 | if k == "b" and attack == false and ModeOfGlitch == 420 then | |
8204 | ChaosEND() | |
8205 | end | |
8206 | if k == "c" and attack == false and ModeOfGlitch == 4 then | |
8207 | ChaosEND() | |
8208 | end | |
8209 | if k == "v" and attack == false and ModeOfGlitch == 4 then | |
8210 | th1rt3en_trans() | |
8211 | end | |
8212 | if k == "v" and attack == false and ModeOfGlitch == 420 then | |
8213 | EndGROUND() | |
8214 | end | |
8215 | if k == "x" and attack == false and ModeOfGlitch == 1 then | |
8216 | EndGROUND() | |
8217 | end | |
8218 | if k == "x" and attack == false and ModeOfGlitch == 738 then | |
8219 | EndGROUND() | |
8220 | end | |
8221 | end) | |
8222 | ||
8223 | plr.Chatted:connect(function(message) | |
8224 | if ModeOfGlitch == 911 then | |
8225 | if message:sub(1,5) == "play/" then | |
8226 | OVMID = message:sub(6) | |
8227 | newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL) | |
8228 | elseif message:sub(1,6) == "pitch/" then | |
8229 | OVMPIT = message:sub(7) | |
8230 | newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL) | |
8231 | elseif message:sub(1,4) == "vol/" then | |
8232 | OVMVOL = message:sub(5) | |
8233 | newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL) | |
8234 | elseif message:sub(1,7) == "skipto/" then | |
8235 | chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1) | |
8236 | newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL) | |
8237 | elseif message:sub(1,9) == "telltime/" then | |
8238 | chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1) | |
8239 | end | |
8240 | end | |
8241 | end) | |
8242 | ||
8243 | --[[coroutine.resume(coroutine.create(function() | |
8244 | while true do | |
8245 | swait(2) | |
8246 | if chaosmode == true then | |
8247 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
8248 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
8249 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
8250 | RecolorTextAndRename("KARMA",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy") | |
8251 | for i, v in pairs(mw1:GetChildren()) do | |
8252 | if v:IsA("Part") then | |
8253 | v.Transparency = 0.75 | |
8254 | v.BrickColor = BrickColor.random() | |
8255 | v.Material = "Neon" | |
8256 | end | |
8257 | end | |
8258 | for i, v in pairs(m2:GetChildren()) do | |
8259 | if v:IsA("Part") then | |
8260 | v.BrickColor = BrickColor.random() | |
8261 | v.Material = "Neon" | |
8262 | end | |
8263 | end | |
8264 | end | |
8265 | end | |
8266 | end))]]-- | |
8267 | Humanoid.Name = "STARGLITCHER" | |
8268 | Humanoid.MaxHealth = math.huge | |
8269 | Humanoid.Health = math.huge | |
8270 | Instance.new("ForceField",char).Visible = false | |
8271 | ||
8272 | local bguis = Instance.new("BillboardGui",tors) | |
8273 | bguis.Size = UDim2.new(25, 0, 25, 0) | |
8274 | local bguis2 = Instance.new("BillboardGui",tors) | |
8275 | bguis2.Size = UDim2.new(25, 0, 25, 0) | |
8276 | local imgca = Instance.new("ImageLabel",bguis) | |
8277 | imgca.BackgroundTransparency = 1 | |
8278 | imgca.ImageTransparency = 1 | |
8279 | imgca.Size = UDim2.new(1,0,1,0) | |
8280 | imgca.Image = "rbxassetid://2076458450" --997291547,521073910,2312119891 | |
8281 | imgca.ImageColor3 = Color3.new(0,0,0) | |
8282 | local imgca2 = Instance.new("ImageLabel",bguis2) | |
8283 | imgca2.BackgroundTransparency = 1 | |
8284 | imgca2.ImageTransparency = 1 | |
8285 | imgca2.Size = UDim2.new(1,0,1,0) | |
8286 | imgca2.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891,2344830904 | |
8287 | imgca2.ImageColor3 = Color3.new(0,0,0) | |
8288 | ||
8289 | idleanim=.4 | |
8290 | while true do | |
8291 | if mutedtog == false then | |
8292 | kan.Volume = currentVol | |
8293 | elseif mutedtog == true then | |
8294 | kan.Volume = 0 | |
8295 | end | |
8296 | kan.PlaybackSpeed = currentPitch | |
8297 | kan.Pitch = currentPitch | |
8298 | kan.SoundId = currentThemePlaying | |
8299 | kan.Looped = true | |
8300 | kan.Parent = char | |
8301 | kan:Resume() | |
8302 | if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 738 and ModeOfGlitch ~= 61 and ModeOfGlitch ~= 88893333388 then | |
8303 | imgca.ImageTransparency = 1 | |
8304 | elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 738 or ModeOfGlitch == 61 or ModeOfGlitch == 88893333388 then | |
8305 | imgca.ImageColor3 = MAINRUINCOLOR.Color | |
8306 | imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30) | |
8307 | end | |
8308 | if ModeOfGlitch ~= 11111 and ModeOfGlitch ~= 676767 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 738 then | |
8309 | imgca2.ImageTransparency = 1 | |
8310 | elseif ModeOfGlitch == 11111 or ModeOfGlitch == 738 then | |
8311 | imgca2.ImageColor3 = MAINRUINCOLOR.Color | |
8312 | imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30) | |
8313 | elseif ModeOfGlitch == 676767 or ModeOfGlitch == 55469696922 then | |
8314 | imgca2.ImageColor3 = MAINRUINCOLOR.Color | |
8315 | imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30) | |
8316 | end | |
8317 | imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25 | |
8318 | imgca2.Rotation = imgca.Rotation - 5 - kan.PlaybackLoudness/100 | |
8319 | bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0) | |
8320 | coroutine.resume(coroutine.create(function() | |
8321 | if chaosmode == true then | |
8322 | for i, v in pairs(mw1:GetChildren()) do | |
8323 | if v:IsA("Part") then | |
8324 | v.Transparency = 0 | |
8325 | v.BrickColor = BrickColor.random() | |
8326 | v.Material = "Neon" | |
8327 | end | |
8328 | end | |
8329 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
8330 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
8331 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
8332 | RecolorTextAndRename("KARMA",Color3.new(0,0,0),BrickColor.random().Color,"Arcade") | |
8333 | end | |
8334 | end)) | |
8335 | if chaosmode == false then | |
8336 | modet.Position = UDim2.new(0,0,0,0) | |
8337 | modet.Rotation = -5 * math.cos(sine / 32) | |
8338 | techc.Rotation = techc.Rotation + 1 | |
8339 | circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1 | |
8340 | circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1 | |
8341 | imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1 | |
8342 | imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1 | |
8343 | ned.Rotation = 0 - 2 * math.cos(sine / 24) | |
8344 | ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45)) | |
8345 | else | |
8346 | techc.Rotation = techc.Rotation + 1 | |
8347 | circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5) | |
8348 | circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5) | |
8349 | imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5) | |
8350 | imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5) | |
8351 | ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3) | |
8352 | ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3)) | |
8353 | modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1)) | |
8354 | modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3) | |
8355 | end | |
8356 | CameraManager() | |
8357 | swait() | |
8358 | if ModeOfGlitch ~= 676767 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= -666666 and ModeOfGlitch ~= 666666666 and ModeOfGlitch ~= 112 and glitchermode ~= "universal" and ModeOfGlitch ~= 246758 and ModeOfGlitch ~= 46874 and ModeOfGlitch ~= 738 and ModeOfGlitch ~= 55846 and ModeOfGlitch ~= 74532 and ModeOfGlitch ~= 18273 and ModeOfGlitch ~= 404 and ModeOfGlitch ~= 146536 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 101010 and ModeOfGlitch ~= 124 and ModeOfGlitch ~= 81 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 and ModeOfGlitch ~= 6518594185 and ModeOfGlitch ~= 7888 and ModeOfGlitch ~= 555 and ModeOfGlitch ~= 6868 and ModeOfGlitch ~= 412 and ModeOfGlitch ~= 2335 and ModeOfGlitch ~= 727 and ModeOfGlitch ~= 2019 and ModeOfGlitch ~= 841 and ModeOfGlitch ~= 728 and ModeOfGlitch ~= 8799 and ModeOfGlitch ~= 2102 and ModeOfGlitch ~= 906 and ModeOfGlitch ~= 2000 and ModeOfGlitch ~= 2222222 and ModeOfGlitch ~= 911 and ModeOfGlitch ~= -5 and ModeOfGlitch ~= 2304 and ModeOfGlitch ~= 102 and ModeOfGlitch ~= 4434 and ModeOfGlitch ~= -99 and ModeOfGlitch ~= -999 and ModeOfGlitch ~= 78213 and ModeOfGlitch ~= 3141 and ModeOfGlitch ~= 763 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 147 and ModeOfGlitch ~= 888 then | |
8359 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8360 | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8361 | lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 20 * math.cos(sine / 12)),math.rad(0),math.rad(12.5 + 8 * math.cos(sine / 12))),.3) | |
8362 | lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 25 * math.cos(sine / 16)),math.rad(0),math.rad(25 + 11.5 * math.cos(sine / 16))),.3) | |
8363 | lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 35 * math.cos(sine / 20)),math.rad(0),math.rad(37.5 + 14 * math.cos(sine / 20))),.3) | |
8364 | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 20 * math.cos(sine / 12)),math.rad(0),math.rad(-12.5 - 8 * math.cos(sine / 12))),.3) | |
8365 | rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 25 * math.cos(sine / 16)),math.rad(0),math.rad(-25 - 11.5 * math.cos(sine / 16))),.3) | |
8366 | rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 30 * math.cos(sine / 20)),math.rad(0),math.rad(-37.5 - 14 * math.cos(sine / 20))),.3) | |
8367 | sine = sine + change | |
8368 | elseif ModeOfGlitch == 3444 then | |
8369 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8370 | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8371 | lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3) | |
8372 | 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+math.random(-100,100)) / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3) | |
8373 | lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3) | |
8374 | lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3) | |
8375 | lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3) | |
8376 | lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3) | |
8377 | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3) | |
8378 | rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3) | |
8379 | rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3) | |
8380 | rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3) | |
8381 | rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3) | |
8382 | rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3) | |
8383 | sine = sine + change | |
8384 | elseif ModeOfGlitch == 3 then | |
8385 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8386 | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8387 | lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3) | |
8388 | 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) | |
8389 | lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3) | |
8390 | lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3) | |
8391 | lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3) | |
8392 | lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3) | |
8393 | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3) | |
8394 | rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3) | |
8395 | rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3) | |
8396 | rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3) | |
8397 | rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3) | |
8398 | rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3) | |
8399 | sine = sine + change | |
8400 | ||
8401 | elseif ModeOfGlitch == -666666 then | |
8402 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8403 | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8404 | lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(45 * sine/36)),.3) | |
8405 | lwing2weld.C1=clerp(lwing2weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(180 * sine/36)),.3) | |
8406 | lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3) | |
8407 | lwing4weld.C1=clerp(lwing4weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(22.5 * sine/36)),.3) | |
8408 | lwing5weld.C1=clerp(lwing5weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3) | |
8409 | lwing6weld.C1=clerp(lwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(65 * sine/36)),.3) | |
8410 | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-45 * sine/36)),.3) | |
8411 | rwing2weld.C1=clerp(rwing2weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180 * sine/36)),.3) | |
8412 | rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3) | |
8413 | rwing4weld.C1=clerp(rwing4weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-22.5 * sine/36)),.3) | |
8414 | rwing5weld.C1=clerp(rwing5weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3) | |
8415 | rwing6weld.C1=clerp(rwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(-65 * sine/36)),.3) | |
8416 | sine = sine + change | |
8417 | ||
8418 | elseif ModeOfGlitch == 112 then | |
8419 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8420 | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8421 | lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(45 * sine/36)),.3) | |
8422 | lwing2weld.C1=clerp(lwing2weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(180 * sine/36)),.3) | |
8423 | lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3) | |
8424 | lwing4weld.C1=clerp(lwing4weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(22.5 * sine/36)),.3) | |
8425 | lwing5weld.C1=clerp(lwing5weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3) | |
8426 | lwing6weld.C1=clerp(lwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(65 * sine/36)),.3) | |
8427 | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-45 * sine/36)),.3) | |
8428 | rwing2weld.C1=clerp(rwing2weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180 * sine/36)),.3) | |
8429 | rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3) | |
8430 | rwing4weld.C1=clerp(rwing4weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-22.5 * sine/36)),.3) | |
8431 | rwing5weld.C1=clerp(rwing5weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3) | |
8432 | rwing6weld.C1=clerp(rwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(-65 * sine/36)),.3) | |
8433 | sine = sine + change | |
8434 | ||
8435 | elseif ModeOfGlitch == 46874 then | |
8436 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8437 | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8438 | lwing1weld.C1=clerp(lwing1weld.C1,cf(0,math.sin(sine/15)-1,0)*angles(math.rad(0),math.rad(180),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8439 | lwing2weld.C1=clerp(lwing2weld.C1,cf(0,math.sin(sine/15)-2,0)*angles(math.rad(0),math.rad(180),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8440 | lwing3weld.C1=clerp(lwing3weld.C1,cf(0,math.sin(sine/15)-3,0)*angles(math.rad(0),math.rad(180),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8441 | rwing1weld.C1=clerp(rwing1weld.C1,cf(0,math.sin(sine/15)+2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8442 | rwing2weld.C1=clerp(rwing2weld.C1,cf(0,math.sin(sine/15)+1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8443 | rwing3weld.C1=clerp(rwing3weld.C1,cf(0,math.sin(sine/15)+0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8444 | sine = sine + change | |
8445 | elseif ModeOfGlitch == 146536 then | |
8446 | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8447 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8448 | lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 + 1 * math.cos(sine / 1)),math.rad(0 - 1),1 + 1),.3) | |
8449 | lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 2),1 + 2),.3) | |
8450 | lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 3),1 + 3),.3) | |
8451 | rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 4),1 + 4),.3) | |
8452 | rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 5),1 + 5),.3) | |
8453 | rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 6),1 + 6),.3) | |
8454 | lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 27),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 7),1 + 7),.3) | |
8455 | lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 28),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 8),1 + 8),.3) | |
8456 | lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 29),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 9),1 + 9),.3) | |
8457 | rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 30),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 10),1 + 10),.3) | |
8458 | rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 31),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 11),1 + 11),.3) | |
8459 | rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 32),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 12),1 + 12),.3) | |
8460 | sine = sine + change | |
8461 | elseif ModeOfGlitch == 124 then | |
8462 | handleweld.C0=clerp(handleweld.C0,cf(-2,1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8463 | handlexweld.C0=clerp(handleweld.C0,cf(-2,1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8464 | lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8465 | lwing2weld.C1=clerp(lwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8466 | lwing3weld.C1=clerp(lwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8467 | rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8468 | rwing2weld.C1=clerp(rwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8469 | rwing3weld.C1=clerp(rwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8470 | lwing4weld.C1=clerp(lwing4weld.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) | |
8471 | lwing5weld.C1=clerp(lwing5weld.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) | |
8472 | lwing6weld.C1=clerp(lwing6weld.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) | |
8473 | rwing4weld.C1=clerp(rwing4weld.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) | |
8474 | rwing5weld.C1=clerp(rwing5weld.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) | |
8475 | rwing6weld.C1=clerp(rwing6weld.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) | |
8476 | sine = sine + change | |
8477 | elseif ModeOfGlitch == 7888 then | |
8478 | lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8479 | lwing2weld.C1=clerp(lwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8480 | lwing3weld.C1=clerp(lwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8481 | rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8482 | rwing2weld.C1=clerp(rwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8483 | rwing3weld.C1=clerp(rwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8484 | 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) | |
8485 | 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) | |
8486 | 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) | |
8487 | rwing4weld.C1=clerp(rwing4weld.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) | |
8488 | rwing5weld.C1=clerp(rwing5weld.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) | |
8489 | rwing6weld.C1=clerp(rwing6weld.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) | |
8490 | sine = sine + change | |
8491 | elseif ModeOfGlitch == 666666666 then | |
8492 | lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8493 | lwing2weld.C1=clerp(lwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8494 | lwing3weld.C1=clerp(lwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8495 | rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8496 | rwing2weld.C1=clerp(rwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8497 | rwing3weld.C1=clerp(rwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8498 | 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) | |
8499 | 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) | |
8500 | 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) | |
8501 | rwing4weld.C1=clerp(rwing4weld.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) | |
8502 | rwing5weld.C1=clerp(rwing5weld.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) | |
8503 | rwing6weld.C1=clerp(rwing6weld.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) | |
8504 | sine = sine + change | |
8505 | elseif ModeOfGlitch == 78213 then | |
8506 | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8507 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8508 | 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) | |
8509 | 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) | |
8510 | 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) | |
8511 | rwing1weld.C1=clerp(rwing1weld.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) | |
8512 | rwing2weld.C1=clerp(rwing2weld.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) | |
8513 | rwing3weld.C1=clerp(rwing3weld.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) | |
8514 | 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) | |
8515 | 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) | |
8516 | 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) | |
8517 | rwing4weld.C1=clerp(rwing4weld.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) | |
8518 | rwing5weld.C1=clerp(rwing5weld.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) | |
8519 | rwing6weld.C1=clerp(rwing6weld.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) | |
8520 | sine = sine + change | |
8521 | elseif ModeOfGlitch == -99 then | |
8522 | lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3) | |
8523 | 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) | |
8524 | lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3) | |
8525 | lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3) | |
8526 | lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3) | |
8527 | lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3) | |
8528 | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3) | |
8529 | rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3) | |
8530 | rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3) | |
8531 | rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3) | |
8532 | rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3) | |
8533 | rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3) | |
8534 | sine = sine + change | |
8535 | elseif ModeOfGlitch == 102 or ModeOfGlitch == 4434 then | |
8536 | lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3) | |
8537 | 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 / 16))),.5) | |
8538 | lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 8))),.7) | |
8539 | lwing4weld.C1=clerp(lwing4weld.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) | |
8540 | lwing5weld.C1=clerp(lwing5weld.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) | |
8541 | lwing6weld.C1=clerp(lwing6weld.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) | |
8542 | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3) | |
8543 | rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 16))),.5) | |
8544 | rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 8))),.7) | |
8545 | rwing4weld.C1=clerp(rwing4weld.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) | |
8546 | rwing5weld.C1=clerp(rwing5weld.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) | |
8547 | rwing6weld.C1=clerp(rwing6weld.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) | |
8548 | sine = sine + change | |
8549 | elseif ModeOfGlitch == 906 or glitchermode == "universal" then | |
8550 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8551 | 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) | |
8552 | 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) | |
8553 | 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) | |
8554 | 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) | |
8555 | 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) | |
8556 | 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) | |
8557 | 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) | |
8558 | 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) | |
8559 | 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) | |
8560 | 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) | |
8561 | 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) | |
8562 | 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) | |
8563 | 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) | |
8564 | sine = sine + change | |
8565 | elseif ModeOfGlitch == -5 or ModeOfGlitch == 665 or ModeOfGlitch == 8889 then | |
8566 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8567 | 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) | |
8568 | 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) | |
8569 | 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) | |
8570 | 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) | |
8571 | 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) | |
8572 | 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) | |
8573 | 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) | |
8574 | 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) | |
8575 | 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) | |
8576 | 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) | |
8577 | sine = sine + change | |
8578 | elseif ModeOfGlitch == 2102 then | |
8579 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8580 | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8581 | 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) | |
8582 | 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) | |
8583 | 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) | |
8584 | 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) | |
8585 | 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) | |
8586 | 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) | |
8587 | 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) | |
8588 | 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) | |
8589 | 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) | |
8590 | 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) | |
8591 | 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) | |
8592 | 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) | |
8593 | sine = sine + change | |
8594 | elseif ModeOfGlitch == 555 or ModeOfGlitch == 7621 or ModeOfGlitch == 3141 or ModeOfGlitch == 101010 or ModeOfGlitch == 44444 or ModeOfGlitch == 404 or ModeOfGlitch == 55846 then | |
8595 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8596 | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8597 | 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) | |
8598 | 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) | |
8599 | 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) | |
8600 | lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3) | |
8601 | lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3) | |
8602 | lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3) | |
8603 | 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) | |
8604 | 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) | |
8605 | 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) | |
8606 | rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3) | |
8607 | rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3) | |
8608 | rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3) | |
8609 | sine = sine + change | |
8610 | elseif ModeOfGlitch == 2019 then | |
8611 | lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,-0.4)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3) | |
8612 | lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,-0.4)*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) | |
8613 | lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,-0.4)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3) | |
8614 | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,-0.4)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3) | |
8615 | rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,-0.4)*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) | |
8616 | rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3) | |
8617 | lwing4weld.C1=clerp(lwing4weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(360 + 720 * math.cos(sine / 65))),.3) | |
8618 | lwing5weld.C1=clerp(lwing5weld.C1,cf(0,0 - 1 * math.cos(sine / 32.5),-0.8)*angles(math.rad(0 + 5 * math.cos(sine / 32.5)),math.rad(0),math.rad(360)),.3) | |
8619 | lwing6weld.C1=clerp(lwing6weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(180 + 720 * math.cos(sine / 65))),.3) | |
8620 | rwing4weld.C1=clerp(rwing4weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(-90 + 720 * math.cos(sine / 65))),.3) | |
8621 | rwing5weld.C1=clerp(rwing5weld.C1,cf(0,-1 + 1 * math.cos(sine / 32.5),-0.9)*angles(math.rad(0 + 5 * math.cos(sine / 32.5)),math.rad(0),math.rad(180)),.3) | |
8622 | rwing6weld.C1=clerp(rwing6weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),-0.9)*angles(math.rad(0),math.rad(0),math.rad(90 + 720 * math.cos(sine / 65))),.3) | |
8623 | sine = sine + change | |
8624 | elseif ModeOfGlitch == 81 then | |
8625 | handleweld.C0=clerp(handleweld.C0,cf(0,-6.5,-1.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3) | |
8626 | 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) | |
8627 | 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) | |
8628 | 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) | |
8629 | 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) | |
8630 | 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) | |
8631 | 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) | |
8632 | 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) | |
8633 | 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) | |
8634 | 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) | |
8635 | 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) | |
8636 | 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) | |
8637 | 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) | |
8638 | sine = sine + change | |
8639 | elseif ModeOfGlitch == 841 or ModeOfGlitch == 2222222 or ModeOfGlitch == -3 or ModeOfGlitch == -4 then | |
8640 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8641 | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8642 | lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8643 | lwing2weld.C1=clerp(lwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8644 | lwing3weld.C1=clerp(lwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8645 | rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8646 | rwing2weld.C1=clerp(rwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8647 | rwing3weld.C1=clerp(rwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8648 | lwing4weld.C1=clerp(lwing4weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(360 + 720 * math.cos(sine / 65))),.3) | |
8649 | lwing5weld.C1=clerp(lwing5weld.C1,cf(0,0 - 1 * math.cos(sine / 32.5),-0.8)*angles(math.rad(0 + 5 * math.cos(sine / 32.5)),math.rad(0),math.rad(360)),.3) | |
8650 | lwing6weld.C1=clerp(lwing6weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(180 + 720 * math.cos(sine / 65))),.3) | |
8651 | rwing4weld.C1=clerp(rwing4weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(-90 + 720 * math.cos(sine / 65))),.3) | |
8652 | rwing5weld.C1=clerp(rwing5weld.C1,cf(0,-1 + 1 * math.cos(sine / 32.5),-0.9)*angles(math.rad(0 + 5 * math.cos(sine / 32.5)),math.rad(0),math.rad(180)),.3) | |
8653 | rwing6weld.C1=clerp(rwing6weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),-0.9)*angles(math.rad(0),math.rad(0),math.rad(90 + 720 * math.cos(sine / 65))),.3) | |
8654 | sine = sine + change | |
8655 | elseif ModeOfGlitch == 2335 then | |
8656 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8657 | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8658 | lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3) | |
8659 | 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) | |
8660 | lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3) | |
8661 | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3) | |
8662 | rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3) | |
8663 | rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3) | |
8664 | 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) | |
8665 | 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) | |
8666 | 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) | |
8667 | 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) | |
8668 | 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) | |
8669 | 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) | |
8670 | sine = sine + change | |
8671 | elseif ModeOfGlitch == 412 or ModeOfGlitch == 738 then | |
8672 | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8673 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8674 | lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 + 1 * math.cos(sine / 1)),math.rad(0 - 1),1 + 1),.3) | |
8675 | lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 2),1 + 2),.3) | |
8676 | lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 3),1 + 3),.3) | |
8677 | rwing1weld.C1=clerp(rwing1weld.C1,cf(0 - 7 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-0.75)*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) | |
8678 | rwing2weld.C1=clerp(rwing2weld.C1,cf(0 - 7 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-0.75)*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) | |
8679 | rwing3weld.C1=clerp(rwing3weld.C1,cf(0 - 7 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-0.75)*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) | |
8680 | 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) | |
8681 | 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) | |
8682 | 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) | |
8683 | 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 / 1800))),.3) | |
8684 | 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 / 1800))),.3) | |
8685 | 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 / 1800))),.3) | |
8686 | sine = sine + change | |
8687 | elseif ModeOfGlitch == 2304 or ModeOfGlitch == 765688533321 then | |
8688 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8689 | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8690 | lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 45),4 + 2.75 * math.cos(sine / 6.25),0)*angles(math.rad(0 + 1 * math.cos(sine / 12.5)),math.rad(0 + 2 * math.cos(sine / 9)),math.rad(90 + 3600 * math.cos(sine / 90))),.3) | |
8691 | 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) | |
8692 | lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3) | |
8693 | lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3) | |
8694 | lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3) | |
8695 | lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3) | |
8696 | rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 45),4 + 2.75 * math.cos(sine / 6.25),0)*angles(math.rad(0 + 1 * math.cos(sine / 12.5)),math.rad(0 - 2 * math.cos(sine / 9)),math.rad(-90 + 3600 * math.cos(sine / 90))),.3) | |
8697 | rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3) | |
8698 | rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3) | |
8699 | rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3) | |
8700 | rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3) | |
8701 | rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3) | |
8702 | sine = sine + change | |
8703 | else | |
8704 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8705 | handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8706 | lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8707 | lwing2weld.C1=clerp(lwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8708 | lwing3weld.C1=clerp(lwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8709 | rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8710 | rwing2weld.C1=clerp(rwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8711 | rwing3weld.C1=clerp(rwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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) | |
8712 | lwing4weld.C1=clerp(lwing4weld.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) | |
8713 | lwing5weld.C1=clerp(lwing5weld.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) | |
8714 | lwing6weld.C1=clerp(lwing6weld.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) | |
8715 | rwing4weld.C1=clerp(rwing4weld.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) | |
8716 | rwing5weld.C1=clerp(rwing5weld.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) | |
8717 | rwing6weld.C1=clerp(rwing6weld.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) | |
8718 | sine = sine + change | |
8719 | end | |
8720 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
8721 | local velderp=RootPart.Velocity.y | |
8722 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
8723 | if equipped==true or equipped==false then | |
8724 | if attack==false then | |
8725 | idle=idle+1 | |
8726 | else | |
8727 | idle=0 | |
8728 | end | |
8729 | if idle>=500 then | |
8730 | if attack==false then | |
8731 | --Sheath() | |
8732 | end | |
8733 | end | |
8734 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
8735 | Anim="Jump" | |
8736 | if attack==false then | |
8737 | 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) | |
8738 | 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) | |
8739 | 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) | |
8740 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1) | |
8741 | 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) | |
8742 | 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) | |
8743 | end | |
8744 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
8745 | Anim="Fall" | |
8746 | if attack==false then | |
8747 | 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) | |
8748 | 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) | |
8749 | 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) | |
8750 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1) | |
8751 | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1) | |
8752 | LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1) | |
8753 | end | |
8754 | elseif torvel<1 and hitfloor~=nil then | |
8755 | Anim="Idle" | |
8756 | if attack==false then | |
8757 | if ModeOfGlitch == 1 then | |
8758 | local snap = math.random(1,10) | |
8759 | if snap == 1 then | |
8760 | 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) | |
8761 | end | |
8762 | 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) | |
8763 | 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) | |
8764 | 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) | |
8765 | 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) | |
8766 | 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) | |
8767 | 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) | |
8768 | elseif ModeOfGlitch == 2335 then | |
8769 | 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) | |
8770 | 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) | |
8771 | 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) | |
8772 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
8773 | 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) | |
8774 | 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) | |
8775 | elseif ModeOfGlitch == -5 or ModeOfGlitch == 665 then | |
8776 | LH.C0 = clerp(LH.C0,cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
8777 | RH.C0 = clerp(RH.C0,cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
8778 | RootJoint.C0 = clerp(RootJoint.C0,cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1) | |
8779 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1) | |
8780 | LW.C0 = clerp(LW.C0,cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1) | |
8781 | RW.C0 = clerp(RW.C0,cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1) | |
8782 | elseif ModeOfGlitch == 5 then | |
8783 | 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) | |
8784 | 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) | |
8785 | 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) | |
8786 | 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) | |
8787 | 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) | |
8788 | 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) | |
8789 | elseif ModeOfGlitch == 738 then | |
8790 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1) | |
8791 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1) | |
8792 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1) | |
8793 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
8794 | 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) | |
8795 | 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) | |
8796 | elseif ModeOfGlitch == 666666666 then | |
8797 | local snap = math.random(1,3) | |
8798 | if snap == 1 then | |
8799 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),0.6) | |
8800 | end | |
8801 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(83),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1) | |
8802 | 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) | |
8803 | 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) | |
8804 | 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) | |
8805 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 13 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1) | |
8806 | 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) | |
8807 | elseif ModeOfGlitch == 67966 then | |
8808 | 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 + 3 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1) | |
8809 | 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(6),math.rad(0 + 3 * math.cos(sine / 56)),math.rad(3 + 2 * math.cos(sine / 32))),.1) | |
8810 | 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 - 6 * math.cos(sine / 56))),.1) | |
8811 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-3 - 5 * math.cos(sine / 37)),math.rad(0 + 14 * math.cos(sine / 58)),math.rad(0 + 3 * math.cos(sine / 53))),.1) | |
8812 | 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) | |
8813 | 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) | |
8814 | elseif ModeOfGlitch == 11 then | |
8815 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
8816 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0)), 0.3) | |
8817 | RH.C0 = clerp(RH.C0, CFrame.new(1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-4.5), math.rad(0), math.rad(0)), 0.15) | |
8818 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.15) | |
8819 | RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1) | |
8820 | LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4 + 0.05 * math.cos(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1) | |
8821 | elseif ModeOfGlitch == 1055 then | |
8822 | 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(-20 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.2) | |
8823 | 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(3 + 2 * math.cos(sine / 32))),.2) | |
8824 | 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(30)),.2) | |
8825 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-10 + 2 * math.cos(sine / 58)),math.rad(-30)),.2) | |
8826 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.2) | |
8827 | LW.C0=clerp(LW.C0,cf(-1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(67 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.2) | |
8828 | elseif ModeOfGlitch == -666666 then | |
8829 | local snap = math.random(1,30) | |
8830 | if snap == 1 then | |
8831 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 + math.random(-45,0)),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),1) | |
8832 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.4 * math.cos(sine / 30),0 + 0.4 * math.cos(sine / 32),5.2 + 0.4 * math.cos(sine / 26))*angles(math.rad(20 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(math.random(-5,5))),1) | |
8833 | RW.C0=clerp(RW.C0,cf(1.35,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(math.random(40,185) + 6 * math.cos(sine / 72)),math.rad(2 - 4 * math.cos(sine / 58)),math.rad(math.random(-35,-7) + 1 * math.cos(sine / 45))),1) | |
8834 | LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(math.random(40,187) - 7 * math.cos(sine / 66)),math.rad(6 - 5 * math.cos(sine / 59)),math.rad(math.random(9,31) - 3 * math.cos(sine / 45))),1) | |
8835 | end | |
8836 | elseif ModeOfGlitch == 420 then | |
8837 | local snap = math.random(1,5) | |
8838 | if snap == 1 then | |
8839 | 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) | |
8840 | 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) | |
8841 | 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) | |
8842 | end | |
8843 | 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) | |
8844 | 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) | |
8845 | 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) | |
8846 | 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) | |
8847 | 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) | |
8848 | 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) | |
8849 | elseif ModeOfGlitch == 676767 then | |
8850 | 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)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1) | |
8851 | 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)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1) | |
8852 | 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)),math.rad(8),math.rad(0)),.1) | |
8853 | 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) | |
8854 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-24 + 9 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(38 + 7 * math.cos(sine / 45))),.1) | |
8855 | LW.C0=clerp(LW.C0,cf(-0.8,0.35 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(160 - 2 * math.cos(sine / 66)),math.rad(5 - 8 * math.cos(sine / 59)),math.rad(87 - 3 * math.cos(sine / 45))),.1) | |
8856 | elseif ModeOfGlitch == 11111 then | |
8857 | RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 9 * math.cos(sine / 39))),.2) | |
8858 | LH.C0=clerp(LH.C0,cf(-1,-1,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(10 + 5 * math.cos(sine / 51))),.2) | |
8859 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),1 + 0.25 * math.cos(sine / 32))*angles(math.rad(3 - 3 * math.cos(sine / 32)),math.rad(0),math.rad(22)),.2) | |
8860 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-22)),.2) | |
8861 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(180 + 3 * math.cos(sine / 53)),math.rad(0 - 4 * math.cos(sine / 60)),math.rad(-5 + 4 * math.cos(sine / 45))),.2) | |
8862 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-5 - 7 * math.cos(sine / 58)),math.rad(1 - 5 * math.cos(sine / 55)),math.rad(-12 - 9 * math.cos(sine / 45))),.2) | |
8863 | elseif ModeOfGlitch == 242424 then | |
8864 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 34))),.1) | |
8865 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1) | |
8866 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1) | |
8867 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1) | |
8868 | RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1) | |
8869 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1) | |
8870 | elseif ModeOfGlitch == 3 or ModeOfGlitch == -2 or ModeOfGlitch == 25 or ModeOfGlitch == 3141 or ModeOfGlitch == 146536 then | |
8871 | local snap = math.random(1,32) | |
8872 | if snap == 1 then | |
8873 | 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) | |
8874 | end | |
8875 | 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) | |
8876 | 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) | |
8877 | 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) | |
8878 | 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) | |
8879 | 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) | |
8880 | 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) | |
8881 | elseif ModeOfGlitch == 3 then | |
8882 | local snap = math.random(1,32) | |
8883 | elseif ModeOfGlitch == 88893333388 then | |
8884 | 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) | |
8885 | 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) | |
8886 | 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) | |
8887 | 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) | |
8888 | 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) | |
8889 | 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) | |
8890 | elseif ModeOfGlitch == 103 then | |
8891 | 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) | |
8892 | 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) | |
8893 | 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) | |
8894 | 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) | |
8895 | 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) | |
8896 | 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) | |
8897 | elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then | |
8898 | 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) | |
8899 | 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) | |
8900 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),20 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
8901 | 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) | |
8902 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(28 + 2 * math.cos(sine / 45))),.1) | |
8903 | elseif ModeOfGlitch == 2 then | |
8904 | 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) | |
8905 | 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) | |
8906 | 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) | |
8907 | 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(0 + 1 * math.cos(sine / 53))),.1) | |
8908 | 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) | |
8909 | 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) | |
8910 | elseif ModeOfGlitch == 3 then | |
8911 | local snap = math.random(1,32) | |
8912 | if snap == 1 then | |
8913 | 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) | |
8914 | end | |
8915 | 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) | |
8916 | 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) | |
8917 | 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) | |
8918 | 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) | |
8919 | 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) | |
8920 | 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) | |
8921 | elseif ModeOfGlitch == 453453484635345 then | |
8922 | 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("Institutional white"),BrickColor.new("Dark stone grey").Color) | |
8923 | 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) | |
8924 | 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) | |
8925 | 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) | |
8926 | 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) | |
8927 | 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) | |
8928 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(90 - 4 * math.cos(sine / 45))),.1) | |
8929 | elseif ModeOfGlitch == 4 then | |
8930 | 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) | |
8931 | 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) | |
8932 | 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) | |
8933 | 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(0 + 1 * math.cos(sine / 53))),.1) | |
8934 | 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) | |
8935 | 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) | |
8936 | elseif ModeOfGlitch == 765688533321 then | |
8937 | 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) | |
8938 | 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) | |
8939 | 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) | |
8940 | 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) | |
8941 | RW.C0=clerp(RW.C0,CFrame.new(1.5,0.55+0.05*math.cos(sine/25)+ -math.sin(sine/25)/40,0)*angles(math.rad(5-2.5*math.cos(sine/25)),math.rad(0),math.rad(10+5*math.cos(sine/25))+ math.sin(sine/25)/20),0.15) | |
8942 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.55+0.05*math.cos(sine/25)+ -math.sin(sine/25)/40,0)*angles(math.rad(5-2.5*math.cos(sine/25)),math.rad(0),math.rad(-10-5*math.cos(sine/25))+ -math.sin(sine/25)/20),0.15) | |
8943 | elseif ModeOfGlitch == 146536 then | |
8944 | RH.C0=clerp(RH.C0,cf(1, -1 - 0.025 * math.cos(sine/12), -0.01)*angles(math.rad(0),math.rad(83),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
8945 | LH.C0=clerp(LH.C0,cf(-1, -1 - 0.05 * math.cos(sine/12), -0.01)*angles(math.rad(0),math.rad(-83),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
8946 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0, 0, 0 + 0.05 * math.cos(sine / 12))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
8947 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(15 - 2.5 * math.sin(sine / 12)),math.rad(0),math.rad(0)),0.1) | |
8948 | RW.C0=clerp(RW.C0,cf(1,0.35 + 0.125 * math.cos(sine / 12),-0.45)*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) | |
8949 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.125 * math.cos(sine / 12),-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) | |
8950 | elseif ModeOfGlitch == 2339 then | |
8951 | 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) | |
8952 | 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) | |
8953 | 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) | |
8954 | 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) | |
8955 | 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) | |
8956 | 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) | |
8957 | elseif ModeOfGlitch == 5 then | |
8958 | 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) | |
8959 | 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) | |
8960 | 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) | |
8961 | 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) | |
8962 | 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) | |
8963 | 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) | |
8964 | elseif ModeOfGlitch == 6 then | |
8965 | 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) | |
8966 | 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) | |
8967 | 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) | |
8968 | 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) | |
8969 | 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) | |
8970 | 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) | |
8971 | elseif ModeOfGlitch == 8 then | |
8972 | 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) | |
8973 | 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) | |
8974 | 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) | |
8975 | 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) | |
8976 | 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) | |
8977 | 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) | |
8978 | elseif ModeOfGlitch == 9 then | |
8979 | 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) | |
8980 | 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) | |
8981 | 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) | |
8982 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) | |
8983 | 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) | |
8984 | 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) | |
8985 | elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then | |
8986 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2) | |
8987 | 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) | |
8988 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,20.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) | |
8989 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2) | |
8990 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2) | |
8991 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2) | |
8992 | elseif ModeOfGlitch == 999999999 then | |
8993 | 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) | |
8994 | 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) | |
8995 | 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) | |
8996 | 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) | |
8997 | 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) | |
8998 | LW.C0=clerp(LW.C0, cf(-1.1, 0.4 + 0.05 * math.cos(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1) | |
8999 | elseif ModeOfGlitch == 8889 or ModeOfGlitch == 911 then | |
9000 | 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 - 5 * math.cos(sine / 51))),.1) | |
9001 | 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 / 44))),.1) | |
9002 | 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(-36)),.1) | |
9003 | 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(36 + 2 * math.cos(sine / 53))),.1) | |
9004 | 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)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 10 * math.cos(sine / 73))),.1) | |
9005 | 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) | |
9006 | elseif ModeOfGlitch == 1264532489 then | |
9007 | 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) | |
9008 | 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) | |
9009 | 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) | |
9010 | 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) | |
9011 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(28 + 2 * math.cos(sine / 45))),.1) | |
9012 | 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) | |
9013 | elseif ModeOfGlitch == 9999999921111 then | |
9014 | 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(25 + 1 * math.cos(sine / 34))),.2) | |
9015 | 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(-35 + 1 * math.cos(sine / 34))),.2) | |
9016 | 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(27 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1) | |
9017 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 - 2.5 * math.cos(sine / 28)),math.rad(10 + 2.5 * math.cos(sine / 75)),math.rad(0)),.2) | |
9018 | RW.C0=clerp(RW.C0,cf(1.35,0.45 + 0.025 * math.cos(sine / 28),-0.2)*angles(math.rad(40),math.rad(0),math.rad(-1)),.2) | |
9019 | LW.C0=clerp(LW.C0,cf(-1.35,0.45 + 0.025 * math.cos(sine / 28),-0.2)*angles(math.rad(40),math.rad(0),math.rad(3)),.2) | |
9020 | elseif ModeOfGlitch == 4367677813 then | |
9021 | RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 40)),math.rad(-15),math.rad(0 + 2 * math.cos(sine / 20))),.1) | |
9022 | LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 40)),math.rad(1),math.rad(0 - 2 * math.cos(sine / 20))),.1) | |
9023 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.02 * math.cos(sine / 40),-0.05 - 0.05 * math.cos(sine / 20))*angles(math.rad(0 + 2 * math.cos(sine / 20)),math.rad(0 + 2 * math.cos(sine / 40)),math.rad(30 + 3 * math.cos(sine / 40))),.1) | |
9024 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0 - 7 * math.cos(sine / 40)),math.rad(-30 - 3 * math.cos(sine / 40))),.1) | |
9025 | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-6 + 5 * math.cos(sine / 26)),math.rad(-10 - 6 * math.cos(sine / 24)),math.rad(13 - 5 * math.cos(sine / 34))),.1) | |
9026 | LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 1 * math.cos(sine / 25)),math.rad(10 + 2 * math.cos(sine / 24)),math.rad(10 + 2 * math.cos(sine / 34))),.1) | |
9027 | elseif ModeOfGlitch == 61 then | |
9028 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1) | |
9029 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1) | |
9030 | 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(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1) | |
9031 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1) | |
9032 | 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) | |
9033 | 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) | |
9034 | elseif ModeOfGlitch == 55469696922 then | |
9035 | 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) | |
9036 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1) | |
9037 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1) | |
9038 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(18)),.1) | |
9039 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(-18)),.1) | |
9040 | RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 7 * math.cos(sine / 34)),math.rad(0 - 6 * math.cos(sine / 45)),math.rad(-80 + 2 * math.cos(sine / 28))),.1) | |
9041 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(-5 - 3 * math.cos(sine / 39))),.1) | |
9042 | elseif ModeOfGlitch == 999999999556 then | |
9043 | 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) | |
9044 | 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) | |
9045 | 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(17)),.1) | |
9046 | 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) | |
9047 | 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) | |
9048 | 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) | |
9049 | end | |
9050 | end | |
9051 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
9052 | Anim="Walk" | |
9053 | if attack==false then | |
9054 | if ModeOfGlitch ~= 102 and ModeOfGlitch ~= 2334 then | |
9055 | 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) | |
9056 | 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) | |
9057 | 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) | |
9058 | 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) | |
9059 | 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) | |
9060 | 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) | |
9061 | if ModeOfGlitch == 71 then | |
9062 | 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) | |
9063 | end | |
9064 | elseif ModeOfGlitch == 2334 then | |
9065 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(9-2.5 * Cos(sine / 3.5)), Rad(0), Rad(10 * Cos(sine / 7))), 0.15) | |
9066 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
9067 | RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
9068 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
9069 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(70) * Cos(sine / 7) , Rad(0), Rad(5)), 0.1) | |
9070 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70) * Cos(sine / 7) , Rad(0), Rad(-5)), 0.1) | |
9071 | elseif ModeOfGlitch == 102 then | |
9072 | 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) | |
9073 | 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) | |
9074 | 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) | |
9075 | 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) | |
9076 | 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) | |
9077 | 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) | |
9078 | end | |
9079 | end | |
9080 | elseif torvel>=22 and hitfloor~=nil then | |
9081 | Anim="Run" | |
9082 | if attack==false then | |
9083 | if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 43433434 and ModeOfGlitch ~= 8686 and ModeOfGlitch ~= 74532 and ModeOfGlitch ~= -666666 and ModeOfGlitch ~= 45743 and ModeOfGlitch ~= 246758 and ModeOfGlitch ~= 18273 and ModeOfGlitch ~= 116 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 911 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 11 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 7652 and ModeOfGlitch ~= 8008135 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 2019 and ModeOfGlitch ~= 6868 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= 1999 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 676767 and ModeOfGlitch ~= 55846 and ModeOfGlitch ~= 808080808080808080808080 and ModeOfGlitch ~= 6518594185 and ModeOfGlitch ~= 2000 and ModeOfGlitch ~= 906 and ModeOfGlitch ~= 841 and ModeOfGlitch ~= 8799 and ModeOfGlitch ~= 61 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 727 and ModeOfGlitch ~= 2102 and ModeOfGlitch ~= 2222222 and ModeOfGlitch ~= -3 and ModeOfGlitch ~= -4 and ModeOfGlitch ~= 2304 and ModeOfGlitch ~= 4434 and ModeOfGlitch ~= 78213 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 763 and ModeOfGlitch ~= 7888 and ModeOfGlitch ~= 147 and ModeOfGlitch ~= 888 and ModeOfGlitch ~= 1055 and ModeOfGlitch ~= 81 and ModeOfGlitch ~= 404 then | |
9084 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) | |
9085 | 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) | |
9086 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1) | |
9087 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1) | |
9088 | 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) | |
9089 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(10),math.rad(-7 - 5 * math.cos(sine / 6))),.1) | |
9090 | if ModeOfGlitch == 9 then | |
9091 | -- | |
9092 | end | |
9093 | elseif ModeOfGlitch == -666666 then | |
9094 | local snap = math.random(1,30) | |
9095 | if snap == 1 then | |
9096 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 + math.random(-45,0)),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),1) | |
9097 | end | |
9098 | RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(-15 - 5 * math.cos(sine / 32)),math.rad(100- 5 * math.cos(sine / 32)),math.rad(0))*angles(math.rad(-3 + math.random(-5,5)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1) | |
9099 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-15 - 2.5 * math.cos(sine / 32)),math.rad(-95),math.rad(0))*angles(math.rad(-3 + math.random(-5,5)),math.rad(0 - 1 * math.cos(sine / 56)+ math.random(-5,5)),math.rad(10 + 6 * math.cos(sine / 31) + math.random(-5,5))),.1) | |
9100 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.2 * math.cos(sine / 30),0 + 0.2 * math.cos(sine / 34),5.2 + 0.4 * math.cos(sine / 26))*angles(math.rad(50 - 2 * math.cos(sine / 32) + math.random(-5,5)),math.rad(0 + math.random(-5,5)),math.rad(math.random(-5,5))),.1) | |
9101 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37) + math.random(-5,5)),math.rad(0 + 1 * math.cos(sine / 58) + math.random(-5,5)),math.rad(0 + 2 * math.cos(sine / 53) + math.random(-5,5))),.1) | |
9102 | RW.C0=clerp(RW.C0,cf(0.9,0.5 + 0.1 * math.cos(sine / 34),-0.5)*angles(math.rad(0 + math.random(-5,5)),math.rad(-20 - 7.5 * math.cos(sine / 26) + math.random(-5,5)),math.rad(-90 - 5 * math.cos(sine / 34) + math.random(-5,5))),.3) | |
9103 | LW.C0=clerp(LW.C0,cf(-0.9,0.4 + 0.1 * math.cos(sine / 34),-0.5)*angles(math.rad(0 + math.random(-5,5)),math.rad(20 + 7.5 * math.cos(sine / 32) + math.random(-5,5)),math.rad(87.5 + 5 * math.cos(sine / 34) + math.random(-5,5))),.3) | |
9104 | elseif ModeOfGlitch == 404 or ModeOfGlitch == 246758 then | |
9105 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) | |
9106 | 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) | |
9107 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1) | |
9108 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1) | |
9109 | RW.C0 = clerp(RW.C0, CFrame.new(.9, 0.5, -0.5) * angles(math.rad(90), math.rad(-80), math.rad(-40)),.2) | |
9110 | LW.C0 = clerp(LW.C0, CFrame.new(-.7, 0.5, -0.7) * angles(math.rad(50), math.rad(0), math.rad(90)),.2) | |
9111 | ||
9112 | elseif ModeOfGlitch == 8686 then | |
9113 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2) | |
9114 | 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) | |
9115 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(math.sin(sine/23),math.cos(sine/31)*0.5,6 + 0.5 * math.cos(sine / 24))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05) | |
9116 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2) | |
9117 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2) | |
9118 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2) | |
9119 | elseif ModeOfGlitch == 676767 or ModeOfGlitch == 55846 or ModeOfGlitch == 18273 or ModeOfGlitch == 74532 or ModeOfGlitch == 116 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 147 or ModeOfGlitch == 78213 or ModeOfGlitch == 2102 or ModeOfGlitch == 8799 or ModeOfGlitch == 841 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 61 or ModeOfGlitch == 727 or ModeOfGlitch == 420 or ModeOfGlitch == 906 or ModeOfGlitch == 2000 or ModeOfGlitch == 2222222 or ModeOfGlitch == 2304 or ModeOfGlitch == -3 or ModeOfGlitch == -4 or ModeOfGlitch == 7888 or ModeOfGlitch == 763 or ModeOfGlitch == 888 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 6518594185 then | |
9120 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2) | |
9121 | 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) | |
9122 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2) | |
9123 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2) | |
9124 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2) | |
9125 | elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then | |
9126 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2) | |
9127 | 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) | |
9128 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,20.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) | |
9129 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2) | |
9130 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2) | |
9131 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2) | |
9132 | elseif ModeOfGlitch == 6 or ModeOfGlitch == 43433434 or ModeOfGlitch == 45743 or ModeOfGlitch == 3444 or ModeOfGlitch == 412 or ModeOfGlitch == 69 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 1055 or ModeOfGlitch == 11 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 7652 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 2019 or ModeOfGlitch == 1999 or ModeOfGlitch == 74 or ModeOfGlitch == 8008135 or ModeOfGlitch == 4434 or ModeOfGlitch == 911 then | |
9133 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2) | |
9134 | 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) | |
9135 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2) | |
9136 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2) | |
9137 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2) | |
9138 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2) | |
9139 | elseif ModeOfGlitch == 2335 or ModeOfGlitch == 8889 or ModeOfGlitch == 88893333388 then | |
9140 | wait(0.5) | |
9141 | sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,MAINRUINCOLOR,0) | |
9142 | elseif ModeOfGlitch == 5 then | |
9143 | wait(0.5) | |
9144 | local rsiz = math.random(1,3) | |
9145 | sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.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) | |
9146 | sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0) | |
9147 | elseif ModeOfGlitch == 999999999556 then | |
9148 | handleweld.C0=clerp(handleweld.C0,cf(0,-1.5,-1.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3) | |
9149 | 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) | |
9150 | 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) | |
9151 | 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) | |
9152 | 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) | |
9153 | 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) | |
9154 | 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) | |
9155 | 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) | |
9156 | 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) | |
9157 | 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) | |
9158 | 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) | |
9159 | 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) | |
9160 | ||
9161 | end | |
9162 | end | |
9163 | end | |
9164 | end | |
9165 | end |