How To KEEP People In Your Game! (Literally) | Roblox Studio

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 46

  • @stewiepfing539
    @stewiepfing539  Місяць тому +8

    Do you think its a good idea to have this in your games?

    • @ThatMagicalGuy1
      @ThatMagicalGuy1 Місяць тому +2

      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.

    • @UniqueHandle977
      @UniqueHandle977 Місяць тому +4

      @@ThatMagicalGuy1 i have been using it for like 3 years and it worked fine, is there something i should know?

    • @DeformedDino
      @DeformedDino Місяць тому

      is there a way to check if the player does anykind of input

    • @wastoxic
      @wastoxic Місяць тому

      ​@@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

    • @asplaysamoungus
      @asplaysamoungus Місяць тому

      Gym League uses the same system.

  • @cookedcat6969
    @cookedcat6969 Місяць тому +18

    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

    • @niletheus
      @niletheus Місяць тому +1

      I think UIS only detects inputs & can’t cause a player to fire off any

    • @berkecan5890
      @berkecan5890 Місяць тому

      @@niletheus i guess he meant instead of checking humanoids event check if player presses any buttons then update the timer

  • @CreatorProductionsOriginal
    @CreatorProductionsOriginal Місяць тому +5

    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

    • @stewiepfing539
      @stewiepfing539  Місяць тому +1

      Yeah I recommend looking more into Roblox’s typechecking system

  • @ruiningroblox
    @ruiningroblox Місяць тому +2

    Thanks! Because I want people to join my game

  • @Youknowwho8782
    @Youknowwho8782 Місяць тому +3

    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.

    • @stewiepfing539
      @stewiepfing539  Місяць тому +1

      @@Youknowwho8782 that’s why it’s in a while character.Parent loop 😐

  • @7md_0
    @7md_0 Місяць тому +8

    use event Move in the mouse function of the player liks this player:GetMouse().Move:Connect(function () timeSinceLastMove end)

    • @skibiditoiletenjoyer1
      @skibiditoiletenjoyer1 Місяць тому

      Or just disable player.Idled or what it was called?

    • @Lars0derso
      @Lars0derso Місяць тому

      In what line can u add it? And does it work with mobile and console?

  • @fouxe1731
    @fouxe1731 Місяць тому +2

    Just by the video icon I know this is going to be a masterclass 💪💪

  • @Kitsune_Dev
    @Kitsune_Dev Місяць тому +4

    you know there’s an event called Player.Idled right? 😂

  • @wastoxic
    @wastoxic Місяць тому +2

    Premium payout farm 🤤🤤🤤🤑🤑🤑

  • @7md_0
    @7md_0 Місяць тому +3

    8:11 u can make this (20 * 60)

    • @AlreadyCode
      @AlreadyCode Місяць тому

      No point.

    • @CreatorProductionsOriginal
      @CreatorProductionsOriginal Місяць тому +3

      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

    • @vortex32_25
      @vortex32_25 Місяць тому

      @@CreatorProductionsOriginal it makes it more readable than just typing out the seconds

  • @Sparkitye
    @Sparkitye Місяць тому +1

    First😮

  • @KTVinhヅ
    @KTVinhヅ 10 днів тому

    can u give the script,im lazy as hell

  • @2_krl
    @2_krl Місяць тому +3

    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

    • @kilex3471
      @kilex3471 Місяць тому +4

      that only works with executors

    • @2_krl
      @2_krl Місяць тому

      @@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)

    • @kilex3471
      @kilex3471 Місяць тому

      @@2_krl I did the same and it did not work for me

    • @MeatMake
      @MeatMake Місяць тому

      whats a virutaluser?

  • @0qnic
    @0qnic Місяць тому +2

    literally most and average new 2024 game that is either a money cash grab or smth like that (just saying lol)💀🤲

    • @stewiepfing539
      @stewiepfing539  Місяць тому +1

      @@0qnic it’s mainly used in simulators but I’d think it would be useful in a lot more games

    • @JaymcJefty
      @JaymcJefty Місяць тому

      What is the second emoji

    • @drdevious12
      @drdevious12 Місяць тому +1

      Yeah I’m making a tower defense game and I’m trying my hardest not to make it p2w

    • @CreatorProductionsOriginal
      @CreatorProductionsOriginal Місяць тому

      @@JaymcJefty skeleton asks you for your skin

    • @CreatorProductionsOriginal
      @CreatorProductionsOriginal Місяць тому

      @@drdevious12 true self control is never putting p2w in your games

  • @-valsa49-
    @-valsa49- Місяць тому

    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

    • @Crown_323
      @Crown_323 Місяць тому +1

      you can LEAVE the game but if u get disconnected for being afk it teleports u back, many games use systems like this

  • @EgalIlI
    @EgalIlI Місяць тому +5

    player.Idle