Ill admit this script is a free model but how would i make it into scale instead of Offset?
function onPlayerRespawned(newPlayer)
wait(1)
local gui=Instance.new("BillboardGui")
gui.Parent = newPlayer.Character.Head
gui.Adornee = newPlayer.Character.Head
gui.Size = UDim2.new(3,0,5,0)
gui.StudsOffset=Vector3.new(0,2,0)
local text = Instance.new("ImageLabel")
text.Image = "rbxgameasset://Images/Rank_comm_128"
text.Size = UDim2.new(0,69,0,69)
text.Position = UDim2.new(-0.125,20,-0.25,0)
text.BackgroundTransparency = 1
text.Parent = gui
end
function onPlayerEntered(newPlayer)
newPlayer.Changed:connect(function (property)
if (property == "Character") then
onPlayerRespawned(newPlayer)
end
end)
end
game.Players.PlayerAdded:connect(onPlayerEntered)
|