I started scripting a month ago and i want to know how to get the character postion in my case.
script.Parent.MouseButton1Click:Connect(function()
while true do
local part = Instance.new("Part", game.Workspace)
part.Position = Vector3.new(game.Players.LocalPlayer.Character.UpperTorso.Position)
part:Clone()
wait(0.0000000001)
end
end)
I wanted to do a block spam for a lag test but it does not work.

2 comments
Use the HRP.
The game doesn't detect "Character" so i still can't get the position.