How do i make my placement grid more accurate?
How do i make the placement more correct and accurate?
Heres my script so far:
01 | Run.Stepped:Connect( function (plays) |
02 | if builded ~ = nil then |
03 | if builded.Type.Value = = "Wall" then |
08 | for i, v in pairs (game.Workspace.Grids:GetChildren()) do |
09 | local magger = (player.Character.HumanoidRootPart.Position - v.Position).magnitude |
18 | builded.CFrame = grid.CFrame * CFrame.new( 0 , 0 , - 10 ) |
20 | builded.CFrame = builded.CFrame + Vector 3. new( 0 , 2.84 , 0 ) |
Heres a video of the result
https://gyazo.com/fbb783805eb280d6dffedae7f202fa3d
So how do i fix it?
thanks