Video není dostupné.
Omlouváme se.

Roblox - How to Stop/Disable Player Movement

Sdílet
Vložit
  • čas přidán 15. 03. 2022
  • In this video, we will explain how to disable all player movement.
    This is great for anyone who is making a handcuff system, or a system where you need to freeze players!
    Get your assets: theletusgarden.com/videos/f/r...
    Join our discord server: / discord

Komentáře • 104

  • @maxarnold1
    @maxarnold1 Před rokem +10

    god bless you 🙏 I’ve been looking for something like this for my menu FOREVER

  • @haydenalmeida
    @haydenalmeida Před rokem

    Thank you so much!

  • @themeatly2
    @themeatly2 Před 7 měsíci

    man your a lifesaver 👍

  • @TheKingOfE
    @TheKingOfE Před 10 měsíci

    Tysm my man!
    +1 like

  • @F4enzygt
    @F4enzygt Před 4 měsíci

    thanks!

  • @Jaumetronix
    @Jaumetronix Před 2 lety +2

    amazingly explained

  • @decayedargon6765
    @decayedargon6765 Před 2 lety +3

    Amazing! What syntax theme do you use btw? It looks amazing.

  • @OofItsHonor
    @OofItsHonor Před rokem +6

    How can I disable just a few binds or just certain vector movements only? I would like to disable jumping, W, and S keys to prevent specific movement.

    • @sakuraangel7333
      @sakuraangel7333 Před 11 měsíci

      To disable jumping, you can go into starter player and on the characterjumpheight property set it to 0

    • @yashghanekar1424
      @yashghanekar1424 Před 11 měsíci

      how do i make it so that during the play button gui is pressed the character cant move at all@@sakuraangel7333

  • @DLRGR202O
    @DLRGR202O Před 2 lety +1

    Hey there! (I think I'm first.) Nice to see you uploading again, I've learned many things from here. This was posted just a minute ago-

  • @RubyColoredDiamond
    @RubyColoredDiamond Před rokem

    Not only am I the 100th like but this will help my showcase game (animation of the player with a cool background) so they can't move

  • @matiasmonzone.t.n2661
    @matiasmonzone.t.n2661 Před rokem +1

    genial!!!

  • @RiddledSkyblock
    @RiddledSkyblock Před rokem

    is there also a way to for example only stop 1 type like Click To Move

  • @ultratheofficial
    @ultratheofficial Před 2 lety

    Thx I do powers script and it’s very helpfull

  • @ag.hoopin
    @ag.hoopin Před 4 měsíci

    W youtuber

  • @endergame8267
    @endergame8267 Před rokem

    it work guys

  • @Hi-yr4zd
    @Hi-yr4zd Před rokem +5

    Can you tell us how to code character strafing? I would love it!

    • @betaplain297
      @betaplain297 Před rokem

      reply to me if you still need help
      Robert Parr#9557

  • @flip5xide
    @flip5xide Před 2 lety

    Yoo, its been a long time.

  • @ModMaan
    @ModMaan Před rokem

    how do you make it where you disable moving forward and backward forever

  • @DLRGR202O
    @DLRGR202O Před 2 lety +10

    Next: An actual handcuff system. I REALLY need that for my game!

  • @kez092
    @kez092 Před rokem

    hello! is there a way to disable moving until a button is pressed?

  • @guy56890
    @guy56890 Před 2 lety

    Next: How to make a building tool.

  • @veilbutdumb
    @veilbutdumb Před 28 dny

    how do i freeze my character when playing a enumkeycode animation event so it wont move during that for my battles ground game

  • @nualasagoofyahhcat
    @nualasagoofyahhcat Před rokem +48

    Script:
    local Players = game:GetService("Players")
    local player = Players.LocalPlayer
    local playerScripts = player:WaitForChild("PlayerScripts")
    local PlayerModule = require(playerScripts:WaitForChild("PlayerModule"))
    local controls = PlayerModule:GetControls()
    Controls:Disable()
    Your welcome

    • @louisd8748
      @louisd8748 Před rokem +2

      massive g

    • @unknownfatkid4504
      @unknownfatkid4504 Před rokem +1

      @@louisd8748 LOL 15 minutes ago

    • @bt_blue
      @bt_blue Před rokem

      I actualy Dont know how to thank you couse i am way to lazy to actualy go and make this code

    • @lovesxft
      @lovesxft Před rokem

      If it doesn't work, it's because the "c" in one of the "controls" is a lowecase "c". While the other one is a capital "c". Change the one with a small "c" to fix it.

    • @J4Z999
      @J4Z999 Před rokem

      ily for this

  • @realblight7925
    @realblight7925 Před 9 měsíci +2

    Can you make a disable player controls when a part is touched in your next video?
    That'll be great.

  • @garciabojorquezsalvador8435

    local PLayers = game:GetService("Players")
    local player = PLayers.LocalPlayer
    local playerScripts = player:WaitForChild("PlayerScripts")
    local PlayerModule = require(playerScripts:WaitForChild("PlayerModule"))
    local Controls = PlayerModule:GetControls()
    Controls:Disable()
    wait(5)
    Controls:Enable()

    • @topicalq3042
      @topicalq3042 Před rokem

      This needs much likes ,SHOULD BE PINNED ! , thanks , the video was give me a greater idea what to of but the script didn't work ,u save me a lot of heache!

    • @levbog7967
      @levbog7967 Před 9 měsíci

      this is a true hero

  • @prakh1250
    @prakh1250 Před 2 lety

    underrated asf

  • @VirtuousNb
    @VirtuousNb Před rokem +13

    Great video! Keep it up!
    Script: local Players = game:GetService("Players")
    local player = Players.LocalPlayer
    local playerscripts = player: WaitForChild("PlayerScripts")
    local PlayerModule = require(playerscripts: WaitForChild("PlayerModule"))
    local controls = PlayerModule:GetControls()
    controls:Disable()

  • @Jabiyt_90
    @Jabiyt_90 Před rokem +1

    It didnt worked and i saw like 9 tutorials and my script only dissapears

  • @Seasonal_Showdown
    @Seasonal_Showdown Před měsícem

    Does anyone know how to disable moving but not jumping? I have a click-to-walk script in my game and can still move. So I turned the character walk speed from 16 to 0 and it broke the script. but every movement disable video I see on CZcams disables all movement. I want to keep jumping

  • @heavenbound2030
    @heavenbound2030 Před 2 lety +2

    This does work, but there a game breaking issue that it causes, for me at least. After the player dies or respawns they literally cannot move. I'm not sure why this happening.

    • @ghostreaperlord5944
      @ghostreaperlord5944 Před 2 lety

      try disabling and reenabling movement after respawning

    • @AmyIfe
      @AmyIfe Před 2 lety

      @@ghostreaperlord5944 how?

    • @ghostreaperlord5944
      @ghostreaperlord5944 Před 2 lety

      @@AmyIfe use code from the video but after character is added

    • @nobody1276
      @nobody1276 Před rokem

      i know this is late but it may be because you put the script in StarterPlayerScripts instead of StarterCharacterScripts.

    • @maxarnold1
      @maxarnold1 Před rokem

      I am having the same issue

  • @chillzfred839
    @chillzfred839 Před 2 lety +1

    Hello! This worked a treat however people on laptop are able to bypass it. Anyway to prevent this?

  • @famousreact
    @famousreact Před rokem +1

    a good people can make same but when a part touched stop player movment
    plz send script here

  • @Morecaseinnz
    @Morecaseinnz Před rokem +1

    am i just cursed or am i doing something wrong this is the script i put
    local Players = game:GetService("Players")
    local players = Players.LocalPlayer
    local playerScripts = player:WaitForChild("PlayerScript")
    local PlayerModule = require(playerScripts:WaitForChild("PlayerModule"))
    local Controls = PlayerModule:GetControls()
    Controls:Disable()
    edit: oh i get it now i made mistakes let me fix those the ill come back

  • @NoNoMatt
    @NoNoMatt Před 2 lety

    I need something that makes me move

  • @jmanab380
    @jmanab380 Před rokem

    How do I make it so movement enables again when a certain block is touched?

    • @davimbr9092
      @davimbr9092 Před 5 měsíci

      crete a remove event to fire the client when the part is touched, then when fired it enables in a local script

  • @aquajuggernaut
    @aquajuggernaut Před 10 měsíci

    *disable walkspeed and jumpPower left the chat*

  • @D1vineEditz
    @D1vineEditz Před 7 měsíci

    I'm trying to find how to freeze the player movement when it touches a part. Then, the player walks again after a sertian amount of time

    • @Axoedits34523
      @Axoedits34523 Před měsícem

      u can use a event to check if the player touched that part and then use this way to freeze the player

  • @alex342gwsturk8
    @alex342gwsturk8 Před 6 měsíci

    is it possible to only disable jumping without using jump power?

  • @jaisonDXYX
    @jaisonDXYX Před měsícem

    bro when i tried this it didn’t let me move

  • @kirozuna8173
    @kirozuna8173 Před rokem

    Could someone send me the code in case I did an error within the scripting? Or is it in the assets?

    • @shreddedOrphans
      @shreddedOrphans Před rokem

      local player = game.Players.LocalPlayer
      local plrmodule = require(player:WaitForChild("PlayerScripts"):WaitForChild("PlayerModule"))
      local controls = plrmodule:GetControls()
      controls:Disable()

  • @x1x1x1gamer
    @x1x1x1gamer Před 2 lety +2

    didnt work

  • @easondarmawan
    @easondarmawan Před 2 lety

    This didnt work for mee

  • @chungkim7351
    @chungkim7351 Před 8 měsíci

    how do you make the player not turn? like disabling turning directions

    • @stx_1
      @stx_1 Před 8 měsíci

      you can turn off autorotate in humanoid

    • @chungkim7351
      @chungkim7351 Před 8 měsíci

      @@stx_1 how

    • @stx_1
      @stx_1 Před 8 měsíci

      @@chungkim7351 put a script in startercharacterscripts thats
      script.Parent:WaitForChild("Humanoid").AutoRotate = false

  • @Ilies-dn5ob
    @Ilies-dn5ob Před 3 měsíci

    Hi, i did this and it don't work need help pls
    Script:
    local Players = game:GetService("Players")
    local player = Players.LocalPlayer
    local playerScripts = player:WaitForChild("PlayerScripts")
    local PlayerModule = require(playerScripts:WaitForChild("PlayerModule"))
    local Controls = PlayerModule:GetControls()
    Controls:Disable()

  • @bludsrblx
    @bludsrblx Před 2 lety

    can u make temporary jump disable?

    • @RandomDrawinglol
      @RandomDrawinglol Před rokem

      (Disable jump script) wait(1) (enable jump script)

    • @thepotatogod2260
      @thepotatogod2260 Před rokem

      @@RandomDrawinglol that doesn't help man. what you should have done is
      plr.Character.Humanoid.JumpPower = 0
      wait(1)
      plr.Character.Humanoid.JumpPower = 50

    • @lordoffraud74
      @lordoffraud74 Před rokem

      ​​@@thepotatogod2260 exploiters can easily bypass walkspeed or jump power changes.

    • @thepotatogod2260
      @thepotatogod2260 Před rokem

      @@lordoffraud74 true, but roblox is finally implementing an anti cheat system in the future, so it would solve a lot of our problems such as above

  • @Harleeter
    @Harleeter Před rokem +5

    instead of doing the script, go to setting and click game settings, then set both walk speed and jump power to 0.

  • @lucora_
    @lucora_ Před měsícem

    just walk speed 0 and jump power 0 no ?
    edit : i test and it's better with your script

  • @PumpyBoBo
    @PumpyBoBo Před 7 měsíci

    --put this in SSS
    game.Players.PlayerAdded:Connect(function(plr)
    plr.CharacterAdded:Connect(function(char)
    char:WaitForChild("Humanoid").WalkSpeed = 0
    end)
    end)

    • @PumpyBoBo
      @PumpyBoBo Před 7 měsíci

      disables someone's walking when they join (I'm not hating, just showing another way to do it)

  • @danielkolesar8353
    @danielkolesar8353 Před 2 lety

    Doesn't work

  • @rivernexus
    @rivernexus Před 2 lety +2

    It didn't work for me, I put it as shown:
    local Players = game:GetService("Players")
    local player = Players.LocalPlayer
    local playerscripts = player: WaitForChild("PlayerScripts")
    local PlayerModule = require(playerscripts: WaitForChild("PlayerModule"))
    local controls = PlayerModule:GetControls()
    Controls:Disable()
    any advice?
    edit: "local" is showing in red, I haven't done any work with roblox studio in a while so I'm unsure what's wrong

    • @Orthsea
      @Orthsea Před 2 lety

      it's because your control variable is lowercase but Controls:Disable() is uppercase, hope this helps!

    • @The_PiratePlays
      @The_PiratePlays Před 2 lety

      actually I think it's this part, "require(playerscripts: WaitForChild("PlayerModule"))" the playerScripts has a lowercase s in the "playerscripts"
      it should be local PlayerModule = require(playerScripts: WaitForChild("PlayerModule"))

  • @Richard-wf5jy
    @Richard-wf5jy Před 3 měsíci

    Dont work.... >:(

  • @kittenkutie
    @kittenkutie Před rokem

    it didn’t work

  • @illogicalsavings8268
    @illogicalsavings8268 Před 28 dny

    local Players = game:GetService("Players")
    local player = Players.LocalPlayer
    local playerScripts = player:WaitForChild("PlayerScripts")
    local PlayerModule = require(playerScripts:WaitForChild("PlayerModule"))
    local Controls = PlayerModule:GetControls()
    Controls:Disable()

  • @GFagrache
    @GFagrache Před rokem

    it doesnt work

  • @wormintestine
    @wormintestine Před rokem

    Dude this didn't work at all-

    • @momumar-qq3yc
      @momumar-qq3yc Před rokem

      it only works when i open the script in game. if i dont open it i can move

  • @ccsupa9608
    @ccsupa9608 Před 11 měsíci +2

    It didn't work originally but I fixed it with this is the one word script edit:
    local Players = game:GetService("Players")
    local player = Players.LocalPlayer
    local playerScripts = player:WaitForChild("PlayerScripts")
    local PlayerModule = require(playerScripts:WaitForChild("PlayerModule"))
    local controls = PlayerModule:GetControls()
    controls:Disable(true)

  • @josephjavedelatorre4842
    @josephjavedelatorre4842 Před 5 měsíci

    L video

  • @MiguelXF_
    @MiguelXF_ Před 8 měsíci

    Or use this simple version:
    require(game.Players.LocalPlayer:WaitForChild("PlayerScripts"):WaitForChild("PlayerModule")):GetControls():Disable()