Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Cpicker = Instance.new("Frame")
- local Slide = Instance.new("Frame")
- local UIListLayout = Instance.new("UIListLayout")
- local ColorPickerI = Instance.new("ImageLabel")
- local Value = Instance.new("ImageLabel")
- local Marker = Instance.new("Frame")
- local RGB = Instance.new("ImageLabel")
- local Marker_2 = Instance.new("Frame")
- local Preview = Instance.new("ImageLabel")
- local Info = Instance.new("Frame")
- local Apply = Instance.new("TextButton")
- local Background = Instance.new("ImageLabel")
- local Background_2 = Instance.new("ImageLabel")
- local Menu = Instance.new("ImageButton")
- local Title = Instance.new("TextLabel")
- local Title_2 = Instance.new("TextLabel")
- local TextButton = Instance.new("TextButton")
- Cpicker.Name = "Cpicker"
- Cpicker.Parent = game.CoreGui.Vape
- Cpicker.BackgroundColor3 = Color3.fromRGB(0, 255, 162)
- Cpicker.BorderSizePixel = 0
- Cpicker.Position = UDim2.new(0.559482813, 0, 0.320328534, 0)
- Cpicker.Size = UDim2.new(0, 196, 0, 41)
- Slide.Name = "Slide"
- Slide.Parent = Cpicker
- Slide.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Slide.BackgroundTransparency = 0.500
- Slide.BorderSizePixel = 0
- Slide.ClipsDescendants = true
- Slide.Position = UDim2.new(0.023292074, 0, 0.977238715, 0)
- Slide.Size = UDim2.new(0, 186, 0, 144)
- UIListLayout.Parent = Slide
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- ColorPickerI.Name = "ColorPickerI"
- ColorPickerI.Parent = Slide
- ColorPickerI.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ColorPickerI.BackgroundTransparency = 1.000
- ColorPickerI.Size = UDim2.new(0, 186, 0, 144)
- ColorPickerI.Image = "rbxassetid://3570695787"
- ColorPickerI.ImageColor3 = Color3.fromRGB(50, 50, 50)
- ColorPickerI.ScaleType = Enum.ScaleType.Slice
- ColorPickerI.SliceCenter = Rect.new(100, 100, 100, 100)
- Value.Name = "Value"
- Value.Parent = ColorPickerI
- Value.AnchorPoint = Vector2.new(0.5, 0)
- Value.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Value.BorderColor3 = Color3.fromRGB(40, 40, 40)
- Value.BorderSizePixel = 2
- Value.Position = UDim2.new(0.875926912, 0, 0.0362744816, 0)
- Value.Size = UDim2.new(0.152402624, 0, 0.693020642, 0)
- Value.ZIndex = 4
- Value.Image = "rbxassetid://359311684"
- Value.SliceCenter = Rect.new(10, 10, 90, 90)
- Marker.Name = "Marker"
- Marker.Parent = Value
- Marker.AnchorPoint = Vector2.new(0.5, 0.5)
- Marker.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Marker.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Marker.BorderSizePixel = 2
- Marker.Position = UDim2.new(0.5, 0, 0, 0)
- Marker.Size = UDim2.new(1, 4, 0, 2)
- Marker.ZIndex = 5
- RGB.Name = "RGB"
- RGB.Parent = ColorPickerI
- RGB.AnchorPoint = Vector2.new(0.5, 0)
- RGB.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- RGB.BorderColor3 = Color3.fromRGB(40, 40, 40)
- RGB.BorderSizePixel = 2
- RGB.Position = UDim2.new(0.408735216, 0, 0.0362745039, 0)
- RGB.Size = UDim2.new(0.703724325, 0, 0.693020642, 0)
- RGB.ZIndex = 4
- RGB.Image = "rbxassetid://1433361550"
- RGB.SliceCenter = Rect.new(10, 10, 90, 90)
- Marker_2.Name = "Marker"
- Marker_2.Parent = RGB
- Marker_2.AnchorPoint = Vector2.new(0.5, 0.5)
- Marker_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Marker_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Marker_2.BorderSizePixel = 2
- Marker_2.Position = UDim2.new(0.5, 0, 1, 0)
- Marker_2.Size = UDim2.new(0, 4, 0, 4)
- Marker_2.ZIndex = 5
- Preview.Name = "Preview"
- Preview.Parent = ColorPickerI
- Preview.AnchorPoint = Vector2.new(0.5, 0)
- Preview.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Preview.BorderColor3 = Color3.fromRGB(40, 40, 40)
- Preview.BorderSizePixel = 2
- Preview.Position = UDim2.new(0.504234493, 0, 0.77313441, 0)
- Preview.Size = UDim2.new(0.895787001, 0, 0.0893596485, 0)
- Preview.ZIndex = 4
- Preview.SliceCenter = Rect.new(10, 10, 90, 90)
- Info.Name = "Info"
- Info.Parent = ColorPickerI
- Info.AnchorPoint = Vector2.new(0.5, 0)
- Info.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Info.BackgroundTransparency = 1.000
- Info.Position = UDim2.new(0.5, 0, 1.03699994, 0)
- Info.Size = UDim2.new(1, 0, 0.296299994, 0)
- Apply.Name = "Apply"
- Apply.Parent = Info
- Apply.AnchorPoint = Vector2.new(0.5, 0.5)
- Apply.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Apply.BackgroundTransparency = 0.400
- Apply.BorderSizePixel = 0
- Apply.Position = UDim2.new(0.509950399, 0, -0.300898612, 0)
- Apply.Size = UDim2.new(0.907218456, 0, 0.352050453, 0)
- Apply.ZIndex = 7
- Apply.Font = Enum.Font.SourceSansBold
- Apply.Text = "APPLY"
- Apply.TextColor3 = Color3.fromRGB(255, 255, 255)
- Apply.TextSize = 13.000
- Apply.TextWrapped = true
- Background.Name = "Background"
- Background.Parent = Info
- Background.AnchorPoint = Vector2.new(0.5, 0.5)
- Background.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Background.BackgroundTransparency = 1.000
- Background.Position = UDim2.new(0.5, 0, 0.5, 0)
- Background.Size = UDim2.new(1, 0, 1, 0)
- Background.Visible = false
- Background.ZIndex = 4
- Background.Image = "rbxassetid://399416860"
- Background.ImageColor3 = Color3.fromRGB(60, 60, 60)
- Background.ScaleType = Enum.ScaleType.Slice
- Background.SliceCenter = Rect.new(10, 10, 90, 90)
- Background_2.Name = "Background"
- Background_2.Parent = Background
- Background_2.AnchorPoint = Vector2.new(0.5, 0.5)
- Background_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Background_2.BackgroundTransparency = 1.000
- Background_2.Position = UDim2.new(0.5, 0, 0.5, 0)
- Background_2.Size = UDim2.new(1, 4, 1, 4)
- Background_2.ZIndex = 3
- Background_2.Image = "rbxassetid://399416860"
- Background_2.ImageColor3 = Color3.fromRGB(40, 40, 40)
- Background_2.ScaleType = Enum.ScaleType.Slice
- Background_2.SliceCenter = Rect.new(10, 10, 90, 90)
- Menu.Name = "Menu"
- Menu.Parent = Cpicker
- Menu.BackgroundColor3 = Color3.fromRGB(54, 48, 84)
- Menu.BackgroundTransparency = 1.000
- Menu.BorderColor3 = Color3.fromRGB(255, 255, 255)
- Menu.BorderSizePixel = 0
- Menu.Position = UDim2.new(-0.00287550315, 0, 0.0205517281, 0)
- Menu.Size = UDim2.new(0, 41, 0, 39)
- Menu.Image = "http://www.roblox.com/asset/?id=5402357141"
- Menu.ScaleType = Enum.ScaleType.Fit
- Title.Name = "Title"
- Title.Parent = Cpicker
- Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Title.BackgroundTransparency = 1.000
- Title.Position = UDim2.new(0.230000004, 0, 0.282999992, -1)
- Title.Size = UDim2.new(0, 101, 0, 20)
- Title.ZIndex = 12
- Title.Font = Enum.Font.FredokaOne
- Title.Text = "Color Picker"
- Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Title.TextScaled = true
- Title.TextSize = 14.000
- Title.TextWrapped = true
- Title_2.Name = "Title"
- Title_2.Parent = Cpicker
- Title_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Title_2.BackgroundTransparency = 1.000
- Title_2.Position = UDim2.new(0.241999999, 0, 0.261000007, 0)
- Title_2.Size = UDim2.new(0, 101, 0, 20)
- Title_2.Font = Enum.Font.FredokaOne
- Title_2.Text = "Color Picker"
- Title_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- Title_2.TextScaled = true
- Title_2.TextSize = 14.000
- Title_2.TextWrapped = true
- TextButton.Parent = Cpicker
- TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.BackgroundTransparency = 1.000
- TextButton.Position = UDim2.new(0.71938777, 0, 0.243902206, 0)
- TextButton.Size = UDim2.new(0, 55, 0, 18)
- TextButton.Font = Enum.Font.Bangers
- TextButton.Text = "-"
- TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.TextScaled = true
- TextButton.TextSize = 14.000
- TextButton.TextWrapped = true
- -- Scripts:
- local function MJIGHN_fake_script() -- ColorPickerI.ColorMain
- local script = Instance.new('LocalScript', ColorPickerI)
- local player = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- local rgb = script.Parent:WaitForChild("RGB")
- local value = script.Parent:WaitForChild("Value")
- local preview = script.Parent:WaitForChild("Preview")
- local selectedColor = Color3.fromHSV(1,1,1)
- local colorData = {1,1,1}
- local mouse1down = false
- local Apply = script.Parent.Info.Apply
- local function setColor(hue,sat,val)
- colorData = {hue or colorData[1],sat or colorData[2],val or colorData[3]}
- selectedColor = Color3.fromHSV(colorData[1],colorData[2],colorData[3])
- preview.BackgroundColor3 = selectedColor
- value.ImageColor3 = Color3.fromHSV(colorData[1],colorData[2],1)
- end
- local function inBounds(frame)
- local x,y = mouse.X - frame.AbsolutePosition.X,mouse.Y - frame.AbsolutePosition.Y
- local maxX,maxY = frame.AbsoluteSize.X,frame.AbsoluteSize.Y
- if x >= 0 and y >= 0 and x <= maxX and y <= maxY then
- return x/maxX,y/maxY
- end
- end
- local function updateRGB()
- if mouse1Down then
- local x,y = inBounds(rgb)
- if x and y then
- rgb:WaitForChild("Marker").Position = UDim2.new(x,0,y,0)
- setColor(1 - x,1 - y)
- end
- local x,y = inBounds(value)
- if x and y then
- value:WaitForChild("Marker").Position = UDim2.new(0.5,0,y,0)
- setColor(nil,nil,1 - y)
- end
- end
- end
- mouse.Move:connect(updateRGB)
- mouse.Button1Down:connect(function()mouse1Down = true end)
- mouse.Button1Up:connect(function()mouse1Down = false end)
- Apply.MouseButton1Click:Connect(function()
- script.Parent.Parent.Parent.Parent.Visual.BackgroundColor3 = selectedColor
- script.Parent.Parent.Parent.Parent.Settings.BackgroundColor3 = selectedColor
- script.Parent.Parent.Parent.Parent.Main.BackgroundColor3 = selectedColor
- script.Parent.Parent.Parent.Parent.Credits.BackgroundColor3 = selectedColor
- script.Parent.Parent.Parent.Parent.Utility.BackgroundColor3 = selectedColor
- end)
- end
- coroutine.wrap(MJIGHN_fake_script)()
- local function JSQC_fake_script() -- Menu.LocalScript
- local script = Instance.new('LocalScript', Menu)
- function openGui()
- script.Parent.Parent.Slide:TweenSize(UDim2.new(0, 186,0, 144), "Out", "Quint", 0.7, true)
- end
- function closeGui()
- script.Parent.Parent.Slide:TweenSize(UDim2.new(0,186,0,0), "Out", "Quint", 0.7, false)
- end
- script.Parent.MouseButton1Down:Connect(function()
- if script.Parent.Parent.Slide.Size == UDim2.new(0, 186, 0, 144) then
- closeGui()
- else
- openGui()
- end
- end)
- end
- coroutine.wrap(JSQC_fake_script)()
- local function SVKXTSM_fake_script() -- Cpicker.Dragify
- local script = Instance.new('LocalScript', Cpicker)
- local UIS = game:GetService("UserInputService")
- function dragify(Frame)
- dragToggle = nil
- local dragSpeed = 0
- dragInput = nil
- dragStart = nil
- local dragPos = nil
- function updateInput(input)
- local Delta = input.Position - dragStart
- local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
- game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.25), {Position = Position}):Play()
- end
- Frame.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
- dragToggle = true
- dragStart = input.Position
- startPos = Frame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragToggle = false
- end
- end)
- end
- end)
- Frame.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if input == dragInput and dragToggle then
- updateInput(input)
- end
- end)
- end
- dragify(script.Parent)
- end
- coroutine.wrap(SVKXTSM_fake_script)()
- local function GRXBYB_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.Slide:TweenSize(UDim2.new(0,186,0,0), "Out", "Quint", 0.7, false)
- wait(0.7)
- script.Parent.Parent.Parent.Credits.Visible = false
- end)
- end
- coroutine.wrap(GRXBYB_fake_script)()
Add Comment
Please, Sign In to add comment