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 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
thank you!, it worked for me ![]()
No problem, I was glad to help!