Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

how to roundfiy an Instance.new('frame')?

i was wondering if you can roundfiy an Instance.new('frame') this is what i mean:

frame = Instance.new('frame',game.StarterGui)
frame.roundfiy = true -- does not work

1 answer

✓ Accepted answer
local frame = Instance.new('frame',game.StarterGui)

local UICorner = Instance.new("UICorner");UICorner.Parent = frame
UICorner.CornerRadius = UDim.new(8,0)

5 comments

0

And btw, ";" is for singular line code if you didn't know.

0

@noot20000 your code returns a invalid argument #3 (UDim expected, got Vector2)

0

Whoops, juust use UDim.new() instead of Vector2.new()

0

My bad

0

Thanks @noot20000

This discussion is preserved as it was. New answers, comments, and votes are closed.