Unable to assign property Position. Vector3 expected, got Instance

Making a simple building system
Local Script (StarterGui) -
local pos = Brick.Position
game.ReplicatedStorage.Build:FireServer(pos)
Script (ServerScriptService) -
game.ReplicatedStorage.Build.OnServerEvent:Connect(function(pos)
And i have
Unable to assign property Position. Vector3 expected, got Instance

There’s not enough information to help.

I see this so far:

-- LocalScript in PlayerGui
local pos = Brick.Position
game.ReplicatedStorage.Build:FireServer(pos)
-- Server Script in SSS
game.ReplicatedStorage.Build.OnServerEvent:Connect(function(pos)

Could you also try to utilize code blocks like these for inserting code?

the issue is that you have no player argument in the remote

game.ReplicatedStorage.Build.OnServerEvent:Connect(function(player, pos)

this should fix it

2 Likes

You didn’t provide the line that causes the error.

Thank you for your help! It Worked.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.