Origin Position is not a valid member of model

  1. What do you want to achieve? there is gonna be multiple race models so im trying to avoid colliding with other race models

  2. What is the issue? i keep getting an error saying ‘Origin Position’ is not a valid member of Model

i tried looking for solutions on the devforum, unfortunately no results

where the error occured:

game.ReplicatedStorage.StartRace.Event:Connect(function(plrs)
	local newRace = game.ServerStorage.Race:Clone()
	newRace.Parent = workspace.Races
	newRace['Origin Position'] = newRace['Origin Position'] + Vector3.new((5 * #workspace.Races:GetChildren()),0,0)
end)

what am i doing wrong?

1 Like

You can’t directly assign the Origin Position property. It’s explained why and a solution exists in this thread.

3 Likes