Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Vector3 not working?

I feel stupid for asking this, ONCE AGAIN.... I have not been scripting in a while, but here we go.. When I try to make a brick come to me it does not..

local AddPart = Instance.new("Part", game.Workspace)

AddPart.Position = Vector3.new(game.Workspace.ReturnValue.Torso.Position)

1 comment

0

The problem is that you cannot change something's position if the position will make the object inside another, use AddPart.CFrame = game.Workspace.ReturnValue.Torso.CFrame

1 answer

local AddPart = Instance.new("Part", game.Workspace)

AddPart.Position = CFrame.new(game.ReturnValue.TorsoPosition) + Vector3.new(0,10,0)

This discussion is preserved as it was. New answers, comments, and votes are closed.