Yea so, the title says it all... But heres just an example...
Target = game.Workspace.Target AVector3 = Vector3.new (0,0,0) -- How would I make this vector3 the same as Target.Position...?(Because, Target.Position is moving, so it changes)
Instead of using a variable, consider using a function:
AVector3 = function() return game.Workspace.Target.Position end --when you need to use it: value = AVector3()
Or you can use a .Changed event to automatically update AVector3
:
workspace.Target.Changed:connect(function(prop) AVector3 = workspace.Target.Position end)
You need to add a loop so that it finds the Target constantly:
while wait() do AVector3 = Target.Position end