yeah, so everybody doesnt have to get their computer hacked from OP Autoclicker to stay afk. Ever sense I deleted the autoclicker that corrupted roblox studio, im not touching one of those again and nobody should be.
Pretty sure it would be better to use user input service since roblox disconnects you based on inputs and not ingame movements. Its the readon why people use autoclickers to stay in the game, itd also reduce the script length since you dont have 3 events but 1
2:02 YOU CAN DO THAT? I THOUGHT IT WAS ONLY FOR FUNCTIONS/PARAMS! This helps me so much 😭 I would always make the variable be a instance,new of what it was supposed to be so I could get the script auto finish thingy and change them later
What happens if the player resets? Wouldn't the character be deleted? A simple fix for this is to wrap it around a 'player character added' event. This will rebind the events every time the character is added preventing this issue.
Kinda unnecessary since well, if you’re trying to get into programming, you’ll have to know math, and if you don’t know how to multiply 20 by 60 and then subtract one, you better start learning some math
You can just use virtualuser and do a right click on the screen with a idle function, no need to rejoin and do so much, is just like 6 simple lines of code and you have it
@@kilex3471Nope, I tried it on a game I made and I left it running for about 30 minutes and never got kicked, I put it as my anti afk system on that game, I gotta try if it works now tho, last time I tried it was awhile ago. I will try to update if it stills works (Hopefully I remember)
Do you think its a good idea to have this in your games?
yeah, so everybody doesnt have to get their computer hacked from OP Autoclicker to stay afk. Ever sense I deleted the autoclicker that corrupted roblox studio, im not touching one of those again and nobody should be.
@@ThatMagicalGuy1 i have been using it for like 3 years and it worked fine, is there something i should know?
is there a way to check if the player does anykind of input
@@UniqueHandle977it seems like a virus was added to it like 1-2 years ago, if you are using a 2021 or before version ur fine
Gym League uses the same system.
Pretty sure it would be better to use user input service since roblox disconnects you based on inputs and not ingame movements. Its the readon why people use autoclickers to stay in the game, itd also reduce the script length since you dont have 3 events but 1
I think UIS only detects inputs & can’t cause a player to fire off any
@@niletheus i guess he meant instead of checking humanoids event check if player presses any buttons then update the timer
2:02 YOU CAN DO THAT? I THOUGHT IT WAS ONLY FOR FUNCTIONS/PARAMS!
This helps me so much 😭
I would always make the variable be a instance,new of what it was supposed to be so I could get the script auto finish thingy and change them later
Yeah I recommend looking more into Roblox’s typechecking system
Thanks! Because I want people to join my game
What happens if the player resets? Wouldn't the character be deleted? A simple fix for this is to wrap it around a 'player character added' event. This will rebind the events every time the character is added preventing this issue.
@@Youknowwho8782 that’s why it’s in a while character.Parent loop 😐
use event Move in the mouse function of the player liks this player:GetMouse().Move:Connect(function () timeSinceLastMove end)
Or just disable player.Idled or what it was called?
In what line can u add it? And does it work with mobile and console?
Just by the video icon I know this is going to be a masterclass 💪💪
you know there’s an event called Player.Idled right? 😂
Premium payout farm 🤤🤤🤤🤑🤑🤑
8:11 u can make this (20 * 60)
No point.
Kinda unnecessary since well, if you’re trying to get into programming, you’ll have to know math, and if you don’t know how to multiply 20 by 60 and then subtract one, you better start learning some math
@@CreatorProductionsOriginal it makes it more readable than just typing out the seconds
First😮
can u give the script,im lazy as hell
You can just use virtualuser and do a right click on the screen with a idle function, no need to rejoin and do so much, is just like 6 simple lines of code and you have it
that only works with executors
@@kilex3471Nope, I tried it on a game I made and I left it running for about 30 minutes and never got kicked, I put it as my anti afk system on that game, I gotta try if it works now tho, last time I tried it was awhile ago. I will try to update if it stills works (Hopefully I remember)
@@2_krl I did the same and it did not work for me
whats a virutaluser?
literally most and average new 2024 game that is either a money cash grab or smth like that (just saying lol)💀🤲
@@0qnic it’s mainly used in simulators but I’d think it would be useful in a lot more games
What is the second emoji
Yeah I’m making a tower defense game and I’m trying my hardest not to make it p2w
@@JaymcJefty skeleton asks you for your skin
@@drdevious12 true self control is never putting p2w in your games
Isn’t this against the rules to have this in your game? Like if somebody reports do game gets taken down due to this ? I dont know im just unsure
you can LEAVE the game but if u get disconnected for being afk it teleports u back, many games use systems like this
player.Idle