I've been trying for a long time to make a tycoon that gradually updates an object through buying something, for example: Buy a wooden door, upgrade to glass door, upgrade to futuristic door, etc.
I took this from a tycoon kit, shortened it and tried to make it at least change the transparency and cancollide, I'm terribly bad at scripting and just starting, but I know I'm missing a lot from this script.
script.Parent.Head.Touched:connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
script.Parent.Head.Transparency = 0.0
script.Parent.Head.CanCollide = false
end
end
end)

2 comments
So what are you doing?
I said what I'm doing.