if item:IsA("BasePart") then
item.Color = Color3.new(1,0,0)
I want to make a mouse raycast to place colors on parts and it shows me this error. Error:attempt to index nil with IsA
I tried to change the script a bit and it ended up not working anymore.