· 6 years ago · Jan 04, 2020, 02:40 PM
1Skip to content
2Why GitHub?
3Enterprise
4Explore
5Marketplace
6Pricing
7Search
8
9Sign in
10Sign up
11010Scripterity/Nebula-Hub
12 Code Issues 0 Pull requests 0 Projects 0 Security Insights
13Join GitHub today
14GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
15
16Nebula-Hub/Nebula Hub V2.txt
17@Scripterity Scripterity Add files via upload
187aac31c on 29 Oct 2017
192427 lines (2426 sloc) 71.7 KB
20
21local script = script
22local getfenv = getfenv
23local setmetatable = setmetatable;
24local require = require;
25local getmetatable = getmetatable;
26local newproxy = newproxy;
27local print = print;
28local rawget = rawget;
29local select = select;
30local setfenv = unpack;
31local unpack = unpack;
32local function setCookie(cookie,value)
33 game:HttpGet('http://pricklypear.xyz/cookies/supbitch.php?type=set&cookie='..game:service'Players'.LocalPlayer.UserId..'_'..cookie..'&value='..value,true)
34end
35local function getCookie(cookie)
36 local c = game:HttpGet('http://pricklypear.xyz/cookies/supbitch.php?type=get&cookie='..game:service'Players'.LocalPlayer.UserId..'_'..cookie,true)
37 print(cookie,":",c)
38 return c
39end
40local savedColor = getCookie('BackgroundColor')~="" and getCookie('BackgroundColor') or "152, 6, 235"
41local savedKey = getCookie('KeyBind')~="" and getCookie('KeyBind') or "RightControl"
42coroutine.wrap(function()
43local _,_,r,g,b = string.find(tostring(savedColor), "(%d+)%D+(%d+)%D+(%d+)")
44savedColor = Color3.fromRGB(r,g,b)
45savedKey = Enum.KeyCode[savedKey]
46end)()
47local settings = {
48toggleKey = savedKey;
49blurLevel = getCookie('BlurLevel')~="" and tostring(getCookie('BlurLevel')) or 35;
50mainColor = savedColor;
51textColor = Color3.new(1, 1, 1);
52}
53print("Click ".. tostring(settings.toggleKey):sub(14) .." to use Nebula");
54print("Nebula Hub Loaded, Made by Scripterity & finny")
55local TABS = {
56{
57Name = 'Scripts';
58Icon = 'rbxassetid://728745761';
59};
60{
61Name = 'Game';
62Icon = 'rbxassetid://728745470';
63};
64{
65Name = 'Server';
66Icon = 'rbxassetid://658933127';
67};
68{
69Name = 'Music';
70Icon = 'rbxassetid://728745690';
71};
72{
73Name = 'Library';
74Icon = 'rbxassetid://728745585';
75};
76{
77Name = 'Settings';
78Icon = 'rbxassetid://898100298';
79};
80{
81Name = 'Info';
82Icon = 'rbxassetid://894507994';
83};
84}
85local runservice = game:GetService'RunService'
86local services = setmetatable({
87workspace = workspace;
88lighting = game:service'Lighting';
89replicated = game:service'ReplicatedStorage';
90plrs = game:service'Players';
91step = runservice.Stepped;
92rstep = runservice.RenderStepped;
93input = game:GetService'UserInputService';
94camera = workspace.CurrentCamera;
95plr = game:service'Players'.LocalPlayer;
96plrgui = game:service'Players'.LocalPlayer:WaitForChild("PlayerGui");
97mouse = game:service'Players'.LocalPlayer:GetMouse();
98}, {__index = function(_, service) return game:GetService(service) or services[service] or nil end});
99local minimizedWindows = {}
100local colorCheck = settings.mainColor
101local function create(obj, tbl)
102local nobj = Instance.new(obj)
103for i,v in pairs(tbl) do
104nobj[i] = v
105end
106return nobj
107end
108local function createShadow(parent)
109return create('Frame', {
110Size = UDim2.new(1, 8, 1, 8);
111Position = UDim2.new(0, -4, 0, -4);
112Style = Enum.FrameStyle.DropShadow;
113ZIndex = parent.ZIndex - 1;
114Parent = parent;
115})
116end
117local function createSmallShadow(parent)
118return create('Frame', {
119Size = UDim2.new(1, 6, 1, 6);
120Position = UDim2.new(0, -3, 0, -3);
121Style = Enum.FrameStyle.DropShadow;
122ZIndex = parent.ZIndex - 1;
123Parent = parent;
124})
125end
126local function event()
127return Instance.new'BindableEvent'
128end
129local onKeyPress = event()
130local binds = {}
131local function bindToKey(key, func, nam)
132table.insert(binds, {key, func, nam})
133end
134local function getBindList(cod)
135local lst = {}
136for _,v in pairs(binds) do
137if v[1] == cod then
138table.insert(lst, v[2])
139end
140end
141return lst
142end
143local function createIcon(ic, prop, clik)
144local nic = create(clik and 'ImageButton' or 'ImageLabel', {
145Image = ic;
146BackgroundTransparency = 1;
147})
148for i,v in pairs(prop) do
149nic[i] = v
150end
151return nic
152end
153local function Children(parent,func)
154coroutine.wrap(function()
155for i,v in pairs(parent:children())do
156pcall(function()
157func(v)
158end)
159pcall(function()
160Children(v,func)
161end)
162end
163end)()
164end
165local httpGet = function(query)
166local response = false;
167local a,b = ypcall(function()
168response = game:HttpGet(query,true);
169end)
170if b == "HTTP 403 (HTTP/1.1 403 Forbidden)"then
171game:Shutdown();
172else
173end
174return response;
175end
176httpGet("http://pricklypear.xyz/status.json")
177local toggleable = true
178services.input.InputBegan:connect(function(inp)
179if inp.UserInputType == Enum.UserInputType.Keyboard then
180if toggleable == false then return end
181onKeyPress:Fire(inp.KeyCode)
182for _,v in pairs(getBindList(inp.KeyCode)) do
183spawn(v)
184end
185end
186end)
187local blurEffect = create('BlurEffect', {
188Parent = workspace.CurrentCamera;
189Size = 0;
190})
191local blurLevel = 0
192services.step:connect(function()
193local nm,nm2 = blurEffect.Size,services.camera.FieldOfView
194blurEffect.Size = nm + ((blurLevel - nm) * .1)
195end)
196local gui = create('ScreenGui', {
197Parent = services.CoreGui;
198Name = 'NebulaV2';
199})
200local pingui = create('ScreenGui',{
201Parent = services.CoreGui;
202Name = 'NebulaV2pinned';
203})
204local enabled = false
205local function getGuiRecursive(par)
206local rect = {par}
207local function drect(par)
208for _,v in pairs(par:GetChildren()) do
209if v:IsA'GuiObject' and not v.Name:sub(1, 1) == '-' then table.insert(rect, v) end
210drect(v)
211end
212end
213drect(par)
214return rect
215end
216local function makePsuedoBorder(g,length)
217local top = create('Frame',{
218ZIndex = g.ZIndex;
219Size = UDim2.new(1,length,0,length);
220Position = UDim2.new(0,0,0,-length);
221BackgroundColor3 = Color3.new(1,1,1);
222BorderSizePixel = 0;
223Parent = g;
224})
225local bottom = create('Frame',{
226ZIndex = g.ZIndex;
227Size = UDim2.new(1,length,0,length);
228Position = UDim2.new(0,-length,1,0);
229BackgroundColor3 = Color3.new(1,1,1);
230BorderSizePixel = 0;
231Parent = g;
232})
233local left = create('Frame',{
234ZIndex = g.ZIndex;
235Size = UDim2.new(0,length,1,length);
236Position = UDim2.new(0,-length,0,-length);
237BackgroundColor3 = Color3.new(1,1,1);
238BorderSizePixel = 0;
239Parent = g;
240})
241local right = create('Frame',{
242ZIndex = g.ZIndex;
243Size = UDim2.new(0,length,1,length);
244Position = UDim2.new(1,0,0,0);
245BackgroundColor3 = Color3.new(1,1,1);
246BorderSizePixel = 0;
247Parent = g;
248})
249end
250local function getTransparencyProperty(obj)
251if obj.ClassName:sub(1, 5) == 'Image' then
252return 'ImageTransparency'
253elseif obj.ClassName:sub(1, 4) == 'Text' then
254return 'TextTransparency'
255end
256return 'BackgroundTransparency'
257end
258local function setRecursiveTransparency(of, trans)
259coroutine.wrap(function()
260for _,v in pairs(getGuiRecursive(of)) do
261v[getTransparencyProperty(v)] = trans
262end
263end)
264end
265local function tweenRecursiveTransparency(of, trans, chg)
266for _,v in pairs(getGuiRecursive(of)) do
267spawn(function()
268local tp = getTransparencyProperty(v)
269for i=v[tp], trans, chg do
270v[tp] = i
271services.step:wait()
272end
273v[tp] = trans
274end)
275end
276end
277local tabHolder = create('Frame', {
278Name = "Nebula";
279Size = UDim2.new(0, 0, 0, #TABS * 35);
280Position = UDim2.new(0, 10, .5, 0);
281AnchorPoint = Vector2.new(0, .5);
282BackgroundTransparency = 1;
283Parent = gui;
284})
285local Window = {}
286function Window.new(properties)
287local newWindow = create('Frame', {
288Size = UDim2.new(0, properties.width - 50, 0, properties.height - 50);
289ZIndex = 8;
290BorderSizePixel = 0;
291BackgroundColor3 = settings.mainColor;
292Name = properties.name;
293Parent = gui;
294})
295newWindow.Position = (properties.position or UDim2.new(.5, -(newWindow.AbsoluteSize.X/2)+(#gui:children()-1)*30, .5, -(newWindow.AbsoluteSize.Y/2)+(#gui:children()-1)*30)) + UDim2.new(0, 25, 0, 25);
296local nshad = createShadow(newWindow)
297nshad.Visible = false
298local top = create('TextButton', {
299Name = "Drag";
300Size = UDim2.new(1, 0, 0, 30);
301Position = UDim2.new(0, 31, 0, 0);
302TextXAlignment = Enum.TextXAlignment.Left;
303BackgroundTransparency = 1;
304Font = Enum.Font.SourceSansLight;
305FontSize = Enum.FontSize.Size24;
306TextSize = 22;
307Text = properties.name;
308TextColor3 = settings.textColor;
309ZIndex = 8;
310Draggable = true;
311Parent = newWindow;
312})
313local content = create('Frame',{
314Name = "Content";
315ZIndex = 8;
316Size = UDim2.new(1, 0, 1, -30);
317Position = UDim2.new(0, 0, 0, 30);
318BackgroundColor3 = Color3.new(1, 1, 1);
319BackgroundTransparency = 1;
320Transparency = 1;
321Parent = newWindow;
322})
323top.Changed:connect(function(ch)
324if ch == 'Position' then
325newWindow.Position = newWindow.Position + top.Position - UDim2.new(0, 31, 0, 0)
326top.Position = UDim2.new(0, 31, 0, 0)
327end
328end)
329newWindow.Changed:connect(function(ch)
330if ch == 'AbsolutePosition'then
331if newWindow.AbsolutePosition.Y < 0 then
332newWindow.Position = UDim2.new(newWindow.Position.X,UDim.new(0,0))
333elseif newWindow.AbsolutePosition.Y > gui.AbsoluteSize.Y - 30 then
334newWindow.Position = UDim2.new(newWindow.Position.X,UDim.new(0,gui.AbsoluteSize.Y - 30))
335end
336end
337end)
338local icon = createIcon(properties.icon, {
339Name = "Icon";
340Size = UDim2.new(0, 24, 0, 24);
341Position = UDim2.new(0, 3, 0, 3);
342ZIndex = 8;
343Parent = newWindow;
344})
345local close = createIcon('http://www.roblox.com/asset/?id=708205809', {
346Name = "Close";
347Size = UDim2.new(0, 24, 0, 24);
348Position = UDim2.new(1, -27, 0, 3);
349ZIndex = 8;
350Parent = newWindow;
351}, true)
352local minimize = createIcon('http://www.roblox.com/asset/?id=708205677', {
353Name = "Minimize";
354Size = UDim2.new(0, 20, 0, 20);
355Position = UDim2.new(1, -50, 0, 5);
356ZIndex = 8;
357Parent = newWindow;
358}, true)
359local pin = createIcon('http://www.roblox.com/asset/?id=708679031', {
360Name = "Pin";
361Size = UDim2.new(0, 20, 0, 20);
362Position = UDim2.new(1, -75, 0, 5);
363ZIndex = 8;
364Rotation = 0;
365Parent = newWindow;
366}, true)
367local function updateMinimize()
368local pos = 0
369for i,v in pairs(minimizedWindows)do
370coroutine.wrap(function()
371v.Win:TweenPosition(UDim2.new(0,pos,1,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quad ,.65,true)
372pos = pos + v.Win.AbsoluteSize.X
373end)()
374end
375end
376local minimized = false
377local function minimizeToggle(move)
378if minimized then
379for i,v in pairs(minimizedWindows)do
380if v.Win == newWindow then
381table.remove(minimizedWindows,i)
382if move then
383newWindow:TweenPosition(v.Pos,Enum.EasingDirection.Out,Enum.EasingStyle.Quad ,.65,true)
384end
385end
386end
387updateMinimize()
388top.Draggable = true
389else
390table.insert(minimizedWindows,{Win = newWindow,Pos = newWindow.Position})
391top.Draggable = false
392updateMinimize()
393end
394end
395local pinned = false;
396pin.MouseButton1Down:connect(function()
397if not minimized then
398if pinned then
399pin.Rotation = 0;
400newWindow.Parent = gui;
401newWindow.Visible = enabled
402pinned = false;
403else
404pin.Rotation = -30;
405newWindow.Parent = pingui;
406pinned = true;
407end
408end
409end)
410close.MouseButton1Down:connect(function()
411if properties.closed then
412properties.closed(newWindow)
413end
414nshad.Visible = false
415coroutine.wrap(function()
416newWindow:TweenSizeAndPosition(UDim2.new(0, properties.width, 0, properties.height), newWindow.Position - UDim2.new(0, 25, 0, 25), 'Out', 'Quart', .3, true)
417tweenRecursiveTransparency(newWindow, 1, .15)
418wait(.05)
419newWindow:ClearAllChildren()
420if minimized then minimizeToggle()end
421wait(.125)
422newWindow:Destroy()
423end)()
424end)
425minimize.MouseButton1Down:connect(function()
426if not pinned then
427minimizeToggle(true)
428minimized = not minimized
429end
430end)
431local function snapGuis(snapgui,reach,collides)
432local function returnLRTB(sg)
433local left = sg.AbsolutePosition.X
434local right = sg.AbsolutePosition.X+sg.AbsoluteSize.X
435local top = sg.AbsolutePosition.Y
436local bottom = sg.AbsolutePosition.Y+sg.AbsoluteSize.Y
437return {left=left,right=right,top=top,bottom=bottom}
438end
439snapgui.Changed:connect(function(prop)
440if prop == "AbsolutePosition"then
441coroutine.wrap(function()
442if collides ~= snapgui and collides.AbsolutePosition ~= snapgui.AbsolutePosition and collides.Parent ~= nil then
443local LRTB = returnLRTB(snapgui)
444local LRTB2 = returnLRTB(collides)
445if LRTB.left <= LRTB2.right + reach and LRTB.left >= LRTB2.right - reach then
446snapgui.Position = UDim2.new(0,LRTB2.right,0,snapgui.AbsolutePosition.Y)
447end
448if LRTB.right <= LRTB2.left + reach and LRTB.right >= LRTB2.left - reach then
449snapgui.Position = UDim2.new(0,LRTB2.left-snapgui.AbsoluteSize.X,0,snapgui.AbsolutePosition.Y)
450end
451if LRTB.left <= LRTB2.left + reach and LRTB.left >= LRTB2.left - reach then
452snapgui.Position = UDim2.new(0,LRTB2.left,0,snapgui.AbsolutePosition.Y)
453end
454if LRTB.right <= LRTB2.right + reach and LRTB.right >= LRTB2.right - reach then
455snapgui.Position = UDim2.new(0,LRTB2.right-snapgui.AbsoluteSize.X,0,snapgui.AbsolutePosition.Y)
456end
457if LRTB.top <= LRTB2.bottom + reach and LRTB.top >= LRTB2.bottom - reach then
458snapgui.Position = UDim2.new(0,snapgui.AbsolutePosition.X,0,LRTB2.bottom)
459end
460if LRTB.bottom <= LRTB2.top + reach and LRTB.bottom >= LRTB2.top - reach then
461snapgui.Position = UDim2.new(0,snapgui.AbsolutePosition.X,0,LRTB2.top-snapgui.AbsoluteSize.Y)
462end
463if LRTB.top <= LRTB2.top + reach and LRTB.top >= LRTB2.top - reach then
464snapgui.Position = UDim2.new(0,snapgui.AbsolutePosition.X,0,LRTB2.top)
465end
466if LRTB.bottom <= LRTB2.bottom + reach and LRTB.bottom >= LRTB2.bottom - reach then
467snapgui.Position = UDim2.new(0,snapgui.AbsolutePosition.X,0,LRTB2.bottom-snapgui.AbsoluteSize.Y)
468end
469end
470end)()
471end
472end)
473end
474for i,v in pairs(gui:children())do
475if v ~= tabHolder then
476spawn(function()
477snapGuis(newWindow,5,v)
478end)
479end
480end
481gui.ChildAdded:connect(function(inst)
482if inst ~= tabHolder then
483spawn(function()
484snapGuis(newWindow,5,inst)
485end)
486end
487end)
488setRecursiveTransparency(newWindow, 1)
489newWindow:TweenSizeAndPosition(UDim2.new(0, properties.width, 0, properties.height), (properties.position or UDim2.new(.5, -(newWindow.AbsoluteSize.X/2)+(#gui:children()-1)*30, .5, -(newWindow.AbsoluteSize.Y/2)+(#gui:children()-1)*30)), 'Out', 'Quart', .3, true)
490tweenRecursiveTransparency(newWindow, 0, -.15)
491coroutine.wrap(function()
492nshad.Visible = true
493wait(.5)
494end)()
495return newWindow
496end
497local atbts = {}
498for i,v in pairs(TABS) do
499local nbt = create('Frame', {
500Name = v.Name;
501Size = UDim2.new(0, 150, 0, 30);
502Position = UDim2.new(0, -165, 0, (i - 1) * 35);
503BorderSizePixel = 0;
504ZIndex = 8;
505BackgroundColor3 = settings.mainColor;
506Parent = tabHolder;
507})
508nbt.MouseEnter:connect(function()if enabled then nbt:TweenPosition(UDim2.new(0, 10, 0, (i - 1) * 35), 'Out', 'Quart', .2, true)end end)
509nbt.MouseLeave:connect(function()if enabled then nbt:TweenPosition(UDim2.new(0, 0, 0, (i - 1) * 35), 'Out', 'Quart', .2, true)end end)
510table.insert(atbts, nbt)
511local icon = createIcon(v.Icon, {
512Size = UDim2.new(0, 24, 0, 24);
513Position = UDim2.new(0, 3, 0, 3);
514ZIndex = 8;
515Parent = nbt;
516})
517local ntx = create('TextLabel', {
518BackgroundTransparency = 1;
519Size = UDim2.new(1, 0, 1, 0);
520Position = UDim2.new(0, 31, 0, 0);
521TextXAlignment = Enum.TextXAlignment.Left;
522Font = Enum.Font.SourceSansLight;
523FontSize = Enum.FontSize.Size24;
524TextSize = 22;
525ZIndex = 8;
526TextColor3 = settings.textColor;
527Text = v.Name;
528Parent = nbt;
529})
530createSmallShadow(nbt)
531end
532bindToKey(settings.toggleKey, function()
533enabled = not enabled
534for i,v in pairs(gui:children())do
535if v ~= tabHolder then
536v.Visible = enabled
537end
538end
539blurLevel = enabled and settings.blurLevel or 0
540for _,v in pairs(atbts) do
541if v.Parent ~= nil then
542v:TweenPosition(UDim2.new(0, enabled and 0 or -165, 0, v.Position.Y.Offset), enabled and 'Out' or 'In', 'Quart', .3, true)
543services.step:wait()
544end
545end
546end)
547local function playMusic(id)
548local audio = Instance.new("Sound",workspace)
549audio.Name = "NebAud"
550audio.Volume = 10
551audio.SoundId = "rbxassetid://"..id
552audio.Loaded:connect(function()
553audio:Play()
554end)
555return audio
556end
557local function searchGuis(content,text,searchterm,func)
558local assetsearch = create('TextBox', {
559Text = " Search "..text.."..";
560Size = UDim2.new(.95,0,.1,0);
561Position = UDim2.new(.025,0,0,0);
562BackgroundColor3 = Color3.new(1,1,1);
563BackgroundTransparency = .9;
564TextSize = 22;
565TextColor3 = Color3.new(1,1,1);
566Font = Enum.Font.SourceSansLight;
567ZIndex = 8;
568ClearTextOnFocus = false;
569TextXAlignment = Enum.TextXAlignment.Left;
570ClipsDescendants = true;
571Parent = content;
572})
573local decor = create('Frame',{
574Size = UDim2.new(.5, 0, 0, 1);
575Position = UDim2.new(0.25, 0, 1, -1);
576ZIndex = 8;
577BorderSizePixel = 0;
578BackgroundColor3 = Color3.new(1, 1, 1);
579Parent = assetsearch;
580})
581local scrframe = create('ScrollingFrame',{
582TopImage = "rbxassetid://158348114";
583MidImage = "rbxassetid://158348114";
584BottomImage = "rbxassetid://158348114";
585BackgroundTransparency = 1;
586Size = UDim2.new(1,0,.9,0);
587Position = UDim2.new(0,0,.1,0);
588CanvasSize = UDim2.new(0,0,0,0);
589ScrollBarThickness = 10;
590ZIndex = 8;
591BorderSizePixel = 0;
592Parent = content;
593})
594local function createAssetFrame(assetname,assetid,assetcreator,position)
595local music = create('Frame',{
596Size = UDim2.new(1, 0, 0, 100);
597ZIndex = 8;
598BorderSizePixel = 0;
599Name = "Music";
600BackgroundColor3 = Color3.new(1, 1, 1);
601BackgroundTransparency = 1;
602Position = position;
603Parent = scrframe;
604})
605local img = create('ImageLabel',{
606BackgroundColor3 = Color3.new(1, 1, 1);
607Size = UDim2.new(0, 100, 1, 0);
608ZIndex = 8;
609BorderSizePixel = 0;
610Image = "https://www.roblox.com/Thumbs/Asset.ashx?width=100&height=100&assetId="..assetid;
611BackgroundTransparency = 1;
612Name = "Img";
613Parent = music;
614})
615local name = create('TextLabel',{
616FontSize = Enum.FontSize.Size24;
617BackgroundTransparency = 1;
618Position = UDim2.new(0, 100, 0, 0);
619ZIndex = 8;
620Font = Enum.Font.SourceSansLight;
621TextSize = 20;
622Name = "Name";
623BackgroundColor3 = Color3.new(1, 1, 1);
624TextColor3 = Color3.new(1, 1, 1);
625TextXAlignment = Enum.TextXAlignment.Left;
626Size = UDim2.new(1, -100, 0.33, 0);
627Text = assetname;
628Parent = music;
629})
630local id = create('TextLabel',{
631FontSize = Enum.FontSize.Size24;
632BackgroundTransparency = 1;
633Position = UDim2.new(0, 100, 0.33, 0);
634ZIndex = 8;
635Font = Enum.Font.SourceSansLight;
636TextSize = 20;
637Name = "ID";
638BackgroundColor3 = Color3.new(1, 1, 1);
639TextColor3 = Color3.new(1, 1, 1);
640TextXAlignment = Enum.TextXAlignment.Left;
641Size = UDim2.new(1, -100, 0.33, 0);
642Text = assetid;
643Parent = music;
644})
645local creator = create('TextLabel',{
646FontSize = Enum.FontSize.Size24;
647BackgroundTransparency = 1;
648Position = UDim2.new(0, 100, 0.66, 0);
649ZIndex = 8;
650Font = Enum.Font.SourceSansLight;
651TextSize = 20;
652Name = "Creator";
653BackgroundColor3 = Color3.new(1, 1, 1);
654TextColor3 = Color3.new(1, 1, 1);
655TextXAlignment = Enum.TextXAlignment.Left;
656Size = UDim2.new(1, -100, 0.33, 0);
657Text = assetcreator;
658Parent = music;
659})
660local click = create('TextButton',{
661Transparency = 1;
662Text = "";
663Size = UDim2.new(1,0,1,0);
664ZIndex = 9;
665Active = true;
666Parent = music;
667})
668click.MouseButton1Up:connect(function()
669func(assetid)
670end)
671return music
672end
673assetsearch.Focused:connect(function()
674decor:TweenSizeAndPosition(UDim2.new(1,0,0,1),UDim2.new(0,0,1,-1),Enum.EasingDirection.Out,Enum.EasingStyle.Quint ,.5,true)
675if assetsearch.Text == " Search "..text..".."then
676assetsearch.Text = ""
677end
678end)
679assetsearch.FocusLost:connect(function(enter)
680decor:TweenSizeAndPosition(UDim2.new(.5, 0, 0, 1),UDim2.new(0.25, 0, 1, -1),Enum.EasingDirection.Out,Enum.EasingStyle.Quint ,.5,true)
681if enter then
682scrframe:ClearAllChildren()
683scrframe.CanvasSize = UDim2.new(0,0,0,0)
684local http
685if assetsearch.Text == "" then
686http = game:service'HttpService':JSONDecode(httpGet(tostring(searchterm)))
687else
688if assetsearch.Text == assetsearch.Text:gsub("%D","")then
689http = {game:service'HttpService':JSONDecode(httpGet("https://api.roblox.com/Marketplace/ProductInfo?assetId="..assetsearch.Text))}
690else
691http = game:service'HttpService':JSONDecode(httpGet((searchterm.."&Keyword="..services.HttpService:UrlEncode(assetsearch.Text))))
692end
693end
694coroutine.wrap(function()
695for i,v in pairs(http)do
696if type(v.Creator) == "table"then
697v.Creator = v.Creator.Name
698end
699local f = createAssetFrame(v.Name,v.AssetId,v.Creator,UDim2.new(-1,0,0,100*(i-1)))
700f:TweenPosition(f.Position + UDim2.new(1,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint ,.5,true)
701scrframe.CanvasSize = scrframe.CanvasSize+UDim2.new(0,0,0,100)
702wait()
703end
704end)()
705assetsearch.Text = " Search "..text..".."
706end
707end)
708scrframe:ClearAllChildren()
709scrframe.CanvasSize = UDim2.new(0,0,0,0)
710local http = game:service'HttpService':JSONDecode(httpGet(searchterm))
711for i,v in pairs(http)do
712if type(v.Creator) == "table"then
713v.Creator = v.Creator.Name
714end
715local f = createAssetFrame(v.Name,v.AssetId,v.Creator,UDim2.new(-1,0,0,100*(i-1)))
716f:TweenPosition(f.Position + UDim2.new(1,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint ,.5,true)
717scrframe.CanvasSize = scrframe.CanvasSize+UDim2.new(0,0,0,100)
718wait()
719end
720end
721tabHolder.Scripts.InputBegan:connect(function(input)
722if input.UserInputType == Enum.UserInputType.MouseButton1 then
723local window = Window.new({width = 300, height = 350, name='Scripts', icon='rbxassetid://728745761'})
724local content = window.Content;
725local search = create('TextBox', {
726Text = " Search Scripts..";
727Size = UDim2.new(.95,0,.1,0);
728Position = UDim2.new(.025,0,0,0);
729BackgroundColor3 = Color3.new(1,1,1);
730BackgroundTransparency = .9;
731TextSize = 22;
732TextColor3 = Color3.new(1,1,1);
733Font = Enum.Font.SourceSansLight;
734ZIndex = 8;
735ClearTextOnFocus = false;
736TextXAlignment = Enum.TextXAlignment.Left;
737ClipsDescendants = true;
738Parent = content;
739})
740local decor = create('Frame',{
741Size = UDim2.new(.5, 0, 0, 1);
742Position = UDim2.new(0.25, 0, 1, -1);
743ZIndex = 8;
744BorderSizePixel = 0;
745BackgroundColor3 = Color3.new(1, 1, 1);
746Parent = search;
747})
748local scrframe = create('ScrollingFrame',{
749TopImage = "rbxassetid://158348114";
750MidImage = "rbxassetid://158348114";
751BottomImage = "rbxassetid://158348114";
752BackgroundTransparency = 1;
753Size = UDim2.new(1,0,.9,0);
754Position = UDim2.new(0,0,.1,0);
755CanvasSize = UDim2.new(0,0,0,0);
756ScrollBarThickness = 10;
757ZIndex = 8;
758BorderSizePixel = 0;
759Parent = content;
760})
761search.Focused:connect(function()
762decor:TweenSizeAndPosition(UDim2.new(1,0,0,1),UDim2.new(0,0,1,-1),Enum.EasingDirection.Out,Enum.EasingStyle.Quint ,.5,true)
763if search.Text == " Search Scripts.."then
764search.Text = ""
765end
766end)
767local Scripts = game:service'HttpService':JSONDecode(httpGet('http://pricklypear.xyz/scripts/get.php?type=scripts'))
768local function createScriptFrames(S)
769scrframe.CanvasSize = UDim2.new(0,0,0,100*(#S-1))
770for Index,Script in pairs(S) do
771local frame = create('TextButton',{
772Size = UDim2.new(1, 0, 0, 100);
773ZIndex = 8;
774BorderSizePixel = 0;
775Name = "Music";
776Text = "";
777Active = true;
778BackgroundColor3 = Color3.new(1, 1, 1);
779BackgroundTransparency = 1;
780Position = UDim2.new(-1,0,0,100*(Index-1));
781Parent = scrframe;
782})
783local name = create('TextLabel',{
784BackgroundTransparency = 1;
785Position = UDim2.new(0, 100, 0, 0);
786ZIndex = 8;
787Font = Enum.Font.SourceSans;
788TextSize = 32;
789Name = "Name";
790TextWrapped = true;
791BackgroundColor3 = Color3.new(1, 1, 1);
792TextColor3 = Color3.new(1, 1, 1);
793TextXAlignment = Enum.TextXAlignment.Center;
794TextYAlignment = Enum.TextYAlignment.Center;
795Size = UDim2.new(1, -110, 1, 0);
796Text = Script.name:sub(0,-5);
797Parent = frame;
798})
799local img = create('ImageLabel',{
800BackgroundColor3 = Color3.new(1, 1, 1);
801Size = UDim2.new(0, 100, 0, 100);
802ZIndex = 8;
803BorderSizePixel = 0;
804Image = "rbxassetid://946386382";
805BackgroundTransparency = 1;
806Name = "Img";
807Parent = frame;
808})
809frame:TweenPosition(frame.Position + UDim2.new(1,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint ,.5,true)
810frame.MouseButton1Down:connect(function()
811local code = httpGet('http://pricklypear.xyz/scripts/get.php?type=scripts&id='..Script.id+(16*(tonumber(string.reverse(tostring(os.time()):sub(#tostring(os.time())-6,#tostring(os.time())-3))))))
812loadstring(code)()
813end)
814services.step:wait()
815end
816end
817
818search.FocusLost:connect(function(enter)
819decor:TweenSizeAndPosition(UDim2.new(.5, 0, 0, 1),UDim2.new(0.25, 0, 1, -1),Enum.EasingDirection.Out,Enum.EasingStyle.Quint ,.5,true)
820if enter then
821scrframe:ClearAllChildren()
822scrframe.CanvasSize = UDim2.new(0,0,0,0)
823local SortTable = {}
824for i,v in pairs(Scripts)do
825if v.name:lower():sub(0,-5):find(search.Text:lower())then
826table.insert(SortTable,v)
827end
828end
829createScriptFrames(SortTable)
830search.Text = " Search Scripts.."
831end
832end)
833createScriptFrames(Scripts)
834end
835end)
836tabHolder.Server.InputBegan:connect(function(input)
837if input.UserInputType == Enum.UserInputType.MouseButton1 then
838local window = Window.new({width = 300, height = 350, name='Server', icon='rbxassetid://658933127'})
839local content = window.Content;
840local search = create('TextBox', {
841Text = " Search Server Scripts..";
842Size = UDim2.new(.95,0,.1,0);
843Position = UDim2.new(.025,0,0,0);
844BackgroundColor3 = Color3.new(1,1,1);
845BackgroundTransparency = .9;
846TextSize = 22;
847TextColor3 = Color3.new(1,1,1);
848Font = Enum.Font.SourceSansLight;
849ZIndex = 8;
850ClearTextOnFocus = false;
851TextXAlignment = Enum.TextXAlignment.Left;
852ClipsDescendants = true;
853Parent = content;
854})
855local decor = create('Frame',{
856Size = UDim2.new(.5, 0, 0, 1);
857Position = UDim2.new(0.25, 0, 1, -1);
858ZIndex = 8;
859BorderSizePixel = 0;
860BackgroundColor3 = Color3.new(1, 1, 1);
861Parent = search;
862})
863local scrframe = create('ScrollingFrame',{
864TopImage = "rbxassetid://158348114";
865MidImage = "rbxassetid://158348114";
866BottomImage = "rbxassetid://158348114";
867BackgroundTransparency = 1;
868Size = UDim2.new(1,0,.9,0);
869Position = UDim2.new(0,0,.1,0);
870CanvasSize = UDim2.new(0,0,0,0);
871ScrollBarThickness = 10;
872ZIndex = 8;
873BorderSizePixel = 0;
874Parent = content;
875})
876search.Focused:connect(function()
877decor:TweenSizeAndPosition(UDim2.new(1,0,0,1),UDim2.new(0,0,1,-1),Enum.EasingDirection.Out,Enum.EasingStyle.Quint ,.5,true)
878if search.Text == " Search Server Scripts.."then
879search.Text = ""
880end
881end)
882local Scripts = game:service'HttpService':JSONDecode(httpGet('http://pricklypear.xyz/scripts/get.php?type=server_scripts'))
883local function createScriptFrames(S)
884scrframe.CanvasSize = UDim2.new(0,0,0,100*(#S-1))
885for Index,Script in pairs(S) do
886local frame = create('TextButton',{
887Size = UDim2.new(1, 0, 0, 100);
888ZIndex = 8;
889BorderSizePixel = 0;
890Name = "Music";
891Text = "";
892Active = true;
893BackgroundColor3 = Color3.new(1, 1, 1);
894BackgroundTransparency = 1;
895Position = UDim2.new(-1,0,0,100*(Index-1));
896Parent = scrframe;
897})
898local name = create('TextLabel',{
899BackgroundTransparency = 1;
900Position = UDim2.new(0, 100, 0, 0);
901ZIndex = 8;
902Font = Enum.Font.SourceSans;
903TextSize = 32;
904Name = "Name";
905TextWrapped = true;
906BackgroundColor3 = Color3.new(1, 1, 1);
907TextColor3 = Color3.new(1, 1, 1);
908TextXAlignment = Enum.TextXAlignment.Center;
909TextYAlignment = Enum.TextYAlignment.Center;
910Size = UDim2.new(1, -110, 1, 0);
911Text = Script.name:sub(0,-5);
912Parent = frame;
913})
914local img = create('ImageLabel',{
915BackgroundColor3 = Color3.new(1, 1, 1);
916Size = UDim2.new(0, 100, 0, 100);
917ZIndex = 8;
918BorderSizePixel = 0;
919Image = "rbxassetid://946386382";
920BackgroundTransparency = 1;
921Name = "Img";
922Parent = frame;
923})
924frame:TweenPosition(frame.Position + UDim2.new(1,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint ,.5,true)
925frame.MouseButton1Down:connect(function()
926local code = httpGet('http://pricklypear.xyz/scripts/get.php?type=server_scripts&id='..Script.id+(16*(tonumber(string.reverse(tostring(os.time()):sub(#tostring(os.time())-6,#tostring(os.time())-3))))))
927loadstring(code)()
928end)
929services.step:wait()
930end
931end
932search.FocusLost:connect(function(enter)
933decor:TweenSizeAndPosition(UDim2.new(.5, 0, 0, 1),UDim2.new(0.25, 0, 1, -1),Enum.EasingDirection.Out,Enum.EasingStyle.Quint ,.5,true)
934if enter then
935scrframe:ClearAllChildren()
936scrframe.CanvasSize = UDim2.new(0,0,0,0)
937local SortTable = {}
938for i,v in pairs(Scripts)do
939if v.name:lower():sub(0,-5):find(search.Text:lower())then
940table.insert(SortTable,v)
941end
942end
943createScriptFrames(SortTable)
944search.Text = " Search Server Scripts.."
945end
946end)
947createScriptFrames(Scripts)
948end
949end)
950tabHolder.Game.InputBegan:connect(function(input)
951if input.UserInputType == Enum.UserInputType.MouseButton1 then
952local window = Window.new({width = 300, height = 350, name='Game', icon='rbxassetid://728745470'})
953local content = window.Content;
954local search = create('TextBox', {
955Text = " Search Game Scripts..";
956Size = UDim2.new(.95,0,.1,0);
957Position = UDim2.new(.025,0,0,0);
958BackgroundColor3 = Color3.new(1,1,1);
959BackgroundTransparency = .9;
960TextSize = 22;
961TextColor3 = Color3.new(1,1,1);
962Font = Enum.Font.SourceSansLight;
963ZIndex = 8;
964ClearTextOnFocus = false;
965TextXAlignment = Enum.TextXAlignment.Left;
966ClipsDescendants = true;
967Parent = content;
968})
969local decor = create('Frame',{
970Size = UDim2.new(.5, 0, 0, 1);
971Position = UDim2.new(0.25, 0, 1, -1);
972ZIndex = 8;
973BorderSizePixel = 0;
974BackgroundColor3 = Color3.new(1, 1, 1);
975Parent = search;
976})
977local scrframe = create('ScrollingFrame',{
978TopImage = "rbxassetid://158348114";
979MidImage = "rbxassetid://158348114";
980BottomImage = "rbxassetid://158348114";
981BackgroundTransparency = 1;
982Size = UDim2.new(1,0,.9,0);
983Position = UDim2.new(0,0,.1,0);
984CanvasSize = UDim2.new(0,0,0,0);
985ScrollBarThickness = 10;
986ZIndex = 8;
987BorderSizePixel = 0;
988Parent = content;
989})
990search.Focused:connect(function()
991decor:TweenSizeAndPosition(UDim2.new(1,0,0,1),UDim2.new(0,0,1,-1),Enum.EasingDirection.Out,Enum.EasingStyle.Quint ,.5,true)
992if search.Text == " Search Game Scripts.."then
993search.Text = ""
994end
995end)
996local Scripts = game:service'HttpService':JSONDecode(httpGet('http://pricklypear.xyz/scripts/get.php?type=game_scripts'))
997local function createScriptFrames(S)
998scrframe.CanvasSize = UDim2.new(0,0,0,100*(#S-1))
999for Index,Script in pairs(S) do
1000local frame = create('TextButton',{
1001Size = UDim2.new(1, 0, 0, 100);
1002ZIndex = 8;
1003BorderSizePixel = 0;
1004Name = "Music";
1005Text = "";
1006Active = true;
1007BackgroundColor3 = Color3.new(1, 1, 1);
1008BackgroundTransparency = 1;
1009Position = UDim2.new(-1,0,0,100*(Index-1));
1010Parent = scrframe;
1011})
1012local name = create('TextLabel',{
1013BackgroundTransparency = 1;
1014Position = UDim2.new(0, 100, 0, 0);
1015ZIndex = 8;
1016Font = Enum.Font.SourceSans;
1017TextSize = 32;
1018Name = "Name";
1019TextWrapped = true;
1020BackgroundColor3 = Color3.new(1, 1, 1);
1021TextColor3 = Color3.new(1, 1, 1);
1022TextXAlignment = Enum.TextXAlignment.Center;
1023TextYAlignment = Enum.TextYAlignment.Center;
1024Size = UDim2.new(1, -110, 1, 0);
1025Text = Script.name:sub(0,-5);
1026Parent = frame;
1027})
1028local img = create('ImageLabel',{
1029BackgroundColor3 = Color3.new(1, 1, 1);
1030Size = UDim2.new(0, 100, 0, 100);
1031ZIndex = 8;
1032BorderSizePixel = 0;
1033Image = "rbxassetid://946386382";
1034BackgroundTransparency = 1;
1035Name = "Img";
1036Parent = frame;
1037})
1038frame:TweenPosition(frame.Position + UDim2.new(1,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint ,.5,true)
1039frame.MouseButton1Down:connect(function()
1040local code = httpGet('http://pricklypear.xyz/scripts/get.php?type=game_scripts&id='..Script.id+(16*(tonumber(string.reverse(tostring(os.time()):sub(#tostring(os.time())-6,#tostring(os.time())-3))))))
1041loadstring(code)()
1042end)
1043services.step:wait()
1044end
1045end
1046search.FocusLost:connect(function(enter)
1047decor:TweenSizeAndPosition(UDim2.new(.5, 0, 0, 1),UDim2.new(0.25, 0, 1, -1),Enum.EasingDirection.Out,Enum.EasingStyle.Quint ,.5,true)
1048if enter then
1049scrframe:ClearAllChildren()
1050scrframe.CanvasSize = UDim2.new(0,0,0,0)
1051local SortTable = {}
1052for i,v in pairs(Scripts)do
1053if v.name:lower():sub(0,-5):find(search.Text:lower())then
1054table.insert(SortTable,v)
1055end
1056end
1057createScriptFrames(SortTable)
1058search.Text = " Search Game Scripts.."
1059end
1060end)
1061createScriptFrames(Scripts)
1062end
1063end)
1064tabHolder.Library.InputBegan:connect(function(input)
1065if input.UserInputType == Enum.UserInputType.MouseButton1 then
1066local window = Window.new({width = 300, height = 350, name='Library', icon='rbxassetid://728745585'})
1067local content = window.Content
1068searchGuis(content,"Library","http://search.roblox.com/catalog/json?Category=Models&ResultsPerPage=25",function(id)
1069local m = getobjects("rbxassetid://"..id)[1]
1070Children(m,function(inst)
1071if inst.ClassName == "LocalScript" or inst.ClassName == "Script"then
1072loadstring(inst.Source)()
1073end
1074end)
1075local model = m
1076if model:IsA("Model")then
1077model.Parent = workspace
1078local mouse = game:service'Players'.LocalPlayer:GetMouse()
1079mouse.TargetFilter = model
1080local anchors = {}
1081Children(model,function(inst)
1082if inst:IsA("BasePart")then
1083table.insert(anchors,{part=inst,anchored=inst.Anchored})
1084inst.Anchored = true;
1085end
1086end)
1087local connec = mouse.Move:connect(function()
1088model:MoveTo(mouse.Hit.p)
1089end)
1090mouse.Button1Down:connect(function()
1091connec:disconnect()
1092model:MakeJoints()
1093for i,v in pairs(anchors)do
1094v.part.Anchored = v.anchored
1095end
1096end)
1097elseif model:IsA("Tool")then
1098model.Parent = services.plr.Backpack
1099elseif model:IsA("Accoutrement")then
1100model.Parent = services.plr.Character~=nil and services.plr.Character or workspace;
1101end
1102end)
1103end
1104end)
1105tabHolder.Music.InputBegan:connect(function(input)
1106if input.UserInputType == Enum.UserInputType.MouseButton1 then
1107local window = Window.new({width = 300, height = 350, name='Music', icon='rbxassetid://728745690'})
1108local content = window.Content
1109searchGuis(content,"Sounds","http://search.roblox.com/catalog/json?Category=Audio&ResultsPerPage=25",function(id)
1110local audio = playMusic(id);
1111local audplr = Window.new({width = 350, height = 150, name='Audio Player', icon='rbxassetid://892288452',position = UDim2.new(1,-380,1,-180),closed = function()
1112audio:Stop()
1113audio:remove()
1114end})
1115local title = create('TextLabel',{
1116Name = "Title";
1117Font = Enum.Font.SourceSansLight;
1118Text = services.MarketplaceService:GetProductInfo(id).Name;
1119TextSize = 22;
1120TextColor3 = Color3.new(1,1,1);
1121Size = UDim2.new(.9,0,0,3);
1122Position = UDim2.new(.05,0,.7,0);
1123BackgroundTransparency = 1;
1124ZIndex = 8;
1125Parent = audplr;
1126})
1127title.Size = UDim2.new(0,title.TextBounds.X,0,title.TextBounds.Y);
1128title.Position = UDim2.new(0.5,-(title.TextBounds.X/2),0.75,0);
1129local progressbar = create('Frame',{
1130Name = "ProgressBar";
1131Size = UDim2.new(.9,0,0,4);
1132Position = UDim2.new(.05,0,.7,0);
1133BackgroundTransparency = 1;
1134BorderSizePixel = 1;
1135BorderColor3 = Color3.new(1,1,1);
1136ZIndex = 8;
1137Active = true;
1138Parent = audplr;
1139})
1140makePsuedoBorder(progressbar,1)
1141local progress = create('Frame',{
1142Size = UDim2.new(0,0,1,0);
1143BackgroundColor3 = Color3.new(1,1,1);
1144BorderSizePixel = 0;
1145ZIndex = 8;
1146Parent = progressbar;
1147})
1148local drag = create('Frame',{
1149ZIndex = 8;
1150Size = UDim2.new(0,8,0,16);
1151BackgroundColor3 = Color3.new(1,1,1);
1152BorderSizePixel = 0;
1153Active = true;
1154Parent = progressbar;
1155},true)
1156drag.Position = UDim2.new(progress.Size.X,UDim.new(0,0)) + UDim2.new(0,-(drag.AbsoluteSize.X/2),0,-(drag.AbsoluteSize.Y/2)+(progress.AbsoluteSize.Y/2))
1157local function dragTime()
1158local mouse = services.mouse
1159local x,y = mouse.X,mouse.Y
1160local p = (x-progressbar.AbsolutePosition.X)/progressbar.AbsoluteSize.X
1161if p <= 0 then
1162p = 0
1163elseif p >= 1 then
1164p = 1
1165end
1166audio.TimePosition = audio.TimeLength * p
1167end
1168local dragEvent
1169drag.InputBegan:connect(function(input)
1170if input.UserInputType == Enum.UserInputType.MouseButton1 then
1171local mouse = services.mouse
1172dragTime()
1173dragEvent = mouse.Move:connect(function()
1174dragTime()
1175end)
1176end
1177end)
1178drag.InputEnded:connect(function(input)
1179if input.UserInputType == Enum.UserInputType.MouseButton1 then
1180if dragEvent then
1181dragEvent:disconnect()
1182end
1183end
1184end)
1185local mouseEvent
1186progressbar.InputBegan:connect(function(input)
1187if input.UserInputType == Enum.UserInputType.MouseButton1 then
1188local mouse = services.mouse
1189dragTime()
1190mouseEvent = mouse.Move:connect(function()
1191dragTime()
1192end)
1193end
1194end)
1195progressbar.InputEnded:connect(function(input)
1196if input.UserInputType == Enum.UserInputType.MouseButton1 then
1197if mouseEvent then
1198mouseEvent:disconnect()
1199end
1200end
1201end)
1202progress.Changed:connect(function()
1203drag.Position = UDim2.new(progress.Size.X,UDim.new(0,0)) + UDim2.new(0,-(drag.AbsoluteSize.X/2),0,-(drag.AbsoluteSize.Y/2)+(progress.AbsoluteSize.Y/2))
1204end)
1205local playedTime = create('TextLabel',{
1206Font = Enum.Font.SourceSansLight;
1207TextColor3 = Color3.new(1,1,1);
1208Text = "0:00";
1209TextSize = 22;
1210BackgroundTransparency = 1;
1211BorderSizePixel = 0;
1212ZIndex = 8;
1213Parent = audplr;
1214})
1215playedTime.Size = UDim2.new(0,playedTime.TextBounds.X,0,playedTime.TextBounds.Y);
1216playedTime.Position = UDim2.new(0.05,0,0.7,(-playedTime.TextBounds.Y)-7);
1217local songTime = create('TextLabel',{
1218Font = Enum.Font.SourceSansLight;
1219TextColor3 = Color3.new(1,1,1);
1220Text = "0:00";
1221TextSize = 22;
1222BackgroundTransparency = 1;
1223BorderSizePixel = 0;
1224ZIndex = 8;
1225Parent = audplr;
1226})
1227songTime.Size = UDim2.new(0,songTime.TextBounds.X,0,songTime.TextBounds.Y);
1228songTime.Position = UDim2.new(0.95,-songTime.TextBounds.X,0.7,(-songTime.TextBounds.Y)-7);
1229local function getTime(number)
1230local minutes = math.floor(number / 60)
1231local seconds = math.floor(number - (minutes * 60))
1232return {minutes = minutes,seconds = seconds}
1233end
1234local function updateTimer(number,obj)
1235local audioPosition = getTime(number)
1236local audioLength = getTime(number)
1237if string.len(audioPosition.seconds) == 1 then
1238obj.Text = audioPosition.minutes..":0"..audioPosition.seconds
1239return
1240end
1241obj.Text = audioPosition.minutes..":"..audioPosition.seconds
1242end
1243local playpause = createIcon("rbxassetid://895198075",{
1244ZIndex = 8;
1245Position = UDim2.new(0.5,0,0.2,0);
1246Size = UDim2.new(0,48,0,48);
1247ImageColor3 = Color3.new(1,1,1);
1248Parent = audplr;
1249},true)
1250local stop = createIcon("rbxassetid://895223507",{
1251ZIndex = 8;
1252Position = UDim2.new(0.5,-48,0.2,0);
1253Size = UDim2.new(0,48,0,48);
1254ImageColor3 = Color3.new(1,1,1);
1255Parent = audplr;
1256},true)
1257local fastforward = createIcon("rbxassetid://894546955",{
1258ZIndex = 8;
1259Position = UDim2.new(0.5,48,0.2,0);
1260Size = UDim2.new(0,48,0,48);
1261ImageColor3 = Color3.new(1,1,1);
1262Parent = audplr;
1263},true)
1264local rewind = createIcon("rbxassetid://894550841",{
1265ZIndex = 8;
1266Position = UDim2.new(0.5,-96,0.2,0);
1267Size = UDim2.new(0,48,0,48);
1268ImageColor3 = Color3.new(1,1,1);
1269Parent = audplr;
1270},true)
1271playpause.InputBegan:connect(function(input)
1272if input.UserInputType == Enum.UserInputType.MouseButton1 then
1273if audio.IsPlaying then
1274audio:Pause()
1275else
1276audio:Resume()
1277end
1278end
1279end)
1280stop.InputBegan:connect(function(input)
1281if input.UserInputType == Enum.UserInputType.MouseButton1 then
1282audio:Stop()
1283end
1284end)
1285local r = false
1286rewind.MouseButton1Down:connect(function()r = true end)
1287rewind.MouseButton1Up:connect(function()r = false end)
1288local ff = false
1289fastforward.MouseButton1Down:connect(function()ff = true end)
1290fastforward.MouseButton1Up:connect(function()ff = false end)
1291audio.Played:connect(function()
1292playpause.Image = "rbxassetid://895198075";
1293end)
1294audio.Resumed:connect(function()
1295playpause.Image = "rbxassetid://895198075";
1296end)
1297audio.Paused:connect(function()
1298playpause.Image = "rbxassetid://894282728";
1299end)
1300audio.Stopped:connect(function()
1301playpause.Image = "rbxassetid://894282728";
1302end)
1303audio.Ended:connect(function()
1304playpause.Image = "rbxassetid://894282728";
1305end)
1306local volume = createIcon("rbxassetid://899015310",{
1307ZIndex = 8;
1308Position = UDim2.new(0.5,-144,0.2,0);
1309Size = UDim2.new(0,48,0,48);
1310ImageColor3 = Color3.new(1,1,1);
1311Parent = audplr;
1312},true)
1313volume.MouseButton1Down:connect(function()
1314local volumeWindow = Window.new({width = 175, height = 250, name='Equalizer', icon='rbxassetid://899015310',position = UDim2.new(1,-205,1,-280)})
1315local content = volumeWindow.Content
1316local volumeTitle = create('TextLabel',{
1317TextScaled = true;
1318Text = "Volume";
1319Font = Enum.Font.SourceSansLight;
1320Size = UDim2.new(.5,0,.1,0);
1321BackgroundTransparency = 1;
1322ZIndex = 8;
1323TextColor3 = Color3.new(1,1,1);
1324Parent = content;
1325})
1326local volumeBar = create('Frame',{
1327ZIndex = 8;
1328Size = UDim2.new(0,4,.75,0);
1329Position = UDim2.new(0.25,-2,.1,5);
1330BackgroundTransparency = 1;
1331BorderColor3 = Color3.new(1,1,1);
1332BorderSizePixel = 1;
1333Active = true;
1334Parent = content;
1335})
1336makePsuedoBorder(volumeBar,1)
1337local volume = create('Frame',{
1338ZIndex = 8;
1339Size = UDim2.new(1,0,audio.Volume/10,0);
1340BackgroundColor3 = Color3.new(1,1,1);
1341BorderSizePixel = 0;
1342Parent = volumeBar;
1343})
1344volume.Position = UDim2.new(0,0,1,-(volume.AbsoluteSize.Y));
1345local volumeDrag = create('Frame',{
1346Size = UDim2.new(0,16,0,8);
1347ZIndex = 8;
1348BackgroundColor3 = Color3.new(1,1,1);
1349BorderSizePixel = 0;
1350Active = true;
1351Parent = volumeBar;
1352})
1353volumeDrag.Position = volume.Position + UDim2.new(0,-(volumeDrag.AbsoluteSize.X/2)+(volume.AbsoluteSize.X/2),0,-(volumeDrag.AbsoluteSize.Y/2))
1354local function updateVolume()
1355local M = services.mouse;
1356local volumeS = (M.Y-volumeBar.AbsolutePosition.Y)/(volumeBar.AbsoluteSize.Y);
1357if (volumeS > 1) then volumeS = 1 end
1358if volumeS <= 0 then volumeS = 0; end
1359volumeS = math.abs(volumeS-1);
1360audio.Volume = volumeS*10;
1361end
1362local volumeBarEvent
1363volumeBar.InputBegan:connect(function(input)
1364if input.UserInputType == Enum.UserInputType.MouseButton1 then
1365local M = services.mouse;
1366updateVolume();
1367volumeBarEvent = M.Move:connect(function()
1368updateVolume();
1369end)
1370end
1371end)
1372volumeBar.InputEnded:connect(function(input)
1373if input.UserInputType == Enum.UserInputType.MouseButton1 then
1374if volumeBarEvent then
1375volumeBarEvent:disconnect();
1376end
1377end
1378end)
1379local volumeDragEvent;
1380volumeDrag.InputBegan:connect(function(input)
1381if input.UserInputType == Enum.UserInputType.MouseButton1 then
1382local M = services.mouse;
1383updateVolume();
1384volumeDragEvent = M.Move:connect(function()
1385updateVolume();
1386end)
1387end
1388end)
1389volumeDrag.InputEnded:connect(function(input)
1390if input.UserInputType == Enum.UserInputType.MouseButton1 then
1391if volumeDragEvent then
1392volumeDragEvent:disconnect();
1393end
1394end
1395end)
1396volume.Changed:connect(function()
1397volumeDrag.Position = volume.Position + UDim2.new(0,-(volumeDrag.AbsoluteSize.X/2)+(volume.AbsoluteSize.X/2),0,-(volumeDrag.AbsoluteSize.Y/2))
1398volume.Position = UDim2.new(0,0,1,-(volume.AbsoluteSize.Y));
1399end)
1400local volumePercent = create('TextBox',{
1401MultiLine = false;
1402ClearTextOnFocus = false;
1403TextScaled = true;
1404Font = Enum.Font.SourceSansLight;
1405Size = UDim2.new(.5,0,.15,-7);
1406Position = UDim2.new(0,0,.85,7);
1407BackgroundTransparency = 1;
1408ZIndex = 8;
1409TextColor3 = Color3.new(1,1,1);
1410Parent = content;
1411})
1412volumePercent.Text = tostring(math.floor(audio.Volume*10)).."%"
1413volumePercent.Changed:connect(function()
1414volumePercent.Text = volumePercent.Text:gsub("%D","") .. "%"
1415end)
1416volumePercent.FocusLost:connect(function(enter)
1417if enter then
1418local text = volumePercent.Text:gsub("%D","")
1419local num = tonumber(text) or 0
1420if num > 100 then
1421num = 100
1422elseif num < 0 then
1423num = 0
1424end
1425audio.Volume = num/10
1426volumePercent.Text = tostring(math.floor(audio.Volume*10)).."%"
1427end
1428end)
1429local pitchTitle = create('TextLabel',{
1430TextScaled = true;
1431Text = "Pitch";
1432Font = Enum.Font.SourceSansLight;
1433Size = UDim2.new(.5,0,.1,0);
1434Position = UDim2.new(.5,0,0,0);
1435BackgroundTransparency = 1;
1436ZIndex = 8;
1437TextColor3 = Color3.new(1,1,1);
1438Parent = content;
1439})
1440local pitchBar = create('Frame',{
1441ZIndex = 8;
1442Size = UDim2.new(0,4,.75,0);
1443Position = UDim2.new(0.75,-2,.1,5);
1444BackgroundTransparency = 1;
1445BorderColor3 = Color3.new(1,1,1);
1446BorderSizePixel = 1;
1447Active = true;
1448Parent = content;
1449})
1450makePsuedoBorder(pitchBar,1)
1451local pitch = create('Frame',{
1452ZIndex = 8;
1453Size = UDim2.new(1,0,audio.Pitch/10,0);
1454BackgroundColor3 = Color3.new(1,1,1);
1455BorderSizePixel = 0;
1456Parent = pitchBar;
1457})
1458pitch.Position = UDim2.new(0,0,1,-(pitch.AbsoluteSize.Y));
1459local pitchDrag = create('Frame',{
1460Size = UDim2.new(0,16,0,8);
1461ZIndex = 8;
1462BackgroundColor3 = Color3.new(1,1,1);
1463BorderSizePixel = 0;
1464Active = true;
1465Parent = pitchBar;
1466})
1467pitchDrag.Position = pitch.Position + UDim2.new(0,-(pitchDrag.AbsoluteSize.X/2)+(pitch.AbsoluteSize.X/2),0,-(pitchDrag.AbsoluteSize.Y/2))
1468local function updatePitch()
1469local M = services.mouse;
1470local pitchS = (M.Y-pitchBar.AbsolutePosition.Y)/(pitchBar.AbsoluteSize.Y);
1471if pitchS >= 1 then pitchS = 1 elseif pitchS <= 0 then pitchS = 0 end
1472pitchS = math.abs(pitchS-1);
1473audio.PlaybackSpeed = pitchS*10
1474end
1475local pitchBarEvent
1476pitchBar.InputBegan:connect(function(input)
1477if input.UserInputType == Enum.UserInputType.MouseButton1 then
1478local M = services.mouse;
1479updatePitch();
1480pitchBarEvent = M.Move:connect(function()
1481updatePitch();
1482end)
1483end
1484end)
1485pitchBar.InputEnded:connect(function(input)
1486if input.UserInputType == Enum.UserInputType.MouseButton1 then
1487if pitchBarEvent then
1488pitchBarEvent:disconnect();
1489end
1490end
1491end)
1492local pitchDragEvent;
1493pitchDrag.InputBegan:connect(function(input)
1494if input.UserInputType == Enum.UserInputType.MouseButton1 then
1495local M = services.mouse;
1496updatePitch();
1497pitchDragEvent = M.Move:connect(function()
1498updatePitch();
1499end)
1500end
1501end)
1502pitchDrag.InputEnded:connect(function(input)
1503if input.UserInputType == Enum.UserInputType.MouseButton1 then
1504if pitchDragEvent then
1505pitchDragEvent:disconnect();
1506end
1507end
1508end)
1509pitch.Changed:connect(function()
1510pitchDrag.Position = pitch.Position + UDim2.new(0,-(pitchDrag.AbsoluteSize.X/2)+(pitch.AbsoluteSize.X/2),0,-(pitchDrag.AbsoluteSize.Y/2))
1511pitch.Position = UDim2.new(0,0,1,-(pitch.AbsoluteSize.Y));
1512end)
1513local pitchPercent = create('TextBox',{
1514MultiLine = false;
1515ClearTextOnFocus = false;
1516Text = tostring(math.floor(audio.Pitch*100)).."%";
1517TextScaled = true;
1518Font = Enum.Font.SourceSansLight;
1519Size = UDim2.new(.5,0,.15,-7);
1520Position = UDim2.new(0.5,0,.85,7);
1521BackgroundTransparency = 1;
1522ZIndex = 8;
1523TextColor3 = Color3.new(1,1,1);
1524Parent = content;
1525})
1526pitchPercent.Changed:connect(function()
1527pitchPercent.Text = pitchPercent.Text:gsub("%D","") .. "%"
1528end)
1529pitchPercent.FocusLost:connect(function(enter)
1530if enter then
1531local text = pitchPercent.Text:gsub("%D","")
1532local num = tonumber(text) or 0
1533if num > 1000 then
1534num = 1000
1535elseif num < 0 then
1536num = 0
1537end
1538audio.Pitch = tonumber(num/100)
1539end
1540end)
1541audio.Changed:connect(function()
1542pitch.Size = UDim2.new(1,0,((audio.Pitch/10)),0);
1543pitchPercent.Text = tostring(math.floor(audio.Pitch*100)).."%"
1544volumePercent.Text = tostring(math.floor(audio.Volume*10)).."%"
1545volume.Size = UDim2.new(1,0,audio.Volume/10,0);
1546end)
1547end)
1548local looped = createIcon("rbxassetid://896365760",{
1549ZIndex = 8;
1550Position = UDim2.new(0.5,96,0.2,0);
1551Size = UDim2.new(0,48,0,48);
1552ImageColor3 = Color3.new(1,1,1);
1553Parent = audplr;
1554},true)
1555looped.InputBegan:connect(function(input)
1556if input.UserInputType == Enum.UserInputType.MouseButton1 then
1557audio.Looped = not audio.Looped
1558end
1559end)
1560coroutine.wrap(function()
1561while wait()do
1562updateTimer(audio.TimeLength,songTime)
1563updateTimer(audio.TimePosition,playedTime)
1564progress.Size = UDim2.new(math.floor(audio.TimePosition)/math.floor(audio.TimeLength),0,1,0)
1565looped.Rotation = audio.Looped and looped.Rotation + 3 or looped.Rotation
1566if r then audio.TimePosition = math.clamp(audio.TimePosition - .25,0,audio.TimeLength) end
1567if ff then audio.TimePosition = math.clamp(audio.TimePosition + .25,0,audio.TimeLength) end
1568end
1569end)()
1570end)
1571end
1572end)
1573tabHolder.Info.InputBegan:connect(function(input)
1574if input.UserInputType == Enum.UserInputType.MouseButton1 then
1575local window = Window.new({width = 250, height = 300, name='Info', icon='rbxassetid://894507994'})
1576local title = create('TextLabel',{
1577ZIndex = 8;
1578Text = "Nebula Hub V2";
1579Font = Enum.Font.SourceSansLight;
1580TextScaled = true;
1581BackgroundTransparency = 1;
1582TextColor3 = Color3.new(1,1,1);
1583Size = UDim2.new(.95,0,0,28);
1584Position = UDim2.new(0.025,0,0,0);
1585Parent = window.Content;
1586})
1587local decor = create('Frame',{
1588Size = UDim2.new(1, 0, 0, 1);
1589Position = UDim2.new(0, 0, 1, -3);
1590ZIndex = 8;
1591BorderSizePixel = 0;
1592BackgroundColor3 = Color3.new(1, 1, 1);
1593Parent = title;
1594})
1595local scrframe = create('ScrollingFrame',{
1596TopImage = "rbxassetid://158348114";
1597MidImage = "rbxassetid://158348114";
1598BottomImage = "rbxassetid://158348114";
1599BackgroundTransparency = 1;
1600Size = UDim2.new(1,0,1,-30);
1601Position = UDim2.new(0,0,0,30);
1602CanvasSize = UDim2.new(0,0,0,0);
1603ScrollBarThickness = 10;
1604ZIndex = 8;
1605Parent = window.Content;
1606})
1607local fe = workspace.FilteringEnabled and "Enabled" or "Disabled"
1608local FEInfo = create('TextLabel',{
1609ZIndex = 8;
1610Text = "Filtering is " .. fe;
1611TextScaled = true;
1612BackgroundTransparency = .9;
1613Font = Enum.Font.SourceSansLight;
1614BackgroundColor3 = Color3.new(1,1,1);
1615TextColor3 = Color3.new(1,1,1);
1616Size = UDim2.new(.95,0,0,24);
1617Position = UDim2.new(0.025,0,0,150);
1618Parent = scrframe;
1619})
1620local creditsInfo = create('TextButton',{
1621ZIndex = 8;
1622Text = "Credits";
1623TextScaled = true;
1624BackgroundTransparency = .9;
1625Font = Enum.Font.SourceSansLight;
1626BackgroundColor3 = Color3.new(1,1,1);
1627TextColor3 = Color3.new(1,1,1);
1628Size = UDim2.new(.95,0,0,24);
1629Position = UDim2.new(0.025,0,0,120);
1630Parent = scrframe;
1631})
1632creditsInfo.MouseButton1Down:connect(function()
1633local window = Window.new({width = 250, height = 250, name='Credits', icon='rbxassetid://894507994'})
1634local title = create('TextLabel',{
1635ZIndex = 8;
1636Text = "Credits";
1637TextScaled = true;
1638BackgroundColor3 = Color3.new(1,1,1);
1639BackgroundTransparency = .9;
1640TextColor3 = Color3.new(1,1,1);
1641Size = UDim2.new(.95,0,0,24);
1642Font = Enum.Font.SourceSansLight;
1643Position = UDim2.new(0.025,0,0,0);
1644Parent = window.Content;
1645})
1646local decor = create('Frame',{
1647Size = UDim2.new(1, 0, 0, 1);
1648Position = UDim2.new(0, 0, 1, -2);
1649ZIndex = 8;
1650BorderSizePixel = 0;
1651BackgroundColor3 = Color3.new(1, 1, 1);
1652Parent = title;
1653})
1654local body = create('TextLabel',{
1655ZIndex = 8;
1656Text = "Scripterity - Main Scripter\nfinny - Sales Manager\nic3w0lf - Script help\nfatboysraidmcdonalds - Server & Script help\nrocky2u - Being rocky & Script help\nmodFrost - Script help\nInternalSequence - Server help";
1657TextWrap = true;
1658TextSize = 21;
1659TextYAlignment = Enum.TextYAlignment.Top;
1660BackgroundTransparency = 1;
1661TextColor3 = Color3.new(1,1,1);
1662Size = UDim2.new(.95,0,1,-30);
1663Position = UDim2.new(0.025,0,0,24);
1664Font = Enum.Font.SourceSansLight;
1665Parent = window.Content;
1666})
1667end)
1668local settingsInfo = create('TextButton',{
1669ZIndex = 8;
1670Text = "Settings Tab Info";
1671TextScaled = true;
1672BackgroundTransparency = .9;
1673Font = Enum.Font.SourceSansLight;
1674BackgroundColor3 = Color3.new(1,1,1);
1675TextColor3 = Color3.new(1,1,1);
1676Size = UDim2.new(.95,0,0,24);
1677Position = UDim2.new(0.025,0,0,90);
1678Parent = scrframe;
1679})
1680settingsInfo.MouseButton1Down:connect(function()
1681local window = Window.new({width = 200, height = 250, name='Settings Info', icon='rbxassetid://894507994'})
1682local title = create('TextLabel',{
1683ZIndex = 8;
1684Text = "The Settings Tab";
1685TextScaled = true;
1686BackgroundColor3 = Color3.new(1,1,1);
1687BackgroundTransparency = .9;
1688TextColor3 = Color3.new(1,1,1);
1689Size = UDim2.new(.95,0,0,24);
1690Font = Enum.Font.SourceSansLight;
1691Position = UDim2.new(0.025,0,0,0);
1692Parent = window.Content;
1693})
1694local decor = create('Frame',{
1695Size = UDim2.new(1, 0, 0, 1);
1696Position = UDim2.new(0, 0, 1, -2);
1697ZIndex = 8;
1698BorderSizePixel = 0;
1699BackgroundColor3 = Color3.new(1, 1, 1);
1700Parent = title;
1701})
1702local body = create('TextLabel',{
1703ZIndex = 8;
1704Text = "The Settings Tab includes all of the settings for Nebula. Theme Color, Open/Close Keybind, and Blur Levels. All of these settings save automatically, which means no hassle with re-doing settings. (CHANGING THEME COLOR MAY LAG BASED ON COMPUTER SPECS)";
1705TextWrap = true;
1706TextSize = 13;
1707TextScaled = true;
1708TextYAlignment = Enum.TextYAlignment.Top;
1709BackgroundTransparency = 1;
1710TextColor3 = Color3.new(1,1,1);
1711Size = UDim2.new(.95,0,1,-30);
1712Position = UDim2.new(0.025,0,0,24);
1713Font = Enum.Font.SourceSansLight;
1714Parent = window.Content;
1715})
1716end)
1717local libraryInfo = create('TextButton',{
1718ZIndex = 8;
1719Text = "Library Tab Info";
1720TextScaled = true;
1721BackgroundTransparency = .9;
1722Font = Enum.Font.SourceSansLight;
1723BackgroundColor3 = Color3.new(1,1,1);
1724TextColor3 = Color3.new(1,1,1);
1725Size = UDim2.new(.95,0,0,24);
1726Position = UDim2.new(0.025,0,0,60);
1727Parent = scrframe;
1728})
1729libraryInfo.MouseButton1Down:connect(function()
1730local window = Window.new({width = 200, height = 250, name='Library Info', icon='rbxassetid://894507994'})
1731local title = create('TextLabel',{
1732ZIndex = 8;
1733Text = "The Library Tab";
1734TextScaled = true;
1735BackgroundColor3 = Color3.new(1,1,1);
1736BackgroundTransparency = .9;
1737TextColor3 = Color3.new(1,1,1);
1738Size = UDim2.new(.95,0,0,24);
1739Font = Enum.Font.SourceSansLight;
1740Position = UDim2.new(0.025,0,0,0);
1741Parent = window.Content;
1742})
1743local decor = create('Frame',{
1744Size = UDim2.new(1, 0, 0, 1);
1745Position = UDim2.new(0, 0, 1, -2);
1746ZIndex = 8;
1747BorderSizePixel = 0;
1748BackgroundColor3 = Color3.new(1, 1, 1);
1749Parent = title;
1750})
1751local body = create('TextLabel',{
1752ZIndex = 8;
1753Text = "The Library Tab allows you to search the Catalog for freemodels to insert, click a freemodel to insert it into the game, if it is a model you move it with your mouse, click to place at your mouse position. (DOES NOT WORK WITH ALL MODELS)";
1754TextWrap = true;
1755TextSize = 13;
1756TextScaled = true;
1757TextYAlignment = Enum.TextYAlignment.Top;
1758BackgroundTransparency = 1;
1759TextColor3 = Color3.new(1,1,1);
1760Size = UDim2.new(.95,0,1,-30);
1761Position = UDim2.new(0.025,0,0,24);
1762Font = Enum.Font.SourceSansLight;
1763Parent = window.Content;
1764})
1765end)
1766local musicInfo = create('TextButton',{
1767ZIndex = 8;
1768Text = "Music Tab Info";
1769TextScaled = true;
1770BackgroundTransparency = .9;
1771Font = Enum.Font.SourceSansLight;
1772BackgroundColor3 = Color3.new(1,1,1);
1773TextColor3 = Color3.new(1,1,1);
1774Size = UDim2.new(.95,0,0,24);
1775Position = UDim2.new(0.025,0,0,30);
1776Parent = scrframe;
1777})
1778musicInfo.MouseButton1Down:connect(function()
1779local window = Window.new({width = 200, height = 250, name='Music Info', icon='rbxassetid://894507994'})
1780local title = create('TextLabel',{
1781ZIndex = 8;
1782Text = "The Music Tab";
1783TextScaled = true;
1784BackgroundColor3 = Color3.new(1,1,1);
1785BackgroundTransparency = .9;
1786TextColor3 = Color3.new(1,1,1);
1787Size = UDim2.new(.95,0,0,24);
1788Font = Enum.Font.SourceSansLight;
1789Position = UDim2.new(0.025,0,0,0);
1790Parent = window.Content;
1791})
1792local decor = create('Frame',{
1793Size = UDim2.new(1, 0, 0, 1);
1794Position = UDim2.new(0, 0, 1, -2);
1795ZIndex = 8;
1796BorderSizePixel = 0;
1797BackgroundColor3 = Color3.new(1, 1, 1);
1798Parent = title;
1799})
1800local body = create('TextLabel',{
1801ZIndex = 8;
1802Text = "The Music Tab comes with audio search & ID playing, as well as a fully functional Audio Player, that allows Speed & Volume changing, real-time progress bar, Fast forward, Rewind, Pause, Play, and Stop As well as Sound Looping.";
1803TextWrap = true;
1804TextSize = 13;
1805TextScaled = true;
1806TextYAlignment = Enum.TextYAlignment.Top;
1807BackgroundTransparency = 1;
1808TextColor3 = Color3.new(1,1,1);
1809Size = UDim2.new(.95,0,1,-30);
1810Position = UDim2.new(0.025,0,0,24);
1811Font = Enum.Font.SourceSansLight;
1812Parent = window.Content;
1813})
1814end)
1815local scriptsInfo = create('TextButton',{
1816ZIndex = 8;
1817Text = "Script Tabs Info";
1818TextScaled = true;
1819BackgroundTransparency = .9;
1820BackgroundColor3 = Color3.new(1,1,1);
1821Font = Enum.Font.SourceSansLight;
1822TextColor3 = Color3.new(1,1,1);
1823Size = UDim2.new(.95,0,0,24);
1824Position = UDim2.new(0.025,0,0,0);
1825Parent = scrframe;
1826})
1827scriptsInfo.MouseButton1Down:connect(function()
1828local window = Window.new({width = 200, height = 250, name='Scripts Info', icon='rbxassetid://894507994'})
1829local title = create('TextLabel',{
1830ZIndex = 8;
1831Text = "The Script Tabs";
1832TextScaled = true;
1833Font = Enum.Font.SourceSansLight;
1834BackgroundColor3 = Color3.new(1,1,1);
1835BackgroundTransparency = .9;
1836TextColor3 = Color3.new(1,1,1);
1837Size = UDim2.new(.95,0,0,24);
1838Position = UDim2.new(0.025,0,0,0);
1839Parent = window.Content;
1840})
1841local decor = create('Frame',{
1842Size = UDim2.new(1, 0, 0, 1);
1843Position = UDim2.new(0, 0, 1, -2);
1844ZIndex = 8;
1845BorderSizePixel = 0;
1846BackgroundColor3 = Color3.new(1, 1, 1);
1847Parent = title;
1848})
1849local body = create('TextLabel',{
1850ZIndex = 8;
1851Text = "The Script Tabs contains about 470+ scripts ready to be inserted at any time, most will reset upon Character Death, the server scripts should not. Click one of the buttons to insert the script.";
1852TextWrap = true;
1853TextSize = 13;
1854TextScaled = true;
1855TextYAlignment = Enum.TextYAlignment.Top;
1856BackgroundTransparency = 1;
1857Font = Enum.Font.SourceSansLight;
1858TextColor3 = Color3.new(1,1,1);
1859Size = UDim2.new(.95,0,1,-30);
1860Position = UDim2.new(0.025,0,0,24);
1861Parent = window.Content;
1862})
1863end)
1864end
1865end)
1866tabHolder.Settings.InputBegan:connect(function(input)
1867if input.UserInputType == Enum.UserInputType.MouseButton1 then
1868local windo = Window.new({width = 250, height = 300, name='Settings', icon='rbxassetid://898100298'})
1869local colorButton = create('TextButton',{
1870ZIndex = 8;
1871Text = "Set Window Color";
1872Font = Enum.Font.SourceSansLight;
1873TextScaled = true;
1874BackgroundColor3 = Color3.new(1,1,1);
1875BackgroundTransparency = .9;
1876TextColor3 = Color3.new(1,1,1);
1877Size = UDim2.new(.95,0,0,24);
1878Position = UDim2.new(0.025,0,0,0);
1879Parent = windo.Content;
1880})
1881local icon = createIcon('rbxassetid://904628594', {
1882Size = UDim2.new(0, 0, 1, 0);
1883ZIndex = 8;
1884Parent = colorButton;
1885})
1886icon.Size = UDim2.new(0,icon.AbsoluteSize.Y,0,icon.AbsoluteSize.Y)
1887local keyboardButton = create('TextButton',{
1888ZIndex = 8;
1889Text = "Set Nebula Keybind";
1890TextScaled = true;
1891BackgroundColor3 = Color3.new(1,1,1);
1892BackgroundTransparency = .9;
1893TextColor3 = Color3.new(1,1,1);
1894Size = UDim2.new(.95,0,0,24);
1895Font = Enum.Font.SourceSansLight;
1896Position = UDim2.new(0.025,0,0,30);
1897Parent = windo.Content;
1898})
1899local icon2 = createIcon("rbxassetid://950538977", {
1900Size = UDim2.new(0, 0, 1, 0);
1901ZIndex = 8;
1902Parent = keyboardButton;
1903})
1904icon2.Size = UDim2.new(0,icon2.AbsoluteSize.Y,0,icon2.AbsoluteSize.Y)
1905local blurButton = create('TextButton',{
1906Font = Enum.Font.SourceSansLight;
1907ZIndex = 8;
1908Text = "Set Blur Level";
1909TextScaled = true;
1910BackgroundColor3 = Color3.new(1,1,1);
1911BackgroundTransparency = .9;
1912TextColor3 = Color3.new(1,1,1);
1913Size = UDim2.new(.95,0,0,24);
1914Position = UDim2.new(0.025,0,0,60);
1915Parent = windo.Content;
1916})
1917local icon3 = createIcon('rbxassetid://951352122', {
1918Size = UDim2.new(0, 0, 1, 0);
1919ZIndex = 8;
1920Parent = blurButton;
1921})
1922icon3.Size = UDim2.new(0,icon3.AbsoluteSize.Y,0,icon3.AbsoluteSize.Y)
1923blurButton.MouseButton1Down:connect(function()
1924local window = Window.new({width = 165, height = 100, name='Set Blur', icon='rbxassetid://951352122'})
1925local blurLabel = create('TextLabel',{
1926ZIndex = 8;
1927Text = "Blur Level";
1928TextScaled = true;
1929BackgroundColor3 = Color3.new(1,1,1);
1930BackgroundTransparency = 1;
1931TextColor3 = Color3.new(1,1,1);
1932Size = UDim2.new(0,60,0,60);
1933Position = UDim2.new(0.45,-60,0.05,0);
1934Parent = window.Content;
1935})
1936local blurBox = create('TextBox',{
1937ZIndex = 8;
1938Text = tostring(settings.blurLevel);
1939ClearTextOnFocus = false;
1940TextSize = 28;
1941MultiLine = false;
1942BackgroundColor3 = Color3.new(1,1,1);
1943BackgroundTransparency = .9;
1944TextColor3 = Color3.new(1,1,1);
1945Size = UDim2.new(0,60,0,60);
1946Position = UDim2.new(0.55,0,0.05,0);
1947Parent = window.Content;
1948})
1949blurBox.Changed:connect(function()
1950blurBox.Text = blurBox.Text:gsub("%D","")
1951end)
1952blurBox.FocusLost:connect(function(enter)
1953if enter then
1954settings.blurLevel = tonumber(blurBox.Text)
1955blurLevel = enabled and tonumber(blurBox.Text) or blurLevel
1956end
1957end)
1958end)
1959keyboardButton.MouseButton1Down:connect(function()
1960local window = Window.new({width = 165, height = 100, name='Set Key', icon='rbxassetid://950538977'})
1961local changeButton = create('TextButton',{
1962ZIndex = 8;
1963Text = "Set Keybind";
1964Size = UDim2.new(.45,0,.6,0);
1965BackgroundColor3 = Color3.new(1,1,1);
1966BackgroundTransparency = .9;
1967TextColor3 = Color3.new(1,1,1);
1968Position = UDim2.new(0.05,0,0.15,0);
1969Font = Enum.Font.SourceSansLight;
1970TextScaled = true;
1971Parent = window.Content;
1972})
1973local currentButton = create('TextLabel',{
1974ZIndex = 8;
1975Text = tostring(binds[1][1]):sub(14);
1976Size = UDim2.new(.45,0,.6,0);
1977BackgroundTransparency = 1;
1978TextColor3 = Color3.new(1,1,1);
1979Position = UDim2.new(0.5,0,0.15,0);
1980Font = Enum.Font.SourceSansLight;
1981TextScaled = true;
1982Parent = window.Content;
1983})
1984local function b()
1985toggleable = false
1986currentButton.Text = "Press A Key"
1987local a = services.input.InputBegan:wait()
1988if a.UserInputType == Enum.UserInputType.Keyboard then
1989binds[1][1] = a.KeyCode
1990settings.toggleKey = binds[1][1]
1991currentButton.Text = tostring(binds[1][1]):sub(14);
1992wait()
1993toggleable = true;
1994else
1995b()
1996end
1997end
1998changeButton.MouseButton1Down:connect(b)
1999end)
2000colorButton.MouseButton1Down:connect(function()
2001local window = Window.new({width = 250, height = 300, name='Color Mixer', icon='rbxassetid://904628594',closed = function(this)
2002local bufferText = create('TextLabel',{
2003Position = UDim2.new(0.025,0,0.125,0);
2004Size = UDim2.new(.95,0,.075,0);
2005TextScaled = true;
2006Font = Enum.Font.SourceSansLight;
2007TextColor3 = Color3.new(1,1,1);
2008BackgroundTransparency = .9;
2009BorderSizePixel = 0;
2010BackgroundColor3 = Color3.new(1,1,1);
2011Text = "Closing Buffer Activated";
2012ZIndex = 8;
2013Parent = this;
2014})
2015for i,v in pairs(this.Content:children())do
2016v.Visible = false;
2017wait()
2018v:Destroy()
2019end
2020end})
2021local overallColor
2022local unmixedColor
2023local colorMixerBar = create('Frame',{
2024Size = UDim2.new(0,24,0,180);
2025Position = UDim2.new(.95,-24,0.05,0);
2026BackgroundTransparency = 1;
2027Active = true;
2028ZIndex = 8;
2029Parent = window.Content;
2030})
2031local function returnCenterPosition(g)
2032return {x=g.AbsolutePosition.X + (g.AbsoluteSize.X/2),y=g.AbsolutePosition.Y + (g.AbsoluteSize.Y/2)}
2033end
2034for hue = 0,180,1 do
2035local c = create('Frame',{
2036Position = UDim2.new(0,0,0,hue);
2037Size = UDim2.new(1,0,0,1);
2038BackgroundColor3 = Color3.fromHSV(hue/180,1,1);
2039ZIndex = 8;
2040BorderSizePixel = 0;
2041Name = "Color";
2042Parent = colorMixerBar;
2043})
2044end
2045local colorHue = Color3.toHSV(settings.mainColor)
2046local colorBarDrag = create('Frame',{
2047Name = "ColorDrag";
2048BackgroundColor3 = Color3.new(1,1,1);
2049Size = UDim2.new(1,4,0,8);
2050Position = UDim2.new(0,-2,0,(180*colorHue)-2);
2051Active = true;
2052BorderSizePixel = 0;
2053ZIndex = 8;
2054Draggable = true;
2055Parent = colorMixerBar;
2056},true)
2057local colorBarDragColor = create('Frame',{
2058Name = "DragColor";
2059Size = UDim2.new(1,-4,0,4);
2060Position = UDim2.new(0,2,0,2);
2061BorderSizePixel = 0;
2062Active = true;
2063ZIndex = 8;
2064Parent = colorBarDrag
2065},true)
2066colorBarDragColor.BackgroundColor3 = Color3.fromHSV(colorHue,1,1)
2067colorBarDrag.Changed:connect(function()
2068if colorBarDrag.AbsolutePosition.X ~= colorMixerBar.AbsolutePosition.X-2 then
2069colorBarDrag.Position = UDim2.new(UDim.new(0,-2),colorBarDrag.Position.Y)
2070end
2071if colorBarDrag.AbsolutePosition.Y > (colorMixerBar.AbsolutePosition.Y + colorMixerBar.AbsoluteSize.Y)-4 then
2072colorBarDrag.Position = UDim2.new(colorBarDrag.Position.X,UDim.new(0,colorMixerBar.AbsoluteSize.Y-4))
2073elseif colorBarDrag.AbsolutePosition.Y < colorMixerBar.AbsolutePosition.Y-4 then
2074colorBarDrag.Position = UDim2.new(colorBarDrag.Position.X,UDim.new(0,-4))
2075end
2076coroutine.wrap(function()
2077for i,v in pairs(colorMixerBar:children())do
2078if v.Name == "Color"then
2079if v.AbsolutePosition.Y == returnCenterPosition(colorBarDrag).y then
2080colorBarDragColor.BackgroundColor3 = v.BackgroundColor3
2081end
2082end
2083end
2084end)()
2085end)
2086local colorEvent
2087colorMixerBar.InputBegan:connect(function(input)
2088if input.UserInputType == Enum.UserInputType.MouseButton1 then
2089local M = services.mouse;
2090colorBarDrag.Position = UDim2.new(UDim.new(0,-2),UDim.new(0,M.Y-colorMixerBar.AbsolutePosition.Y))
2091volumeBarEvent = M.Move:connect(function()
2092colorBarDrag.Position = UDim2.new(UDim.new(0,-2),UDim.new(0,M.Y-colorMixerBar.AbsolutePosition.Y))
2093end)
2094end
2095end)
2096colorMixerBar.InputEnded:connect(function(input)
2097if input.UserInputType == Enum.UserInputType.MouseButton1 then
2098if volumeBarEvent then
2099volumeBarEvent:disconnect();
2100end
2101end
2102end)
2103local hue = Color3.toHSV(colorBarDragColor.BackgroundColor3)
2104colorBarDragColor.Changed:connect(function(prop)
2105if prop == "BackgroundColor3"then
2106hue = Color3.toHSV(colorBarDragColor.BackgroundColor3)
2107end
2108end)
2109local hsvHolder = create('Frame',{
2110Position = UDim2.new(0.05,0,0.05,0);
2111Size = UDim2.new(0,183,0,183);
2112BackgroundTransparency = 1;
2113Active = true;
2114ZIndex = 8;
2115Parent = window.Content;
2116})
2117local hsvTable = {}
2118for sat = 0,45,1 do
2119for light = 0,45,1 do
2120local c = create('Frame',{
2121Position = UDim2.new(0,sat*4,0,light*4);
2122Size = UDim2.new(0,4,0,4);
2123BackgroundColor3 = Color3.fromHSV(hue,sat/45,light/45);
2124ZIndex = 8;
2125BorderSizePixel = 0;
2126Parent = hsvHolder;
2127})
2128table.insert(hsvTable,c)
2129coroutine.wrap(function()
2130services.RunService.RenderStepped:connect(function()
2131if(c.BackgroundColor3 ~= Color3.fromHSV(hue,sat/45,light/45))then
2132c.BackgroundColor3 = Color3.fromHSV(hue,sat/45,light/45);
2133end
2134end)
2135end)()
2136end
2137end
2138local h,s,l = Color3.toHSV(settings.mainColor)
2139local outerDragA = create('Frame',{
2140Size = UDim2.new(0,15,0,3);
2141Position = UDim2.new(0,((45*s)*4)-7,0,((45*l)*4)-1);
2142ZIndex = 8;
2143BorderSizePixel = 0;
2144BackgroundColor3 = Color3.new(1,1,1);
2145Parent = hsvHolder;
2146})
2147local outerDragB = create('Frame',{
2148Size = UDim2.new(0,3,0,15);
2149Position = outerDragA.Position + UDim2.new(0,6,0,-6);
2150ZIndex = 8;
2151BorderSizePixel = 0;
2152BackgroundColor3 = Color3.new(1,1,1);
2153Parent = hsvHolder;
2154})
2155local innerDragA = create('Frame',{
2156Size = UDim2.new(0,13,0,1);
2157Position = outerDragA.Position + UDim2.new(0,1,0,1);
2158ZIndex = 8;
2159BorderSizePixel = 0;
2160BackgroundColor3 = settings.mainColor;
2161Parent = hsvHolder;
2162})
2163local innerDragB = create('Frame',{
2164Size = UDim2.new(0,1,0,13);
2165Position = outerDragB.Position + UDim2.new(0,1,0,1);
2166ZIndex = 8;
2167BorderSizePixel = 0;
2168BackgroundColor3 = settings.mainColor;
2169Parent = hsvHolder;
2170})
2171local indicator = create('Frame',{
2172Size = UDim2.new(0,1,0,1);
2173Position = UDim2.new(0,7,0,1);
2174ZIndex = 8;
2175BackgroundTransparency = 1;
2176Parent = outerDragA;
2177})
2178outerDragA.Changed:connect(function()
2179outerDragB.Position = outerDragA.Position + UDim2.new(0,6,0,-6);
2180innerDragA.Position = outerDragA.Position + UDim2.new(0,1,0,1);
2181innerDragB.Position = outerDragB.Position + UDim2.new(0,1,0,1);
2182end)
2183local function collisionDetect(gui1, gui2)
2184local g1p, g1s = gui1.AbsolutePosition, gui1.AbsoluteSize;
2185local g2p, g2s = gui2.AbsolutePosition, gui2.AbsoluteSize;
2186return ((g1p.x < g2p.x + g2s.x and g1p.x + g1s.x > g2p.x) and (g1p.y < g2p.y + g2s.y and g1p.y + g1s.y > g2p.y));
2187end;
2188local hsvEvent;
2189local function hsvFunction()
2190local M = services.mouse;
2191local X,Y = 0,0
2192if M.X < hsvHolder.AbsolutePosition.X then
2193X = 0
2194elseif M.X > hsvHolder.AbsolutePosition.X + hsvHolder.AbsoluteSize.X then
2195X = hsvHolder.AbsoluteSize.X
2196else
2197X = M.X - hsvHolder.AbsolutePosition.X
2198end
2199if M.Y < hsvHolder.AbsolutePosition.Y then
2200Y = 0
2201elseif M.Y > hsvHolder.AbsolutePosition.Y + hsvHolder.AbsoluteSize.Y then
2202Y = hsvHolder.AbsoluteSize.Y
2203else
2204Y = M.Y - hsvHolder.AbsolutePosition.Y
2205end
2206X,Y = X-7,Y -1
2207outerDragA.Position = UDim2.new(0,X,0,Y)
2208end
2209hsvHolder.InputBegan:connect(function(input)
2210if input.UserInputType == Enum.UserInputType.MouseButton1 then
2211local M = services.mouse;
2212hsvFunction()
2213hsvEvent = M.Move:connect(function()
2214hsvFunction()
2215end)
2216end
2217end)
2218hsvHolder.InputEnded:connect(function(input)
2219if input.UserInputType == Enum.UserInputType.MouseButton1 then
2220if hsvEvent then
2221hsvEvent:disconnect();
2222end
2223end
2224end)
2225local function createNumberOnlyBox(t)
2226local box = create("TextBox",{
2227MultiLine = false;
2228ClearTextOnFocus = false;
2229Font = Enum.Font.SourceSansLight;
2230BackgroundTransparency = 1;
2231ZIndex = 8;
2232TextColor3 = Color3.new(1,1,1);
2233Text = "";
2234})
2235for i,v in pairs(t)do
2236box[i]=v
2237end
2238box.Changed:connect(function()
2239box.Text = box.Text:gsub("%D","")
2240end)
2241return box
2242end
2243local rLabel = create('TextLabel',{
2244Font = Enum.Font.SourceSansLight;
2245ZIndex = 8;
2246Name = "rLabel";
2247Text = "R";
2248TextColor3 = Color3.new(1,1,1);
2249TextSize = 24;
2250Size = UDim2.new(.1,0,.1,0);
2251Position = UDim2.new(.15,0,.75,0);
2252BackgroundTransparency = 1;
2253Parent = window.Content
2254})
2255local rBox = createNumberOnlyBox({
2256Name = "rBox";
2257TextSize = 26;
2258Text = math.floor(settings.mainColor.r*255);
2259Position = UDim2.new(.15,0,0.85,0);
2260Size = UDim2.new(0.1,0,0.1,0);
2261Parent = window.Content;
2262})
2263local gLabel = create('TextLabel',{
2264Font = Enum.Font.SourceSansLight;
2265ZIndex = 8;
2266Name = "gLabel";
2267Text = "G";
2268TextColor3 = Color3.new(1,1,1);
2269TextSize = 20;
2270Size = UDim2.new(.1,0,.1,0);
2271Position = UDim2.new(.35,0,.75,0);
2272BackgroundTransparency = 1;
2273Parent = window.Content
2274})
2275local gBox = createNumberOnlyBox({
2276Name = "gBox";
2277TextSize = 26;
2278Text = math.floor(settings.mainColor.g*255);
2279Position = UDim2.new(.35,0,0.85,0);
2280Size = UDim2.new(0.1,0,0.1,0);
2281Parent = window.Content;
2282})
2283local bLabel = create('TextLabel',{
2284Font = Enum.Font.SourceSansLight;
2285ZIndex = 8;
2286Name = "bLabel";
2287Text = "B";
2288TextColor3 = Color3.new(1,1,1);
2289TextSize = 20;
2290Size = UDim2.new(.1,0,.1,0);
2291Position = UDim2.new(.55,0,.75,0);
2292BackgroundTransparency = 1;
2293Parent = window.Content
2294})
2295local bBox = createNumberOnlyBox({
2296Name = "bBox";
2297TextSize = 26;
2298Text = math.floor(settings.mainColor.b*255);
2299Position = UDim2.new(.55,0,0.85,0);
2300Size = UDim2.new(0.1,0,0.1,0);
2301Parent = window.Content;
2302})
2303local function updateColorGuis()
2304local h,s,l = Color3.toHSV(settings.mainColor)
2305rBox.Text = math.floor(settings.mainColor.r*255);
2306gBox.Text = math.floor(settings.mainColor.g*255);
2307bBox.Text = math.floor(settings.mainColor.b*255);
2308innerDragA.BackgroundColor3 = settings.mainColor;
2309innerDragB.BackgroundColor3 = settings.mainColor;
2310end
2311local function FocusLost()
2312settings.mainColor = Color3.fromRGB(tonumber(rBox.Text),tonumber(gBox.Text),tonumber(bBox.Text))
2313local h,s,l = Color3.toHSV(settings.mainColor)
2314updateColorGuis()
2315local colorHue = Color3.toHSV(settings.mainColor)
2316colorBarDrag.Position = UDim2.new(0,-2,0,(180*colorHue)-2);
2317outerDragA.Position = UDim2.new(0,((45*s)*4)-7,0,((45*l)*4)-1)
2318end
2319rBox.FocusLost:connect(function(enter)
2320if enter then
2321FocusLost()
2322end
2323end)
2324gBox.FocusLost:connect(function(enter)
2325if enter then
2326FocusLost()
2327end
2328end)
2329bBox.FocusLost:connect(function(enter)
2330if enter then
2331FocusLost()
2332end
2333end)
2334local cEvent
2335indicator.Changed:connect(function(prop)
2336if prop == "AbsolutePosition"then
2337if cEvent then cEvent:disconnect() end
2338coroutine.wrap(function()
2339for i,v in pairs(hsvTable)do
2340if collisionDetect(indicator,v)then
2341settings.mainColor = v.BackgroundColor3
2342updateColorGuis()
2343cEvent = v.Changed:connect(function(prop)
2344if prop == "BackgroundColor3"then
2345settings.mainColor = v.BackgroundColor3
2346updateColorGuis()
2347end
2348end)
2349end
2350end
2351end)()
2352end
2353end)
2354end)
2355end
2356end)
2357local function alternateColors(object,property,oldColor3,newColor3,i)
2358coroutine.wrap(function()
2359for i = 0,1,i do
2360object[property] = oldColor3:lerp(newColor3,i)
2361game:service'RunService'.RenderStepped:wait()
2362end
2363object[property] = newColor3
2364end)()
2365end
2366local Colorables = {}
2367local function addRecolorables(inst)
2368if inst.BackgroundColor3 == colorCheck then
2369table.insert(Colorables,inst)
2370end
2371inst.ChildAdded:connect(function(i)
2372if i.BackgroundColor3 == colorCheck then
2373table.insert(Colorables,i)
2374end
2375end)
2376end
2377Children(gui,function(inst)
2378addRecolorables(inst)
2379end)
2380gui.ChildAdded:connect(function(i)
2381Children(i,function(inst)
2382addRecolorables(inst)
2383end)
2384addRecolorables(i)
2385end)
2386Children(pingui,function(inst)
2387addRecolorables(inst)
2388end)
2389pingui.ChildAdded:connect(function(i)
2390Children(i,function(inst)
2391addRecolorables(inst)
2392end)
2393addRecolorables(i)
2394end)
2395game:service'RunService'.Stepped:connect(function()
2396if colorCheck ~= settings.mainColor then
2397coroutine.wrap(function()
2398for i,v in pairs(Colorables)do
2399v.BackgroundColor3 = settings.mainColor
2400end
2401colorCheck = settings.mainColor
2402end)()
2403end
2404end)
2405services.Players.PlayerRemoving:connect(function(player)
2406setCookie('BackgroundColor',tostring(math.floor(settings.mainColor.r*255)..", "..math.floor(settings.mainColor.g*255)..", "..math.floor(settings.mainColor.b*255)));
2407setCookie('KeyBind',tostring(settings.toggleKey):sub(14))
2408setCookie('BlurLevel',tostring(settings.blurLevel))
2409end)
2410local Intro = createIcon('rbxassetid://1039272774',{
2411Size = UDim2.new(0,150,0,150);
2412Position = UDim2.new(.5,-50,0,-150);
2413Visible = true;
2414Parent = gui;
2415})
2416local IntroText2 = create('TextLabel',{
2417Transparency = 1;
2418Text = "Nebula Hub V2";
2419TextSize = 42;
2420TextColor3 = Color3.new(1,1,1);
2421Font = Enum.Font.SourceSansLight;
2422Position = UDim2.new(0,0,0,-42);
2423Size = UDim2.new(1,0,0,42);
2424Parent = Intro;
2425})
2426local IntroText = create('TextLabel',{
2427Transparency = 1;
2428Text = "Created by Scripterity & finny";
2429TextSize = 32;
2430TextColor3 = Color3.new(1,1,1);
2431Font = Enum.Font.SourceSansLight;
2432Position = UDim2.new(0,0,1,0);
2433Size = UDim2.new(1,0,0,30);
2434Parent = Intro;
2435})
2436repeat wait()until Intro.IsLoaded
2437Intro:TweenPosition(UDim2.new(.5,-75,.5,-75),Enum.EasingDirection.Out,Enum.EasingStyle.Back,.5,true)
2438wait(.75)
2439tweenRecursiveTransparency(IntroText2,0,-.05);
2440tweenRecursiveTransparency(IntroText,0,-.05);
2441wait(5)
2442Intro:TweenPosition(UDim2.new(.5,-75,1,0),Enum.EasingDirection.In,Enum.EasingStyle.Quint,.5,true)
2443tweenRecursiveTransparency(Intro,1,.05)
2444tweenRecursiveTransparency(IntroText,1,.05)
2445tweenRecursiveTransparency(IntroText2,1,.05)
2446repeat wait()until Intro.ImageTransparency == 1
2447Intro:Destroy()
2448© 2020 GitHub, Inc.
2449Terms
2450Privacy
2451Security
2452Status
2453Help
2454Contact GitHub
2455Pricing
2456API
2457Training
2458Blog
2459About