#๐Ÿ”’ Keyboard Package strugle with "F" and "G"

37 messages ยท Page 1 of 1 (latest)

ember frigate
#

I'm trying to get it to say all numbers in upper case. But FOUR and FIVE are coming out as OUR and IVE also EIGHT is coming out as EIHT. Code below any solutions?

import tkinter as tk
import num2word as n2w
import keyboard as kb
import random
import time

# Define the main function
def main():
    global jjAmount
    time.sleep(3)
    for number in range(1, jjAmount + 1):
        currentword = n2w.word(number).upper()

        # Press and release space to make a jump
        kb.press("space")
        time.sleep(random.uniform(0.01, 0.03))
        kb.release("space")

        kb.press("/")
        time.sleep(random.uniform(0.01, 0.02))
        kb.release("/")

        # Say the number
        for letter in currentword.upper():
            letter = letter.upper()
            kb.press(f"shift+{letter}")
            time.sleep(random.uniform(0.01, 0.03))
            kb.release(letter)
        kb.press("enter")
        time.sleep(random.uniform(0.01, 0.03))
        kb.release("enter")
        # Wait before starting the next "JJ"
        time.sleep(random.uniform(0.5, 1.0))  # Adjust the time as needed


# Define the function to start the script
def start_script():
    global jjAmount
    jjAmount = int(entry_jj_amount.get())
    main()


# Create the main tkinter window
root = tk.Tk()
root.title("Roblox Auto-JJ")

# Create and pack the widgets
label_jj_type = tk.Label(root, text="JJ type:")
label_jj_type.pack()

entry_jj_type = tk.Entry(root)
entry_jj_type.pack()

label_jj_amount = tk.Label(root, text="Amount of JJ's:")
label_jj_amount.pack()

entry_jj_amount = tk.Entry(root)
entry_jj_amount.pack()

button_start = tk.Button(root, text="Start Script", command=start_script)
button_start.pack()

# Start the tkinter event loop
root.mainloop()
thorny lilyBOT
#

@ember frigate

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

thorny lilyBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

ember frigate
blazing bridge
#

Literally in the screenshot

#

Cheating and Scams

#

First point even

ember frigate
#

Or a scam

blazing bridge
#

But it does give you an unfair advantage

ember frigate
blazing bridge
#

auto

ember frigate
#

Unfair advantage jumping in place?

#

Really going to kill all those noobs

blazing bridge
#

automatically jumping in place

ember frigate
blazing bridge
#

Jumping is one thing. Typing the words out is another

#

Together, its cheating

#

So we can't help you with that here

ember frigate
#

So typing out words is the cheating part?

blazing bridge
#

The fact that you're automating it, is cheating

#

If you don't want to play the game as intended, don't play

ember frigate
#

It isnt based off your interpretation of the rules.

#

Roblox doesnt ban people for macros.

ember frigate
marsh sierra
#

Some games allow users to use a macro

#

for example Bee swarm sim

#

Why he getting so mad?

ember frigate
marsh sierra
#

Lol

#

well gl

ember frigate
thorny lilyBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.

#

๐Ÿ”’ Keyboard Package strugle with "F" and "G"