I don't know what's wrong with this script.
local Part = game.Workspace.Part
Part.Transparency = 1
while true do
wait(.5)
parsttochosefrom = math.random(1,2)
if parsttochosefrom == 1 then
Part.Transparency = 1
end
if parsttochosefrom == 2 then
Part.Transpacency = .5
end

1 comment
thanks