local NumberOfTB = 1 local Denom = 0.0284237731 local lastbox = 0 game.Players.PlayerAdded:connect(function(plr) TB = Instance.new('TextButton') TB.Parent = ScrollingFrame TB.Text = plr.name TB.TextColor3(1, 1, 1) TB.TextScaled = true TB.TextSize = 14 TB.TextWrapped = true TB.BackgroundTransparency = 0.30000001192093 TB.BackgroundColor3 = Color3.new(0.262745, 0.262745, 0.262745) TB.Position = UDim2.new(0, 0, lastbox + Denom, 0) TB.Font = Enum.Font.SourceSans TB.Name = NumberOfTB + 1 lastbox = lastbox + Denom NumberOf = NumberOfTB + 1 end)
so im making a player list in a GUI and i cant seem to get them to work i want them to be selectable so i made them textbuttons
https://gyazo.com/096ce9355f29ecf55aafed2b5da7e0e8 heres a picture