How do I make a player always flat on the floor?

You know when you get flung and you land sometimes, you are laying flat down? I want to do that but the player is always on the floor.

Hello, I think this script could help you:

local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local function layDown()
    humanoid.PlatformStand = true
    character:SetPrimaryPartCFrame(CFrame.new(character.PrimaryPart.Position) * CFrame.Angles(math.rad(-270), 0, 0))
end

layDown()

while true do
    wait(1)
    layDown()
end

I am not sure that this is totally what you expected tough it will make the player’s character lay down once joining the experience. Make sure you place it StarterCharacterScripts or StarterPlayerScripts. Feel free to make any changes to the script!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.