First off, I'll share my scripts for you to understand a little better.
Client:
local event = game.ReplicatedStorage.Events.HackerChangeColor
local button = script.Parent
local value = script.Parent.Parent.HackerLightEnter
button.MouseButton1Click:Connect(function()
event:FireServer(value)
end)
Server:
local event = game.ReplicatedStorage.Events.HackerChangeColor
event.OnServerEvent:Connect(function(plr, value)
for i, v in pairs(workspace:GetChildren()) do
if v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("MeshPart") then
if v.Material == Enum.Material.Neon then
v.BrickColor = BrickColor.new(value.text)
end
end
end
end)
In this case, I'm attempting to send the instance known as 'value' from a LocalScript to a Server script. For some reason this isn't working, and I'd like some advice or anything really as to how I can fix this. If you need more detail, please say so, this is one of my first posts so.

1 comment
what is HackerLightEnter