What I want my code to do is that if these 2 certain parts are destroyed (nil I believe), then the owner of the Factory will receive 10 Player Points. But it doesn't give me an output error and doesn't give me the Points (Even if I press Play on the website). Can someone help me?
if script.Parent.Factory.Grader1 == nil and script.Parent.Factory.Grader2 == nil then --Grader1 and Grader2 are the bricks that have to be destroyed to get the Player Point
game:GetService("PointsService"):AwardPoints(script.Parent.Factory.OwnerName.Value, 10) --Gives the Factory Owner 10 Player Points
end
--No output, No Points... Why?

2 comments
Oh yeah!! thanks! Last time I checked I have like 5000 points remaining...