I am trying to make a script that whenever a specific player has PlatformStand set to true, it goes back to false. I want this to loop forever so that PlatformStand will never be set to true.
I have tried to get it to work, I can’t figure it out
I am trying to make a script that whenever a specific player has PlatformStand set to true, it goes back to false. I want this to loop forever so that PlatformStand will never be set to true.
I have tried to get it to work, I can’t figure it out
LocalScript in StarterCharacterScripts:
repeat wait() until script.Parent:FindFirstChildOfClass("Humanoid")--Waiting for any humanoid object
local hum = script.Parent:FindFirstChildOfClass("Humanoid")
hum:GetPropertyChangedSignal("PlatformStand"):Connect(function()
hum.PlatformStand = false
end)
script is tested and works perfectly for me
You could just set the HumanoidStateType Physics Enum to false using SetStateEnabled
What do you mean, “the default roblox thing”? Where you can use PlatformStand?