{SOLVED}The following script is supposed to make the part(which the script is in it) to uncheck CanCollide property and make the part's transparency 0 for 5 seconds. Here is the script:
game.Players.PlayerAdded:connect(function(msg)
if Player.msg == "boss" then
CanCollide = false
transparency = 1
while true do
wait(5)
CanCollide = true
transparency = 0
end
end
end
The script is not working, I am new to scripting so you will find lots of mistakes. -Thank you if you answered my question, I will be sure to upvote and accept your answer if it is correct!(SOLVED}

1 comment
Thanks a lot! Upvoted and accepted.