Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why I can't make Udim2 Y scale as #game.Players:GetChildren()? [SOLVED]

Asked by 3 years ago
Edited 3 years ago

My question in the Title

local frame = Gui.ScrollingFrame.frame:Clone()

local frameValue = #game.ReplicatedStorage.Gui.ScrollingFrame:GetChildren()

local Value = 0.044 * frameValue

frame.Position = frame.Position + UDim2(0, Value, 0, 0)

The ERROR: attempt to call a table value

0
..., its literally, you missed the .new on UDim2 MrCatDoggo 213 — 3y
0
... ArtemVoronin0 171 — 3y
0
dude anyways do the answer ArtemVoronin0 171 — 3y
0
LMFAO this dude DuckyRobIox 280 — 3y
View all comments (2 more)
0
I may have done it someplace else, but this is to simple and not answer worthy. MrCatDoggo 213 — 3y
0
If its solved, please add [SOLVED] to the title Leamir 3138 — 3y

Answer this question