So I am testing some stuff, and I want a part of my game to be where you have a part where you can change its colour with this gui, but I am having problems.
Here is the script:
local gui = game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.Green
local frame = game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame
local part = game.Workspace.Part4
gui.MouseButton1Click:Connect(function()
part.BrickColor = BrickColor.new("Lime green")
end)
Help is appreciated.

4 comments
You might want to elaborate on your question a bit more to help people answer your question.
By elaborate on your question I meant extend more on this "but I am having problems." We can't help much if we don't know what those problems are!
Pretty sure you have to use a remoteEvent and make it Client-Sided.
It's inside a localscript, is that not good enough?