needing help trying to a part in the direction of camera and surface index?
hi there so im trying to create a part with a decal that faces upwards and take on the z-index i think is the term of the surface it was created one for example if i created the part on a building the part should face up and have the z index of the part/building it was created on
1 | local part = Instance.new( "Part" ) |
3 | part.CanCollide = false |
4 | part.Size = Vector 3. new( 7 , 0.1 , 7 ) |
5 | part.Position = Vector 3. new( 0 , 5 , 0 ) |
7 | part.CFrame = CFrame.new(position) |
8 | part.Parent = workspace |