Im trying to make a script where it finds yourplayer then sits you down. But its not working in studio. This script is a localscript
player_name=game.Players.LocalPlayer.Name
character=workspace:findFirstChild(player_name)
while true do
character.Humanoid.Sit = true
wait(0.5)
end

2 comments
It does not work online or in studio :(
Works fine for me, remember to put this in a local script.