Комментарии:
man your a lifesaver 👍
Ответить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
Ответить--put this in SSS
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
char:WaitForChild("Humanoid").WalkSpeed = 0
end)
end)
Or use this simple version:
require(game.Players.LocalPlayer:WaitForChild("PlayerScripts"):WaitForChild("PlayerModule")):GetControls():Disable()
how do you make the player not turn? like disabling turning directions
ОтветитьCan you make a disable player controls when a part is touched in your next video?
That'll be great.
Tysm my man!
+1 like
disable walkspeed and jumpPower left the chat
Ответить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)
How do I make it so movement enables again when a certain block is touched?
Ответить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()
it didn’t work
Ответить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
hello! is there a way to disable moving until a button is pressed?
ОтветитьThank you so much!
Ответитьinstead of doing the script, go to setting and click game settings, then set both walk speed and jump power to 0.
ОтветитьDude this didn't work at all-
Ответить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.
Ответитьhow do you make it where you disable moving forward and backward forever
Ответитьa good people can make same but when a part touched stop player movment
plz send script here
wellit happens becouse of stupid guis
Ответитьit work guys
Ответитьgod bless you 🙏 I’ve been looking for something like this for my menu FOREVER
Ответитьit doesnt work
Ответить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()
genial!!!
Ответить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
It didnt worked and i saw like 9 tutorials and my script only dissapears
Ответитьis there also a way to for example only stop 1 type like Click To Move
ОтветитьCould someone send me the code in case I did an error within the scripting? Or is it in the assets?
ОтветитьCan you tell us how to code character strafing? I would love it!
Ответить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
ОтветитьAmazing! What syntax theme do you use btw? It looks amazing.
ОтветитьThx I do powers script and it’s very helpfull
Ответитьdidnt work
ОтветитьThis didnt work for mee
ОтветитьI need something that makes me move
Ответить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
can u make temporary jump disable?
Ответить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.
Ответитьunderrated asf
ОтветитьHello! This worked a treat however people on laptop are able to bypass it. Anyway to prevent this?
Ответитьamazingly explained
ОтветитьDoesn't work
ОтветитьYoo, its been a long time.
ОтветитьNext: An actual handcuff system. I REALLY need that for my game!
ОтветитьNext: How to make a building tool.
Ответить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-
Ответить