pls help me again i added a click to transparency change my part but it not working whats weird about it its theres no error output it just wont work idk why this is frustrating pls heelp
part = game.Workspace.skate
transparency = part.Transparency
clickdetector = part.ClickDetector
clickdetector.MouseClick:Connect(function()
print("change transparency")
if transparency >= 1 then transparency = 0 end
transparency = transparency + .1
end)
while true do
part.CFrame = part.CFrame*CFrame.new(1,0,0)
part.BrickColor = BrickColor.random()
print("debug")
end

4 comments
random() is deprecated, I don't know if you know that.
it still work so watever
xD
"it still work so watever" Eventually, it may be removed so uhm.. Yeah.