This doesn't work, how do I fix it?
local RS = game:GetService("ReplicatedStorage")
RS.RemoteEvent.OnServerEvent:Connect(function(hit)
local check = hit.Character:FindFirstChild("Humanoid")
if check then
if hit.TeamColor == ("Lime Green") then
hit.TeamColor = Color3.new("Really Red")
end
end
end)

1 comment
The second word cannot be captial