SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {} | |
2 | do | |
3 | script.Parent = owner.Character | |
4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput" | |
5 | local function NewFakeEvent() | |
6 | local Bind = Instance.new("BindableEvent") | |
7 | local Fake;Fake = {Connections = {}, | |
8 | fakeEvent=true; | |
9 | Connect=function(self,Func) | |
10 | Bind.Event:connect(Func) | |
11 | self.Connections[Bind] = true | |
12 | return setmetatable({Connected = true},{ | |
13 | __index = function (self,Index) | |
14 | if Index:lower() == "disconnect" then | |
15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
16 | end | |
17 | return Fake[Index] | |
18 | end; | |
19 | __tostring = function() return "Connection" end; | |
20 | }) | |
21 | end} | |
22 | Fake.connect = Fake.Connect;return Fake; | |
23 | end | |
24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
29 | local function TriggerEvent(self,Event,...) | |
30 | local Trigger = Mouse[Event] | |
31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
33 | end | |
34 | end | |
35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
37 | if FiredBy.Name ~= owner.Name then return end | |
38 | if Input.MouseEvent then | |
39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
40 | else | |
41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
43 | for _,Action in pairs(ContextActionService.Actions) do | |
44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
45 | end | |
46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
48 | end | |
49 | end) | |
50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
51 | Event.Parent = NLS([[ | |
52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse() | |
53 | local Input = function(Input,gameProcessedEvent) | |
54 | if gameProcessedEvent then return end | |
55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
56 | end | |
57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
58 | local Hit,Target | |
59 | while wait(1/30) do | |
60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
62 | end | |
63 | end | |
64 | ]],owner.Character) | |
65 | end | |
66 | RealGame = game;game = setmetatable({},{ | |
67 | __index = function (self,Index) | |
68 | local Sandbox = function (Thing) | |
69 | if Thing:IsA("Player") then | |
70 | local RealPlayer = Thing | |
71 | return setmetatable({},{ | |
72 | __index = function (self,Index) | |
73 | local Type = type(RealPlayer[Index]) | |
74 | if Type == "function" then | |
75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
76 | return function (self)return InternalData["Mouse"] end | |
77 | end | |
78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
79 | end | |
80 | return RealPlayer[Index] | |
81 | end; | |
82 | __tostring = function(self) return RealPlayer.Name end | |
83 | }) | |
84 | end | |
85 | end | |
86 | if RealGame[Index] then | |
87 | local Type = type(RealGame[Index]) | |
88 | if Type == "function" then | |
89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
90 | return function (self,Service) | |
91 | local FakeServices = { | |
92 | ["players"] = function() | |
93 | return setmetatable({},{ | |
94 | __index = function (self2,Index2) | |
95 | local RealService = RealGame:GetService(Service) | |
96 | local Type2 = type(Index2) | |
97 | if Type2 == "function" then | |
98 | return function (self,...) return RealService[Index2](RealService,...)end | |
99 | else | |
100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
101 | return RealService[Index2] | |
102 | end | |
103 | end; | |
104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
105 | }) | |
106 | end; | |
107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
109 | ["runservice"] = function() | |
110 | return setmetatable({},{ | |
111 | __index = function(self2,Index2) | |
112 | local RealService = RealGame:GetService(Service) | |
113 | local Type2 = type(Index2) | |
114 | if Type2 == "function" then | |
115 | return function (self,...) return RealService[Index2](RealService,...) end | |
116 | else | |
117 | local RunServices = { | |
118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
120 | } | |
121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
122 | return RealService[Index2] | |
123 | end | |
124 | end | |
125 | }) | |
126 | end | |
127 | } | |
128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
129 | return RealGame:GetService(Service) | |
130 | end | |
131 | end | |
132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
133 | else | |
134 | if game:GetService(Index) then return game:GetService(Index) end | |
135 | return RealGame[Index] | |
136 | end | |
137 | end | |
138 | return nil | |
139 | end | |
140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob") | |
141 | ||
142 | warn'Star Glitcher Loaded.' | |
143 | warn'normally if a mode have a form then press M for transform only if a mode have another form' | |
144 | warn'To unlock umm rape... do combo adad and so is CATASTROPHE [wich is a form for calamity lol]' | |
145 | warn'chaosbegone is now on every mode/form double tap w to do chaosbegone on every mode/form' | |
146 | warn'press L to toggle mode tag' | |
147 | print("Attacks are Click,Z,X,C only sometimes JUST PRESS THEM ALL!") | |
148 | print([[NOW ONTO CONTROLS YEY | |
149 | Q for Purity | |
150 | E for Glitch | |
151 | R for Chaos{can transform into insanity} | |
152 | T for Divinity | |
153 | Y for Justice | |
154 | U for Rainbow {press U while in rainbow to be Vaporwave} | |
155 | F for Loost {do combo adad to unlock umm rape...} | |
156 | P for calamity{do combo wsws and press M to be Catastrophe} | |
157 | Press the same key of the mode to turn back to solitude]]) | |
158 | --- its obs smooth af do not touch | |
159 | ---- Sources and functions might be taken from others | |
160 | plr = game:GetService("Players").LocalPlayer | |
161 | char = plr.Character | |
162 | hum = char:FindFirstChildOfClass'Humanoid' | |
163 | local cam = game.Workspace.CurrentCamera | |
164 | local Controller = plr.PlayerScripts:WaitForChild("ControlScript") | |
165 | Camera = cam | |
166 | local CamInterrupt = false | |
167 | local TwoD = false | |
168 | local TargetInfo = {nil, nil} | |
169 | cam.CameraType = "Custom" | |
170 | t = char.Torso | |
171 | h = char.Head | |
172 | ra = char["Right Arm"] | |
173 | la = char["Left Arm"] | |
174 | rl = char["Right Leg"] | |
175 | ll = char["Left Leg"] | |
176 | tors = char.Torso | |
177 | lleg = char["Left Leg"] | |
178 | root = char.HumanoidRootPart | |
179 | hed = char.Head | |
180 | rleg = char["Right Leg"] | |
181 | rarm = char["Right Arm"] | |
182 | larm = char["Left Arm"] | |
183 | radian = math.rad | |
184 | random = math.random | |
185 | Vec3 = Vector3.new | |
186 | Inst = Instance.new | |
187 | cFrame = CFrame.new | |
188 | Euler = CFrame.fromEulerAnglesXYZ | |
189 | vt = Vector3.new | |
190 | bc = BrickColor.new | |
191 | br = BrickColor.random | |
192 | it = Instance.new | |
193 | cf = CFrame.new | |
194 | ||
195 | local ODers = {} | |
196 | ||
197 | local AllowRape = false; | |
198 | local AllowCata = false; | |
199 | ||
200 | local Booleans = { | |
201 | CamFollow = true, | |
202 | GyroUse = true | |
203 | } | |
204 | ||
205 | function lerp(object, newCFrame, alpha) | |
206 | return object:lerp(newCFrame, alpha) | |
207 | end | |
208 | ||
209 | local Directer = Inst("BodyGyro", root) | |
210 | Directer.MaxTorque = Vec3(0, 0, 0) | |
211 | Directer.P = 600000 | |
212 | local CPart = Inst("Part") | |
213 | CPart.Anchored = true | |
214 | CPart.CanCollide = false | |
215 | CPart.Locked = true | |
216 | CPart.Transparency = 1 | |
217 | ||
218 | local rainbowmode = false | |
219 | local chaosmode = false | |
220 | local glitchymode = false | |
221 | kan = Instance.new("Sound",char) | |
222 | kan.Volume = 1.25 | |
223 | kan.TimePosition = 0 | |
224 | kan.PlaybackSpeed = 1 | |
225 | kan.Pitch = 1 | |
226 | kan.SoundId = "rbxassetid://1564523997" | |
227 | kan.Name = "wrecked" | |
228 | kan.Looped = true | |
229 | kan:Play() | |
230 | ||
231 | local MID = "rbxassetid://1564523997"; | |
232 | local Pitch = 1; | |
233 | ||
234 | function newTheme(ID,timepos,pitch,vol) | |
235 | local kanz = kan | |
236 | --kanz:Stop() | |
237 | --kanz.Volume = vol | |
238 | --kanz.TimePosition = timepos | |
239 | kanz.PlaybackSpeed = pitch | |
240 | kanz.Pitch = pitch | |
241 | kanz.SoundId = ID | |
242 | kanz.Name = "wrecked" | |
243 | kanz.Looped = true | |
244 | Pitch = pitch | |
245 | MID = ID | |
246 | --kanz:Play() | |
247 | --coroutine.resume(coroutine.create(function() | |
248 | --wait(0.05) | |
249 | --end)) | |
250 | end | |
251 | ||
252 | function newThemeCust(ID,timepos,pitch,vol) | |
253 | local kanz = kan | |
254 | kanz:Stop() | |
255 | kanz.Volume = vol | |
256 | kanz.TimePosition = timepos | |
257 | kanz.PlaybackSpeed = pitch | |
258 | kanz.Pitch = pitch | |
259 | MID = ID | |
260 | kanz.SoundId = ID | |
261 | kanz.Name = "wrecked" | |
262 | kanz.Looped = true | |
263 | kanz:Play() | |
264 | coroutine.resume(coroutine.create(function() | |
265 | wait(0.05) | |
266 | end)) | |
267 | end | |
268 | ||
269 | ||
270 | ||
271 | function CameraShake(Times, Power, PlayerTarget) | |
272 | coroutine.resume(coroutine.create(function() | |
273 | FV = Instance.new("BoolValue", PlayerTarget) | |
274 | FV.Name = "CameraShake" | |
275 | for ShakeNum=1,Times do | |
276 | swait() | |
277 | local ef=Power | |
278 | if ef>=1 then | |
279 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
280 | else | |
281 | ef=Power*10 | |
282 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
283 | end | |
284 | end | |
285 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
286 | FV:Destroy() | |
287 | end)) | |
288 | end | |
289 | ||
290 | function CameraEnshaking(Length,Intensity) | |
291 | coroutine.resume(coroutine.create(function() | |
292 | local intensity = 1*Intensity | |
293 | local rotM = 0.01*Intensity | |
294 | for i = 0, Length, 0.1 do | |
295 | swait() | |
296 | intensity = intensity - 0.05*Intensity/Length | |
297 | rotM = rotM - 0.0005*Intensity/Length | |
298 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
299 | 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) | |
300 | end | |
301 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
302 | end)) | |
303 | end | |
304 | CamShake=function(Part,Distan,Power,Times) | |
305 | local de=Part.Position | |
306 | for i,v in pairs(workspace:children()) do | |
307 | if v:IsA("Model") and v:findFirstChild("Humanoid") then | |
308 | for _,c in pairs(v:children()) do | |
309 | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then | |
310 | local Noob=vFindFirstChildOfClass'Humanoid' | |
311 | if Noob~=nil then | |
312 | coroutine.resume(coroutine.create(function() | |
313 | FV = Instance.new("BoolValue", Noob) | |
314 | FV.Name = "CameraShake" | |
315 | for ShakeNum=1,Times do | |
316 | swait() | |
317 | local ef=Power | |
318 | if ef>=1 then | |
319 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
320 | else | |
321 | ef=Power*10 | |
322 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
323 | end | |
324 | end | |
325 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
326 | FV:Destroy() | |
327 | end)) | |
328 | CameraShake(Times, Power, Noob) | |
329 | end | |
330 | end | |
331 | end | |
332 | end | |
333 | end | |
334 | end | |
335 | ||
336 | function chatfunc(text,color) | |
337 | local chat = coroutine.wrap(function() | |
338 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
339 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
340 | end | |
341 | local naeeym2 = Instance.new("BillboardGui",Character) | |
342 | naeeym2.Size = UDim2.new(0,100,0,40) | |
343 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
344 | naeeym2.Adornee = Character.Head | |
345 | naeeym2.Name = "TalkingBillBoard" | |
346 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
347 | tecks2.BackgroundTransparency = 1 | |
348 | tecks2.BorderSizePixel = 0 | |
349 | tecks2.Text = "" | |
350 | tecks2.Font = "SciFi" | |
351 | tecks2.TextSize = 30 | |
352 | tecks2.TextStrokeTransparency = 0 | |
353 | tecks2.TextColor3 = color | |
354 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
355 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
356 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
357 | tecks3.BackgroundTransparency = 1 | |
358 | tecks3.BorderSizePixel = 0 | |
359 | tecks3.Text = "" | |
360 | tecks3.Font = "SciFi" | |
361 | tecks3.TextSize = 30 | |
362 | tecks3.TextStrokeTransparency = 0 | |
363 | tecks3.TextColor3 = Color3.new(0,0,0) | |
364 | tecks3.TextStrokeColor3 = color | |
365 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
366 | coroutine.resume(coroutine.create(function() | |
367 | while true do | |
368 | swait(1) | |
369 | if chaosmode == true then | |
370 | tecks2.TextColor3 = BrickColor.random().Color | |
371 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
372 | end | |
373 | if(glitchymode)then | |
374 | local val = math.random(1,255) | |
375 | local color = Color3.fromRGB(val,val,val) | |
376 | tecks2.TextColor3 = color | |
377 | tecks3.TextStrokeColor3 = color | |
378 | end | |
379 | tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) | |
380 | tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) | |
381 | tecks2.Rotation = math.random(-5,5) | |
382 | tecks3.Rotation = math.random(-5,5) | |
383 | end | |
384 | end)) | |
385 | for i = 1,string.len(text),1 do | |
386 | CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115) | |
387 | tecks2.Text = string.sub(text,1,i) | |
388 | tecks3.Text = string.sub(text,1,i) | |
389 | swait(1) | |
390 | end | |
391 | wait(1) | |
392 | local randomrot = math.random(1,2) | |
393 | if randomrot == 1 then | |
394 | for i = 1, 50 do | |
395 | swait() | |
396 | tecks2.Rotation = tecks2.Rotation - .75 | |
397 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
398 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
399 | tecks3.Rotation = tecks2.Rotation + .75 | |
400 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
401 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
402 | end | |
403 | elseif randomrot == 2 then | |
404 | for i = 1, 50 do | |
405 | swait() | |
406 | tecks2.Rotation = tecks2.Rotation + .75 | |
407 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
408 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
409 | tecks3.Rotation = tecks2.Rotation - .75 | |
410 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
411 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
412 | end | |
413 | end | |
414 | naeeym2:Destroy() | |
415 | end) | |
416 | chat() | |
417 | end | |
418 | ||
419 | ||
420 | local Create = LoadLibrary("RbxUtility").Create | |
421 | ||
422 | CFuncs = { | |
423 | ["Part"] = { | |
424 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
425 | local Part = Create("Part"){ | |
426 | Parent = Parent, | |
427 | Reflectance = Reflectance, | |
428 | Transparency = Transparency, | |
429 | CanCollide = false, | |
430 | Locked = true, | |
431 | BrickColor = BrickColor.new(tostring(BColor)), | |
432 | Name = Name, | |
433 | Size = Size, | |
434 | Material = Material, | |
435 | } | |
436 | RemoveOutlines(Part) | |
437 | return Part | |
438 | end; | |
439 | }; | |
440 | ||
441 | ["Mesh"] = { | |
442 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
443 | local Msh = Create(Mesh){ | |
444 | Parent = Part, | |
445 | Offset = OffSet, | |
446 | Scale = Scale, | |
447 | } | |
448 | if Mesh == "SpecialMesh" then | |
449 | Msh.MeshType = MeshType | |
450 | Msh.MeshId = MeshId | |
451 | end | |
452 | return Msh | |
453 | end; | |
454 | }; | |
455 | ||
456 | ["Mesh"] = { | |
457 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
458 | local Msh = Create(Mesh){ | |
459 | Parent = Part, | |
460 | Offset = OffSet, | |
461 | Scale = Scale, | |
462 | } | |
463 | if Mesh == "SpecialMesh" then | |
464 | Msh.MeshType = MeshType | |
465 | Msh.MeshId = MeshId | |
466 | end | |
467 | return Msh | |
468 | end; | |
469 | }; | |
470 | ||
471 | ["Weld"] = { | |
472 | Create = function(Parent, Part0, Part1, C0, C1) | |
473 | local Weld = Create("Weld"){ | |
474 | Parent = Parent, | |
475 | Part0 = Part0, | |
476 | Part1 = Part1, | |
477 | C0 = C0, | |
478 | C1 = C1, | |
479 | } | |
480 | return Weld | |
481 | end; | |
482 | }; | |
483 | ||
484 | ["Sound"] = { | |
485 | Create = function(id, par, vol, pit) | |
486 | return coroutine.wrap(function() | |
487 | local S = Create("Sound"){ | |
488 | Volume = vol, | |
489 | Name = "EffectSoundo", | |
490 | Pitch = pit or 1, | |
491 | SoundId = id, | |
492 | Parent = par or workspace, | |
493 | } | |
494 | S:Play() | |
495 | S.Ended:connect(function() | |
496 | S:Destroy() | |
497 | end) | |
498 | return S; | |
499 | end)() | |
500 | end; | |
501 | }; | |
502 | ||
503 | ["LongSound"] = { | |
504 | Create = function(id, par, vol, pit) | |
505 | coroutine.resume(coroutine.create(function() | |
506 | local S = Create("Sound"){ | |
507 | Volume = vol, | |
508 | Pitch = pit or 1, | |
509 | SoundId = id, | |
510 | Parent = par or workspace, | |
511 | } | |
512 | wait() | |
513 | S:play() | |
514 | game:GetService("Debris"):AddItem(S, 30) | |
515 | end)) | |
516 | end; | |
517 | }; | |
518 | ||
519 | ["ParticleEmitter"] = { | |
520 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
521 | local fp = Create("ParticleEmitter"){ | |
522 | Parent = Parent, | |
523 | Color = ColorSequence.new(Color1, Color2), | |
524 | LightEmission = LightEmission, | |
525 | Size = Size, | |
526 | Texture = Texture, | |
527 | Transparency = Transparency, | |
528 | ZOffset = ZOffset, | |
529 | Acceleration = Accel, | |
530 | Drag = Drag, | |
531 | LockedToPart = LockedToPart, | |
532 | VelocityInheritance = VelocityInheritance, | |
533 | EmissionDirection = EmissionDirection, | |
534 | Enabled = Enabled, | |
535 | Lifetime = LifeTime, | |
536 | Rate = Rate, | |
537 | Rotation = Rotation, | |
538 | RotSpeed = RotSpeed, | |
539 | Speed = Speed, | |
540 | VelocitySpread = VelocitySpread, | |
541 | } | |
542 | return fp | |
543 | end; | |
544 | }; | |
545 | ||
546 | CreateTemplate = { | |
547 | ||
548 | }; | |
549 | } | |
550 | ||
551 | ||
552 | ||
553 | New = function(Object, Parent, Name, Data) | |
554 | local Object = Instance.new(Object) | |
555 | for Index, Value in pairs(Data or {}) do | |
556 | Object[Index] = Value | |
557 | end | |
558 | Object.Parent = Parent | |
559 | Object.Name = Name | |
560 | return Object | |
561 | end | |
562 | local halocolor = BrickColor.new("Pastel light blue") | |
563 | local halocolor2 = BrickColor.new("Cool yellow") | |
564 | local starcolor = BrickColor.new("Bright yellow") | |
565 | local lunacolor = BrickColor.new("Navy blue") | |
566 | local lunacolor2 = BrickColor.new("Bright blue") | |
567 | local wepcolor = BrickColor.new("Really black") | |
568 | local maincolor = BrickColor.new("Really black") | |
569 | local m = Instance.new("Model",char) | |
570 | local m2 = Instance.new("Model",char) | |
571 | local m3 = Instance.new("Model",char) | |
572 | local mw1 = Instance.new("Model",char) | |
573 | local mw2 = Instance.new("Model",char) | |
574 | ||
575 | local extrawingmod1 = Instance.new("Model",char) | |
576 | local extrawingmod2 = Instance.new("Model",char) | |
577 | ||
578 | function CreateParta(parent,transparency,reflectance,material,brickcolor) | |
579 | local p = Instance.new("Part") | |
580 | p.TopSurface = 0 | |
581 | p.BottomSurface = 0 | |
582 | p.Parent = parent | |
583 | p.Size = Vector3.new(0.1,0.1,0.1) | |
584 | p.Transparency = transparency | |
585 | p.Reflectance = reflectance | |
586 | p.CanCollide = false | |
587 | p.Locked = true | |
588 | p.BrickColor = brickcolor | |
589 | p.Material = material | |
590 | return p | |
591 | end | |
592 | ||
593 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
594 | local mesh = Instance.new("SpecialMesh",parent) | |
595 | mesh.MeshType = meshtype | |
596 | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) | |
597 | return mesh | |
598 | end | |
599 | ||
600 | function CreateSpecialMesh(parent,meshid,x1,y1,z1) | |
601 | local mesh = Instance.new("SpecialMesh",parent) | |
602 | mesh.MeshType = "FileMesh" | |
603 | mesh.MeshId = meshid | |
604 | mesh.Scale = Vector3.new(x1,y1,z1) | |
605 | return mesh | |
606 | end | |
607 | ||
608 | ||
609 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
610 | local mesh = Instance.new("SpecialMesh",parent) | |
611 | mesh.MeshType = "FileMesh" | |
612 | mesh.MeshId = meshid | |
613 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
614 | mesh.Scale = Vector3.new(x1,y1,z1) | |
615 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
616 | return mesh | |
617 | end | |
618 | ||
619 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
620 | local weld = Instance.new("Weld") | |
621 | weld.Parent = parent | |
622 | weld.Part0 = part0 | |
623 | weld.Part1 = part1 | |
624 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
625 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
626 | return weld | |
627 | end | |
628 | ||
629 | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
630 | 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)) | |
631 | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
632 | 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)) | |
633 | ||
634 | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
635 | CreateMesh(handle,"Brick",0,0,0) | |
636 | 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)) | |
637 | local valuaring = 10 | |
638 | for i = 0, 49 do | |
639 | valuaring = valuaring + 10 | |
640 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
641 | CreateMesh(rn,"Brick",0.25,0.1,0.1) | |
642 | 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)) | |
643 | end | |
644 | ||
645 | handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
646 | CreateMesh(handle,"Brick",0,0,0) | |
647 | 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)) | |
648 | local valuaring = 10 | |
649 | for i = 0, 49 do | |
650 | valuaring = valuaring + 10 | |
651 | rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
652 | CreateMesh(rn,"Brick",0.5,0.2,0.2) | |
653 | 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)) | |
654 | end | |
655 | ||
656 | ||
657 | local handle = CreateParta(m,1,1,"Neon",maincolor) | |
658 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
659 | 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)) | |
660 | ||
661 | --- Left wing. | |
662 | ||
663 | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
664 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
665 | 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)) | |
666 | ||
667 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
668 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
669 | 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)) | |
670 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
671 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
672 | 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)) | |
673 | A0 = Instance.new('Attachment',wed) | |
674 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
675 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
676 | 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)) | |
677 | A1 = Instance.new('Attachment',wed) | |
678 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
679 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
680 | 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)) | |
681 | ||
682 | tl1 = Instance.new('Trail',wed) | |
683 | tl1.Attachment0 = A0 | |
684 | tl1.Attachment1 = A1 | |
685 | --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
686 | tl1.LightEmission = 1 | |
687 | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
688 | tl1.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
689 | tl1.Lifetime = 0.6 | |
690 | ||
691 | ||
692 | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
693 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
694 | 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)) | |
695 | ||
696 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
697 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
698 | 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)) | |
699 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
700 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
701 | 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)) | |
702 | A0 = Instance.new('Attachment',wed) | |
703 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
704 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
705 | 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)) | |
706 | A1 = Instance.new('Attachment',wed) | |
707 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
708 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
709 | 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)) | |
710 | ||
711 | tl2 = Instance.new('Trail',wed) | |
712 | tl2.Attachment0 = A0 | |
713 | tl2.Attachment1 = A1 | |
714 | --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
715 | tl2.LightEmission = 1 | |
716 | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
717 | tl2.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
718 | tl2.Lifetime = 0.6 | |
719 | ||
720 | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
721 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
722 | 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)) | |
723 | ||
724 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
725 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
726 | 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)) | |
727 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
728 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
729 | 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)) | |
730 | A0 = Instance.new('Attachment',wed) | |
731 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
732 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
733 | 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)) | |
734 | A1 = Instance.new('Attachment',wed) | |
735 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
736 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
737 | 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)) | |
738 | ||
739 | tl3 = Instance.new('Trail',wed) | |
740 | tl3.Attachment0 = A0 | |
741 | tl3.Attachment1 = A1 | |
742 | --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
743 | tl3.LightEmission = 1 | |
744 | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
745 | tl3.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
746 | tl3.Lifetime = 0.6 | |
747 | ||
748 | tl1.Enabled = false | |
749 | tl2.Enabled = false | |
750 | tl3.Enabled = false | |
751 | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
752 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
753 | 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)) | |
754 | ||
755 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
756 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
757 | 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)) | |
758 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
759 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
760 | 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)) | |
761 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
762 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
763 | 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)) | |
764 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
765 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
766 | 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)) | |
767 | ||
768 | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
769 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
770 | 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)) | |
771 | ||
772 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
773 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
774 | 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)) | |
775 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
776 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
777 | 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)) | |
778 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
779 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
780 | 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)) | |
781 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
782 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
783 | 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)) | |
784 | ||
785 | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
786 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
787 | 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)) | |
788 | ||
789 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
790 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
791 | 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)) | |
792 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
793 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
794 | 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)) | |
795 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
796 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
797 | 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)) | |
798 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
799 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
800 | 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)) | |
801 | ||
802 | -- Right wing. | |
803 | ||
804 | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
805 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
806 | 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)) | |
807 | ||
808 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
809 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
810 | 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)) | |
811 | A0 = Instance.new('Attachment',wed) | |
812 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
813 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
814 | 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)) | |
815 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
816 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
817 | 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)) | |
818 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
819 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
820 | 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)) | |
821 | A1 = Instance.new('Attachment',wed) | |
822 | ||
823 | tr1 = Instance.new('Trail',wed) | |
824 | tr1.Attachment0 = A0 | |
825 | tr1.Attachment1 = A1 | |
826 | --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
827 | tr1.LightEmission = 1 | |
828 | tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
829 | tr1.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
830 | tr1.Lifetime = 0.6 | |
831 | ||
832 | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
833 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
834 | 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)) | |
835 | ||
836 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
837 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
838 | 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)) | |
839 | A0 = Instance.new('Attachment',wed) | |
840 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
841 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
842 | 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)) | |
843 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
844 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
845 | 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)) | |
846 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
847 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
848 | 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)) | |
849 | A1 = Instance.new('Attachment',wed) | |
850 | ||
851 | tr2 = Instance.new('Trail',wed) | |
852 | tr2.Attachment0 = A0 | |
853 | tr2.Attachment1 = A1 | |
854 | --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
855 | tr2.LightEmission = 1 | |
856 | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
857 | tr2.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
858 | tr2.Lifetime = 0.6 | |
859 | ||
860 | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
861 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
862 | 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)) | |
863 | ||
864 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
865 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
866 | 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)) | |
867 | A0 = Instance.new('Attachment',wed) | |
868 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
869 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
870 | 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)) | |
871 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
872 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
873 | 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)) | |
874 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
875 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
876 | 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)) | |
877 | A1 = Instance.new('Attachment',wed) | |
878 | ||
879 | tr3 = Instance.new('Trail',wed) | |
880 | tr3.Attachment0 = A0 | |
881 | tr3.Attachment1 = A1 | |
882 | --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
883 | tr3.LightEmission = 1 | |
884 | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
885 | tr3.Color = ColorSequence.new(BrickColor.new('Black').Color) | |
886 | tr3.Lifetime = 0.6 | |
887 | ||
888 | ||
889 | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
890 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
891 | 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)) | |
892 | ||
893 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
894 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
895 | 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)) | |
896 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
897 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
898 | 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)) | |
899 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
900 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
901 | 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)) | |
902 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
903 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
904 | 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)) | |
905 | ||
906 | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
907 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
908 | 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)) | |
909 | ||
910 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
911 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
912 | 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)) | |
913 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
914 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
915 | 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)) | |
916 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
917 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
918 | 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)) | |
919 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
920 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
921 | 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)) | |
922 | ||
923 | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
924 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
925 | 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)) | |
926 | ||
927 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
928 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
929 | 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)) | |
930 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
931 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
932 | 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)) | |
933 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
934 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
935 | 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)) | |
936 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
937 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
938 | 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)) | |
939 | ||
940 | ---- HERES THE RING | |
941 | ||
942 | ||
943 | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
944 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
945 | 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)) | |
946 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
947 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
948 | 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)) | |
949 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
950 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
951 | 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)) | |
952 | ||
953 | ||
954 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
955 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
956 | 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)) | |
957 | ||
958 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
959 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
960 | 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)) | |
961 | ||
962 | ||
963 | ||
964 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
965 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
966 | 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)) | |
967 | ||
968 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
969 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
970 | 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)) | |
971 | ||
972 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
973 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
974 | 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)) | |
975 | ||
976 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
977 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
978 | 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)) | |
979 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
980 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
981 | 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)) | |
982 | ||
983 | -- S section A | |
984 | ||
985 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
986 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
987 | CreateWeld(dotsec,larm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
988 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
989 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
990 | CreateWeld(dotseca,larm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
991 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
992 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
993 | CreateWeld(dotsecb,larm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
994 | ||
995 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
996 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
997 | CreateWeld(dotsec,larm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
998 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
999 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1000 | CreateWeld(dotseca,larm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1001 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1002 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1003 | CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1004 | ||
1005 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1006 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1007 | CreateWeld(dotsec,larm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1008 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1009 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1010 | CreateWeld(dotseca,larm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1011 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1012 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1013 | CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1014 | ||
1015 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1016 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1017 | CreateWeld(dotsec,larm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1018 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1019 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1020 | CreateWeld(dotseca,larm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1021 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1022 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1023 | CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1024 | ||
1025 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1026 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1027 | CreateWeld(dotsec,larm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1028 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1029 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1030 | CreateWeld(dotseca,larm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1031 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1032 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1033 | CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1034 | ||
1035 | -- S section B | |
1036 | ||
1037 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1038 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1039 | CreateWeld(dotsec,larm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1040 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1041 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1042 | CreateWeld(dotseca,larm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1043 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1044 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1045 | CreateWeld(dotsecb,larm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1046 | ||
1047 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1048 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1049 | CreateWeld(dotsec,larm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1050 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1051 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1052 | CreateWeld(dotseca,larm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1053 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1054 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1055 | CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1056 | ||
1057 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1058 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1059 | CreateWeld(dotsec,larm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1060 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1061 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1062 | CreateWeld(dotseca,larm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1063 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1064 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1065 | CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1066 | ||
1067 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1068 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1069 | CreateWeld(dotsec,larm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1070 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1071 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1072 | CreateWeld(dotseca,larm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1073 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1074 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1075 | CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1076 | ||
1077 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1078 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1079 | CreateWeld(dotsec,larm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1080 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1081 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1082 | CreateWeld(dotseca,larm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1083 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1084 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1085 | CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1086 | ||
1087 | --- second ring | |
1088 | ||
1089 | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
1090 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
1091 | 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)) | |
1092 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1093 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
1094 | 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)) | |
1095 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1096 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
1097 | 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)) | |
1098 | ||
1099 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1100 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
1101 | 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)) | |
1102 | ||
1103 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1104 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
1105 | 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)) | |
1106 | ||
1107 | ||
1108 | ||
1109 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
1110 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1111 | 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)) | |
1112 | ||
1113 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
1114 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
1115 | 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)) | |
1116 | ||
1117 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
1118 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
1119 | 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)) | |
1120 | ||
1121 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1122 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
1123 | 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)) | |
1124 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
1125 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
1126 | 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)) | |
1127 | ||
1128 | -- S section A | |
1129 | ||
1130 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1131 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1132 | CreateWeld(dotsec,rarm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1133 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1134 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1135 | CreateWeld(dotseca,rarm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1136 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1137 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1138 | CreateWeld(dotsecb,rarm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1139 | ||
1140 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1141 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1142 | CreateWeld(dotsec,rarm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1143 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1144 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1145 | CreateWeld(dotseca,rarm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1146 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1147 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1148 | CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1149 | ||
1150 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1151 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1152 | CreateWeld(dotsec,rarm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1153 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1154 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1155 | CreateWeld(dotseca,rarm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1156 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1157 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1158 | CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1159 | ||
1160 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1161 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1162 | CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1163 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1164 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1165 | CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1166 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1167 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1168 | CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1169 | ||
1170 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1171 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1172 | CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1173 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1174 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1175 | CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1176 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1177 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1178 | CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1179 | ||
1180 | -- S section B | |
1181 | ||
1182 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1183 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1184 | CreateWeld(dotsec,rarm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1185 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1186 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1187 | CreateWeld(dotseca,rarm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1188 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1189 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1190 | CreateWeld(dotsecb,rarm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1191 | ||
1192 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1193 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1194 | CreateWeld(dotsec,rarm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1195 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1196 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1197 | CreateWeld(dotseca,rarm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1198 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1199 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1200 | CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1201 | ||
1202 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1203 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1204 | CreateWeld(dotsec,rarm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1205 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1206 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1207 | CreateWeld(dotseca,rarm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1208 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1209 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1210 | CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1211 | ||
1212 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1213 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1214 | CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1215 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1216 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1217 | CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1218 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1219 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1220 | CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1221 | ||
1222 | dotsec = CreateParta(m3,0,0,"Neon",halocolor) | |
1223 | CreateMesh(dotsec,"Sphere",0.1,0.1,0.15) | |
1224 | CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1225 | dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
1226 | CreateMesh(dotseca,"Sphere",0.2,0.2,0.1) | |
1227 | CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
1228 | dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor) | |
1229 | CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125) | |
1230 | CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]-- | |
1231 | ||
1232 | ||
1233 | for i, v in pairs(m:GetChildren()) do | |
1234 | if v:IsA("Part") then | |
1235 | v.BrickColor = BrickColor.new("Really black") | |
1236 | v.Material = "Glass" | |
1237 | end | |
1238 | end | |
1239 | for i, v in pairs(m2:GetChildren()) do | |
1240 | if v:IsA("Part") then | |
1241 | v.BrickColor = BrickColor.new("Dark stone grey") | |
1242 | v.Material = "Granite" | |
1243 | end | |
1244 | end | |
1245 | for i, v in pairs(m3:GetChildren()) do | |
1246 | if v:IsA("Part") then | |
1247 | v.BrickColor = BrickColor.new("Really black") | |
1248 | v.Material = "Neon" | |
1249 | end | |
1250 | end | |
1251 | for i, v in pairs(mw2:GetChildren()) do | |
1252 | if v:IsA("Part") then | |
1253 | v.BrickColor = BrickColor.new("Really black") | |
1254 | v.Material = "Neon" | |
1255 | end | |
1256 | end | |
1257 | for i, v in pairs(mw1:GetChildren()) do | |
1258 | if v:IsA("Part") then | |
1259 | v.Transparency = 1 | |
1260 | v.BrickColor = BrickColor.new("Really black") | |
1261 | v.Material = "Neon" | |
1262 | end | |
1263 | end | |
1264 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
1265 | if v:IsA("Part") then | |
1266 | v.Transparency = 1 | |
1267 | v.BrickColor = BrickColor.new("White") | |
1268 | v.Material = "Neon" | |
1269 | end | |
1270 | end | |
1271 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
1272 | if v:IsA("Part") then | |
1273 | v.Transparency = 1 | |
1274 | v.BrickColor = BrickColor.new("White") | |
1275 | v.Material = "Neon" | |
1276 | end | |
1277 | end | |
1278 | local MAINRUINCOLOR = BrickColor.new("Really black") | |
1279 | ------ | |
1280 | ||
1281 | ||
1282 | function RemoveOutlines(part) | |
1283 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
1284 | end | |
1285 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1286 | local Part = Create("Part")({ | |
1287 | Parent = Parent, | |
1288 | Reflectance = Reflectance, | |
1289 | Transparency = Transparency, | |
1290 | CanCollide = false, | |
1291 | Locked = true, | |
1292 | BrickColor = BrickColor.new(tostring(BColor)), | |
1293 | Name = Name, | |
1294 | Size = Size, | |
1295 | Material = Material | |
1296 | }) | |
1297 | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
1298 | RemoveOutlines(Part) | |
1299 | return Part | |
1300 | end | |
1301 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1302 | local Msh = Create(Mesh)({ | |
1303 | Parent = Part, | |
1304 | Offset = OffSet, | |
1305 | Scale = Scale | |
1306 | }) | |
1307 | if Mesh == "SpecialMesh" then | |
1308 | Msh.MeshType = MeshType | |
1309 | Msh.MeshId = MeshId | |
1310 | end | |
1311 | return Msh | |
1312 | end | |
1313 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
1314 | local Weld = Create("Weld")({ | |
1315 | Parent = Parent, | |
1316 | Part0 = Part0, | |
1317 | Part1 = Part1, | |
1318 | C0 = C0, | |
1319 | C1 = C1 | |
1320 | }) | |
1321 | return Weld | |
1322 | end | |
1323 | ||
1324 | Player=game:GetService("Players").LocalPlayer | |
1325 | Character=Player.Character | |
1326 | PlayerGui=Player.PlayerGui | |
1327 | Backpack=Player.Backpack | |
1328 | Torso=Character.Torso | |
1329 | Head=Character.Head | |
1330 | Humanoid=Character:FindFirstChildOfClass'Humanoid' | |
1331 | m=Instance.new('Model',Character) | |
1332 | LeftArm=Character["Left Arm"] | |
1333 | LeftLeg=Character["Left Leg"] | |
1334 | RightArm=Character["Right Arm"] | |
1335 | RightLeg=Character["Right Leg"] | |
1336 | LS=Torso["Left Shoulder"] | |
1337 | LH=Torso["Left Hip"] | |
1338 | RS=Torso["Right Shoulder"] | |
1339 | RH=Torso["Right Hip"] | |
1340 | Face = Head.face | |
1341 | Neck=Torso.Neck | |
1342 | it=Instance.new | |
1343 | attacktype=1 | |
1344 | vt=Vector3.new | |
1345 | cf=CFrame.new | |
1346 | euler=CFrame.fromEulerAnglesXYZ | |
1347 | angles=CFrame.Angles | |
1348 | cloaked=false | |
1349 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1350 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1351 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
1352 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
1353 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
1354 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
1355 | RootPart=Character.HumanoidRootPart | |
1356 | RootJoint=RootPart.RootJoint | |
1357 | RootCF=euler(-1.57,0,3.14) | |
1358 | attack = false | |
1359 | attackdebounce = false | |
1360 | deb=false | |
1361 | equipped=true | |
1362 | hand=false | |
1363 | MMouse=nil | |
1364 | combo=0 | |
1365 | mana=0 | |
1366 | trispeed=.2 | |
1367 | attackmode='none' | |
1368 | local idle=0 | |
1369 | local Anim="Idle" | |
1370 | local Effects={} | |
1371 | local gun=false | |
1372 | local shoot=false | |
1373 | local sine = 0 | |
1374 | local change = 1 | |
1375 | player=nil | |
1376 | pcall(function()char.LeftWing:destroy()end) | |
1377 | pcall(function()char.Halo:destroy()end) | |
1378 | local toggleTag = true | |
1379 | local txt = Instance.new("BillboardGui", Head) | |
1380 | txt.Adornee = nil | |
1381 | txt.Name = "NameDetect" | |
1382 | txt.Size = UDim2.new(4, 0, 1.2, 0) | |
1383 | txt.StudsOffset = Vector3.new(-8, 8/1.5, 0) | |
1384 | local text = Instance.new("TextLabel", txt) | |
1385 | text.Size = UDim2.new(10/2, 0, 7/2, 0) | |
1386 | text.FontSize = "Size8" | |
1387 | text.TextScaled = true | |
1388 | text.TextTransparency = 0 | |
1389 | text.BackgroundTransparency = 1 | |
1390 | text.TextTransparency = 0 | |
1391 | text.TextStrokeTransparency = 0 | |
1392 | text.Font = "Fantasy" | |
1393 | text.TextStrokeColor3 = Color3.new(1,1,1) | |
1394 | text.TextColor3 = Color3.new(0,0,0) | |
1395 | text.Text = "Solitude" | |
1396 | ||
1397 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end) | |
1398 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end) | |
1399 | ||
1400 | function RecolorTextAndRename(name,col1,col2) | |
1401 | text.TextStrokeColor3 = col2 | |
1402 | text.TextColor3 = col1 | |
1403 | text.Text = name | |
1404 | end | |
1405 | mouse=Player:GetMouse() | |
1406 | --save shoulders | |
1407 | RSH, LSH=nil, nil | |
1408 | --welds | |
1409 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
1410 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
1411 | LH=Torso["Left Hip"] | |
1412 | RH=Torso["Right Hip"] | |
1413 | TorsoColor=Torso.BrickColor | |
1414 | function NoOutline(Part) | |
1415 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
1416 | end | |
1417 | player=Player | |
1418 | ch=Character | |
1419 | RSH=ch.Torso["Right Shoulder"] | |
1420 | LSH=ch.Torso["Left Shoulder"] | |
1421 | -- | |
1422 | RSH.Parent=nil | |
1423 | LSH.Parent=nil | |
1424 | -- | |
1425 | RW.Name="Right Shoulder" | |
1426 | RW.Part0=ch.Torso | |
1427 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
1428 | RW.C1=cf(0, 0.5, 0) | |
1429 | RW.Part1=ch["Right Arm"] | |
1430 | RW.Parent=ch.Torso | |
1431 | -- | |
1432 | LW.Name="Left Shoulder" | |
1433 | LW.Part0=ch.Torso | |
1434 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
1435 | LW.C1=cf(0, 0.5, 0) | |
1436 | LW.Part1=ch["Left Arm"] | |
1437 | LW.Parent=ch.Torso | |
1438 | ||
1439 | local Stats=Instance.new("BoolValue") | |
1440 | Stats.Name="Stats" | |
1441 | Stats.Parent=Character | |
1442 | local Atk=Instance.new("NumberValue") | |
1443 | Atk.Name="Damage" | |
1444 | Atk.Parent=Stats | |
1445 | Atk.Value=1 | |
1446 | local Def=Instance.new("NumberValue") | |
1447 | Def.Name="Defense" | |
1448 | Def.Parent=Stats | |
1449 | Def.Value=1 | |
1450 | local Speed=Instance.new("NumberValue") | |
1451 | Speed.Name="Speed" | |
1452 | Speed.Parent=Stats | |
1453 | Speed.Value=1 | |
1454 | local Mvmt=Instance.new("NumberValue") | |
1455 | Mvmt.Name="Movement" | |
1456 | Mvmt.Parent=Stats | |
1457 | Mvmt.Value=1 | |
1458 | ||
1459 | local donum=0 | |
1460 | ||
1461 | ||
1462 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
1463 | local fp=it("Part") | |
1464 | fp.formFactor=formfactor | |
1465 | fp.Parent=parent | |
1466 | fp.Reflectance=reflectance | |
1467 | fp.Transparency=transparency | |
1468 | fp.CanCollide=false | |
1469 | fp.Locked=true | |
1470 | fp.BrickColor=brickcolor | |
1471 | fp.Name=name | |
1472 | fp.Size=size | |
1473 | fp.Position=Torso.Position | |
1474 | NoOutline(fp) | |
1475 | fp.Material="SmoothPlastic" | |
1476 | fp:BreakJoints() | |
1477 | return fp | |
1478 | end | |
1479 | ||
1480 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1481 | local mesh=it(Mesh) | |
1482 | mesh.Parent=part | |
1483 | if Mesh=="SpecialMesh" then | |
1484 | mesh.MeshType=meshtype | |
1485 | if meshid~="nil" then | |
1486 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
1487 | end | |
1488 | end | |
1489 | mesh.Offset=offset | |
1490 | mesh.Scale=scale | |
1491 | return mesh | |
1492 | end | |
1493 | ||
1494 | function weld(parent,part0,part1,c0) | |
1495 | local weld=it("Weld") | |
1496 | weld.Parent=parent | |
1497 | weld.Part0=part0 | |
1498 | weld.Part1=part1 | |
1499 | weld.C0=c0 | |
1500 | return weld | |
1501 | end | |
1502 | ||
1503 | local Color1=Torso.BrickColor | |
1504 | ||
1505 | local bodvel=Instance.new("BodyVelocity") | |
1506 | local bg=Instance.new("BodyGyro") | |
1507 | ||
1508 | --// Artificial HB \\-- | |
1509 | ||
1510 | local ArtificialHB = Instance.new("BindableEvent", script) | |
1511 | ArtificialHB.Name = "Heartbeat" | |
1512 | ||
1513 | script:WaitForChild("Heartbeat") | |
1514 | ||
1515 | local tf = 0 | |
1516 | local allowframeloss = false | |
1517 | local tossremainder = false | |
1518 | local lastframe = tick() | |
1519 | local frame = 1/60 | |
1520 | ArtificialHB:Fire() | |
1521 | ||
1522 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1523 | tf = tf + s | |
1524 | if tf >= frame then | |
1525 | if allowframeloss then | |
1526 | script.Heartbeat:Fire() | |
1527 | lastframe = tick() | |
1528 | else | |
1529 | for i = 1, math.floor(tf / frame) do | |
1530 | ArtificialHB:Fire() | |
1531 | end | |
1532 | lastframe = tick() | |
1533 | end | |
1534 | if tossremainder then | |
1535 | tf = 0 | |
1536 | else | |
1537 | tf = tf - frame * math.floor(tf / frame) | |
1538 | end | |
1539 | end | |
1540 | end) | |
1541 | ||
1542 | function swait(num) | |
1543 | if num == 0 or num == nil then | |
1544 | ArtificialHB.Event:wait() | |
1545 | else | |
1546 | for i = 0, num do | |
1547 | ArtificialHB.Event:wait() | |
1548 | end | |
1549 | end | |
1550 | end | |
1551 | ||
1552 | -------- RAINBOW LEAVE IT TO ME | |
1553 | local r = 255 | |
1554 | local g = 0 | |
1555 | local b = 0 | |
1556 | coroutine.resume(coroutine.create(function() | |
1557 | while wait() do | |
1558 | for i = 0, 254/5 do | |
1559 | swait() | |
1560 | g = g + 5 | |
1561 | end | |
1562 | for i = 0, 254/5 do | |
1563 | swait() | |
1564 | r = r - 5 | |
1565 | end | |
1566 | for i = 0, 254/5 do | |
1567 | swait() | |
1568 | b = b + 5 | |
1569 | end | |
1570 | for i = 0, 254/5 do | |
1571 | swait() | |
1572 | g = g - 5 | |
1573 | end | |
1574 | for i = 0, 254/5 do | |
1575 | swait() | |
1576 | r = r + 5 | |
1577 | end | |
1578 | for i = 0, 254/5 do | |
1579 | swait() | |
1580 | b = b - 5 | |
1581 | end | |
1582 | end | |
1583 | end)) | |
1584 | ||
1585 | ||
1586 | so = function(id,par,vol,pit) | |
1587 | coroutine.resume(coroutine.create(function() | |
1588 | local sou = Instance.new("Sound",par or workspace) | |
1589 | sou.Volume=vol | |
1590 | sou.Pitch=pit or 1 | |
1591 | sou.SoundId=id | |
1592 | swait() | |
1593 | sou:play() | |
1594 | game:GetService("Debris"):AddItem(sou,6) | |
1595 | end)) | |
1596 | end | |
1597 | ||
1598 | function clerp(a,b,t) | |
1599 | return a:lerp(b,t) | |
1600 | end | |
1601 | ||
1602 | local function CFrameFromTopBack(at, top, back) | |
1603 | local right = top:Cross(back) | |
1604 | return CFrame.new(at.x, at.y, at.z, | |
1605 | right.x, top.x, back.x, | |
1606 | right.y, top.y, back.y, | |
1607 | right.z, top.z, back.z) | |
1608 | end | |
1609 | ||
1610 | function Triangle(a, b, c) | |
1611 | local edg1 = (c-a):Dot((b-a).unit) | |
1612 | local edg2 = (a-b):Dot((c-b).unit) | |
1613 | local edg3 = (b-c):Dot((a-c).unit) | |
1614 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
1615 | a, b, c = a, b, c | |
1616 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
1617 | a, b, c = b, c, a | |
1618 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
1619 | a, b, c = c, a, b | |
1620 | else | |
1621 | assert(false, "unreachable") | |
1622 | end | |
1623 | ||
1624 | local len1 = (c-a):Dot((b-a).unit) | |
1625 | local len2 = (b-a).magnitude - len1 | |
1626 | local width = (a + (b-a).unit*len1 - c).magnitude | |
1627 | ||
1628 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
1629 | ||
1630 | local list = {} | |
1631 | ||
1632 | if len1 > 0.01 then | |
1633 | local w1 = Instance.new('WedgePart', m) | |
1634 | game:GetService("Debris"):AddItem(w1,5) | |
1635 | w1.Material = "SmoothPlastic" | |
1636 | w1.FormFactor = 'Custom' | |
1637 | w1.BrickColor = BrickColor.new("Really black") | |
1638 | w1.Transparency = 0 | |
1639 | w1.Reflectance = 0 | |
1640 | w1.Material = "SmoothPlastic" | |
1641 | w1.CanCollide = false | |
1642 | local l1 = Instance.new("PointLight",w1) | |
1643 | l1.Color = Color3.new(170,0,0) | |
1644 | NoOutline(w1) | |
1645 | local sz = Vector3.new(0.2, width, len1) | |
1646 | w1.Size = sz | |
1647 | local sp = Instance.new("SpecialMesh",w1) | |
1648 | sp.MeshType = "Wedge" | |
1649 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
1650 | w1:BreakJoints() | |
1651 | w1.Anchored = true | |
1652 | w1.Parent = workspace | |
1653 | w1.Transparency = 0.7 | |
1654 | table.insert(Effects,{w1,"Disappear",.01}) | |
1655 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
1656 | table.insert(list,w1) | |
1657 | end | |
1658 | ||
1659 | if len2 > 0.01 then | |
1660 | local w2 = Instance.new('WedgePart', m) | |
1661 | game:GetService("Debris"):AddItem(w2,5) | |
1662 | w2.Material = "SmoothPlastic" | |
1663 | w2.FormFactor = 'Custom' | |
1664 | w2.BrickColor = BrickColor.new("Really black") | |
1665 | w2.Transparency = 0 | |
1666 | w2.Reflectance = 0 | |
1667 | w2.Material = "SmoothPlastic" | |
1668 | w2.CanCollide = false | |
1669 | local l2 = Instance.new("PointLight",w2) | |
1670 | l2.Color = Color3.new(170,0,0) | |
1671 | NoOutline(w2) | |
1672 | local sz = Vector3.new(0.2, width, len2) | |
1673 | w2.Size = sz | |
1674 | local sp = Instance.new("SpecialMesh",w2) | |
1675 | sp.MeshType = "Wedge" | |
1676 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
1677 | w2:BreakJoints() | |
1678 | w2.Anchored = true | |
1679 | w2.Parent = workspace | |
1680 | w2.Transparency = 0.7 | |
1681 | table.insert(Effects,{w2,"Disappear",.01}) | |
1682 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
1683 | table.insert(list,w2) | |
1684 | end | |
1685 | return unpack(list) | |
1686 | end | |
1687 | ||
1688 | ||
1689 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1690 | if hit.Parent == nil then | |
1691 | return | |
1692 | end | |
1693 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1694 | for _, v in pairs(hit.Parent:children()) do | |
1695 | if v:IsA("Humanoid") then | |
1696 | h = v | |
1697 | end | |
1698 | end | |
1699 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then | |
1700 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
1701 | return | |
1702 | end | |
1703 | local c = Create("ObjectValue")({ | |
1704 | Name = "creator", | |
1705 | Value = game:service("Players").LocalPlayer, | |
1706 | Parent = h | |
1707 | }) | |
1708 | game:GetService("Debris"):AddItem(c, 0.5) | |
1709 | if HitSound ~= nil and HitPitch ~= nil then | |
1710 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
1711 | end | |
1712 | local Damage = math.random(minim, maxim) | |
1713 | local blocked = false | |
1714 | local block = hit.Parent:findFirstChild("Block") | |
1715 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
1716 | blocked = true | |
1717 | block.Value = block.Value - 1 | |
1718 | print(block.Value) | |
1719 | end | |
1720 | if blocked == false then | |
1721 | HitHealth = h.Health | |
1722 | h.Health = h.Health - Damage | |
1723 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
1724 | print("gained kill") | |
1725 | end | |
1726 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1727 | else | |
1728 | h.Health = h.Health - Damage / 2 | |
1729 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1730 | end | |
1731 | if Type == "Knockdown" then | |
1732 | local hum = hit.Parent:FindFirstChildOfClass'Humanoid' | |
1733 | hum.PlatformStand = true | |
1734 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1735 | swait(1) | |
1736 | HHumanoid.PlatformStand = false | |
1737 | end), hum) | |
1738 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
1739 | local bodvol = Create("BodyVelocity")({ | |
1740 | velocity = angle * knockback, | |
1741 | P = 5000, | |
1742 | maxForce = Vector3.new(8000, 8000, 8000), | |
1743 | Parent = hit | |
1744 | }) | |
1745 | local rl = Create("BodyAngularVelocity")({ | |
1746 | P = 3000, | |
1747 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1748 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1749 | Parent = hit | |
1750 | }) | |
1751 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
1752 | game:GetService("Debris"):AddItem(rl, 0.5) | |
1753 | elseif Type == "Normal" then | |
1754 | local vp = Create("BodyVelocity")({ | |
1755 | P = 500, | |
1756 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1757 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
1758 | }) | |
1759 | if knockback > 0 then | |
1760 | vp.Parent = hit.Parent.Head | |
1761 | end | |
1762 | game:GetService("Debris"):AddItem(vp, 0.5) | |
1763 | elseif Type == "Up" then | |
1764 | local bodyVelocity = Create("BodyVelocity")({ | |
1765 | velocity = Vector3.new(0, 20, 0), | |
1766 | P = 5000, | |
1767 | maxForce = Vector3.new(8000, 8000, 8000), | |
1768 | Parent = hit | |
1769 | }) | |
1770 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
1771 | local bodyVelocity = Create("BodyVelocity")({ | |
1772 | velocity = Vector3.new(0, 20, 0), | |
1773 | P = 5000, | |
1774 | maxForce = Vector3.new(8000, 8000, 8000), | |
1775 | Parent = hit | |
1776 | }) | |
1777 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1778 | elseif Type == "Leech" then | |
1779 | local hum = hit.Parent:FindFirstChildOfClass'Humanoid' | |
1780 | if hum ~= nil then | |
1781 | for i = 0, 2 do | |
1782 | 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) | |
1783 | end | |
1784 | Humanoid.Health = Humanoid.Health + 10 | |
1785 | end | |
1786 | elseif Type == "UpKnock" then | |
1787 | local hum = hit.Parent:FindFirstChildOfClass'Humanoid' | |
1788 | hum.PlatformStand = true | |
1789 | if hum ~= nil then | |
1790 | hitr = true | |
1791 | end | |
1792 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1793 | swait(5) | |
1794 | HHumanoid.PlatformStand = false | |
1795 | hitr = false | |
1796 | end), hum) | |
1797 | local bodyVelocity = Create("BodyVelocity")({ | |
1798 | velocity = Vector3.new(0, 20, 0), | |
1799 | P = 5000, | |
1800 | maxForce = Vector3.new(8000, 8000, 8000), | |
1801 | Parent = hit | |
1802 | }) | |
1803 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
1804 | local bodyVelocity = Create("BodyVelocity")({ | |
1805 | velocity = Vector3.new(0, 20, 0), | |
1806 | P = 5000, | |
1807 | maxForce = Vector3.new(8000, 8000, 8000), | |
1808 | Parent = hit | |
1809 | }) | |
1810 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1811 | elseif Type == "Snare" then | |
1812 | local bp = Create("BodyPosition")({ | |
1813 | P = 2000, | |
1814 | D = 100, | |
1815 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1816 | position = hit.Parent.Torso.Position, | |
1817 | Parent = hit.Parent.Torso | |
1818 | }) | |
1819 | game:GetService("Debris"):AddItem(bp, 1) | |
1820 | elseif Type == "Slashnare" then | |
1821 | 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) | |
1822 | for i = 1, math.random(4, 5) do | |
1823 | 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) | |
1824 | end | |
1825 | local bp = Create("BodyPosition")({ | |
1826 | P = 2000, | |
1827 | D = 100, | |
1828 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1829 | position = hit.Parent.Torso.Position, | |
1830 | Parent = hit.Parent.Torso | |
1831 | }) | |
1832 | game:GetService("Debris"):AddItem(bp, 1) | |
1833 | elseif Type == "Spike" then | |
1834 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
1835 | local bp = Create("BodyPosition")({ | |
1836 | P = 2000, | |
1837 | D = 100, | |
1838 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1839 | position = hit.Parent.Torso.Position, | |
1840 | Parent = hit.Parent.Torso | |
1841 | }) | |
1842 | game:GetService("Debris"):AddItem(bp, 1) | |
1843 | elseif Type == "Freeze" then | |
1844 | local BodPos = Create("BodyPosition")({ | |
1845 | P = 50000, | |
1846 | D = 1000, | |
1847 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1848 | position = hit.Parent.Torso.Position, | |
1849 | Parent = hit.Parent.Torso | |
1850 | }) | |
1851 | local BodGy = Create("BodyGyro")({ | |
1852 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
1853 | P = 20000, | |
1854 | Parent = hit.Parent.Torso, | |
1855 | cframe = hit.Parent.Torso.CFrame | |
1856 | }) | |
1857 | hit.Parent.Torso.Anchored = true | |
1858 | coroutine.resume(coroutine.create(function(Part) | |
1859 | swait(1.5) | |
1860 | Part.Anchored = false | |
1861 | end), hit.Parent.Torso) | |
1862 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1863 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1864 | end | |
1865 | local debounce = Create("BoolValue")({ | |
1866 | Name = "DebounceHit", | |
1867 | Parent = hit.Parent, | |
1868 | Value = true | |
1869 | }) | |
1870 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1871 | c = Instance.new("ObjectValue") | |
1872 | c.Name = "creator" | |
1873 | c.Value = Player | |
1874 | c.Parent = h | |
1875 | game:GetService("Debris"):AddItem(c, 0.5) | |
1876 | end | |
1877 | end | |
1878 | function ShowDamage(Pos, Text, Time, Color) | |
1879 | local Rate = 0.03333333333333333 | |
1880 | local Pos = Pos or Vector3.new(0, 0, 0) | |
1881 | local Text = Text or "" | |
1882 | local Time = Time or 2 | |
1883 | local Color = Color or Color3.new(1, 0, 1) | |
1884 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1885 | EffectPart.Anchored = true | |
1886 | local BillboardGui = Create("BillboardGui")({ | |
1887 | Size = UDim2.new(3, 0, 3, 0), | |
1888 | Adornee = EffectPart, | |
1889 | Parent = EffectPart | |
1890 | }) | |
1891 | local TextLabel = Create("TextLabel")({ | |
1892 | BackgroundTransparency = 1, | |
1893 | Size = UDim2.new(1, 0, 1, 0), | |
1894 | Text = Text, | |
1895 | TextColor3 = Color, | |
1896 | TextScaled = true, | |
1897 | Font = Enum.Font.ArialBold, | |
1898 | Parent = BillboardGui | |
1899 | }) | |
1900 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
1901 | EffectPart.Parent = game:GetService("Workspace") | |
1902 | delay(0, function() | |
1903 | local Frames = Time / Rate | |
1904 | for Frame = 1, Frames do | |
1905 | wait(Rate) | |
1906 | local Percent = Frame / Frames | |
1907 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1908 | TextLabel.TextTransparency = Percent | |
1909 | end | |
1910 | if EffectPart and EffectPart.Parent then | |
1911 | EffectPart:Destroy() | |
1912 | end | |
1913 | end) | |
1914 | end | |
1915 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
1916 | for _, c in pairs(workspace:children()) do | |
1917 | local hum = c:findFirstChildOfClass("Humanoid") | |
1918 | if hum ~= nil then | |
1919 | local head = c:findFirstChild("Head") | |
1920 | if head ~= nil then | |
1921 | local targ = head.Position - Part.Position | |
1922 | local mag = targ.magnitude | |
1923 | if magni >= mag and c.Name ~= Player.Name then | |
1924 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
1925 | end | |
1926 | end | |
1927 | end | |
1928 | end | |
1929 | end | |
1930 | ||
1931 | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) | |
1932 | for _, c in pairs(workspace:children()) do | |
1933 | local hum = c:findFirstChild("Humanoid") | |
1934 | if hum ~= nil then | |
1935 | local head = c:findFirstChild("Torso") | |
1936 | if head ~= nil then | |
1937 | local targ = head.Position - Part.Position | |
1938 | local mag = targ.magnitude | |
1939 | if magni >= mag and c.Name ~= Player.Name then | |
1940 | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05) | |
1941 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
1942 | end | |
1943 | end | |
1944 | end | |
1945 | end | |
1946 | end | |
1947 | ||
1948 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
1949 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
1950 | end | |
1951 | ||
1952 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
1953 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1954 | prt.Anchored=true | |
1955 | prt.CFrame=cframe | |
1956 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) | |
1957 | --http://www.roblox.com/asset/?id=4770560 | |
1958 | game:GetService("Debris"):AddItem(prt,2) | |
1959 | CF=prt.CFrame | |
1960 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
1961 | for i=0,1,0.2 do | |
1962 | wait() | |
1963 | Part.CFrame=CF*cf(0,0,-0.4) | |
1964 | end | |
1965 | for i=0,1,delay do | |
1966 | wait() | |
1967 | --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) | |
1968 | Mesh.Scale=Mesh.Scale | |
1969 | end | |
1970 | for i=0,1,0.1 do | |
1971 | wait() | |
1972 | Part.Transparency=i | |
1973 | end | |
1974 | Part.Parent=nil | |
1975 | end),prt,msh,CF) | |
1976 | end | |
1977 | ||
1978 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1979 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1980 | prt.Anchored=true | |
1981 | prt.Material = "Neon" | |
1982 | prt.CFrame=cframe | |
1983 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1984 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1985 | game:GetService("Debris"):AddItem(prt,5) | |
1986 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1987 | for i=0,1,delay do | |
1988 | swait() | |
1989 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1990 | Part.Transparency=i | |
1991 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1992 | end | |
1993 | Part.Parent=nil | |
1994 | end),prt,msh) | |
1995 | end | |
1996 | ||
1997 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
1998 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1999 | prt.Anchored=true | |
2000 | prt.Material = "Neon" | |
2001 | prt.CFrame=cframe | |
2002 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2003 | game:GetService("Debris"):AddItem(prt,5) | |
2004 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2005 | local rtype = rottype | |
2006 | for i=0,1,delay do | |
2007 | swait() | |
2008 | if rtype == 1 then | |
2009 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2010 | elseif rtype == 2 then | |
2011 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2012 | end | |
2013 | Part.Transparency=i | |
2014 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2015 | end | |
2016 | Part.Parent=nil | |
2017 | end),prt,msh) | |
2018 | end | |
2019 | ||
2020 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2021 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2022 | prt.Anchored=true | |
2023 | prt.CFrame=cframe | |
2024 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2025 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2026 | game:GetService("Debris"):AddItem(prt,5) | |
2027 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2028 | for i=0,1,delay do | |
2029 | wait() | |
2030 | Part.Transparency=i | |
2031 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2032 | end | |
2033 | Part.Parent=nil | |
2034 | end),prt,msh) | |
2035 | end | |
2036 | ||
2037 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
2038 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2039 | prt.Anchored=true | |
2040 | prt.Material = "Neon" | |
2041 | prt.CFrame=cframe | |
2042 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2043 | game:GetService("Debris"):AddItem(prt,5) | |
2044 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2045 | local rtype = rottype | |
2046 | for i=0,1,delay do | |
2047 | swait() | |
2048 | if rtype == 1 then | |
2049 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2050 | elseif rtype == 2 then | |
2051 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2052 | end | |
2053 | Part.Transparency=i | |
2054 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2055 | end | |
2056 | Part.Parent=nil | |
2057 | end),prt,msh) | |
2058 | end | |
2059 | ||
2060 | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
2061 | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2062 | prt.Anchored=true | |
2063 | prt.Material = "Neon" | |
2064 | prt.CFrame=cframe | |
2065 | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
2066 | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
2067 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) | |
2068 | game:GetService("Debris"):AddItem(prt,5) | |
2069 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2070 | local rtype = rottype | |
2071 | for i=0,1,delay do | |
2072 | swait() | |
2073 | if rtype == 1 then | |
2074 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2075 | elseif rtype == 2 then | |
2076 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2077 | end | |
2078 | dec.Transparency=i | |
2079 | dec2.Transparency=i | |
2080 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
2081 | end | |
2082 | Part.Parent=nil | |
2083 | end),prt,msh) | |
2084 | end | |
2085 | ||
2086 | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
2087 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2088 | prt.Anchored=true | |
2089 | prt.Material = "Neon" | |
2090 | prt.CFrame=cframe | |
2091 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) | |
2092 | game:GetService("Debris"):AddItem(prt,5) | |
2093 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2094 | local rtype = rottype | |
2095 | for i=0,1,delay do | |
2096 | swait() | |
2097 | if rtype == 1 then | |
2098 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2099 | elseif rtype == 2 then | |
2100 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2101 | end | |
2102 | prt.Transparency=i | |
2103 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
2104 | end | |
2105 | Part.Parent=nil | |
2106 | end),prt,msh) | |
2107 | end | |
2108 | ||
2109 | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) | |
2110 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2111 | prt.Anchored=true | |
2112 | prt.Material = "Neon" | |
2113 | prt.CFrame=cframe | |
2114 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1)) | |
2115 | game:GetService("Debris"):AddItem(prt,5) | |
2116 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2117 | local rtype = rottype | |
2118 | for i=0,1,delay do | |
2119 | swait() | |
2120 | if rtype == 1 then | |
2121 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) | |
2122 | elseif rtype == 2 then | |
2123 | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) | |
2124 | end | |
2125 | prt.Transparency=i | |
2126 | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) | |
2127 | end | |
2128 | Part.Parent=nil | |
2129 | end),prt,msh) | |
2130 | end | |
2131 | ||
2132 | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype) | |
2133 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2134 | prt.Anchored=true | |
2135 | prt.Material = "Neon" | |
2136 | prt.CFrame=cframe | |
2137 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2138 | game:GetService("Debris"):AddItem(prt,5) | |
2139 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2140 | local rtype = rottype | |
2141 | for i=0,1,delay do | |
2142 | swait() | |
2143 | if rtype == 1 then | |
2144 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2145 | elseif rtype == 2 then | |
2146 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2147 | end | |
2148 | prt.Transparency=i | |
2149 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
2150 | end | |
2151 | Part.Parent=nil | |
2152 | end),prt,msh) | |
2153 | end | |
2154 | ||
2155 | function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
2156 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2157 | prt.Anchored=true | |
2158 | prt.Material = "Neon" | |
2159 | prt.CFrame=cframe | |
2160 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2161 | game:GetService("Debris"):AddItem(prt,5) | |
2162 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2163 | local rtype = rottype | |
2164 | for i=0,1,delay do | |
2165 | swait() | |
2166 | if rtype == 1 then | |
2167 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
2168 | elseif rtype == 2 then | |
2169 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
2170 | end | |
2171 | prt.Transparency=i | |
2172 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2173 | end | |
2174 | Part.Parent=nil | |
2175 | end),prt,msh) | |
2176 | end | |
2177 | ||
2178 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
2179 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2180 | prt.Anchored=false | |
2181 | prt.CFrame=cframe | |
2182 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2183 | local wld=weld(prt,prt,Parent,cframe) | |
2184 | game:GetService("Debris"):AddItem(prt,5) | |
2185 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
2186 | for i=0,1,delay do | |
2187 | wait() | |
2188 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
2189 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2190 | Part.Transparency=i | |
2191 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2192 | end | |
2193 | Part.Parent=nil | |
2194 | end),prt,msh,wld) | |
2195 | end | |
2196 | ||
2197 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
2198 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2199 | prt.Anchored=false | |
2200 | prt.CFrame=cframe | |
2201 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2202 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
2203 | game:GetService("Debris"):AddItem(prt,5) | |
2204 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
2205 | for i=0,1,delay do | |
2206 | wait() | |
2207 | Weld.C0=euler(i*20,0,0) | |
2208 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2209 | Part.Transparency=i | |
2210 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2211 | end | |
2212 | Part.Parent=nil | |
2213 | end),prt,msh,wld) | |
2214 | end | |
2215 | ||
2216 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2217 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2218 | prt.Anchored=true | |
2219 | prt.CFrame=cframe | |
2220 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2221 | game:GetService("Debris"):AddItem(prt,2) | |
2222 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2223 | for i=0,1,delay do | |
2224 | wait() | |
2225 | Part.CFrame=Part.CFrame | |
2226 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2227 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2228 | prt2.Anchored=true | |
2229 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2230 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) | |
2231 | game:GetService("Debris"):AddItem(prt2,2) | |
2232 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2233 | for i=0,1,0.1 do | |
2234 | wait() | |
2235 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
2236 | end | |
2237 | Part.Parent=nil | |
2238 | end),prt2,msh2) | |
2239 | end | |
2240 | for i=0,1,delay*2 do | |
2241 | wait() | |
2242 | Part.CFrame=Part.CFrame | |
2243 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
2244 | end | |
2245 | Part.Parent=nil | |
2246 | end),prt,msh) | |
2247 | end | |
2248 | ||
2249 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2250 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2251 | prt.Anchored=true | |
2252 | prt.CFrame=cframe | |
2253 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2254 | game:GetService("Debris"):AddItem(prt,2) | |
2255 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2256 | for i=0,1,delay do | |
2257 | wait() | |
2258 | Part.CFrame=Part.CFrame | |
2259 | Part.Transparency=i | |
2260 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2261 | end | |
2262 | Part.Parent=nil | |
2263 | end),prt,msh) | |
2264 | end | |
2265 | ||
2266 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
2267 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2268 | prt.Anchored=true | |
2269 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2270 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2271 | game:GetService("Debris"):AddItem(prt,2) | |
2272 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
2273 | CF=Part.CFrame | |
2274 | Numbb=0 | |
2275 | randnumb=math.random()/10 | |
2276 | rand1=math.random()/10 | |
2277 | for i=0,1,rand1 do | |
2278 | wait() | |
2279 | CF=CF*cf(0,math.random()/2,0) | |
2280 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
2281 | Part.CFrame=CF*euler(Numbb,0,0) | |
2282 | Part.Transparency=i | |
2283 | Numbb=Numbb+randnumb | |
2284 | end | |
2285 | Part.Parent=nil | |
2286 | end),prt,CF,Numbb,randnumb) | |
2287 | end | |
2288 | ||
2289 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2290 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2291 | prt.Anchored=true | |
2292 | prt.CFrame=cframe | |
2293 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
2294 | game:GetService("Debris"):AddItem(prt,5) | |
2295 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2296 | for i=0,1,delay do | |
2297 | wait() | |
2298 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
2299 | Part.Transparency=i | |
2300 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2301 | end | |
2302 | Part.Parent=nil | |
2303 | end),prt,msh) | |
2304 | end | |
2305 | ||
2306 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2307 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2308 | prt.Anchored=true | |
2309 | prt.CFrame=cframe | |
2310 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) | |
2311 | game:GetService("Debris"):AddItem(prt,2) | |
2312 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2313 | for i=0,1,delay do | |
2314 | wait() | |
2315 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
2316 | Part.Transparency=i | |
2317 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2318 | end | |
2319 | Part.Parent=nil | |
2320 | end),prt,msh) | |
2321 | end | |
2322 | ||
2323 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
2324 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2325 | prt.Anchored=true | |
2326 | prt.CFrame=cframe*cf(x,y,z) | |
2327 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) | |
2328 | game:GetService("Debris"):AddItem(prt,5) | |
2329 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
2330 | local num=math.random() | |
2331 | local num2=math.random(-3,2)+math.random() | |
2332 | local numm=0 | |
2333 | for i=0,1,delay*2 do | |
2334 | swait() | |
2335 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
2336 | Part.Transparency=i | |
2337 | numm=numm+0.01 | |
2338 | end | |
2339 | Part.Parent=nil | |
2340 | Mesh.Parent=nil | |
2341 | end),prt,msh,x,y,z) | |
2342 | end | |
2343 | ||
2344 | function dmgstart(dmg,what) | |
2345 | hitcon = what.Touched:connect(function(hit) | |
2346 | local hum = hit.Parent:FindFirstChild("Humanoid") | |
2347 | if hum and not hum:IsDescendantOf(Character) then | |
2348 | hum:TakeDamage(dmg) | |
2349 | end | |
2350 | end) | |
2351 | end | |
2352 | ||
2353 | function dmgstop() | |
2354 | hitcon:disconnect() | |
2355 | end | |
2356 | ||
2357 | function Cloak() | |
2358 | Face.Parent=nil | |
2359 | cloaked=true | |
2360 | for _,v in pairs(Torso.Parent:children()) do | |
2361 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
2362 | coroutine.resume(coroutine.create(function() | |
2363 | for i=0,1,0.2 do | |
2364 | wait() | |
2365 | v.Transparency=i | |
2366 | end | |
2367 | v.Transparency=1 | |
2368 | end)) | |
2369 | end | |
2370 | if v.className=="Hat" then | |
2371 | hatp=v.Handle | |
2372 | coroutine.resume(coroutine.create(function(derp) | |
2373 | for i=0,1,0.2 do | |
2374 | wait() | |
2375 | derp.Transparency=i | |
2376 | end | |
2377 | derp.Transparency=1 | |
2378 | end),hatp) | |
2379 | end | |
2380 | end | |
2381 | for _,v in pairs(m:children()) do | |
2382 | if v.className=="Part" then | |
2383 | coroutine.resume(coroutine.create(function() | |
2384 | for i=0,1,0.2 do | |
2385 | wait() | |
2386 | v.Transparency=i | |
2387 | end | |
2388 | v.Transparency=1 | |
2389 | end)) | |
2390 | end | |
2391 | end | |
2392 | end | |
2393 | ||
2394 | function UnCloak() | |
2395 | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) | |
2396 | Face.Parent=Head | |
2397 | cloaked=false | |
2398 | for _,v in pairs(Torso.Parent:children()) do | |
2399 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
2400 | coroutine.resume(coroutine.create(function() | |
2401 | for i=0,1,0.1 do | |
2402 | wait() | |
2403 | v.Transparency=v.Transparency-0.1 | |
2404 | end | |
2405 | v.Transparency=0 | |
2406 | end)) | |
2407 | end | |
2408 | if v.className=="Hat" then | |
2409 | hatp=v.Handle | |
2410 | coroutine.resume(coroutine.create(function(derp) | |
2411 | for i=0,1,0.1 do | |
2412 | wait() | |
2413 | derp.Transparency=derp.Transparency-0.1 | |
2414 | end | |
2415 | derp.Transparency=0 | |
2416 | end),hatp) | |
2417 | end | |
2418 | end | |
2419 | for _,v in pairs(m:children()) do | |
2420 | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then | |
2421 | coroutine.resume(coroutine.create(function() | |
2422 | for i=0,1,0.1 do | |
2423 | wait() | |
2424 | v.Transparency=v.Transparency-0.1 | |
2425 | end | |
2426 | v.Transparency=0 | |
2427 | end)) | |
2428 | v.Transparency=0 | |
2429 | end | |
2430 | end | |
2431 | end | |
2432 | ||
2433 | local origcolor = BrickColor.new("Pastel light blue") | |
2434 | ---- This section of explosions. | |
2435 | function Explode(rad,par,pitch,vol,mindam,maxdam) | |
2436 | local expart = Instance.new("Part",char) | |
2437 | local expart2 = Instance.new("Part",char) | |
2438 | local rin = Instance.new("Part",char) | |
2439 | local rin2 = Instance.new("Part",char) | |
2440 | local partMesh = Instance.new("SpecialMesh",expart) | |
2441 | partMesh.MeshType = "Sphere" | |
2442 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
2443 | partMesh2.MeshType = "Sphere" | |
2444 | local partMesh3 = Instance.new("SpecialMesh",rin) | |
2445 | partMesh3.MeshType = "Brick" | |
2446 | local partMesh4 = Instance.new("SpecialMesh",rin2) | |
2447 | partMesh4.MeshType = "Brick" | |
2448 | CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch) | |
2449 | partMesh.Scale = vt(rad,rad,rad) | |
2450 | expart.Size = vt(1,1,1) | |
2451 | expart.Transparency = 0 | |
2452 | expart.Anchored = true | |
2453 | expart.Material = "Neon" | |
2454 | expart.BrickColor = bc("White") | |
2455 | expart.CFrame = par.CFrame | |
2456 | partMesh2.Scale = vt(rad,rad,rad) | |
2457 | expart2.Size = vt(1.15,1.15,1.15) | |
2458 | expart2.Transparency = 0.5 | |
2459 | expart2.Anchored = true | |
2460 | expart2.Material = "Neon" | |
2461 | expart2.BrickColor = par.BrickColor | |
2462 | expart2.CFrame = par.CFrame | |
2463 | rin.Size = vt(1.15,1.15,1.15) | |
2464 | rin.Transparency = 1 | |
2465 | rin.Anchored = true | |
2466 | rin.Material = "Neon" | |
2467 | rin.BrickColor = par.BrickColor | |
2468 | rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
2469 | rin2.Size = vt(1.15,1.15,1.15) | |
2470 | rin2.Transparency = 1 | |
2471 | rin2.Anchored = true | |
2472 | rin2.Material = "Neon" | |
2473 | rin2.BrickColor = par.BrickColor | |
2474 | rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
2475 | partMesh3.Scale = vt(0,1,0) | |
2476 | partMesh4.Scale = vt(0,1,0) | |
2477 | local dec2 = Instance.new("Decal", rin) | |
2478 | dec2.Face = "Top" | |
2479 | dec2.Texture = "http://www.roblox.com/asset/?id=874580939" | |
2480 | dec2.Parent = rin | |
2481 | local dec2b = dec2:Clone() | |
2482 | dec2b.Face = "Bottom" | |
2483 | dec2b.Parent = rin | |
2484 | ||
2485 | local dec2a = Instance.new("Decal", rin2) | |
2486 | dec2a.Face = "Top" | |
2487 | dec2a.Texture = "http://www.roblox.com/asset/?id=874580939" | |
2488 | dec2a.Parent = rin2 | |
2489 | local dec2ab = dec2a:Clone() | |
2490 | dec2ab.Face = "Bottom" | |
2491 | dec2ab.Parent = rin2 | |
2492 | expart.CanCollide = false | |
2493 | expart2.CanCollide = false | |
2494 | rin.CanCollide = false | |
2495 | rin2.CanCollide = false | |
2496 | MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal") | |
2497 | local value = 1*rad/6.5 | |
2498 | for i = 0, 199 do | |
2499 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
2500 | expart.CFrame = expart.CFrame | |
2501 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
2502 | expart2.CFrame = expart.CFrame | |
2503 | value = value - 0.035*rad/30 | |
2504 | if value < 7.5 then | |
2505 | partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5) | |
2506 | rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0) | |
2507 | partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5) | |
2508 | rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0) | |
2509 | end | |
2510 | if value < 0 then | |
2511 | dec2.Transparency = dec2.Transparency + 0.025 | |
2512 | dec2a.Transparency = dec2a.Transparency + 0.025 | |
2513 | dec2b.Transparency = dec2b.Transparency + 0.025 | |
2514 | dec2ab.Transparency = dec2ab.Transparency + 0.025 | |
2515 | expart.Transparency = expart.Transparency + 0.025 | |
2516 | expart2.Transparency = expart2.Transparency + 0.025 | |
2517 | rin.Transparency = rin.Transparency + 0.025 | |
2518 | rin2.Transparency = rin2.Transparency + 0.025 | |
2519 | end | |
2520 | swait() | |
2521 | end | |
2522 | game:GetService("Debris"):AddItem(expart, 1) | |
2523 | game:GetService("Debris"):AddItem(expart2, 1) | |
2524 | game:GetService("Debris"):AddItem(rin, 1) | |
2525 | game:GetService("Debris"):AddItem(rin2, 1) | |
2526 | end | |
2527 | ||
2528 | function ExplodeShort(rad,par,pitch,vol,mindam,maxdam) | |
2529 | local expart = Instance.new("Part",char) | |
2530 | local expart2 = Instance.new("Part",char) | |
2531 | local partMesh = Instance.new("SpecialMesh",expart) | |
2532 | partMesh.MeshType = "Sphere" | |
2533 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
2534 | partMesh2.MeshType = "Sphere" | |
2535 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch) | |
2536 | partMesh.Scale = vt(rad,rad,rad) | |
2537 | expart.Size = vt(1,1,1) | |
2538 | expart.Transparency = 0 | |
2539 | expart.Anchored = true | |
2540 | expart.Material = "Neon" | |
2541 | expart.BrickColor = bc("White") | |
2542 | expart.CFrame = par.CFrame | |
2543 | partMesh2.Scale = vt(rad,rad,rad) | |
2544 | expart2.Size = vt(1.15,1.15,1.15) | |
2545 | expart2.Transparency = 0.5 | |
2546 | expart2.Anchored = true | |
2547 | expart2.Material = "Neon" | |
2548 | expart2.BrickColor = par.BrickColor | |
2549 | expart2.CFrame = par.CFrame | |
2550 | expart.CanCollide = false | |
2551 | expart2.CanCollide = false | |
2552 | MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal") | |
2553 | local value = 1*rad/6.5 | |
2554 | for i = 0, 75 do | |
2555 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
2556 | expart.CFrame = expart.CFrame | |
2557 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
2558 | expart2.CFrame = expart.CFrame | |
2559 | value = value - 0.035*rad/5 | |
2560 | if value < 0 then | |
2561 | value = 0 | |
2562 | expart.Transparency = expart.Transparency + 0.05 | |
2563 | expart2.Transparency = expart2.Transparency + 0.05 | |
2564 | end | |
2565 | swait() | |
2566 | end | |
2567 | game:GetService("Debris"):AddItem(expart, 1) | |
2568 | game:GetService("Debris"):AddItem(expart2, 1) | |
2569 | end | |
2570 | ||
2571 | function AreaDanger(rad,par,mindam,maxdam) | |
2572 | local expart = Instance.new("Part",char) | |
2573 | local partMesh = Instance.new("SpecialMesh",expart) | |
2574 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15) | |
2575 | partMesh.MeshType = "Sphere" | |
2576 | partMesh.Scale = vt(rad,rad,rad) | |
2577 | expart.Size = vt(1,1,1) | |
2578 | expart.Transparency = 0.5 | |
2579 | expart.Anchored = true | |
2580 | expart.Material = "Neon" | |
2581 | expart.CanCollide = false | |
2582 | expart.BrickColor = par.BrickColor | |
2583 | expart.CFrame = par.CFrame | |
2584 | local value = 1*rad/5 | |
2585 | MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1) | |
2586 | for i = 0, 14 do | |
2587 | wait() | |
2588 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
2589 | expart.CFrame = expart.CFrame | |
2590 | value = value - 0.035*rad | |
2591 | if value < 0 then | |
2592 | value = 0 | |
2593 | end | |
2594 | end | |
2595 | wait(0.25) | |
2596 | CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1) | |
2597 | wait(0.5) | |
2598 | CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1) | |
2599 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75) | |
2600 | MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal") | |
2601 | MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025) | |
2602 | for i = 0, 14 do | |
2603 | wait() | |
2604 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
2605 | expart.CFrame = expart.CFrame | |
2606 | value = value - 0.035*rad/2 | |
2607 | end | |
2608 | expart.Transparency = 1 | |
2609 | game:GetService("Debris"):AddItem(expart, 5) | |
2610 | end | |
2611 | ||
2612 | function Swarmsplosions(negrad,rad,par,mindam,maxdam) | |
2613 | CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2) | |
2614 | CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1) | |
2615 | CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1) | |
2616 | CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1) | |
2617 | MagniDamageWithEffect(par, 25, 5,10, 0, "Normal") | |
2618 | MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025) | |
2619 | for i = 0, 24 do | |
2620 | MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2)) | |
2621 | end | |
2622 | for i = 0, 24 do | |
2623 | local expart = Instance.new("Part",char) | |
2624 | expart.Transparency = 1 | |
2625 | expart.Anchored = true | |
2626 | expart.CanCollide = false | |
2627 | expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad)) | |
2628 | CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2) | |
2629 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15) | |
2630 | MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal") | |
2631 | MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025) | |
2632 | for i = 0, 9 do | |
2633 | MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2)) | |
2634 | end | |
2635 | game:GetService("Debris"):AddItem(expart, 2) | |
2636 | wait(0.1) | |
2637 | end | |
2638 | end | |
2639 | ||
2640 | function EXterPlosion(par) | |
2641 | CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1) | |
2642 | CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85) | |
2643 | CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2) | |
2644 | CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1) | |
2645 | MagniDamageWithEffect(par, 500, 80,99, 0, "Normal") | |
2646 | MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005) | |
2647 | MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1) | |
2648 | for i = 0, 24 do | |
2649 | MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2)) | |
2650 | end | |
2651 | for i = 0, 24 do | |
2652 | MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2)) | |
2653 | end | |
2654 | end | |
2655 | ---- | |
2656 | ||
2657 | ||
2658 | function ring(type,pos,scale,value) | |
2659 | local type = type | |
2660 | local rng = Instance.new("Part", char) | |
2661 | rng.Anchored = true | |
2662 | rng.BrickColor = origcolor | |
2663 | rng.CanCollide = false | |
2664 | rng.FormFactor = 3 | |
2665 | rng.Name = "Ring" | |
2666 | rng.Size = Vector3.new(1, 1, 1) | |
2667 | rng.Transparency = 0 | |
2668 | rng.TopSurface = 0 | |
2669 | rng.BottomSurface = 0 | |
2670 | rng.CFrame = pos | |
2671 | local rngm = Instance.new("SpecialMesh", rng) | |
2672 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2673 | rngm.Scale = scale | |
2674 | local scaler2 = 1 | |
2675 | if type == "Add" then | |
2676 | scaler2 = 1*value | |
2677 | elseif type == "Divide" then | |
2678 | scaler2 = 1/value | |
2679 | end | |
2680 | coroutine.resume(coroutine.create(function() | |
2681 | for i = 0,10,0.1 do | |
2682 | swait() | |
2683 | if type == "Add" then | |
2684 | scaler2 = scaler2 - 0.01*value | |
2685 | elseif type == "Divide" then | |
2686 | scaler2 = scaler2 - 0.01/value | |
2687 | end | |
2688 | rng.Transparency = rng.Transparency + 0.01 | |
2689 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2690 | end | |
2691 | rng:Destroy() | |
2692 | end)) | |
2693 | end | |
2694 | ||
2695 | ||
2696 | function wave(type,pos,scale,value) | |
2697 | local type = type | |
2698 | local rng = Instance.new("Part", char) | |
2699 | rng.Anchored = true | |
2700 | rng.BrickColor = origcolor | |
2701 | rng.CanCollide = false | |
2702 | rng.FormFactor = 3 | |
2703 | rng.Name = "Ring" | |
2704 | rng.Size = Vector3.new(1, 1, 1) | |
2705 | rng.Transparency = 0 | |
2706 | rng.TopSurface = 0 | |
2707 | rng.BottomSurface = 0 | |
2708 | rng.CFrame = pos | |
2709 | local rngm = Instance.new("SpecialMesh", rng) | |
2710 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2711 | rngm.Scale = scale | |
2712 | local scaler2 = 1 | |
2713 | if type == "Add" then | |
2714 | scaler2 = 1*value | |
2715 | elseif type == "Divide" then | |
2716 | scaler2 = 1/value | |
2717 | end | |
2718 | coroutine.resume(coroutine.create(function() | |
2719 | for i = 0,10,0.1 do | |
2720 | swait() | |
2721 | if type == "Add" then | |
2722 | scaler2 = scaler2 - 0.01*value | |
2723 | elseif type == "Divide" then | |
2724 | scaler2 = scaler2 - 0.01/value | |
2725 | end | |
2726 | rng.Transparency = rng.Transparency + 0.01 | |
2727 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
2728 | end | |
2729 | rng:Destroy() | |
2730 | end)) | |
2731 | end | |
2732 | ||
2733 | function wind(type,pos,scale,value,speed) | |
2734 | local type = type | |
2735 | local rng = Instance.new("Part", char) | |
2736 | rng.Anchored = true | |
2737 | rng.BrickColor = origcolor | |
2738 | rng.CanCollide = false | |
2739 | rng.FormFactor = 3 | |
2740 | rng.Name = "Ring" | |
2741 | rng.Size = Vector3.new(1, 1, 1) | |
2742 | rng.Transparency = 0 | |
2743 | rng.TopSurface = 0 | |
2744 | rng.BottomSurface = 0 | |
2745 | rng.CFrame = pos | |
2746 | local rngm = Instance.new("SpecialMesh", rng) | |
2747 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
2748 | rngm.Scale = scale | |
2749 | local scaler2 = 1 | |
2750 | if type == "Add" then | |
2751 | scaler2 = 1*value | |
2752 | elseif type == "Divide" then | |
2753 | scaler2 = 1/value | |
2754 | end | |
2755 | coroutine.resume(coroutine.create(function() | |
2756 | for i = 0,10,0.1 do | |
2757 | swait() | |
2758 | if type == "Add" then | |
2759 | scaler2 = scaler2 - 0.01*value | |
2760 | elseif type == "Divide" then | |
2761 | scaler2 = scaler2 - 0.01/value | |
2762 | end | |
2763 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
2764 | rng.Transparency = rng.Transparency + 0.01 | |
2765 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
2766 | end | |
2767 | rng:Destroy() | |
2768 | end)) | |
2769 | end | |
2770 | ||
2771 | function groundwind(type,pos,scale,value,speed) | |
2772 | local type = type | |
2773 | local rng = Instance.new("Part", char) | |
2774 | rng.Anchored = true | |
2775 | rng.BrickColor = origcolor | |
2776 | rng.CanCollide = false | |
2777 | rng.FormFactor = 3 | |
2778 | rng.Name = "Ring" | |
2779 | rng.Size = Vector3.new(1, 1, 1) | |
2780 | rng.Transparency = 0 | |
2781 | rng.TopSurface = 0 | |
2782 | rng.BottomSurface = 0 | |
2783 | rng.CFrame = pos | |
2784 | local rngm = Instance.new("SpecialMesh", rng) | |
2785 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
2786 | rngm.Scale = scale | |
2787 | local scaler2 = 1 | |
2788 | if type == "Add" then | |
2789 | scaler2 = 1*value | |
2790 | elseif type == "Divide" then | |
2791 | scaler2 = 1/value | |
2792 | end | |
2793 | coroutine.resume(coroutine.create(function() | |
2794 | for i = 0,10,0.1 do | |
2795 | swait() | |
2796 | if type == "Add" then | |
2797 | scaler2 = scaler2 - 0.01*value | |
2798 | elseif type == "Divide" then | |
2799 | scaler2 = scaler2 - 0.01/value | |
2800 | end | |
2801 | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) | |
2802 | rng.Transparency = rng.Transparency + 0.01 | |
2803 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2) | |
2804 | end | |
2805 | rng:Destroy() | |
2806 | end)) | |
2807 | end | |
2808 | ||
2809 | function CameraManager() | |
2810 | if TwoD and not CamInterrupt then | |
2811 | if Humanoid.Health > 0 then | |
2812 | Camera.CameraSubject = Humanoid | |
2813 | Camera.CameraType = "Scriptable" | |
2814 | Humanoid.AutoRotate = false | |
2815 | if Booleans.GyroUse then | |
2816 | Directer.MaxTorque = Vec3(0, huge, 0) | |
2817 | else | |
2818 | Directer.MaxTorque = Vec3(0, 0, 0) | |
2819 | end | |
2820 | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then | |
2821 | if Booleans.CamFollow then | |
2822 | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) | |
2823 | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) | |
2824 | else | |
2825 | CPart.Position = RootPart.Position | |
2826 | end | |
2827 | else | |
2828 | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p | |
2829 | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) | |
2830 | end | |
2831 | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) | |
2832 | else | |
2833 | Camera.CameraSubject = Humanoid | |
2834 | Camera.CameraType = "Custom" | |
2835 | Controller.Disabled = false | |
2836 | end | |
2837 | end | |
2838 | end | |
2839 | ||
2840 | function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow) | |
2841 | local type = type | |
2842 | local rng = Instance.new("Part", char) | |
2843 | rng.Anchored = true | |
2844 | rng.BrickColor = color | |
2845 | rng.CanCollide = false | |
2846 | rng.FormFactor = 3 | |
2847 | rng.Name = "Ring" | |
2848 | rng.Material = "Neon" | |
2849 | rng.Size = Vector3.new(1, 1, 1) | |
2850 | rng.Transparency = 0 | |
2851 | rng.TopSurface = 0 | |
2852 | rng.BottomSurface = 0 | |
2853 | rng.CFrame = pos | |
2854 | local rngm = Instance.new("SpecialMesh", rng) | |
2855 | rngm.MeshType = "Sphere" | |
2856 | ||
2857 | ||
2858 | if(heart)then | |
2859 | rngm.MeshType = Enum.MeshType.FileMesh | |
2860 | rngm.MeshId = "rbxassetid://105992239" | |
2861 | rngm.Offset = Vector3.new(0,0,-.25) | |
2862 | end | |
2863 | rngm.Scale = scale | |
2864 | if rainbowmode == true and not notaffectbychaosrainbow then | |
2865 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2866 | end | |
2867 | local scaler2 = 1 | |
2868 | if type == "Add" then | |
2869 | scaler2 = 1*value | |
2870 | elseif type == "Divide" then | |
2871 | scaler2 = 1/value | |
2872 | end | |
2873 | coroutine.resume(coroutine.create(function() | |
2874 | for i = 0,10/bonuspeed,0.1 do | |
2875 | swait() | |
2876 | if rainbowmode == true and not notaffectbychaosrainbow then | |
2877 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2878 | end | |
2879 | if type == "Add" then | |
2880 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2881 | elseif type == "Divide" then | |
2882 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2883 | end | |
2884 | if chaosmode == true and not notaffectbychaosrainbow then | |
2885 | rng.BrickColor = BrickColor.random() | |
2886 | end | |
2887 | if glitchymode then | |
2888 | local val = math.random(1,255) | |
2889 | local color = Color3.fromRGB(val,val,val) | |
2890 | rng.Color = color | |
2891 | end | |
2892 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2893 | if(invert)then | |
2894 | if(heart)then | |
2895 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
2896 | else | |
2897 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
2898 | end | |
2899 | else | |
2900 | if(heart)then | |
2901 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
2902 | else | |
2903 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
2904 | end | |
2905 | end | |
2906 | rng.CFrame = pos | |
2907 | end | |
2908 | rng:Destroy() | |
2909 | end)) | |
2910 | end | |
2911 | ||
2912 | function newBezier(startpos, pos2, pos3, endpos, t) | |
2913 | local A = clerp(startpos, pos2, t) | |
2914 | local B = clerp(pos2, pos3, t) | |
2915 | local C = clerp(pos3, endpos, t) | |
2916 | local lerp1 = clerp(A, B, t) | |
2917 | local lerp2 = clerp(B, C, t) | |
2918 | local cubic = clerp(lerp1, lerp2, t) | |
2919 | return cubic | |
2920 | end | |
2921 | ||
2922 | ||
2923 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert) | |
2924 | local type = type | |
2925 | local rng = Instance.new("Part", char) | |
2926 | rng.Anchored = true | |
2927 | rng.BrickColor = color | |
2928 | rng.CanCollide = false | |
2929 | rng.FormFactor = 3 | |
2930 | rng.Name = "Ring" | |
2931 | rng.Material = "Neon" | |
2932 | rng.Size = Vector3.new(1, 1, 1) | |
2933 | rng.Transparency = 0 | |
2934 | rng.TopSurface = 0 | |
2935 | rng.BottomSurface = 0 | |
2936 | rng.CFrame = pos | |
2937 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
2938 | local rngm = Instance.new("SpecialMesh", rng) | |
2939 | rngm.MeshType = "Brick" | |
2940 | if(heart)then | |
2941 | rngm.MeshType = Enum.MeshType.FileMesh | |
2942 | rngm.MeshId = "rbxassetid://105992239" | |
2943 | rngm.Offset = Vector3.new(0,0,-.25) | |
2944 | end | |
2945 | rngm.Scale = vt(x1,y1,z1) | |
2946 | if rainbowmode == true then | |
2947 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2948 | end | |
2949 | local scaler2 = 1 | |
2950 | local speeder = FastSpeed/10 | |
2951 | if type == "Add" then | |
2952 | scaler2 = 1*value | |
2953 | elseif type == "Divide" then | |
2954 | scaler2 = 1/value | |
2955 | end | |
2956 | coroutine.resume(coroutine.create(function() | |
2957 | for i = 0,10/bonuspeed,0.1 do | |
2958 | swait() | |
2959 | if rainbowmode == true then | |
2960 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2961 | end | |
2962 | if type == "Add" then | |
2963 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2964 | elseif type == "Divide" then | |
2965 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2966 | end | |
2967 | if chaosmode == true then | |
2968 | rng.BrickColor = BrickColor.random() | |
2969 | end | |
2970 | if glitchymode then | |
2971 | local val = math.random(1,255) | |
2972 | local color = Color3.fromRGB(val,val,val) | |
2973 | rng.Color = color | |
2974 | end | |
2975 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
2976 | if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end | |
2977 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2978 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
2979 | end | |
2980 | rng:Destroy() | |
2981 | end)) | |
2982 | end | |
2983 | ||
2984 | ||
2985 | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert) | |
2986 | local type = type | |
2987 | local rng = Instance.new("Part", char) | |
2988 | rng.Anchored = true | |
2989 | rng.BrickColor = color | |
2990 | rng.CanCollide = false | |
2991 | rng.FormFactor = 3 | |
2992 | rng.Name = "Ring" | |
2993 | rng.Material = "Neon" | |
2994 | rng.Size = Vector3.new(1, 1, 1) | |
2995 | rng.Transparency = 0 | |
2996 | rng.TopSurface = 0 | |
2997 | rng.BottomSurface = 0 | |
2998 | rng.CFrame = pos | |
2999 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
3000 | local rngm = Instance.new("SpecialMesh", rng) | |
3001 | rngm.MeshType = "Brick" | |
3002 | if(heart)then | |
3003 | rngm.MeshType = Enum.MeshType.FileMesh | |
3004 | rngm.MeshId = "rbxassetid://105992239" | |
3005 | rngm.Offset = Vector3.new(0,0,-.25) | |
3006 | end | |
3007 | rngm.Scale = vt(x1,y1,z1) | |
3008 | if rainbowmode == true then | |
3009 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3010 | end | |
3011 | local scaler2 = 0 | |
3012 | local speeder = FastSpeed/10 | |
3013 | if type == "Add" then | |
3014 | scaler2 = 1*value | |
3015 | elseif type == "Divide" then | |
3016 | scaler2 = 1/value | |
3017 | end | |
3018 | coroutine.resume(coroutine.create(function() | |
3019 | for i = 0,10/bonuspeed,0.1 do | |
3020 | swait() | |
3021 | if rainbowmode == true then | |
3022 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3023 | end | |
3024 | if type == "Add" then | |
3025 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3026 | elseif type == "Divide" then | |
3027 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3028 | end | |
3029 | if chaosmode == true then | |
3030 | rng.BrickColor = BrickColor.random() | |
3031 | end | |
3032 | if glitchymode then | |
3033 | local val = math.random(1,255) | |
3034 | local color = Color3.fromRGB(val,val,val) | |
3035 | rng.Color = color | |
3036 | end | |
3037 | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 | |
3038 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3039 | if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end | |
3040 | --rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3041 | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
3042 | end | |
3043 | rng:Destroy() | |
3044 | end)) | |
3045 | end | |
3046 | ||
3047 | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
3048 | local type = type | |
3049 | local rng = Instance.new("Part", char) | |
3050 | rng.Anchored = true | |
3051 | rng.BrickColor = color | |
3052 | rng.CanCollide = false | |
3053 | rng.FormFactor = 3 | |
3054 | rng.Name = "Ring" | |
3055 | rng.Material = "Neon" | |
3056 | rng.Size = Vector3.new(1, 1, 1) | |
3057 | rng.Transparency = 0 | |
3058 | rng.TopSurface = 0 | |
3059 | rng.BottomSurface = 0 | |
3060 | rng.CFrame = pos | |
3061 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
3062 | local rngm = Instance.new("SpecialMesh", rng) | |
3063 | rngm.MeshType = "Sphere" | |
3064 | rngm.Scale = vt(x1,y1,z1) | |
3065 | if rainbowmode == true then | |
3066 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3067 | end | |
3068 | local scaler2 = 1 | |
3069 | local speeder = FastSpeed | |
3070 | if type == "Add" then | |
3071 | scaler2 = 1*value | |
3072 | elseif type == "Divide" then | |
3073 | scaler2 = 1/value | |
3074 | end | |
3075 | coroutine.resume(coroutine.create(function() | |
3076 | for i = 0,10/bonuspeed,0.1 do | |
3077 | swait() | |
3078 | if rainbowmode == true then | |
3079 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3080 | end | |
3081 | if type == "Add" then | |
3082 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3083 | elseif type == "Divide" then | |
3084 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3085 | end | |
3086 | if chaosmode == true then | |
3087 | rng.BrickColor = BrickColor.random() | |
3088 | end | |
3089 | if glitchymode then | |
3090 | local val = math.random(1,255) | |
3091 | local color = Color3.fromRGB(val,val,val) | |
3092 | rng.Color = color | |
3093 | end | |
3094 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
3095 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3096 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
3097 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
3098 | end | |
3099 | rng:Destroy() | |
3100 | end)) | |
3101 | end | |
3102 | ||
3103 | ||
3104 | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
3105 | local type = type | |
3106 | local rng = Instance.new("Part", char) | |
3107 | rng.Anchored = true | |
3108 | rng.BrickColor = color | |
3109 | rng.CanCollide = false | |
3110 | rng.FormFactor = 3 | |
3111 | rng.Name = "Ring" | |
3112 | rng.Material = "Neon" | |
3113 | rng.Size = Vector3.new(1, 1, 1) | |
3114 | rng.Transparency = 1 | |
3115 | rng.TopSurface = 0 | |
3116 | rng.BottomSurface = 0 | |
3117 | rng.CFrame = pos | |
3118 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
3119 | local rngm = Instance.new("SpecialMesh", rng) | |
3120 | rngm.MeshType = "Sphere" | |
3121 | rngm.Scale = vt(x1,y1,z1) | |
3122 | if rainbowmode == true then | |
3123 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3124 | end | |
3125 | local scaler2 = 1 | |
3126 | local speeder = FastSpeed | |
3127 | if type == "Add" then | |
3128 | scaler2 = 1*value | |
3129 | elseif type == "Divide" then | |
3130 | scaler2 = 1/value | |
3131 | end | |
3132 | coroutine.resume(coroutine.create(function() | |
3133 | for i = 0,10/bonuspeed,0.1 do | |
3134 | swait() | |
3135 | if rainbowmode == true then | |
3136 | rng.Color = Color3.new(r/255,g/255,b/255) | |
3137 | end | |
3138 | if type == "Add" then | |
3139 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
3140 | elseif type == "Divide" then | |
3141 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
3142 | end | |
3143 | if chaosmode == true then | |
3144 | rng.BrickColor = BrickColor.random() | |
3145 | end | |
3146 | if glitchymode then | |
3147 | local val = math.random(1,255) | |
3148 | local color = Color3.fromRGB(val,val,val) | |
3149 | rng.Color = color | |
3150 | end | |
3151 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
3152 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
3153 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
3154 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
3155 | end | |
3156 | rng:Destroy() | |
3157 | end)) | |
3158 | end | |
3159 | ||
3160 | function dmg(dude) | |
3161 | if dude.Name ~= Character then | |
3162 | local bgf = Instance.new("BodyGyro",dude.Head) | |
3163 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
3164 | local val = Instance.new("BoolValue",dude) | |
3165 | val.Name = "IsHit" | |
3166 | local ds = coroutine.wrap(function() | |
3167 | local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' | |
3168 | for i = 1, 10 do | |
3169 | sphereMK(1.5,2,"Add",torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,25,-.01,BrickColor.new("White"),0,true) | |
3170 | end | |
3171 | dude:WaitForChild("Head"):BreakJoints() | |
3172 | wait(0.5) | |
3173 | targetted = nil | |
3174 | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3) | |
3175 | ||
3176 | coroutine.resume(coroutine.create(function() | |
3177 | for i, v in pairs(dude:GetChildren()) do | |
3178 | if v:IsA("Accessory") then | |
3179 | v:Destroy() | |
3180 | end | |
3181 | if v:IsA("Humanoid") then | |
3182 | v:Destroy() | |
3183 | end | |
3184 | if v:IsA("CharacterMesh") then | |
3185 | v:Destroy() | |
3186 | end | |
3187 | if v:IsA("Model") then | |
3188 | v:Destroy() | |
3189 | end | |
3190 | if v:IsA("Part") or v:IsA("MeshPart") then | |
3191 | for x, o in pairs(v:GetChildren()) do | |
3192 | if o:IsA("Decal") then | |
3193 | o:Destroy() | |
3194 | end | |
3195 | end | |
3196 | coroutine.resume(coroutine.create(function() | |
3197 | v.Material = "Neon" | |
3198 | v.CanCollide = false | |
3199 | local bld = Instance.new("ParticleEmitter",v) | |
3200 | bld.LightEmission = 1 | |
3201 | bld.Texture = "rbxassetid://284205403" | |
3202 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
3203 | bld.Rate = 50 | |
3204 | bld.Lifetime = NumberRange.new(1) | |
3205 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3206 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3207 | bld.Speed = NumberRange.new(0,0) | |
3208 | bld.VelocitySpread = 50000 | |
3209 | bld.Rotation = NumberRange.new(-500,500) | |
3210 | bld.RotSpeed = NumberRange.new(-500,500) | |
3211 | local sbs = Instance.new("BodyPosition", v) | |
3212 | sbs.P = 3000 | |
3213 | sbs.D = 1000 | |
3214 | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
3215 | sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
3216 | v.Color = Color3.new(1,1,1) | |
3217 | coroutine.resume(coroutine.create(function() | |
3218 | for i = 0, 49 do | |
3219 | swait(1) | |
3220 | v.Transparency = v.Transparency + 0.02 | |
3221 | end | |
3222 | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1) | |
3223 | bld.Speed = NumberRange.new(1,5) | |
3224 | bld.Acceleration = vt(0,10,0) | |
3225 | wait(0.5) | |
3226 | bld.Enabled = false | |
3227 | wait(3) | |
3228 | v:Destroy() | |
3229 | dude:Destroy() | |
3230 | end)) | |
3231 | end)) | |
3232 | end | |
3233 | end | |
3234 | end)) | |
3235 | end) | |
3236 | ds() | |
3237 | end | |
3238 | end | |
3239 | ||
3240 | ||
3241 | function FindNearestHead(Position, Distance, SinglePlayer) | |
3242 | if SinglePlayer then | |
3243 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
3244 | end | |
3245 | local List = {} | |
3246 | for i, v in pairs(workspace:GetChildren()) do | |
3247 | if v:IsA("Model") then | |
3248 | if v:findFirstChild("Head") then | |
3249 | if v ~= Character then | |
3250 | if (v.Head.Position - Position).magnitude <= Distance then | |
3251 | table.insert(List, v) | |
3252 | end | |
3253 | end | |
3254 | end | |
3255 | end | |
3256 | end | |
3257 | return List | |
3258 | end | |
3259 | ||
3260 | function FaceMouse() | |
3261 | Cam = workspace.CurrentCamera | |
3262 | return { | |
3263 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
3264 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
3265 | } | |
3266 | end | |
3267 | ||
3268 | function FaceMouse2() | |
3269 | Cam = workspace.CurrentCamera | |
3270 | return { | |
3271 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), | |
3272 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
3273 | } | |
3274 | end | |
3275 | ||
3276 | local ModeOfGlitch = 1 | |
3277 | -- Functions are ready. | |
3278 | local storehumanoidWS = 16 | |
3279 | ||
3280 | function CorruptBlink() | |
3281 | for i = 0, 14 do | |
3282 | 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) | |
3283 | end | |
3284 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3285 | CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1) | |
3286 | RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0) | |
3287 | CameraEnshaking(2,10) | |
3288 | if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do | |
3289 | if v:FindFirstChild('Head') then | |
3290 | dmg(v) | |
3291 | end | |
3292 | end end | |
3293 | for i = 0, 14 do | |
3294 | 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) | |
3295 | end | |
3296 | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3297 | end | |
3298 | ||
3299 | function ExtinctiveHeartbreak() | |
3300 | local targetted = nil | |
3301 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
3302 | targetted = mouse.Target.Parent | |
3303 | end | |
3304 | if targetted ~= nil then | |
3305 | attack = true | |
3306 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
3307 | for i = 0, 9 do | |
3308 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0) | |
3309 | end | |
3310 | for i = 0, 24 do | |
3311 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0) | |
3312 | end | |
3313 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black")) | |
3314 | local originalpos = root.CFrame | |
3315 | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2) | |
3316 | for i = 0, 9 do | |
3317 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0) | |
3318 | end | |
3319 | for i = 0, 24 do | |
3320 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0) | |
3321 | end | |
3322 | hum.WalkSpeed = 0 | |
3323 | targetted.Head.Anchored = true | |
3324 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black")) | |
3325 | for i = 0,2,0.1 do | |
3326 | swait() | |
3327 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4) | |
3328 | 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) | |
3329 | 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) | |
3330 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8) | |
3331 | 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) | |
3332 | 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) | |
3333 | end | |
3334 | coroutine.resume(coroutine.create(function() | |
3335 | bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso")) | |
3336 | bld.LightEmission = 0.1 | |
3337 | bld.Texture = "rbxassetid://284205403" | |
3338 | bld.Color = ColorSequence.new(Color3.new(0.5,0,0)) | |
3339 | bld.Rate = 500 | |
3340 | bld.Lifetime = NumberRange.new(1) | |
3341 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3342 | bld.Acceleration = vt(0,-25,0) | |
3343 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3344 | bld.Speed = NumberRange.new(10,50) | |
3345 | bld.EmissionDirection = "Front" | |
3346 | bld.VelocitySpread = 25 | |
3347 | bld.Rotation = NumberRange.new(-500,500) | |
3348 | bld.RotSpeed = NumberRange.new(-500,500) | |
3349 | end)) | |
3350 | coroutine.resume(coroutine.create(function() | |
3351 | bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso")) | |
3352 | bld.LightEmission = 0.1 | |
3353 | bld.Texture = "rbxassetid://284205403" | |
3354 | bld.Color = ColorSequence.new(Color3.new(0.5,0,0)) | |
3355 | bld.Rate = 500 | |
3356 | bld.Lifetime = NumberRange.new(1) | |
3357 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3358 | bld.Acceleration = vt(0,-25,0) | |
3359 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3360 | bld.Speed = NumberRange.new(10,50) | |
3361 | bld.EmissionDirection = "Front" | |
3362 | bld.VelocitySpread = 25 | |
3363 | bld.Rotation = NumberRange.new(-500,500) | |
3364 | bld.RotSpeed = NumberRange.new(-500,500) | |
3365 | end)) | |
3366 | CameraEnshaking(5,5) | |
3367 | game:GetService("Debris"):AddItem(bld,3) | |
3368 | dmg(targetted) | |
3369 | CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1) | |
3370 | for i = 0,1,0.1 do | |
3371 | swait() | |
3372 | 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) | |
3373 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8) | |
3374 | 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) | |
3375 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8) | |
3376 | 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) | |
3377 | 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) | |
3378 | end | |
3379 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
3380 | for i = 0, 9 do | |
3381 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0) | |
3382 | end | |
3383 | for i = 0, 24 do | |
3384 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0) | |
3385 | end | |
3386 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black")) | |
3387 | root.CFrame = originalpos | |
3388 | for i = 0, 9 do | |
3389 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0) | |
3390 | end | |
3391 | for i = 0, 24 do | |
3392 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0) | |
3393 | end | |
3394 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black")) | |
3395 | bld.Enabled = false | |
3396 | attack = false | |
3397 | hum.WalkSpeed = storehumanoidWS | |
3398 | end | |
3399 | end | |
3400 | function PureBomb() | |
3401 | attack = true | |
3402 | ||
3403 | local orb = Instance.new("Part", char) | |
3404 | orb.Anchored = true | |
3405 | orb.BrickColor = BrickColor.new("Toothpaste") | |
3406 | orb.CanCollide = false | |
3407 | orb.FormFactor = 3 | |
3408 | orb.Name = "Ring" | |
3409 | orb.Material = "Neon" | |
3410 | orb.Size = Vector3.new(1, 1, 1) | |
3411 | orb.Transparency = 0 | |
3412 | orb.TopSurface = 0 | |
3413 | orb.BottomSurface = 0 | |
3414 | local orbm = Instance.new("SpecialMesh", orb) | |
3415 | orbm.MeshType = "Sphere" | |
3416 | orbm.Name = "SizeMesh" | |
3417 | orbm.Scale = vt(0,0,0) | |
3418 | local scaled = 0.1 | |
3419 | local posid = 0 | |
3420 | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1) | |
3421 | for i = 0, 5, 0.1 do | |
3422 | swait() | |
3423 | scaled = scaled - 0.001 | |
3424 | posid = posid - scaled | |
3425 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
3426 | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) | |
3427 | 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) | |
3428 | 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) | |
3429 | 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) | |
3430 | 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) | |
3431 | 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) | |
3432 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
3433 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) | |
3434 | 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) | |
3435 | end | |
3436 | for i = 0, 2, 0.1 do | |
3437 | swait() | |
3438 | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) | |
3439 | 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) | |
3440 | 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) | |
3441 | 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) | |
3442 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) | |
3443 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) | |
3444 | 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) | |
3445 | end | |
3446 | coroutine.resume(coroutine.create(function() | |
3447 | orb.Anchored = false | |
3448 | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1) | |
3449 | local a = Instance.new("Part",workspace) | |
3450 | a.Name = "Direction" | |
3451 | a.Anchored = true | |
3452 | a.BrickColor = bc("Bright red") | |
3453 | a.Material = "Neon" | |
3454 | a.Transparency = 1 | |
3455 | a.CanCollide = false | |
3456 | local ray = Ray.new( | |
3457 | orb.CFrame.p, -- origin | |
3458 | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction | |
3459 | ) | |
3460 | local ignore = orb | |
3461 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
3462 | a.BottomSurface = 10 | |
3463 | a.TopSurface = 10 | |
3464 | local distance = (orb.CFrame.p - position).magnitude | |
3465 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
3466 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
3467 | orb.CFrame = a.CFrame | |
3468 | a:Destroy() | |
3469 | local bv = Instance.new("BodyVelocity") | |
3470 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3471 | bv.velocity = orb.CFrame.lookVector*125 | |
3472 | bv.Parent = orb | |
3473 | local hitted = false | |
3474 | game:GetService("Debris"):AddItem(orb, 15) | |
3475 | wait() | |
3476 | local hit =orb.Touched:connect(function(hit) | |
3477 | if hitted == false then | |
3478 | hitted = true | |
3479 | CameraEnshaking(10,2.5) | |
3480 | CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1) | |
3481 | MagniDamage(orb, 65, 65,90, 0, "Normal") | |
3482 | sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste")) | |
3483 | sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste")) | |
3484 | for i = 0, 49 do | |
3485 | 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) | |
3486 | end | |
3487 | for i = 0, 9 do | |
3488 | 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) | |
3489 | 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) | |
3490 | end | |
3491 | orb.Anchored = true | |
3492 | orb.Transparency = 1 | |
3493 | wait(8) | |
3494 | orb:Destroy() | |
3495 | end | |
3496 | end) | |
3497 | end)) | |
3498 | for i = 0, 1, 0.1 do | |
3499 | swait() | |
3500 | 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) | |
3501 | 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) | |
3502 | 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) | |
3503 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) | |
3504 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) | |
3505 | 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) | |
3506 | end | |
3507 | attack = false | |
3508 | end | |
3509 | ||
3510 | function ChaosGroundStrike() | |
3511 | attack = true | |
3512 | for i = 0, 2, 0.1 do | |
3513 | swait() | |
3514 | 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) | |
3515 | 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) | |
3516 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3517 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3518 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
3519 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
3520 | end | |
3521 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1) | |
3522 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) | |
3523 | CameraEnshaking(4,12) | |
3524 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do | |
3525 | if v:FindFirstChild('Head') then | |
3526 | dmg(v) | |
3527 | end | |
3528 | end | |
3529 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) | |
3530 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) | |
3531 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random()) | |
3532 | for i = 0, 2, 0.1 do | |
3533 | swait() | |
3534 | 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) | |
3535 | 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) | |
3536 | 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) | |
3537 | 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) | |
3538 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3539 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3540 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
3541 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
3542 | end | |
3543 | attack = false | |
3544 | end | |
3545 | ||
3546 | function InsaneGroundStrike() | |
3547 | attack = true | |
3548 | chatfunc("Succumb to the insanity!",Color3.new(0,0,0)) | |
3549 | for i = 0, 8, 0.1 do | |
3550 | swait() | |
3551 | PixelBlockNeg(2,1,"Add",RightLeg.CFrame*cf(0,-1.35,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0) | |
3552 | ||
3553 | 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) | |
3554 | 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) | |
3555 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3556 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3557 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
3558 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
3559 | end | |
3560 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1) | |
3561 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) | |
3562 | CameraEnshaking(8,24) | |
3563 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do | |
3564 | if v:FindFirstChild('Head') then | |
3565 | dmg(v) | |
3566 | end | |
3567 | end | |
3568 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) | |
3569 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) | |
3570 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random()) | |
3571 | CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1) | |
3572 | chatfunc("Leave the dead where they fall!",Color3.new(0,0,0)) | |
3573 | for i = 0, 2, 0.1 do | |
3574 | swait() | |
3575 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
3576 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
3577 | 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) | |
3578 | 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) | |
3579 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3580 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
3581 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
3582 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
3583 | end | |
3584 | attack = false | |
3585 | end | |
3586 | ||
3587 | function Starfall() | |
3588 | attack = true | |
3589 | hum.WalkSpeed = 0 | |
3590 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1) | |
3591 | for i = 0, 5, 0.1 do | |
3592 | swait() | |
3593 | 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) | |
3594 | 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) | |
3595 | 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) | |
3596 | 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) | |
3597 | 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) | |
3598 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
3599 | 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) | |
3600 | 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) | |
3601 | end | |
3602 | local Overed = false | |
3603 | CameraEnshaking(2,20) | |
3604 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
3605 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
3606 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
3607 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1) | |
3608 | local orb = Instance.new("Part", char) | |
3609 | orb.Anchored = true | |
3610 | orb.BrickColor = BrickColor.new("Toothpaste") | |
3611 | orb.CanCollide = false | |
3612 | orb.FormFactor = 3 | |
3613 | orb.Name = "Remenant" | |
3614 | orb.Material = "Neon" | |
3615 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
3616 | orb.Size = Vector3.new(1, 1, 1) | |
3617 | orb.Transparency = 1 | |
3618 | orb.TopSurface = 0 | |
3619 | orb.BottomSurface = 0 | |
3620 | hum.WalkSpeed = storehumanoidWS | |
3621 | coroutine.resume(coroutine.create(function() | |
3622 | for i = 0, 9 do | |
3623 | swait(10) | |
3624 | local lb = Instance.new("Part") | |
3625 | lb.Color = MAINRUINCOLOR.Color | |
3626 | lb.CanCollide = false | |
3627 | lb.Material = "Neon" | |
3628 | lb.Anchored = true | |
3629 | lb.TopSurface = 0 | |
3630 | lb.BottomSurface = 0 | |
3631 | lb.Transparency = 0 | |
3632 | lb.Size = vt(1,1,1) | |
3633 | 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))) | |
3634 | lb.Anchored = false | |
3635 | lb.Parent = char | |
3636 | local thingery = Instance.new("SpecialMesh",lb) | |
3637 | thingery.MeshType = "Sphere" | |
3638 | thingery.Scale = vt(20,20,20) | |
3639 | game:GetService("Debris"):AddItem(lb, 10) | |
3640 | local bv = Instance.new("BodyVelocity") | |
3641 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3642 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
3643 | bv.Parent = lb | |
3644 | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) | |
3645 | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) | |
3646 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1) | |
3647 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1) | |
3648 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1) | |
3649 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1) | |
3650 | local hitted = false | |
3651 | coroutine.resume(coroutine.create(function() | |
3652 | while true do | |
3653 | swait(1) | |
3654 | if lb.Parent ~= nil and hitted == false then | |
3655 | 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) | |
3656 | elseif lb.Parent == nil then | |
3657 | break | |
3658 | end | |
3659 | end | |
3660 | end)) | |
3661 | ||
3662 | game:GetService("Debris"):AddItem(a, 0.1) | |
3663 | ||
3664 | coroutine.resume(coroutine.create(function() | |
3665 | swait(1) | |
3666 | lb.Touched:connect(function(hit) | |
3667 | if hitted == false then | |
3668 | hitted = true | |
3669 | lb.Transparency = 1 | |
3670 | lb.Anchored = true | |
3671 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1) | |
3672 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7) | |
3673 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75) | |
3674 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75) | |
3675 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1) | |
3676 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85) | |
3677 | MagniDamage(lb, 45, 45,85, 0, "Normal") | |
3678 | CameraEnshaking(1,5) | |
3679 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
3680 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
3681 | for i = 0, 9 do | |
3682 | 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) | |
3683 | end | |
3684 | for i = 0, 49 do | |
3685 | swait() | |
3686 | MagniDamage(lb, 30, 2,4, 0, "Normal") | |
3687 | 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) | |
3688 | end | |
3689 | end | |
3690 | end) | |
3691 | end)) | |
3692 | end | |
3693 | Overed = true | |
3694 | orb:Destroy() | |
3695 | end)) | |
3696 | ||
3697 | attack = false | |
3698 | end | |
3699 | ||
3700 | function StarfallEX() | |
3701 | attack = true | |
3702 | hum.WalkSpeed = 0 | |
3703 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1) | |
3704 | for i = 0, 5, 0.1 do | |
3705 | swait() | |
3706 | 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) | |
3707 | 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) | |
3708 | 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) | |
3709 | 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) | |
3710 | 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) | |
3711 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
3712 | 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) | |
3713 | 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) | |
3714 | end | |
3715 | local Overed = false | |
3716 | CameraEnshaking(2,20) | |
3717 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
3718 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
3719 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
3720 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1) | |
3721 | local orb = Instance.new("Part", char) | |
3722 | orb.Anchored = true | |
3723 | orb.BrickColor = BrickColor.new("Toothpaste") | |
3724 | orb.CanCollide = false | |
3725 | orb.FormFactor = 3 | |
3726 | orb.Name = "Remenant" | |
3727 | orb.Material = "Neon" | |
3728 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
3729 | orb.Size = Vector3.new(1, 1, 1) | |
3730 | orb.Transparency = 1 | |
3731 | orb.TopSurface = 0 | |
3732 | orb.BottomSurface = 0 | |
3733 | hum.WalkSpeed = storehumanoidWS | |
3734 | coroutine.resume(coroutine.create(function() | |
3735 | for i = 1, 5 do | |
3736 | swait(10) | |
3737 | local lb = Instance.new("Part") | |
3738 | lb.Color = MAINRUINCOLOR.Color | |
3739 | lb.CanCollide = false | |
3740 | lb.Material = "Neon" | |
3741 | lb.Anchored = true | |
3742 | lb.TopSurface = 0 | |
3743 | lb.BottomSurface = 0 | |
3744 | lb.Transparency = 0 | |
3745 | lb.Size = vt(1,1,1) | |
3746 | lb.CFrame = orb.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15))) | |
3747 | lb.Anchored = false | |
3748 | lb.Parent = char | |
3749 | local thingery = Instance.new("SpecialMesh",lb) | |
3750 | thingery.MeshType = "Sphere" | |
3751 | thingery.Scale = vt(20,20,20) | |
3752 | game:GetService("Debris"):AddItem(lb, 10) | |
3753 | local bv = Instance.new("BodyVelocity") | |
3754 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3755 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
3756 | bv.Parent = lb | |
3757 | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) | |
3758 | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) | |
3759 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1) | |
3760 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1) | |
3761 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1) | |
3762 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1) | |
3763 | local hitted = false | |
3764 | coroutine.resume(coroutine.create(function() | |
3765 | while true do | |
3766 | swait(1) | |
3767 | if lb.Parent ~= nil and hitted == false then | |
3768 | 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) | |
3769 | elseif lb.Parent == nil then | |
3770 | break | |
3771 | end | |
3772 | end | |
3773 | end)) | |
3774 | ||
3775 | game:GetService("Debris"):AddItem(a, 0.1) | |
3776 | ||
3777 | coroutine.resume(coroutine.create(function() | |
3778 | swait(5) | |
3779 | lb.Touched:connect(function(hit) | |
3780 | if hitted == false and not hit:IsDescendantOf(Character) then | |
3781 | hitted = true | |
3782 | lb.Transparency = 1 | |
3783 | lb.Anchored = true | |
3784 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1) | |
3785 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7) | |
3786 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75) | |
3787 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75) | |
3788 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1) | |
3789 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85) | |
3790 | MagniDamage(lb, 45, 90,170, 0, "Normal") | |
3791 | CameraEnshaking(1,5) | |
3792 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
3793 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
3794 | for i = 0, 9 do | |
3795 | 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) | |
3796 | end | |
3797 | for i = 0, 49 do | |
3798 | swait() | |
3799 | MagniDamage(lb, 60, 20,40, 0, "Normal") | |
3800 | 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) | |
3801 | end | |
3802 | end | |
3803 | end) | |
3804 | end)) | |
3805 | end | |
3806 | Overed = true | |
3807 | orb:Destroy() | |
3808 | end)) | |
3809 | ||
3810 | attack = false | |
3811 | end | |
3812 | ||
3813 | ||
3814 | function StarDivision() | |
3815 | attack = true | |
3816 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5) | |
3817 | for i = 0, 2, 0.1 do | |
3818 | swait() | |
3819 | 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) | |
3820 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6) | |
3821 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.6) | |
3822 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6) | |
3823 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6) | |
3824 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6) | |
3825 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6) | |
3826 | end | |
3827 | local orb = Instance.new("Part", char) | |
3828 | orb.BrickColor = MAINRUINCOLOR | |
3829 | orb.CanCollide = false | |
3830 | orb.FormFactor = 3 | |
3831 | orb.Name = "Ring" | |
3832 | orb.Material = "Neon" | |
3833 | orb.Size = Vector3.new(1, 1, 1) | |
3834 | orb.Transparency = 0 | |
3835 | orb.TopSurface = 0 | |
3836 | orb.BottomSurface = 0 | |
3837 | local orbm = Instance.new("SpecialMesh", orb) | |
3838 | orbm.MeshType = "Sphere" | |
3839 | orbm.Name = "SizeMesh" | |
3840 | orbm.Scale = vt(2,2,2) | |
3841 | local a = Instance.new("Part",workspace) | |
3842 | a.Name = "Direction" | |
3843 | a.Anchored = true | |
3844 | a.BrickColor = bc("Bright red") | |
3845 | a.Material = "Neon" | |
3846 | a.Transparency = 1 | |
3847 | a.CanCollide = false | |
3848 | local ray = Ray.new( | |
3849 | sorb.CFrame.p, -- origin | |
3850 | (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction | |
3851 | ) | |
3852 | local ignore = sorb | |
3853 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
3854 | a.BottomSurface = 10 | |
3855 | a.TopSurface = 10 | |
3856 | local distance = (sorb.CFrame.p - position).magnitude | |
3857 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
3858 | a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
3859 | orb.CFrame = a.CFrame | |
3860 | a:Destroy() | |
3861 | local bv = Instance.new("BodyVelocity") | |
3862 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3863 | bv.velocity = orb.CFrame.lookVector*100 | |
3864 | bv.Parent = orb | |
3865 | local hitted = false | |
3866 | game:GetService("Debris"):AddItem(orb, 10) | |
3867 | CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15) | |
3868 | CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15) | |
3869 | CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15) | |
3870 | CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15) | |
3871 | CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15) | |
3872 | coroutine.resume(coroutine.create(function() | |
3873 | while true do | |
3874 | swait(1) | |
3875 | if orb.Parent ~= nil and hitted == false then | |
3876 | 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) | |
3877 | elseif orb.Parent == nil then | |
3878 | break | |
3879 | end | |
3880 | end | |
3881 | end)) | |
3882 | coroutine.resume(coroutine.create(function() | |
3883 | swait(1) | |
3884 | orb.Touched:connect(function(hit) | |
3885 | if hitted == false then | |
3886 | hitted = true | |
3887 | game:GetService("Debris"):AddItem(orb, 5) | |
3888 | orb.Transparency = 1 | |
3889 | orb.Anchored = true | |
3890 | local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3891 | elocacenter.Anchored = true | |
3892 | elocacenter.CFrame = orb.CFrame | |
3893 | elocacenter.Orientation = vt(0,0,0) | |
3894 | local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3895 | eloca1.Anchored = true | |
3896 | eloca1.CFrame = elocacenter.CFrame | |
3897 | local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3898 | eloca2.Anchored = true | |
3899 | eloca2.CFrame = elocacenter.CFrame | |
3900 | local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3901 | eloca3.Anchored = true | |
3902 | eloca3.CFrame = elocacenter.CFrame | |
3903 | local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3904 | eloca4.Anchored = true | |
3905 | eloca4.CFrame = elocacenter.CFrame | |
3906 | local lookavec = 0 | |
3907 | local speeds = 0 | |
3908 | CameraEnshaking(1,1) | |
3909 | CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1) | |
3910 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3911 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3912 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3913 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3914 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3915 | for i = 0, 99 do | |
3916 | swait() | |
3917 | lookavec = lookavec + 1 | |
3918 | speeds = speeds + 0.1 | |
3919 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
3920 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
3921 | 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) | |
3922 | ||
3923 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
3924 | 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) | |
3925 | ||
3926 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
3927 | 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) | |
3928 | ||
3929 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
3930 | 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) | |
3931 | end | |
3932 | ||
3933 | for i = 0, 149 do | |
3934 | swait() | |
3935 | speeds = speeds + 0.1 | |
3936 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
3937 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
3938 | 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) | |
3939 | ||
3940 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
3941 | 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) | |
3942 | ||
3943 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
3944 | 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) | |
3945 | ||
3946 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
3947 | 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) | |
3948 | end | |
3949 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do | |
3950 | if v:FindFirstChild('Head') then | |
3951 | dmg(v) | |
3952 | end | |
3953 | end | |
3954 | CameraEnshaking(7,30) | |
3955 | MagniDamage(elocacenter, 225, 50,75, 0, "Normal") | |
3956 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1) | |
3957 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75) | |
3958 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1) | |
3959 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1) | |
3960 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR) | |
3961 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR) | |
3962 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3963 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3964 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3965 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3966 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3967 | for i = 0, 24 do | |
3968 | 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) | |
3969 | 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) | |
3970 | 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) | |
3971 | 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) | |
3972 | end | |
3973 | coroutine.resume(coroutine.create(function() | |
3974 | for i = 0, 499 do | |
3975 | swait(1) | |
3976 | MagniDamage(elocacenter, 90, 1,5, 0, "Normal") | |
3977 | 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) | |
3978 | end | |
3979 | elocacenter:Destroy() | |
3980 | eloca1:Destroy() | |
3981 | eloca2:Destroy() | |
3982 | eloca3:Destroy() | |
3983 | eloca4:Destroy() | |
3984 | end)) | |
3985 | end | |
3986 | end) | |
3987 | end)) | |
3988 | attack = false | |
3989 | end | |
3990 | ||
3991 | ||
3992 | function UniversalCollapse() | |
3993 | attack = true | |
3994 | local speedearn = 0 | |
3995 | hum.WalkSpeed = 0 | |
3996 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1) | |
3997 | for i = 0, 10, 0.1 do | |
3998 | swait() | |
3999 | speedearn = speedearn + 0.1 | |
4000 | 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) | |
4001 | 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) | |
4002 | 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) | |
4003 | 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) | |
4004 | 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) | |
4005 | 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) | |
4006 | 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) | |
4007 | 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) | |
4008 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
4009 | 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) | |
4010 | 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) | |
4011 | end | |
4012 | CameraEnshaking(5,45) | |
4013 | sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR) | |
4014 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1) | |
4015 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
4016 | if v:FindFirstChild('Head') then | |
4017 | dmg(v) | |
4018 | end | |
4019 | end | |
4020 | hum.WalkSpeed = storehumanoidWS | |
4021 | attack = false | |
4022 | end | |
4023 | function ChaosBegone() | |
4024 | attack = true | |
4025 | local speedearn = 0 | |
4026 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75) | |
4027 | for i = 0, 10, 0.1 do | |
4028 | swait() | |
4029 | speedearn = speedearn + 0.1 | |
4030 | 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) | |
4031 | 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) | |
4032 | 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) | |
4033 | 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) | |
4034 | 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) | |
4035 | 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) | |
4036 | 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) | |
4037 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4038 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4039 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
4040 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
4041 | end | |
4042 | CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1) | |
4043 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1) | |
4044 | CameraEnshaking(5,25) | |
4045 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
4046 | if v:FindFirstChild('Head') then | |
4047 | dmg(v) | |
4048 | end | |
4049 | end | |
4050 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random()) | |
4051 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random()) | |
4052 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random()) | |
4053 | for i = 0, 3, 0.1 do | |
4054 | swait() | |
4055 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
4056 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
4057 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
4058 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) | |
4059 | 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) | |
4060 | 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) | |
4061 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
4062 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
4063 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
4064 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
4065 | end | |
4066 | attack = false | |
4067 | end | |
4068 | ||
4069 | function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon) | |
4070 | local orb = Instance.new("Part", char) | |
4071 | orb.Anchored = true | |
4072 | orb.BrickColor = color | |
4073 | orb.CanCollide = false | |
4074 | orb.FormFactor = 3 | |
4075 | orb.Name = "Ring" | |
4076 | orb.Material = "Neon" | |
4077 | orb.Size = Vector3.new(1, 1, 1) | |
4078 | orb.Transparency = 0 | |
4079 | orb.TopSurface = 0 | |
4080 | orb.BottomSurface = 0 | |
4081 | local orbm = Instance.new("SpecialMesh", orb) | |
4082 | orbm.MeshType = "Sphere" | |
4083 | orb.CFrame = positted | |
4084 | orbm.Name = "SizeMesh" | |
4085 | orbm.Scale = vt(1,1,1) | |
4086 | coroutine.wrap(function() | |
4087 | while orb and orb.Parent do | |
4088 | if glitchymode then | |
4089 | local val = math.random(1,255) | |
4090 | local color = Color3.fromRGB(val,val,val) | |
4091 | orb.Color = color | |
4092 | end | |
4093 | swait() | |
4094 | end | |
4095 | end)() | |
4096 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1) | |
4097 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor) | |
4098 | --[[for i = 0, 2 do | |
4099 | sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0) | |
4100 | end]]-- | |
4101 | coroutine.resume(coroutine.create(function() | |
4102 | wait(timer) | |
4103 | CameraEnshaking(3,ShakePower) | |
4104 | orb.Transparency = 1 | |
4105 | MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal") | |
4106 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor) | |
4107 | --[[for i = 0, 4 do | |
4108 | sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0) | |
4109 | end]]-- | |
4110 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7) | |
4111 | wait(3) | |
4112 | orb:Destroy() | |
4113 | end)) | |
4114 | end | |
4115 | ||
4116 | function orb_spawn(positted,timer) | |
4117 | local orb = Instance.new("Part", char) | |
4118 | orb.Anchored = true | |
4119 | orb.BrickColor = BrickColor.new("White") | |
4120 | ||
4121 | orb.CanCollide = false | |
4122 | orb.FormFactor = 3 | |
4123 | orb.Name = "Ring" | |
4124 | orb.Material = "Neon" | |
4125 | orb.Size = Vector3.new(1, 1, 1) | |
4126 | orb.Transparency = 0 | |
4127 | orb.TopSurface = 0 | |
4128 | orb.BottomSurface = 0 | |
4129 | local orbm = Instance.new("SpecialMesh", orb) | |
4130 | orbm.MeshType = "Sphere" | |
4131 | orb.CFrame = positted | |
4132 | orbm.Name = "SizeMesh" | |
4133 | orbm.Scale = vt(1,1,1) | |
4134 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1) | |
4135 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor) | |
4136 | coroutine.wrap(function() | |
4137 | while orb and orb.Parent do | |
4138 | if glitchymode then | |
4139 | local val = math.random(1,255) | |
4140 | local color = Color3.fromRGB(val,val,val) | |
4141 | orb.Color = color | |
4142 | end | |
4143 | swait() | |
4144 | end | |
4145 | end)() | |
4146 | for i = 0, 2 do | |
4147 | sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0) | |
4148 | end | |
4149 | ||
4150 | coroutine.resume(coroutine.create(function() | |
4151 | wait(timer) | |
4152 | CameraEnshaking(3,2) | |
4153 | orb.Transparency = 1 | |
4154 | MagniDamage(orb, 17.5, 10,50, 0, "Normal") | |
4155 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor) | |
4156 | for i = 0, 4 do | |
4157 | sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0) | |
4158 | end | |
4159 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7) | |
4160 | wait(3) | |
4161 | orb:Destroy() | |
4162 | end)) | |
4163 | end | |
4164 | ||
4165 | function scattercorrupt() | |
4166 | attack = true | |
4167 | local rot = 0 | |
4168 | local randomrotations = math.random(1,2) | |
4169 | local lookv = 2.5 | |
4170 | local power = 5 | |
4171 | sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple")) | |
4172 | sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple")) | |
4173 | for i = 0, 9 do | |
4174 | sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0) | |
4175 | end | |
4176 | CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6) | |
4177 | CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5) | |
4178 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1) | |
4179 | CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75) | |
4180 | CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5) | |
4181 | local hite = Instance.new("Part", char) | |
4182 | hite.Anchored = true | |
4183 | hite.CanCollide = false | |
4184 | hite.FormFactor = 3 | |
4185 | hite.Name = "Ring" | |
4186 | hite.Material = "Neon" | |
4187 | hite.Size = Vector3.new(1, 1, 1) | |
4188 | hite.Transparency = 1 | |
4189 | hite.TopSurface = 0 | |
4190 | hite.BottomSurface = 0 | |
4191 | hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0) | |
4192 | local rem = Instance.new("Part", char) | |
4193 | rem.Anchored = true | |
4194 | rem.CanCollide = false | |
4195 | rem.FormFactor = 3 | |
4196 | rem.Name = "Ring" | |
4197 | rem.Material = "Neon" | |
4198 | rem.Size = Vector3.new(1, 1, 1) | |
4199 | rem.Transparency = 1 | |
4200 | rem.TopSurface = 0 | |
4201 | rem.BottomSurface = 0 | |
4202 | rem.CFrame = hite.CFrame | |
4203 | local rem2 = rem:Clone() | |
4204 | rem2.Parent = char | |
4205 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4206 | local rem3 = rem:Clone() | |
4207 | rem3.Parent = char | |
4208 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
4209 | local rem4 = rem:Clone() | |
4210 | rem4.Parent = char | |
4211 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
4212 | hite:Destroy() | |
4213 | coroutine.resume(coroutine.create(function() | |
4214 | for i = 0, 24 do | |
4215 | swait(1) | |
4216 | if randomrotations == 1 then | |
4217 | rot = rot + 1 | |
4218 | elseif randomrotations == 2 then | |
4219 | rot = rot - 1 | |
4220 | end | |
4221 | power = power + 0.5 | |
4222 | lookv = lookv + 7.5 | |
4223 | rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
4224 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4225 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
4226 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
4227 | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
4228 | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
4229 | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
4230 | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
4231 | end | |
4232 | end)) | |
4233 | attack = false | |
4234 | end | |
4235 | function yinyangi() | |
4236 | attack = true | |
4237 | for i = 0, 2, 0.1 do | |
4238 | swait() | |
4239 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2) | |
4240 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2) | |
4241 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2) | |
4242 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4243 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2) | |
4244 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
4245 | end | |
4246 | local bv = Instance.new("BodyVelocity") | |
4247 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4248 | bv.velocity = root.CFrame.lookVector*175 | |
4249 | bv.Parent = root | |
4250 | for Rotations = 0, 9 do | |
4251 | ||
4252 | for i = 0, 1, 0.5 do | |
4253 | swait() | |
4254 | bv.velocity = root.CFrame.lookVector*175 | |
4255 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
4256 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5) | |
4257 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5) | |
4258 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
4259 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
4260 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
4261 | end | |
4262 | ||
4263 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
4264 | for i = 0, 1, 0.5 do | |
4265 | swait() | |
4266 | bv.velocity = root.CFrame.lookVector*175 | |
4267 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
4268 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5) | |
4269 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5) | |
4270 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
4271 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
4272 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
4273 | end | |
4274 | ||
4275 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
4276 | for i = 0, 1, 0.5 do | |
4277 | swait() | |
4278 | bv.velocity = root.CFrame.lookVector*175 | |
4279 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
4280 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5) | |
4281 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5) | |
4282 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
4283 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
4284 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
4285 | end | |
4286 | ||
4287 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
4288 | for i = 0, 1, 0.5 do | |
4289 | swait() | |
4290 | bv.velocity = root.CFrame.lookVector*175 | |
4291 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
4292 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5) | |
4293 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5) | |
4294 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
4295 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
4296 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
4297 | end | |
4298 | ||
4299 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
4300 | end | |
4301 | bv:Destroy() | |
4302 | attack = false | |
4303 | end | |
4304 | ||
4305 | function JusticeBeam() | |
4306 | attack = true | |
4307 | ||
4308 | local rngb = Instance.new("Part", char) | |
4309 | rngb.Anchored = true | |
4310 | rngb.BrickColor = origcolor | |
4311 | rngb.CanCollide = false | |
4312 | rngb.FormFactor = 3 | |
4313 | rngb.Name = "Ring" | |
4314 | rngb.Material = "Neon" | |
4315 | rngb.Size = Vector3.new(1, 0.05, 1) | |
4316 | rngb.Transparency = 1 | |
4317 | rngb.TopSurface = 0 | |
4318 | rngb.BottomSurface = 0 | |
4319 | local rngmb = Instance.new("SpecialMesh", rngb) | |
4320 | rngmb.MeshType = "Brick" | |
4321 | rngmb.Name = "SizeMesh" | |
4322 | rngmb.Scale = vt(0,1,0) | |
4323 | ||
4324 | local orb = rngb:Clone() | |
4325 | orb.Parent = char | |
4326 | orb.Transparency = 0 | |
4327 | orb.BrickColor = BrickColor.new("White") | |
4328 | orb.Size = vt(1,1,1) | |
4329 | local orbmish = orb.SizeMesh | |
4330 | orbmish.Scale = vt(0,0,0) | |
4331 | orbmish.MeshType = "Sphere" | |
4332 | ||
4333 | local orbe = rngb:Clone() | |
4334 | orbe.Parent = char | |
4335 | orbe.Transparency = 0.5 | |
4336 | orbe.BrickColor = BrickColor.new("New Yeller") | |
4337 | orbe.Size = vt(1,1,1) | |
4338 | local orbmish2 = orbe.SizeMesh | |
4339 | orbmish2.Scale = vt(0,0,0) | |
4340 | orbmish2.MeshType = "Sphere" | |
4341 | orbe.Color = Color3.new(1,1,1) | |
4342 | ||
4343 | rngb:Destroy() | |
4344 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1) | |
4345 | local scaled = 1 | |
4346 | for i = 0,5,0.1 do | |
4347 | swait() | |
4348 | scaled = scaled - 0.02 | |
4349 | if rainbowmode == true then | |
4350 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4351 | end | |
4352 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
4353 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
4354 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4355 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4356 | sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25) | |
4357 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4358 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4359 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4360 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4361 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3) | |
4362 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3) | |
4363 | RootPart.CFrame = FaceMouse()[1] | |
4364 | end]]-- | |
4365 | for i = 0,5,0.1 do | |
4366 | swait() | |
4367 | if rainbowmode == true then | |
4368 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4369 | end | |
4370 | if glitchymode then | |
4371 | local val = math.random(1,255) | |
4372 | local color = Color3.fromRGB(val,val,val) | |
4373 | orbe.Color = color | |
4374 | end | |
4375 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4376 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4377 | 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) | |
4378 | 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) | |
4379 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
4380 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
4381 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1) | |
4382 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1) | |
4383 | end | |
4384 | orbe.Transparency = 1 | |
4385 | orb.Transparency = 1 | |
4386 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
4387 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1) | |
4388 | local a2 = Instance.new("Part",Character) | |
4389 | a2.Name = "Direction" | |
4390 | a2.Anchored = true | |
4391 | a2.BrickColor = bc("New Yeller") | |
4392 | a2.Color = Color3.new(1,1,1) | |
4393 | a2.Material = "Neon" | |
4394 | a2.Transparency = 0.5 | |
4395 | a2.Shape = "Cylinder" | |
4396 | a2.CanCollide = false | |
4397 | local ba = Instance.new("Part",Character) | |
4398 | ba.Name = "HitDirect" | |
4399 | ba.Anchored = true | |
4400 | ba.BrickColor = bc("Cool yellow") | |
4401 | ba.Material = "Neon" | |
4402 | ba.Transparency = 1 | |
4403 | ba.CanCollide = false | |
4404 | local ray = Ray.new( | |
4405 | orb.CFrame.p, -- origin | |
4406 | root.CFrame.lookVector.unit * 1000 -- direction | |
4407 | ) | |
4408 | local ignore = Character | |
4409 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4410 | a2.Transparency = .75 | |
4411 | a2.BottomSurface = 10 | |
4412 | a2.TopSurface = 10 | |
4413 | local distance = (orb.CFrame.p - position).magnitude | |
4414 | a2.Size = Vector3.new(distance, 1, 1) | |
4415 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4416 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4417 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4418 | game:GetService("Debris"):AddItem(a2, 20) | |
4419 | game:GetService("Debris"):AddItem(ba, 20) | |
4420 | local msh2 = Instance.new("SpecialMesh",a2) | |
4421 | msh2.MeshType = "Cylinder" | |
4422 | msh2.Scale = vt(1,6*5,6*5) | |
4423 | ||
4424 | local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1) | |
4425 | for i = 1, 80*2 do | |
4426 | 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) | |
4427 | 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) | |
4428 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
4429 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
4430 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1) | |
4431 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1) | |
4432 | swait() | |
4433 | CameraEnshaking(1,5) | |
4434 | a2.Color = Color3.new(1,1,1) | |
4435 | a2.Transparency = .25 | |
4436 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4437 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4438 | ray = Ray.new( | |
4439 | orb.CFrame.p, -- origin | |
4440 | root.CFrame.lookVector.unit * 1000 -- direction | |
4441 | ) | |
4442 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4443 | distance = (orb.CFrame.p - position).magnitude | |
4444 | if typrot == 1 then | |
4445 | rotation = rotation + 2.5 | |
4446 | elseif typrot == 2 then | |
4447 | rotation = rotation - 2.5 | |
4448 | end | |
4449 | a2.Size = Vector3.new(distance, 1, 1) | |
4450 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4451 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4452 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4453 | msh2.Scale = msh2.Scale - vt(0,.19,.19) | |
4454 | sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0) | |
4455 | sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0) | |
4456 | MagniDamage(ba, 30, 5,25, 0, "Normal") | |
4457 | end | |
4458 | a2:Destroy() | |
4459 | ba:Destroy() | |
4460 | orb:Destroy() | |
4461 | orbe:Destroy() | |
4462 | attack = false | |
4463 | end | |
4464 | ||
4465 | function Wip() | |
4466 | attack = true | |
4467 | ||
4468 | local rngb = Instance.new("Part", char) | |
4469 | rngb.Anchored = true | |
4470 | rngb.BrickColor = origcolor | |
4471 | rngb.CanCollide = false | |
4472 | rngb.FormFactor = 3 | |
4473 | rngb.Name = "Ring" | |
4474 | rngb.Material = "Neon" | |
4475 | rngb.Size = Vector3.new(1, 0.05, 1) | |
4476 | rngb.Transparency = 1 | |
4477 | rngb.TopSurface = 0 | |
4478 | rngb.BottomSurface = 0 | |
4479 | local rngmb = Instance.new("SpecialMesh", rngb) | |
4480 | rngmb.MeshType = "Brick" | |
4481 | rngmb.Name = "SizeMesh" | |
4482 | rngmb.Scale = vt(0,1,0) | |
4483 | ||
4484 | local orb = rngb:Clone() | |
4485 | orb.Parent = char | |
4486 | orb.Transparency = 0 | |
4487 | orb.BrickColor = BrickColor.new("White") | |
4488 | orb.Size = vt(1,1,1) | |
4489 | local orbmish = orb.SizeMesh | |
4490 | orbmish.Scale = vt(0,0,0) | |
4491 | orbmish.MeshType = "Sphere" | |
4492 | ||
4493 | local orbe = rngb:Clone() | |
4494 | orbe.Parent = char | |
4495 | orbe.Transparency = 0.5 | |
4496 | orbe.BrickColor = BrickColor.new("New Yeller") | |
4497 | orbe.Size = vt(1,1,1) | |
4498 | local orbmish2 = orbe.SizeMesh | |
4499 | orbmish2.Scale = vt(0,0,0) | |
4500 | orbmish2.MeshType = "Sphere" | |
4501 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4502 | ||
4503 | hum.AutoRotate = false | |
4504 | rngb:Destroy() | |
4505 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1) | |
4506 | local scaled = 1 | |
4507 | for i = 0,5,0.1 do | |
4508 | swait() | |
4509 | scaled = scaled - 0.02 | |
4510 | if rainbowmode == true then | |
4511 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4512 | end | |
4513 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
4514 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
4515 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4516 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4517 | sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25) | |
4518 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4519 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4520 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4521 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4522 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3) | |
4523 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3) | |
4524 | RootPart.CFrame = FaceMouse()[1] | |
4525 | end]]-- | |
4526 | for i = 0,5,0.1 do | |
4527 | swait() | |
4528 | if rainbowmode == true then | |
4529 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4530 | end | |
4531 | if glitchymode then | |
4532 | local val = math.random(1,255) | |
4533 | local color = Color3.fromRGB(val,val,val) | |
4534 | orbe.Color = color | |
4535 | end | |
4536 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4537 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4538 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4539 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4540 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4541 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4542 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3) | |
4543 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3) | |
4544 | RootPart.CFrame = FaceMouse()[1] | |
4545 | end | |
4546 | orbe.Transparency = 1 | |
4547 | orb.Transparency = 1 | |
4548 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
4549 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1) | |
4550 | local a = Instance.new("Part",Character) | |
4551 | a.Name = "Direction" | |
4552 | a.Anchored = true | |
4553 | a.BrickColor = bc("White") | |
4554 | a.Material = "Neon" | |
4555 | a.Transparency = 0 | |
4556 | a.Shape = "Cylinder" | |
4557 | a.CanCollide = false | |
4558 | local a2 = Instance.new("Part",Character) | |
4559 | a2.Name = "Direction" | |
4560 | a2.Anchored = true | |
4561 | a2.BrickColor = bc("New Yeller") | |
4562 | a2.Color = Color3.new(r/255,g/255,b/255) | |
4563 | a2.Material = "Neon" | |
4564 | a2.Transparency = 0.5 | |
4565 | a2.Shape = "Cylinder" | |
4566 | a2.CanCollide = false | |
4567 | local ba = Instance.new("Part",Character) | |
4568 | ba.Name = "HitDirect" | |
4569 | ba.Anchored = true | |
4570 | ba.BrickColor = bc("Cool yellow") | |
4571 | ba.Material = "Neon" | |
4572 | ba.Transparency = 1 | |
4573 | ba.CanCollide = false | |
4574 | local ray = Ray.new( | |
4575 | orb.CFrame.p, -- origin | |
4576 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4577 | ) | |
4578 | local ignore = Character | |
4579 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4580 | a.BottomSurface = 10 | |
4581 | a.TopSurface = 10 | |
4582 | a2.BottomSurface = 10 | |
4583 | a2.TopSurface = 10 | |
4584 | local distance = (orb.CFrame.p - position).magnitude | |
4585 | a.Size = Vector3.new(distance, 1, 1) | |
4586 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4587 | a2.Size = Vector3.new(distance, 1, 1) | |
4588 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4589 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4590 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4591 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4592 | game:GetService("Debris"):AddItem(a, 20) | |
4593 | game:GetService("Debris"):AddItem(a2, 20) | |
4594 | game:GetService("Debris"):AddItem(ba, 20) | |
4595 | local msh = Instance.new("SpecialMesh",a) | |
4596 | msh.MeshType = "Cylinder" | |
4597 | msh.Scale = vt(1,5*5,5*5) | |
4598 | local msh2 = Instance.new("SpecialMesh",a2) | |
4599 | msh2.MeshType = "Cylinder" | |
4600 | msh2.Scale = vt(1,6*5,6*5) | |
4601 | ||
4602 | for i = 0,10,0.1 do | |
4603 | swait() | |
4604 | CameraEnshaking(1,5) | |
4605 | a2.Color = Color3.new(r/255,g/255,b/255) | |
4606 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4607 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4608 | ray = Ray.new( | |
4609 | orb.CFrame.p, -- origin | |
4610 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4611 | ) | |
4612 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4613 | distance = (orb.CFrame.p - position).magnitude | |
4614 | if typrot == 1 then | |
4615 | rotation = rotation + 2.5 | |
4616 | elseif typrot == 2 then | |
4617 | rotation = rotation - 2.5 | |
4618 | end | |
4619 | RootPart.CFrame = FaceMouse()[1] | |
4620 | a.Size = Vector3.new(distance, 1, 1) | |
4621 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4622 | a2.Size = Vector3.new(distance, 1, 1) | |
4623 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4624 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4625 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4626 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4627 | msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5) | |
4628 | msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5) | |
4629 | sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0) | |
4630 | sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0) | |
4631 | MagniDamage(ba, 30, 5,25, 0, "Normal") | |
4632 | end | |
4633 | a:Destroy() | |
4634 | a2:Destroy() | |
4635 | ba:Destroy() | |
4636 | orb:Destroy() | |
4637 | orbe:Destroy() | |
4638 | hum.AutoRotate = true | |
4639 | attack = false | |
4640 | end | |
4641 | ||
4642 | ||
4643 | function UniversalSpark() | |
4644 | attack = true | |
4645 | ||
4646 | local rngb = Instance.new("Part", char) | |
4647 | rngb.Anchored = true | |
4648 | rngb.BrickColor = origcolor | |
4649 | rngb.CanCollide = false | |
4650 | rngb.FormFactor = 3 | |
4651 | rngb.Name = "Ring" | |
4652 | rngb.Material = "Neon" | |
4653 | rngb.Size = Vector3.new(1, 0.05, 1) | |
4654 | rngb.Transparency = 1 | |
4655 | rngb.TopSurface = 0 | |
4656 | rngb.BottomSurface = 0 | |
4657 | local rngmb = Instance.new("SpecialMesh", rngb) | |
4658 | rngmb.MeshType = "Brick" | |
4659 | rngmb.Name = "SizeMesh" | |
4660 | rngmb.Scale = vt(0,1,0) | |
4661 | ||
4662 | local orb = rngb:Clone() | |
4663 | orb.Parent = char | |
4664 | orb.Transparency = 0 | |
4665 | orb.BrickColor = BrickColor.new("White") | |
4666 | orb.Size = vt(1,1,1) | |
4667 | local orbmish = orb.SizeMesh | |
4668 | orbmish.Scale = vt(0,0,0) | |
4669 | orbmish.MeshType = "Sphere" | |
4670 | ||
4671 | local orbe = rngb:Clone() | |
4672 | orbe.Parent = char | |
4673 | orbe.Transparency = 0.5 | |
4674 | orbe.BrickColor = BrickColor.new("New Yeller") | |
4675 | orbe.Size = vt(1,1,1) | |
4676 | local orbmish2 = orbe.SizeMesh | |
4677 | orbmish2.Scale = vt(0,0,0) | |
4678 | orbmish2.MeshType = "Sphere" | |
4679 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4680 | ||
4681 | rngb:Destroy() | |
4682 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1) | |
4683 | local scaled = 1 | |
4684 | for i = 0,5,0.1 do | |
4685 | swait() | |
4686 | scaled = scaled - 0.02 | |
4687 | if rainbowmode == true then | |
4688 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4689 | end | |
4690 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
4691 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
4692 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4693 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4694 | sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25) | |
4695 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4696 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4697 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4698 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4699 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3) | |
4700 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3) | |
4701 | RootPart.CFrame = FaceMouse()[1] | |
4702 | end]]-- | |
4703 | for i = 0,5,0.1 do | |
4704 | swait() | |
4705 | if rainbowmode == true then | |
4706 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4707 | end | |
4708 | if glitchymode then | |
4709 | local val = math.random(1,255) | |
4710 | local color = Color3.fromRGB(val,val,val) | |
4711 | orbe.Color = color | |
4712 | end | |
4713 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4714 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4715 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4716 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4717 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4718 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4719 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3) | |
4720 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3) | |
4721 | RootPart.CFrame = FaceMouse()[1] | |
4722 | end | |
4723 | orbe.Transparency = 1 | |
4724 | orb.Transparency = 1 | |
4725 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
4726 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1) | |
4727 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1) | |
4728 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1) | |
4729 | ||
4730 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1) | |
4731 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1) | |
4732 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1) | |
4733 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1) | |
4734 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1) | |
4735 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85) | |
4736 | CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1) | |
4737 | local xd= Instance.new("Sound",char) | |
4738 | xd.SoundId = "rbxassetid://445796828" | |
4739 | xd.Pitch = 0.75 | |
4740 | xd.Looped = true | |
4741 | xd.Volume = 1.25 | |
4742 | xd:Play() | |
4743 | local a = Instance.new("Part",Character) | |
4744 | a.Name = "Direction" | |
4745 | a.Anchored = true | |
4746 | a.BrickColor = bc("Alder") | |
4747 | a.Color = MAINRUINCOLOR.Color | |
4748 | a.Material = "Neon" | |
4749 | a.Transparency = 0.5 | |
4750 | a.Shape = "Cylinder" | |
4751 | a.CanCollide = false | |
4752 | local a2 = Instance.new("Part",Character) | |
4753 | a2.Name = "Direction" | |
4754 | a2.Anchored = true | |
4755 | a2.BrickColor = bc("New Yeller") | |
4756 | a2.Color = MAINRUINCOLOR.Color | |
4757 | a2.Material = "Neon" | |
4758 | a2.Transparency = 0.5 | |
4759 | a2.Shape = "Cylinder" | |
4760 | a2.CanCollide = false | |
4761 | local ba = Instance.new("Part",Character) | |
4762 | ba.Name = "HitDirect" | |
4763 | ba.Anchored = true | |
4764 | ba.BrickColor = bc("Cool yellow") | |
4765 | ba.Material = "Neon" | |
4766 | ba.Transparency = 1 | |
4767 | ba.CanCollide = false | |
4768 | local ray = Ray.new( | |
4769 | orb.CFrame.p, -- origin | |
4770 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4771 | ) | |
4772 | local ignore = Character | |
4773 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4774 | a.BottomSurface = 10 | |
4775 | a.TopSurface = 10 | |
4776 | a2.BottomSurface = 10 | |
4777 | a2.TopSurface = 10 | |
4778 | local distance = (orb.CFrame.p - position).magnitude | |
4779 | a.Size = Vector3.new(distance, 1, 1) | |
4780 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4781 | a2.Size = Vector3.new(distance, 1, 1) | |
4782 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4783 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4784 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4785 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4786 | game:GetService("Debris"):AddItem(a, 60) | |
4787 | game:GetService("Debris"):AddItem(a2, 60) | |
4788 | game:GetService("Debris"):AddItem(ba, 60) | |
4789 | local outerscale = 0 | |
4790 | local msh = Instance.new("SpecialMesh",a) | |
4791 | msh.MeshType = "Cylinder" | |
4792 | msh.Scale = vt(1,0,0) | |
4793 | local msh2 = Instance.new("SpecialMesh",a2) | |
4794 | msh2.MeshType = "Cylinder" | |
4795 | msh2.Scale = vt(1,0,0) | |
4796 | for i = 0,2,0.1 do | |
4797 | swait() | |
4798 | CameraEnshaking(1,1) | |
4799 | msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20) | |
4800 | msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15) | |
4801 | outerscale = outerscale - 0.015 | |
4802 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4803 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4804 | ray = Ray.new( | |
4805 | orb.CFrame.p, -- origin | |
4806 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4807 | ) | |
4808 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4809 | distance = (orb.CFrame.p - position).magnitude | |
4810 | if typrot == 1 then | |
4811 | rotation = rotation + 2.5 | |
4812 | elseif typrot == 2 then | |
4813 | rotation = rotation - 2.5 | |
4814 | end | |
4815 | RootPart.CFrame = FaceMouse()[1] | |
4816 | a.Size = Vector3.new(distance, 1, 1) | |
4817 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4818 | a2.Size = Vector3.new(distance, 1, 1) | |
4819 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4820 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4821 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4822 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4823 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4824 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4825 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
4826 | end | |
4827 | for z = 0, 2 do | |
4828 | for i = 0,4,0.1 do | |
4829 | swait() | |
4830 | CameraEnshaking(1,1) | |
4831 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
4832 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
4833 | outerscale = outerscale + 0.015 | |
4834 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4835 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4836 | ray = Ray.new( | |
4837 | orb.CFrame.p, -- origin | |
4838 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4839 | ) | |
4840 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4841 | distance = (orb.CFrame.p - position).magnitude | |
4842 | if typrot == 1 then | |
4843 | rotation = rotation + 2.5 | |
4844 | elseif typrot == 2 then | |
4845 | rotation = rotation - 2.5 | |
4846 | end | |
4847 | RootPart.CFrame = FaceMouse()[1] | |
4848 | a.Size = Vector3.new(distance, 1, 1) | |
4849 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4850 | a2.Size = Vector3.new(distance, 1, 1) | |
4851 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4852 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4853 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4854 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4855 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4856 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4857 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
4858 | end | |
4859 | for i = 0,4,0.1 do | |
4860 | swait() | |
4861 | CameraEnshaking(1,1) | |
4862 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
4863 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
4864 | outerscale = outerscale - 0.015 | |
4865 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4866 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4867 | ray = Ray.new( | |
4868 | orb.CFrame.p, -- origin | |
4869 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4870 | ) | |
4871 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4872 | distance = (orb.CFrame.p - position).magnitude | |
4873 | if typrot == 1 then | |
4874 | rotation = rotation + 2.5 | |
4875 | elseif typrot == 2 then | |
4876 | rotation = rotation - 2.5 | |
4877 | end | |
4878 | RootPart.CFrame = FaceMouse()[1] | |
4879 | a.Size = Vector3.new(distance, 1, 1) | |
4880 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4881 | a2.Size = Vector3.new(distance, 1, 1) | |
4882 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4883 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4884 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4885 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4886 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4887 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4888 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
4889 | end | |
4890 | end | |
4891 | for i = 0,4,0.1 do | |
4892 | swait() | |
4893 | CameraEnshaking(1,1) | |
4894 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
4895 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
4896 | xd.Volume = xd.Volume - 0.025 | |
4897 | a.Transparency = a.Transparency + 0.025 | |
4898 | a2.Transparency = a2.Transparency + 0.025 | |
4899 | outerscale = outerscale - 0.015 | |
4900 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4901 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4902 | ray = Ray.new( | |
4903 | orb.CFrame.p, -- origin | |
4904 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4905 | ) | |
4906 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4907 | distance = (orb.CFrame.p - position).magnitude | |
4908 | if typrot == 1 then | |
4909 | rotation = rotation + 2.5 | |
4910 | elseif typrot == 2 then | |
4911 | rotation = rotation - 2.5 | |
4912 | end | |
4913 | RootPart.CFrame = FaceMouse()[1] | |
4914 | a.Size = Vector3.new(distance, 1, 1) | |
4915 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4916 | a2.Size = Vector3.new(distance, 1, 1) | |
4917 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4918 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4919 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4920 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4921 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4922 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4923 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
4924 | end | |
4925 | xd:Destroy() | |
4926 | a:Destroy() | |
4927 | a2:Destroy() | |
4928 | ba:Destroy() | |
4929 | orb:Destroy() | |
4930 | orbe:Destroy() | |
4931 | attack = false | |
4932 | end | |
4933 | ||
4934 | ||
4935 | ||
4936 | function attackone() | |
4937 | attack = true | |
4938 | for i = 0,1,0.1 do | |
4939 | swait() | |
4940 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2) | |
4941 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2) | |
4942 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
4943 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
4944 | 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) | |
4945 | 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) | |
4946 | end | |
4947 | CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1) | |
4948 | ||
4949 | local hitb = Instance.new("Part", char) | |
4950 | hitb.Anchored = true | |
4951 | hitb.CanCollide = false | |
4952 | hitb.FormFactor = 3 | |
4953 | hitb.Name = "Ring" | |
4954 | hitb.Material = "Neon" | |
4955 | hitb.Size = Vector3.new(1, 1, 1) | |
4956 | hitb.Transparency = 1 | |
4957 | hitb.TopSurface = 0 | |
4958 | hitb.BottomSurface = 0 | |
4959 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
4960 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
4961 | hitb:Destroy() | |
4962 | for i = 0,1,0.1 do | |
4963 | swait() | |
4964 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4) | |
4965 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4) | |
4966 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4) | |
4967 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4) | |
4968 | 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) | |
4969 | 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) | |
4970 | end | |
4971 | ||
4972 | attack = false | |
4973 | end | |
4974 | ||
4975 | function attacktwo() | |
4976 | attack = true | |
4977 | for i = 0,1,0.1 do | |
4978 | swait() | |
4979 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2) | |
4980 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2) | |
4981 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
4982 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
4983 | 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) | |
4984 | 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) | |
4985 | end | |
4986 | CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1) | |
4987 | local hitb = Instance.new("Part", char) | |
4988 | hitb.Anchored = true | |
4989 | hitb.CanCollide = false | |
4990 | hitb.FormFactor = 3 | |
4991 | hitb.Name = "Ring" | |
4992 | hitb.Material = "Neon" | |
4993 | hitb.Size = Vector3.new(1, 1, 1) | |
4994 | hitb.Transparency = 1 | |
4995 | hitb.TopSurface = 0 | |
4996 | hitb.BottomSurface = 0 | |
4997 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
4998 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
4999 | hitb:Destroy() | |
5000 | for i = 0,1,0.1 do | |
5001 | swait() | |
5002 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4) | |
5003 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4) | |
5004 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4) | |
5005 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4) | |
5006 | 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) | |
5007 | 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) | |
5008 | end | |
5009 | attack = false | |
5010 | end | |
5011 | ||
5012 | function attackthree() | |
5013 | attack = true | |
5014 | for i = 0,1,0.1 do | |
5015 | swait() | |
5016 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3) | |
5017 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3) | |
5018 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3) | |
5019 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
5020 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3) | |
5021 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3) | |
5022 | end | |
5023 | local distlook = 5 | |
5024 | for i = 0, 4 do | |
5025 | swait(2) | |
5026 | CameraEnshaking(2,3) | |
5027 | local hite = Instance.new("Part", char) | |
5028 | hite.Anchored = true | |
5029 | hite.CanCollide = false | |
5030 | hite.FormFactor = 3 | |
5031 | hite.Name = "Ring" | |
5032 | hite.Material = "Neon" | |
5033 | hite.Size = Vector3.new(1, 1, 1) | |
5034 | hite.Transparency = 1 | |
5035 | hite.TopSurface = 0 | |
5036 | hite.BottomSurface = 0 | |
5037 | hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook | |
5038 | sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR) | |
5039 | sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR) | |
5040 | MagniDamage(hite, 10, 15,35, 0, "Normal") | |
5041 | for i = 0, 2 do | |
5042 | sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0) | |
5043 | sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0) | |
5044 | sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0) | |
5045 | end | |
5046 | CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1) | |
5047 | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6) | |
5048 | game:GetService("Debris"):AddItem(hite, 5) | |
5049 | distlook = distlook + 10 | |
5050 | end | |
5051 | attack = false | |
5052 | end | |
5053 | ||
5054 | function FinalCalamity() | |
5055 | end | |
5056 | ||
5057 | function resetmode() | |
5058 | rainbowmode = false | |
5059 | chaosmode = false | |
5060 | glitchymode = false | |
5061 | tl1.Enabled = false | |
5062 | tl2.Enabled = false | |
5063 | tl3.Enabled = false | |
5064 | local lust = ModeOfGlitch == 69 | |
5065 | ModeOfGlitch = 1 | |
5066 | storehumanoidWS = 16 | |
5067 | if(not lust)then | |
5068 | newTheme("rbxassetid://1564523997",48.6,1,1) | |
5069 | end | |
5070 | coroutine.resume(coroutine.create(function() | |
5071 | attack = true | |
5072 | hum.WalkSpeed = 0 | |
5073 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25) | |
5074 | for i = 0,4,0.1 do | |
5075 | swait() | |
5076 | 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) | |
5077 | 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) | |
5078 | 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) | |
5079 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
5080 | 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) | |
5081 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5082 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5083 | end | |
5084 | if(lust)then | |
5085 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5086 | sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Pink',true,true) | |
5087 | for i = 0, 49 do | |
5088 | PixelBlock(1,15,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*cf(0,0,-80),6,6,6,0.12,BrickColor.new("Pink"),0,true,true) | |
5089 | end | |
5090 | ||
5091 | for i = 0,4,0.05 do | |
5092 | swait() | |
5093 | Pitch = 1-i/4 | |
5094 | 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) | |
5095 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2) | |
5096 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2) | |
5097 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
5098 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2) | |
5099 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5100 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5101 | end | |
5102 | for i = 0,3,0.1 do | |
5103 | swait() | |
5104 | 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) | |
5105 | 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) | |
5106 | 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) | |
5107 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
5108 | 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) | |
5109 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5110 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5111 | end | |
5112 | newTheme("rbxassetid://1564523997",48.6,1,1) | |
5113 | end | |
5114 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1) | |
5115 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5116 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1) | |
5117 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75) | |
5118 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end) | |
5119 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end) | |
5120 | RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1)) | |
5121 | CameraEnshaking(5,2.5) | |
5122 | MAINRUINCOLOR = BrickColor.new("Really black") | |
5123 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5124 | for i = 0, 49 do | |
5125 | 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) | |
5126 | end | |
5127 | for i = 0,3,0.1 do | |
5128 | 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) | |
5129 | end | |
5130 | for i, v in pairs(mw2:GetChildren()) do | |
5131 | if v:IsA("Part") then | |
5132 | v.BrickColor = BrickColor.new("Really black") | |
5133 | v.Material = "Neon" | |
5134 | end | |
5135 | end | |
5136 | for i, v in pairs(mw1:GetChildren()) do | |
5137 | if v:IsA("Part") then | |
5138 | v.Transparency = 1 | |
5139 | v.BrickColor = BrickColor.new("Really black") | |
5140 | v.Material = "Neon" | |
5141 | end | |
5142 | end | |
5143 | for i, v in pairs(m:GetChildren()) do | |
5144 | if v:IsA("Part") then | |
5145 | v.BrickColor = BrickColor.new("Really black") | |
5146 | v.Material = "Glass" | |
5147 | end | |
5148 | end | |
5149 | for i, v in pairs(m2:GetChildren()) do | |
5150 | if v:IsA("Part") then | |
5151 | v.BrickColor = BrickColor.new("Dark stone grey") | |
5152 | v.Material = "Granite" | |
5153 | end | |
5154 | end | |
5155 | for i, v in pairs(m3:GetChildren()) do | |
5156 | if v:IsA("Part") then | |
5157 | v.BrickColor = BrickColor.new("Really black") | |
5158 | v.Material = "Neon" | |
5159 | end | |
5160 | end | |
5161 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5162 | if v:IsA("Part") then | |
5163 | v.Transparency = 1 | |
5164 | v.BrickColor = BrickColor.new("White") | |
5165 | v.Material = "Neon" | |
5166 | end | |
5167 | end | |
5168 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5169 | if v:IsA("Part") then | |
5170 | v.Transparency = 1 | |
5171 | v.BrickColor = BrickColor.new("White") | |
5172 | v.Material = "Neon" | |
5173 | end | |
5174 | end | |
5175 | for i = 0,2,0.1 do | |
5176 | swait() | |
5177 | 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) | |
5178 | 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) | |
5179 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2) | |
5180 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2) | |
5181 | RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2) | |
5182 | LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2) | |
5183 | end | |
5184 | hum.WalkSpeed = storehumanoidWS | |
5185 | attack = false | |
5186 | end)) | |
5187 | end | |
5188 | ||
5189 | function lustmode() | |
5190 | ||
5191 | ModeOfGlitch = 69 | |
5192 | storehumanoidWS = 16 | |
5193 | rainbowmode = false | |
5194 | chaosmode = false | |
5195 | glitchymode = false | |
5196 | tl1.Enabled = false | |
5197 | tl2.Enabled = false | |
5198 | tl3.Enabled = false | |
5199 | newTheme("rbxassetid://1203355187",0,1,1) | |
5200 | coroutine.wrap(function() | |
5201 | attack = true | |
5202 | hum.WalkSpeed = 0 | |
5203 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25) | |
5204 | for i = 0,4,0.1 do | |
5205 | swait() | |
5206 | 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) | |
5207 | 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) | |
5208 | 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) | |
5209 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
5210 | 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) | |
5211 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5212 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5213 | end | |
5214 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5215 | sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Pink',true) | |
5216 | ||
5217 | for i = 0,4,0.1 do | |
5218 | swait() | |
5219 | 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) | |
5220 | 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) | |
5221 | 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) | |
5222 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
5223 | 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) | |
5224 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5225 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5226 | end | |
5227 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1) | |
5228 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5229 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1) | |
5230 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75) | |
5231 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Pink' end) | |
5232 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Pink' end) | |
5233 | CameraEnshaking(5,2.5) | |
5234 | MAINRUINCOLOR = BrickColor.new("Pink") | |
5235 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5236 | for i = 0, 49 do | |
5237 | PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0,true) | |
5238 | end | |
5239 | for i = 0,3,0.1 do | |
5240 | sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0,true) | |
5241 | end | |
5242 | RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new'Pink'.Color) | |
5243 | for i, v in pairs(mw2:GetChildren()) do | |
5244 | if v:IsA("Part") then | |
5245 | v.BrickColor = MAINRUINCOLOR | |
5246 | v.Material = "Neon" | |
5247 | end | |
5248 | end | |
5249 | for i, v in pairs(mw1:GetChildren()) do | |
5250 | if v:IsA("Part") then | |
5251 | v.Transparency = 1 | |
5252 | v.BrickColor = MAINRUINCOLOR | |
5253 | v.Material = "Neon" | |
5254 | end | |
5255 | end | |
5256 | for i, v in pairs(m:GetChildren()) do | |
5257 | if v:IsA("Part") then | |
5258 | v.BrickColor = BrickColor.new("Pink") | |
5259 | v.Material = "Ice" | |
5260 | end | |
5261 | end | |
5262 | for i, v in pairs(m2:GetChildren()) do | |
5263 | if v:IsA("Part") then | |
5264 | v.BrickColor = BrickColor.new("Pink") | |
5265 | v.Material = "Glass" | |
5266 | end | |
5267 | end | |
5268 | for i, v in pairs(m3:GetChildren()) do | |
5269 | if v:IsA("Part") then | |
5270 | v.BrickColor = BrickColor.new("Pink") | |
5271 | v.Material = "Neon" | |
5272 | end | |
5273 | end | |
5274 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5275 | if v:IsA("Part") then | |
5276 | v.Transparency = 1 | |
5277 | v.BrickColor = BrickColor.new("Pink") | |
5278 | v.Material = "Neon" | |
5279 | end | |
5280 | end | |
5281 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5282 | if v:IsA("Part") then | |
5283 | v.Transparency = 1 | |
5284 | v.BrickColor = BrickColor.new("Pink") | |
5285 | v.Material = "Neon" | |
5286 | end | |
5287 | end | |
5288 | for i = 0,2,0.1 do | |
5289 | swait() | |
5290 | 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) | |
5291 | 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) | |
5292 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2) | |
5293 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2) | |
5294 | RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2) | |
5295 | LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2) | |
5296 | end | |
5297 | hum.WalkSpeed = storehumanoidWS | |
5298 | attack = false | |
5299 | end)() | |
5300 | end | |
5301 | ||
5302 | function insanitymode() | |
5303 | storehumanoidWS = 16 | |
5304 | hum.WalkSpeed = 0 | |
5305 | rainbowmode = false | |
5306 | glitchymode = false | |
5307 | chaosmode = true | |
5308 | tl1.Enabled = true | |
5309 | tl2.Enabled = true | |
5310 | tl3.Enabled = true | |
5311 | local lust = ModeOfGlitch == 69 | |
5312 | newTheme("rbxassetid://919231299",0,1,1) | |
5313 | coroutine.resume(coroutine.create(function() | |
5314 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5315 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5316 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5317 | attack = true | |
5318 | hum.WalkSpeed = 0 | |
5319 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25) | |
5320 | for i = 0,4,0.1 do | |
5321 | swait() | |
5322 | 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) | |
5323 | 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) | |
5324 | 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) | |
5325 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
5326 | 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) | |
5327 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5328 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5329 | end | |
5330 | for i = 0,8,0.1 do | |
5331 | swait() | |
5332 | 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) | |
5333 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,.035,MAINRUINCOLOR,0) | |
5334 | 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) | |
5335 | 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) | |
5336 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
5337 | 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) | |
5338 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5339 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5340 | end | |
5341 | ||
5342 | for i = 0,3,0.1 do | |
5343 | swait() | |
5344 | 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) | |
5345 | 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) | |
5346 | 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) | |
5347 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2) | |
5348 | 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) | |
5349 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) | |
5350 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) | |
5351 | end | |
5352 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1) | |
5353 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5354 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1) | |
5355 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75) | |
5356 | CameraEnshaking(5,2.5) | |
5357 | MAINRUINCOLOR = BrickColor.new("Black") | |
5358 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5359 | for i = 0, 49 do | |
5360 | 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) | |
5361 | end | |
5362 | for i = 0,3,0.1 do | |
5363 | 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) | |
5364 | end | |
5365 | ModeOfGlitch = 666666 | |
5366 | for i, v in pairs(mw2:GetChildren()) do | |
5367 | if v:IsA("Part") then | |
5368 | v.BrickColor = MAINRUINCOLOR | |
5369 | v.Material = "Neon" | |
5370 | end | |
5371 | end | |
5372 | for i, v in pairs(mw1:GetChildren()) do | |
5373 | if v:IsA("Part") then | |
5374 | v.Transparency = 0.75 | |
5375 | v.BrickColor = BrickColor.random() | |
5376 | v.Material = "Neon" | |
5377 | end | |
5378 | end | |
5379 | for i, v in pairs(m:GetChildren()) do | |
5380 | if v:IsA("Part") then | |
5381 | v.BrickColor = BrickColor.new("Black") | |
5382 | v.Material = "Neon" | |
5383 | end | |
5384 | end | |
5385 | for i, v in pairs(m2:GetChildren()) do | |
5386 | if v:IsA("Part") then | |
5387 | v.BrickColor = BrickColor.random() | |
5388 | v.Material = "Neon" | |
5389 | end | |
5390 | end | |
5391 | for i, v in pairs(m3:GetChildren()) do | |
5392 | if v:IsA("Part") then | |
5393 | v.BrickColor = BrickColor.new("Black") | |
5394 | v.Material = "Neon" | |
5395 | end | |
5396 | end | |
5397 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5398 | if v:IsA("Part") then | |
5399 | v.Transparency = .75 | |
5400 | v.BrickColor = BrickColor.Random() | |
5401 | v.Material = "Neon" | |
5402 | end | |
5403 | end | |
5404 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5405 | if v:IsA("Part") then | |
5406 | v.Transparency = 0 | |
5407 | v.BrickColor = BrickColor.new("Black") | |
5408 | v.Material = "Neon" | |
5409 | end | |
5410 | end | |
5411 | for i = 0,2,0.1 do | |
5412 | swait() | |
5413 | 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) | |
5414 | 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) | |
5415 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2) | |
5416 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 10 * math.cos(sine / 0.2))),.2) | |
5417 | RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2) | |
5418 | LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2) | |
5419 | end | |
5420 | hum.WalkSpeed = storehumanoidWS | |
5421 | attack = false | |
5422 | end)) | |
5423 | end | |
5424 | ||
5425 | local attacktype = 1 | |
5426 | mouse.Button1Down:connect(function() | |
5427 | if attack == false and attacktype == 1 then | |
5428 | attacktype = 2 | |
5429 | attackone() | |
5430 | elseif attack == false and attacktype == 2 then | |
5431 | attacktype = 3 | |
5432 | attacktwo() | |
5433 | elseif attack == false and attacktype == 3 then | |
5434 | attacktype = 1 | |
5435 | attackthree() | |
5436 | elseif attack == false and attacktype == 4 then | |
5437 | attacktype = 1 | |
5438 | --attackfour() | |
5439 | end | |
5440 | end) | |
5441 | ||
5442 | function Judgement() | |
5443 | attack = true | |
5444 | hum.WalkSpeed = 0 | |
5445 | local p = Instance.new("Part",root) | |
5446 | p.Anchored = true | |
5447 | p.CanCollide = false | |
5448 | p.BrickColor = MAINRUINCOLOR | |
5449 | p.Material = Enum.Material.Neon | |
5450 | p.Size = Vector3.new(1,1,1) | |
5451 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
5452 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
5453 | local m = Instance.new("SpecialMesh",p) | |
5454 | m.MeshType = "Cylinder" | |
5455 | m.Scale = Vector3.new(2000,2,2) | |
5456 | local targ = Instance.new("Part",root) | |
5457 | targ.Transparency = 1 | |
5458 | targ.CanCollide = false | |
5459 | targ.Size = Vector3.new(1,1,1) | |
5460 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
5461 | CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1) | |
5462 | CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1) | |
5463 | for i = 1,15 do | |
5464 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
5465 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2) | |
5466 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2) | |
5467 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2) | |
5468 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2) | |
5469 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-20)),.2) | |
5470 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(20)),.2) | |
5471 | sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR) | |
5472 | sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0) | |
5473 | m.Scale = m.Scale+Vector3.new(0,1,1) | |
5474 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
5475 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
5476 | swait() | |
5477 | end | |
5478 | sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0) | |
5479 | for i = 1,200 do | |
5480 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
5481 | sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0) | |
5482 | sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR) | |
5483 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
5484 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
5485 | MagniDamage(targ, 25, 5, 8, 0, "Normal") | |
5486 | swait() | |
5487 | end | |
5488 | for i =1,15 do | |
5489 | m.Scale = m.Scale-Vector3.new(1,1,1) | |
5490 | p.Transparency = i / 15 | |
5491 | swait() | |
5492 | end | |
5493 | p:Destroy() | |
5494 | hum.WalkSpeed = storehumanoidWS | |
5495 | attack = false | |
5496 | end | |
5497 | ||
5498 | local ODerDB = false | |
5499 | function ChooseODer() | |
5500 | if(not ODerDB)then | |
5501 | coroutine.wrap(function() | |
5502 | ||
5503 | local allowOD = true | |
5504 | local whom = (mouse.Target and mouse.Target.Parent) | |
5505 | if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then | |
5506 | ODerDB = true | |
5507 | for _,v in next, ODers do | |
5508 | if(v == whom)then | |
5509 | print'nO OD SELF' | |
5510 | allowOD = false | |
5511 | end | |
5512 | end | |
5513 | if(allowOD)then | |
5514 | local ref=CFuncs.Part.Create(m,Enum.Material.Neon,0,.4,(whom.Name == 'Nebula_Zorua' and 'Royal purple' or MAINRUINCOLOR),"ref",Vector3.new(0.05,0.05,0.05)) | |
5515 | local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14)) | |
5516 | ||
5517 | ref.CFrame = Torso.CFrame | |
5518 | ref.Anchored = true | |
5519 | local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15)) | |
5520 | local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15)) | |
5521 | local MPos = whom.Head.CFrame*cf(0,4,0) | |
5522 | for i = 0, 1, .05 do | |
5523 | swait() | |
5524 | ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i) | |
5525 | ||
5526 | sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true) | |
5527 | if whom:FindFirstChild'Head' == nil then | |
5528 | break | |
5529 | end | |
5530 | end | |
5531 | ref:destroy() | |
5532 | if whom:FindFirstChild'Head' then | |
5533 | table.insert(ODers,whom) | |
5534 | if(#ODers > 2)then | |
5535 | table.remove(ODers,1) | |
5536 | end | |
5537 | sphere(1.5,"Add",whom.Head.CFrame * cf(0,4,0),vt(6,6,3),.15,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true) | |
5538 | end | |
5539 | end | |
5540 | ODerDB = false | |
5541 | end | |
5542 | end)() | |
5543 | end | |
5544 | end | |
5545 | ||
5546 | function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY | |
5547 | attack = true | |
5548 | hum.WalkSpeed = 0 | |
5549 | storehumanoidWS = 75 | |
5550 | hum.JumpPower = 0 | |
5551 | newThemeCust("rbxassetid://1420353940",0,1,1) | |
5552 | kan.TimePosition = 0 | |
5553 | ModeOfGlitch = 8376532578634534 | |
5554 | repeat swait() until kan.IsLoaded | |
5555 | chatfunc("Riddle me this..",text.TextStrokeColor3) | |
5556 | for i = 0, 14, .1 do | |
5557 | swait() | |
5558 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
5559 | LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
5560 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
5561 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1) | |
5562 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
5563 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
5564 | end | |
5565 | chatfunc("Riddle me that..",text.TextStrokeColor3) | |
5566 | for i = 0, 12, .1 do | |
5567 | swait() | |
5568 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
5569 | LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
5570 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
5571 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1) | |
5572 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
5573 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
5574 | end | |
5575 | chatfunc("Who's afraid of the big black..",Color3.new(1,1,1)) | |
5576 | for i = 0, 16, .1 do | |
5577 | swait() | |
5578 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
5579 | LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
5580 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
5581 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1) | |
5582 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
5583 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
5584 | end | |
5585 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1) | |
5586 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
5587 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1) | |
5588 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75) | |
5589 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end) | |
5590 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end) | |
5591 | RecolorTextAndRename("The Big Black",Color3.new(0,0,0),Color3.new(1,1,1)) | |
5592 | CameraEnshaking(5,2.5) | |
5593 | MAINRUINCOLOR = BrickColor.new("Really black") | |
5594 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5595 | tl1.Enabled = true | |
5596 | tl2.Enabled = true | |
5597 | tl3.Enabled = true | |
5598 | for i = 0, 49 do | |
5599 | 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) | |
5600 | end | |
5601 | for i = 0,3,0.1 do | |
5602 | 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) | |
5603 | end | |
5604 | for i, v in pairs(mw2:GetChildren()) do | |
5605 | if v:IsA("Part") then | |
5606 | v.BrickColor = BrickColor.new("Really black") | |
5607 | v.Material = "Glass" | |
5608 | end | |
5609 | end | |
5610 | for i, v in pairs(mw1:GetChildren()) do | |
5611 | if v:IsA("Part") then | |
5612 | v.Transparency = 0 | |
5613 | v.BrickColor = BrickColor.new("Really black") | |
5614 | v.Material = "Glass" | |
5615 | end | |
5616 | end | |
5617 | for i, v in pairs(m:GetChildren()) do | |
5618 | if v:IsA("Part") then | |
5619 | v.BrickColor = BrickColor.new("Really black") | |
5620 | v.Material = "Glass" | |
5621 | end | |
5622 | end | |
5623 | for i, v in pairs(m2:GetChildren()) do | |
5624 | if v:IsA("Part") then | |
5625 | v.BrickColor = BrickColor.new("Dark stone grey") | |
5626 | v.Material = "Granite" | |
5627 | end | |
5628 | end | |
5629 | for i, v in pairs(m3:GetChildren()) do | |
5630 | if v:IsA("Part") then | |
5631 | v.BrickColor = BrickColor.new("Really black") | |
5632 | v.Material = "Glass" | |
5633 | end | |
5634 | end | |
5635 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5636 | if v:IsA("Part") then | |
5637 | v.Transparency = 0 | |
5638 | v.BrickColor = BrickColor.new("Dark stone grey") | |
5639 | v.Material = "Glass" | |
5640 | end | |
5641 | end | |
5642 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5643 | if v:IsA("Part") then | |
5644 | v.Transparency = 0 | |
5645 | v.BrickColor = BrickColor.new("Dark stone grey") | |
5646 | v.Material = "Glass" | |
5647 | end | |
5648 | end | |
5649 | for i = 0,2,0.1 do | |
5650 | swait() | |
5651 | 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) | |
5652 | 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) | |
5653 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2) | |
5654 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2) | |
5655 | RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2) | |
5656 | LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2) | |
5657 | end | |
5658 | hum.JumpPower = 50 | |
5659 | hum.WalkSpeed = storehumanoidWS | |
5660 | attack = false | |
5661 | end | |
5662 | ||
5663 | function FuckMeSidewaysAndCallMeGay() | |
5664 | local whom = (mouse.Target and mouse.Target.Parent) | |
5665 | --[[local fuckThisBoi = false | |
5666 | if(whom and whom:FindFirstChildOfClass'Humanoid')then | |
5667 | for _,v in next, ODers do | |
5668 | if(v == whom)then | |
5669 | fuckThisBoi = false | |
5670 | end | |
5671 | end | |
5672 | end | |
5673 | if(not fuckThisBoi)then | |
5674 | attack = false | |
5675 | warn'to fuck that boi you need to target them with z' | |
5676 | else]] | |
5677 | if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then | |
5678 | local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' | |
5679 | local hum = whom:FindFirstChildOfClass'Humanoid' | |
5680 | local ocf = RootPart.CFrame | |
5681 | hum.WalkSpeed = 0 | |
5682 | hum.JumpPower = 0 | |
5683 | hed.Anchored = true | |
5684 | RootPart.Anchored = true | |
5685 | Humanoid.WalkSpeed = 0 | |
5686 | Humanoid.JumpPower = 0 | |
5687 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5688 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
5689 | for i = 0, 9 do | |
5690 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Pink"),0) | |
5691 | end | |
5692 | for i = 0, 24 do | |
5693 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0) | |
5694 | end | |
5695 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink")) | |
5696 | attack = true | |
5697 | local speed = 1 | |
5698 | local heck; | |
5699 | local stopitlol = false; | |
5700 | heck = mouse.KeyUp:connect(function(k) | |
5701 | if(k:lower() == 'm')then | |
5702 | stopitlol = true | |
5703 | heck:disconnect() | |
5704 | end | |
5705 | end) | |
5706 | local times = 0 | |
5707 | repeat swait() | |
5708 | speed = speed - .01 | |
5709 | times = times + 1 | |
5710 | if(speed < .1)then | |
5711 | speed = 0 | |
5712 | end | |
5713 | for i = 0, speed, .05 do | |
5714 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5715 | swait() | |
5716 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4) | |
5717 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
5718 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4) | |
5719 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
5720 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
5721 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
5722 | end | |
5723 | CameraEnshaking(5,5) | |
5724 | ||
5725 | CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1) | |
5726 | ||
5727 | for i = 0, speed, .05 do | |
5728 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5729 | swait() | |
5730 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4) | |
5731 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
5732 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4) | |
5733 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
5734 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5735 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5736 | end | |
5737 | until stopitlol and times >= 3 | |
5738 | for i = 1, 3 do | |
5739 | for i = 0, 1.5, .05 do | |
5740 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5741 | swait() | |
5742 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4) | |
5743 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
5744 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4) | |
5745 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
5746 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
5747 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4) | |
5748 | end | |
5749 | CameraEnshaking(5,25) | |
5750 | ||
5751 | CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75) | |
5752 | ||
5753 | ||
5754 | coroutine.resume(coroutine.create(function() | |
5755 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso")) | |
5756 | bld.LightEmission = 0.1 | |
5757 | bld.Texture = "rbxassetid://284205403" | |
5758 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
5759 | bld.Rate = 500 | |
5760 | bld.Lifetime = NumberRange.new(1) | |
5761 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5762 | bld.Acceleration = vt(0,-25,0) | |
5763 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5764 | bld.Speed = NumberRange.new(10,50) | |
5765 | bld.EmissionDirection = "Back" | |
5766 | bld.VelocitySpread = 25 | |
5767 | bld.Rotation = NumberRange.new(-500,500) | |
5768 | bld.RotSpeed = NumberRange.new(-500,500) | |
5769 | bld.Enabled = false | |
5770 | bld:Emit(250) | |
5771 | end)) | |
5772 | coroutine.resume(coroutine.create(function() | |
5773 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso")) | |
5774 | bld.LightEmission = 0.1 | |
5775 | bld.Texture = "rbxassetid://284205403" | |
5776 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
5777 | bld.Rate = 500 | |
5778 | bld.Lifetime = NumberRange.new(1) | |
5779 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5780 | bld.Acceleration = vt(0,-25,0) | |
5781 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5782 | bld.Speed = NumberRange.new(10,50) | |
5783 | bld.EmissionDirection = "Back" | |
5784 | bld.VelocitySpread = 25 | |
5785 | bld.Rotation = NumberRange.new(-500,500) | |
5786 | bld.RotSpeed = NumberRange.new(-500,500) | |
5787 | bld.Enabled = false | |
5788 | bld:Emit(250) | |
5789 | end)) | |
5790 | for i = 0, 1.5, .05 do | |
5791 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5792 | swait() | |
5793 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4) | |
5794 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
5795 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4) | |
5796 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
5797 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5798 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5799 | end | |
5800 | end | |
5801 | for i = 0, 4, .05 do | |
5802 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5803 | swait() | |
5804 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1) | |
5805 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
5806 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1) | |
5807 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1) | |
5808 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1) | |
5809 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1) | |
5810 | end | |
5811 | CameraEnshaking(5,25) | |
5812 | CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1) | |
5813 | CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75) | |
5814 | ||
5815 | dmg(whom) | |
5816 | coroutine.resume(coroutine.create(function() | |
5817 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso")) | |
5818 | bld.LightEmission = 0.1 | |
5819 | bld.Texture = "rbxassetid://284205403" | |
5820 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
5821 | bld.Rate = 500 | |
5822 | bld.Lifetime = NumberRange.new(1) | |
5823 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5824 | bld.Acceleration = vt(0,-25,0) | |
5825 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5826 | bld.Speed = NumberRange.new(10,50) | |
5827 | bld.EmissionDirection = "Back" | |
5828 | bld.VelocitySpread = 25 | |
5829 | bld.Rotation = NumberRange.new(-500,500) | |
5830 | bld.RotSpeed = NumberRange.new(-500,500) | |
5831 | bld.Enabled = true | |
5832 | end)) | |
5833 | coroutine.resume(coroutine.create(function() | |
5834 | bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso")) | |
5835 | bld.LightEmission = 0.1 | |
5836 | bld.Texture = "rbxassetid://284205403" | |
5837 | bld.Color = ColorSequence.new(Color3.new(1,1,1)) | |
5838 | bld.Rate = 500 | |
5839 | bld.Lifetime = NumberRange.new(1) | |
5840 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5841 | bld.Acceleration = vt(0,-25,0) | |
5842 | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
5843 | bld.Speed = NumberRange.new(10,50) | |
5844 | bld.EmissionDirection = "Back" | |
5845 | bld.VelocitySpread = 25 | |
5846 | bld.Rotation = NumberRange.new(-500,500) | |
5847 | bld.RotSpeed = NumberRange.new(-500,500) | |
5848 | bld.Enabled = true | |
5849 | end)) | |
5850 | for i = 0, 3, .05 do | |
5851 | RootPart.CFrame = hed.CFrame*cf(0,0,1.35) | |
5852 | swait() | |
5853 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4) | |
5854 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4) | |
5855 | RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4) | |
5856 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8) | |
5857 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5858 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4) | |
5859 | end | |
5860 | ||
5861 | RootPart.CFrame = ocf | |
5862 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
5863 | for i = 0, 9 do | |
5864 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Pink"),0) | |
5865 | end | |
5866 | for i = 0, 24 do | |
5867 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0) | |
5868 | end | |
5869 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink")) | |
5870 | RootPart.Anchored = false | |
5871 | Humanoid.WalkSpeed = storehumanoidWS | |
5872 | Humanoid.JumpPower = 50 | |
5873 | attack = false | |
5874 | end | |
5875 | end | |
5876 | ||
5877 | local input = "" | |
5878 | ||
5879 | mouse.KeyDown:connect(function(k) | |
5880 | if(k == "w" or k == "a" or k == "s" or k == "d")then | |
5881 | input = input .. k | |
5882 | local newInput = input | |
5883 | coroutine.wrap(function() | |
5884 | for i = 1, 25 do | |
5885 | if(newInput ~= input)then break end | |
5886 | swait() | |
5887 | end | |
5888 | if(newInput == input)then input = "" end | |
5889 | end)() | |
5890 | if(input == "adad" and not AllowRape)then | |
5891 | AllowRape = true | |
5892 | warn("Rape unlocked! Have fun ;)") | |
5893 | elseif(input == "wsws" and not AllowCata)then | |
5894 | AllowCata = true | |
5895 | warn("You unlocked CATASTROPHE.") | |
5896 | elseif(input == 'ww' and not attack)then | |
5897 | ChaosBegone() | |
5898 | end | |
5899 | end | |
5900 | end) | |
5901 | ||
5902 | mouse.KeyDown:connect(function(k) | |
5903 | if k == "h" then | |
5904 | ||
5905 | end | |
5906 | ||
5907 | if k == "q" and attack == false and ModeOfGlitch ~= 2 then | |
5908 | ModeOfGlitch = 2 | |
5909 | storehumanoidWS = 16 | |
5910 | hum.WalkSpeed = 16 | |
5911 | rainbowmode = false | |
5912 | chaosmode = false | |
5913 | glitchymode = false | |
5914 | tl1.Enabled = false | |
5915 | tl2.Enabled = false | |
5916 | tl3.Enabled = false | |
5917 | RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1)) | |
5918 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end) | |
5919 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end) | |
5920 | newTheme("rbxassetid://1539245059",0,1,1) | |
5921 | MAINRUINCOLOR = BrickColor.new("Toothpaste") | |
5922 | for i, v in pairs(mw2:GetChildren()) do | |
5923 | if v:IsA("Part") then | |
5924 | v.BrickColor = MAINRUINCOLOR | |
5925 | v.Material = "Neon" | |
5926 | end | |
5927 | end | |
5928 | for i, v in pairs(mw1:GetChildren()) do | |
5929 | if v:IsA("Part") then | |
5930 | v.Transparency = 1 | |
5931 | v.BrickColor = MAINRUINCOLOR | |
5932 | v.Material = "Neon" | |
5933 | end | |
5934 | end | |
5935 | for i, v in pairs(m:GetChildren()) do | |
5936 | if v:IsA("Part") then | |
5937 | v.BrickColor = BrickColor.new("White") | |
5938 | v.Material = "Ice" | |
5939 | end | |
5940 | end | |
5941 | for i, v in pairs(m2:GetChildren()) do | |
5942 | if v:IsA("Part") then | |
5943 | v.BrickColor = BrickColor.new("Pastel light blue") | |
5944 | v.Material = "Glass" | |
5945 | end | |
5946 | end | |
5947 | for i, v in pairs(m3:GetChildren()) do | |
5948 | if v:IsA("Part") then | |
5949 | v.BrickColor = BrickColor.new("Toothpaste") | |
5950 | v.Material = "Neon" | |
5951 | end | |
5952 | end | |
5953 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5954 | if v:IsA("Part") then | |
5955 | v.Transparency = 1 | |
5956 | v.BrickColor = BrickColor.new("White") | |
5957 | v.Material = "Neon" | |
5958 | end | |
5959 | end | |
5960 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5961 | if v:IsA("Part") then | |
5962 | v.Transparency = 1 | |
5963 | v.BrickColor = BrickColor.new("White") | |
5964 | v.Material = "Neon" | |
5965 | end | |
5966 | end | |
5967 | elseif k == "q" and attack == false and ModeOfGlitch == 2 then | |
5968 | resetmode() | |
5969 | end | |
5970 | if k == "f" and attack == false and ModeOfGlitch ~= 69 then | |
5971 | lustmode() | |
5972 | elseif k == "f" and attack == false and ModeOfGlitch == 69 then | |
5973 | resetmode() | |
5974 | end | |
5975 | if k == "m" and attack == false and ModeOfGlitch == 1 then | |
5976 | RiddleMeThisRiddleMeThat() | |
5977 | elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then | |
5978 | resetmode() | |
5979 | end | |
5980 | if k == "e" and attack == false and ModeOfGlitch ~= 3 then | |
5981 | ModeOfGlitch = 3 | |
5982 | storehumanoidWS = 16 | |
5983 | hum.WalkSpeed = 16 | |
5984 | rainbowmode = false | |
5985 | chaosmode = false | |
5986 | glitchymode = true | |
5987 | tl1.Enabled = true | |
5988 | tl2.Enabled = true | |
5989 | tl3.Enabled = true | |
5990 | RecolorTextAndRename("gLiTcHy",Color3.new(0,0,0),Color3.new(0.35,0,1)) | |
5991 | newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203 | |
5992 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end) | |
5993 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end) | |
5994 | MAINRUINCOLOR = BrickColor.new("White") | |
5995 | for i, v in pairs(mw2:GetChildren()) do | |
5996 | if v:IsA("Part") then | |
5997 | v.BrickColor = MAINRUINCOLOR | |
5998 | v.Material = "Neon" | |
5999 | end | |
6000 | end | |
6001 | for i, v in pairs(mw1:GetChildren()) do | |
6002 | if v:IsA("Part") then | |
6003 | v.Transparency = 0 | |
6004 | v.BrickColor = MAINRUINCOLOR | |
6005 | v.Material = "Neon" | |
6006 | end | |
6007 | end | |
6008 | for i, v in pairs(m:GetChildren()) do | |
6009 | if v:IsA("Part") then | |
6010 | v.BrickColor = BrickColor.new("Really black") | |
6011 | v.Material = "Ice" | |
6012 | end | |
6013 | end | |
6014 | for i, v in pairs(m2:GetChildren()) do | |
6015 | if v:IsA("Part") then | |
6016 | v.BrickColor = BrickColor.new("Dark indigo") | |
6017 | v.Material = "Glass" | |
6018 | end | |
6019 | end | |
6020 | for i, v in pairs(m3:GetChildren()) do | |
6021 | if v:IsA("Part") then | |
6022 | v.Transparency = 1 | |
6023 | v.BrickColor = BrickColor.new("Royal purple") | |
6024 | v.Material = "Neon" | |
6025 | end | |
6026 | end | |
6027 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6028 | if v:IsA("Part") then | |
6029 | v.Transparency = 1 | |
6030 | v.BrickColor = BrickColor.new("White") | |
6031 | v.Material = "Neon" | |
6032 | end | |
6033 | end | |
6034 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6035 | if v:IsA("Part") then | |
6036 | v.Transparency = 1 | |
6037 | v.BrickColor = BrickColor.new("White") | |
6038 | v.Material = "Neon" | |
6039 | end | |
6040 | end | |
6041 | elseif k == "e" and attack == false and ModeOfGlitch == 3 then | |
6042 | resetmode() | |
6043 | end | |
6044 | if k == "r" and attack == false and ModeOfGlitch ~= 4 then | |
6045 | ModeOfGlitch = 4 | |
6046 | storehumanoidWS = 16 | |
6047 | hum.WalkSpeed = 16 | |
6048 | rainbowmode = false | |
6049 | glitchymode = false | |
6050 | chaosmode = true | |
6051 | tl1.Enabled = true | |
6052 | tl2.Enabled = true | |
6053 | tl3.Enabled = true | |
6054 | RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color) | |
6055 | newTheme("rbxassetid://1369263130",0,1,1) | |
6056 | MAINRUINCOLOR = BrickColor.new("Black") | |
6057 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6058 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6059 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6060 | for i, v in pairs(mw2:GetChildren()) do | |
6061 | if v:IsA("Part") then | |
6062 | v.BrickColor = MAINRUINCOLOR | |
6063 | v.Material = "Neon" | |
6064 | end | |
6065 | end | |
6066 | for i, v in pairs(mw1:GetChildren()) do | |
6067 | if v:IsA("Part") then | |
6068 | v.Transparency = 0.75 | |
6069 | v.BrickColor = BrickColor.random() | |
6070 | v.Material = "Neon" | |
6071 | end | |
6072 | end | |
6073 | for i, v in pairs(m:GetChildren()) do | |
6074 | if v:IsA("Part") then | |
6075 | v.BrickColor = BrickColor.new("Black") | |
6076 | v.Material = "Neon" | |
6077 | end | |
6078 | end | |
6079 | for i, v in pairs(m2:GetChildren()) do | |
6080 | if v:IsA("Part") then | |
6081 | v.BrickColor = BrickColor.random() | |
6082 | v.Material = "Neon" | |
6083 | end | |
6084 | end | |
6085 | for i, v in pairs(m3:GetChildren()) do | |
6086 | if v:IsA("Part") then | |
6087 | v.BrickColor = BrickColor.new("Black") | |
6088 | v.Material = "Neon" | |
6089 | end | |
6090 | end | |
6091 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6092 | if v:IsA("Part") then | |
6093 | v.Transparency = 1 | |
6094 | v.BrickColor = BrickColor.new("White") | |
6095 | v.Material = "Neon" | |
6096 | end | |
6097 | end | |
6098 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6099 | if v:IsA("Part") then | |
6100 | v.Transparency = 1 | |
6101 | v.BrickColor = BrickColor.new("White") | |
6102 | v.Material = "Neon" | |
6103 | end | |
6104 | end | |
6105 | elseif k == "r" and attack == false and ModeOfGlitch == 4 then | |
6106 | resetmode() | |
6107 | end | |
6108 | ||
6109 | if k == "m" and attack == false and ModeOfGlitch == 4 then | |
6110 | insanitymode() | |
6111 | elseif k == "m" and attack == false and ModeOfGlitch == 666666 then | |
6112 | resetmode() | |
6113 | end | |
6114 | if k == "t" and attack == false and ModeOfGlitch ~= 5 then | |
6115 | ModeOfGlitch = 5 | |
6116 | storehumanoidWS = 16 | |
6117 | hum.WalkSpeed = 16 | |
6118 | rainbowmode = false | |
6119 | chaosmode = false | |
6120 | glitchymode = false | |
6121 | tl1.Enabled = true | |
6122 | tl2.Enabled = true | |
6123 | tl3.Enabled = true | |
6124 | RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5)) | |
6125 | newTheme("rbxassetid://661079869",0,1.02,1) | |
6126 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end) | |
6127 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end) | |
6128 | MAINRUINCOLOR = BrickColor.new("Bright yellow") | |
6129 | for i, v in pairs(mw2:GetChildren()) do | |
6130 | if v:IsA("Part") then | |
6131 | v.BrickColor = MAINRUINCOLOR | |
6132 | v.Material = "Neon" | |
6133 | end | |
6134 | end | |
6135 | for i, v in pairs(mw1:GetChildren()) do | |
6136 | if v:IsA("Part") then | |
6137 | v.Transparency = 0 | |
6138 | v.BrickColor = MAINRUINCOLOR | |
6139 | v.Material = "Neon" | |
6140 | end | |
6141 | end | |
6142 | for i, v in pairs(m:GetChildren()) do | |
6143 | if v:IsA("Part") then | |
6144 | v.BrickColor = BrickColor.new("Cool yellow") | |
6145 | v.Material = "Ice" | |
6146 | end | |
6147 | end | |
6148 | for i, v in pairs(m2:GetChildren()) do | |
6149 | if v:IsA("Part") then | |
6150 | v.BrickColor = BrickColor.new("Bright yellow") | |
6151 | v.Material = "Ice" | |
6152 | end | |
6153 | end | |
6154 | for i, v in pairs(m3:GetChildren()) do | |
6155 | if v:IsA("Part") then | |
6156 | v.BrickColor = BrickColor.new("Bright yellow") | |
6157 | v.Material = "Neon" | |
6158 | end | |
6159 | end | |
6160 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6161 | if v:IsA("Part") then | |
6162 | v.Transparency = 1 | |
6163 | v.BrickColor = BrickColor.new("White") | |
6164 | v.Material = "Neon" | |
6165 | end | |
6166 | end | |
6167 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6168 | if v:IsA("Part") then | |
6169 | v.Transparency = 1 | |
6170 | v.BrickColor = BrickColor.new("White") | |
6171 | v.Material = "Neon" | |
6172 | end | |
6173 | end | |
6174 | elseif k == "t" and attack == false and ModeOfGlitch == 5 then | |
6175 | resetmode() | |
6176 | end | |
6177 | if k == "y" and attack == false and ModeOfGlitch ~= 6 then | |
6178 | ModeOfGlitch = 6 | |
6179 | storehumanoidWS = 75 | |
6180 | hum.WalkSpeed = 75 | |
6181 | rainbowmode = false | |
6182 | chaosmode = false | |
6183 | glitchymode = false | |
6184 | tl1.Enabled = true | |
6185 | tl2.Enabled = true | |
6186 | tl3.Enabled = true | |
6187 | RecolorTextAndRename("Justice",Color3.new(0,0,0),Color3.new(1,1,1)) | |
6188 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end) | |
6189 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end) | |
6190 | newTheme("rbxassetid://1102271169",0,1,1) | |
6191 | MAINRUINCOLOR = BrickColor.new("White") | |
6192 | for i, v in pairs(mw2:GetChildren()) do | |
6193 | if v:IsA("Part") then | |
6194 | v.BrickColor = MAINRUINCOLOR | |
6195 | v.Material = "Neon" | |
6196 | end | |
6197 | end | |
6198 | for i, v in pairs(mw1:GetChildren()) do | |
6199 | if v:IsA("Part") then | |
6200 | v.Transparency = 0 | |
6201 | v.BrickColor = MAINRUINCOLOR | |
6202 | v.Material = "Neon" | |
6203 | end | |
6204 | end | |
6205 | for i, v in pairs(m:GetChildren()) do | |
6206 | if v:IsA("Part") then | |
6207 | v.BrickColor = BrickColor.new("White") | |
6208 | v.Material = "Ice" | |
6209 | end | |
6210 | end | |
6211 | for i, v in pairs(m2:GetChildren()) do | |
6212 | if v:IsA("Part") then | |
6213 | v.BrickColor = BrickColor.new("White") | |
6214 | v.Material = "Ice" | |
6215 | end | |
6216 | end | |
6217 | for i, v in pairs(m3:GetChildren()) do | |
6218 | if v:IsA("Part") then | |
6219 | v.BrickColor = BrickColor.new("White") | |
6220 | v.Material = "Neon" | |
6221 | end | |
6222 | end | |
6223 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6224 | if v:IsA("Part") then | |
6225 | v.Transparency = 1 | |
6226 | v.BrickColor = BrickColor.new("White") | |
6227 | v.Material = "Neon" | |
6228 | end | |
6229 | end | |
6230 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6231 | if v:IsA("Part") then | |
6232 | v.Transparency = 1 | |
6233 | v.BrickColor = BrickColor.new("White") | |
6234 | v.Material = "Neon" | |
6235 | end | |
6236 | end | |
6237 | elseif k == "y" and attack == false and ModeOfGlitch == 6 then | |
6238 | resetmode() | |
6239 | end | |
6240 | if k == "u" and attack == false then | |
6241 | ||
6242 | storehumanoidWS = 50 | |
6243 | hum.WalkSpeed = 50 | |
6244 | rainbowmode = true | |
6245 | chaosmode = false | |
6246 | glitchymode = false | |
6247 | tl1.Enabled = true | |
6248 | tl2.Enabled = true | |
6249 | tl3.Enabled = true | |
6250 | ||
6251 | if(ModeOfGlitch == 6127843)then | |
6252 | vaporwave = not vaporwave | |
6253 | end | |
6254 | ||
6255 | if(not vaporwave)then | |
6256 | RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1)) | |
6257 | newTheme("rbxassetid://147930134",0,1,1) | |
6258 | else | |
6259 | RecolorTextAndRename("Vaporwave",Color3.new(1,1,1),Color3.new(1,1,1)) | |
6260 | newTheme("rbxassetid://1308711379",0,1,1) | |
6261 | end | |
6262 | ||
6263 | ||
6264 | ModeOfGlitch = 6127843 | |
6265 | MAINRUINCOLOR = BrickColor.new("White") | |
6266 | for i, v in pairs(mw2:GetChildren()) do | |
6267 | if v:IsA("Part") then | |
6268 | v.BrickColor = MAINRUINCOLOR | |
6269 | v.Material = "Neon" | |
6270 | end | |
6271 | end | |
6272 | for i, v in pairs(mw1:GetChildren()) do | |
6273 | if v:IsA("Part") then | |
6274 | v.Transparency = 0 | |
6275 | v.BrickColor = MAINRUINCOLOR | |
6276 | v.Material = "Neon" | |
6277 | end | |
6278 | end | |
6279 | for i, v in pairs(m:GetChildren()) do | |
6280 | if v:IsA("Part") then | |
6281 | v.BrickColor = BrickColor.new("White") | |
6282 | v.Material = "Neon" | |
6283 | end | |
6284 | end | |
6285 | for i, v in pairs(m2:GetChildren()) do | |
6286 | if v:IsA("Part") then | |
6287 | v.BrickColor = BrickColor.new("White") | |
6288 | v.Material = "Neon" | |
6289 | end | |
6290 | end | |
6291 | for i, v in pairs(m3:GetChildren()) do | |
6292 | if v:IsA("Part") then | |
6293 | v.BrickColor = BrickColor.new("White") | |
6294 | v.Material = "Neon" | |
6295 | end | |
6296 | end | |
6297 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6298 | if v:IsA("Part") then | |
6299 | v.Transparency = 1 | |
6300 | v.BrickColor = BrickColor.new("White") | |
6301 | v.Material = "Neon" | |
6302 | end | |
6303 | end | |
6304 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6305 | if v:IsA("Part") then | |
6306 | v.Transparency = 1 | |
6307 | v.BrickColor = BrickColor.new("White") | |
6308 | v.Material = "Neon" | |
6309 | end | |
6310 | end | |
6311 | elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then | |
6312 | resetmode() | |
6313 | end | |
6314 | if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then | |
6315 | ModeOfGlitch = 1000000 | |
6316 | storehumanoidWS = 100 | |
6317 | hum.WalkSpeed = 100 | |
6318 | rainbowmode = false | |
6319 | chaosmode = false | |
6320 | glitchymode = false | |
6321 | tl1.Enabled = true | |
6322 | tl2.Enabled = true | |
6323 | tl3.Enabled = true | |
6324 | RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1)) | |
6325 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Bright violet' end) | |
6326 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Bright violet' end) | |
6327 | newTheme("rbxassetid://1359036559",0,1,1) | |
6328 | MAINRUINCOLOR = BrickColor.new("Bright violet") | |
6329 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6330 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6331 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6332 | for i, v in pairs(mw2:GetChildren()) do | |
6333 | if v:IsA("Part") then | |
6334 | v.BrickColor = MAINRUINCOLOR | |
6335 | v.Material = "Neon" | |
6336 | end | |
6337 | end | |
6338 | for i, v in pairs(mw1:GetChildren()) do | |
6339 | if v:IsA("Part") then | |
6340 | v.Transparency = 0 | |
6341 | v.BrickColor = MAINRUINCOLOR | |
6342 | v.Material = "Neon" | |
6343 | end | |
6344 | end | |
6345 | for i, v in pairs(m:GetChildren()) do | |
6346 | if v:IsA("Part") then | |
6347 | v.Color = Color3.new(0.5,0,1) | |
6348 | v.Material = "Neon" | |
6349 | end | |
6350 | end | |
6351 | for i, v in pairs(m2:GetChildren()) do | |
6352 | if v:IsA("Part") then | |
6353 | v.Color = Color3.new(0.25,0,1) | |
6354 | v.Material = "Neon" | |
6355 | end | |
6356 | end | |
6357 | for i, v in pairs(m3:GetChildren()) do | |
6358 | if v:IsA("Part") then | |
6359 | v.Color = Color3.new(0.45,0,1) | |
6360 | v.Material = "Neon" | |
6361 | end | |
6362 | end | |
6363 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6364 | if v:IsA("Part") then | |
6365 | v.Transparency = 0.75 | |
6366 | v.Color = Color3.new(0.25,0,1) | |
6367 | v.Material = "Neon" | |
6368 | end | |
6369 | end | |
6370 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6371 | if v:IsA("Part") then | |
6372 | v.Transparency = 0.75 | |
6373 | v.Color = Color3.new(0.5,0,1) | |
6374 | v.Material = "Neon" | |
6375 | end | |
6376 | end | |
6377 | elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then | |
6378 | resetmode() | |
6379 | end | |
6380 | if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 and (plr.Name == 'Noobygames12' or plr.UserId == 5719877 or AllowCata) then | |
6381 | newThemeCust("rbxassetid://1504604335",0,1,1) | |
6382 | attack = true | |
6383 | hum.WalkSpeed = 0 | |
6384 | MAINRUINCOLOR = BrickColor.new("Royal purple") | |
6385 | for i = 0, 24, 0.1 do | |
6386 | swait() | |
6387 | sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100) | |
6388 | 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) | |
6389 | 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) | |
6390 | 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) | |
6391 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
6392 | 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) | |
6393 | 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) | |
6394 | end | |
6395 | CameraEnshaking(1,1) | |
6396 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
6397 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1) | |
6398 | wait(0.55) | |
6399 | CameraEnshaking(1,2) | |
6400 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
6401 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
6402 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
6403 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1) | |
6404 | wait(0.55) | |
6405 | CameraEnshaking(1,3) | |
6406 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
6407 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
6408 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
6409 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
6410 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
6411 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1) | |
6412 | wait(0.55) | |
6413 | CameraEnshaking(10,5) | |
6414 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1) | |
6415 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1) | |
6416 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1) | |
6417 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85) | |
6418 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1) | |
6419 | sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
6420 | sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR) | |
6421 | sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR) | |
6422 | sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR) | |
6423 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
6424 | sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR) | |
6425 | sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR) | |
6426 | sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR) | |
6427 | sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR) | |
6428 | sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR) | |
6429 | for i = 0, 49 do | |
6430 | 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) | |
6431 | 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) | |
6432 | 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) | |
6433 | 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) | |
6434 | end | |
6435 | ModeOfGlitch = 12345678987654321 | |
6436 | storehumanoidWS = 200 | |
6437 | hum.WalkSpeed = 200 | |
6438 | rainbowmode = false | |
6439 | chaosmode = false | |
6440 | glitchymode = false | |
6441 | tl1.Enabled = true | |
6442 | tl2.Enabled = true | |
6443 | tl3.Enabled = true | |
6444 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Dark indigo' end) | |
6445 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Dark indigo' end) | |
6446 | RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1)) | |
6447 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6448 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6449 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6450 | for i, v in pairs(mw2:GetChildren()) do | |
6451 | if v:IsA("Part") then | |
6452 | v.BrickColor = MAINRUINCOLOR | |
6453 | v.Material = "Neon" | |
6454 | end | |
6455 | end | |
6456 | for i, v in pairs(mw1:GetChildren()) do | |
6457 | if v:IsA("Part") then | |
6458 | v.Transparency = 0 | |
6459 | v.BrickColor = MAINRUINCOLOR | |
6460 | v.Material = "Neon" | |
6461 | end | |
6462 | end | |
6463 | for i, v in pairs(m:GetChildren()) do | |
6464 | if v:IsA("Part") then | |
6465 | v.Color = Color3.new(0.5,0,1) | |
6466 | v.Material = "Neon" | |
6467 | end | |
6468 | end | |
6469 | for i, v in pairs(m2:GetChildren()) do | |
6470 | if v:IsA("Part") then | |
6471 | v.Color = Color3.new(0.5,0,1) | |
6472 | v.Material = "Neon" | |
6473 | end | |
6474 | end | |
6475 | for i, v in pairs(m3:GetChildren()) do | |
6476 | if v:IsA("Part") then | |
6477 | v.Color = Color3.new(0.5,0,1) | |
6478 | v.Material = "Neon" | |
6479 | end | |
6480 | end | |
6481 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6482 | if v:IsA("Part") then | |
6483 | v.Transparency = 0 | |
6484 | v.Color = Color3.new(0.5,0,1) | |
6485 | v.Material = "Neon" | |
6486 | end | |
6487 | end | |
6488 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
6489 | if v:IsA("Part") then | |
6490 | v.Transparency = 0 | |
6491 | v.Color = Color3.new(0.5,0,1) | |
6492 | v.Material = "Neon" | |
6493 | end | |
6494 | attack = false | |
6495 | end | |
6496 | elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then | |
6497 | resetmode() | |
6498 | end | |
6499 | if k == "l" and toggleTag == false then | |
6500 | toggleTag = true | |
6501 | text.TextTransparency = 0 | |
6502 | text.TextStrokeTransparency = 0 | |
6503 | elseif k == "l" and toggleTag == true then | |
6504 | toggleTag = false | |
6505 | text.TextTransparency = 1 | |
6506 | text.TextStrokeTransparency = 1 | |
6507 | end | |
6508 | if k == "z" and attack == false and (ModeOfGlitch == 1 or ModeOfGlitch == 8376532578634534) then | |
6509 | ExtinctiveHeartbreak() | |
6510 | elseif k == "z" and attack == false and ModeOfGlitch == 2 then | |
6511 | PureBomb() | |
6512 | elseif k == "z" and attack == false and ModeOfGlitch == 3 then | |
6513 | scattercorrupt() | |
6514 | elseif k == "z" and attack == false and ModeOfGlitch == 5 then | |
6515 | Judgement() | |
6516 | elseif k == "z" and attack == false and ModeOfGlitch == 4 then | |
6517 | ChaosGroundStrike() | |
6518 | elseif k == "z" and attack == false and ModeOfGlitch == 666666 then | |
6519 | InsaneGroundStrike() | |
6520 | ||
6521 | elseif k == "z" and attack == false and ModeOfGlitch == 69 then | |
6522 | ChooseODer() | |
6523 | elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then | |
6524 | Starfall() | |
6525 | elseif k == "z" and attack == false and ModeOfGlitch == 6 then | |
6526 | yinyangi() | |
6527 | elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then | |
6528 | Wip() | |
6529 | elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then | |
6530 | StarfallEX() | |
6531 | end | |
6532 | if k == "x" and attack == false and ModeOfGlitch == 1000000 then | |
6533 | StarDivision() | |
6534 | elseif k == "x" and attack == false and ModeOfGlitch == 6 then | |
6535 | JusticeBeam() | |
6536 | end | |
6537 | if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then | |
6538 | UniversalCollapse() | |
6539 | end | |
6540 | if k == "b" and attack == false and ModeOfGlitch == 4 then | |
6541 | ||
6542 | end | |
6543 | if k == "n" and attack == false then | |
6544 | CorruptBlink() | |
6545 | end | |
6546 | if k == "m" and attack == false and ModeOfGlitch == 69 and AllowRape then | |
6547 | FuckMeSidewaysAndCallMeGay() | |
6548 | end | |
6549 | end) | |
6550 | coroutine.resume(coroutine.create(function() | |
6551 | while true do | |
6552 | swait(2) | |
6553 | if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then | |
6554 | sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0) | |
6555 | end | |
6556 | ||
6557 | end | |
6558 | end)) | |
6559 | ||
6560 | ||
6561 | coroutine.resume(coroutine.create(function() | |
6562 | while true do | |
6563 | if ModeOfGlitch == 1000000 then | |
6564 | swait(0.5) | |
6565 | end | |
6566 | swait() | |
6567 | if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then | |
6568 | sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0) | |
6569 | end | |
6570 | if ModeOfGlitch == 12345678987654321 then | |
6571 | sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0) | |
6572 | end | |
6573 | end | |
6574 | end)) | |
6575 | ||
6576 | ||
6577 | function RandomMaterial() | |
6578 | local getRandom; | |
6579 | local material; | |
6580 | local function IsTerrainMaterial(mat) | |
6581 | local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end) | |
6582 | return isMaterial | |
6583 | end | |
6584 | getRandom = function() | |
6585 | local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] | |
6586 | if(not IsTerrainMaterial(mat))then material = mat else getRandom() end | |
6587 | end | |
6588 | getRandom() | |
6589 | repeat wait() until material | |
6590 | return material | |
6591 | end | |
6592 | function RandomCaps(str) | |
6593 | local new = "" | |
6594 | for i = 1, #str do | |
6595 | if(math.random(1,2) == 1)then | |
6596 | new = new .. (str:sub(i,i):upper()) | |
6597 | else | |
6598 | new = new .. str:sub(i,i) | |
6599 | end | |
6600 | end | |
6601 | return new | |
6602 | end | |
6603 | ||
6604 | coroutine.resume(coroutine.create(function() | |
6605 | while true do | |
6606 | for i = 1, #ODers do | |
6607 | local ODer = ODers[i] | |
6608 | if(ODer)then | |
6609 | local hed = ODer:FindFirstChild'Head' | |
6610 | if(ODer.Parent and hed)then | |
6611 | sphere(10,"Add",hed.CFrame * cf(0,4,0),vt(6,6,3),0,(ODer.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true,false,true) | |
6612 | else | |
6613 | table.remove(ODers,i) | |
6614 | end | |
6615 | else | |
6616 | table.remove(ODers,i) | |
6617 | end | |
6618 | end | |
6619 | if(not kan)then | |
6620 | kan = Instance.new("Sound",char) | |
6621 | end | |
6622 | kan.Parent = char | |
6623 | if(plr.UserId == 5719877)then kan.Volume = 3 else kan.Volume = 1 end | |
6624 | kan.Pitch = Pitch | |
6625 | kan.SoundId = MID | |
6626 | kan.Name = "wrecked" | |
6627 | kan.Looped = true | |
6628 | kan:Resume() | |
6629 | swait() | |
6630 | if glitchymode == true then | |
6631 | local val = math.random(1,255) | |
6632 | local color = Color3.fromRGB(val,val,val) | |
6633 | pcall(function() Character.ReaperShadowHead.Eye1.Color = color end) | |
6634 | pcall(function() Character.ReaperShadowHead.Eye2.Color = color end) | |
6635 | tl1.Color = ColorSequence.new(color) | |
6636 | tl2.Color = ColorSequence.new(color) | |
6637 | tl3.Color = ColorSequence.new(color) | |
6638 | tr1.Color = ColorSequence.new(color) | |
6639 | tr2.Color = ColorSequence.new(color) | |
6640 | tr3.Color = ColorSequence.new(color) | |
6641 | for i, v in pairs(mw1:GetChildren()) do | |
6642 | if v:IsA("Part") then | |
6643 | v.Transparency = 0 | |
6644 | v.Color = color | |
6645 | v.Material = "Neon" | |
6646 | end | |
6647 | end | |
6648 | for i, v in pairs(mw2:GetChildren()) do | |
6649 | if v:IsA("Part") then | |
6650 | v.Color = color | |
6651 | v.Material = "Neon" | |
6652 | end | |
6653 | end | |
6654 | for i, v in pairs(m2:GetChildren()) do | |
6655 | if v:IsA("Part") then | |
6656 | v.Color = color | |
6657 | v.Material = "Neon" | |
6658 | end | |
6659 | end | |
6660 | RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"glitchy"),Color3.new(0,0,0),color) | |
6661 | end | |
6662 | if chaosmode or glitchymode then | |
6663 | pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end) | |
6664 | pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end) | |
6665 | else | |
6666 | pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end) | |
6667 | pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end) | |
6668 | end | |
6669 | if chaosmode == true then | |
6670 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
6671 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
6672 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
6673 | RecolorTextAndRename((ModeOfGlitch == 666666 and "INSANITY" or "CHAOS"),Color3.new(0,0,0),BrickColor.random().Color) | |
6674 | pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.random() end) | |
6675 | pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.random() end) | |
6676 | for i, v in pairs(mw1:GetChildren()) do | |
6677 | if v:IsA("Part") then | |
6678 | v.Transparency = 0.75 | |
6679 | v.BrickColor = BrickColor.random() | |
6680 | v.Material = "Neon" | |
6681 | end | |
6682 | end | |
6683 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
6684 | if v:IsA("Part") and ModeOfGlitch == 666666 then | |
6685 | v.Transparency = 0.75 | |
6686 | v.BrickColor = BrickColor.random() | |
6687 | v.Material = "Neon" | |
6688 | elseif v:IsA("Part") then | |
6689 | v.Transparency = 1 | |
6690 | end | |
6691 | end | |
6692 | for i, v in pairs(m2:GetChildren()) do | |
6693 | if v:IsA("Part") then | |
6694 | v.BrickColor = BrickColor.random() | |
6695 | v.Material = "Neon" | |
6696 | end | |
6697 | end | |
6698 | end | |
6699 | end | |
6700 | end)) | |
6701 | Humanoid.Name = "STARGLITCHER" | |
6702 | Humanoid.MaxHealth = math.huge | |
6703 | Humanoid.Health = math.huge | |
6704 | Instance.new("ForceField",char).Visible = false | |
6705 | Humanoid.Animator.Parent = nil | |
6706 | idleanim=.4 | |
6707 | while true do | |
6708 | if rainbowmode == false and chaosmode == false and glitchymode == false then | |
6709 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6710 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6711 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6712 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6713 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6714 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6715 | end | |
6716 | if rainbowmode == true then | |
6717 | pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end) | |
6718 | pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end) | |
6719 | if(not vaporwave)then | |
6720 | RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500)) | |
6721 | else | |
6722 | RecolorTextAndRename("Vaporwave",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500)) | |
6723 | end | |
6724 | MAINRUINCOLOR = BrickColor.new("White") | |
6725 | tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6726 | tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6727 | tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6728 | tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6729 | tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6730 | tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6731 | for i, v in pairs(m:GetChildren()) do | |
6732 | if v:IsA("Part") then | |
6733 | v.Color = Color3.new(r/255,g/255,b/255) | |
6734 | end | |
6735 | end | |
6736 | for i, v in pairs(m2:GetChildren()) do | |
6737 | if v:IsA("Part") then | |
6738 | v.Color = Color3.new(r/255,g/255,b/255) | |
6739 | end | |
6740 | end | |
6741 | for i, v in pairs(m3:GetChildren()) do | |
6742 | if v:IsA("Part") then | |
6743 | v.Color = Color3.new(r/255,g/255,b/255) | |
6744 | end | |
6745 | end | |
6746 | for i, v in pairs(mw1:GetChildren()) do | |
6747 | if v:IsA("Part") then | |
6748 | v.Color = Color3.new(r/255,g/255,b/255) | |
6749 | v.Material = "Neon" | |
6750 | end | |
6751 | end | |
6752 | for i, v in pairs(mw2:GetChildren()) do | |
6753 | if v:IsA("Part") then | |
6754 | v.Color = Color3.new(r/255,g/255,b/255) | |
6755 | v.Material = "Neon" | |
6756 | end | |
6757 | end | |
6758 | end | |
6759 | CameraManager() | |
6760 | swait() | |
6761 | 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) | |
6762 | 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) | |
6763 | 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) | |
6764 | 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) | |
6765 | 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) | |
6766 | 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) | |
6767 | ||
6768 | 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) | |
6769 | 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) | |
6770 | 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) | |
6771 | 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) | |
6772 | 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) | |
6773 | 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) | |
6774 | sine = sine + change | |
6775 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
6776 | local velderp=RootPart.Velocity.y | |
6777 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
6778 | if equipped==true or equipped==false then | |
6779 | if attack==false then | |
6780 | idle=idle+1 | |
6781 | else | |
6782 | idle=0 | |
6783 | end | |
6784 | if idle>=500 then | |
6785 | if attack==false then | |
6786 | --Sheath() | |
6787 | end | |
6788 | end | |
6789 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
6790 | Anim="Jump" | |
6791 | if attack==false then | |
6792 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) | |
6793 | 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) | |
6794 | 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) | |
6795 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1) | |
6796 | 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) | |
6797 | 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) | |
6798 | end | |
6799 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
6800 | Anim="Fall" | |
6801 | if attack==false then | |
6802 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) | |
6803 | 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) | |
6804 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
6805 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
6806 | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1) | |
6807 | LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1) | |
6808 | end | |
6809 | elseif torvel<1 and hitfloor~=nil then | |
6810 | Anim="Idle" | |
6811 | if attack==false then | |
6812 | if ModeOfGlitch == 1 then | |
6813 | 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) | |
6814 | 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) | |
6815 | 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) | |
6816 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1) | |
6817 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1) | |
6818 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1) | |
6819 | ||
6820 | elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then | |
6821 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
6822 | 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) | |
6823 | 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) | |
6824 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1) | |
6825 | RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1) | |
6826 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1) | |
6827 | ||
6828 | elseif ModeOfGlitch == 3 then | |
6829 | 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) | |
6830 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
6831 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1) | |
6832 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1) | |
6833 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1) | |
6834 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1) | |
6835 | elseif ModeOfGlitch == 4 then | |
6836 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1) | |
6837 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1) | |
6838 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
6839 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1) | |
6840 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1) | |
6841 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1) | |
6842 | elseif ModeOfGlitch == 69 then | |
6843 | RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1) | |
6844 | Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1) | |
6845 | LH.C0 = LH.C0:lerp(cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
6846 | RH.C0 = RH.C0:lerp(cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1) | |
6847 | LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1) | |
6848 | RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1) | |
6849 | elseif ModeOfGlitch == 8376532578634534 then | |
6850 | RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1) | |
6851 | LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1) | |
6852 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1) | |
6853 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1) | |
6854 | RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1) | |
6855 | LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1) | |
6856 | ||
6857 | elseif ModeOfGlitch == 666666 then | |
6858 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1) | |
6859 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1) | |
6860 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
6861 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6862 | RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6863 | LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6864 | ||
6865 | elseif ModeOfGlitch == 5 then | |
6866 | 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) | |
6867 | 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) | |
6868 | 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) | |
6869 | 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) | |
6870 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1) | |
6871 | 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) | |
6872 | ||
6873 | elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 6 then | |
6874 | 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) | |
6875 | 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) | |
6876 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
6877 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
6878 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1) | |
6879 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1) | |
6880 | ||
6881 | elseif ModeOfGlitch == 12345678987654321 then | |
6882 | 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) | |
6883 | 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) | |
6884 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1) | |
6885 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1) | |
6886 | RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1) | |
6887 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1) | |
6888 | end | |
6889 | end | |
6890 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
6891 | Anim="Walk" | |
6892 | if attack==false then | |
6893 | if ModeOfGlitch == 1 then | |
6894 | RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1) | |
6895 | LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1) | |
6896 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1) | |
6897 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6898 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1) | |
6899 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1) | |
6900 | elseif ModeOfGlitch == 4 then | |
6901 | RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/4)/2)*angles(math.rad(2-4*math.cos(sine/10))-math.sin(sine/10)/2,0,0)*angles(0,math.rad(90),0),.1) | |
6902 | LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/4)/2)*angles(math.rad(2+3*math.cos(sine/10))+math.sin(sine/10)/2,0,0)*angles(0,math.rad(-90),0),.1) | |
6903 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1) | |
6904 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1) | |
6905 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1) | |
6906 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1) | |
6907 | elseif ModeOfGlitch == 666666 then | |
6908 | RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/10))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1) | |
6909 | LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/10))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1) | |
6910 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1) | |
6911 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6912 | RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6913 | LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6914 | ||
6915 | elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then | |
6916 | RH.C0=clerp(RH.C0,cf(1,-.85-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1) | |
6917 | LH.C0=clerp(LH.C0,cf(-1,-.85+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1) | |
6918 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1) | |
6919 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1) | |
6920 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1) | |
6921 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1) | |
6922 | end | |
6923 | end | |
6924 | elseif torvel>=22 and hitfloor~=nil then | |
6925 | Anim="Run" | |
6926 | if attack==false then | |
6927 | if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then | |
6928 | RH.C0=clerp(RH.C0,cf(1,-1-.4*math.cos(sine/6)/2,.8*math.cos(sine/6)/2)*angles(math.rad(0-65*math.cos(sine/6))-math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(90),0),.1) | |
6929 | LH.C0=clerp(LH.C0,cf(-1,-1+.4*math.cos(sine/6)/2,-.8*math.cos(sine/6)/2)*angles(math.rad(0+65*math.cos(sine/6))+math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(-90),0),.1) | |
6930 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1) | |
6931 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1) | |
6932 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 105 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1) | |
6933 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 105 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1) | |
6934 | elseif ModeOfGlitch == 666666 then | |
6935 | RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) | |
6936 | LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) | |
6937 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + .125 * math.cos(sine / 3))*angles(math.rad(25),math.rad(0),math.rad(0 - 5 * math.cos(sine / 6))),.1) | |
6938 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6939 | RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6940 | LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) | |
6941 | ||
6942 | elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 8376532578634534 then | |
6943 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2) | |
6944 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2) | |
6945 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2) | |
6946 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
6947 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2) | |
6948 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2) | |
6949 | end | |
6950 | end | |
6951 | end | |
6952 | end | |
6953 | end |