You are on page 1of 1

clicktpon = true

plr = game.Players.LocalPlayer
hum = plr.Character.HumanoidRootPart
mouse = plr:GetMouse()
mouse.KeyDown:connect(function(key)
if key == 'q' then
if mouse.Target then
if clicktpon then
hum.CFrame = CFrame.new (mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
end
end
end
end)

You might also like