Basically I made a door which opens to whoever owns the tycoon, and I made a ScreenGui to basically add users to the door so it can open for them! Well, I did everything else except the TextLabel part.. I want to acknowledge how to space out the position (y) in my ScrollingFrame. I looked for it at a lot of places and found no results. This is the script without the part explained above:
script.Parent.MouseButton1Click:connect(function()
if game.Players:FindFirstChild(script.Parent.Parent.username.Text) then
if not game.Workspace.Tycoon1:findFirstChild("door").friends:FindFirstChild(script.Parent.Parent.username.Text) then
local n=Instance.new("StringValue",game.Workspace.Tycoon1:findFirstChild("door").friends)
n.Name=script.Parent.Parent.username.Text
local c=Instance.new("TextLabel",script.Parent.Parent.friends)
--heres the part i really need help with--
c.Name=n.Name
c.Text=n.Name
c.Size=UDim2.new(1,0,.1,0)
------------------------------------------------
else
return
end
end
end)
Help on this would be appreciated and just comment below if you need some additional information because I'm pretty bad at explaining things in my perspective lol
