Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

HOW do i keybind this teleportation script?

local plr = game.Players.LocalPlayer
local MyBody = plr.Character
local mouse = plr:GetMouse()

plr:GetMouse().Button1Down:Connect(function(c)
	local hit = mouse
	MyBody:MoveTo(hit.p)
end)

ik i must use userinputservice but idk how to use it

2 comments

0

didnt you already ask this

0

I'm not sure, that's why this isn't an answer, but I think you can use Enum.Keycode for that.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.