local player = game.Players.LocalPlayer --- this has to be in starter pack, this is a local script
local mouse = player:GetMouse()
local toggle = false

mouse.KeyDown:connect(function(key)
 if not toggle and key == "r" then
local i =  Instance.new("Part",workspace)
i.Size = Vector3.new(14.53, 11.41, 1.59)
i.Anchored = true
while true do
	wait()
	i.CFrame = mouse.CFrame
end

 end
end)

3 comments

0

You shouldn't be using free models. Check out the wiki and learn yourself

0

There's a lot that's depricated there, better to start a new script.

0

free model