Need Help With "Block Placement System"

im making a “block placement system”, but i have a problem here


This is The Script

local mouse = game.Players.LocalPlayer:GetMouse() 
local part =  workspace.Frame

while wait(0.03) do part.CFrame = mouse.Hit end

im not sure whether this will work, but do this:

local mouse = game.Players.LcoalPlayer:GetMouse()
local part = workspace.Frame
while wait(0.03) do
    part.CFrame = mouse.Hit + Vector3.new(0, part.Size.Y / 2, 0)
end
3 Likes

thank you!, it worked for me :grin:

No problem, I was glad to help!

1 Like