I have to calculate a position in-between a tower and an enemy. This is the code
local tower = script.Parent local enemy = workspace.Enemy
local distance = tower.Position - enemy.Position
print(distance)
In the out put it says this
Position is not a valid member of Model "Workspace.Tower".
Stack Begin
Script 'Workspace.Tower.TowerTesting' , Line 4
Stack end
Is it because the tower I made comes from the Rig maker or am I just not coding right?

1 comment
Thank you, The distance calculated, and computerchris your answer also explaned how to fix it, but this one had a script to show, but you both saved A LOT of wasted time.