Oh no what did I do wrong. I keep getting this error: FireClient: player argument must be a Player object
This is just a chunk of code from the script let me know if you need whole script to figure out what’s wrong.
placeObject.OnServerEvent:Connect(function(plr, objectName, posX, posZ)
local foundObject = objects:FindFirstChild(objectName)
if foundObject then
local clonedObject = foundObject:Clone()
init(clonedObject)
place(clonedObject, posX, posZ)
clonedObject.Parent = placedObjects
clonedObject.Name = plr.Name.."object"
RS.pro:FireClient(clonedObject)--error here
Rs is ReplicatedStorage and pro is the remote event