Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local user_input_service = game:GetService('UserInputService')
- local going = true
- local auto_sell = true
- local timer = 0.000000001
- user_input_service.InputBegan:Connect(function(input)
- if input.KeyCode == Enum.KeyCode.E then
- if going then
- print('Stopped Auto Grind')
- going = false
- else
- print('Starting Auto Grind')
- going = true
- while going do
- game.ReplicatedStorage.RemoteEvent:FireServer("LiftWeight")
- wait(timer)
- if auto_sell then
- game.ReplicatedStorage.RemoteEvent:FireServer("SellMuscle")
- end
- end
- end
- elseif input.KeyCode == Enum.KeyCode.Q then
- auto_sell = not auto_sell
- print('Auto Sell Disabled')
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment