Hi i have a problem with my script, here’s some info:
Error:
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