local function getStats()
local gui = workspace:FindFirstChild(plr.Name).Head:WaitForChild("PlrInfo")
local creds = plr.Game_Values.Player_Credits.Value
local team = plr.TeamColor
local level = plr.Game_Values.Player_Level.Value
if team == BrickColor.new("Bright blue") then
team = "Blue"
elseif team == BrickColor.new("Bright red") then
team = "Red"
else
team = "Neutral"
end
if gui then
gui.Main.Info.Text = "[" .. plr.Name .. "] - " .. creds .. " Credits \n " .. team .. " Team \n Level " .. level
end
end
//////////////////////////////////////////////////
That was my function. Is there any way to change view distance to 20 studs? just cause billboard guis blow up at far distances away.. i just need to make it so its only visible to others within 20 studs.
Thanks! |