script.Parent.Humanoid:SetStateEnabled("RunningNoPhysics", false)
So this script stops my custom character from falling through the map. It works great, but only in Studio. The minute I play the published version of the game he falls through the map again.
I tried using both local and a normal script but the both failed at success.
The script is located under the StarterCharacter.