--- FUNCTIONS ---


uis.InputBegan:Connect(function(Input, Typing)
	if not Typing and Input.UserInputType.Name == "Keyboard" then
		if Input.KeyCode.Name == "Space" then

			if player.Character:GetAttribute("State") == "Sitting" then
				player.Character.PrimaryPart.Anchored = false
				player.Character:SetAttribute("State", nil)
			end
			
		end
	end
end)


