Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made by fantasygamery
- --User Variables
- -- Colors: Blue , Red and Purple
- local UColor= 'Purple'
- --
- local Pl=game:service'Players'.LocalPlayer:FindFirstChildOfClass'PlayerGui'
- local Color=function(_1,_2,_3) return Color3.new(_1/255,_2/255,_3/255) end
- function setProps(Table,obj)
- for prop,val in pairs(Table) do
- obj[prop]=val
- end
- end
- function _do(gui)
- local GF=gui.Frame
- -- Function
- local Frame ={
- ['BackgroundColor3']=(UColor:lower() =='blue' and Color(0, 170, 255) or (UColor:lower()=='red' and Color(147, 0, 0) or UColor:lower()=='purple' and Color(85, 0, 127))),
- ['BackgroundTransparency']=.3,
- }
- local Refresh ={
- ['BackgroundColor3']=Color(216, 216, 216),
- ['BackgroundTransparency']=.7,
- ['BorderSizePixel']=1,
- ['BorderColor3']=Color(216, 216, 216),
- }
- local Exit ={
- ['Size']=UDim2.new(0,70,0,20),
- }
- local SCFrame ={
- }
- local Default ={
- ['Expand']={},
- ['Body'] ={},
- ['Join'] ={},
- }
- -- ProtSet
- GF.Visible=false
- setProps(Frame,GF)
- setProps(Refresh,GF:WaitForChild'Refresh')
- setProps(Exit,GF:WaitForChild'Exit')
- GF.Visible=true
- end
- Pl.ChildAdded:Connect(function(g)
- if not g.Name == 'SB_GameList' then return end
- wait(1)
- _do(g)
- end)
- for _,g in pairs(Pl:GetChildren()) do
- if g.Name == 'SB_GameList' then _do(g) end
- end
Advertisement
Add Comment
Please, Sign In to add comment