I have a problem with my script

Hi i have a problem with my script, here’s some info:

Error:

image

PlacementLocal script:

local itemPlacement = require(game.ReplicatedStorage.Modules:WaitForChild("PlacementModuleV3"))

local remote = game.ReplicatedStorage.Commandes.PlacementObjet
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local button = script.Parent.TextButton
local plot

game.ReplicatedStorage.Commandes.DetectionPlace.OnClientEvent:Connect(function(pltNm)
plot = workspace.Places:FindFirstChild(pltNm)
end)

itemPlacement.new(
2,
game.ReplicatedStorage.Objets.ALPHACUBE,
Enum.KeyCode.R, Enum.KeyCode.X, Enum.KeyCode.U, Enum.KeyCode.L
)

button.MouseButton1Click:Connect(function()
itemPlacement:activate("Block", plot.Place, plot.Items, true, true)
end)

mouse.Button1Down:Connect(function()
itemPlacement:requestPlacement(remote)
end)

Path: (The rest of the things in Places Folder are in the same order etc)

I tried to look on the dev forum but no one had this problem and I asked for the creator of the module (zblox164) but he was offline.

If you need more info just ask me

oops forgot the other script: image

1 Like

Folder doesn’t have a property size, that’s what the error is telling you. Looks like you are trying to get a size from folder.

1 Like

Yea i know that but thanks for telling me, i’m trying to figure out why it doesn’t want to get the ‘Place’ part

Have you tried to wait for the part? Like Folder:WaitForChild("Place").Size

1 Like

Yes but thre’s only 4 of them and i need to know which “place” Has a special value