Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- janus
- -- README --
- -- By Default press P to toggle aimbot on and off, note u NEED to disable it before exiting the aimlab
- -- btw ur gonna get kicked for having a god tier score
- -- Config --
- local toggleKey = Enum.KeyCode.P -- replace letter keep capitalized
- -- END of Config --
- local Camera = workspace.CurrentCamera
- local runService = game:GetService("RunService")
- local toggled = false
- game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == toggleKey then
- if (toggled) then
- toggled = false
- else
- toggled = true
- end
- end
- end)
- runService.Stepped:Connect(function()
- if (toggled) then
- local targ = game.Workspace:FindFirstChild("Target")
- Camera.CameraType = Enum.CameraType.Scriptable
- Camera.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, targ.Position)
- else
- Camera.CameraType = Enum.CameraType.Custom
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment