Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Что бы активировать нажмите на F / To activate press F
- -- Scripting --
- local KeyCode = Enum.KeyCode.F
- _G.ClickTP = KeyCode
- local InputBegan = game:GetService("UserInputService").InputBegan
- local InputEnded = game:GetService("UserInputService").InputEnded
- local Player = game:GetService("Players").LocalPlayer
- local Mouse = Player:GetMouse()
- InputBegan:connect(function(I, V)
- if V then return end
- if I.KeyCode == _G.ClickTP then
- Player.Character.HumanoidRootPart.CFrame = CFrame.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment